@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN19SMLSharp__SQL__Config6DLLEXTE=external local_unnamed_addr global i8*
@_SMLDL38=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@a=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"SMLSHARP_LIBSQLITE3\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[14x i8]}><{[4x i8]zeroinitializer,i32 -2147483634,[14x i8]c"libsqlite3.0.\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"libsqlite3.so.0\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 0,i32 6,i32 0,i32 0,i32 0}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN20SMLSharp__SQL__SQLite311new__sqlite3E to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite311new__sqlite3E_119 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN20SMLSharp__SQL__SQLite316new__sqlite3__stmtE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite316new__sqlite3__stmtE_120 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL50=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"sqlite3_errstr\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN20SMLSharp__SQL__SQLite314sqlite3__errstrE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite314sqlite3__errstrE_122 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL55=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN20SMLSharp__SQL__SQLite315sqlite3__open__v2E_56 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite315sqlite3__open__v2E_123 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"sqlite3_open_v2\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__SQLite315sqlite3__open__v2E to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite315sqlite3__open__v2E_125 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL62=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"sqlite3_close_v2\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN20SMLSharp__SQL__SQLite316sqlite3__close__v2E to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite316sqlite3__close__v2E_127 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL67=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"sqlite3_prepare_v2\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__SQLite318sqlite3__prepare__v2E to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite318sqlite3__prepare__v2E_129 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL72=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"sqlite3_step\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN20SMLSharp__SQL__SQLite312sqlite3__stepE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite312sqlite3__stepE_131 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL77=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"sqlite3_column_type\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__typeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite319sqlite3__column__typeE_133 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL82=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"sqlite3_column_bytes\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__SQLite320sqlite3__column__bytesE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite320sqlite3__column__bytesE_135 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL87=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"sqlite3_column_blob\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__blobE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite319sqlite3__column__blobE_137 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL92=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[22x i8]}><{[4x i8]zeroinitializer,i32 -2147483626,[22x i8]c"sqlite3_column_double\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN20SMLSharp__SQL__SQLite321sqlite3__column__doubleE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite321sqlite3__column__doubleE_139 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL97=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"sqlite3_column_int\00"}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__SQLite318sqlite3__column__intE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite318sqlite3__column__intE_141 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL102=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"sqlite3_column_int64\00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i64(i8*)*@_SMLFN20SMLSharp__SQL__SQLite320sqlite3__column__int64E to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite320sqlite3__column__int64E_143 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL107=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"sqlite3_column_text\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__textE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite319sqlite3__column__textE_145 to void(...)*),i32 -2147483647}>,align 8
@_SMLDL112=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"sqlite3_finalize\00"}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN20SMLSharp__SQL__SQLite316sqlite3__finalizeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN20SMLSharp__SQL__SQLite316sqlite3__finalizeE_147 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__SQLite39SQLITE__OKE=local_unnamed_addr constant i32 0
@_SMLZN20SMLSharp__SQL__SQLite310SQLITE__ROWE=local_unnamed_addr constant i32 100
@_SMLZN20SMLSharp__SQL__SQLite311SQLITE__DONEE=local_unnamed_addr constant i32 101
@_SMLZN20SMLSharp__SQL__SQLite320SQLITE__OPEN__READONLYE=local_unnamed_addr constant i32 1
@_SMLZN20SMLSharp__SQL__SQLite321SQLITE__OPEN__READWRITEE=local_unnamed_addr constant i32 2
@_SMLZN20SMLSharp__SQL__SQLite328SQLITE__OPEN__READWRITE__CREATEE=local_unnamed_addr constant i32 6
@_SMLZN20SMLSharp__SQL__SQLite319SQLITE__OPEN__NOMUTEXE=local_unnamed_addr constant i32 32768
@_SMLZN20SMLSharp__SQL__SQLite321SQLITE__OPEN__FULLMUTEXE=local_unnamed_addr constant i32 65536
@_SMLZN20SMLSharp__SQL__SQLite323SQLITE__OPEN__SHAREDCACHEE=local_unnamed_addr constant i32 131072
@_SMLZN20SMLSharp__SQL__SQLite324SQLITE__OPEN__PRIVATECACHEE=local_unnamed_addr constant i32 262144
@_SMLZN20SMLSharp__SQL__SQLite315SQLITE__OPEN__URIE=local_unnamed_addr constant i32 64
@_SMLZN20SMLSharp__SQL__SQLite35flagsE=local_unnamed_addr constant i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32,i32,i32}>*@d,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite314SQLITE__INTEGERE=local_unnamed_addr constant i32 1
@_SMLZN20SMLSharp__SQL__SQLite312SQLITE__FLOATE=local_unnamed_addr constant i32 2
@_SMLZN20SMLSharp__SQL__SQLite312SQLITE3__TEXTE=local_unnamed_addr constant i32 3
@_SMLZN20SMLSharp__SQL__SQLite311SQLITE__BLOBE=local_unnamed_addr constant i32 4
@_SMLZN20SMLSharp__SQL__SQLite311SQLITE__NULLE=local_unnamed_addr constant i32 5
@_SMLZN20SMLSharp__SQL__SQLite311new__sqlite3E=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite316new__sqlite3__stmtE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite314sqlite3__errstrE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite315sqlite3__open__v2E=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite316sqlite3__close__v2E=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite318sqlite3__prepare__v2E=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite312sqlite3__stepE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite319sqlite3__column__typeE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite320sqlite3__column__bytesE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite319sqlite3__column__blobE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite321sqlite3__column__doubleE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite318sqlite3__column__intE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite320sqlite3__column__int64E=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@C,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite319sqlite3__column__textE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@E,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__SQLite316sqlite3__finalizeE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@G,i64 0,i32 2)to i8*)
@H=private unnamed_addr global[15x i64][i64 14,i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL38,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL50,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL55,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL62,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL67,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL72,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL77,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL82,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL87,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL92,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL97,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL102,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL107,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64)),i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL112,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([15x i64]*@H to i64))]
@_SML_ftabf61d37a3faa623ea_SQLite3=external global i8
@I=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_enter()local_unnamed_addr#0
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_leave()local_unnamed_addr#0
declare i32@sml_personality(...)#0
declare i8*@sml_unsave_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare void(...)*@_SMLFN11DynamicLink5dlsymE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN11DynamicLink6dlopenE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__OSProcess6getEnvE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main19a59bcdb325454c_SMLSharp_OSProcess()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main00d884c96265bfea_SMLSharp_Runtime()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main82bd5aec591c098a_DynamicLink()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_mainfb23865721a0c043_SQLConfig()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_load19a59bcdb325454c_SMLSharp_OSProcess(i8*)local_unnamed_addr
declare void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load82bd5aec591c098a_DynamicLink(i8*)local_unnamed_addr
declare void@_SML_loadfb23865721a0c043_SQLConfig(i8*)local_unnamed_addr
define private void@_SML_tabbf61d37a3faa623ea_SQLite3()#2{
unreachable
}
define void@_SML_loadf61d37a3faa623ea_SQLite3(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@I,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@I,align 1
tail call void@_SML_load19a59bcdb325454c_SMLSharp_OSProcess(i8*%a)#0
tail call void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load82bd5aec591c098a_DynamicLink(i8*%a)#0
tail call void@_SML_loadfb23865721a0c043_SQLConfig(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbf61d37a3faa623ea_SQLite3,i8*@_SML_ftabf61d37a3faa623ea_SQLite3,i8*bitcast([15x i64]*@H to i8*))#0
ret void
}
define void@_SML_mainf61d37a3faa623ea_SQLite3()local_unnamed_addr#1 gc"smlsharp"{
%a=load i8,i8*@I,align 1
%b=and i8%a,2
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 3,i8*@I,align 1
tail call void@_SML_main19a59bcdb325454c_SMLSharp_OSProcess()#1
tail call void@_SML_main00d884c96265bfea_SMLSharp_Runtime()#1
tail call void@_SML_main03d87556ec7f64b2_List()#1
tail call void@_SML_main1ef93e13728790b1_String()#1
tail call void@_SML_main82bd5aec591c098a_DynamicLink()#1
tail call void@_SML_mainfb23865721a0c043_SQLConfig()#1
br label%d
}
define internal fastcc void(...)*@_SMLLL1g_42(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i8*,i8**%m,align 8
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177296,i32*%q,align 4
%r=bitcast i8*%o to i8**
store i8*%n,i8**%r,align 8
%s=load i8*,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%o,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i32*
store i32 2,i32*%w,align 4
%x=tail call fastcc void(...)*@_SMLFN11DynamicLink5dlsymE(i8*inreg%o)
ret void(...)*%x
}
define internal fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg%a)unnamed_addr#1 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL38,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%aC
k:
%l=call fastcc i8*@_SMLFN18SMLSharp__OSProcess6getEnvE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@a,i64 0,i32 2,i64 0))
%m=icmp eq i8*%l,null
br i1%m,label%n,label%O
n:
%o=load i8**,i8***bitcast(i8**@_SMLZN19SMLSharp__SQL__Config6DLLEXTE to i8***),align 8
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=and i32%s,268435455
%u=icmp eq i32%t,3
br i1%u,label%v,label%D
v:
%w=load i8,i8*%p,align 1
%x=icmp eq i8%w,115
br i1%x,label%y,label%D
y:
%z=getelementptr inbounds i8,i8*%p,i64 1
%A=load i8,i8*%z,align 1
%B=icmp eq i8%A,111
br i1%B,label%C,label%D
C:
store i8*null,i8**%c,align 8
br label%R
D:
%E=call i8*@sml_alloc(i32 inreg 20)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
%H=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@b,i64 0,i32 2,i64 0),i8**%H,align 8
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=getelementptr inbounds i8,i8*%E,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%E)
br label%R
O:
%P=bitcast i8*%l to i8**
%Q=load i8*,i8**%P,align 8
br label%R
R:
%S=phi i8*[%Q,%O],[getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@c,i64 0,i32 2,i64 0),%C],[%N,%D]
%T=call fastcc i8*@_SMLFN11DynamicLink6dlopenE(i8*inreg%S)
%U=call i8*@sml_alloc(i32 inreg 12)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177288,i32*%W,align 4
store i8*%U,i8**%c,align 8
%X=bitcast i8*%U to i8**
store i8*%T,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%U,i64 8
%Z=bitcast i8*%Y to i32*
store i32 0,i32*%Z,align 4
%aa=call i8*@sml_alloc(i32 inreg 28)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177304,i32*%ac,align 4
store i8*%aa,i8**%d,align 8
%ad=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%aa,i64 8
%ag=bitcast i8*%af to void(...)**
store void(...)*bitcast(void(...)*(i8*,i8*)*@_SMLLL1g_42 to void(...)*),void(...)**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 16
%ai=bitcast i8*%ah to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_117 to void(...)*),void(...)**%ai,align 8
%aj=getelementptr inbounds i8,i8*%aa,i64 24
%ak=bitcast i8*%aj to i32*
store i32 -2147483647,i32*%ak,align 4
%al=call i8*@sml_alloc(i32 inreg 12)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
%ao=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to i32*
store i32 1,i32*%ar,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL38,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL38,i64 0,i32 2),i8*inreg%al)#0
%as=call i8*@sml_alloc(i32 inreg 20)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177296,i32*%au,align 4
%av=bitcast i8*%as to i8**
store i8*%T,i8**%av,align 8
%aw=load i8*,i8**%b,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to i32*
store i32 2,i32*%aA,align 4
%aB=tail call fastcc void(...)*@_SMLFN11DynamicLink5dlsymE(i8*inreg%as)
ret void(...)*%aB
aC:
%aD=load i8*,i8**%b,align 8
%aE=bitcast i8*%i to i8**
%aF=load i8*,i8**%aE,align 8
%aG=getelementptr inbounds i8,i8*%aF,i64 16
%aH=bitcast i8*%aG to i8*(i8*,i8*)**
%aI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aH,align 8
%aJ=bitcast i8*%aF to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*null,i8**%b,align 8
%aL=call fastcc i8*%aI(i8*inreg%aK,i8*inreg%aD)
%aM=bitcast i8*%aL to void(...)**
%aN=load void(...)*,void(...)**%aM,align 8
ret void(...)*%aN
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite311new__sqlite3E(i32 inreg%a)#3 gc"smlsharp"{
%b=tail call i8*@sml_alloc(i32 inreg 8)#0
%c=getelementptr inbounds i8,i8*%b,i64 -4
%d=bitcast i8*%c to i32*
store i32 536870920,i32*%d,align 4
%e=bitcast i8*%b to i8**
store i8*null,i8**%e,align 8
ret i8*%b
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite316new__sqlite3__stmtE(i32 inreg%a)#3 gc"smlsharp"{
%b=tail call i8*@sml_alloc(i32 inreg 8)#0
%c=getelementptr inbounds i8,i8*%b,i64 -4
%d=bitcast i8*%c to i32*
store i32 536870920,i32*%d,align 4
%e=bitcast i8*%b to i8**
store i8*null,i8**%e,align 8
ret i8*%b
}
define internal fastcc i8*@_SMLLL1g_52(i8*inreg%a,i32 inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%f,label%h
f:
%g=bitcast i8*%a to i8*(i32)**
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%c to i8*(i32)***
%j=load i8*(i32)**,i8*(i32)***%i,align 8
br label%k
k:
%l=phi i8*(i32)**[%j,%h],[%g,%f]
store i8*null,i8**%c,align 8
%m=load i8*(i32)*,i8*(i32)**%l,align 8
call void@sml_leave()#0
%n=invoke i8*%m(i32%b)
to label%o unwind label%p
o:
call void@sml_enter()#0
ret i8*%n
p:
%q=landingpad{i8*,i8*}
cleanup
%r=extractvalue{i8*,i8*}%q,1
call void@sml_enter()#0
%s=call i8*@sml_unsave_exn(i8*inreg%r)#0
resume{i8*,i8*}%q
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite314sqlite3__errstrE(i32 inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL50,i64 0,i32 2),align 8
%i=icmp eq i8*%h,null
br i1%i,label%j,label%Q
j:
%k=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@g,i64 0,i32 2,i64 0))
%l=call i8*@sml_alloc(i32 inreg 12)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177288,i32*%n,align 4
store i8*%l,i8**%b,align 8
%o=bitcast i8*%l to void(...)**
store void(...)*%k,void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i32*
store i32 0,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
store i8*%r,i8**%c,align 8
%u=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL1g_52 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_121 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 12)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177288,i32*%E,align 4
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL50,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL50,i64 0,i32 2),i8*inreg%C)#0
%J=bitcast void(...)*%k to i8*(i32)*
call void@sml_leave()#0
%K=invoke i8*%J(i32%a)
to label%L unwind label%M
L:
call void@sml_enter()#0
br label%ag
M:
%N=landingpad{i8*,i8*}
cleanup
%O=extractvalue{i8*,i8*}%N,1
call void@sml_enter()#0
%P=call i8*@sml_unsave_exn(i8*inreg%O)#0
resume{i8*,i8*}%N
Q:
%R=bitcast i8*%h to i8**
%S=load i8*,i8**%R,align 8
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%S to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%b,align 8
%Y=call i8*@sml_alloc(i32 inreg 4)#0
%Z=bitcast i8*%Y to i32*
%aa=getelementptr inbounds i8,i8*%Y,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 4,i32*%ab,align 4
store i32%a,i32*%Z,align 4
%ac=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ad=call fastcc i8*%V(i8*inreg%ac,i8*inreg%Y)
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
br label%ag
ag:
%ah=phi i8*[%K,%L],[%af,%Q]
%ai=ptrtoint i8*%ah to i64
%aj=tail call fastcc i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg%ai)
ret i8*%aj
}
define internal fastcc i32@_SMLLLN20SMLSharp__SQL__SQLite315sqlite3__open__v2E_56(i8*inreg%a)#3 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=or i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLL1g_59(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i32(i8*,i8*,i32,i8*)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32(i8*,i8*,i32,i8*)***
%l=load i32(i8*,i8*,i32,i8*)**,i32(i8*,i8*,i32,i8*)***%k,align 8
br label%m
m:
%n=phi i32(i8*,i8*,i32,i8*)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i32(i8*,i8*,i32,i8*)*,i32(i8*,i8*,i32,i8*)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%o,i64 24
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
call void@sml_leave()#0
%B=invoke i32%p(i8*%r,i8*%u,i32%x,i8*%A)
to label%C unwind label%D
C:
call void@sml_enter()#0
ret i32%B
D:
%E=landingpad{i8*,i8*}
cleanup
%F=extractvalue{i8*,i8*}%E,1
call void@sml_enter()#0
%G=call i8*@sml_unsave_exn(i8*inreg%F)#0
resume{i8*,i8*}%E
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite315sqlite3__open__v2E(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%b,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=getelementptr inbounds i8,i8*%u,i64 4
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=getelementptr inbounds i8,i8*%u,i64 12
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 0,i32 inreg 4,i32 inreg 0,i32 inreg 4)
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%G to i8**
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*%J(i8*inreg%L,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%d,align 8
%S=call i8*@sml_alloc(i32 inreg 4)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 4,i32*%V,align 4
store i32 0,i32*%T,align 4
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=call fastcc i8*%P(i8*inreg%W,i8*inreg%S)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%d,align 8
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
store i8*%ad,i8**%e,align 8
%ag=getelementptr inbounds i8,i8*%ad,i64 4
%ah=bitcast i8*%ag to i32*
store i32 0,i32*%ah,align 1
%ai=bitcast i8*%ad to i32*
store i32%F,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*null,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 2,i32*%am,align 4
%an=call i8*@sml_alloc(i32 inreg 20)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177296,i32*%ap,align 4
store i8*%an,i8**%f,align 8
%aq=getelementptr inbounds i8,i8*%an,i64 4
%ar=bitcast i8*%aq to i32*
store i32 0,i32*%ar,align 1
%as=bitcast i8*%an to i32*
store i32%w,i32*%as,align 4
%at=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%au=getelementptr inbounds i8,i8*%an,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 16
%ax=bitcast i8*%aw to i32*
store i32 2,i32*%ax,align 4
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
store i8*%ay,i8**%e,align 8
%aB=getelementptr inbounds i8,i8*%ay,i64 4
%aC=bitcast i8*%aB to i32*
store i32 0,i32*%aC,align 1
%aD=bitcast i8*%ay to i32*
store i32%C,i32*%aD,align 4
%aE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aF=getelementptr inbounds i8,i8*%ay,i64 8
%aG=bitcast i8*%aF to i8**
store i8*%aE,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%ay,i64 16
%aI=bitcast i8*%aH to i32*
store i32 2,i32*%aI,align 4
%aJ=call i8*@sml_alloc(i32 inreg 20)#0
%aK=bitcast i8*%aJ to i32*
%aL=getelementptr inbounds i8,i8*%aJ,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177296,i32*%aM,align 4
%aN=getelementptr inbounds i8,i8*%aJ,i64 4
%aO=bitcast i8*%aN to i32*
store i32 0,i32*%aO,align 1
store i32%z,i32*%aK,align 4
%aP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aQ=getelementptr inbounds i8,i8*%aJ,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aJ,i64 16
%aT=bitcast i8*%aS to i32*
store i32 2,i32*%aT,align 4
%aU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aV=call fastcc i8*%aa(i8*inreg%aU,i8*inreg%aJ)
%aW=bitcast i8*%aV to i32*
%aX=load i32,i32*%aW,align 4
%aY=call i8*@sml_alloc(i32 inreg 36)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177312,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aY,i64 20
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 1
%a3=load i8*,i8**%b,align 8
%a4=bitcast i8*%aY to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%aY,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%aY,i64 16
%a9=bitcast i8*%a8 to i32*
store i32%aX,i32*%a9,align 4
%ba=getelementptr inbounds i8,i8*%aY,i64 24
%bb=bitcast i8*%ba to i8**
store i8*null,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%aY,i64 32
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL55,i64 0,i32 2),align 8
%bf=icmp eq i8*%be,null
br i1%bf,label%bg,label%bP
bg:
%bh=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@j,i64 0,i32 2,i64 0))
%bi=call i8*@sml_alloc(i32 inreg 12)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177288,i32*%bk,align 4
store i8*%bi,i8**%d,align 8
%bl=bitcast i8*%bi to void(...)**
store void(...)*%bh,void(...)**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bi,i64 8
%bn=bitcast i8*%bm to i32*
store i32 0,i32*%bn,align 4
%bo=call i8*@sml_alloc(i32 inreg 28)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177304,i32*%bq,align 4
store i8*%bo,i8**%e,align 8
%br=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bo,i64 8
%bu=bitcast i8*%bt to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL1g_59 to void(...)*),void(...)**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bo,i64 16
%bw=bitcast i8*%bv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_124 to void(...)*),void(...)**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bo,i64 24
%by=bitcast i8*%bx to i32*
store i32 -2147483647,i32*%by,align 4
%bz=call i8*@sml_alloc(i32 inreg 12)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177288,i32*%bB,align 4
%bC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bD=bitcast i8*%bz to i8**
store i8*%bC,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bz,i64 8
%bF=bitcast i8*%bE to i32*
store i32 1,i32*%bF,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL55,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL55,i64 0,i32 2),i8*inreg%bz)#0
%bG=bitcast void(...)*%bh to i32(i8*,i8*,i32,i8*)*
%bH=load i8*,i8**%b,align 8
%bI=load i8*,i8**%c,align 8
call void@sml_leave()#0
%bJ=invoke i32%bG(i8*%bH,i8*%bI,i32%aX,i8*null)
to label%bK unwind label%bL
bK:
call void@sml_enter()#0
ret i32%bJ
bL:
%bM=landingpad{i8*,i8*}
cleanup
%bN=extractvalue{i8*,i8*}%bM,1
call void@sml_enter()#0
%bO=call i8*@sml_unsave_exn(i8*inreg%bN)#0
resume{i8*,i8*}%bM
bP:
store i8*null,i8**%b,align 8
store i8*null,i8**%c,align 8
%bQ=bitcast i8*%be to i8**
%bR=load i8*,i8**%bQ,align 8
%bS=getelementptr inbounds i8,i8*%bR,i64 16
%bT=bitcast i8*%bS to i8*(i8*,i8*)**
%bU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bT,align 8
%bV=bitcast i8*%bR to i8**
%bW=load i8*,i8**%bV,align 8
%bX=call fastcc i8*%bU(i8*inreg%bW,i8*inreg%aY)
%bY=bitcast i8*%bX to i32*
%bZ=load i32,i32*%bY,align 4
ret i32%bZ
}
define internal fastcc i32@_SMLLL1g_64(i8*inreg%a,i64 inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%f,label%h
f:
%g=bitcast i8*%a to i32(i8*)**
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%c to i32(i8*)***
%j=load i32(i8*)**,i32(i8*)***%i,align 8
br label%k
k:
%l=phi i32(i8*)**[%j,%h],[%g,%f]
%m=inttoptr i64%b to i8*
store i8*null,i8**%c,align 8
%n=load i32(i8*)*,i32(i8*)**%l,align 8
call void@sml_leave()#0
%o=invoke i32%n(i8*%m)
to label%p unwind label%q
p:
call void@sml_enter()#0
ret i32%o
q:
%r=landingpad{i8*,i8*}
cleanup
%s=extractvalue{i8*,i8*}%r,1
call void@sml_enter()#0
%t=call i8*@sml_unsave_exn(i8*inreg%s)#0
resume{i8*,i8*}%r
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite316sqlite3__close__v2E(i64 inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL62,i64 0,i32 2),align 8
%i=icmp eq i8*%h,null
br i1%i,label%j,label%R
j:
%k=inttoptr i64%a to i8*
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@l,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%b,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%c,align 8
%v=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i32(i8*,i64)*@_SMLLL1g_64 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_126 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL62,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL62,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i32(i8*)*
call void@sml_leave()#0
%L=invoke i32%K(i8*%k)
to label%M unwind label%N
M:
call void@sml_enter()#0
ret i32%L
N:
%O=landingpad{i8*,i8*}
cleanup
%P=extractvalue{i8*,i8*}%O,1
call void@sml_enter()#0
%Q=call i8*@sml_unsave_exn(i8*inreg%P)#0
resume{i8*,i8*}%O
R:
%S=bitcast i8*%h to i8**
%T=load i8*,i8**%S,align 8
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%b,align 8
%Z=call i8*@sml_alloc(i32 inreg 8)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 8,i32*%ab,align 4
%ac=bitcast i8*%Z to i64*
store i64%a,i64*%ac,align 4
%ad=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ae=call fastcc i8*%W(i8*inreg%ad,i8*inreg%Z)
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
ret i32%ag
}
define internal fastcc i32@_SMLLL1g_69(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i32(i8*,i8*,i32,i8*,i8*)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32(i8*,i8*,i32,i8*,i8*)***
%l=load i32(i8*,i8*,i32,i8*,i8*)**,i32(i8*,i8*,i32,i8*,i8*)***%k,align 8
br label%m
m:
%n=phi i32(i8*,i8*,i32,i8*,i8*)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i32(i8*,i8*,i32,i8*,i8*)*,i32(i8*,i8*,i32,i8*,i8*)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%o,i64 24
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%o,i64 32
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
call void@sml_leave()#0
%E=invoke i32%p(i8*%r,i8*%u,i32%x,i8*%A,i8*%D)
to label%F unwind label%G
F:
call void@sml_enter()#0
ret i32%E
G:
%H=landingpad{i8*,i8*}
cleanup
%I=extractvalue{i8*,i8*}%H,1
call void@sml_enter()#0
%J=call i8*@sml_unsave_exn(i8*inreg%I)#0
resume{i8*,i8*}%H
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite318sqlite3__prepare__v2E(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%q,i64 -4
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=and i32%w,268435455
%y=add nsw i32%x,-1
%z=call i8*@sml_alloc(i32 inreg 44)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177320,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 20
%D=bitcast i8*%C to i32*
store i32 0,i32*%D,align 1
%E=bitcast i8*%z to i8**
store i8*%n,i8**%E,align 8
%F=load i8*,i8**%b,align 8
%G=getelementptr inbounds i8,i8*%z,i64 8
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%z,i64 16
%J=bitcast i8*%I to i32*
store i32%y,i32*%J,align 4
%K=load i8*,i8**%c,align 8
%L=getelementptr inbounds i8,i8*%z,i64 24
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%z,i64 32
%O=bitcast i8*%N to i8**
store i8*null,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%z,i64 40
%Q=bitcast i8*%P to i32*
store i32 10,i32*%Q,align 4
%R=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL67,i64 0,i32 2),align 8
%S=icmp eq i8*%R,null
br i1%S,label%T,label%aC
T:
%U=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@n,i64 0,i32 2,i64 0))
%V=call i8*@sml_alloc(i32 inreg 12)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177288,i32*%X,align 4
store i8*%V,i8**%d,align 8
%Y=bitcast i8*%V to void(...)**
store void(...)*%U,void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%V,i64 8
%aa=bitcast i8*%Z to i32*
store i32 0,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
store i8*%ab,i8**%e,align 8
%ae=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL1g_69 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_128 to void(...)*),void(...)**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ab,i64 24
%al=bitcast i8*%ak to i32*
store i32 -2147483647,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 12)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177288,i32*%ao,align 4
%ap=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to i32*
store i32 1,i32*%as,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL67,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL67,i64 0,i32 2),i8*inreg%am)#0
%at=bitcast void(...)*%U to i32(i8*,i8*,i32,i8*,i8*)*
%au=load i8*,i8**%b,align 8
%av=load i8*,i8**%c,align 8
call void@sml_leave()#0
%aw=invoke i32%at(i8*%n,i8*%au,i32%y,i8*%av,i8*null)
to label%ax unwind label%ay
ax:
call void@sml_enter()#0
ret i32%aw
ay:
%az=landingpad{i8*,i8*}
cleanup
%aA=extractvalue{i8*,i8*}%az,1
call void@sml_enter()#0
%aB=call i8*@sml_unsave_exn(i8*inreg%aA)#0
resume{i8*,i8*}%az
aC:
store i8*null,i8**%b,align 8
store i8*null,i8**%c,align 8
%aD=bitcast i8*%R to i8**
%aE=load i8*,i8**%aD,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=call fastcc i8*%aH(i8*inreg%aJ,i8*inreg%z)
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
ret i32%aM
}
define internal fastcc i32@_SMLLL1g_74(i8*inreg%a,i64 inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%f,label%h
f:
%g=bitcast i8*%a to i32(i8*)**
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%c to i32(i8*)***
%j=load i32(i8*)**,i32(i8*)***%i,align 8
br label%k
k:
%l=phi i32(i8*)**[%j,%h],[%g,%f]
%m=inttoptr i64%b to i8*
store i8*null,i8**%c,align 8
%n=load i32(i8*)*,i32(i8*)**%l,align 8
call void@sml_leave()#0
%o=invoke i32%n(i8*%m)
to label%p unwind label%q
p:
call void@sml_enter()#0
ret i32%o
q:
%r=landingpad{i8*,i8*}
cleanup
%s=extractvalue{i8*,i8*}%r,1
call void@sml_enter()#0
%t=call i8*@sml_unsave_exn(i8*inreg%s)#0
resume{i8*,i8*}%r
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite312sqlite3__stepE(i64 inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL72,i64 0,i32 2),align 8
%i=icmp eq i8*%h,null
br i1%i,label%j,label%R
j:
%k=inttoptr i64%a to i8*
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@p,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%b,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%c,align 8
%v=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i32(i8*,i64)*@_SMLLL1g_74 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_130 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL72,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL72,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i32(i8*)*
call void@sml_leave()#0
%L=invoke i32%K(i8*%k)
to label%M unwind label%N
M:
call void@sml_enter()#0
ret i32%L
N:
%O=landingpad{i8*,i8*}
cleanup
%P=extractvalue{i8*,i8*}%O,1
call void@sml_enter()#0
%Q=call i8*@sml_unsave_exn(i8*inreg%P)#0
resume{i8*,i8*}%O
R:
%S=bitcast i8*%h to i8**
%T=load i8*,i8**%S,align 8
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%b,align 8
%Z=call i8*@sml_alloc(i32 inreg 8)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 8,i32*%ab,align 4
%ac=bitcast i8*%Z to i64*
store i64%a,i64*%ac,align 4
%ad=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ae=call fastcc i8*%W(i8*inreg%ad,i8*inreg%Z)
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
ret i32%ag
}
define internal fastcc i32@_SMLLL1g_79(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i32(i8*,i32)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32(i8*,i32)***
%l=load i32(i8*,i32)**,i32(i8*,i32)***%k,align 8
br label%m
m:
%n=phi i32(i8*,i32)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i32(i8*,i32)*,i32(i8*,i32)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
call void@sml_leave()#0
%v=invoke i32%p(i8*%r,i32%u)
to label%w unwind label%x
w:
call void@sml_enter()#0
ret i32%v
x:
%y=landingpad{i8*,i8*}
cleanup
%z=extractvalue{i8*,i8*}%y,1
call void@sml_enter()#0
%A=call i8*@sml_unsave_exn(i8*inreg%z)#0
resume{i8*,i8*}%y
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__typeE(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL77,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%X
k:
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@r,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL1g_79 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_132 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL77,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL77,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i32(i8*,i32)*
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*null,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
call void@sml_leave()#0
%R=invoke i32%K(i8*%N,i32%Q)
to label%S unwind label%T
S:
call void@sml_enter()#0
ret i32%R
T:
%U=landingpad{i8*,i8*}
cleanup
%V=extractvalue{i8*,i8*}%U,1
call void@sml_enter()#0
%W=call i8*@sml_unsave_exn(i8*inreg%V)#0
resume{i8*,i8*}%U
X:
%Y=load i8*,i8**%b,align 8
%Z=bitcast i8*%i to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%b,align 8
%ag=call fastcc i8*%ad(i8*inreg%af,i8*inreg%Y)
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
ret i32%ai
}
define internal fastcc i32@_SMLLL1g_84(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i32(i8*,i32)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32(i8*,i32)***
%l=load i32(i8*,i32)**,i32(i8*,i32)***%k,align 8
br label%m
m:
%n=phi i32(i8*,i32)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i32(i8*,i32)*,i32(i8*,i32)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
call void@sml_leave()#0
%v=invoke i32%p(i8*%r,i32%u)
to label%w unwind label%x
w:
call void@sml_enter()#0
ret i32%v
x:
%y=landingpad{i8*,i8*}
cleanup
%z=extractvalue{i8*,i8*}%y,1
call void@sml_enter()#0
%A=call i8*@sml_unsave_exn(i8*inreg%z)#0
resume{i8*,i8*}%y
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite320sqlite3__column__bytesE(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL82,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%X
k:
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@t,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL1g_84 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_134 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL82,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL82,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i32(i8*,i32)*
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*null,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
call void@sml_leave()#0
%R=invoke i32%K(i8*%N,i32%Q)
to label%S unwind label%T
S:
call void@sml_enter()#0
ret i32%R
T:
%U=landingpad{i8*,i8*}
cleanup
%V=extractvalue{i8*,i8*}%U,1
call void@sml_enter()#0
%W=call i8*@sml_unsave_exn(i8*inreg%V)#0
resume{i8*,i8*}%U
X:
%Y=load i8*,i8**%b,align 8
%Z=bitcast i8*%i to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%b,align 8
%ag=call fastcc i8*%ad(i8*inreg%af,i8*inreg%Y)
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
ret i32%ai
}
define internal fastcc i8*@_SMLLL1g_89(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8*(i8*,i32)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8*(i8*,i32)***
%l=load i8*(i8*,i32)**,i8*(i8*,i32)***%k,align 8
br label%m
m:
%n=phi i8*(i8*,i32)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i8*(i8*,i32)*,i8*(i8*,i32)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
call void@sml_leave()#0
%v=invoke i8*%p(i8*%r,i32%u)
to label%w unwind label%x
w:
call void@sml_enter()#0
ret i8*%v
x:
%y=landingpad{i8*,i8*}
cleanup
%z=extractvalue{i8*,i8*}%y,1
call void@sml_enter()#0
%A=call i8*@sml_unsave_exn(i8*inreg%z)#0
resume{i8*,i8*}%y
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__blobE(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL87,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%X
k:
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@v,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_89 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_136 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL87,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL87,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i8*(i8*,i32)*
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*null,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
call void@sml_leave()#0
%R=invoke i8*%K(i8*%N,i32%Q)
to label%S unwind label%T
S:
call void@sml_enter()#0
ret i8*%R
T:
%U=landingpad{i8*,i8*}
cleanup
%V=extractvalue{i8*,i8*}%U,1
call void@sml_enter()#0
%W=call i8*@sml_unsave_exn(i8*inreg%V)#0
resume{i8*,i8*}%U
X:
%Y=load i8*,i8**%b,align 8
%Z=bitcast i8*%i to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%b,align 8
%ag=call fastcc i8*%ad(i8*inreg%af,i8*inreg%Y)
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
ret i8*%ai
}
define internal fastcc double@_SMLLL1g_94(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to double(i8*,i32)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to double(i8*,i32)***
%l=load double(i8*,i32)**,double(i8*,i32)***%k,align 8
br label%m
m:
%n=phi double(i8*,i32)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load double(i8*,i32)*,double(i8*,i32)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
call void@sml_leave()#0
%v=invoke double%p(i8*%r,i32%u)
to label%w unwind label%x
w:
call void@sml_enter()#0
ret double%v
x:
%y=landingpad{i8*,i8*}
cleanup
%z=extractvalue{i8*,i8*}%y,1
call void@sml_enter()#0
%A=call i8*@sml_unsave_exn(i8*inreg%z)#0
resume{i8*,i8*}%y
}
define fastcc double@_SMLFN20SMLSharp__SQL__SQLite321sqlite3__column__doubleE(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL92,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%X
k:
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[22x i8]}>,<{[4x i8],i32,[22x i8]}>*@x,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(double(i8*,i8*)*@_SMLLL1g_94 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_138 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL92,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL92,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to double(i8*,i32)*
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*null,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
call void@sml_leave()#0
%R=invoke double%K(i8*%N,i32%Q)
to label%S unwind label%T
S:
call void@sml_enter()#0
ret double%R
T:
%U=landingpad{i8*,i8*}
cleanup
%V=extractvalue{i8*,i8*}%U,1
call void@sml_enter()#0
%W=call i8*@sml_unsave_exn(i8*inreg%V)#0
resume{i8*,i8*}%U
X:
%Y=load i8*,i8**%b,align 8
%Z=bitcast i8*%i to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%b,align 8
%ag=call fastcc i8*%ad(i8*inreg%af,i8*inreg%Y)
%ah=bitcast i8*%ag to double*
%ai=load double,double*%ah,align 8
ret double%ai
}
define internal fastcc i32@_SMLLL1g_99(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i32(i8*,i32)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32(i8*,i32)***
%l=load i32(i8*,i32)**,i32(i8*,i32)***%k,align 8
br label%m
m:
%n=phi i32(i8*,i32)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i32(i8*,i32)*,i32(i8*,i32)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
call void@sml_leave()#0
%v=invoke i32%p(i8*%r,i32%u)
to label%w unwind label%x
w:
call void@sml_enter()#0
ret i32%v
x:
%y=landingpad{i8*,i8*}
cleanup
%z=extractvalue{i8*,i8*}%y,1
call void@sml_enter()#0
%A=call i8*@sml_unsave_exn(i8*inreg%z)#0
resume{i8*,i8*}%y
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite318sqlite3__column__intE(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL97,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%X
k:
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@z,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL1g_99 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_140 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL97,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL97,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i32(i8*,i32)*
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*null,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
call void@sml_leave()#0
%R=invoke i32%K(i8*%N,i32%Q)
to label%S unwind label%T
S:
call void@sml_enter()#0
ret i32%R
T:
%U=landingpad{i8*,i8*}
cleanup
%V=extractvalue{i8*,i8*}%U,1
call void@sml_enter()#0
%W=call i8*@sml_unsave_exn(i8*inreg%V)#0
resume{i8*,i8*}%U
X:
%Y=load i8*,i8**%b,align 8
%Z=bitcast i8*%i to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%b,align 8
%ag=call fastcc i8*%ad(i8*inreg%af,i8*inreg%Y)
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
ret i32%ai
}
define internal fastcc i64@_SMLLL1g_104(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i64(i8*,i32)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i64(i8*,i32)***
%l=load i64(i8*,i32)**,i64(i8*,i32)***%k,align 8
br label%m
m:
%n=phi i64(i8*,i32)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i64(i8*,i32)*,i64(i8*,i32)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
call void@sml_leave()#0
%v=invoke i64%p(i8*%r,i32%u)
to label%w unwind label%x
w:
call void@sml_enter()#0
ret i64%v
x:
%y=landingpad{i8*,i8*}
cleanup
%z=extractvalue{i8*,i8*}%y,1
call void@sml_enter()#0
%A=call i8*@sml_unsave_exn(i8*inreg%z)#0
resume{i8*,i8*}%y
}
define fastcc i64@_SMLFN20SMLSharp__SQL__SQLite320sqlite3__column__int64E(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL102,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%X
k:
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@B,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i64(i8*,i8*)*@_SMLLL1g_104 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_142 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL102,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL102,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i64(i8*,i32)*
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*null,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
call void@sml_leave()#0
%R=invoke i64%K(i8*%N,i32%Q)
to label%S unwind label%T
S:
call void@sml_enter()#0
ret i64%R
T:
%U=landingpad{i8*,i8*}
cleanup
%V=extractvalue{i8*,i8*}%U,1
call void@sml_enter()#0
%W=call i8*@sml_unsave_exn(i8*inreg%V)#0
resume{i8*,i8*}%U
X:
%Y=load i8*,i8**%b,align 8
%Z=bitcast i8*%i to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%b,align 8
%ag=call fastcc i8*%ad(i8*inreg%af,i8*inreg%Y)
%ah=bitcast i8*%ag to i64*
%ai=load i64,i64*%ah,align 4
ret i64%ai
}
define internal fastcc i8*@_SMLLL1g_109(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8*(i8*,i32)**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8*(i8*,i32)***
%l=load i8*(i8*,i32)**,i8*(i8*,i32)***%k,align 8
br label%m
m:
%n=phi i8*(i8*,i32)**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i8*(i8*,i32)*,i8*(i8*,i32)**%n,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
call void@sml_leave()#0
%v=invoke i8*%p(i8*%r,i32%u)
to label%w unwind label%x
w:
call void@sml_enter()#0
ret i8*%v
x:
%y=landingpad{i8*,i8*}
cleanup
%z=extractvalue{i8*,i8*}%y,1
call void@sml_enter()#0
%A=call i8*@sml_unsave_exn(i8*inreg%z)#0
resume{i8*,i8*}%y
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__textE(i8*inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL107,i64 0,i32 2),align 8
%j=icmp eq i8*%i,null
br i1%j,label%k,label%X
k:
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@D,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_109 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_144 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL107,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL107,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i8*(i8*,i32)*
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*null,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
call void@sml_leave()#0
%R=invoke i8*%K(i8*%N,i32%Q)
to label%S unwind label%T
S:
call void@sml_enter()#0
ret i8*%R
T:
%U=landingpad{i8*,i8*}
cleanup
%V=extractvalue{i8*,i8*}%U,1
call void@sml_enter()#0
%W=call i8*@sml_unsave_exn(i8*inreg%V)#0
resume{i8*,i8*}%U
X:
%Y=load i8*,i8**%b,align 8
%Z=bitcast i8*%i to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%b,align 8
%ag=call fastcc i8*%ad(i8*inreg%af,i8*inreg%Y)
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
ret i8*%ai
}
define internal fastcc i32@_SMLLL1g_114(i8*inreg%a,i64 inreg%b)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%f,label%h
f:
%g=bitcast i8*%a to i32(i8*)**
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%c to i32(i8*)***
%j=load i32(i8*)**,i32(i8*)***%i,align 8
br label%k
k:
%l=phi i32(i8*)**[%j,%h],[%g,%f]
%m=inttoptr i64%b to i8*
store i8*null,i8**%c,align 8
%n=load i32(i8*)*,i32(i8*)**%l,align 8
call void@sml_leave()#0
%o=invoke i32%n(i8*%m)
to label%p unwind label%q
p:
call void@sml_enter()#0
ret i32%o
q:
%r=landingpad{i8*,i8*}
cleanup
%s=extractvalue{i8*,i8*}%r,1
call void@sml_enter()#0
%t=call i8*@sml_unsave_exn(i8*inreg%s)#0
resume{i8*,i8*}%r
}
define fastcc i32@_SMLFN20SMLSharp__SQL__SQLite316sqlite3__finalizeE(i64 inreg%a)#1 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL112,i64 0,i32 2),align 8
%i=icmp eq i8*%h,null
br i1%i,label%j,label%R
j:
%k=inttoptr i64%a to i8*
%l=call fastcc void(...)*@_SMLLLN20SMLSharp__SQL__SQLite35dlsymE_43(i8*inreg getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@F,i64 0,i32 2,i64 0))
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%b,align 8
%p=bitcast i8*%m to void(...)**
store void(...)*%l,void(...)**%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
store i8*%s,i8**%c,align 8
%v=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i32(i8*,i64)*@_SMLLL1g_114 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1g_146 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL112,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL112,i64 0,i32 2),i8*inreg%D)#0
%K=bitcast void(...)*%l to i32(i8*)*
call void@sml_leave()#0
%L=invoke i32%K(i8*%k)
to label%M unwind label%N
M:
call void@sml_enter()#0
ret i32%L
N:
%O=landingpad{i8*,i8*}
cleanup
%P=extractvalue{i8*,i8*}%O,1
call void@sml_enter()#0
%Q=call i8*@sml_unsave_exn(i8*inreg%P)#0
resume{i8*,i8*}%O
R:
%S=bitcast i8*%h to i8**
%T=load i8*,i8**%S,align 8
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%b,align 8
%Z=call i8*@sml_alloc(i32 inreg 8)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 8,i32*%ab,align 4
%ac=bitcast i8*%Z to i64*
store i64%a,i64*%ac,align 4
%ad=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ae=call fastcc i8*%W(i8*inreg%ad,i8*inreg%Z)
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
ret i32%ag
}
define internal fastcc i8*@_SMLLL1g_117(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc void(...)*@_SMLLL1g_42(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to void(...)**
store void(...)*%c,void(...)**%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite311new__sqlite3E_119(i8*inreg%a,i8*inreg%b)#3 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite311new__sqlite3E(i32 inreg undef)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite316new__sqlite3__stmtE_120(i8*inreg%a,i8*inreg%b)#3 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite316new__sqlite3__stmtE(i32 inreg undef)
ret i8*%c
}
define internal fastcc i8*@_SMLLL1g_121(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLL1g_52(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to i8**
store i8*%e,i8**%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite314sqlite3__errstrE_122(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite314sqlite3__errstrE(i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite315sqlite3__open__v2E_123(i8*inreg%a,i8*inreg%b)#3 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=or i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLL1g_124(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL1g_59(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite315sqlite3__open__v2E_125(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite315sqlite3__open__v2E(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_126(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i32@_SMLLL1g_64(i8*inreg%a,i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite316sqlite3__close__v2E_127(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite316sqlite3__close__v2E(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLL1g_128(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL1g_69(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite318sqlite3__prepare__v2E_129(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite318sqlite3__prepare__v2E(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_130(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i32@_SMLLL1g_74(i8*inreg%a,i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite312sqlite3__stepE_131(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite312sqlite3__stepE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLL1g_132(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL1g_79(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite319sqlite3__column__typeE_133(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__typeE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_134(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL1g_84(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite320sqlite3__column__bytesE_135(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite320sqlite3__column__bytesE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_136(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL1g_89(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to i8**
store i8*%c,i8**%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite319sqlite3__column__blobE_137(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__blobE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to i8**
store i8*%c,i8**%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_138(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc double@_SMLLL1g_94(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite321sqlite3__column__doubleE_139(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN20SMLSharp__SQL__SQLite321sqlite3__column__doubleE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_140(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL1g_99(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite318sqlite3__column__intE_141(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite318sqlite3__column__intE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_142(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i64@_SMLLL1g_104(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to i64*
store i64%c,i64*%g,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite320sqlite3__column__int64E_143(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i64@_SMLFN20SMLSharp__SQL__SQLite320sqlite3__column__int64E(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to i64*
store i64%c,i64*%g,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_144(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL1g_109(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to i8**
store i8*%c,i8**%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite319sqlite3__column__textE_145(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__SQLite319sqlite3__column__textE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to i8**
store i8*%c,i8**%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLL1g_146(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i32@_SMLLL1g_114(i8*inreg%a,i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLLN20SMLSharp__SQL__SQLite316sqlite3__finalizeE_147(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i32@_SMLFN20SMLSharp__SQL__SQLite316sqlite3__finalizeE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
attributes#0={nounwind}
attributes#1={uwtable}
attributes#2={noreturn nounwind}
attributes#3={nounwind uwtable}
