@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN6IntInf1_JE=external local_unnamed_addr global i8*
@_SMLZN6IntInf1_KE=external local_unnamed_addr global i8*
@_SMLZN6IntInf1_ME=external local_unnamed_addr global i8*
@_SMLZN6IntInf1_RE=external local_unnamed_addr global i8*
@_SMLZN6IntInf1_eE=external local_unnamed_addr global i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric1_KE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric3addE_191 to void(...)*),i32 -2147483647}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric1_ME to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric3subE_192 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric1_JE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric3mulE_193 to void(...)*),i32 -2147483647}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric4quotE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric4quotE_194 to void(...)*),i32 -2147483647}>,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__Numeric3remE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric3remE_195 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(i32(i8*)*@_SMLFN20SMLSharp__SQL__Numeric7compareE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric7compareE_196 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__Numeric1_RE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric2ltE_197 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__Numeric2_R_SE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric2leE_198 to void(...)*),i32 -2147483647}>,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*)*@_SMLFN20SMLSharp__SQL__Numeric1_TE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric2gtE_199 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__Numeric2_T_SE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric2geE_200 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric1_eE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric3negE_201 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric3absE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric3absE_202 to void(...)*),i32 -2147483647}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_147 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_206 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306344,i32 1,[4x i8]zeroinitializer,i8*null,i32 0,i32 0,i32 2}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric9toDecimalE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric9toDecimalE_208 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"~\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c".\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[4x i8]}><{[4x i8]zeroinitializer,i32 -2147483644,[4x i8]c"NaN\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric8toStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric8toStringE_209 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_164 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_210 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant[3x i8]c"-1\00"
@w=private unnamed_addr constant[2x i8]c"A\00"
@x=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric10fromStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric10fromStringE_212 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant[2x i8]c"0\00"
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric10toLargeIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric10toLargeIntE_213 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__Numeric10toLargeIntE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*)
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric12fromLargeIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric12fromLargeIntE_214 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__Numeric12fromLargeIntE=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*)
@B=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN20SMLSharp__SQL__Numeric11toLargeRealE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric11toLargeRealE_215 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__Numeric11toLargeRealE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@B,i64 0,i32 2)to i8*)
@C=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i64)*@_SMLFN20SMLSharp__SQL__Numeric13fromLargeRealE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric13fromLargeRealE_216 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__Numeric13fromLargeRealE=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*)
@D=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN20SMLSharp__SQL__Numeric5toIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric5toIntE_217 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__Numeric5toIntE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@D,i64 0,i32 2)to i8*)
@E=private unnamed_addr constant[2x i8]c"1\00"
@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__Numeric7fromIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric7fromIntE_218 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__Numeric7fromIntE=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__Numeric9toDecimalE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@p,i64 0,i32 2)to i8*)
@G=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN20SMLSharp__SQL__Numeric11fromDecimalE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_219 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN20SMLSharp__SQL__Numeric11fromDecimalE=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*)
@_SMLZN20SMLSharp__SQL__Numeric1_KE=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__Numeric1_ME=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@b,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__Numeric1_JE=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__Numeric4quotE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@d,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__Numeric3remE=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__Numeric7compareE=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__Numeric1_RE=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*)
@_SMLZN20SMLSharp__SQL__Numeric2_R_SE=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__Numeric1_TE=local_unnamed_addr constant i8*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*)
@_SMLZN20SMLSharp__SQL__Numeric2_T_SE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__Numeric1_eE=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__Numeric3absE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@l,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__Numeric8toStringE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*)
@_SMLZN20SMLSharp__SQL__Numeric10fromStringE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@x,i64 0,i32 2)to i8*)
@_SML_ftabf0940cae3cd2cc58_Numeric=external global i8
@H=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_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare i8*@sml_load_intinf(i8*inreg)local_unnamed_addr#0
declare i32@sml_obj_equal(i8*inreg,i8*inreg)local_unnamed_addr#0
declare i8*@sml_save()local_unnamed_addr#0
declare void@sml_unsave()local_unnamed_addr#0
declare i8*@_SMLFN10CharVector5foldrE(i32 inreg,i32 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*@_SMLFN4List6lengthE(i32 inreg,i32 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IntInf3absE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IntInf3divE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IntInf3powE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IntInf3remE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i32@_SMLFN6IntInf5toIntE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i32@_SMLFN6IntInf7compareE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IntInf7fromIntE(i32 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IntInf7quotRemE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IntInf8toStringE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6Option5valOfE(i32 inreg,i32 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6Real6411fromDecimalE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6Real649toDecimalE(i64 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN8IEEEReal10fromStringE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN9StringCvt7padLeftE(i8 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8@_SMLFN9Substring3subE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN9Substring4fullE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i32@_SMLFN9Substring4sizeE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN9Substring5trimrE(i32 inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN9Substring6stringE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main5c37eb24573fc5f9_StringCvt()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_mainde1ed1506b8bef54_IEEEReal()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main9d24bdf03f9e5ec9_Real64()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main5d4c3ea7bd6f9540_IntInf()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main145db56e6796da5b_Substring()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main3a60343781315c1e_Option()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_load5c37eb24573fc5f9_StringCvt(i8*)local_unnamed_addr
declare void@_SML_loadde1ed1506b8bef54_IEEEReal(i8*)local_unnamed_addr
declare void@_SML_load9d24bdf03f9e5ec9_Real64(i8*)local_unnamed_addr
declare void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*)local_unnamed_addr
declare void@_SML_load145db56e6796da5b_Substring(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load3a60343781315c1e_Option(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
define private void@_SML_tabbf0940cae3cd2cc58_Numeric()#2{
unreachable
}
define void@_SML_loadf0940cae3cd2cc58_Numeric(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@H,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@H,align 1
tail call void@_SML_load5c37eb24573fc5f9_StringCvt(i8*%a)#0
tail call void@_SML_loadde1ed1506b8bef54_IEEEReal(i8*%a)#0
tail call void@_SML_load9d24bdf03f9e5ec9_Real64(i8*%a)#0
tail call void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*%a)#0
tail call void@_SML_load145db56e6796da5b_Substring(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load3a60343781315c1e_Option(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbf0940cae3cd2cc58_Numeric,i8*@_SML_ftabf0940cae3cd2cc58_Numeric,i8*null)#0
ret void
}
define void@_SML_mainf0940cae3cd2cc58_Numeric()local_unnamed_addr#1 gc"smlsharp"{
%a=load i8,i8*@H,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*@H,align 1
tail call void@_SML_main5c37eb24573fc5f9_StringCvt()#1
tail call void@_SML_mainde1ed1506b8bef54_IEEEReal()#1
tail call void@_SML_main9d24bdf03f9e5ec9_Real64()#1
tail call void@_SML_main5d4c3ea7bd6f9540_IntInf()#1
tail call void@_SML_main145db56e6796da5b_Substring()#1
tail call void@_SML_mainadbb5309e852b68c_CharVector()#1
tail call void@_SML_main03d87556ec7f64b2_List()#1
tail call void@_SML_main3a60343781315c1e_Option()#1
tail call void@_SML_main1ef93e13728790b1_String()#1
br label%d
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_KE(i8*inreg%a)#1 gc"smlsharp"{
n:
%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
%g=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
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%b,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
br i1%q,label%B,label%r
r:
%s=bitcast i8*%p to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%b,align 8
%x=getelementptr inbounds i8,i8*%m,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=icmp eq i8*%z,null
br i1%A,label%B,label%C
B:
ret i8*null
C:
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%e,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
%I=load i8*,i8**@_SMLZN6IntInf1_KE,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%g,align 8
%O=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%e,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%af=call fastcc i8*%R(i8*inreg%ae,i8*inreg%U)
store i8*%af,i8**%b,align 8
%ag=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%f,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=load i8*,i8**%d,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
%aw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ax=call fastcc i8*%aj(i8*inreg%aw,i8*inreg%am)
store i8*%ax,i8**%c,align 8
%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
%aB=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aJ=call fastcc i8*%L(i8*inreg%aI,i8*inreg%ay)
store i8*%aJ,i8**%b,align 8
%aK=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*)**
%aN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%c,align 8
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
%aT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aQ,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 3,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a1=call fastcc i8*%aN(i8*inreg%a0,i8*inreg%aQ)
store i8*%a1,i8**%c,align 8
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=load i8*,i8**%c,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%b,align 8
%a8=getelementptr inbounds i8,i8*%a2,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a2,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
ret i8*%a2
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_ME(i8*inreg%a)#1 gc"smlsharp"{
n:
%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
%g=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
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%b,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
br i1%q,label%B,label%r
r:
%s=bitcast i8*%p to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%b,align 8
%x=getelementptr inbounds i8,i8*%m,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=icmp eq i8*%z,null
br i1%A,label%B,label%C
B:
ret i8*null
C:
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%e,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
%I=load i8*,i8**@_SMLZN6IntInf1_ME,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%g,align 8
%O=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%e,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%af=call fastcc i8*%R(i8*inreg%ae,i8*inreg%U)
store i8*%af,i8**%b,align 8
%ag=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%f,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=load i8*,i8**%d,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
%aw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ax=call fastcc i8*%aj(i8*inreg%aw,i8*inreg%am)
store i8*%ax,i8**%c,align 8
%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
%aB=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aJ=call fastcc i8*%L(i8*inreg%aI,i8*inreg%ay)
store i8*%aJ,i8**%b,align 8
%aK=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*)**
%aN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%c,align 8
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
%aT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aQ,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 3,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a1=call fastcc i8*%aN(i8*inreg%a0,i8*inreg%aQ)
store i8*%a1,i8**%c,align 8
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=load i8*,i8**%c,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%b,align 8
%a8=getelementptr inbounds i8,i8*%a2,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a2,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
ret i8*%a2
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_JE(i8*inreg%a)#1 gc"smlsharp"{
n:
%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
%g=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
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%b,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
br i1%q,label%B,label%r
r:
%s=bitcast i8*%p to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%b,align 8
%x=getelementptr inbounds i8,i8*%m,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=icmp eq i8*%z,null
br i1%A,label%B,label%C
B:
ret i8*null
C:
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%e,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
%I=load i8*,i8**@_SMLZN6IntInf1_ME,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%g,align 8
%O=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%e,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%af=call fastcc i8*%R(i8*inreg%ae,i8*inreg%U)
store i8*%af,i8**%b,align 8
%ag=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%f,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=load i8*,i8**%d,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
%aw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ax=call fastcc i8*%aj(i8*inreg%aw,i8*inreg%am)
store i8*%ax,i8**%c,align 8
%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
%aB=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aJ=call fastcc i8*%L(i8*inreg%aI,i8*inreg%ay)
store i8*%aJ,i8**%b,align 8
%aK=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*)**
%aN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%c,align 8
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
%aT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aQ,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 3,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a1=call fastcc i8*%aN(i8*inreg%a0,i8*inreg%aQ)
store i8*%a1,i8**%c,align 8
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=load i8*,i8**%c,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%b,align 8
%a8=getelementptr inbounds i8,i8*%a2,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a2,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
ret i8*%a2
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric4quotE(i8*inreg%a)#1 gc"smlsharp"{
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
%p=icmp eq i8*%o,null
br i1%p,label%A,label%q
q:
%r=bitcast i8*%o to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%o,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%l,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=icmp eq i8*%y,null
br i1%z,label%A,label%B
A:
ret i8*null
B:
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%d,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%e,align 8
%H=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%f,align 8
%N=call i8*@sml_alloc(i32 inreg 20)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177296,i32*%P,align 4
%Q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%N,i64 8
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%N,i64 16
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=call fastcc i8*%K(i8*inreg%X,i8*inreg%N)
store i8*%Y,i8**%b,align 8
%Z=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%d,align 8
%af=call i8*@sml_alloc(i32 inreg 20)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aq=call fastcc i8*%ac(i8*inreg%ap,i8*inreg%af)
store i8*%aq,i8**%c,align 8
%ar=call i8*@sml_alloc(i32 inreg 20)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177296,i32*%at,align 4
%au=load i8*,i8**%c,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=load i8*,i8**%b,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ar,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
ret i8*%ar
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric3remE(i8*inreg%a)#1 gc"smlsharp"{
n:
%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
%g=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
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%b,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
br i1%q,label%B,label%r
r:
%s=bitcast i8*%p to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%b,align 8
%x=getelementptr inbounds i8,i8*%m,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=icmp eq i8*%z,null
br i1%A,label%B,label%C
B:
ret i8*null
C:
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%e,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%d,align 8
%I=load i8*,i8**@_SMLZN6IntInf1_RE,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%g,align 8
%O=call i8*@sml_save()#0
%P=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%P,i8**%f,align 8
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
%T=load i8*,i8**%c,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%W=getelementptr inbounds i8,i8*%Q,i64 8
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%Q,i64 16
%Z=bitcast i8*%Y to i32*
store i32 3,i32*%Z,align 4
%aa=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ab=call fastcc i8*%L(i8*inreg%aa,i8*inreg%Q)
%ac=bitcast i8*%ab to i32*
%ad=load i32,i32*%ac,align 4
%ae=icmp eq i32%ad,0
br i1%ae,label%aC,label%af
af:
%ag=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
%am=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%an=call fastcc i8*%aj(i8*inreg%al,i8*inreg%am)
store i8*%an,i8**%b,align 8
%ao=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
%as=bitcast i8*%ao to i8**
%at=load i8*,i8**%as,align 8
%au=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%av=call fastcc i8*%ar(i8*inreg%at,i8*inreg%au)
store i8*%av,i8**%c,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
%az=load i8*,i8**%b,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=load i8*,i8**%c,align 8
br label%aJ
aC:
%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
%aG=load i8*,i8**%b,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%c,align 8
br label%aJ
aJ:
%aK=phi i8*[%aD,%aC],[%aw,%af]
%aL=phi i8*[%aI,%aC],[%aB,%af]
%aM=phi i8*[%aG,%aC],[%az,%af]
%aN=getelementptr inbounds i8,i8*%aK,i64 8
%aO=bitcast i8*%aN to i8**
store i8*%aL,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aK,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 3,i32*%aQ,align 4
store i8*%aM,i8**%b,align 8
store i8*%aL,i8**%c,align 8
%aR=load i8*,i8**@_SMLZN6IntInf1_RE,align 8
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%g,align 8
%aX=call i8*@sml_save()#0
%aY=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%aY,i8**%f,align 8
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=load i8*,i8**%e,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a5=getelementptr inbounds i8,i8*%aZ,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aZ,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
%a9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ba=call fastcc i8*%aU(i8*inreg%a9,i8*inreg%aZ)
%bb=bitcast i8*%ba to i32*
%bc=load i32,i32*%bb,align 4
%bd=icmp eq i32%bc,0
br i1%bd,label%bB,label%be
be:
%bf=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%bg=getelementptr inbounds i8,i8*%bf,i64 16
%bh=bitcast i8*%bg to i8*(i8*,i8*)**
%bi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bh,align 8
%bj=bitcast i8*%bf to i8**
%bk=load i8*,i8**%bj,align 8
%bl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bm=call fastcc i8*%bi(i8*inreg%bk,i8*inreg%bl)
store i8*%bm,i8**%d,align 8
%bn=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%bo=getelementptr inbounds i8,i8*%bn,i64 16
%bp=bitcast i8*%bo to i8*(i8*,i8*)**
%bq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bp,align 8
%br=bitcast i8*%bn to i8**
%bs=load i8*,i8**%br,align 8
%bt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bu=call fastcc i8*%bq(i8*inreg%bs,i8*inreg%bt)
store i8*%bu,i8**%e,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
%by=load i8*,i8**%d,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=load i8*,i8**%e,align 8
br label%bI
bB:
%bC=call i8*@sml_alloc(i32 inreg 20)#0
%bD=getelementptr inbounds i8,i8*%bC,i64 -4
%bE=bitcast i8*%bD to i32*
store i32 1342177296,i32*%bE,align 4
%bF=load i8*,i8**%d,align 8
%bG=bitcast i8*%bC to i8**
store i8*%bF,i8**%bG,align 8
%bH=load i8*,i8**%e,align 8
br label%bI
bI:
%bJ=phi i8*[%bC,%bB],[%bv,%be]
%bK=phi i8*[%bH,%bB],[%bA,%be]
%bL=phi i8*[%bF,%bB],[%by,%be]
%bM=getelementptr inbounds i8,i8*%bJ,i64 8
%bN=bitcast i8*%bM to i8**
store i8*%bK,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bJ,i64 16
%bP=bitcast i8*%bO to i32*
store i32 3,i32*%bP,align 4
store i8*%bL,i8**%d,align 8
store i8*%bK,i8**%e,align 8
%bQ=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%bR=getelementptr inbounds i8,i8*%bQ,i64 16
%bS=bitcast i8*%bR to i8*(i8*,i8*)**
%bT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bS,align 8
%bU=bitcast i8*%bQ to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%f,align 8
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
%bZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=load i8*,i8**%e,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bW,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 3,i32*%b5,align 4
%b6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b7=call fastcc i8*%bT(i8*inreg%b6,i8*inreg%bW)
store i8*%b7,i8**%b,align 8
%b8=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%b9=getelementptr inbounds i8,i8*%b8,i64 16
%ca=bitcast i8*%b9 to i8*(i8*,i8*)**
%cb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ca,align 8
%cc=bitcast i8*%b8 to i8**
%cd=load i8*,i8**%cc,align 8
store i8*%cd,i8**%f,align 8
%ce=call i8*@sml_alloc(i32 inreg 20)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177296,i32*%cg,align 4
%ch=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=load i8*,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%ce,i64 8
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%ce,i64 16
%cn=bitcast i8*%cm to i32*
store i32 3,i32*%cn,align 4
%co=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cp=call fastcc i8*%cb(i8*inreg%co,i8*inreg%ce)
store i8*%cp,i8**%d,align 8
%cq=call i8*@sml_alloc(i32 inreg 20)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
%ct=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cu=bitcast i8*%cq to i8**
store i8*%ct,i8**%cu,align 8
%cv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cw=getelementptr inbounds i8,i8*%cq,i64 8
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cq,i64 16
%cz=bitcast i8*%cy to i32*
store i32 3,i32*%cz,align 4
%cA=call fastcc i8*@_SMLFN6IntInf3remE(i8*inreg%cq)
store i8*%cA,i8**%b,align 8
%cB=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%cC=getelementptr inbounds i8,i8*%cB,i64 16
%cD=bitcast i8*%cC to i8*(i8*,i8*)**
%cE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cD,align 8
%cF=bitcast i8*%cB to i8**
%cG=load i8*,i8**%cF,align 8
store i8*%cG,i8**%d,align 8
%cH=call i8*@sml_alloc(i32 inreg 20)#0
%cI=getelementptr inbounds i8,i8*%cH,i64 -4
%cJ=bitcast i8*%cI to i32*
store i32 1342177296,i32*%cJ,align 4
%cK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cL=bitcast i8*%cH to i8**
store i8*%cK,i8**%cL,align 8
%cM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cN=getelementptr inbounds i8,i8*%cH,i64 8
%cO=bitcast i8*%cN to i8**
store i8*%cM,i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cH,i64 16
%cQ=bitcast i8*%cP to i32*
store i32 3,i32*%cQ,align 4
%cR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cS=call fastcc i8*%cE(i8*inreg%cR,i8*inreg%cH)
store i8*%cS,i8**%c,align 8
%cT=call i8*@sml_alloc(i32 inreg 20)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177296,i32*%cV,align 4
%cW=load i8*,i8**%c,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=load i8*,i8**%b,align 8
%cZ=getelementptr inbounds i8,i8*%cT,i64 8
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cT,i64 16
%c2=bitcast i8*%c1 to i32*
store i32 3,i32*%c2,align 4
ret i8*%cT
}
define fastcc i32@_SMLFN20SMLSharp__SQL__Numeric7compareE(i8*inreg%a)#1 gc"smlsharp"{
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
%p=icmp eq i8*%o,null
br i1%p,label%q,label%y
q:
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=icmp ne i8*%t,null
%v=zext i1%u to i32
br label%w
w:
%x=phi i32[%v,%q],[2,%y]
ret i32%x
y:
%z=bitcast i8*%o to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%o,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%b,align 8
%E=getelementptr inbounds i8,i8*%l,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
%H=icmp eq i8*%G,null
br i1%H,label%w,label%I
I:
%J=bitcast i8*%G to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%e,align 8
%O=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%af=call fastcc i8*%R(i8*inreg%ae,i8*inreg%U)
store i8*%af,i8**%b,align 8
%ag=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%d,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
%aw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ax=call fastcc i8*%aj(i8*inreg%aw,i8*inreg%am)
store i8*%ax,i8**%c,align 8
%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
%aB=load i8*,i8**%b,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=tail call fastcc i32@_SMLFN6IntInf7compareE(i8*inreg%ay)
ret i32%aI
}
define fastcc i32@_SMLFN20SMLSharp__SQL__Numeric1_RE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric7compareE(i8*inreg%p)
%A=icmp eq i32%z,2
%B=zext i1%A to i32
ret i32%B
}
define fastcc i32@_SMLFN20SMLSharp__SQL__Numeric2_R_SE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric7compareE(i8*inreg%p)
%A=icmp ne i32%z,1
%B=zext i1%A to i32
ret i32%B
}
define fastcc i32@_SMLFN20SMLSharp__SQL__Numeric1_TE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric7compareE(i8*inreg%p)
%A=icmp eq i32%z,1
%B=zext i1%A to i32
ret i32%B
}
define fastcc i32@_SMLFN20SMLSharp__SQL__Numeric2_T_SE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric7compareE(i8*inreg%p)
%A=icmp ne i32%z,2
%B=zext i1%A to i32
ret i32%B
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_eE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=icmp eq i8*%i,null
br i1%k,label%l,label%m
l:
ret i8*null
m:
%n=bitcast i8*%i to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=getelementptr inbounds i8,i8*%i,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*%s(i8*inreg%u,i8*inreg%x)
store i8*%y,i8**%b,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
%C=load i8*,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%b,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
ret i8*%z
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric3absE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=icmp eq i8*%i,null
br i1%k,label%l,label%m
l:
ret i8*null
m:
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=call fastcc i8*@_SMLFN6IntInf3absE(i8*inreg%p)
store i8*%q,i8**%c,align 8
%r=bitcast i8**%b to i8***
%s=load i8**,i8***%r,align 8
store i8*null,i8**%b,align 8
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*@_SMLFN6IntInf3absE(i8*inreg%t)
store i8*%u,i8**%b,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
%y=load i8*,i8**%b,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=load i8*,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%v,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
ret i8*%v
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric5splitE_145(i8*inreg%a)unnamed_addr#1 gc"smlsharp"{
r:
%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
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%h,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%h,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%a,%r]
%s=bitcast i8*%q to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%i,align 8
%u=getelementptr inbounds i8,i8*%q,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%h,align 8
%x=load i8*,i8**@_SMLZN6IntInf1_RE,align 8
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%k,align 8
%D=call i8*@sml_save()#0
%E=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%E,i8**%j,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=load i8*,i8**%i,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%Q=call fastcc i8*%A(i8*inreg%P,i8*inreg%F)
%R=bitcast i8*%Q to i32*
%S=load i32,i32*%R,align 4
%T=icmp eq i32%S,0
br i1%T,label%ar,label%U
U:
%V=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
%ab=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ac=call fastcc i8*%Y(i8*inreg%aa,i8*inreg%ab)
store i8*%ac,i8**%h,align 8
%ad=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ak=call fastcc i8*%ag(i8*inreg%ai,i8*inreg%aj)
store i8*%ak,i8**%i,align 8
%al=call i8*@sml_alloc(i32 inreg 20)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177296,i32*%an,align 4
%ao=load i8*,i8**%h,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%i,align 8
br label%ay
ar:
%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=load i8*,i8**%h,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=load i8*,i8**%i,align 8
br label%ay
ay:
%az=phi i8*[%as,%ar],[%al,%U]
%aA=phi i8*[%ax,%ar],[%aq,%U]
%aB=phi i8*[%av,%ar],[%ao,%U]
%aC=getelementptr inbounds i8,i8*%az,i64 8
%aD=bitcast i8*%aC to i8**
store i8*%aA,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 16
%aF=bitcast i8*%aE to i32*
store i32 3,i32*%aF,align 4
store i8*%aB,i8**%h,align 8
store i8*%aA,i8**%i,align 8
%aG=load i8*,i8**@_SMLZN6IntInf1_RE,align 8
%aH=getelementptr inbounds i8,i8*%aG,i64 16
%aI=bitcast i8*%aH to i8*(i8*,i8*)**
%aJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aI,align 8
%aK=bitcast i8*%aG to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%k,align 8
%aM=call i8*@sml_save()#0
%aN=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%aN,i8**%j,align 8
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
%aR=load i8*,i8**%h,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aO,i64 16
%aX=bitcast i8*%aW to i32*
store i32 3,i32*%aX,align 4
%aY=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aZ=call fastcc i8*%aJ(i8*inreg%aY,i8*inreg%aO)
%a0=bitcast i8*%aZ to i32*
%a1=load i32,i32*%a0,align 4
%a2=icmp eq i32%a1,0
br i1%a2,label%bi,label%a3
a3:
%a4=load i8*,i8**@_SMLZN6IntInf1_eE,align 8
%a5=getelementptr inbounds i8,i8*%a4,i64 16
%a6=bitcast i8*%a5 to i8*(i8*,i8*)**
%a7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a6,align 8
%a8=bitcast i8*%a4 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bb=call fastcc i8*%a7(i8*inreg%a9,i8*inreg%ba)
store i8*%bb,i8**%h,align 8
%bc=call i8*@sml_alloc(i32 inreg 20)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177296,i32*%be,align 4
%bf=getelementptr inbounds i8,i8*%bc,i64 12
%bg=bitcast i8*%bf to i32*
store i32 0,i32*%bg,align 1
%bh=load i8*,i8**%h,align 8
br label%bp
bi:
%bj=call i8*@sml_alloc(i32 inreg 20)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177296,i32*%bl,align 4
%bm=getelementptr inbounds i8,i8*%bj,i64 12
%bn=bitcast i8*%bm to i32*
store i32 0,i32*%bn,align 1
%bo=load i8*,i8**%h,align 8
br label%bp
bp:
%bq=phi i8*[%bj,%bi],[%bc,%a3]
%br=phi i8*[%bo,%bi],[%bh,%a3]
%bs=phi i32[0,%bi],[1,%a3]
%bt=bitcast i8*%bq to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bq,i64 8
%bv=bitcast i8*%bu to i32*
store i32%bs,i32*%bv,align 4
%bw=getelementptr inbounds i8,i8*%bq,i64 16
%bx=bitcast i8*%bw to i32*
store i32 1,i32*%bx,align 4
store i8*%br,i8**%h,align 8
%by=call i8*@sml_alloc(i32 inreg 20)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
%bB=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=load i8*,i8**%i,align 8
%bE=getelementptr inbounds i8,i8*%by,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%by,i64 16
%bH=bitcast i8*%bG to i32*
store i32 3,i32*%bH,align 4
%bI=call fastcc i8*@_SMLFN6IntInf7quotRemE(i8*inreg%by)
%bJ=getelementptr inbounds i8,i8*%bI,i64 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%h,align 8
%bM=bitcast i8*%bI to i8**
%bN=load i8*,i8**%bM,align 8
%bO=call fastcc i8*@_SMLFN6IntInf8toStringE(i8*inreg%bN)
store i8*%bO,i8**%j,align 8
%bP=call i8*@sml_save()#0
%bQ=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
%bR=load i8*,i8**%h,align 8
%bS=call i32@sml_obj_equal(i8*inreg%bR,i8*inreg%bQ)#0
%bT=icmp eq i32%bS,0
br i1%bT,label%bV,label%bU
bU:
store i8*null,i8**%i,align 8
br label%eK
bV:
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
%bZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bW,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 3,i32*%b5,align 4
%b6=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%b6)
%b7=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%b7)
%b8=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%b8)
%b9=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%b9)
%ca=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ca)
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
call void@llvm.gcroot(i8**%g,i8*null)#0
%cb=bitcast i8**%d to i8***
br label%cc
cc:
%cd=phi i8*[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@m,i64 0,i32 2,i64 0),%bV],[%eJ,%ey]
%ce=phi i8*[%bW,%bV],[%ez,%ey]
store i8*%cd,i8**%c,align 8
store i8*%ce,i8**%d,align 8
%cf=load atomic i32,i32*@sml_check_flag unordered,align 4
%cg=icmp eq i32%cf,0
br i1%cg,label%ck,label%ch
ch:
call void@sml_check(i32 inreg%cf)
%ci=load i8*,i8**%d,align 8
%cj=load i8*,i8**%c,align 8
br label%ck
ck:
%cl=phi i8*[%cj,%ch],[%cd,%cc]
%cm=phi i8*[%ci,%ch],[%ce,%cc]
store i8*null,i8**%c,align 8
store i8*%cl,i8**%e,align 8
%cn=bitcast i8*%cm to i8**
%co=load i8*,i8**%cn,align 8
store i8*%co,i8**%d,align 8
%cp=getelementptr inbounds i8,i8*%cm,i64 8
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
store i8*%cr,i8**%f,align 8
%cs=getelementptr inbounds i8,i8*%cl,i64 -4
%ct=bitcast i8*%cs to i32*
%cu=load i32,i32*%ct,align 4
%cv=and i32%cu,268435455
%cw=icmp ult i32%cv,16384
br i1%cw,label%cy,label%cx
cx:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b6)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b7)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b8)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b9)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ca)
br label%eK
cy:
%cz=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%cA=getelementptr inbounds i8,i8*%cz,i64 16
%cB=bitcast i8*%cA to i8*(i8*,i8*)**
%cC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cB,align 8
%cD=bitcast i8*%cz to i8**
%cE=load i8*,i8**%cD,align 8
store i8*%cE,i8**%g,align 8
%cF=call i8*@sml_save()#0
%cG=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@w,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%cG,i8**%c,align 8
%cH=call i8*@sml_alloc(i32 inreg 20)#0
%cI=getelementptr inbounds i8,i8*%cH,i64 -4
%cJ=bitcast i8*%cI to i32*
store i32 1342177296,i32*%cJ,align 4
%cK=getelementptr inbounds i8,i8*%cH,i64 12
%cL=bitcast i8*%cK to i32*
store i32 0,i32*%cL,align 1
%cM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cN=bitcast i8*%cH to i8**
store i8*%cM,i8**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cH,i64 8
%cP=bitcast i8*%cO to i32*
store i32%cv,i32*%cP,align 4
%cQ=getelementptr inbounds i8,i8*%cH,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 1,i32*%cR,align 4
%cS=call fastcc i8*@_SMLFN6IntInf3powE(i8*inreg%cH)
store i8*%cS,i8**%c,align 8
%cT=call i8*@sml_alloc(i32 inreg 20)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177296,i32*%cV,align 4
%cW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cZ=getelementptr inbounds i8,i8*%cT,i64 8
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cT,i64 16
%c2=bitcast i8*%c1 to i32*
store i32 3,i32*%c2,align 4
%c3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c4=call fastcc i8*%cC(i8*inreg%c3,i8*inreg%cT)
store i8*%c4,i8**%c,align 8
%c5=call i8*@sml_alloc(i32 inreg 20)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177296,i32*%c7,align 4
%c8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=load i8*,i8**%f,align 8
%db=getelementptr inbounds i8,i8*%c5,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64 16
%de=bitcast i8*%dd to i32*
store i32 3,i32*%de,align 4
%df=call fastcc i8*@_SMLFN6IntInf7quotRemE(i8*inreg%c5)
store i8*%df,i8**%d,align 8
%dg=getelementptr inbounds i8,i8*%df,i64 8
%dh=bitcast i8*%dg to i8**
%di=load i8*,i8**%dh,align 8
store i8*%di,i8**%c,align 8
%dj=call fastcc i8*@_SMLFN9StringCvt7padLeftE(i8 inreg 48)
%dk=getelementptr inbounds i8,i8*%dj,i64 16
%dl=bitcast i8*%dk to i8*(i8*,i8*)**
%dm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dl,align 8
%dn=bitcast i8*%dj to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%g,align 8
%dp=call i8*@sml_alloc(i32 inreg 4)#0
%dq=bitcast i8*%dp to i32*
%dr=getelementptr inbounds i8,i8*%dp,i64 -4
%ds=bitcast i8*%dr to i32*
store i32 4,i32*%ds,align 4
store i32%cv,i32*%dq,align 4
%dt=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%du=call fastcc i8*%dm(i8*inreg%dt,i8*inreg%dp)
%dv=getelementptr inbounds i8,i8*%du,i64 16
%dw=bitcast i8*%dv to i8*(i8*,i8*)**
%dx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dw,align 8
%dy=bitcast i8*%du to i8**
%dz=load i8*,i8**%dy,align 8
store i8*%dz,i8**%g,align 8
%dA=load i8**,i8***%cb,align 8
store i8*null,i8**%d,align 8
%dB=load i8*,i8**%dA,align 8
%dC=call fastcc i8*@_SMLFN6IntInf8toStringE(i8*inreg%dB)
%dD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dE=call fastcc i8*%dx(i8*inreg%dD,i8*inreg%dC)
store i8*%dE,i8**%d,align 8
%dF=call i8*@sml_alloc(i32 inreg 20)#0
%dG=getelementptr inbounds i8,i8*%dF,i64 -4
%dH=bitcast i8*%dG to i32*
store i32 1342177296,i32*%dH,align 4
%dI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dJ=bitcast i8*%dF to i8**
store i8*%dI,i8**%dJ,align 8
%dK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dL=getelementptr inbounds i8,i8*%dF,i64 8
%dM=bitcast i8*%dL to i8**
store i8*%dK,i8**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dF,i64 16
%dO=bitcast i8*%dN to i32*
store i32 3,i32*%dO,align 4
%dP=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%dF)
store i8*%dP,i8**%d,align 8
%dQ=call i8*@sml_save()#0
%dR=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
%dS=load i8*,i8**%c,align 8
%dT=call i32@sml_obj_equal(i8*inreg%dS,i8*inreg%dR)#0
%dU=icmp eq i32%dT,0
br i1%dU,label%ey,label%dV
dV:
store i8*null,i8**%c,align 8
store i8*null,i8**%f,align 8
%dW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dX=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%dW)
%dY=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dY)
call void@llvm.gcroot(i8**%b,i8*null)#0
br label%dZ
dZ:
%d0=phi i8*[%eu,%em],[%dX,%dV]
store i8*%d0,i8**%b,align 8
%d1=load atomic i32,i32*@sml_check_flag unordered,align 4
%d2=icmp eq i32%d1,0
br i1%d2,label%d5,label%d3
d3:
call void@sml_check(i32 inreg%d1)
%d4=load i8*,i8**%b,align 8
br label%d5
d5:
%d6=phi i8*[%d4,%d3],[%d0,%dZ]
%d7=call fastcc i32@_SMLFN9Substring4sizeE(i8*inreg%d6)
%d8=add nsw i32%d7,-1
%d9=call i8*@sml_alloc(i32 inreg 20)#0
%ea=getelementptr inbounds i8,i8*%d9,i64 -4
%eb=bitcast i8*%ea to i32*
store i32 1342177296,i32*%eb,align 4
%ec=getelementptr inbounds i8,i8*%d9,i64 12
%ed=bitcast i8*%ec to i32*
store i32 0,i32*%ed,align 1
%ee=load i8*,i8**%b,align 8
%ef=bitcast i8*%d9 to i8**
store i8*%ee,i8**%ef,align 8
%eg=getelementptr inbounds i8,i8*%d9,i64 8
%eh=bitcast i8*%eg to i32*
store i32%d8,i32*%eh,align 4
%ei=getelementptr inbounds i8,i8*%d9,i64 16
%ej=bitcast i8*%ei to i32*
store i32 1,i32*%ej,align 4
%ek=call fastcc i8@_SMLFN9Substring3subE(i8*inreg%d9)
%el=icmp eq i8%ek,48
br i1%el,label%em,label%ev
em:
%en=call fastcc i8*@_SMLFN9Substring5trimrE(i32 inreg 1)
%eo=getelementptr inbounds i8,i8*%en,i64 16
%ep=bitcast i8*%eo to i8*(i8*,i8*)**
%eq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ep,align 8
%er=bitcast i8*%en to i8**
%es=load i8*,i8**%er,align 8
%et=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eu=call fastcc i8*%eq(i8*inreg%es,i8*inreg%et)
br label%dZ
ev:
%ew=load i8*,i8**%b,align 8
%ex=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ew)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dY)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b6)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b7)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b8)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b9)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ca)
br label%eK
ey:
%ez=call i8*@sml_alloc(i32 inreg 20)#0
%eA=getelementptr inbounds i8,i8*%ez,i64 -4
%eB=bitcast i8*%eA to i32*
store i32 1342177296,i32*%eB,align 4
%eC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eD=bitcast i8*%ez to i8**
store i8*%eC,i8**%eD,align 8
%eE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eF=getelementptr inbounds i8,i8*%ez,i64 8
%eG=bitcast i8*%eF to i8**
store i8*%eE,i8**%eG,align 8
%eH=getelementptr inbounds i8,i8*%ez,i64 16
%eI=bitcast i8*%eH to i32*
store i32 3,i32*%eI,align 4
%eJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
br label%cc
eK:
%eL=phi i8*[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@m,i64 0,i32 2,i64 0),%bU],[%cl,%cx],[%ex,%ev]
store i8*%eL,i8**%h,align 8
%eM=call i8*@sml_alloc(i32 inreg 28)#0
%eN=bitcast i8*%eM to i32*
%eO=getelementptr inbounds i8,i8*%eM,i64 -4
%eP=bitcast i8*%eO to i32*
store i32 1342177304,i32*%eP,align 4
%eQ=getelementptr inbounds i8,i8*%eM,i64 4
%eR=bitcast i8*%eQ to i32*
store i32 0,i32*%eR,align 1
store i32%bs,i32*%eN,align 4
%eS=load i8*,i8**%j,align 8
%eT=getelementptr inbounds i8,i8*%eM,i64 8
%eU=bitcast i8*%eT to i8**
store i8*%eS,i8**%eU,align 8
%eV=load i8*,i8**%h,align 8
%eW=getelementptr inbounds i8,i8*%eM,i64 16
%eX=bitcast i8*%eW to i8**
store i8*%eV,i8**%eX,align 8
%eY=getelementptr inbounds i8,i8*%eM,i64 24
%eZ=bitcast i8*%eY to i32*
store i32 6,i32*%eZ,align 4
ret i8*%eM
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_147(i8*inreg%a)#3 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=getelementptr inbounds i8,i8*%a,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
store i8*%e,i8**%b,align 8
%f=load i8,i8*%a,align 1
%g=zext i8%f to i32
%h=add nsw i32%g,-48
%i=call i8*@sml_alloc(i32 inreg 20)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
store i32 0,i32*%n,align 1
store i32%h,i32*%j,align 4
%o=load i8*,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i8**
store i8*%o,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 16
%s=bitcast i8*%r to i32*
store i32 2,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_149(i8*inreg%a)unnamed_addr#1 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN10CharVector5foldrE(i32 inreg 1,i32 inreg 8)
%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}>*@n,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
%s=call fastcc i8*%p(i8*inreg%r,i8*inreg null)
%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
%y=load i8*,i8**%b,align 8
%z=tail call fastcc i8*%v(i8*inreg%x,i8*inreg%y)
ret i8*%z
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric9toDecimalE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=icmp eq i8*%i,null
br i1%k,label%l,label%m
l:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32,i32,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32,i32,i32}>*@o,i64 0,i32 2)to i8*)
m:
%n=call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric5splitE_145(i8*inreg%i)
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%n,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=and i32%v,268435455
%x=icmp eq i32%w,2
br i1%x,label%y,label%V
y:
%z=load i8,i8*%s,align 1
%A=icmp eq i8%z,48
br i1%A,label%B,label%V
B:
store i8*null,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%n,i64 16
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
%F=call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_149(i8*inreg%E)
store i8*%F,i8**%b,align 8
%G=call i8*@sml_alloc(i32 inreg 28)#0
%H=bitcast i8*%G to i32*
%I=getelementptr inbounds i8,i8*%G,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177304,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%G,i64 4
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 1
store i32 2,i32*%H,align 4
%M=load i8*,i8**%b,align 8
%N=getelementptr inbounds i8,i8*%G,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%G,i64 16
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%G,i64 20
%S=bitcast i8*%R to i32*
store i32%p,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%G,i64 24
%U=bitcast i8*%T to i32*
store i32 2,i32*%U,align 4
ret i8*%G
V:
%W=getelementptr inbounds i8,i8*%n,i64 16
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%b,align 8
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
%ac=load i8*,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%Z,i64 16
%ai=bitcast i8*%ah to i32*
store i32 3,i32*%ai,align 4
%aj=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%Z)
%ak=call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_149(i8*inreg%aj)
store i8*%ak,i8**%b,align 8
%al=bitcast i8**%c to i32**
%am=load i32*,i32**%al,align 8
store i8*null,i8**%c,align 8
%an=getelementptr inbounds i32,i32*%am,i64 -1
%ao=load i32,i32*%an,align 4
%ap=and i32%ao,268435455
%aq=add nsw i32%ap,-1
%ar=call i8*@sml_alloc(i32 inreg 28)#0
%as=bitcast i8*%ar to i32*
%at=getelementptr inbounds i8,i8*%ar,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177304,i32*%au,align 4
%av=getelementptr inbounds i8,i8*%ar,i64 4
%aw=bitcast i8*%av to i32*
store i32 0,i32*%aw,align 1
store i32 2,i32*%as,align 4
%ax=load i8*,i8**%b,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 8
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%ar,i64 16
%aB=bitcast i8*%aA to i32*
store i32%aq,i32*%aB,align 4
%aC=getelementptr inbounds i8,i8*%ar,i64 20
%aD=bitcast i8*%aC to i32*
store i32%p,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%ar,i64 24
%aF=bitcast i8*%aE to i32*
store i32 2,i32*%aF,align 4
ret i8*%ar
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric8toStringE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=icmp eq i8*%i,null
br i1%k,label%l,label%n
l:
%m=phi i8*[getelementptr inbounds(<{[4x i8],i32,[4x i8]}>,<{[4x i8],i32,[4x i8]}>*@s,i64 0,i32 2,i64 0),%h],[%u,%D]
ret i8*%m
n:
%o=call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric5splitE_145(i8*inreg%i)
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=icmp eq i32%q,0
%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**%b,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%c,align 8
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=and i32%A,268435455
%C=icmp eq i32%B,1
br i1%r,label%aa,label%D
D:
br i1%C,label%l,label%E
E:
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@r,i64 0,i32 2,i64 0),i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%F)
store i8*%O,i8**%b,align 8
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177296,i32*%R,align 4
%S=load i8*,i8**%b,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=load i8*,i8**%c,align 8
%V=getelementptr inbounds i8,i8*%P,i64 8
%W=bitcast i8*%V to i8**
store i8*%U,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%P,i64 16
%Y=bitcast i8*%X to i32*
store i32 3,i32*%Y,align 4
%Z=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%P)
ret i8*%Z
aa:
br i1%C,label%ab,label%am
ab:
store i8*null,i8**%c,align 8
%ac=call i8*@sml_alloc(i32 inreg 20)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177296,i32*%ae,align 4
%af=bitcast i8*%ac to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@q,i64 0,i32 2,i64 0),i8**%af,align 8
%ag=load i8*,i8**%b,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%al=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ac)
ret i8*%al
am:
%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
%aq=bitcast i8*%an to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@q,i64 0,i32 2,i64 0),i8**%aq,align 8
%ar=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%as=getelementptr inbounds i8,i8*%an,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%an,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
%aw=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%an)
store i8*%aw,i8**%b,align 8
%ax=call i8*@sml_alloc(i32 inreg 20)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177296,i32*%az,align 4
%aA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aB=bitcast i8*%ax to i8**
store i8*%aA,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%ax,i64 8
%aD=bitcast i8*%aC to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@r,i64 0,i32 2,i64 0),i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 16
%aF=bitcast i8*%aE to i32*
store i32 3,i32*%aF,align 4
%aG=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ax)
store i8*%aG,i8**%b,align 8
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
%aK=load i8*,i8**%b,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=load i8*,i8**%c,align 8
%aN=getelementptr inbounds i8,i8*%aH,i64 8
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aH,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 3,i32*%aQ,align 4
%aR=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aH)
ret i8*%aR
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_164(i8*inreg%a)#1 gc"smlsharp"{
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=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=load i8*,i8**@_SMLZN6IntInf1_KE,align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%f,align 8
%w=load i8*,i8**@_SMLZN6IntInf1_JE,align 8
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%e,align 8
%C=call i8*@sml_save()#0
%D=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@w,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%D,i8**%d,align 8
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%P=call fastcc i8*%z(i8*inreg%O,i8*inreg%E)
store i8*%P,i8**%c,align 8
%Q=bitcast i8**%b to i32**
%R=load i32*,i32**%Q,align 8
store i8*null,i8**%b,align 8
%S=load i32,i32*%R,align 4
%T=call fastcc i8*@_SMLFN6IntInf7fromIntE(i32 inreg%S)
store i8*%T,i8**%b,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%b,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=load i8*,i8**%f,align 8
%af=tail call fastcc i8*%t(i8*inreg%ae,i8*inreg%U)
ret i8*%af
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_170(i8*inreg%a)unnamed_addr#1 gc"smlsharp"{
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 i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 1,label%bn
i32 0,label%bn
i32 4,label%a8
]
o:
%p=getelementptr inbounds i8,i8*%k,i64 16
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 0,i32 inreg 4,i32 inreg 1,i32 inreg 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
%y=call fastcc i8*%v(i8*inreg%x,i8*inreg 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*))
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%c,align 8
%E=call i8*@sml_save()#0
%F=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=call fastcc i8*%B(i8*inreg%G,i8*inreg%F)
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
%N=load i8*,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=call fastcc i8*%K(i8*inreg%M,i8*inreg%Q)
store i8*%R,i8**%d,align 8
%S=load i8*,i8**@_SMLZN6IntInf1_JE,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**%e,align 8
%Y=load i8*,i8**%b,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 20
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=icmp eq i32%ab,0
%ad=call i8*@sml_save()#0
br i1%ac,label%ag,label%ae
ae:
%af=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@E,i64 0,i64 0))#0
call void@sml_unsave()#0
br label%ai
ag:
%ah=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([3x i8],[3x i8]*@v,i64 0,i64 0))#0
call void@sml_unsave()#0
br label%ai
ai:
%aj=phi i8*[%ah,%ag],[%af,%ae]
store i8*%aj,i8**%c,align 8
%ak=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 0,i32 inreg 4)
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
%aq=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=call fastcc i8*%an(i8*inreg%ap,i8*inreg%at)
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
%ax=sub nsw i32%aw,%r
%ay=call i8*@sml_save()#0
%az=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@w,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%az,i8**%b,align 8
%aA=call i8*@sml_alloc(i32 inreg 20)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177296,i32*%aC,align 4
%aD=getelementptr inbounds i8,i8*%aA,i64 12
%aE=bitcast i8*%aD to i32*
store i32 0,i32*%aE,align 1
%aF=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aG=bitcast i8*%aA to i8**
store i8*%aF,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aA,i64 8
%aI=bitcast i8*%aH to i32*
store i32%ax,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aA,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 1,i32*%aK,align 4
%aL=call fastcc i8*@_SMLFN6IntInf3powE(i8*inreg%aA)
store i8*%aL,i8**%b,align 8
%aM=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aS=getelementptr inbounds i8,i8*%aM,i64 8
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aM,i64 16
%aV=bitcast i8*%aU to i32*
store i32 3,i32*%aV,align 4
%aW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aX=call fastcc i8*%V(i8*inreg%aW,i8*inreg%aM)
store i8*%aX,i8**%b,align 8
%aY=call i8*@sml_alloc(i32 inreg 20)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177296,i32*%a0,align 4
%a1=load i8*,i8**%b,align 8
%a2=bitcast i8*%aY to i8**
store i8*%a1,i8**%a2,align 8
%a3=load i8*,i8**%d,align 8
%a4=getelementptr inbounds i8,i8*%aY,i64 8
%a5=bitcast i8*%a4 to i8**
store i8*%a3,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aY,i64 16
%a7=bitcast i8*%a6 to i32*
store i32 3,i32*%a7,align 4
ret i8*%aY
a8:
store i8*null,i8**%b,align 8
%a9=call i8*@sml_save()#0
%ba=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@E,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%ba,i8**%b,align 8
%bb=call i8*@sml_save()#0
%bc=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%bc,i8**%c,align 8
%bd=call i8*@sml_alloc(i32 inreg 20)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177296,i32*%bf,align 4
%bg=load i8*,i8**%b,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=load i8*,i8**%c,align 8
%bj=getelementptr inbounds i8,i8*%bd,i64 8
%bk=bitcast i8*%bj to i8**
store i8*%bi,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bd,i64 16
%bm=bitcast i8*%bl to i32*
store i32 3,i32*%bm,align 4
ret i8*%bd
bn:
ret i8*null
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric10fromStringE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN8IEEEReal10fromStringE(i8*inreg%h)
%k=icmp eq i8*%j,null
br i1%k,label%l,label%m
l:
ret i8*null
m:
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_170(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
%t=load i8*,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i32*
store i32 1,i32*%w,align 4
ret i8*%q
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric10toLargeIntE(i8*inreg%a)#1 gc"smlsharp"{
j:
%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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=icmp eq i8*%i,null
br i1%k,label%l,label%o
l:
%m=call i8*@sml_save()#0
%n=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@y,i64 0,i64 0))#0
call void@sml_unsave()#0
ret i8*%n
o:
%p=bitcast i8*%i to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=getelementptr inbounds i8,i8*%i,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=load i8*,i8**%b,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%u,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=tail call fastcc i8*@_SMLFN6IntInf3divE(i8*inreg%u)
ret i8*%E
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric12fromLargeIntE(i8*inreg%a)#3 gc"smlsharp"{
%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
store i8*%a,i8**%b,align 8
%d=call i8*@sml_save()#0
%e=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@E,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%e,i8**%c,align 8
%f=call i8*@sml_alloc(i32 inreg 20)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177296,i32*%h,align 4
%i=load i8*,i8**%c,align 8
%j=bitcast i8*%f to i8**
store i8*%i,i8**%j,align 8
%k=load i8*,i8**%b,align 8
%l=getelementptr inbounds i8,i8*%f,i64 8
%m=bitcast i8*%l to i8**
store i8*%k,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%f,i64 16
%o=bitcast i8*%n to i32*
store i32 3,i32*%o,align 4
ret i8*%f
}
define fastcc double@_SMLFN20SMLSharp__SQL__Numeric11toLargeRealE(i8*inreg%a)#1 gc"smlsharp"{
%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
store i8*%a,i8**%b,align 8
%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=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 0,i32 inreg 8)
%i=getelementptr inbounds i8,i8*%h,i64 16
%j=bitcast i8*%i to i8*(i8*,i8*)**
%k=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j,align 8
%l=bitcast i8*%h to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%o=call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric9toDecimalE(i8*inreg%n)
%p=call fastcc i8*@_SMLFN6Real6411fromDecimalE(i8*inreg%o)
%q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r=call fastcc i8*%k(i8*inreg%q,i8*inreg%p)
%s=bitcast i8*%r to double*
%t=load double,double*%s,align 8
ret double%t
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric13fromLargeRealE(i64 inreg%a)#1 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=tail call fastcc i8*@_SMLFN6Real649toDecimalE(i64 inreg%a)
%g=tail call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_170(i8*inreg%f)
ret i8*%g
}
define fastcc i32@_SMLFN20SMLSharp__SQL__Numeric5toIntE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric10toLargeIntE(i8*inreg%h)
%k=tail call fastcc i32@_SMLFN6IntInf5toIntE(i8*inreg%j)
ret i32%k
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric7fromIntE(i32 inreg%a)#1 gc"smlsharp"{
%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=call fastcc i8*@_SMLFN6IntInf7fromIntE(i32 inreg%a)
store i8*%h,i8**%b,align 8
%i=call i8*@sml_save()#0
%j=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([2x i8],[2x i8]*@E,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=load i8*,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%k,i64 16
%t=bitcast i8*%s to i32*
store i32 3,i32*%t,align 4
ret i8*%k
}
define fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric11fromDecimalE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_170(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric3addE_191(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_KE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric3subE_192(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_ME(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric3mulE_193(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_JE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric4quotE_194(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric4quotE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric3remE_195(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric3remE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric7compareE_196(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric7compareE(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*@_SMLLN20SMLSharp__SQL__Numeric2ltE_197(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric1_RE(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*@_SMLLN20SMLSharp__SQL__Numeric2leE_198(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric2_R_SE(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*@_SMLLN20SMLSharp__SQL__Numeric2gtE_199(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric1_TE(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*@_SMLLN20SMLSharp__SQL__Numeric2geE_200(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric2_T_SE(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*@_SMLLN20SMLSharp__SQL__Numeric3negE_201(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric1_eE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric3absE_202(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric3absE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_206(i8*inreg%a,i8*inreg%b)#3 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric8toDigitsE_147(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric9toDecimalE_208(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric9toDecimalE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric8toStringE_209(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric8toStringE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_210(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_164(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric10fromStringE_212(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric10fromStringE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric10toLargeIntE_213(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric10toLargeIntE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric12fromLargeIntE_214(i8*inreg%a,i8*inreg%b)#3 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric12fromLargeIntE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11toLargeRealE_215(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN20SMLSharp__SQL__Numeric11toLargeRealE(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*@_SMLLN20SMLSharp__SQL__Numeric13fromLargeRealE_216(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 i8*@_SMLFN20SMLSharp__SQL__Numeric13fromLargeRealE(i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric5toIntE_217(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN20SMLSharp__SQL__Numeric5toIntE(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*@_SMLLN20SMLSharp__SQL__Numeric7fromIntE_218(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__Numeric7fromIntE(i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN20SMLSharp__SQL__Numeric11fromDecimalE_219(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN20SMLSharp__SQL__Numeric11fromDecimalE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={uwtable}
attributes#2={noreturn nounwind}
attributes#3={nounwind uwtable}
