@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[25x i8]}><{[4x i8]zeroinitializer,i32 -2147483623,[25x i8]c"IDCalcUtils.DuplicateVar\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[25x i8]}>,<{[4x i8],i32,[25x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL139=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i32 0,i32 0,i32 0),i32 8)}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilerIRs/idcalc/main/IDCalcUtils.sml:19.26(505)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL139,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@c,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i32)*@_SMLLN11IDCalcUtils5newIdE_145 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils5newIdE_264 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[28x i8]}><{[4x i8]zeroinitializer,i32 -2147483620,[28x i8]c"duplicate id in IDCalcUtils\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilerIRs/idcalc/main/IDCalcUtils.sml:13.14(338)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[14x i8]}><{[4x i8]zeroinitializer,i32 -2147483634,[14x i8]c"IDCalcUtils: \00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@h,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[28x i8]}>,<{[4x i8],i32,[28x i8]}>*@f,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11IDCalcUtils7newVarsE_157 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7newVarsE_268 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*)*@_SMLLN11IDCalcUtils7copyPatE_166 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyPatE_270 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilerIRs/idcalc/main/IDCalcUtils.sml:48.6(1276)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11IDCalcUtils8copyPatsE_169 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils8copyPatsE_272 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/compilerIRs/idcalc/main/IDCalcUtils.sml:131.8(3903)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/compilerIRs/idcalc/main/IDCalcUtils.sml:250.6(8847)\00"}>,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*)*@_SMLL4copy_236 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4copy_277 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11IDCalcUtils8copyDeclE_238 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils8copyDeclE_278 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,i8*null,i8*null,i32 7}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL8funbinds_242 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8funbinds_279 to void(...)*),i32 -2147483647}>,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*)*@_SMLL4vars_245 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4vars_280 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*)*@_SMLL4vars_248 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4vars_281 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilerIRs/idcalc/main/IDCalcUtils.sml:291.6(10028)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN11IDCalcUtils13equalPropListE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils13equalPropListE_290 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11IDCalcUtils13equalPropListE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*)
@x=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11IDCalcUtils7copyPatE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyPatE_291 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11IDCalcUtils7copyPatE=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*)
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11IDCalcUtils7copyExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_292 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11IDCalcUtils7copyExpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*)
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11IDCalcUtils8copyDeclE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils8copyDeclE_293 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11IDCalcUtils8copyDeclE=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*)*@_SMLFN11IDCalcUtils12copyDeclListE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils12copyDeclListE_294 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11IDCalcUtils12copyDeclListE=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*)
@_SML_ftabd23c38fefb75c4b6_IDCalcUtils=external global i8
@B=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 void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3revE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldrE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Types15equalPropertiesE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map10insertWithE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5VarID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair3zipE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair5mapEqE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair5unzipE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7aa263535439ee1c_ListPair()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3446b7b079949ccf_text_io()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7374574ddb619c6a_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main606b245a3d2b48d6_Types_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load7aa263535439ee1c_ListPair(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load3446b7b079949ccf_text_io(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load7374574ddb619c6a_LocalID(i8*)local_unnamed_addr
declare void@_SML_load606b245a3d2b48d6_Types_ppg(i8*)local_unnamed_addr
define private void@_SML_tabbd23c38fefb75c4b6_IDCalcUtils()#3{
unreachable
}
define void@_SML_loadd23c38fefb75c4b6_IDCalcUtils(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@B,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@B,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load7aa263535439ee1c_ListPair(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load3446b7b079949ccf_text_io(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load7374574ddb619c6a_LocalID(i8*%a)#0
tail call void@_SML_load606b245a3d2b48d6_Types_ppg(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbd23c38fefb75c4b6_IDCalcUtils,i8*@_SML_ftabd23c38fefb75c4b6_IDCalcUtils,i8*null)#0
ret void
}
define void@_SML_maind23c38fefb75c4b6_IDCalcUtils()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@B,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*@B,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main7aa263535439ee1c_ListPair()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main3446b7b079949ccf_text_io()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_main606b245a3d2b48d6_Types_ppg()#2
br label%d
}
define internal fastcc void@_SMLLN11IDCalcUtils5newIdE_145(i32 inreg%a)#4 gc"smlsharp"{
%b=tail call i8*@sml_alloc(i32 inreg 60)#0
%c=getelementptr inbounds i8,i8*%b,i64 -4
%d=bitcast i8*%c to i32*
store i32 1342177336,i32*%d,align 4
%e=getelementptr inbounds i8,i8*%b,i64 56
%f=bitcast i8*%e to i32*
store i32 1,i32*%f,align 4
%g=bitcast i8*%b to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@d,i64 0,i32 2)to i8*),i8**%g,align 8
tail call void@sml_raise(i8*inreg%b)#1
unreachable
}
define internal fastcc i8*@_SMLLN11IDCalcUtils5newIdE_147(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call fastcc i32@_SMLFN5VarID8generateE(i32 inreg 0)
%j=call fastcc i8*@_SMLFN5VarID3Map10insertWithE(i32 inreg 0,i32 inreg 4)
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg 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*))
%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
store i8*%u,i8**%d,align 8
%v=bitcast i8**%c to i8***
%w=load i8**,i8***%v,align 8
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i32*
store i32%b,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%y,i64 12
%G=bitcast i8*%F to i32*
store i32%i,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%y,i64 16
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%K=call fastcc i8*%s(i8*inreg%J,i8*inreg%y)
store i8*%K,i8**%c,align 8
%L=call i8*@sml_alloc(i32 inreg 20)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177296,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 12
%P=bitcast i8*%O to i32*
store i32 0,i32*%P,align 1
%Q=load i8*,i8**%c,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%L,i64 8
%T=bitcast i8*%S to i32*
store i32%i,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%L,i64 16
%V=bitcast i8*%U to i32*
store i32 1,i32*%V,align 4
ret i8*%L
}
define internal fastcc i8*@_SMLLN11IDCalcUtils6newVarE_154(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%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**%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**%g,align 8
store i8*%b,i8**%e,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%j,label%l
j:
%k=bitcast i8*%a to i8**
br label%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%e,align 8
%n=bitcast i8**%g to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%k,%j],[%o,%l]
%r=phi i8*[%b,%j],[%m,%l]
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%f,align 8
store i8*null,i8**%g,align 8
%v=load i8*,i8**%q,align 8
%w=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
%x=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%v,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 12)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177288,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
%I=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN11IDCalcUtils5newIdE_147 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils5newIdE_265 to void(...)*),void(...)**%N,align 8
%O=getelementptr inbounds i8,i8*%F,i64 24
%P=bitcast i8*%O to i32*
store i32 -2147483647,i32*%P,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
store i8*%I,i8**%g,align 8
%Q=bitcast i8**%e to i32**
%R=load i32*,i32**%Q,align 8
store i8*null,i8**%e,align 8
%S=load i32,i32*%R,align 4
%T=call i8*@sml_alloc(i32 inreg 4)#0
%U=bitcast i8*%T to i32*
%V=getelementptr inbounds i8,i8*%T,i64 -4
%W=bitcast i8*%V to i32*
store i32 4,i32*%W,align 4
store i32%S,i32*%U,align 4
%X=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Y=invoke fastcc i8*@_SMLLN11IDCalcUtils5newIdE_147(i8*inreg%X,i32 inreg%S)
to label%aL unwind label%Z
Z:
%aa=landingpad{i8*,i8*}
catch i8*null
%ab=extractvalue{i8*,i8*}%aa,1
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*null,i8**%f,align 8
store i8*%ad,i8**%e,align 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
%ag=icmp eq i8*%af,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL139,i64 0,i32 2)to i8*)
br i1%ag,label%ah,label%aD
ah:
%ai=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ai,i8**%e,align 8
%aj=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@i,i64 0,i32 2)to i8*))
store i8*%aj,i8**%f,align 8
%ak=call i8*@sml_alloc(i32 inreg 28)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177304,i32*%am,align 4
store i8*%ak,i8**%g,align 8
%an=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ak,i64 8
%aq=bitcast i8*%ap to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@g,i64 0,i32 2,i64 0),i8**%aq,align 8
%ar=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%as=getelementptr inbounds i8,i8*%ak,i64 16
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ak,i64 24
%av=bitcast i8*%au to i32*
store i32 7,i32*%av,align 4
%aw=call i8*@sml_alloc(i32 inreg 60)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177336,i32*%ay,align 4
%az=getelementptr inbounds i8,i8*%aw,i64 56
%aA=bitcast i8*%az to i32*
store i32 1,i32*%aA,align 4
%aB=load i8*,i8**%g,align 8
%aC=bitcast i8*%aw to i8**
store i8*%aB,i8**%aC,align 8
call void@sml_raise(i8*inreg%aw)#1
unreachable
aD:
%aE=call i8*@sml_alloc(i32 inreg 60)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177336,i32*%aG,align 4
%aH=getelementptr inbounds i8,i8*%aE,i64 56
%aI=bitcast i8*%aH to i32*
store i32 1,i32*%aI,align 4
%aJ=load i8*,i8**%e,align 8
%aK=bitcast i8*%aE to i8**
store i8*%aJ,i8**%aK,align 8
call void@sml_raise(i8*inreg%aE)#1
unreachable
aL:
%aM=bitcast i8*%Y to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%e,align 8
%aO=getelementptr inbounds i8,i8*%Y,i64 8
%aP=bitcast i8*%aO to i32*
%aQ=load i32,i32*%aP,align 4
%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
store i8*%aR,i8**%g,align 8
%aU=getelementptr inbounds i8,i8*%aR,i64 4
%aV=bitcast i8*%aU to i32*
store i32 0,i32*%aV,align 1
%aW=bitcast i8*%aR to i32*
store i32%aQ,i32*%aW,align 4
%aX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 2,i32*%a1,align 4
%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**%e,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%g,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 internal fastcc i8*@_SMLLN11IDCalcUtils6newVarE_155(i8*inreg%a)unnamed_addr#5 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_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils6newVarE_154 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils6newVarE_154 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_157(i8*inreg%a)#2 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=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*@_SMLLN11IDCalcUtils6newVarE_155(i8*inreg%t)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
%A=bitcast i8**%b to i8***
%B=load i8**,i8***%A,align 8
store i8*null,i8**%b,align 8
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*%x(i8*inreg%z,i8*inreg%C)
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%b,align 8
%G=getelementptr inbounds i8,i8*%D,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%c,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
store i8*%J,i8**%e,align 8
%M=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
%W=load i8*,i8**%b,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%e,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
ret i8*%T
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_159(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
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**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg 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*))
%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
store i8*%u,i8**%e,align 8
%v=bitcast i8**%d to i8***
%w=load i8**,i8***%v,align 8
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%d,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*null,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%I=call fastcc i8*%s(i8*inreg%H,i8*inreg%y)
%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
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
store i8*%P,i8**%d,align 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=call fastcc i8*@_SMLFN4List3revE(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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%V(i8*inreg%X,i8*inreg%ab)
store i8*%ac,i8**%d,align 8
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
%ag=load i8*,i8**%c,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%d,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
ret i8*%ad
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_160(i8*inreg%a)unnamed_addr#5 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_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7newVarsE_159 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7newVarsE_159 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_166(i8*inreg%a)#2 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]
store i8*null,i8**%b,align 8
%n=bitcast i8*%l to i8**
%o=bitcast i8*%l to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%n,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%y,i8*inreg%C)
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%b,align 8
%G=getelementptr inbounds i8,i8*%D,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%c,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
store i8*%J,i8**%f,align 8
%M=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
store i8*%T,i8**%c,align 8
%W=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%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
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
ret i8*%ad
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
o:
%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
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
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=icmp eq i8*%n,null
br i1%p,label%gw,label%q
q:
%r=bitcast i8*%n to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 3,label%gw
i32 11,label%gl
i32 10,label%fI
i32 9,label%e5
i32 0,label%eU
i32 5,label%eJ
i32 4,label%ey
i32 1,label%en
i32 2,label%dp
i32 7,label%bX
i32 6,label%aM
i32 8,label%L
]
t:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,align 8
store i8*%u,i8**%c,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
store i8*%v,i8**%d,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@l,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
store i8*null,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%n,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%O,i64 16
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%f,align 8
%V=bitcast i8*%O to i8**
%W=load i8*,i8**%V,align 8
%X=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%Y=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%X,i8*inreg%W)
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%Y,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%d,align 8
%ae=call i8*@sml_alloc(i32 inreg 28)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177304,i32*%ag,align 4
store i8*%ae,i8**%g,align 8
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 16
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ae,i64 24
%aq=bitcast i8*%ap to i32*
store i32 7,i32*%aq,align 4
%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
store i8*%ar,i8**%d,align 8
%au=getelementptr inbounds i8,i8*%ar,i64 4
%av=bitcast i8*%au to i32*
store i32 0,i32*%av,align 1
%aw=bitcast i8*%ar to i32*
store i32 8,i32*%aw,align 4
%ax=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 2,i32*%aB,align 4
%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=load i8*,i8**%c,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%d,align 8
%aI=getelementptr inbounds i8,i8*%aC,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*%aH,i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aC,i64 16
%aL=bitcast i8*%aK to i32*
store i32 3,i32*%aL,align 4
ret i8*%aC
aM:
store i8*null,i8**%c,align 8
%aN=getelementptr inbounds i8,i8*%n,i64 8
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%d,align 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%f,align 8
%aS=getelementptr inbounds i8,i8*%aP,i64 24
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%g,align 8
%aV=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aW=call fastcc i8*@_SMLLN11IDCalcUtils6newVarE_155(i8*inreg%aV)
%aX=getelementptr inbounds i8,i8*%aW,i64 16
%aY=bitcast i8*%aX to i8*(i8*,i8*)**
%aZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aY,align 8
%a0=bitcast i8*%aW to i8**
%a1=load i8*,i8**%a0,align 8
%a2=load i8*,i8**%d,align 8
%a3=getelementptr inbounds i8,i8*%a2,i64 16
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=call fastcc i8*%aZ(i8*inreg%a1,i8*inreg%a5)
%a7=getelementptr inbounds i8,i8*%a6,i64 8
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%c,align 8
%ba=bitcast i8*%a6 to i8**
%bb=load i8*,i8**%ba,align 8
%bc=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64 8
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
%bg=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%bb,i8*inreg%bf)
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%d,align 8
%bj=getelementptr inbounds i8,i8*%bg,i64 8
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%e,align 8
%bm=call i8*@sml_alloc(i32 inreg 36)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177312,i32*%bo,align 4
store i8*%bm,i8**%h,align 8
%bp=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bs=getelementptr inbounds i8,i8*%bm,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bv=getelementptr inbounds i8,i8*%bm,i64 16
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%by=getelementptr inbounds i8,i8*%bm,i64 24
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bm,i64 32
%bB=bitcast i8*%bA to i32*
store i32 15,i32*%bB,align 4
%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
store i8*%bC,i8**%c,align 8
%bF=getelementptr inbounds i8,i8*%bC,i64 4
%bG=bitcast i8*%bF to i32*
store i32 0,i32*%bG,align 1
%bH=bitcast i8*%bC to i32*
store i32 6,i32*%bH,align 4
%bI=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bJ=getelementptr inbounds i8,i8*%bC,i64 8
%bK=bitcast i8*%bJ to i8**
store i8*%bI,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bC,i64 16
%bM=bitcast i8*%bL to i32*
store i32 2,i32*%bM,align 4
%bN=call i8*@sml_alloc(i32 inreg 20)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177296,i32*%bP,align 4
%bQ=load i8*,i8**%d,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=load i8*,i8**%c,align 8
%bT=getelementptr inbounds i8,i8*%bN,i64 8
%bU=bitcast i8*%bT to i8**
store i8*%bS,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bN,i64 16
%bW=bitcast i8*%bV to i32*
store i32 3,i32*%bW,align 4
ret i8*%bN
bX:
%bY=getelementptr inbounds i8,i8*%n,i64 8
%bZ=bitcast i8*%bY to i8**
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%c,align 8
%b1=getelementptr inbounds i8,i8*%b0,i64 8
%b2=bitcast i8*%b1 to i32*
%b3=load i32,i32*%b2,align 4
%b4=getelementptr inbounds i8,i8*%b0,i64 16
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%e,align 8
%b7=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%b8=getelementptr inbounds i8,i8*%b7,i64 16
%b9=bitcast i8*%b8 to i8*(i8*,i8*)**
%ca=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b9,align 8
%cb=bitcast i8*%b7 to i8**
%cc=load i8*,i8**%cb,align 8
%cd=call fastcc i8*%ca(i8*inreg%cc,i8*inreg 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*))
%ce=getelementptr inbounds i8,i8*%cd,i64 16
%cf=bitcast i8*%ce to i8*(i8*,i8*)**
%cg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cf,align 8
%ch=bitcast i8*%cd to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%d,align 8
%cj=call i8*@sml_alloc(i32 inreg 20)#0
%ck=getelementptr inbounds i8,i8*%cj,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177296,i32*%cl,align 4
%cm=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cn=bitcast i8*%cj to i8**
store i8*%cm,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%cj,i64 8
%cp=bitcast i8*%co to i8**
store i8*null,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%cj,i64 16
%cr=bitcast i8*%cq to i32*
store i32 3,i32*%cr,align 4
%cs=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ct=call fastcc i8*%cg(i8*inreg%cs,i8*inreg%cj)
%cu=getelementptr inbounds i8,i8*%ct,i64 16
%cv=bitcast i8*%cu to i8*(i8*,i8*)**
%cw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cv,align 8
%cx=bitcast i8*%ct to i8**
%cy=load i8*,i8**%cx,align 8
%cz=bitcast i8**%c to i8***
%cA=load i8**,i8***%cz,align 8
store i8*null,i8**%c,align 8
%cB=load i8*,i8**%cA,align 8
%cC=call fastcc i8*%cw(i8*inreg%cy,i8*inreg%cB)
store i8*%cC,i8**%d,align 8
%cD=bitcast i8*%cC to i8**
%cE=load i8*,i8**%cD,align 8
store i8*%cE,i8**%c,align 8
%cF=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%cG=getelementptr inbounds i8,i8*%cF,i64 16
%cH=bitcast i8*%cG to i8*(i8*,i8*)**
%cI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cH,align 8
%cJ=bitcast i8*%cF to i8**
%cK=load i8*,i8**%cJ,align 8
%cL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cM=getelementptr inbounds i8,i8*%cL,i64 8
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
%cP=call fastcc i8*%cI(i8*inreg%cK,i8*inreg%cO)
store i8*%cP,i8**%d,align 8
%cQ=call i8*@sml_alloc(i32 inreg 28)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177304,i32*%cS,align 4
store i8*%cQ,i8**%f,align 8
%cT=getelementptr inbounds i8,i8*%cQ,i64 12
%cU=bitcast i8*%cT to i32*
store i32 0,i32*%cU,align 1
%cV=load i8*,i8**%d,align 8
%cW=bitcast i8*%cQ to i8**
store i8*null,i8**%d,align 8
store i8*%cV,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cQ,i64 8
%cY=bitcast i8*%cX to i32*
store i32%b3,i32*%cY,align 4
%cZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c0=getelementptr inbounds i8,i8*%cQ,i64 16
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cQ,i64 24
%c3=bitcast i8*%c2 to i32*
store i32 5,i32*%c3,align 4
%c4=call i8*@sml_alloc(i32 inreg 20)#0
%c5=getelementptr inbounds i8,i8*%c4,i64 -4
%c6=bitcast i8*%c5 to i32*
store i32 1342177296,i32*%c6,align 4
store i8*%c4,i8**%d,align 8
%c7=getelementptr inbounds i8,i8*%c4,i64 4
%c8=bitcast i8*%c7 to i32*
store i32 0,i32*%c8,align 1
%c9=bitcast i8*%c4 to i32*
store i32 7,i32*%c9,align 4
%da=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%db=getelementptr inbounds i8,i8*%c4,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c4,i64 16
%de=bitcast i8*%dd to i32*
store i32 2,i32*%de,align 4
%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**%c,align 8
%dj=bitcast i8*%df to i8**
store i8*%di,i8**%dj,align 8
%dk=load i8*,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
ret i8*%df
dp:
store i8*null,i8**%c,align 8
%dq=getelementptr inbounds i8,i8*%n,i64 8
%dr=bitcast i8*%dq to i8**
%ds=load i8*,i8**%dr,align 8
store i8*%ds,i8**%d,align 8
%dt=getelementptr inbounds i8,i8*%ds,i64 16
%du=bitcast i8*%dt to i8**
%dv=load i8*,i8**%du,align 8
store i8*%dv,i8**%f,align 8
%dw=getelementptr inbounds i8,i8*%ds,i64 8
%dx=bitcast i8*%dw to i8**
%dy=load i8*,i8**%dx,align 8
%dz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dA=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%dz,i8*inreg%dy)
%dB=getelementptr inbounds i8,i8*%dA,i64 8
%dC=bitcast i8*%dB to i8**
%dD=load i8*,i8**%dC,align 8
store i8*%dD,i8**%c,align 8
%dE=bitcast i8*%dA to i8**
%dF=load i8*,i8**%dE,align 8
%dG=bitcast i8**%d to i8***
%dH=load i8**,i8***%dG,align 8
store i8*null,i8**%d,align 8
%dI=load i8*,i8**%dH,align 8
%dJ=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%dF,i8*inreg%dI)
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
store i8*%dL,i8**%d,align 8
%dM=getelementptr inbounds i8,i8*%dJ,i64 8
%dN=bitcast i8*%dM to i8**
%dO=load i8*,i8**%dN,align 8
store i8*%dO,i8**%e,align 8
%dP=call i8*@sml_alloc(i32 inreg 28)#0
%dQ=getelementptr inbounds i8,i8*%dP,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177304,i32*%dR,align 4
store i8*%dP,i8**%g,align 8
%dS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dT=bitcast i8*%dP to i8**
store i8*%dS,i8**%dT,align 8
%dU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dV=getelementptr inbounds i8,i8*%dP,i64 8
%dW=bitcast i8*%dV to i8**
store i8*%dU,i8**%dW,align 8
%dX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dY=getelementptr inbounds i8,i8*%dP,i64 16
%dZ=bitcast i8*%dY to i8**
store i8*%dX,i8**%dZ,align 8
%d0=getelementptr inbounds i8,i8*%dP,i64 24
%d1=bitcast i8*%d0 to i32*
store i32 7,i32*%d1,align 4
%d2=call i8*@sml_alloc(i32 inreg 20)#0
%d3=getelementptr inbounds i8,i8*%d2,i64 -4
%d4=bitcast i8*%d3 to i32*
store i32 1342177296,i32*%d4,align 4
store i8*%d2,i8**%c,align 8
%d5=getelementptr inbounds i8,i8*%d2,i64 4
%d6=bitcast i8*%d5 to i32*
store i32 0,i32*%d6,align 1
%d7=bitcast i8*%d2 to i32*
store i32 2,i32*%d7,align 4
%d8=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%d9=getelementptr inbounds i8,i8*%d2,i64 8
%ea=bitcast i8*%d9 to i8**
store i8*%d8,i8**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d2,i64 16
%ec=bitcast i8*%eb to i32*
store i32 2,i32*%ec,align 4
%ed=call i8*@sml_alloc(i32 inreg 20)#0
%ee=getelementptr inbounds i8,i8*%ed,i64 -4
%ef=bitcast i8*%ee to i32*
store i32 1342177296,i32*%ef,align 4
%eg=load i8*,i8**%d,align 8
%eh=bitcast i8*%ed to i8**
store i8*%eg,i8**%eh,align 8
%ei=load i8*,i8**%c,align 8
%ej=getelementptr inbounds i8,i8*%ed,i64 8
%ek=bitcast i8*%ej to i8**
store i8*%ei,i8**%ek,align 8
%el=getelementptr inbounds i8,i8*%ed,i64 16
%em=bitcast i8*%el to i32*
store i32 3,i32*%em,align 4
ret i8*%ed
en:
%eo=call i8*@sml_alloc(i32 inreg 20)#0
%ep=getelementptr inbounds i8,i8*%eo,i64 -4
%eq=bitcast i8*%ep to i32*
store i32 1342177296,i32*%eq,align 4
%er=load i8*,i8**%h,align 8
%es=bitcast i8*%eo to i8**
store i8*%er,i8**%es,align 8
%et=load i8*,i8**%c,align 8
%eu=getelementptr inbounds i8,i8*%eo,i64 8
%ev=bitcast i8*%eu to i8**
store i8*%et,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%eo,i64 16
%ex=bitcast i8*%ew to i32*
store i32 3,i32*%ex,align 4
ret i8*%eo
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**%h,align 8
%eD=bitcast i8*%ez to i8**
store i8*%eC,i8**%eD,align 8
%eE=load i8*,i8**%c,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
ret i8*%ez
eJ:
%eK=call i8*@sml_alloc(i32 inreg 20)#0
%eL=getelementptr inbounds i8,i8*%eK,i64 -4
%eM=bitcast i8*%eL to i32*
store i32 1342177296,i32*%eM,align 4
%eN=load i8*,i8**%h,align 8
%eO=bitcast i8*%eK to i8**
store i8*%eN,i8**%eO,align 8
%eP=load i8*,i8**%c,align 8
%eQ=getelementptr inbounds i8,i8*%eK,i64 8
%eR=bitcast i8*%eQ to i8**
store i8*%eP,i8**%eR,align 8
%eS=getelementptr inbounds i8,i8*%eK,i64 16
%eT=bitcast i8*%eS to i32*
store i32 3,i32*%eT,align 4
ret i8*%eK
eU:
%eV=call i8*@sml_alloc(i32 inreg 20)#0
%eW=getelementptr inbounds i8,i8*%eV,i64 -4
%eX=bitcast i8*%eW to i32*
store i32 1342177296,i32*%eX,align 4
%eY=load i8*,i8**%h,align 8
%eZ=bitcast i8*%eV to i8**
store i8*%eY,i8**%eZ,align 8
%e0=load i8*,i8**%c,align 8
%e1=getelementptr inbounds i8,i8*%eV,i64 8
%e2=bitcast i8*%e1 to i8**
store i8*%e0,i8**%e2,align 8
%e3=getelementptr inbounds i8,i8*%eV,i64 16
%e4=bitcast i8*%e3 to i32*
store i32 3,i32*%e4,align 4
ret i8*%eV
e5:
%e6=getelementptr inbounds i8,i8*%n,i64 8
%e7=bitcast i8*%e6 to i8**
%e8=load i8*,i8**%e7,align 8
store i8*%e8,i8**%c,align 8
%e9=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fa=call fastcc i8*@_SMLLN11IDCalcUtils6newVarE_155(i8*inreg%e9)
%fb=getelementptr inbounds i8,i8*%fa,i64 16
%fc=bitcast i8*%fb to i8*(i8*,i8*)**
%fd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fc,align 8
%fe=bitcast i8*%fa to i8**
%ff=load i8*,i8**%fe,align 8
%fg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fh=call fastcc i8*%fd(i8*inreg%ff,i8*inreg%fg)
%fi=bitcast i8*%fh to i8**
%fj=load i8*,i8**%fi,align 8
store i8*%fj,i8**%c,align 8
%fk=getelementptr inbounds i8,i8*%fh,i64 8
%fl=bitcast i8*%fk to i8**
%fm=load i8*,i8**%fl,align 8
store i8*%fm,i8**%d,align 8
%fn=call i8*@sml_alloc(i32 inreg 20)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177296,i32*%fp,align 4
store i8*%fn,i8**%e,align 8
%fq=getelementptr inbounds i8,i8*%fn,i64 4
%fr=bitcast i8*%fq to i32*
store i32 0,i32*%fr,align 1
%fs=bitcast i8*%fn to i32*
store i32 9,i32*%fs,align 4
%ft=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fu=getelementptr inbounds i8,i8*%fn,i64 8
%fv=bitcast i8*%fu to i8**
store i8*%ft,i8**%fv,align 8
%fw=getelementptr inbounds i8,i8*%fn,i64 16
%fx=bitcast i8*%fw to i32*
store i32 2,i32*%fx,align 4
%fy=call i8*@sml_alloc(i32 inreg 20)#0
%fz=getelementptr inbounds i8,i8*%fy,i64 -4
%fA=bitcast i8*%fz to i32*
store i32 1342177296,i32*%fA,align 4
%fB=load i8*,i8**%c,align 8
%fC=bitcast i8*%fy to i8**
store i8*%fB,i8**%fC,align 8
%fD=load i8*,i8**%e,align 8
%fE=getelementptr inbounds i8,i8*%fy,i64 8
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=getelementptr inbounds i8,i8*%fy,i64 16
%fH=bitcast i8*%fG to i32*
store i32 3,i32*%fH,align 4
ret i8*%fy
fI:
%fJ=getelementptr inbounds i8,i8*%n,i64 8
%fK=bitcast i8*%fJ to i8**
%fL=load i8*,i8**%fK,align 8
store i8*%fL,i8**%c,align 8
%fM=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fN=call fastcc i8*@_SMLLN11IDCalcUtils6newVarE_155(i8*inreg%fM)
%fO=getelementptr inbounds i8,i8*%fN,i64 16
%fP=bitcast i8*%fO to i8*(i8*,i8*)**
%fQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fP,align 8
%fR=bitcast i8*%fN to i8**
%fS=load i8*,i8**%fR,align 8
%fT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fU=call fastcc i8*%fQ(i8*inreg%fS,i8*inreg%fT)
%fV=bitcast i8*%fU to i8**
%fW=load i8*,i8**%fV,align 8
store i8*%fW,i8**%c,align 8
%fX=getelementptr inbounds i8,i8*%fU,i64 8
%fY=bitcast i8*%fX to i8**
%fZ=load i8*,i8**%fY,align 8
store i8*%fZ,i8**%d,align 8
%f0=call i8*@sml_alloc(i32 inreg 20)#0
%f1=getelementptr inbounds i8,i8*%f0,i64 -4
%f2=bitcast i8*%f1 to i32*
store i32 1342177296,i32*%f2,align 4
store i8*%f0,i8**%e,align 8
%f3=getelementptr inbounds i8,i8*%f0,i64 4
%f4=bitcast i8*%f3 to i32*
store i32 0,i32*%f4,align 1
%f5=bitcast i8*%f0 to i32*
store i32 10,i32*%f5,align 4
%f6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%f7=getelementptr inbounds i8,i8*%f0,i64 8
%f8=bitcast i8*%f7 to i8**
store i8*%f6,i8**%f8,align 8
%f9=getelementptr inbounds i8,i8*%f0,i64 16
%ga=bitcast i8*%f9 to i32*
store i32 2,i32*%ga,align 4
%gb=call i8*@sml_alloc(i32 inreg 20)#0
%gc=getelementptr inbounds i8,i8*%gb,i64 -4
%gd=bitcast i8*%gc to i32*
store i32 1342177296,i32*%gd,align 4
%ge=load i8*,i8**%c,align 8
%gf=bitcast i8*%gb to i8**
store i8*%ge,i8**%gf,align 8
%gg=load i8*,i8**%e,align 8
%gh=getelementptr inbounds i8,i8*%gb,i64 8
%gi=bitcast i8*%gh to i8**
store i8*%gg,i8**%gi,align 8
%gj=getelementptr inbounds i8,i8*%gb,i64 16
%gk=bitcast i8*%gj to i32*
store i32 3,i32*%gk,align 4
ret i8*%gb
gl:
%gm=call i8*@sml_alloc(i32 inreg 20)#0
%gn=getelementptr inbounds i8,i8*%gm,i64 -4
%go=bitcast i8*%gn to i32*
store i32 1342177296,i32*%go,align 4
%gp=load i8*,i8**%h,align 8
%gq=bitcast i8*%gm to i8**
store i8*%gp,i8**%gq,align 8
%gr=load i8*,i8**%c,align 8
%gs=getelementptr inbounds i8,i8*%gm,i64 8
%gt=bitcast i8*%gs to i8**
store i8*%gr,i8**%gt,align 8
%gu=getelementptr inbounds i8,i8*%gm,i64 16
%gv=bitcast i8*%gu to i32*
store i32 3,i32*%gv,align 4
ret i8*%gm
gw:
%gx=call i8*@sml_alloc(i32 inreg 20)#0
%gy=getelementptr inbounds i8,i8*%gx,i64 -4
%gz=bitcast i8*%gy to i32*
store i32 1342177296,i32*%gz,align 4
%gA=load i8*,i8**%h,align 8
%gB=bitcast i8*%gx to i8**
store i8*%gA,i8**%gB,align 8
%gC=load i8*,i8**%c,align 8
%gD=getelementptr inbounds i8,i8*%gx,i64 8
%gE=bitcast i8*%gD to i8**
store i8*%gC,i8**%gE,align 8
%gF=getelementptr inbounds i8,i8*%gx,i64 16
%gG=bitcast i8*%gF to i32*
store i32 3,i32*%gG,align 4
ret i8*%gx
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyPatsE_169(i8*inreg%a)#2 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]
store i8*null,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=bitcast i8*%k to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%t,i8*inreg%v)
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%b,align 8
%z=getelementptr inbounds i8,i8*%w,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
store i8*%C,i8**%e,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
%P=load i8*,i8**%b,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=load i8*,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i8**
store i8*%R,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
ret i8*%M
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyPatsE_171(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
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**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*))
%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
store i8*%u,i8**%e,align 8
%v=bitcast i8**%d to i8***
%w=load i8**,i8***%v,align 8
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%d,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*null,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%I=call fastcc i8*%s(i8*inreg%H,i8*inreg%y)
%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
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
store i8*%P,i8**%d,align 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=call fastcc i8*@_SMLFN4List3revE(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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%V(i8*inreg%X,i8*inreg%ab)
store i8*%ac,i8**%d,align 8
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
%ag=load i8*,i8**%c,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%d,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
ret i8*%ad
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7evalVarE_174(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
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**%d,align 8
store i8*%b,i8**%c,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**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call fastcc i8*@_SMLFN5VarID3Map4findE(i32 inreg 0,i32 inreg 4)
%s=getelementptr inbounds i8,i8*%r,i64 16
%t=bitcast i8*%s to i8*(i8*,i8*)**
%u=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t,align 8
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=bitcast i8**%d to i8***
%y=load i8**,i8***%x,align 8
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 12
%E=bitcast i8*%D to i32*
store i32 0,i32*%E,align 1
%F=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 8
%I=bitcast i8*%H to i32*
store i32%n,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%A,i64 16
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*%u(i8*inreg%L,i8*inreg%A)
%N=icmp eq i8*%M,null
br i1%N,label%O,label%aa
O:
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=bitcast i8*%P to i32*
%R=getelementptr inbounds i8,i8*%P,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%P,i64 4
%U=bitcast i8*%T to i32*
store i32 0,i32*%U,align 1
store i32%n,i32*%Q,align 4
%V=load i8*,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%P,i64 8
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 16
%Z=bitcast i8*%Y to i32*
store i32 2,i32*%Z,align 4
ret i8*%P
aa:
%ab=bitcast i8*%M to i32*
%ac=load i32,i32*%ab,align 4
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=bitcast i8*%ad to i32*
%af=getelementptr inbounds i8,i8*%ad,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ad,i64 4
%ai=bitcast i8*%ah to i32*
store i32 0,i32*%ai,align 1
store i32%ac,i32*%ae,align 4
%aj=load i8*,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ad,i64 16
%an=bitcast i8*%am to i32*
store i32 2,i32*%an,align 4
ret i8*%ad
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7evalVarE_175(i8*inreg%a)unnamed_addr#5 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_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7evalVarE_174 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7evalVarE_174 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i32@_SMLLN11IDCalcUtils6evalIdE_177(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call fastcc i8*@_SMLFN5VarID3Map4findE(i32 inreg 0,i32 inreg 4)
%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**%d,align 8
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%r,i64 12
%v=bitcast i8*%u to i32*
store i32 0,i32*%v,align 1
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%r to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 8
%z=bitcast i8*%y to i32*
store i32%b,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%r,i64 16
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
%C=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%D=call fastcc i8*%l(i8*inreg%C,i8*inreg%r)
%E=icmp eq i8*%D,null
br i1%E,label%F,label%G
F:
ret i32%b
G:
%H=bitcast i8*%D to i32*
%I=load i32,i32*%H,align 4
ret i32%I
}
define internal fastcc i8*@_SMLLN11IDCalcUtils6evalIdE_178(i8*inreg%a)unnamed_addr#5 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_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLN11IDCalcUtils6evalIdE_177 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils6evalIdE_275 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_224(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_225(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_226(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
store i8*null,i8**%c,align 8
%r=load i8*,i8**%n,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%r,i8*inreg%u)
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%w,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLL14icpatIcexpList_227(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%b to i8**
%i=bitcast i8*%a to i8**
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
%m=bitcast i8**%d to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%j],[%h,%g]
%q=phi i8**[%l,%j],[%i,%g]
store i8*null,i8**%c,align 8
%r=load i8*,i8**%q,align 8
%s=load i8*,i8**%p,align 8
%t=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%r,i8*inreg%s)
%u=getelementptr inbounds i8,i8*%t,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%c,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%y,i8*inreg%C)
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
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,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
ret i8*%E
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_228(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils8copyRuleE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_229(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_230(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils8copyRuleE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_231(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%g,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%j,label%l
j:
%k=bitcast i8*%a to i8**
br label%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%g,align 8
%n=bitcast i8**%f to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%l],[%k,%j]
%r=phi i8*[%m,%l],[%b,%j]
%s=load i8*,i8**%q,align 8
%t=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t)
%u=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
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*%s,i8**%c,align 8
store i8*%r,i8**%d,align 8
%w=load atomic i32,i32*@sml_check_flag unordered,align 4
%x=icmp eq i32%w,0
br i1%x,label%B,label%y
y:
call void@sml_check(i32 inreg%w)
%z=load i8*,i8**%d,align 8
%A=load i8*,i8**%c,align 8
br label%B
B:
%C=phi i8*[%A,%y],[%s,%p]
%D=phi i8*[%z,%y],[%r,%p]
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%e,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
store i8*null,i8**%c,align 8
%J=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%C,i8*inreg%I)
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%O,i8*inreg%S)
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 28)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177304,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**%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=load i8*,i8**%e,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%U,i64 24
%ag=bitcast i8*%af to i32*
store i32 7,i32*%ag,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
ret i8*%U
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_232(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
store i8*null,i8**%c,align 8
%r=load i8*,i8**%n,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%r,i8*inreg%u)
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%w,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_233(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLL4copy_236(i8*inreg%a)#2 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]
store i8*null,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=bitcast i8*%k to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*@_SMLLN11IDCalcUtils8copyDeclE_185(i8*inreg%t,i8*inreg%v)
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%b,align 8
%z=getelementptr inbounds i8,i8*%w,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
store i8*%C,i8**%e,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
%P=load i8*,i8**%b,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=load i8*,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i8**
store i8*%R,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
ret i8*%M
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyDeclE_238(i8*inreg%a)#5 gc"smlsharp"{
%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
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
call void@llvm.gcroot(i8**%h,i8*null)#0
%i=bitcast i8*%a to i8***
%j=load i8**,i8***%i,align 8
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%b,align 8
%l=getelementptr inbounds i8*,i8**%j,i64 1
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=getelementptr inbounds i8*,i8**%j,i64 2
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%a,i64 8
%q=bitcast i8*%p to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%e,align 8
%t=getelementptr inbounds i8*,i8**%r,i64 1
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%f,align 8
%v=getelementptr inbounds i8*,i8**%r,i64 2
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%h,align 8
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%x,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
store i8*%H,i8**%b,align 8
%K=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%H,i64 16
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 20)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177296,i32*%T,align 4
store i8*%R,i8**%c,align 8
%U=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%R,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
%ae=load i8*,i8**%h,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%b,align 8
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=load i8*,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ab,i64 16
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ab,i64 24
%an=bitcast i8*%am to i32*
store i32 7,i32*%an,align 4
ret i8*%ab
}
define internal fastcc i8*@_SMLL9rulesList_241(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils8copyRuleE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLL8funbinds_242(i8*inreg%a)#5 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%b,align 8
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to i8***
%i=load i8**,i8***%h,align 8
%j=load i8*,i8**%i,align 8
store i8*%j,i8**%c,align 8
%k=getelementptr inbounds i8*,i8**%i,i64 1
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=call i8*@sml_alloc(i32 inreg 28)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177304,i32*%o,align 4
%p=load i8*,i8**%b,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=load i8*,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to i8**
store i8*%r,i8**%t,align 8
%u=load i8*,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%m,i64 16
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%m,i64 24
%y=bitcast i8*%x to i32*
store i32 7,i32*%y,align 4
ret i8*%m
}
define internal fastcc i8*@_SMLL5rules_244(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11IDCalcUtils8copyRuleE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLL4vars_245(i8*inreg%a)#5 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL8recbinds_247(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
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**%c,align 8
store i8*%b,i8**%d,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%d,align 8
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=getelementptr inbounds i8,i8*%p,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
store i8*null,i8**%c,align 8
%y=load i8*,i8**%o,align 8
%z=bitcast i8*%u to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%y,i8*inreg%A)
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%e,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=load i8*,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%C,i64 24
%O=bitcast i8*%N to i32*
store i32 7,i32*%O,align 4
ret i8*%C
}
define internal fastcc i8*@_SMLL4vars_248(i8*inreg%a)#5 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL8recbinds_250(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
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**%c,align 8
store i8*%b,i8**%d,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%d,align 8
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=getelementptr inbounds i8,i8*%p,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
store i8*null,i8**%c,align 8
%y=load i8*,i8**%o,align 8
%z=bitcast i8*%u to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%y,i8*inreg%A)
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%e,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=load i8*,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%C,i64 24
%O=bitcast i8*%N to i32*
store i32 7,i32*%O,align 4
ret i8*%C
}
define internal fastcc i8*@_SMLLN11IDCalcUtils9copyBindsE_252(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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
call void@llvm.gcroot(i8**%g,i8*null)#0
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
store i8*%a,i8**%j,align 8
store i8*%b,i8**%g,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%m,label%o
m:
%n=bitcast i8*%a to i8**
br label%s
o:
call void@sml_check(i32 inreg%k)
%p=load i8*,i8**%g,align 8
%q=bitcast i8**%j to i8***
%r=load i8**,i8***%q,align 8
br label%s
s:
%t=phi i8**[%r,%o],[%n,%m]
%u=phi i8*[%p,%o],[%b,%m]
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8***
%x=load i8**,i8***%w,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%h,align 8
%z=getelementptr inbounds i8*,i8**%x,i64 1
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%i,align 8
%B=load i8*,i8**%t,align 8
store i8*%B,i8**%j,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=bitcast i8**%g to i8***
%N=load i8**,i8***%M,align 8
store i8*null,i8**%g,align 8
%O=load i8*,i8**%N,align 8
%P=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%P)
%Q=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
%R=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%R)
%S=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%S)
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*%C,i8**%c,align 8
store i8*%O,i8**%d,align 8
%T=load atomic i32,i32*@sml_check_flag unordered,align 4
%U=icmp eq i32%T,0
br i1%U,label%Z,label%V
V:
call void@sml_check(i32 inreg%T)
%W=load i8*,i8**%d,align 8
%X=load i8*,i8**%c,align 8
%Y=bitcast i8*%X to i8**
br label%Z
Z:
%aa=phi i8**[%G,%s],[%Y,%V]
%ab=phi i8*[%C,%s],[%X,%V]
%ac=phi i8*[%O,%s],[%W,%V]
store i8*null,i8**%d,align 8
store i8*%ac,i8**%e,align 8
store i8*null,i8**%c,align 8
store i8*%ab,i8**%f,align 8
%ad=load i8*,i8**%aa,align 8
%ae=bitcast i8*%ac to i8**
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%ad,i8*inreg%af)
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%c,align 8
%aj=getelementptr inbounds i8,i8*%ag,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%d,align 8
%am=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%an=getelementptr inbounds i8,i8*%am,i64 8
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
%aq=load i8*,i8**%e,align 8
store i8*null,i8**%e,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*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%ap,i8*inreg%at)
store i8*%au,i8**%e,align 8
%av=call i8*@sml_alloc(i32 inreg 20)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177296,i32*%ax,align 4
store i8*%av,i8**%f,align 8
%ay=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aB=getelementptr inbounds i8,i8*%av,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%av,i64 16
%aE=bitcast i8*%aD to i32*
store i32 3,i32*%aE,align 4
%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
%aJ=bitcast i8*%aF to i8**
store i8*%aI,i8**%aJ,align 8
%aK=load i8*,i8**%f,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%P)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%R)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%S)
store i8*%aI,i8**%g,align 8
store i8*%aK,i8**%h,align 8
%aP=call i8*@sml_alloc(i32 inreg 20)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%j,align 8
%aS=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aV=getelementptr inbounds i8,i8*%aP,i64 8
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aP,i64 16
%aY=bitcast i8*%aX to i32*
store i32 3,i32*%aY,align 4
%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**%g,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=load i8*,i8**%j,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
ret i8*%aZ
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
q:
%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
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
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
store i8*%a,i8**%j,align 8
store i8*%b,i8**%e,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%e,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=icmp eq i8*%p,null
br i1%r,label%N,label%s
s:
%t=bitcast i8*%p to i32*
%u=load i32,i32*%t,align 4
switch i32%u,label%v[
i32 12,label%N
i32 5,label%N
i32 36,label%N
i32 40,label%xl
i32 17,label%N
i32 18,label%wl
i32 2,label%N
i32 4,label%N
i32 15,label%N
i32 13,label%N
i32 16,label%N
i32 14,label%N
i32 27,label%N
i32 39,label%vJ
i32 24,label%u1
i32 0,label%tU
i32 1,label%sL
i32 26,label%rU
i32 38,label%ri
i32 29,label%qh
i32 28,label%pL
i32 23,label%oC
i32 20,label%nB
i32 21,label%mg
i32 22,label%kU
i32 3,label%i9
i32 7,label%h0
i32 31,label%gR
i32 32,label%gc
i32 30,label%N
i32 34,label%fA
i32 35,label%ez
i32 19,label%dc
i32 37,label%cA
i32 25,label%bO
i32 6,label%bc
i32 8,label%aA
i32 9,label%N
i32 10,label%N
i32 11,label%O
i32 33,label%N
]
v:
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%w=load i8*,i8**@_SMLZ5Match,align 8
store i8*%w,i8**%e,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%f,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@n,i64 0,i32 2,i64 0),i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 60)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177336,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 56
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%f,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
call void@sml_raise(i8*inreg%G)#1
unreachable
N:
ret i8*%p
O:
%P=getelementptr inbounds i8,i8*%p,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=getelementptr inbounds i8,i8*%R,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%f,align 8
%V=getelementptr inbounds i8,i8*%R,i64 16
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%g,align 8
%Y=bitcast i8*%R to i8**
%Z=load i8*,i8**%Y,align 8
%aa=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ab=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%aa,i8*inreg%Z)
store i8*%ab,i8**%e,align 8
%ac=call i8*@sml_alloc(i32 inreg 28)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177304,i32*%ae,align 4
store i8*%ac,i8**%h,align 8
%af=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ai=getelementptr inbounds i8,i8*%ac,i64 8
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 16
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ac,i64 24
%ao=bitcast i8*%an to i32*
store i32 7,i32*%ao,align 4
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=bitcast i8*%ap to i32*
%ar=getelementptr inbounds i8,i8*%ap,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
%at=getelementptr inbounds i8,i8*%ap,i64 4
%au=bitcast i8*%at to i32*
store i32 0,i32*%au,align 1
store i32 11,i32*%aq,align 4
%av=load i8*,i8**%h,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ap,i64 16
%az=bitcast i8*%ay to i32*
store i32 2,i32*%az,align 4
ret i8*%ap
aA:
%aB=getelementptr inbounds i8,i8*%p,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=getelementptr inbounds i8,i8*%aD,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%f,align 8
%aH=getelementptr inbounds i8,i8*%aD,i64 16
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%g,align 8
%aK=bitcast i8*%aD to i8**
%aL=load i8*,i8**%aK,align 8
%aM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aN=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%aM,i8*inreg%aL)
store i8*%aN,i8**%e,align 8
%aO=call i8*@sml_alloc(i32 inreg 28)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177304,i32*%aQ,align 4
store i8*%aO,i8**%h,align 8
%aR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aX=getelementptr inbounds i8,i8*%aO,i64 16
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aO,i64 24
%a0=bitcast i8*%aZ to i32*
store i32 7,i32*%a0,align 4
%a1=call i8*@sml_alloc(i32 inreg 20)#0
%a2=bitcast i8*%a1 to i32*
%a3=getelementptr inbounds i8,i8*%a1,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%a1,i64 4
%a6=bitcast i8*%a5 to i32*
store i32 0,i32*%a6,align 1
store i32 8,i32*%a2,align 4
%a7=load i8*,i8**%h,align 8
%a8=getelementptr inbounds i8,i8*%a1,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a1,i64 16
%bb=bitcast i8*%ba to i32*
store i32 2,i32*%bb,align 4
ret i8*%a1
bc:
%bd=getelementptr inbounds i8,i8*%p,i64 8
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
%bg=getelementptr inbounds i8,i8*%bf,i64 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%f,align 8
%bj=getelementptr inbounds i8,i8*%bf,i64 16
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%g,align 8
%bm=bitcast i8*%bf to i8**
%bn=load i8*,i8**%bm,align 8
%bo=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bp=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%bo,i8*inreg%bn)
store i8*%bp,i8**%e,align 8
%bq=call i8*@sml_alloc(i32 inreg 28)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177304,i32*%bs,align 4
store i8*%bq,i8**%h,align 8
%bt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bz=getelementptr inbounds i8,i8*%bq,i64 16
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bq,i64 24
%bC=bitcast i8*%bB to i32*
store i32 7,i32*%bC,align 4
%bD=call i8*@sml_alloc(i32 inreg 20)#0
%bE=bitcast i8*%bD to i32*
%bF=getelementptr inbounds i8,i8*%bD,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 1342177296,i32*%bG,align 4
%bH=getelementptr inbounds i8,i8*%bD,i64 4
%bI=bitcast i8*%bH to i32*
store i32 0,i32*%bI,align 1
store i32 6,i32*%bE,align 4
%bJ=load i8*,i8**%h,align 8
%bK=getelementptr inbounds i8,i8*%bD,i64 8
%bL=bitcast i8*%bK to i8**
store i8*%bJ,i8**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bD,i64 16
%bN=bitcast i8*%bM to i32*
store i32 2,i32*%bN,align 4
ret i8*%bD
bO:
%bP=getelementptr inbounds i8,i8*%p,i64 8
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%f,align 8
%bS=bitcast i8*%bR to i32*
%bT=load i32,i32*%bS,align 4
%bU=getelementptr inbounds i8,i8*%bR,i64 24
%bV=bitcast i8*%bU to i8**
%bW=load i8*,i8**%bV,align 8
store i8*%bW,i8**%g,align 8
%bX=getelementptr inbounds i8,i8*%bR,i64 8
%bY=bitcast i8*%bX to i8**
%bZ=load i8*,i8**%bY,align 8
%b0=load i8*,i8**%j,align 8
%b1=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%b0,i8*inreg%bZ)
store i8*%b1,i8**%e,align 8
%b2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b3=getelementptr inbounds i8,i8*%b2,i64 16
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%b7=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%b6,i8*inreg%b5)
store i8*%b7,i8**%f,align 8
%b8=call i8*@sml_alloc(i32 inreg 36)#0
%b9=getelementptr inbounds i8,i8*%b8,i64 -4
%ca=bitcast i8*%b9 to i32*
store i32 1342177312,i32*%ca,align 4
store i8*%b8,i8**%h,align 8
%cb=getelementptr inbounds i8,i8*%b8,i64 4
%cc=bitcast i8*%cb to i32*
store i32 0,i32*%cc,align 1
%cd=bitcast i8*%b8 to i32*
store i32%bT,i32*%cd,align 4
%ce=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cf=getelementptr inbounds i8,i8*%b8,i64 8
%cg=bitcast i8*%cf to i8**
store i8*%ce,i8**%cg,align 8
%ch=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ci=getelementptr inbounds i8,i8*%b8,i64 16
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cl=getelementptr inbounds i8,i8*%b8,i64 24
%cm=bitcast i8*%cl to i8**
store i8*%ck,i8**%cm,align 8
%cn=getelementptr inbounds i8,i8*%b8,i64 32
%co=bitcast i8*%cn to i32*
store i32 14,i32*%co,align 4
%cp=call i8*@sml_alloc(i32 inreg 20)#0
%cq=bitcast i8*%cp to i32*
%cr=getelementptr inbounds i8,i8*%cp,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
%ct=getelementptr inbounds i8,i8*%cp,i64 4
%cu=bitcast i8*%ct to i32*
store i32 0,i32*%cu,align 1
store i32 25,i32*%cq,align 4
%cv=load i8*,i8**%h,align 8
%cw=getelementptr inbounds i8,i8*%cp,i64 8
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cp,i64 16
%cz=bitcast i8*%cy to i32*
store i32 2,i32*%cz,align 4
ret i8*%cp
cA:
%cB=getelementptr inbounds i8,i8*%p,i64 8
%cC=bitcast i8*%cB to i8**
%cD=load i8*,i8**%cC,align 8
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
store i8*%cF,i8**%f,align 8
%cG=getelementptr inbounds i8,i8*%cD,i64 8
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%g,align 8
%cJ=getelementptr inbounds i8,i8*%cD,i64 16
%cK=bitcast i8*%cJ to i8**
%cL=load i8*,i8**%cK,align 8
%cM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cN=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%cM,i8*inreg%cL)
store i8*%cN,i8**%e,align 8
%cO=call i8*@sml_alloc(i32 inreg 28)#0
%cP=getelementptr inbounds i8,i8*%cO,i64 -4
%cQ=bitcast i8*%cP to i32*
store i32 1342177304,i32*%cQ,align 4
store i8*%cO,i8**%h,align 8
%cR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cS=bitcast i8*%cO to i8**
store i8*%cR,i8**%cS,align 8
%cT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cU=getelementptr inbounds i8,i8*%cO,i64 8
%cV=bitcast i8*%cU to i8**
store i8*%cT,i8**%cV,align 8
%cW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cX=getelementptr inbounds i8,i8*%cO,i64 16
%cY=bitcast i8*%cX to i8**
store i8*%cW,i8**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cO,i64 24
%c0=bitcast i8*%cZ to i32*
store i32 7,i32*%c0,align 4
%c1=call i8*@sml_alloc(i32 inreg 20)#0
%c2=bitcast i8*%c1 to i32*
%c3=getelementptr inbounds i8,i8*%c1,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177296,i32*%c4,align 4
%c5=getelementptr inbounds i8,i8*%c1,i64 4
%c6=bitcast i8*%c5 to i32*
store i32 0,i32*%c6,align 1
store i32 37,i32*%c2,align 4
%c7=load i8*,i8**%h,align 8
%c8=getelementptr inbounds i8,i8*%c1,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*%c7,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c1,i64 16
%db=bitcast i8*%da to i32*
store i32 2,i32*%db,align 4
ret i8*%c1
dc:
%dd=getelementptr inbounds i8,i8*%p,i64 8
%de=bitcast i8*%dd to i8**
%df=load i8*,i8**%de,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**%f,align 8
%dj=getelementptr inbounds i8,i8*%df,i64 16
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%g,align 8
%dm=bitcast i8*%df to i8**
%dn=load i8*,i8**%dm,align 8
%do=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dp=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dp)
%dq=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dq)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%do,i8**%c,align 8
store i8*%dn,i8**%d,align 8
%dr=load atomic i32,i32*@sml_check_flag unordered,align 4
%ds=icmp eq i32%dr,0
br i1%ds,label%dv,label%dt
dt:
call void@sml_check(i32 inreg%dr)
%du=load i8*,i8**%d,align 8
br label%dv
dv:
%dw=phi i8*[%du,%dt],[%dn,%dc]
store i8*null,i8**%d,align 8
%dx=bitcast i8*%dw to i32*
%dy=load i32,i32*%dx,align 4
switch i32%dy,label%dz[
i32 1,label%dS
i32 0,label%dR
]
dz:
call void@sml_matchcomp_bug()
%dA=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dA,i8**%c,align 8
%dB=call i8*@sml_alloc(i32 inreg 20)#0
%dC=getelementptr inbounds i8,i8*%dB,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177296,i32*%dD,align 4
store i8*%dB,i8**%d,align 8
%dE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dF=bitcast i8*%dB to i8**
store i8*%dE,i8**%dF,align 8
%dG=getelementptr inbounds i8,i8*%dB,i64 8
%dH=bitcast i8*%dG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@o,i64 0,i32 2,i64 0),i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dB,i64 16
%dJ=bitcast i8*%dI to i32*
store i32 3,i32*%dJ,align 4
%dK=call i8*@sml_alloc(i32 inreg 60)#0
%dL=getelementptr inbounds i8,i8*%dK,i64 -4
%dM=bitcast i8*%dL to i32*
store i32 1342177336,i32*%dM,align 4
%dN=getelementptr inbounds i8,i8*%dK,i64 56
%dO=bitcast i8*%dN to i32*
store i32 1,i32*%dO,align 4
%dP=load i8*,i8**%d,align 8
%dQ=bitcast i8*%dK to i8**
store i8*%dP,i8**%dQ,align 8
call void@sml_raise(i8*inreg%dK)#1
unreachable
dR:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dp)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dq)
br label%d9
dS:
%dT=getelementptr inbounds i8,i8*%dw,i64 8
%dU=bitcast i8*%dT to i8**
%dV=load i8*,i8**%dU,align 8
%dW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dX=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%dW,i8*inreg%dV)
store i8*%dX,i8**%c,align 8
%dY=call i8*@sml_alloc(i32 inreg 20)#0
%dZ=bitcast i8*%dY to i32*
%d0=getelementptr inbounds i8,i8*%dY,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177296,i32*%d1,align 4
%d2=getelementptr inbounds i8,i8*%dY,i64 4
%d3=bitcast i8*%d2 to i32*
store i32 0,i32*%d3,align 1
store i32 1,i32*%dZ,align 4
%d4=load i8*,i8**%c,align 8
%d5=getelementptr inbounds i8,i8*%dY,i64 8
%d6=bitcast i8*%d5 to i8**
store i8*%d4,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%dY,i64 16
%d8=bitcast i8*%d7 to i32*
store i32 2,i32*%d8,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dp)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dq)
br label%d9
d9:
%ea=phi i8*[%dw,%dR],[%dY,%dS]
store i8*%ea,i8**%e,align 8
%eb=call i8*@sml_alloc(i32 inreg 28)#0
%ec=getelementptr inbounds i8,i8*%eb,i64 -4
%ed=bitcast i8*%ec to i32*
store i32 1342177304,i32*%ed,align 4
store i8*%eb,i8**%h,align 8
%ee=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ef=bitcast i8*%eb to i8**
store i8*%ee,i8**%ef,align 8
%eg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eh=getelementptr inbounds i8,i8*%eb,i64 8
%ei=bitcast i8*%eh to i8**
store i8*%eg,i8**%ei,align 8
%ej=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ek=getelementptr inbounds i8,i8*%eb,i64 16
%el=bitcast i8*%ek to i8**
store i8*%ej,i8**%el,align 8
%em=getelementptr inbounds i8,i8*%eb,i64 24
%en=bitcast i8*%em to i32*
store i32 7,i32*%en,align 4
%eo=call i8*@sml_alloc(i32 inreg 20)#0
%ep=bitcast i8*%eo to i32*
%eq=getelementptr inbounds i8,i8*%eo,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177296,i32*%er,align 4
%es=getelementptr inbounds i8,i8*%eo,i64 4
%et=bitcast i8*%es to i32*
store i32 0,i32*%et,align 1
store i32 19,i32*%ep,align 4
%eu=load i8*,i8**%h,align 8
%ev=getelementptr inbounds i8,i8*%eo,i64 8
%ew=bitcast i8*%ev to i8**
store i8*%eu,i8**%ew,align 8
%ex=getelementptr inbounds i8,i8*%eo,i64 16
%ey=bitcast i8*%ex to i32*
store i32 2,i32*%ey,align 4
ret i8*%eo
ez:
%eA=getelementptr inbounds i8,i8*%p,i64 8
%eB=bitcast i8*%eA to i8**
%eC=load i8*,i8**%eB,align 8
store i8*%eC,i8**%e,align 8
%eD=getelementptr inbounds i8,i8*%eC,i64 8
%eE=bitcast i8*%eD to i8**
%eF=load i8*,i8**%eE,align 8
store i8*%eF,i8**%f,align 8
%eG=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%eH=getelementptr inbounds i8,i8*%eG,i64 16
%eI=bitcast i8*%eH to i8*(i8*,i8*)**
%eJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eI,align 8
%eK=bitcast i8*%eG to i8**
%eL=load i8*,i8**%eK,align 8
store i8*%eL,i8**%g,align 8
%eM=call i8*@sml_alloc(i32 inreg 12)#0
%eN=getelementptr inbounds i8,i8*%eM,i64 -4
%eO=bitcast i8*%eN to i32*
store i32 1342177288,i32*%eO,align 4
store i8*%eM,i8**%h,align 8
%eP=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eQ=bitcast i8*%eM to i8**
store i8*%eP,i8**%eQ,align 8
%eR=getelementptr inbounds i8,i8*%eM,i64 8
%eS=bitcast i8*%eR to i32*
store i32 1,i32*%eS,align 4
%eT=call i8*@sml_alloc(i32 inreg 28)#0
%eU=getelementptr inbounds i8,i8*%eT,i64 -4
%eV=bitcast i8*%eU to i32*
store i32 1342177304,i32*%eV,align 4
%eW=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eX=bitcast i8*%eT to i8**
store i8*%eW,i8**%eX,align 8
%eY=getelementptr inbounds i8,i8*%eT,i64 8
%eZ=bitcast i8*%eY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_233 to void(...)*),void(...)**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eT,i64 16
%e1=bitcast i8*%e0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_233 to void(...)*),void(...)**%e1,align 8
%e2=getelementptr inbounds i8,i8*%eT,i64 24
%e3=bitcast i8*%e2 to i32*
store i32 -2147483647,i32*%e3,align 4
%e4=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%e5=call fastcc i8*%eJ(i8*inreg%e4,i8*inreg%eT)
%e6=getelementptr inbounds i8,i8*%e5,i64 16
%e7=bitcast i8*%e6 to i8*(i8*,i8*)**
%e8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e7,align 8
%e9=bitcast i8*%e5 to i8**
%fa=load i8*,i8**%e9,align 8
%fb=bitcast i8**%e to i8***
%fc=load i8**,i8***%fb,align 8
store i8*null,i8**%e,align 8
%fd=load i8*,i8**%fc,align 8
%fe=call fastcc i8*%e8(i8*inreg%fa,i8*inreg%fd)
store i8*%fe,i8**%e,align 8
%ff=call i8*@sml_alloc(i32 inreg 20)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177296,i32*%fh,align 4
store i8*%ff,i8**%g,align 8
%fi=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 8
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%ff,i64 16
%fo=bitcast i8*%fn to i32*
store i32 3,i32*%fo,align 4
%fp=call i8*@sml_alloc(i32 inreg 20)#0
%fq=bitcast i8*%fp to i32*
%fr=getelementptr inbounds i8,i8*%fp,i64 -4
%fs=bitcast i8*%fr to i32*
store i32 1342177296,i32*%fs,align 4
%ft=getelementptr inbounds i8,i8*%fp,i64 4
%fu=bitcast i8*%ft to i32*
store i32 0,i32*%fu,align 1
store i32 35,i32*%fq,align 4
%fv=load i8*,i8**%g,align 8
%fw=getelementptr inbounds i8,i8*%fp,i64 8
%fx=bitcast i8*%fw to i8**
store i8*%fv,i8**%fx,align 8
%fy=getelementptr inbounds i8,i8*%fp,i64 16
%fz=bitcast i8*%fy to i32*
store i32 2,i32*%fz,align 4
ret i8*%fp
fA:
%fB=getelementptr inbounds i8,i8*%p,i64 8
%fC=bitcast i8*%fB to i8**
%fD=load i8*,i8**%fC,align 8
%fE=bitcast i8*%fD to i8**
%fF=load i8*,i8**%fE,align 8
store i8*%fF,i8**%f,align 8
%fG=getelementptr inbounds i8,i8*%fD,i64 16
%fH=bitcast i8*%fG to i8**
%fI=load i8*,i8**%fH,align 8
store i8*%fI,i8**%g,align 8
%fJ=getelementptr inbounds i8,i8*%fD,i64 8
%fK=bitcast i8*%fJ to i8**
%fL=load i8*,i8**%fK,align 8
%fM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fN=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%fM,i8*inreg%fL)
store i8*%fN,i8**%e,align 8
%fO=call i8*@sml_alloc(i32 inreg 28)#0
%fP=getelementptr inbounds i8,i8*%fO,i64 -4
%fQ=bitcast i8*%fP to i32*
store i32 1342177304,i32*%fQ,align 4
store i8*%fO,i8**%h,align 8
%fR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fS=bitcast i8*%fO to i8**
store i8*%fR,i8**%fS,align 8
%fT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fU=getelementptr inbounds i8,i8*%fO,i64 8
%fV=bitcast i8*%fU to i8**
store i8*%fT,i8**%fV,align 8
%fW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fX=getelementptr inbounds i8,i8*%fO,i64 16
%fY=bitcast i8*%fX to i8**
store i8*%fW,i8**%fY,align 8
%fZ=getelementptr inbounds i8,i8*%fO,i64 24
%f0=bitcast i8*%fZ to i32*
store i32 7,i32*%f0,align 4
%f1=call i8*@sml_alloc(i32 inreg 20)#0
%f2=bitcast i8*%f1 to i32*
%f3=getelementptr inbounds i8,i8*%f1,i64 -4
%f4=bitcast i8*%f3 to i32*
store i32 1342177296,i32*%f4,align 4
%f5=getelementptr inbounds i8,i8*%f1,i64 4
%f6=bitcast i8*%f5 to i32*
store i32 0,i32*%f6,align 1
store i32 34,i32*%f2,align 4
%f7=load i8*,i8**%h,align 8
%f8=getelementptr inbounds i8,i8*%f1,i64 8
%f9=bitcast i8*%f8 to i8**
store i8*%f7,i8**%f9,align 8
%ga=getelementptr inbounds i8,i8*%f1,i64 16
%gb=bitcast i8*%ga to i32*
store i32 2,i32*%gb,align 4
ret i8*%f1
gc:
%gd=getelementptr inbounds i8,i8*%p,i64 8
%ge=bitcast i8*%gd to i8**
%gf=load i8*,i8**%ge,align 8
store i8*%gf,i8**%f,align 8
%gg=getelementptr inbounds i8,i8*%gf,i64 16
%gh=bitcast i8*%gg to i8**
%gi=load i8*,i8**%gh,align 8
store i8*%gi,i8**%g,align 8
%gj=bitcast i8*%gf to i8**
%gk=load i8*,i8**%gj,align 8
%gl=load i8*,i8**%j,align 8
%gm=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%gl,i8*inreg%gk)
store i8*%gm,i8**%e,align 8
%gn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%go=getelementptr inbounds i8,i8*%gn,i64 8
%gp=bitcast i8*%go to i8**
%gq=load i8*,i8**%gp,align 8
%gr=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%gs=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%gr,i8*inreg%gq)
store i8*%gs,i8**%f,align 8
%gt=call i8*@sml_alloc(i32 inreg 28)#0
%gu=getelementptr inbounds i8,i8*%gt,i64 -4
%gv=bitcast i8*%gu to i32*
store i32 1342177304,i32*%gv,align 4
store i8*%gt,i8**%h,align 8
%gw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gx=bitcast i8*%gt to i8**
store i8*%gw,i8**%gx,align 8
%gy=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gz=getelementptr inbounds i8,i8*%gt,i64 8
%gA=bitcast i8*%gz to i8**
store i8*%gy,i8**%gA,align 8
%gB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gC=getelementptr inbounds i8,i8*%gt,i64 16
%gD=bitcast i8*%gC to i8**
store i8*%gB,i8**%gD,align 8
%gE=getelementptr inbounds i8,i8*%gt,i64 24
%gF=bitcast i8*%gE to i32*
store i32 7,i32*%gF,align 4
%gG=call i8*@sml_alloc(i32 inreg 20)#0
%gH=bitcast i8*%gG to i32*
%gI=getelementptr inbounds i8,i8*%gG,i64 -4
%gJ=bitcast i8*%gI to i32*
store i32 1342177296,i32*%gJ,align 4
%gK=getelementptr inbounds i8,i8*%gG,i64 4
%gL=bitcast i8*%gK to i32*
store i32 0,i32*%gL,align 1
store i32 32,i32*%gH,align 4
%gM=load i8*,i8**%h,align 8
%gN=getelementptr inbounds i8,i8*%gG,i64 8
%gO=bitcast i8*%gN to i8**
store i8*%gM,i8**%gO,align 8
%gP=getelementptr inbounds i8,i8*%gG,i64 16
%gQ=bitcast i8*%gP to i32*
store i32 2,i32*%gQ,align 4
ret i8*%gG
gR:
%gS=getelementptr inbounds i8,i8*%p,i64 8
%gT=bitcast i8*%gS to i8**
%gU=load i8*,i8**%gT,align 8
store i8*%gU,i8**%f,align 8
%gV=getelementptr inbounds i8,i8*%gU,i64 16
%gW=bitcast i8*%gV to i8**
%gX=load i8*,i8**%gW,align 8
store i8*%gX,i8**%g,align 8
%gY=bitcast i8*%gU to i8**
%gZ=load i8*,i8**%gY,align 8
%g0=load i8*,i8**%j,align 8
%g1=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%g0,i8*inreg%gZ)
store i8*%g1,i8**%e,align 8
%g2=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%g3=getelementptr inbounds i8,i8*%g2,i64 16
%g4=bitcast i8*%g3 to i8*(i8*,i8*)**
%g5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g4,align 8
%g6=bitcast i8*%g2 to i8**
%g7=load i8*,i8**%g6,align 8
store i8*%g7,i8**%h,align 8
%g8=call i8*@sml_alloc(i32 inreg 12)#0
%g9=getelementptr inbounds i8,i8*%g8,i64 -4
%ha=bitcast i8*%g9 to i32*
store i32 1342177288,i32*%ha,align 4
store i8*%g8,i8**%i,align 8
%hb=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hc=bitcast i8*%g8 to i8**
store i8*%hb,i8**%hc,align 8
%hd=getelementptr inbounds i8,i8*%g8,i64 8
%he=bitcast i8*%hd to i32*
store i32 1,i32*%he,align 4
%hf=call i8*@sml_alloc(i32 inreg 28)#0
%hg=getelementptr inbounds i8,i8*%hf,i64 -4
%hh=bitcast i8*%hg to i32*
store i32 1342177304,i32*%hh,align 4
%hi=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%hj=bitcast i8*%hf to i8**
store i8*%hi,i8**%hj,align 8
%hk=getelementptr inbounds i8,i8*%hf,i64 8
%hl=bitcast i8*%hk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_232 to void(...)*),void(...)**%hl,align 8
%hm=getelementptr inbounds i8,i8*%hf,i64 16
%hn=bitcast i8*%hm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_232 to void(...)*),void(...)**%hn,align 8
%ho=getelementptr inbounds i8,i8*%hf,i64 24
%hp=bitcast i8*%ho to i32*
store i32 -2147483647,i32*%hp,align 4
%hq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hr=call fastcc i8*%g5(i8*inreg%hq,i8*inreg%hf)
%hs=getelementptr inbounds i8,i8*%hr,i64 16
%ht=bitcast i8*%hs to i8*(i8*,i8*)**
%hu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ht,align 8
%hv=bitcast i8*%hr to i8**
%hw=load i8*,i8**%hv,align 8
%hx=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hy=getelementptr inbounds i8,i8*%hx,i64 8
%hz=bitcast i8*%hy to i8**
%hA=load i8*,i8**%hz,align 8
%hB=call fastcc i8*%hu(i8*inreg%hw,i8*inreg%hA)
store i8*%hB,i8**%f,align 8
%hC=call i8*@sml_alloc(i32 inreg 28)#0
%hD=getelementptr inbounds i8,i8*%hC,i64 -4
%hE=bitcast i8*%hD to i32*
store i32 1342177304,i32*%hE,align 4
store i8*%hC,i8**%h,align 8
%hF=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hG=bitcast i8*%hC to i8**
store i8*%hF,i8**%hG,align 8
%hH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hI=getelementptr inbounds i8,i8*%hC,i64 8
%hJ=bitcast i8*%hI to i8**
store i8*%hH,i8**%hJ,align 8
%hK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hL=getelementptr inbounds i8,i8*%hC,i64 16
%hM=bitcast i8*%hL to i8**
store i8*%hK,i8**%hM,align 8
%hN=getelementptr inbounds i8,i8*%hC,i64 24
%hO=bitcast i8*%hN to i32*
store i32 7,i32*%hO,align 4
%hP=call i8*@sml_alloc(i32 inreg 20)#0
%hQ=bitcast i8*%hP to i32*
%hR=getelementptr inbounds i8,i8*%hP,i64 -4
%hS=bitcast i8*%hR to i32*
store i32 1342177296,i32*%hS,align 4
%hT=getelementptr inbounds i8,i8*%hP,i64 4
%hU=bitcast i8*%hT to i32*
store i32 0,i32*%hU,align 1
store i32 31,i32*%hQ,align 4
%hV=load i8*,i8**%h,align 8
%hW=getelementptr inbounds i8,i8*%hP,i64 8
%hX=bitcast i8*%hW to i8**
store i8*%hV,i8**%hX,align 8
%hY=getelementptr inbounds i8,i8*%hP,i64 16
%hZ=bitcast i8*%hY to i32*
store i32 2,i32*%hZ,align 4
ret i8*%hP
h0:
%h1=getelementptr inbounds i8,i8*%p,i64 8
%h2=bitcast i8*%h1 to i8**
%h3=load i8*,i8**%h2,align 8
store i8*%h3,i8**%f,align 8
%h4=getelementptr inbounds i8,i8*%h3,i64 16
%h5=bitcast i8*%h4 to i8**
%h6=load i8*,i8**%h5,align 8
store i8*%h6,i8**%g,align 8
%h7=bitcast i8*%h3 to i8**
%h8=load i8*,i8**%h7,align 8
%h9=load i8*,i8**%j,align 8
%ia=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%h9,i8*inreg%h8)
store i8*%ia,i8**%e,align 8
%ib=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ic=getelementptr inbounds i8,i8*%ib,i64 16
%id=bitcast i8*%ic to i8*(i8*,i8*)**
%ie=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%id,align 8
%if=bitcast i8*%ib to i8**
%ig=load i8*,i8**%if,align 8
store i8*%ig,i8**%h,align 8
%ih=call i8*@sml_alloc(i32 inreg 12)#0
%ii=getelementptr inbounds i8,i8*%ih,i64 -4
%ij=bitcast i8*%ii to i32*
store i32 1342177288,i32*%ij,align 4
store i8*%ih,i8**%i,align 8
%ik=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%il=bitcast i8*%ih to i8**
store i8*%ik,i8**%il,align 8
%im=getelementptr inbounds i8,i8*%ih,i64 8
%in=bitcast i8*%im to i32*
store i32 1,i32*%in,align 4
%io=call i8*@sml_alloc(i32 inreg 28)#0
%ip=getelementptr inbounds i8,i8*%io,i64 -4
%iq=bitcast i8*%ip to i32*
store i32 1342177304,i32*%iq,align 4
%ir=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%is=bitcast i8*%io to i8**
store i8*%ir,i8**%is,align 8
%it=getelementptr inbounds i8,i8*%io,i64 8
%iu=bitcast i8*%it to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_231 to void(...)*),void(...)**%iu,align 8
%iv=getelementptr inbounds i8,i8*%io,i64 16
%iw=bitcast i8*%iv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_231 to void(...)*),void(...)**%iw,align 8
%ix=getelementptr inbounds i8,i8*%io,i64 24
%iy=bitcast i8*%ix to i32*
store i32 -2147483647,i32*%iy,align 4
%iz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%iA=call fastcc i8*%ie(i8*inreg%iz,i8*inreg%io)
%iB=getelementptr inbounds i8,i8*%iA,i64 16
%iC=bitcast i8*%iB to i8*(i8*,i8*)**
%iD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iC,align 8
%iE=bitcast i8*%iA to i8**
%iF=load i8*,i8**%iE,align 8
%iG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iH=getelementptr inbounds i8,i8*%iG,i64 8
%iI=bitcast i8*%iH to i8**
%iJ=load i8*,i8**%iI,align 8
%iK=call fastcc i8*%iD(i8*inreg%iF,i8*inreg%iJ)
store i8*%iK,i8**%f,align 8
%iL=call i8*@sml_alloc(i32 inreg 28)#0
%iM=getelementptr inbounds i8,i8*%iL,i64 -4
%iN=bitcast i8*%iM to i32*
store i32 1342177304,i32*%iN,align 4
store i8*%iL,i8**%h,align 8
%iO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iP=bitcast i8*%iL to i8**
store i8*%iO,i8**%iP,align 8
%iQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iR=getelementptr inbounds i8,i8*%iL,i64 8
%iS=bitcast i8*%iR to i8**
store i8*%iQ,i8**%iS,align 8
%iT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%iU=getelementptr inbounds i8,i8*%iL,i64 16
%iV=bitcast i8*%iU to i8**
store i8*%iT,i8**%iV,align 8
%iW=getelementptr inbounds i8,i8*%iL,i64 24
%iX=bitcast i8*%iW to i32*
store i32 7,i32*%iX,align 4
%iY=call i8*@sml_alloc(i32 inreg 20)#0
%iZ=bitcast i8*%iY to i32*
%i0=getelementptr inbounds i8,i8*%iY,i64 -4
%i1=bitcast i8*%i0 to i32*
store i32 1342177296,i32*%i1,align 4
%i2=getelementptr inbounds i8,i8*%iY,i64 4
%i3=bitcast i8*%i2 to i32*
store i32 0,i32*%i3,align 1
store i32 7,i32*%iZ,align 4
%i4=load i8*,i8**%h,align 8
%i5=getelementptr inbounds i8,i8*%iY,i64 8
%i6=bitcast i8*%i5 to i8**
store i8*%i4,i8**%i6,align 8
%i7=getelementptr inbounds i8,i8*%iY,i64 16
%i8=bitcast i8*%i7 to i32*
store i32 2,i32*%i8,align 4
ret i8*%iY
i9:
%ja=getelementptr inbounds i8,i8*%p,i64 8
%jb=bitcast i8*%ja to i8**
%jc=load i8*,i8**%jb,align 8
store i8*%jc,i8**%f,align 8
%jd=getelementptr inbounds i8,i8*%jc,i64 16
%je=bitcast i8*%jd to i32*
%jf=load i32,i32*%je,align 4
%jg=getelementptr inbounds i8,i8*%jc,i64 24
%jh=bitcast i8*%jg to i8**
%ji=load i8*,i8**%jh,align 8
store i8*%ji,i8**%g,align 8
%jj=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%jk=getelementptr inbounds i8,i8*%jj,i64 16
%jl=bitcast i8*%jk to i8*(i8*,i8*)**
%jm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jl,align 8
%jn=bitcast i8*%jj to i8**
%jo=load i8*,i8**%jn,align 8
store i8*%jo,i8**%e,align 8
%jp=call i8*@sml_alloc(i32 inreg 12)#0
%jq=getelementptr inbounds i8,i8*%jp,i64 -4
%jr=bitcast i8*%jq to i32*
store i32 1342177288,i32*%jr,align 4
store i8*%jp,i8**%h,align 8
%js=load i8*,i8**%j,align 8
%jt=bitcast i8*%jp to i8**
store i8*%js,i8**%jt,align 8
%ju=getelementptr inbounds i8,i8*%jp,i64 8
%jv=bitcast i8*%ju to i32*
store i32 1,i32*%jv,align 4
%jw=call i8*@sml_alloc(i32 inreg 28)#0
%jx=getelementptr inbounds i8,i8*%jw,i64 -4
%jy=bitcast i8*%jx to i32*
store i32 1342177304,i32*%jy,align 4
%jz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jA=bitcast i8*%jw to i8**
store i8*%jz,i8**%jA,align 8
%jB=getelementptr inbounds i8,i8*%jw,i64 8
%jC=bitcast i8*%jB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_229 to void(...)*),void(...)**%jC,align 8
%jD=getelementptr inbounds i8,i8*%jw,i64 16
%jE=bitcast i8*%jD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_229 to void(...)*),void(...)**%jE,align 8
%jF=getelementptr inbounds i8,i8*%jw,i64 24
%jG=bitcast i8*%jF to i32*
store i32 -2147483647,i32*%jG,align 4
%jH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jI=call fastcc i8*%jm(i8*inreg%jH,i8*inreg%jw)
%jJ=getelementptr inbounds i8,i8*%jI,i64 16
%jK=bitcast i8*%jJ to i8*(i8*,i8*)**
%jL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jK,align 8
%jM=bitcast i8*%jI to i8**
%jN=load i8*,i8**%jM,align 8
%jO=bitcast i8**%f to i8***
%jP=load i8**,i8***%jO,align 8
%jQ=load i8*,i8**%jP,align 8
%jR=call fastcc i8*%jL(i8*inreg%jN,i8*inreg%jQ)
store i8*%jR,i8**%e,align 8
%jS=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%jT=getelementptr inbounds i8,i8*%jS,i64 16
%jU=bitcast i8*%jT to i8*(i8*,i8*)**
%jV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jU,align 8
%jW=bitcast i8*%jS to i8**
%jX=load i8*,i8**%jW,align 8
store i8*%jX,i8**%h,align 8
%jY=call i8*@sml_alloc(i32 inreg 12)#0
%jZ=getelementptr inbounds i8,i8*%jY,i64 -4
%j0=bitcast i8*%jZ to i32*
store i32 1342177288,i32*%j0,align 4
store i8*%jY,i8**%i,align 8
%j1=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%j2=bitcast i8*%jY to i8**
store i8*%j1,i8**%j2,align 8
%j3=getelementptr inbounds i8,i8*%jY,i64 8
%j4=bitcast i8*%j3 to i32*
store i32 1,i32*%j4,align 4
%j5=call i8*@sml_alloc(i32 inreg 28)#0
%j6=getelementptr inbounds i8,i8*%j5,i64 -4
%j7=bitcast i8*%j6 to i32*
store i32 1342177304,i32*%j7,align 4
%j8=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%j9=bitcast i8*%j5 to i8**
store i8*%j8,i8**%j9,align 8
%ka=getelementptr inbounds i8,i8*%j5,i64 8
%kb=bitcast i8*%ka to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_230 to void(...)*),void(...)**%kb,align 8
%kc=getelementptr inbounds i8,i8*%j5,i64 16
%kd=bitcast i8*%kc to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_230 to void(...)*),void(...)**%kd,align 8
%ke=getelementptr inbounds i8,i8*%j5,i64 24
%kf=bitcast i8*%ke to i32*
store i32 -2147483647,i32*%kf,align 4
%kg=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kh=call fastcc i8*%jV(i8*inreg%kg,i8*inreg%j5)
%ki=getelementptr inbounds i8,i8*%kh,i64 16
%kj=bitcast i8*%ki to i8*(i8*,i8*)**
%kk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kj,align 8
%kl=bitcast i8*%kh to i8**
%km=load i8*,i8**%kl,align 8
%kn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ko=getelementptr inbounds i8,i8*%kn,i64 8
%kp=bitcast i8*%ko to i8**
%kq=load i8*,i8**%kp,align 8
%kr=call fastcc i8*%kk(i8*inreg%km,i8*inreg%kq)
store i8*%kr,i8**%f,align 8
%ks=call i8*@sml_alloc(i32 inreg 36)#0
%kt=getelementptr inbounds i8,i8*%ks,i64 -4
%ku=bitcast i8*%kt to i32*
store i32 1342177312,i32*%ku,align 4
store i8*%ks,i8**%h,align 8
%kv=getelementptr inbounds i8,i8*%ks,i64 20
%kw=bitcast i8*%kv to i32*
store i32 0,i32*%kw,align 1
%kx=load i8*,i8**%e,align 8
%ky=bitcast i8*%ks to i8**
store i8*null,i8**%e,align 8
store i8*%kx,i8**%ky,align 8
%kz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kA=getelementptr inbounds i8,i8*%ks,i64 8
%kB=bitcast i8*%kA to i8**
store i8*%kz,i8**%kB,align 8
%kC=getelementptr inbounds i8,i8*%ks,i64 16
%kD=bitcast i8*%kC to i32*
store i32%jf,i32*%kD,align 4
%kE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kF=getelementptr inbounds i8,i8*%ks,i64 24
%kG=bitcast i8*%kF to i8**
store i8*%kE,i8**%kG,align 8
%kH=getelementptr inbounds i8,i8*%ks,i64 32
%kI=bitcast i8*%kH to i32*
store i32 11,i32*%kI,align 4
%kJ=call i8*@sml_alloc(i32 inreg 20)#0
%kK=bitcast i8*%kJ to i32*
%kL=getelementptr inbounds i8,i8*%kJ,i64 -4
%kM=bitcast i8*%kL to i32*
store i32 1342177296,i32*%kM,align 4
%kN=getelementptr inbounds i8,i8*%kJ,i64 4
%kO=bitcast i8*%kN to i32*
store i32 0,i32*%kO,align 1
store i32 3,i32*%kK,align 4
%kP=load i8*,i8**%h,align 8
%kQ=getelementptr inbounds i8,i8*%kJ,i64 8
%kR=bitcast i8*%kQ to i8**
store i8*%kP,i8**%kR,align 8
%kS=getelementptr inbounds i8,i8*%kJ,i64 16
%kT=bitcast i8*%kS to i32*
store i32 2,i32*%kT,align 4
ret i8*%kJ
kU:
%kV=getelementptr inbounds i8,i8*%p,i64 8
%kW=bitcast i8*%kV to i8**
%kX=load i8*,i8**%kW,align 8
store i8*%kX,i8**%h,align 8
%kY=getelementptr inbounds i8,i8*%kX,i64 16
%kZ=bitcast i8*%kY to i8**
%k0=load i8*,i8**%kZ,align 8
store i8*%k0,i8**%i,align 8
%k1=call fastcc i8*@_SMLFN8ListPair5unzipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%k2=getelementptr inbounds i8,i8*%k1,i64 16
%k3=bitcast i8*%k2 to i8*(i8*,i8*)**
%k4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k3,align 8
%k5=bitcast i8*%k1 to i8**
%k6=load i8*,i8**%k5,align 8
%k7=bitcast i8**%h to i8***
%k8=load i8**,i8***%k7,align 8
%k9=load i8*,i8**%k8,align 8
%la=call fastcc i8*%k4(i8*inreg%k6,i8*inreg%k9)
store i8*%la,i8**%f,align 8
%lb=getelementptr inbounds i8,i8*%la,i64 8
%lc=bitcast i8*%lb to i8**
%ld=load i8*,i8**%lc,align 8
store i8*%ld,i8**%e,align 8
%le=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%lf=call fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_160(i8*inreg%le)
%lg=getelementptr inbounds i8,i8*%lf,i64 16
%lh=bitcast i8*%lg to i8*(i8*,i8*)**
%li=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lh,align 8
%lj=bitcast i8*%lf to i8**
%lk=load i8*,i8**%lj,align 8
%ll=bitcast i8**%f to i8***
%lm=load i8**,i8***%ll,align 8
store i8*null,i8**%f,align 8
%ln=load i8*,i8**%lm,align 8
%lo=call fastcc i8*%li(i8*inreg%lk,i8*inreg%ln)
store i8*%lo,i8**%g,align 8
%lp=getelementptr inbounds i8,i8*%lo,i64 8
%lq=bitcast i8*%lp to i8**
%lr=load i8*,i8**%lq,align 8
store i8*%lr,i8**%f,align 8
%ls=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%lt=getelementptr inbounds i8,i8*%ls,i64 16
%lu=bitcast i8*%lt to i8*(i8*,i8*)**
%lv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lu,align 8
%lw=bitcast i8*%ls to i8**
%lx=load i8*,i8**%lw,align 8
store i8*%lx,i8**%j,align 8
%ly=call i8*@sml_alloc(i32 inreg 20)#0
%lz=getelementptr inbounds i8,i8*%ly,i64 -4
%lA=bitcast i8*%lz to i32*
store i32 1342177296,i32*%lA,align 4
%lB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lC=bitcast i8*%ly to i8**
store i8*%lB,i8**%lC,align 8
%lD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lE=getelementptr inbounds i8,i8*%ly,i64 8
%lF=bitcast i8*%lE to i8**
store i8*%lD,i8**%lF,align 8
%lG=getelementptr inbounds i8,i8*%ly,i64 16
%lH=bitcast i8*%lG to i32*
store i32 3,i32*%lH,align 4
%lI=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%lJ=call fastcc i8*%lv(i8*inreg%lI,i8*inreg%ly)
store i8*%lJ,i8**%e,align 8
%lK=bitcast i8**%g to i8***
%lL=load i8**,i8***%lK,align 8
store i8*null,i8**%g,align 8
%lM=load i8*,i8**%lL,align 8
%lN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%lO=getelementptr inbounds i8,i8*%lN,i64 8
%lP=bitcast i8*%lO to i8**
%lQ=load i8*,i8**%lP,align 8
%lR=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%lM,i8*inreg%lQ)
store i8*%lR,i8**%f,align 8
%lS=call i8*@sml_alloc(i32 inreg 28)#0
%lT=getelementptr inbounds i8,i8*%lS,i64 -4
%lU=bitcast i8*%lT to i32*
store i32 1342177304,i32*%lU,align 4
store i8*%lS,i8**%g,align 8
%lV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lW=bitcast i8*%lS to i8**
store i8*%lV,i8**%lW,align 8
%lX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lY=getelementptr inbounds i8,i8*%lS,i64 8
%lZ=bitcast i8*%lY to i8**
store i8*%lX,i8**%lZ,align 8
%l0=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%l1=getelementptr inbounds i8,i8*%lS,i64 16
%l2=bitcast i8*%l1 to i8**
store i8*%l0,i8**%l2,align 8
%l3=getelementptr inbounds i8,i8*%lS,i64 24
%l4=bitcast i8*%l3 to i32*
store i32 7,i32*%l4,align 4
%l5=call i8*@sml_alloc(i32 inreg 20)#0
%l6=bitcast i8*%l5 to i32*
%l7=getelementptr inbounds i8,i8*%l5,i64 -4
%l8=bitcast i8*%l7 to i32*
store i32 1342177296,i32*%l8,align 4
%l9=getelementptr inbounds i8,i8*%l5,i64 4
%ma=bitcast i8*%l9 to i32*
store i32 0,i32*%ma,align 1
store i32 22,i32*%l6,align 4
%mb=load i8*,i8**%g,align 8
%mc=getelementptr inbounds i8,i8*%l5,i64 8
%md=bitcast i8*%mc to i8**
store i8*%mb,i8**%md,align 8
%me=getelementptr inbounds i8,i8*%l5,i64 16
%mf=bitcast i8*%me to i32*
store i32 2,i32*%mf,align 4
ret i8*%l5
mg:
%mh=getelementptr inbounds i8,i8*%p,i64 8
%mi=bitcast i8*%mh to i8**
%mj=load i8*,i8**%mi,align 8
store i8*%mj,i8**%g,align 8
%mk=getelementptr inbounds i8,i8*%mj,i64 16
%ml=bitcast i8*%mk to i8**
%mm=load i8*,i8**%ml,align 8
store i8*%mm,i8**%h,align 8
%mn=call fastcc i8*@_SMLFN8ListPair5unzipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%mo=getelementptr inbounds i8,i8*%mn,i64 16
%mp=bitcast i8*%mo to i8*(i8*,i8*)**
%mq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mp,align 8
%mr=bitcast i8*%mn to i8**
%ms=load i8*,i8**%mr,align 8
%mt=bitcast i8**%g to i8***
%mu=load i8**,i8***%mt,align 8
%mv=load i8*,i8**%mu,align 8
%mw=call fastcc i8*%mq(i8*inreg%ms,i8*inreg%mv)
store i8*%mw,i8**%f,align 8
%mx=getelementptr inbounds i8,i8*%mw,i64 8
%my=bitcast i8*%mx to i8**
%mz=load i8*,i8**%my,align 8
store i8*%mz,i8**%e,align 8
%mA=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%mB=call fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_160(i8*inreg%mA)
%mC=getelementptr inbounds i8,i8*%mB,i64 16
%mD=bitcast i8*%mC to i8*(i8*,i8*)**
%mE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mD,align 8
%mF=bitcast i8*%mB to i8**
%mG=load i8*,i8**%mF,align 8
%mH=bitcast i8**%f to i8***
%mI=load i8**,i8***%mH,align 8
store i8*null,i8**%f,align 8
%mJ=load i8*,i8**%mI,align 8
%mK=call fastcc i8*%mE(i8*inreg%mG,i8*inreg%mJ)
%mL=getelementptr inbounds i8,i8*%mK,i64 8
%mM=bitcast i8*%mL to i8**
%mN=load i8*,i8**%mM,align 8
store i8*%mN,i8**%f,align 8
%mO=bitcast i8*%mK to i8**
%mP=load i8*,i8**%mO,align 8
%mQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%mR=getelementptr inbounds i8,i8*%mQ,i64 8
%mS=bitcast i8*%mR to i8**
%mT=load i8*,i8**%mS,align 8
%mU=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%mP,i8*inreg%mT)
store i8*%mU,i8**%g,align 8
%mV=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%mW=getelementptr inbounds i8,i8*%mV,i64 16
%mX=bitcast i8*%mW to i8*(i8*,i8*)**
%mY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mX,align 8
%mZ=bitcast i8*%mV to i8**
%m0=load i8*,i8**%mZ,align 8
store i8*%m0,i8**%i,align 8
%m1=call i8*@sml_alloc(i32 inreg 20)#0
%m2=getelementptr inbounds i8,i8*%m1,i64 -4
%m3=bitcast i8*%m2 to i32*
store i32 1342177296,i32*%m3,align 4
%m4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%m5=bitcast i8*%m1 to i8**
store i8*%m4,i8**%m5,align 8
%m6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%m7=getelementptr inbounds i8,i8*%m1,i64 8
%m8=bitcast i8*%m7 to i8**
store i8*%m6,i8**%m8,align 8
%m9=getelementptr inbounds i8,i8*%m1,i64 16
%na=bitcast i8*%m9 to i32*
store i32 3,i32*%na,align 4
%nb=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%nc=call fastcc i8*%mY(i8*inreg%nb,i8*inreg%m1)
store i8*%nc,i8**%e,align 8
%nd=call i8*@sml_alloc(i32 inreg 28)#0
%ne=getelementptr inbounds i8,i8*%nd,i64 -4
%nf=bitcast i8*%ne to i32*
store i32 1342177304,i32*%nf,align 4
store i8*%nd,i8**%f,align 8
%ng=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%nh=bitcast i8*%nd to i8**
store i8*%ng,i8**%nh,align 8
%ni=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%nj=getelementptr inbounds i8,i8*%nd,i64 8
%nk=bitcast i8*%nj to i8**
store i8*%ni,i8**%nk,align 8
%nl=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%nm=getelementptr inbounds i8,i8*%nd,i64 16
%nn=bitcast i8*%nm to i8**
store i8*%nl,i8**%nn,align 8
%no=getelementptr inbounds i8,i8*%nd,i64 24
%np=bitcast i8*%no to i32*
store i32 7,i32*%np,align 4
%nq=call i8*@sml_alloc(i32 inreg 20)#0
%nr=bitcast i8*%nq to i32*
%ns=getelementptr inbounds i8,i8*%nq,i64 -4
%nt=bitcast i8*%ns to i32*
store i32 1342177296,i32*%nt,align 4
%nu=getelementptr inbounds i8,i8*%nq,i64 4
%nv=bitcast i8*%nu to i32*
store i32 0,i32*%nv,align 1
store i32 21,i32*%nr,align 4
%nw=load i8*,i8**%f,align 8
%nx=getelementptr inbounds i8,i8*%nq,i64 8
%ny=bitcast i8*%nx to i8**
store i8*%nw,i8**%ny,align 8
%nz=getelementptr inbounds i8,i8*%nq,i64 16
%nA=bitcast i8*%nz to i32*
store i32 2,i32*%nA,align 4
ret i8*%nq
nB:
%nC=getelementptr inbounds i8,i8*%p,i64 8
%nD=bitcast i8*%nC to i8**
%nE=load i8*,i8**%nD,align 8
store i8*%nE,i8**%e,align 8
%nF=getelementptr inbounds i8,i8*%nE,i64 8
%nG=bitcast i8*%nF to i8**
%nH=load i8*,i8**%nG,align 8
store i8*%nH,i8**%f,align 8
%nI=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%nJ=getelementptr inbounds i8,i8*%nI,i64 16
%nK=bitcast i8*%nJ to i8*(i8*,i8*)**
%nL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nK,align 8
%nM=bitcast i8*%nI to i8**
%nN=load i8*,i8**%nM,align 8
store i8*%nN,i8**%g,align 8
%nO=call i8*@sml_alloc(i32 inreg 12)#0
%nP=getelementptr inbounds i8,i8*%nO,i64 -4
%nQ=bitcast i8*%nP to i32*
store i32 1342177288,i32*%nQ,align 4
store i8*%nO,i8**%h,align 8
%nR=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%nS=bitcast i8*%nO to i8**
store i8*%nR,i8**%nS,align 8
%nT=getelementptr inbounds i8,i8*%nO,i64 8
%nU=bitcast i8*%nT to i32*
store i32 1,i32*%nU,align 4
%nV=call i8*@sml_alloc(i32 inreg 28)#0
%nW=getelementptr inbounds i8,i8*%nV,i64 -4
%nX=bitcast i8*%nW to i32*
store i32 1342177304,i32*%nX,align 4
%nY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%nZ=bitcast i8*%nV to i8**
store i8*%nY,i8**%nZ,align 8
%n0=getelementptr inbounds i8,i8*%nV,i64 8
%n1=bitcast i8*%n0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_228 to void(...)*),void(...)**%n1,align 8
%n2=getelementptr inbounds i8,i8*%nV,i64 16
%n3=bitcast i8*%n2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_228 to void(...)*),void(...)**%n3,align 8
%n4=getelementptr inbounds i8,i8*%nV,i64 24
%n5=bitcast i8*%n4 to i32*
store i32 -2147483647,i32*%n5,align 4
%n6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%n7=call fastcc i8*%nL(i8*inreg%n6,i8*inreg%nV)
%n8=getelementptr inbounds i8,i8*%n7,i64 16
%n9=bitcast i8*%n8 to i8*(i8*,i8*)**
%oa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n9,align 8
%ob=bitcast i8*%n7 to i8**
%oc=load i8*,i8**%ob,align 8
%od=bitcast i8**%e to i8***
%oe=load i8**,i8***%od,align 8
store i8*null,i8**%e,align 8
%of=load i8*,i8**%oe,align 8
%og=call fastcc i8*%oa(i8*inreg%oc,i8*inreg%of)
store i8*%og,i8**%e,align 8
%oh=call i8*@sml_alloc(i32 inreg 20)#0
%oi=getelementptr inbounds i8,i8*%oh,i64 -4
%oj=bitcast i8*%oi to i32*
store i32 1342177296,i32*%oj,align 4
store i8*%oh,i8**%g,align 8
%ok=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ol=bitcast i8*%oh to i8**
store i8*%ok,i8**%ol,align 8
%om=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%on=getelementptr inbounds i8,i8*%oh,i64 8
%oo=bitcast i8*%on to i8**
store i8*%om,i8**%oo,align 8
%op=getelementptr inbounds i8,i8*%oh,i64 16
%oq=bitcast i8*%op to i32*
store i32 3,i32*%oq,align 4
%or=call i8*@sml_alloc(i32 inreg 20)#0
%os=bitcast i8*%or to i32*
%ot=getelementptr inbounds i8,i8*%or,i64 -4
%ou=bitcast i8*%ot to i32*
store i32 1342177296,i32*%ou,align 4
%ov=getelementptr inbounds i8,i8*%or,i64 4
%ow=bitcast i8*%ov to i32*
store i32 0,i32*%ow,align 1
store i32 20,i32*%os,align 4
%ox=load i8*,i8**%g,align 8
%oy=getelementptr inbounds i8,i8*%or,i64 8
%oz=bitcast i8*%oy to i8**
store i8*%ox,i8**%oz,align 8
%oA=getelementptr inbounds i8,i8*%or,i64 16
%oB=bitcast i8*%oA to i32*
store i32 2,i32*%oB,align 4
ret i8*%or
oC:
%oD=getelementptr inbounds i8,i8*%p,i64 8
%oE=bitcast i8*%oD to i8**
%oF=load i8*,i8**%oE,align 8
store i8*%oF,i8**%f,align 8
%oG=getelementptr inbounds i8,i8*%oF,i64 16
%oH=bitcast i8*%oG to i8**
%oI=load i8*,i8**%oH,align 8
store i8*%oI,i8**%g,align 8
%oJ=bitcast i8*%oF to i8**
%oK=load i8*,i8**%oJ,align 8
%oL=load i8*,i8**%j,align 8
%oM=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%oL,i8*inreg%oK)
store i8*%oM,i8**%e,align 8
%oN=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%oO=getelementptr inbounds i8,i8*%oN,i64 16
%oP=bitcast i8*%oO to i8*(i8*,i8*)**
%oQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oP,align 8
%oR=bitcast i8*%oN to i8**
%oS=load i8*,i8**%oR,align 8
store i8*%oS,i8**%h,align 8
%oT=call i8*@sml_alloc(i32 inreg 12)#0
%oU=getelementptr inbounds i8,i8*%oT,i64 -4
%oV=bitcast i8*%oU to i32*
store i32 1342177288,i32*%oV,align 4
store i8*%oT,i8**%i,align 8
%oW=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%oX=bitcast i8*%oT to i8**
store i8*%oW,i8**%oX,align 8
%oY=getelementptr inbounds i8,i8*%oT,i64 8
%oZ=bitcast i8*%oY to i32*
store i32 1,i32*%oZ,align 4
%o0=call i8*@sml_alloc(i32 inreg 28)#0
%o1=getelementptr inbounds i8,i8*%o0,i64 -4
%o2=bitcast i8*%o1 to i32*
store i32 1342177304,i32*%o2,align 4
%o3=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%o4=bitcast i8*%o0 to i8**
store i8*%o3,i8**%o4,align 8
%o5=getelementptr inbounds i8,i8*%o0,i64 8
%o6=bitcast i8*%o5 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL14icpatIcexpList_227 to void(...)*),void(...)**%o6,align 8
%o7=getelementptr inbounds i8,i8*%o0,i64 16
%o8=bitcast i8*%o7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL14icpatIcexpList_227 to void(...)*),void(...)**%o8,align 8
%o9=getelementptr inbounds i8,i8*%o0,i64 24
%pa=bitcast i8*%o9 to i32*
store i32 -2147483647,i32*%pa,align 4
%pb=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%pc=call fastcc i8*%oQ(i8*inreg%pb,i8*inreg%o0)
%pd=getelementptr inbounds i8,i8*%pc,i64 16
%pe=bitcast i8*%pd to i8*(i8*,i8*)**
%pf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pe,align 8
%pg=bitcast i8*%pc to i8**
%ph=load i8*,i8**%pg,align 8
%pi=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pj=getelementptr inbounds i8,i8*%pi,i64 8
%pk=bitcast i8*%pj to i8**
%pl=load i8*,i8**%pk,align 8
%pm=call fastcc i8*%pf(i8*inreg%ph,i8*inreg%pl)
store i8*%pm,i8**%f,align 8
%pn=call i8*@sml_alloc(i32 inreg 28)#0
%po=getelementptr inbounds i8,i8*%pn,i64 -4
%pp=bitcast i8*%po to i32*
store i32 1342177304,i32*%pp,align 4
store i8*%pn,i8**%h,align 8
%pq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pr=bitcast i8*%pn to i8**
store i8*%pq,i8**%pr,align 8
%ps=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pt=getelementptr inbounds i8,i8*%pn,i64 8
%pu=bitcast i8*%pt to i8**
store i8*%ps,i8**%pu,align 8
%pv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%pw=getelementptr inbounds i8,i8*%pn,i64 16
%px=bitcast i8*%pw to i8**
store i8*%pv,i8**%px,align 8
%py=getelementptr inbounds i8,i8*%pn,i64 24
%pz=bitcast i8*%py to i32*
store i32 7,i32*%pz,align 4
%pA=call i8*@sml_alloc(i32 inreg 20)#0
%pB=bitcast i8*%pA to i32*
%pC=getelementptr inbounds i8,i8*%pA,i64 -4
%pD=bitcast i8*%pC to i32*
store i32 1342177296,i32*%pD,align 4
%pE=getelementptr inbounds i8,i8*%pA,i64 4
%pF=bitcast i8*%pE to i32*
store i32 0,i32*%pF,align 1
store i32 23,i32*%pB,align 4
%pG=load i8*,i8**%h,align 8
%pH=getelementptr inbounds i8,i8*%pA,i64 8
%pI=bitcast i8*%pH to i8**
store i8*%pG,i8**%pI,align 8
%pJ=getelementptr inbounds i8,i8*%pA,i64 16
%pK=bitcast i8*%pJ to i32*
store i32 2,i32*%pK,align 4
ret i8*%pA
pL:
%pM=getelementptr inbounds i8,i8*%p,i64 8
%pN=bitcast i8*%pM to i8**
%pO=load i8*,i8**%pN,align 8
%pP=getelementptr inbounds i8,i8*%pO,i64 8
%pQ=bitcast i8*%pP to i8**
%pR=load i8*,i8**%pQ,align 8
store i8*%pR,i8**%f,align 8
%pS=bitcast i8*%pO to i8**
%pT=load i8*,i8**%pS,align 8
%pU=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%pV=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%pU,i8*inreg%pT)
store i8*%pV,i8**%e,align 8
%pW=call i8*@sml_alloc(i32 inreg 20)#0
%pX=getelementptr inbounds i8,i8*%pW,i64 -4
%pY=bitcast i8*%pX to i32*
store i32 1342177296,i32*%pY,align 4
store i8*%pW,i8**%g,align 8
%pZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%p0=bitcast i8*%pW to i8**
store i8*%pZ,i8**%p0,align 8
%p1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%p2=getelementptr inbounds i8,i8*%pW,i64 8
%p3=bitcast i8*%p2 to i8**
store i8*%p1,i8**%p3,align 8
%p4=getelementptr inbounds i8,i8*%pW,i64 16
%p5=bitcast i8*%p4 to i32*
store i32 3,i32*%p5,align 4
%p6=call i8*@sml_alloc(i32 inreg 20)#0
%p7=bitcast i8*%p6 to i32*
%p8=getelementptr inbounds i8,i8*%p6,i64 -4
%p9=bitcast i8*%p8 to i32*
store i32 1342177296,i32*%p9,align 4
%qa=getelementptr inbounds i8,i8*%p6,i64 4
%qb=bitcast i8*%qa to i32*
store i32 0,i32*%qb,align 1
store i32 28,i32*%p7,align 4
%qc=load i8*,i8**%g,align 8
%qd=getelementptr inbounds i8,i8*%p6,i64 8
%qe=bitcast i8*%qd to i8**
store i8*%qc,i8**%qe,align 8
%qf=getelementptr inbounds i8,i8*%p6,i64 16
%qg=bitcast i8*%qf to i32*
store i32 2,i32*%qg,align 4
ret i8*%p6
qh:
%qi=getelementptr inbounds i8,i8*%p,i64 8
%qj=bitcast i8*%qi to i8**
%qk=load i8*,i8**%qj,align 8
store i8*%qk,i8**%e,align 8
%ql=getelementptr inbounds i8,i8*%qk,i64 8
%qm=bitcast i8*%ql to i8**
%qn=load i8*,i8**%qm,align 8
store i8*%qn,i8**%f,align 8
%qo=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%qp=getelementptr inbounds i8,i8*%qo,i64 16
%qq=bitcast i8*%qp to i8*(i8*,i8*)**
%qr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qq,align 8
%qs=bitcast i8*%qo to i8**
%qt=load i8*,i8**%qs,align 8
store i8*%qt,i8**%g,align 8
%qu=call i8*@sml_alloc(i32 inreg 12)#0
%qv=getelementptr inbounds i8,i8*%qu,i64 -4
%qw=bitcast i8*%qv to i32*
store i32 1342177288,i32*%qw,align 4
store i8*%qu,i8**%h,align 8
%qx=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%qy=bitcast i8*%qu to i8**
store i8*%qx,i8**%qy,align 8
%qz=getelementptr inbounds i8,i8*%qu,i64 8
%qA=bitcast i8*%qz to i32*
store i32 1,i32*%qA,align 4
%qB=call i8*@sml_alloc(i32 inreg 28)#0
%qC=getelementptr inbounds i8,i8*%qB,i64 -4
%qD=bitcast i8*%qC to i32*
store i32 1342177304,i32*%qD,align 4
%qE=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%qF=bitcast i8*%qB to i8**
store i8*%qE,i8**%qF,align 8
%qG=getelementptr inbounds i8,i8*%qB,i64 8
%qH=bitcast i8*%qG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_226 to void(...)*),void(...)**%qH,align 8
%qI=getelementptr inbounds i8,i8*%qB,i64 16
%qJ=bitcast i8*%qI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_226 to void(...)*),void(...)**%qJ,align 8
%qK=getelementptr inbounds i8,i8*%qB,i64 24
%qL=bitcast i8*%qK to i32*
store i32 -2147483647,i32*%qL,align 4
%qM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%qN=call fastcc i8*%qr(i8*inreg%qM,i8*inreg%qB)
%qO=getelementptr inbounds i8,i8*%qN,i64 16
%qP=bitcast i8*%qO to i8*(i8*,i8*)**
%qQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qP,align 8
%qR=bitcast i8*%qN to i8**
%qS=load i8*,i8**%qR,align 8
%qT=bitcast i8**%e to i8***
%qU=load i8**,i8***%qT,align 8
store i8*null,i8**%e,align 8
%qV=load i8*,i8**%qU,align 8
%qW=call fastcc i8*%qQ(i8*inreg%qS,i8*inreg%qV)
store i8*%qW,i8**%e,align 8
%qX=call i8*@sml_alloc(i32 inreg 20)#0
%qY=getelementptr inbounds i8,i8*%qX,i64 -4
%qZ=bitcast i8*%qY to i32*
store i32 1342177296,i32*%qZ,align 4
store i8*%qX,i8**%g,align 8
%q0=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%q1=bitcast i8*%qX to i8**
store i8*%q0,i8**%q1,align 8
%q2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%q3=getelementptr inbounds i8,i8*%qX,i64 8
%q4=bitcast i8*%q3 to i8**
store i8*%q2,i8**%q4,align 8
%q5=getelementptr inbounds i8,i8*%qX,i64 16
%q6=bitcast i8*%q5 to i32*
store i32 3,i32*%q6,align 4
%q7=call i8*@sml_alloc(i32 inreg 20)#0
%q8=bitcast i8*%q7 to i32*
%q9=getelementptr inbounds i8,i8*%q7,i64 -4
%ra=bitcast i8*%q9 to i32*
store i32 1342177296,i32*%ra,align 4
%rb=getelementptr inbounds i8,i8*%q7,i64 4
%rc=bitcast i8*%rb to i32*
store i32 0,i32*%rc,align 1
store i32 29,i32*%q8,align 4
%rd=load i8*,i8**%g,align 8
%re=getelementptr inbounds i8,i8*%q7,i64 8
%rf=bitcast i8*%re to i8**
store i8*%rd,i8**%rf,align 8
%rg=getelementptr inbounds i8,i8*%q7,i64 16
%rh=bitcast i8*%rg to i32*
store i32 2,i32*%rh,align 4
ret i8*%q7
ri:
%rj=getelementptr inbounds i8,i8*%p,i64 8
%rk=bitcast i8*%rj to i8**
%rl=load i8*,i8**%rk,align 8
%rm=bitcast i8*%rl to i8**
%rn=load i8*,i8**%rm,align 8
store i8*%rn,i8**%f,align 8
%ro=getelementptr inbounds i8,i8*%rl,i64 16
%rp=bitcast i8*%ro to i8**
%rq=load i8*,i8**%rp,align 8
store i8*%rq,i8**%g,align 8
%rr=getelementptr inbounds i8,i8*%rl,i64 8
%rs=bitcast i8*%rr to i8**
%rt=load i8*,i8**%rs,align 8
%ru=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%rv=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%ru,i8*inreg%rt)
store i8*%rv,i8**%e,align 8
%rw=call i8*@sml_alloc(i32 inreg 28)#0
%rx=getelementptr inbounds i8,i8*%rw,i64 -4
%ry=bitcast i8*%rx to i32*
store i32 1342177304,i32*%ry,align 4
store i8*%rw,i8**%h,align 8
%rz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%rA=bitcast i8*%rw to i8**
store i8*%rz,i8**%rA,align 8
%rB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%rC=getelementptr inbounds i8,i8*%rw,i64 8
%rD=bitcast i8*%rC to i8**
store i8*%rB,i8**%rD,align 8
%rE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%rF=getelementptr inbounds i8,i8*%rw,i64 16
%rG=bitcast i8*%rF to i8**
store i8*%rE,i8**%rG,align 8
%rH=getelementptr inbounds i8,i8*%rw,i64 24
%rI=bitcast i8*%rH to i32*
store i32 7,i32*%rI,align 4
%rJ=call i8*@sml_alloc(i32 inreg 20)#0
%rK=bitcast i8*%rJ to i32*
%rL=getelementptr inbounds i8,i8*%rJ,i64 -4
%rM=bitcast i8*%rL to i32*
store i32 1342177296,i32*%rM,align 4
%rN=getelementptr inbounds i8,i8*%rJ,i64 4
%rO=bitcast i8*%rN to i32*
store i32 0,i32*%rO,align 1
store i32 38,i32*%rK,align 4
%rP=load i8*,i8**%h,align 8
%rQ=getelementptr inbounds i8,i8*%rJ,i64 8
%rR=bitcast i8*%rQ to i8**
store i8*%rP,i8**%rR,align 8
%rS=getelementptr inbounds i8,i8*%rJ,i64 16
%rT=bitcast i8*%rS to i32*
store i32 2,i32*%rT,align 4
ret i8*%rJ
rU:
%rV=getelementptr inbounds i8,i8*%p,i64 8
%rW=bitcast i8*%rV to i8**
%rX=load i8*,i8**%rW,align 8
store i8*%rX,i8**%e,align 8
%rY=getelementptr inbounds i8,i8*%rX,i64 16
%rZ=bitcast i8*%rY to i8**
%r0=load i8*,i8**%rZ,align 8
store i8*%r0,i8**%g,align 8
%r1=bitcast i8*%rX to i8**
%r2=load i8*,i8**%r1,align 8
%r3=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%r4=call fastcc i8*@_SMLLN11IDCalcUtils12copyDeclListE_184(i8*inreg%r3,i8*inreg%r2)
store i8*%r4,i8**%f,align 8
%r5=bitcast i8*%r4 to i8**
%r6=load i8*,i8**%r5,align 8
%r7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%r8=getelementptr inbounds i8,i8*%r7,i64 8
%r9=bitcast i8*%r8 to i8**
%sa=load i8*,i8**%r9,align 8
%sb=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%r6,i8*inreg%sa)
store i8*%sb,i8**%e,align 8
%sc=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%sd=getelementptr inbounds i8,i8*%sc,i64 16
%se=bitcast i8*%sd to i8*(i8*,i8*)**
%sf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%se,align 8
%sg=bitcast i8*%sc to i8**
%sh=load i8*,i8**%sg,align 8
%si=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%sj=getelementptr inbounds i8,i8*%si,i64 8
%sk=bitcast i8*%sj to i8**
%sl=load i8*,i8**%sk,align 8
%sm=call fastcc i8*%sf(i8*inreg%sh,i8*inreg%sl)
store i8*%sm,i8**%f,align 8
%sn=call i8*@sml_alloc(i32 inreg 28)#0
%so=getelementptr inbounds i8,i8*%sn,i64 -4
%sp=bitcast i8*%so to i32*
store i32 1342177304,i32*%sp,align 4
store i8*%sn,i8**%h,align 8
%sq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%sr=bitcast i8*%sn to i8**
store i8*%sq,i8**%sr,align 8
%ss=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%st=getelementptr inbounds i8,i8*%sn,i64 8
%su=bitcast i8*%st to i8**
store i8*%ss,i8**%su,align 8
%sv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%sw=getelementptr inbounds i8,i8*%sn,i64 16
%sx=bitcast i8*%sw to i8**
store i8*%sv,i8**%sx,align 8
%sy=getelementptr inbounds i8,i8*%sn,i64 24
%sz=bitcast i8*%sy to i32*
store i32 7,i32*%sz,align 4
%sA=call i8*@sml_alloc(i32 inreg 20)#0
%sB=bitcast i8*%sA to i32*
%sC=getelementptr inbounds i8,i8*%sA,i64 -4
%sD=bitcast i8*%sC to i32*
store i32 1342177296,i32*%sD,align 4
%sE=getelementptr inbounds i8,i8*%sA,i64 4
%sF=bitcast i8*%sE to i32*
store i32 0,i32*%sF,align 1
store i32 26,i32*%sB,align 4
%sG=load i8*,i8**%h,align 8
%sH=getelementptr inbounds i8,i8*%sA,i64 8
%sI=bitcast i8*%sH to i8**
store i8*%sG,i8**%sI,align 8
%sJ=getelementptr inbounds i8,i8*%sA,i64 16
%sK=bitcast i8*%sJ to i32*
store i32 2,i32*%sK,align 4
ret i8*%sA
sL:
%sM=getelementptr inbounds i8,i8*%p,i64 8
%sN=bitcast i8*%sM to i8**
%sO=load i8*,i8**%sN,align 8
store i8*%sO,i8**%f,align 8
%sP=getelementptr inbounds i8,i8*%sO,i64 16
%sQ=bitcast i8*%sP to i8**
%sR=load i8*,i8**%sQ,align 8
store i8*%sR,i8**%g,align 8
%sS=bitcast i8*%sO to i8**
%sT=load i8*,i8**%sS,align 8
%sU=load i8*,i8**%j,align 8
%sV=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%sU,i8*inreg%sT)
store i8*%sV,i8**%e,align 8
%sW=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%sX=getelementptr inbounds i8,i8*%sW,i64 16
%sY=bitcast i8*%sX to i8*(i8*,i8*)**
%sZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%sY,align 8
%s0=bitcast i8*%sW to i8**
%s1=load i8*,i8**%s0,align 8
store i8*%s1,i8**%h,align 8
%s2=call i8*@sml_alloc(i32 inreg 12)#0
%s3=getelementptr inbounds i8,i8*%s2,i64 -4
%s4=bitcast i8*%s3 to i32*
store i32 1342177288,i32*%s4,align 4
store i8*%s2,i8**%i,align 8
%s5=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%s6=bitcast i8*%s2 to i8**
store i8*%s5,i8**%s6,align 8
%s7=getelementptr inbounds i8,i8*%s2,i64 8
%s8=bitcast i8*%s7 to i32*
store i32 1,i32*%s8,align 4
%s9=call i8*@sml_alloc(i32 inreg 28)#0
%ta=getelementptr inbounds i8,i8*%s9,i64 -4
%tb=bitcast i8*%ta to i32*
store i32 1342177304,i32*%tb,align 4
%tc=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%td=bitcast i8*%s9 to i8**
store i8*%tc,i8**%td,align 8
%te=getelementptr inbounds i8,i8*%s9,i64 8
%tf=bitcast i8*%te to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_225 to void(...)*),void(...)**%tf,align 8
%tg=getelementptr inbounds i8,i8*%s9,i64 16
%th=bitcast i8*%tg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_225 to void(...)*),void(...)**%th,align 8
%ti=getelementptr inbounds i8,i8*%s9,i64 24
%tj=bitcast i8*%ti to i32*
store i32 -2147483647,i32*%tj,align 4
%tk=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%tl=call fastcc i8*%sZ(i8*inreg%tk,i8*inreg%s9)
%tm=getelementptr inbounds i8,i8*%tl,i64 16
%tn=bitcast i8*%tm to i8*(i8*,i8*)**
%to=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tn,align 8
%tp=bitcast i8*%tl to i8**
%tq=load i8*,i8**%tp,align 8
%tr=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ts=getelementptr inbounds i8,i8*%tr,i64 8
%tt=bitcast i8*%ts to i8**
%tu=load i8*,i8**%tt,align 8
%tv=call fastcc i8*%to(i8*inreg%tq,i8*inreg%tu)
store i8*%tv,i8**%f,align 8
%tw=call i8*@sml_alloc(i32 inreg 28)#0
%tx=getelementptr inbounds i8,i8*%tw,i64 -4
%ty=bitcast i8*%tx to i32*
store i32 1342177304,i32*%ty,align 4
store i8*%tw,i8**%h,align 8
%tz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%tA=bitcast i8*%tw to i8**
store i8*%tz,i8**%tA,align 8
%tB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%tC=getelementptr inbounds i8,i8*%tw,i64 8
%tD=bitcast i8*%tC to i8**
store i8*%tB,i8**%tD,align 8
%tE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%tF=getelementptr inbounds i8,i8*%tw,i64 16
%tG=bitcast i8*%tF to i8**
store i8*%tE,i8**%tG,align 8
%tH=getelementptr inbounds i8,i8*%tw,i64 24
%tI=bitcast i8*%tH to i32*
store i32 7,i32*%tI,align 4
%tJ=call i8*@sml_alloc(i32 inreg 20)#0
%tK=bitcast i8*%tJ to i32*
%tL=getelementptr inbounds i8,i8*%tJ,i64 -4
%tM=bitcast i8*%tL to i32*
store i32 1342177296,i32*%tM,align 4
%tN=getelementptr inbounds i8,i8*%tJ,i64 4
%tO=bitcast i8*%tN to i32*
store i32 0,i32*%tO,align 1
store i32 1,i32*%tK,align 4
%tP=load i8*,i8**%h,align 8
%tQ=getelementptr inbounds i8,i8*%tJ,i64 8
%tR=bitcast i8*%tQ to i8**
store i8*%tP,i8**%tR,align 8
%tS=getelementptr inbounds i8,i8*%tJ,i64 16
%tT=bitcast i8*%tS to i32*
store i32 2,i32*%tT,align 4
ret i8*%tJ
tU:
%tV=getelementptr inbounds i8,i8*%p,i64 8
%tW=bitcast i8*%tV to i8**
%tX=load i8*,i8**%tW,align 8
store i8*%tX,i8**%f,align 8
%tY=getelementptr inbounds i8,i8*%tX,i64 16
%tZ=bitcast i8*%tY to i8**
%t0=load i8*,i8**%tZ,align 8
store i8*%t0,i8**%g,align 8
%t1=bitcast i8*%tX to i8**
%t2=load i8*,i8**%t1,align 8
%t3=load i8*,i8**%j,align 8
%t4=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%t3,i8*inreg%t2)
store i8*%t4,i8**%e,align 8
%t5=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%t6=getelementptr inbounds i8,i8*%t5,i64 16
%t7=bitcast i8*%t6 to i8*(i8*,i8*)**
%t8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t7,align 8
%t9=bitcast i8*%t5 to i8**
%ua=load i8*,i8**%t9,align 8
store i8*%ua,i8**%h,align 8
%ub=call i8*@sml_alloc(i32 inreg 12)#0
%uc=getelementptr inbounds i8,i8*%ub,i64 -4
%ud=bitcast i8*%uc to i32*
store i32 1342177288,i32*%ud,align 4
store i8*%ub,i8**%i,align 8
%ue=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%uf=bitcast i8*%ub to i8**
store i8*%ue,i8**%uf,align 8
%ug=getelementptr inbounds i8,i8*%ub,i64 8
%uh=bitcast i8*%ug to i32*
store i32 1,i32*%uh,align 4
%ui=call i8*@sml_alloc(i32 inreg 28)#0
%uj=getelementptr inbounds i8,i8*%ui,i64 -4
%uk=bitcast i8*%uj to i32*
store i32 1342177304,i32*%uk,align 4
%ul=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%um=bitcast i8*%ui to i8**
store i8*%ul,i8**%um,align 8
%un=getelementptr inbounds i8,i8*%ui,i64 8
%uo=bitcast i8*%un to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_224 to void(...)*),void(...)**%uo,align 8
%up=getelementptr inbounds i8,i8*%ui,i64 16
%uq=bitcast i8*%up to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils7copyExpE_224 to void(...)*),void(...)**%uq,align 8
%ur=getelementptr inbounds i8,i8*%ui,i64 24
%us=bitcast i8*%ur to i32*
store i32 -2147483647,i32*%us,align 4
%ut=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%uu=call fastcc i8*%t8(i8*inreg%ut,i8*inreg%ui)
%uv=getelementptr inbounds i8,i8*%uu,i64 16
%uw=bitcast i8*%uv to i8*(i8*,i8*)**
%ux=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uw,align 8
%uy=bitcast i8*%uu to i8**
%uz=load i8*,i8**%uy,align 8
%uA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%uB=getelementptr inbounds i8,i8*%uA,i64 8
%uC=bitcast i8*%uB to i8**
%uD=load i8*,i8**%uC,align 8
%uE=call fastcc i8*%ux(i8*inreg%uz,i8*inreg%uD)
store i8*%uE,i8**%f,align 8
%uF=call i8*@sml_alloc(i32 inreg 28)#0
%uG=getelementptr inbounds i8,i8*%uF,i64 -4
%uH=bitcast i8*%uG to i32*
store i32 1342177304,i32*%uH,align 4
store i8*%uF,i8**%h,align 8
%uI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%uJ=bitcast i8*%uF to i8**
store i8*%uI,i8**%uJ,align 8
%uK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%uL=getelementptr inbounds i8,i8*%uF,i64 8
%uM=bitcast i8*%uL to i8**
store i8*%uK,i8**%uM,align 8
%uN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%uO=getelementptr inbounds i8,i8*%uF,i64 16
%uP=bitcast i8*%uO to i8**
store i8*%uN,i8**%uP,align 8
%uQ=getelementptr inbounds i8,i8*%uF,i64 24
%uR=bitcast i8*%uQ to i32*
store i32 7,i32*%uR,align 4
%uS=call i8*@sml_alloc(i32 inreg 20)#0
%uT=getelementptr inbounds i8,i8*%uS,i64 -4
%uU=bitcast i8*%uT to i32*
store i32 1342177296,i32*%uU,align 4
%uV=bitcast i8*%uS to i64*
store i64 0,i64*%uV,align 4
%uW=load i8*,i8**%h,align 8
%uX=getelementptr inbounds i8,i8*%uS,i64 8
%uY=bitcast i8*%uX to i8**
store i8*%uW,i8**%uY,align 8
%uZ=getelementptr inbounds i8,i8*%uS,i64 16
%u0=bitcast i8*%uZ to i32*
store i32 2,i32*%u0,align 4
ret i8*%uS
u1:
%u2=getelementptr inbounds i8,i8*%p,i64 8
%u3=bitcast i8*%u2 to i8**
%u4=load i8*,i8**%u3,align 8
%u5=getelementptr inbounds i8,i8*%u4,i64 8
%u6=bitcast i8*%u5 to i8**
%u7=load i8*,i8**%u6,align 8
store i8*%u7,i8**%f,align 8
%u8=getelementptr inbounds i8,i8*%u4,i64 16
%u9=bitcast i8*%u8 to i8**
%va=load i8*,i8**%u9,align 8
store i8*%va,i8**%g,align 8
%vb=getelementptr inbounds i8,i8*%u4,i64 24
%vc=bitcast i8*%vb to i8**
%vd=load i8*,i8**%vc,align 8
store i8*%vd,i8**%h,align 8
%ve=bitcast i8*%u4 to i8**
%vf=load i8*,i8**%ve,align 8
%vg=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%vh=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%vg,i8*inreg%vf)
store i8*%vh,i8**%e,align 8
%vi=call i8*@sml_alloc(i32 inreg 36)#0
%vj=getelementptr inbounds i8,i8*%vi,i64 -4
%vk=bitcast i8*%vj to i32*
store i32 1342177312,i32*%vk,align 4
store i8*%vi,i8**%i,align 8
%vl=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%vm=bitcast i8*%vi to i8**
store i8*%vl,i8**%vm,align 8
%vn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%vo=getelementptr inbounds i8,i8*%vi,i64 8
%vp=bitcast i8*%vo to i8**
store i8*%vn,i8**%vp,align 8
%vq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%vr=getelementptr inbounds i8,i8*%vi,i64 16
%vs=bitcast i8*%vr to i8**
store i8*%vq,i8**%vs,align 8
%vt=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%vu=getelementptr inbounds i8,i8*%vi,i64 24
%vv=bitcast i8*%vu to i8**
store i8*%vt,i8**%vv,align 8
%vw=getelementptr inbounds i8,i8*%vi,i64 32
%vx=bitcast i8*%vw to i32*
store i32 15,i32*%vx,align 4
%vy=call i8*@sml_alloc(i32 inreg 20)#0
%vz=bitcast i8*%vy to i32*
%vA=getelementptr inbounds i8,i8*%vy,i64 -4
%vB=bitcast i8*%vA to i32*
store i32 1342177296,i32*%vB,align 4
%vC=getelementptr inbounds i8,i8*%vy,i64 4
%vD=bitcast i8*%vC to i32*
store i32 0,i32*%vD,align 1
store i32 24,i32*%vz,align 4
%vE=load i8*,i8**%i,align 8
%vF=getelementptr inbounds i8,i8*%vy,i64 8
%vG=bitcast i8*%vF to i8**
store i8*%vE,i8**%vG,align 8
%vH=getelementptr inbounds i8,i8*%vy,i64 16
%vI=bitcast i8*%vH to i32*
store i32 2,i32*%vI,align 4
ret i8*%vy
vJ:
%vK=getelementptr inbounds i8,i8*%p,i64 8
%vL=bitcast i8*%vK to i8**
%vM=load i8*,i8**%vL,align 8
%vN=getelementptr inbounds i8,i8*%vM,i64 8
%vO=bitcast i8*%vN to i8**
%vP=load i8*,i8**%vO,align 8
store i8*%vP,i8**%f,align 8
%vQ=getelementptr inbounds i8,i8*%vM,i64 16
%vR=bitcast i8*%vQ to i8**
%vS=load i8*,i8**%vR,align 8
store i8*%vS,i8**%g,align 8
%vT=bitcast i8*%vM to i8**
%vU=load i8*,i8**%vT,align 8
%vV=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%vW=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%vV,i8*inreg%vU)
store i8*%vW,i8**%e,align 8
%vX=call i8*@sml_alloc(i32 inreg 28)#0
%vY=getelementptr inbounds i8,i8*%vX,i64 -4
%vZ=bitcast i8*%vY to i32*
store i32 1342177304,i32*%vZ,align 4
store i8*%vX,i8**%h,align 8
%v0=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%v1=bitcast i8*%vX to i8**
store i8*%v0,i8**%v1,align 8
%v2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%v3=getelementptr inbounds i8,i8*%vX,i64 8
%v4=bitcast i8*%v3 to i8**
store i8*%v2,i8**%v4,align 8
%v5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%v6=getelementptr inbounds i8,i8*%vX,i64 16
%v7=bitcast i8*%v6 to i8**
store i8*%v5,i8**%v7,align 8
%v8=getelementptr inbounds i8,i8*%vX,i64 24
%v9=bitcast i8*%v8 to i32*
store i32 7,i32*%v9,align 4
%wa=call i8*@sml_alloc(i32 inreg 20)#0
%wb=bitcast i8*%wa to i32*
%wc=getelementptr inbounds i8,i8*%wa,i64 -4
%wd=bitcast i8*%wc to i32*
store i32 1342177296,i32*%wd,align 4
%we=getelementptr inbounds i8,i8*%wa,i64 4
%wf=bitcast i8*%we to i32*
store i32 0,i32*%wf,align 1
store i32 39,i32*%wb,align 4
%wg=load i8*,i8**%h,align 8
%wh=getelementptr inbounds i8,i8*%wa,i64 8
%wi=bitcast i8*%wh to i8**
store i8*%wg,i8**%wi,align 8
%wj=getelementptr inbounds i8,i8*%wa,i64 16
%wk=bitcast i8*%wj to i32*
store i32 2,i32*%wk,align 4
ret i8*%wa
wl:
%wm=getelementptr inbounds i8,i8*%p,i64 8
%wn=bitcast i8*%wm to i8**
%wo=load i8*,i8**%wn,align 8
%wp=bitcast i8*%wo to i8**
%wq=load i8*,i8**%wp,align 8
store i8*%wq,i8**%e,align 8
%wr=getelementptr inbounds i8,i8*%wo,i64 8
%ws=bitcast i8*%wr to i32*
%wt=load i32,i32*%ws,align 4
%wu=getelementptr inbounds i8,i8*%wo,i64 16
%wv=bitcast i8*%wu to i8**
%ww=load i8*,i8**%wv,align 8
store i8*%ww,i8**%f,align 8
%wx=call fastcc i8*@_SMLFN5VarID3Map4findE(i32 inreg 0,i32 inreg 4)
%wy=getelementptr inbounds i8,i8*%wx,i64 16
%wz=bitcast i8*%wy to i8*(i8*,i8*)**
%wA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%wz,align 8
%wB=bitcast i8*%wx to i8**
%wC=load i8*,i8**%wB,align 8
store i8*%wC,i8**%g,align 8
%wD=call i8*@sml_alloc(i32 inreg 20)#0
%wE=getelementptr inbounds i8,i8*%wD,i64 -4
%wF=bitcast i8*%wE to i32*
store i32 1342177296,i32*%wF,align 4
%wG=getelementptr inbounds i8,i8*%wD,i64 12
%wH=bitcast i8*%wG to i32*
store i32 0,i32*%wH,align 1
%wI=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%wJ=bitcast i8*%wD to i8**
store i8*%wI,i8**%wJ,align 8
%wK=getelementptr inbounds i8,i8*%wD,i64 8
%wL=bitcast i8*%wK to i32*
store i32%wt,i32*%wL,align 4
%wM=getelementptr inbounds i8,i8*%wD,i64 16
%wN=bitcast i8*%wM to i32*
store i32 1,i32*%wN,align 4
%wO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%wP=call fastcc i8*%wA(i8*inreg%wO,i8*inreg%wD)
%wQ=icmp eq i8*%wP,null
br i1%wQ,label%wU,label%wR
wR:
%wS=bitcast i8*%wP to i32*
%wT=load i32,i32*%wS,align 4
br label%wU
wU:
%wV=phi i32[%wT,%wR],[%wt,%wl]
%wW=call i8*@sml_alloc(i32 inreg 28)#0
%wX=getelementptr inbounds i8,i8*%wW,i64 -4
%wY=bitcast i8*%wX to i32*
store i32 1342177304,i32*%wY,align 4
store i8*%wW,i8**%g,align 8
%wZ=getelementptr inbounds i8,i8*%wW,i64 12
%w0=bitcast i8*%wZ to i32*
store i32 0,i32*%w0,align 1
%w1=load i8*,i8**%e,align 8
%w2=bitcast i8*%wW to i8**
store i8*null,i8**%e,align 8
store i8*%w1,i8**%w2,align 8
%w3=getelementptr inbounds i8,i8*%wW,i64 8
%w4=bitcast i8*%w3 to i32*
store i32%wV,i32*%w4,align 4
%w5=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%w6=getelementptr inbounds i8,i8*%wW,i64 16
%w7=bitcast i8*%w6 to i8**
store i8*%w5,i8**%w7,align 8
%w8=getelementptr inbounds i8,i8*%wW,i64 24
%w9=bitcast i8*%w8 to i32*
store i32 5,i32*%w9,align 4
%xa=call i8*@sml_alloc(i32 inreg 20)#0
%xb=bitcast i8*%xa to i32*
%xc=getelementptr inbounds i8,i8*%xa,i64 -4
%xd=bitcast i8*%xc to i32*
store i32 1342177296,i32*%xd,align 4
%xe=getelementptr inbounds i8,i8*%xa,i64 4
%xf=bitcast i8*%xe to i32*
store i32 0,i32*%xf,align 1
store i32 18,i32*%xb,align 4
%xg=load i8*,i8**%g,align 8
%xh=getelementptr inbounds i8,i8*%xa,i64 8
%xi=bitcast i8*%xh to i8**
store i8*%xg,i8**%xi,align 8
%xj=getelementptr inbounds i8,i8*%xa,i64 16
%xk=bitcast i8*%xj to i32*
store i32 2,i32*%xk,align 4
ret i8*%xa
xl:
%xm=getelementptr inbounds i8,i8*%p,i64 8
%xn=bitcast i8*%xm to i8**
%xo=load i8*,i8**%xn,align 8
store i8*%xo,i8**%e,align 8
%xp=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%xq=call fastcc i8*@_SMLLN11IDCalcUtils7evalVarE_175(i8*inreg%xp)
%xr=getelementptr inbounds i8,i8*%xq,i64 16
%xs=bitcast i8*%xr to i8*(i8*,i8*)**
%xt=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%xs,align 8
%xu=bitcast i8*%xq to i8**
%xv=load i8*,i8**%xu,align 8
%xw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%xx=call fastcc i8*%xt(i8*inreg%xv,i8*inreg%xw)
store i8*%xx,i8**%e,align 8
%xy=call i8*@sml_alloc(i32 inreg 20)#0
%xz=bitcast i8*%xy to i32*
%xA=getelementptr inbounds i8,i8*%xy,i64 -4
%xB=bitcast i8*%xA to i32*
store i32 1342177296,i32*%xB,align 4
%xC=getelementptr inbounds i8,i8*%xy,i64 4
%xD=bitcast i8*%xC to i32*
store i32 0,i32*%xD,align 1
store i32 40,i32*%xz,align 4
%xE=load i8*,i8**%e,align 8
%xF=getelementptr inbounds i8,i8*%xy,i64 8
%xG=bitcast i8*%xF to i8**
store i8*%xE,i8**%xG,align 8
%xH=getelementptr inbounds i8,i8*%xy,i64 16
%xI=bitcast i8*%xH to i32*
store i32 2,i32*%xI,align 4
ret i8*%xy
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyRuleE_182(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
m:
%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**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%f,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**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
store i8*null,i8**%e,align 8
%n=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%n)
%o=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%l,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 12)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177288,i32*%r,align 4
store i8*%p,i8**%d,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i32*
store i32 1,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils8copyPatsE_171 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils8copyPatsE_171 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 -2147483647,i32*%G,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
%H=bitcast i8**%f to i8***
%I=load i8**,i8***%H,align 8
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*@_SMLLN11IDCalcUtils8copyPatsE_171(i8*inreg%z,i8*inreg%J)
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%e,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
%Q=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%P,i8*inreg%T)
store i8*%U,i8**%f,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**%e,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%f,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
ret i8*%V
}
define internal fastcc i8*@_SMLLN11IDCalcUtils12copyDeclListE_184(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
m:
%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**%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**%e,align 8
store i8*%b,i8**%c,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**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*null,i8**%c,align 8
store i8*%l,i8**%d,align 8
%n=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
%t=call fastcc i8*%q(i8*inreg%s,i8*inreg 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*))
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
store i8*%z,i8**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to i8**
store i8*null,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%K=call fastcc i8*%w(i8*inreg%J,i8*inreg%A)
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8*(i8*,i8*)**
%N=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%M,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
%Q=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%R=call fastcc i8*%N(i8*inreg%P,i8*inreg%Q)
store i8*%R,i8**%c,align 8
%S=call fastcc i8*@_SMLFN4List3revE(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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%V(i8*inreg%X,i8*inreg%ab)
store i8*%ac,i8**%c,align 8
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
%ag=load i8*,i8**%e,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%c,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
ret i8*%ad
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyDeclE_185(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
v:
%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
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
call void@llvm.gcroot(i8**%g,i8*null)#0
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
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
store i8*%a,i8**%m,align 8
store i8*%b,i8**%g,align 8
%p=load atomic i32,i32*@sml_check_flag unordered,align 4
%q=icmp eq i32%p,0
br i1%q,label%t,label%r
r:
call void@sml_check(i32 inreg%p)
%s=load i8*,i8**%g,align 8
br label%t
t:
%u=phi i8*[%s,%r],[%b,%v]
%w=bitcast i8*%u to i32*
%x=load i32,i32*%w,align 4
switch i32%x,label%y[
i32 13,label%p4
i32 17,label%pc
i32 16,label%od
i32 1,label%lk
i32 10,label%jD
i32 15,label%hC
i32 14,label%fP
i32 2,label%fE
i32 3,label%eB
i32 7,label%dG
i32 6,label%cF
i32 5,label%bK
i32 4,label%bz
i32 9,label%bo
i32 8,label%bd
i32 0,label%a2
i32 11,label%aR
i32 12,label%Q
]
y:
store i8*null,i8**%m,align 8
call void@sml_matchcomp_bug()
%z=load i8*,i8**@_SMLZ5Match,align 8
store i8*%z,i8**%g,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
store i8*%A,i8**%h,align 8
%D=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@v,i64 0,i32 2,i64 0),i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=call i8*@sml_alloc(i32 inreg 60)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177336,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%J,i64 56
%N=bitcast i8*%M to i32*
store i32 1,i32*%N,align 4
%O=load i8*,i8**%h,align 8
%P=bitcast i8*%J to i8**
store i8*%O,i8**%P,align 8
call void@sml_raise(i8*inreg%J)#1
unreachable
Q:
store i8*null,i8**%g,align 8
%R=getelementptr inbounds i8,i8*%u,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%i,align 8
%W=getelementptr inbounds i8,i8*%T,i64 16
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%j,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%ad=call fastcc i8*@_SMLLN11IDCalcUtils12copyDeclListE_184(i8*inreg%ac,i8*inreg%ab)
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%g,align 8
%ag=getelementptr inbounds i8,i8*%ad,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%h,align 8
%aj=call i8*@sml_alloc(i32 inreg 28)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177304,i32*%al,align 4
store i8*%aj,i8**%k,align 8
%am=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ap=getelementptr inbounds i8,i8*%aj,i64 8
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 16
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%aj,i64 24
%av=bitcast i8*%au to i32*
store i32 7,i32*%av,align 4
%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
store i8*%aw,i8**%h,align 8
%az=getelementptr inbounds i8,i8*%aw,i64 4
%aA=bitcast i8*%az to i32*
store i32 0,i32*%aA,align 1
%aB=bitcast i8*%aw to i32*
store i32 12,i32*%aB,align 4
%aC=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 8
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aw,i64 16
%aG=bitcast i8*%aF to i32*
store i32 2,i32*%aG,align 4
%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**%g,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=load i8*,i8**%h,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
ret i8*%aH
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**%m,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=load i8*,i8**%g,align 8
%aY=getelementptr inbounds i8,i8*%aS,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aS,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 3,i32*%a1,align 4
ret i8*%aS
a2:
%a3=call i8*@sml_alloc(i32 inreg 20)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177296,i32*%a5,align 4
%a6=load i8*,i8**%m,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=load i8*,i8**%g,align 8
%a9=getelementptr inbounds i8,i8*%a3,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a3,i64 16
%bc=bitcast i8*%bb to i32*
store i32 3,i32*%bc,align 4
ret i8*%a3
bd:
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
%bh=load i8*,i8**%m,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=load i8*,i8**%g,align 8
%bk=getelementptr inbounds i8,i8*%be,i64 8
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%be,i64 16
%bn=bitcast i8*%bm to i32*
store i32 3,i32*%bn,align 4
ret i8*%be
bo:
%bp=call i8*@sml_alloc(i32 inreg 20)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177296,i32*%br,align 4
%bs=load i8*,i8**%m,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%g,align 8
%bv=getelementptr inbounds i8,i8*%bp,i64 8
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bp,i64 16
%by=bitcast i8*%bx to i32*
store i32 3,i32*%by,align 4
ret i8*%bp
bz:
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177296,i32*%bC,align 4
%bD=load i8*,i8**%m,align 8
%bE=bitcast i8*%bA to i8**
store i8*%bD,i8**%bE,align 8
%bF=load i8*,i8**%g,align 8
%bG=getelementptr inbounds i8,i8*%bA,i64 8
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bA,i64 16
%bJ=bitcast i8*%bI to i32*
store i32 3,i32*%bJ,align 4
ret i8*%bA
bK:
%bL=getelementptr inbounds i8,i8*%u,i64 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
store i8*%bN,i8**%g,align 8
%bO=bitcast i8*%bN to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%h,align 8
%bQ=load i8*,i8**%m,align 8
%bR=call fastcc i8*@_SMLLN11IDCalcUtils6evalIdE_178(i8*inreg%bQ)
%bS=getelementptr inbounds i8,i8*%bR,i64 16
%bT=bitcast i8*%bS to i8*(i8*,i8*)**
%bU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bT,align 8
%bV=bitcast i8*%bR to i8**
%bW=load i8*,i8**%bV,align 8
store i8*%bW,i8**%i,align 8
%bX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bY=getelementptr inbounds i8,i8*%bX,i64 8
%bZ=bitcast i8*%bY to i32*
%b0=load i32,i32*%bZ,align 4
%b1=call i8*@sml_alloc(i32 inreg 4)#0
%b2=bitcast i8*%b1 to i32*
%b3=getelementptr inbounds i8,i8*%b1,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 4,i32*%b4,align 4
store i32%b0,i32*%b2,align 4
%b5=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b6=call fastcc i8*%bU(i8*inreg%b5,i8*inreg%b1)
%b7=bitcast i8*%b6 to i32*
%b8=load i32,i32*%b7,align 4
%b9=call i8*@sml_alloc(i32 inreg 20)#0
%ca=getelementptr inbounds i8,i8*%b9,i64 -4
%cb=bitcast i8*%ca to i32*
store i32 1342177296,i32*%cb,align 4
store i8*%b9,i8**%g,align 8
%cc=getelementptr inbounds i8,i8*%b9,i64 12
%cd=bitcast i8*%cc to i32*
store i32 0,i32*%cd,align 1
%ce=load i8*,i8**%h,align 8
%cf=bitcast i8*%b9 to i8**
store i8*null,i8**%h,align 8
store i8*%ce,i8**%cf,align 8
%cg=getelementptr inbounds i8,i8*%b9,i64 8
%ch=bitcast i8*%cg to i32*
store i32%b8,i32*%ch,align 4
%ci=getelementptr inbounds i8,i8*%b9,i64 16
%cj=bitcast i8*%ci to i32*
store i32 1,i32*%cj,align 4
%ck=call i8*@sml_alloc(i32 inreg 20)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177296,i32*%cm,align 4
store i8*%ck,i8**%h,align 8
%cn=getelementptr inbounds i8,i8*%ck,i64 4
%co=bitcast i8*%cn to i32*
store i32 0,i32*%co,align 1
%cp=bitcast i8*%ck to i32*
store i32 5,i32*%cp,align 4
%cq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cr=getelementptr inbounds i8,i8*%ck,i64 8
%cs=bitcast i8*%cr to i8**
store i8*%cq,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%ck,i64 16
%cu=bitcast i8*%ct to i32*
store i32 2,i32*%cu,align 4
%cv=call i8*@sml_alloc(i32 inreg 20)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177296,i32*%cx,align 4
%cy=load i8*,i8**%m,align 8
%cz=bitcast i8*%cv to i8**
store i8*%cy,i8**%cz,align 8
%cA=load i8*,i8**%h,align 8
%cB=getelementptr inbounds i8,i8*%cv,i64 8
%cC=bitcast i8*%cB to i8**
store i8*%cA,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cv,i64 16
%cE=bitcast i8*%cD to i32*
store i32 3,i32*%cE,align 4
ret i8*%cv
cF:
%cG=getelementptr inbounds i8,i8*%u,i64 8
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%g,align 8
%cJ=getelementptr inbounds i8,i8*%cI,i64 8
%cK=bitcast i8*%cJ to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%h,align 8
%cM=getelementptr inbounds i8,i8*%cI,i64 16
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
store i8*%cO,i8**%i,align 8
%cP=load i8*,i8**%m,align 8
%cQ=call fastcc i8*@_SMLLN11IDCalcUtils6evalIdE_178(i8*inreg%cP)
%cR=getelementptr inbounds i8,i8*%cQ,i64 16
%cS=bitcast i8*%cR to i8*(i8*,i8*)**
%cT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cS,align 8
%cU=bitcast i8*%cQ to i8**
%cV=load i8*,i8**%cU,align 8
store i8*%cV,i8**%j,align 8
%cW=bitcast i8**%g to i32**
%cX=load i32*,i32**%cW,align 8
store i8*null,i8**%g,align 8
%cY=load i32,i32*%cX,align 4
%cZ=call i8*@sml_alloc(i32 inreg 4)#0
%c0=bitcast i8*%cZ to i32*
%c1=getelementptr inbounds i8,i8*%cZ,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32 4,i32*%c2,align 4
store i32%cY,i32*%c0,align 4
%c3=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%c4=call fastcc i8*%cT(i8*inreg%c3,i8*inreg%cZ)
%c5=bitcast i8*%c4 to i32*
%c6=load i32,i32*%c5,align 4
%c7=call i8*@sml_alloc(i32 inreg 28)#0
%c8=getelementptr inbounds i8,i8*%c7,i64 -4
%c9=bitcast i8*%c8 to i32*
store i32 1342177304,i32*%c9,align 4
store i8*%c7,i8**%g,align 8
%da=getelementptr inbounds i8,i8*%c7,i64 4
%db=bitcast i8*%da to i32*
store i32 0,i32*%db,align 1
%dc=bitcast i8*%c7 to i32*
store i32%c6,i32*%dc,align 4
%dd=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%de=getelementptr inbounds i8,i8*%c7,i64 8
%df=bitcast i8*%de to i8**
store i8*%dd,i8**%df,align 8
%dg=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dh=getelementptr inbounds i8,i8*%c7,i64 16
%di=bitcast i8*%dh to i8**
store i8*%dg,i8**%di,align 8
%dj=getelementptr inbounds i8,i8*%c7,i64 24
%dk=bitcast i8*%dj to i32*
store i32 6,i32*%dk,align 4
%dl=call i8*@sml_alloc(i32 inreg 20)#0
%dm=getelementptr inbounds i8,i8*%dl,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177296,i32*%dn,align 4
store i8*%dl,i8**%h,align 8
%do=getelementptr inbounds i8,i8*%dl,i64 4
%dp=bitcast i8*%do to i32*
store i32 0,i32*%dp,align 1
%dq=bitcast i8*%dl to i32*
store i32 6,i32*%dq,align 4
%dr=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ds=getelementptr inbounds i8,i8*%dl,i64 8
%dt=bitcast i8*%ds to i8**
store i8*%dr,i8**%dt,align 8
%du=getelementptr inbounds i8,i8*%dl,i64 16
%dv=bitcast i8*%du to i32*
store i32 2,i32*%dv,align 4
%dw=call i8*@sml_alloc(i32 inreg 20)#0
%dx=getelementptr inbounds i8,i8*%dw,i64 -4
%dy=bitcast i8*%dx to i32*
store i32 1342177296,i32*%dy,align 4
%dz=load i8*,i8**%m,align 8
%dA=bitcast i8*%dw to i8**
store i8*%dz,i8**%dA,align 8
%dB=load i8*,i8**%h,align 8
%dC=getelementptr inbounds i8,i8*%dw,i64 8
%dD=bitcast i8*%dC to i8**
store i8*%dB,i8**%dD,align 8
%dE=getelementptr inbounds i8,i8*%dw,i64 16
%dF=bitcast i8*%dE to i32*
store i32 3,i32*%dF,align 4
ret i8*%dw
dG:
%dH=getelementptr inbounds i8,i8*%u,i64 8
%dI=bitcast i8*%dH to i8**
%dJ=load i8*,i8**%dI,align 8
store i8*%dJ,i8**%g,align 8
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
store i8*%dL,i8**%h,align 8
%dM=load i8*,i8**%m,align 8
%dN=call fastcc i8*@_SMLLN11IDCalcUtils6evalIdE_178(i8*inreg%dM)
%dO=getelementptr inbounds i8,i8*%dN,i64 16
%dP=bitcast i8*%dO to i8*(i8*,i8*)**
%dQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dP,align 8
%dR=bitcast i8*%dN to i8**
%dS=load i8*,i8**%dR,align 8
store i8*%dS,i8**%i,align 8
%dT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dU=getelementptr inbounds i8,i8*%dT,i64 8
%dV=bitcast i8*%dU to i32*
%dW=load i32,i32*%dV,align 4
%dX=call i8*@sml_alloc(i32 inreg 4)#0
%dY=bitcast i8*%dX to i32*
%dZ=getelementptr inbounds i8,i8*%dX,i64 -4
%d0=bitcast i8*%dZ to i32*
store i32 4,i32*%d0,align 4
store i32%dW,i32*%dY,align 4
%d1=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%d2=call fastcc i8*%dQ(i8*inreg%d1,i8*inreg%dX)
%d3=bitcast i8*%d2 to i32*
%d4=load i32,i32*%d3,align 4
%d5=call i8*@sml_alloc(i32 inreg 20)#0
%d6=getelementptr inbounds i8,i8*%d5,i64 -4
%d7=bitcast i8*%d6 to i32*
store i32 1342177296,i32*%d7,align 4
store i8*%d5,i8**%g,align 8
%d8=getelementptr inbounds i8,i8*%d5,i64 12
%d9=bitcast i8*%d8 to i32*
store i32 0,i32*%d9,align 1
%ea=load i8*,i8**%h,align 8
%eb=bitcast i8*%d5 to i8**
store i8*null,i8**%h,align 8
store i8*%ea,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d5,i64 8
%ed=bitcast i8*%ec to i32*
store i32%d4,i32*%ed,align 4
%ee=getelementptr inbounds i8,i8*%d5,i64 16
%ef=bitcast i8*%ee to i32*
store i32 1,i32*%ef,align 4
%eg=call i8*@sml_alloc(i32 inreg 20)#0
%eh=getelementptr inbounds i8,i8*%eg,i64 -4
%ei=bitcast i8*%eh to i32*
store i32 1342177296,i32*%ei,align 4
store i8*%eg,i8**%h,align 8
%ej=getelementptr inbounds i8,i8*%eg,i64 4
%ek=bitcast i8*%ej to i32*
store i32 0,i32*%ek,align 1
%el=bitcast i8*%eg to i32*
store i32 7,i32*%el,align 4
%em=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%en=getelementptr inbounds i8,i8*%eg,i64 8
%eo=bitcast i8*%en to i8**
store i8*%em,i8**%eo,align 8
%ep=getelementptr inbounds i8,i8*%eg,i64 16
%eq=bitcast i8*%ep to i32*
store i32 2,i32*%eq,align 4
%er=call i8*@sml_alloc(i32 inreg 20)#0
%es=getelementptr inbounds i8,i8*%er,i64 -4
%et=bitcast i8*%es to i32*
store i32 1342177296,i32*%et,align 4
%eu=load i8*,i8**%m,align 8
%ev=bitcast i8*%er to i8**
store i8*%eu,i8**%ev,align 8
%ew=load i8*,i8**%h,align 8
%ex=getelementptr inbounds i8,i8*%er,i64 8
%ey=bitcast i8*%ex to i8**
store i8*%ew,i8**%ey,align 8
%ez=getelementptr inbounds i8,i8*%er,i64 16
%eA=bitcast i8*%ez to i32*
store i32 3,i32*%eA,align 4
ret i8*%er
eB:
%eC=getelementptr inbounds i8,i8*%u,i64 8
%eD=bitcast i8*%eC to i8**
%eE=load i8*,i8**%eD,align 8
store i8*%eE,i8**%g,align 8
%eF=bitcast i8*%eE to i8***
%eG=load i8**,i8***%eF,align 8
%eH=load i8*,i8**%eG,align 8
store i8*%eH,i8**%i,align 8
%eI=getelementptr inbounds i8,i8*%eE,i64 8
%eJ=bitcast i8*%eI to i8**
%eK=load i8*,i8**%eJ,align 8
store i8*%eK,i8**%j,align 8
%eL=load i8*,i8**%m,align 8
%eM=call fastcc i8*@_SMLLN11IDCalcUtils7evalVarE_175(i8*inreg%eL)
%eN=getelementptr inbounds i8,i8*%eM,i64 16
%eO=bitcast i8*%eN to i8*(i8*,i8*)**
%eP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eO,align 8
%eQ=bitcast i8*%eM to i8**
%eR=load i8*,i8**%eQ,align 8
%eS=bitcast i8**%g to i8***
%eT=load i8**,i8***%eS,align 8
store i8*null,i8**%g,align 8
%eU=load i8*,i8**%eT,align 8
%eV=getelementptr inbounds i8,i8*%eU,i64 8
%eW=bitcast i8*%eV to i8**
%eX=load i8*,i8**%eW,align 8
%eY=call fastcc i8*%eP(i8*inreg%eR,i8*inreg%eX)
store i8*%eY,i8**%g,align 8
%eZ=call i8*@sml_alloc(i32 inreg 20)#0
%e0=getelementptr inbounds i8,i8*%eZ,i64 -4
%e1=bitcast i8*%e0 to i32*
store i32 1342177296,i32*%e1,align 4
store i8*%eZ,i8**%h,align 8
%e2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%e3=bitcast i8*%eZ to i8**
store i8*%e2,i8**%e3,align 8
%e4=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%e5=getelementptr inbounds i8,i8*%eZ,i64 8
%e6=bitcast i8*%e5 to i8**
store i8*%e4,i8**%e6,align 8
%e7=getelementptr inbounds i8,i8*%eZ,i64 16
%e8=bitcast i8*%e7 to i32*
store i32 3,i32*%e8,align 4
%e9=call i8*@sml_alloc(i32 inreg 20)#0
%fa=getelementptr inbounds i8,i8*%e9,i64 -4
%fb=bitcast i8*%fa to i32*
store i32 1342177296,i32*%fb,align 4
store i8*%e9,i8**%g,align 8
%fc=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fd=bitcast i8*%e9 to i8**
store i8*%fc,i8**%fd,align 8
%fe=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ff=getelementptr inbounds i8,i8*%e9,i64 8
%fg=bitcast i8*%ff to i8**
store i8*%fe,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%e9,i64 16
%fi=bitcast i8*%fh to i32*
store i32 3,i32*%fi,align 4
%fj=call i8*@sml_alloc(i32 inreg 20)#0
%fk=getelementptr inbounds i8,i8*%fj,i64 -4
%fl=bitcast i8*%fk to i32*
store i32 1342177296,i32*%fl,align 4
store i8*%fj,i8**%h,align 8
%fm=getelementptr inbounds i8,i8*%fj,i64 4
%fn=bitcast i8*%fm to i32*
store i32 0,i32*%fn,align 1
%fo=bitcast i8*%fj to i32*
store i32 3,i32*%fo,align 4
%fp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fq=getelementptr inbounds i8,i8*%fj,i64 8
%fr=bitcast i8*%fq to i8**
store i8*%fp,i8**%fr,align 8
%fs=getelementptr inbounds i8,i8*%fj,i64 16
%ft=bitcast i8*%fs to i32*
store i32 2,i32*%ft,align 4
%fu=call i8*@sml_alloc(i32 inreg 20)#0
%fv=getelementptr inbounds i8,i8*%fu,i64 -4
%fw=bitcast i8*%fv to i32*
store i32 1342177296,i32*%fw,align 4
%fx=load i8*,i8**%m,align 8
%fy=bitcast i8*%fu to i8**
store i8*%fx,i8**%fy,align 8
%fz=load i8*,i8**%h,align 8
%fA=getelementptr inbounds i8,i8*%fu,i64 8
%fB=bitcast i8*%fA to i8**
store i8*%fz,i8**%fB,align 8
%fC=getelementptr inbounds i8,i8*%fu,i64 16
%fD=bitcast i8*%fC to i32*
store i32 3,i32*%fD,align 4
ret i8*%fu
fE:
%fF=call i8*@sml_alloc(i32 inreg 20)#0
%fG=getelementptr inbounds i8,i8*%fF,i64 -4
%fH=bitcast i8*%fG to i32*
store i32 1342177296,i32*%fH,align 4
%fI=load i8*,i8**%m,align 8
%fJ=bitcast i8*%fF to i8**
store i8*%fI,i8**%fJ,align 8
%fK=load i8*,i8**%g,align 8
%fL=getelementptr inbounds i8,i8*%fF,i64 8
%fM=bitcast i8*%fL to i8**
store i8*%fK,i8**%fM,align 8
%fN=getelementptr inbounds i8,i8*%fF,i64 16
%fO=bitcast i8*%fN to i32*
store i32 3,i32*%fO,align 4
ret i8*%fF
fP:
store i8*null,i8**%g,align 8
%fQ=getelementptr inbounds i8,i8*%u,i64 8
%fR=bitcast i8*%fQ to i8**
%fS=load i8*,i8**%fR,align 8
%fT=bitcast i8*%fS to i8**
%fU=load i8*,i8**%fT,align 8
store i8*%fU,i8**%i,align 8
%fV=getelementptr inbounds i8,i8*%fS,i64 8
%fW=bitcast i8*%fV to i8**
%fX=load i8*,i8**%fW,align 8
store i8*%fX,i8**%j,align 8
%fY=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fZ=getelementptr inbounds i8,i8*%fY,i64 16
%f0=bitcast i8*%fZ to i8*(i8*,i8*)**
%f1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f0,align 8
%f2=bitcast i8*%fY to i8**
%f3=load i8*,i8**%f2,align 8
%f4=call fastcc i8*%f1(i8*inreg%f3,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*))
%f5=getelementptr inbounds i8,i8*%f4,i64 16
%f6=bitcast i8*%f5 to i8*(i8*,i8*)**
%f7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f6,align 8
%f8=bitcast i8*%f4 to i8**
%f9=load i8*,i8**%f8,align 8
%ga=load i8*,i8**%i,align 8
%gb=call fastcc i8*%f7(i8*inreg%f9,i8*inreg%ga)
store i8*%gb,i8**%g,align 8
%gc=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%gd=call fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_160(i8*inreg%gc)
%ge=getelementptr inbounds i8,i8*%gd,i64 16
%gf=bitcast i8*%ge to i8*(i8*,i8*)**
%gg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gf,align 8
%gh=bitcast i8*%gd to i8**
%gi=load i8*,i8**%gh,align 8
%gj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gk=call fastcc i8*%gg(i8*inreg%gi,i8*inreg%gj)
%gl=bitcast i8*%gk to i8**
%gm=load i8*,i8**%gl,align 8
store i8*%gm,i8**%g,align 8
%gn=getelementptr inbounds i8,i8*%gk,i64 8
%go=bitcast i8*%gn to i8**
%gp=load i8*,i8**%go,align 8
store i8*%gp,i8**%h,align 8
%gq=call fastcc i8*@_SMLFN8ListPair5mapEqE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gr=getelementptr inbounds i8,i8*%gq,i64 16
%gs=bitcast i8*%gr to i8*(i8*,i8*)**
%gt=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gs,align 8
%gu=bitcast i8*%gq to i8**
%gv=load i8*,i8**%gu,align 8
store i8*%gv,i8**%k,align 8
%gw=call i8*@sml_alloc(i32 inreg 12)#0
%gx=getelementptr inbounds i8,i8*%gw,i64 -4
%gy=bitcast i8*%gx to i32*
store i32 1342177288,i32*%gy,align 4
store i8*%gw,i8**%l,align 8
%gz=load i8*,i8**%g,align 8
%gA=bitcast i8*%gw to i8**
store i8*%gz,i8**%gA,align 8
%gB=getelementptr inbounds i8,i8*%gw,i64 8
%gC=bitcast i8*%gB to i32*
store i32 1,i32*%gC,align 4
%gD=call i8*@sml_alloc(i32 inreg 28)#0
%gE=getelementptr inbounds i8,i8*%gD,i64 -4
%gF=bitcast i8*%gE to i32*
store i32 1342177304,i32*%gF,align 4
%gG=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%gH=bitcast i8*%gD to i8**
store i8*%gG,i8**%gH,align 8
%gI=getelementptr inbounds i8,i8*%gD,i64 8
%gJ=bitcast i8*%gI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8recbinds_250 to void(...)*),void(...)**%gJ,align 8
%gK=getelementptr inbounds i8,i8*%gD,i64 16
%gL=bitcast i8*%gK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8recbinds_250 to void(...)*),void(...)**%gL,align 8
%gM=getelementptr inbounds i8,i8*%gD,i64 24
%gN=bitcast i8*%gM to i32*
store i32 -2147483647,i32*%gN,align 4
%gO=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%gP=call fastcc i8*%gt(i8*inreg%gO,i8*inreg%gD)
%gQ=getelementptr inbounds i8,i8*%gP,i64 16
%gR=bitcast i8*%gQ to i8*(i8*,i8*)**
%gS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gR,align 8
%gT=bitcast i8*%gP to i8**
%gU=load i8*,i8**%gT,align 8
store i8*%gU,i8**%k,align 8
%gV=call i8*@sml_alloc(i32 inreg 20)#0
%gW=getelementptr inbounds i8,i8*%gV,i64 -4
%gX=bitcast i8*%gW to i32*
store i32 1342177296,i32*%gX,align 4
%gY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gZ=bitcast i8*%gV to i8**
store i8*%gY,i8**%gZ,align 8
%g0=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%g1=getelementptr inbounds i8,i8*%gV,i64 8
%g2=bitcast i8*%g1 to i8**
store i8*%g0,i8**%g2,align 8
%g3=getelementptr inbounds i8,i8*%gV,i64 16
%g4=bitcast i8*%g3 to i32*
store i32 3,i32*%g4,align 4
%g5=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%g6=call fastcc i8*%gS(i8*inreg%g5,i8*inreg%gV)
store i8*%g6,i8**%h,align 8
%g7=call i8*@sml_alloc(i32 inreg 20)#0
%g8=getelementptr inbounds i8,i8*%g7,i64 -4
%g9=bitcast i8*%g8 to i32*
store i32 1342177296,i32*%g9,align 4
store i8*%g7,i8**%i,align 8
%ha=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hb=bitcast i8*%g7 to i8**
store i8*%ha,i8**%hb,align 8
%hc=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hd=getelementptr inbounds i8,i8*%g7,i64 8
%he=bitcast i8*%hd to i8**
store i8*%hc,i8**%he,align 8
%hf=getelementptr inbounds i8,i8*%g7,i64 16
%hg=bitcast i8*%hf to i32*
store i32 3,i32*%hg,align 4
%hh=call i8*@sml_alloc(i32 inreg 20)#0
%hi=getelementptr inbounds i8,i8*%hh,i64 -4
%hj=bitcast i8*%hi to i32*
store i32 1342177296,i32*%hj,align 4
store i8*%hh,i8**%h,align 8
%hk=getelementptr inbounds i8,i8*%hh,i64 4
%hl=bitcast i8*%hk to i32*
store i32 0,i32*%hl,align 1
%hm=bitcast i8*%hh to i32*
store i32 14,i32*%hm,align 4
%hn=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ho=getelementptr inbounds i8,i8*%hh,i64 8
%hp=bitcast i8*%ho to i8**
store i8*%hn,i8**%hp,align 8
%hq=getelementptr inbounds i8,i8*%hh,i64 16
%hr=bitcast i8*%hq to i32*
store i32 2,i32*%hr,align 4
%hs=call i8*@sml_alloc(i32 inreg 20)#0
%ht=getelementptr inbounds i8,i8*%hs,i64 -4
%hu=bitcast i8*%ht to i32*
store i32 1342177296,i32*%hu,align 4
%hv=load i8*,i8**%g,align 8
%hw=bitcast i8*%hs to i8**
store i8*%hv,i8**%hw,align 8
%hx=load i8*,i8**%h,align 8
%hy=getelementptr inbounds i8,i8*%hs,i64 8
%hz=bitcast i8*%hy to i8**
store i8*%hx,i8**%hz,align 8
%hA=getelementptr inbounds i8,i8*%hs,i64 16
%hB=bitcast i8*%hA to i32*
store i32 3,i32*%hB,align 4
ret i8*%hs
hC:
store i8*null,i8**%g,align 8
%hD=getelementptr inbounds i8,i8*%u,i64 8
%hE=bitcast i8*%hD to i8**
%hF=load i8*,i8**%hE,align 8
%hG=bitcast i8*%hF to i8**
%hH=load i8*,i8**%hG,align 8
store i8*%hH,i8**%i,align 8
%hI=getelementptr inbounds i8,i8*%hF,i64 8
%hJ=bitcast i8*%hI to i8**
%hK=load i8*,i8**%hJ,align 8
store i8*%hK,i8**%j,align 8
%hL=getelementptr inbounds i8,i8*%hF,i64 16
%hM=bitcast i8*%hL to i8**
%hN=load i8*,i8**%hM,align 8
store i8*%hN,i8**%k,align 8
%hO=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%hP=getelementptr inbounds i8,i8*%hO,i64 16
%hQ=bitcast i8*%hP to i8*(i8*,i8*)**
%hR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hQ,align 8
%hS=bitcast i8*%hO to i8**
%hT=load i8*,i8**%hS,align 8
%hU=call fastcc i8*%hR(i8*inreg%hT,i8*inreg 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*))
%hV=getelementptr inbounds i8,i8*%hU,i64 16
%hW=bitcast i8*%hV to i8*(i8*,i8*)**
%hX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hW,align 8
%hY=bitcast i8*%hU to i8**
%hZ=load i8*,i8**%hY,align 8
%h0=load i8*,i8**%k,align 8
%h1=call fastcc i8*%hX(i8*inreg%hZ,i8*inreg%h0)
store i8*%h1,i8**%g,align 8
%h2=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%h3=call fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_160(i8*inreg%h2)
%h4=getelementptr inbounds i8,i8*%h3,i64 16
%h5=bitcast i8*%h4 to i8*(i8*,i8*)**
%h6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h5,align 8
%h7=bitcast i8*%h3 to i8**
%h8=load i8*,i8**%h7,align 8
%h9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ia=call fastcc i8*%h6(i8*inreg%h8,i8*inreg%h9)
%ib=bitcast i8*%ia to i8**
%ic=load i8*,i8**%ib,align 8
store i8*%ic,i8**%g,align 8
%id=getelementptr inbounds i8,i8*%ia,i64 8
%ie=bitcast i8*%id to i8**
%if=load i8*,i8**%ie,align 8
store i8*%if,i8**%h,align 8
%ig=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ih=getelementptr inbounds i8,i8*%ig,i64 16
%ii=bitcast i8*%ih to i8*(i8*,i8*)**
%ij=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ii,align 8
%ik=bitcast i8*%ig to i8**
%il=load i8*,i8**%ik,align 8
store i8*%il,i8**%l,align 8
%im=call i8*@sml_alloc(i32 inreg 20)#0
%in=getelementptr inbounds i8,i8*%im,i64 -4
%io=bitcast i8*%in to i32*
store i32 1342177296,i32*%io,align 4
%ip=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%iq=bitcast i8*%im to i8**
store i8*%ip,i8**%iq,align 8
%ir=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%is=getelementptr inbounds i8,i8*%im,i64 8
%it=bitcast i8*%is to i8**
store i8*%ir,i8**%it,align 8
%iu=getelementptr inbounds i8,i8*%im,i64 16
%iv=bitcast i8*%iu to i32*
store i32 3,i32*%iv,align 4
%iw=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ix=call fastcc i8*%ij(i8*inreg%iw,i8*inreg%im)
store i8*%ix,i8**%h,align 8
%iy=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%iz=getelementptr inbounds i8,i8*%iy,i64 16
%iA=bitcast i8*%iz to i8*(i8*,i8*)**
%iB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iA,align 8
%iC=bitcast i8*%iy to i8**
%iD=load i8*,i8**%iC,align 8
store i8*%iD,i8**%k,align 8
%iE=call i8*@sml_alloc(i32 inreg 12)#0
%iF=getelementptr inbounds i8,i8*%iE,i64 -4
%iG=bitcast i8*%iF to i32*
store i32 1342177288,i32*%iG,align 4
store i8*%iE,i8**%l,align 8
%iH=load i8*,i8**%g,align 8
%iI=bitcast i8*%iE to i8**
store i8*%iH,i8**%iI,align 8
%iJ=getelementptr inbounds i8,i8*%iE,i64 8
%iK=bitcast i8*%iJ to i32*
store i32 1,i32*%iK,align 4
%iL=call i8*@sml_alloc(i32 inreg 28)#0
%iM=getelementptr inbounds i8,i8*%iL,i64 -4
%iN=bitcast i8*%iM to i32*
store i32 1342177304,i32*%iN,align 4
%iO=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%iP=bitcast i8*%iL to i8**
store i8*%iO,i8**%iP,align 8
%iQ=getelementptr inbounds i8,i8*%iL,i64 8
%iR=bitcast i8*%iQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8recbinds_247 to void(...)*),void(...)**%iR,align 8
%iS=getelementptr inbounds i8,i8*%iL,i64 16
%iT=bitcast i8*%iS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8recbinds_247 to void(...)*),void(...)**%iT,align 8
%iU=getelementptr inbounds i8,i8*%iL,i64 24
%iV=bitcast i8*%iU to i32*
store i32 -2147483647,i32*%iV,align 4
%iW=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%iX=call fastcc i8*%iB(i8*inreg%iW,i8*inreg%iL)
%iY=getelementptr inbounds i8,i8*%iX,i64 16
%iZ=bitcast i8*%iY to i8*(i8*,i8*)**
%i0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iZ,align 8
%i1=bitcast i8*%iX to i8**
%i2=load i8*,i8**%i1,align 8
%i3=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%i4=call fastcc i8*%i0(i8*inreg%i2,i8*inreg%i3)
store i8*%i4,i8**%h,align 8
%i5=call i8*@sml_alloc(i32 inreg 28)#0
%i6=getelementptr inbounds i8,i8*%i5,i64 -4
%i7=bitcast i8*%i6 to i32*
store i32 1342177304,i32*%i7,align 4
store i8*%i5,i8**%k,align 8
%i8=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%i9=bitcast i8*%i5 to i8**
store i8*%i8,i8**%i9,align 8
%ja=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%jb=getelementptr inbounds i8,i8*%i5,i64 8
%jc=bitcast i8*%jb to i8**
store i8*%ja,i8**%jc,align 8
%jd=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%je=getelementptr inbounds i8,i8*%i5,i64 16
%jf=bitcast i8*%je to i8**
store i8*%jd,i8**%jf,align 8
%jg=getelementptr inbounds i8,i8*%i5,i64 24
%jh=bitcast i8*%jg to i32*
store i32 7,i32*%jh,align 4
%ji=call i8*@sml_alloc(i32 inreg 20)#0
%jj=getelementptr inbounds i8,i8*%ji,i64 -4
%jk=bitcast i8*%jj to i32*
store i32 1342177296,i32*%jk,align 4
store i8*%ji,i8**%h,align 8
%jl=getelementptr inbounds i8,i8*%ji,i64 4
%jm=bitcast i8*%jl to i32*
store i32 0,i32*%jm,align 1
%jn=bitcast i8*%ji to i32*
store i32 15,i32*%jn,align 4
%jo=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%jp=getelementptr inbounds i8,i8*%ji,i64 8
%jq=bitcast i8*%jp to i8**
store i8*%jo,i8**%jq,align 8
%jr=getelementptr inbounds i8,i8*%ji,i64 16
%js=bitcast i8*%jr to i32*
store i32 2,i32*%js,align 4
%jt=call i8*@sml_alloc(i32 inreg 20)#0
%ju=getelementptr inbounds i8,i8*%jt,i64 -4
%jv=bitcast i8*%ju to i32*
store i32 1342177296,i32*%jv,align 4
%jw=load i8*,i8**%g,align 8
%jx=bitcast i8*%jt to i8**
store i8*%jw,i8**%jx,align 8
%jy=load i8*,i8**%h,align 8
%jz=getelementptr inbounds i8,i8*%jt,i64 8
%jA=bitcast i8*%jz to i8**
store i8*%jy,i8**%jA,align 8
%jB=getelementptr inbounds i8,i8*%jt,i64 16
%jC=bitcast i8*%jB to i32*
store i32 3,i32*%jC,align 4
ret i8*%jt
jD:
store i8*null,i8**%g,align 8
%jE=getelementptr inbounds i8,i8*%u,i64 8
%jF=bitcast i8*%jE to i8**
%jG=load i8*,i8**%jF,align 8
store i8*%jG,i8**%h,align 8
%jH=getelementptr inbounds i8,i8*%jG,i64 8
%jI=bitcast i8*%jH to i8**
%jJ=load i8*,i8**%jI,align 8
store i8*%jJ,i8**%j,align 8
%jK=getelementptr inbounds i8,i8*%jG,i64 16
%jL=bitcast i8*%jK to i8**
%jM=load i8*,i8**%jL,align 8
store i8*%jM,i8**%k,align 8
%jN=getelementptr inbounds i8,i8*%jG,i64 32
%jO=bitcast i8*%jN to i8**
%jP=load i8*,i8**%jO,align 8
store i8*%jP,i8**%l,align 8
%jQ=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%jR=getelementptr inbounds i8,i8*%jQ,i64 16
%jS=bitcast i8*%jR to i8*(i8*,i8*)**
%jT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jS,align 8
%jU=bitcast i8*%jQ to i8**
%jV=load i8*,i8**%jU,align 8
store i8*%jV,i8**%g,align 8
%jW=call i8*@sml_alloc(i32 inreg 12)#0
%jX=getelementptr inbounds i8,i8*%jW,i64 -4
%jY=bitcast i8*%jX to i32*
store i32 1342177288,i32*%jY,align 4
store i8*%jW,i8**%i,align 8
%jZ=load i8*,i8**%m,align 8
%j0=bitcast i8*%jW to i8**
store i8*%jZ,i8**%j0,align 8
%j1=getelementptr inbounds i8,i8*%jW,i64 8
%j2=bitcast i8*%j1 to i32*
store i32 1,i32*%j2,align 4
%j3=call i8*@sml_alloc(i32 inreg 28)#0
%j4=getelementptr inbounds i8,i8*%j3,i64 -4
%j5=bitcast i8*%j4 to i32*
store i32 1342177304,i32*%j5,align 4
%j6=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%j7=bitcast i8*%j3 to i8**
store i8*%j6,i8**%j7,align 8
%j8=getelementptr inbounds i8,i8*%j3,i64 8
%j9=bitcast i8*%j8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5rules_244 to void(...)*),void(...)**%j9,align 8
%ka=getelementptr inbounds i8,i8*%j3,i64 16
%kb=bitcast i8*%ka to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5rules_244 to void(...)*),void(...)**%kb,align 8
%kc=getelementptr inbounds i8,i8*%j3,i64 24
%kd=bitcast i8*%kc to i32*
store i32 -2147483647,i32*%kd,align 4
%ke=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kf=call fastcc i8*%jT(i8*inreg%ke,i8*inreg%j3)
%kg=getelementptr inbounds i8,i8*%kf,i64 16
%kh=bitcast i8*%kg to i8*(i8*,i8*)**
%ki=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kh,align 8
%kj=bitcast i8*%kf to i8**
%kk=load i8*,i8**%kj,align 8
%kl=load i8*,i8**%h,align 8
%km=getelementptr inbounds i8,i8*%kl,i64 24
%kn=bitcast i8*%km to i8**
%ko=load i8*,i8**%kn,align 8
%kp=call fastcc i8*%ki(i8*inreg%kk,i8*inreg%ko)
store i8*%kp,i8**%g,align 8
%kq=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%kr=call fastcc i8*@_SMLLN11IDCalcUtils6newVarE_155(i8*inreg%kq)
%ks=getelementptr inbounds i8,i8*%kr,i64 16
%kt=bitcast i8*%ks to i8*(i8*,i8*)**
%ku=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kt,align 8
%kv=bitcast i8*%kr to i8**
%kw=load i8*,i8**%kv,align 8
%kx=bitcast i8**%h to i8***
%ky=load i8**,i8***%kx,align 8
store i8*null,i8**%h,align 8
%kz=load i8*,i8**%ky,align 8
%kA=call fastcc i8*%ku(i8*inreg%kw,i8*inreg%kz)
%kB=bitcast i8*%kA to i8**
%kC=load i8*,i8**%kB,align 8
store i8*%kC,i8**%h,align 8
%kD=getelementptr inbounds i8,i8*%kA,i64 8
%kE=bitcast i8*%kD to i8**
%kF=load i8*,i8**%kE,align 8
store i8*%kF,i8**%i,align 8
%kG=call i8*@sml_alloc(i32 inreg 44)#0
%kH=getelementptr inbounds i8,i8*%kG,i64 -4
%kI=bitcast i8*%kH to i32*
store i32 1342177320,i32*%kI,align 4
store i8*%kG,i8**%m,align 8
%kJ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%kK=bitcast i8*%kG to i8**
store i8*%kJ,i8**%kK,align 8
%kL=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%kM=getelementptr inbounds i8,i8*%kG,i64 8
%kN=bitcast i8*%kM to i8**
store i8*%kL,i8**%kN,align 8
%kO=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%kP=getelementptr inbounds i8,i8*%kG,i64 16
%kQ=bitcast i8*%kP to i8**
store i8*%kO,i8**%kQ,align 8
%kR=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kS=getelementptr inbounds i8,i8*%kG,i64 24
%kT=bitcast i8*%kS to i8**
store i8*%kR,i8**%kT,align 8
%kU=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%kV=getelementptr inbounds i8,i8*%kG,i64 32
%kW=bitcast i8*%kV to i8**
store i8*%kU,i8**%kW,align 8
%kX=getelementptr inbounds i8,i8*%kG,i64 40
%kY=bitcast i8*%kX to i32*
store i32 31,i32*%kY,align 4
%kZ=call i8*@sml_alloc(i32 inreg 20)#0
%k0=getelementptr inbounds i8,i8*%kZ,i64 -4
%k1=bitcast i8*%k0 to i32*
store i32 1342177296,i32*%k1,align 4
store i8*%kZ,i8**%g,align 8
%k2=getelementptr inbounds i8,i8*%kZ,i64 4
%k3=bitcast i8*%k2 to i32*
store i32 0,i32*%k3,align 1
%k4=bitcast i8*%kZ to i32*
store i32 10,i32*%k4,align 4
%k5=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%k6=getelementptr inbounds i8,i8*%kZ,i64 8
%k7=bitcast i8*%k6 to i8**
store i8*%k5,i8**%k7,align 8
%k8=getelementptr inbounds i8,i8*%kZ,i64 16
%k9=bitcast i8*%k8 to i32*
store i32 2,i32*%k9,align 4
%la=call i8*@sml_alloc(i32 inreg 20)#0
%lb=getelementptr inbounds i8,i8*%la,i64 -4
%lc=bitcast i8*%lb to i32*
store i32 1342177296,i32*%lc,align 4
%ld=load i8*,i8**%h,align 8
%le=bitcast i8*%la to i8**
store i8*%ld,i8**%le,align 8
%lf=load i8*,i8**%g,align 8
%lg=getelementptr inbounds i8,i8*%la,i64 8
%lh=bitcast i8*%lg to i8**
store i8*%lf,i8**%lh,align 8
%li=getelementptr inbounds i8,i8*%la,i64 16
%lj=bitcast i8*%li to i32*
store i32 3,i32*%lj,align 4
ret i8*%la
lk:
%ll=getelementptr inbounds i8,i8*%u,i64 8
%lm=bitcast i8*%ll to i8**
%ln=load i8*,i8**%lm,align 8
store i8*%ln,i8**%g,align 8
%lo=getelementptr inbounds i8,i8*%ln,i64 8
%lp=bitcast i8*%lo to i8**
%lq=load i8*,i8**%lp,align 8
store i8*%lq,i8**%k,align 8
%lr=getelementptr inbounds i8,i8*%ln,i64 16
%ls=bitcast i8*%lr to i8**
%lt=load i8*,i8**%ls,align 8
store i8*%lt,i8**%l,align 8
%lu=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%lv=getelementptr inbounds i8,i8*%lu,i64 16
%lw=bitcast i8*%lv to i8*(i8*,i8*)**
%lx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lw,align 8
%ly=bitcast i8*%lu to i8**
%lz=load i8*,i8**%ly,align 8
%lA=call fastcc i8*%lx(i8*inreg%lz,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*))
%lB=getelementptr inbounds i8,i8*%lA,i64 16
%lC=bitcast i8*%lB to i8*(i8*,i8*)**
%lD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lC,align 8
%lE=bitcast i8*%lA to i8**
%lF=load i8*,i8**%lE,align 8
%lG=call fastcc i8*%lD(i8*inreg%lF,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i8*,i32}>*@r,i64 0,i32 2)to i8*))
%lH=getelementptr inbounds i8,i8*%lG,i64 16
%lI=bitcast i8*%lH to i8*(i8*,i8*)**
%lJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lI,align 8
%lK=bitcast i8*%lG to i8**
%lL=load i8*,i8**%lK,align 8
%lM=bitcast i8**%g to i8***
%lN=load i8**,i8***%lM,align 8
store i8*null,i8**%g,align 8
%lO=load i8*,i8**%lN,align 8
%lP=call fastcc i8*%lJ(i8*inreg%lL,i8*inreg%lO)
store i8*%lP,i8**%j,align 8
%lQ=getelementptr inbounds i8,i8*%lP,i64 16
%lR=bitcast i8*%lQ to i8**
%lS=load i8*,i8**%lR,align 8
store i8*%lS,i8**%g,align 8
%lT=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%lU=call fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_160(i8*inreg%lT)
%lV=getelementptr inbounds i8,i8*%lU,i64 16
%lW=bitcast i8*%lV to i8*(i8*,i8*)**
%lX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lW,align 8
%lY=bitcast i8*%lU to i8**
%lZ=load i8*,i8**%lY,align 8
%l0=bitcast i8**%j to i8***
%l1=load i8**,i8***%l0,align 8
%l2=load i8*,i8**%l1,align 8
%l3=call fastcc i8*%lX(i8*inreg%lZ,i8*inreg%l2)
%l4=bitcast i8*%l3 to i8**
%l5=load i8*,i8**%l4,align 8
store i8*%l5,i8**%h,align 8
%l6=getelementptr inbounds i8,i8*%l3,i64 8
%l7=bitcast i8*%l6 to i8**
%l8=load i8*,i8**%l7,align 8
store i8*%l8,i8**%i,align 8
%l9=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ma=getelementptr inbounds i8,i8*%l9,i64 16
%mb=bitcast i8*%ma to i8*(i8*,i8*)**
%mc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mb,align 8
%md=bitcast i8*%l9 to i8**
%me=load i8*,i8**%md,align 8
store i8*%me,i8**%n,align 8
%mf=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%mg=getelementptr inbounds i8,i8*%mf,i64 16
%mh=bitcast i8*%mg to i8*(i8*,i8*)**
%mi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mh,align 8
%mj=bitcast i8*%mf to i8**
%mk=load i8*,i8**%mj,align 8
store i8*%mk,i8**%m,align 8
%ml=call i8*@sml_alloc(i32 inreg 12)#0
%mm=getelementptr inbounds i8,i8*%ml,i64 -4
%mn=bitcast i8*%mm to i32*
store i32 1342177288,i32*%mn,align 4
store i8*%ml,i8**%o,align 8
%mo=load i8*,i8**%h,align 8
%mp=bitcast i8*%ml to i8**
store i8*%mo,i8**%mp,align 8
%mq=getelementptr inbounds i8,i8*%ml,i64 8
%mr=bitcast i8*%mq to i32*
store i32 1,i32*%mr,align 4
%ms=call i8*@sml_alloc(i32 inreg 28)#0
%mt=getelementptr inbounds i8,i8*%ms,i64 -4
%mu=bitcast i8*%mt to i32*
store i32 1342177304,i32*%mu,align 4
%mv=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%mw=bitcast i8*%ms to i8**
store i8*%mv,i8**%mw,align 8
%mx=getelementptr inbounds i8,i8*%ms,i64 8
%my=bitcast i8*%mx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9rulesList_241 to void(...)*),void(...)**%my,align 8
%mz=getelementptr inbounds i8,i8*%ms,i64 16
%mA=bitcast i8*%mz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9rulesList_241 to void(...)*),void(...)**%mA,align 8
%mB=getelementptr inbounds i8,i8*%ms,i64 24
%mC=bitcast i8*%mB to i32*
store i32 -2147483647,i32*%mC,align 4
%mD=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%mE=call fastcc i8*%mi(i8*inreg%mD,i8*inreg%ms)
%mF=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%mG=call fastcc i8*%mc(i8*inreg%mF,i8*inreg%mE)
%mH=getelementptr inbounds i8,i8*%mG,i64 16
%mI=bitcast i8*%mH to i8*(i8*,i8*)**
%mJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mI,align 8
%mK=bitcast i8*%mG to i8**
%mL=load i8*,i8**%mK,align 8
%mM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%mN=getelementptr inbounds i8,i8*%mM,i64 8
%mO=bitcast i8*%mN to i8**
%mP=load i8*,i8**%mO,align 8
%mQ=call fastcc i8*%mJ(i8*inreg%mL,i8*inreg%mP)
store i8*%mQ,i8**%j,align 8
%mR=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%mS=getelementptr inbounds i8,i8*%mR,i64 16
%mT=bitcast i8*%mS to i8*(i8*,i8*)**
%mU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mT,align 8
%mV=bitcast i8*%mR to i8**
%mW=load i8*,i8**%mV,align 8
%mX=call fastcc i8*%mU(i8*inreg%mW,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*))
%mY=getelementptr inbounds i8,i8*%mX,i64 16
%mZ=bitcast i8*%mY to i8*(i8*,i8*)**
%m0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mZ,align 8
%m1=bitcast i8*%mX to i8**
%m2=load i8*,i8**%m1,align 8
store i8*%m2,i8**%o,align 8
%m3=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%m4=getelementptr inbounds i8,i8*%m3,i64 16
%m5=bitcast i8*%m4 to i8*(i8*,i8*)**
%m6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m5,align 8
%m7=bitcast i8*%m3 to i8**
%m8=load i8*,i8**%m7,align 8
store i8*%m8,i8**%n,align 8
%m9=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%na=getelementptr inbounds i8,i8*%m9,i64 16
%nb=bitcast i8*%na to i8*(i8*,i8*)**
%nc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nb,align 8
%nd=bitcast i8*%m9 to i8**
%ne=load i8*,i8**%nd,align 8
store i8*%ne,i8**%m,align 8
%nf=call i8*@sml_alloc(i32 inreg 20)#0
%ng=getelementptr inbounds i8,i8*%nf,i64 -4
%nh=bitcast i8*%ng to i32*
store i32 1342177296,i32*%nh,align 4
%ni=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%nj=bitcast i8*%nf to i8**
store i8*%ni,i8**%nj,align 8
%nk=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%nl=getelementptr inbounds i8,i8*%nf,i64 8
%nm=bitcast i8*%nl to i8**
store i8*%nk,i8**%nm,align 8
%nn=getelementptr inbounds i8,i8*%nf,i64 16
%no=bitcast i8*%nn to i32*
store i32 3,i32*%no,align 4
%np=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%nq=call fastcc i8*%nc(i8*inreg%np,i8*inreg%nf)
store i8*%nq,i8**%g,align 8
%nr=call i8*@sml_alloc(i32 inreg 20)#0
%ns=getelementptr inbounds i8,i8*%nr,i64 -4
%nt=bitcast i8*%ns to i32*
store i32 1342177296,i32*%nt,align 4
%nu=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%nv=bitcast i8*%nr to i8**
store i8*%nu,i8**%nv,align 8
%nw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%nx=getelementptr inbounds i8,i8*%nr,i64 8
%ny=bitcast i8*%nx to i8**
store i8*%nw,i8**%ny,align 8
%nz=getelementptr inbounds i8,i8*%nr,i64 16
%nA=bitcast i8*%nz to i32*
store i32 3,i32*%nA,align 4
%nB=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%nC=call fastcc i8*%m6(i8*inreg%nB,i8*inreg%nr)
%nD=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%nE=call fastcc i8*%m0(i8*inreg%nD,i8*inreg%nC)
store i8*%nE,i8**%g,align 8
%nF=call i8*@sml_alloc(i32 inreg 28)#0
%nG=getelementptr inbounds i8,i8*%nF,i64 -4
%nH=bitcast i8*%nG to i32*
store i32 1342177304,i32*%nH,align 4
store i8*%nF,i8**%i,align 8
%nI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%nJ=bitcast i8*%nF to i8**
store i8*%nI,i8**%nJ,align 8
%nK=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%nL=getelementptr inbounds i8,i8*%nF,i64 8
%nM=bitcast i8*%nL to i8**
store i8*%nK,i8**%nM,align 8
%nN=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%nO=getelementptr inbounds i8,i8*%nF,i64 16
%nP=bitcast i8*%nO to i8**
store i8*%nN,i8**%nP,align 8
%nQ=getelementptr inbounds i8,i8*%nF,i64 24
%nR=bitcast i8*%nQ to i32*
store i32 7,i32*%nR,align 4
%nS=call i8*@sml_alloc(i32 inreg 20)#0
%nT=getelementptr inbounds i8,i8*%nS,i64 -4
%nU=bitcast i8*%nT to i32*
store i32 1342177296,i32*%nU,align 4
store i8*%nS,i8**%g,align 8
%nV=getelementptr inbounds i8,i8*%nS,i64 4
%nW=bitcast i8*%nV to i32*
store i32 0,i32*%nW,align 1
%nX=bitcast i8*%nS to i32*
store i32 1,i32*%nX,align 4
%nY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%nZ=getelementptr inbounds i8,i8*%nS,i64 8
%n0=bitcast i8*%nZ to i8**
store i8*%nY,i8**%n0,align 8
%n1=getelementptr inbounds i8,i8*%nS,i64 16
%n2=bitcast i8*%n1 to i32*
store i32 2,i32*%n2,align 4
%n3=call i8*@sml_alloc(i32 inreg 20)#0
%n4=getelementptr inbounds i8,i8*%n3,i64 -4
%n5=bitcast i8*%n4 to i32*
store i32 1342177296,i32*%n5,align 4
%n6=load i8*,i8**%h,align 8
%n7=bitcast i8*%n3 to i8**
store i8*%n6,i8**%n7,align 8
%n8=load i8*,i8**%g,align 8
%n9=getelementptr inbounds i8,i8*%n3,i64 8
%oa=bitcast i8*%n9 to i8**
store i8*%n8,i8**%oa,align 8
%ob=getelementptr inbounds i8,i8*%n3,i64 16
%oc=bitcast i8*%ob to i32*
store i32 3,i32*%oc,align 4
ret i8*%n3
od:
store i8*null,i8**%g,align 8
%oe=getelementptr inbounds i8,i8*%u,i64 8
%of=bitcast i8*%oe to i8**
%og=load i8*,i8**%of,align 8
%oh=getelementptr inbounds i8,i8*%og,i64 8
%oi=bitcast i8*%oh to i8**
%oj=load i8*,i8**%oi,align 8
store i8*%oj,i8**%h,align 8
%ok=getelementptr inbounds i8,i8*%og,i64 16
%ol=bitcast i8*%ok to i32*
%om=load i32,i32*%ol,align 4
%on=getelementptr inbounds i8,i8*%og,i64 24
%oo=bitcast i8*%on to i8**
%op=load i8*,i8**%oo,align 8
store i8*%op,i8**%i,align 8
%oq=getelementptr inbounds i8,i8*%og,i64 32
%or=bitcast i8*%oq to i8**
%os=load i8*,i8**%or,align 8
store i8*%os,i8**%j,align 8
%ot=bitcast i8*%og to i8**
%ou=load i8*,i8**%ot,align 8
%ov=load i8*,i8**%m,align 8
%ow=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%ov,i8*inreg%ou)
store i8*%ow,i8**%g,align 8
%ox=call i8*@sml_alloc(i32 inreg 44)#0
%oy=getelementptr inbounds i8,i8*%ox,i64 -4
%oz=bitcast i8*%oy to i32*
store i32 1342177320,i32*%oz,align 4
store i8*%ox,i8**%k,align 8
%oA=getelementptr inbounds i8,i8*%ox,i64 20
%oB=bitcast i8*%oA to i32*
store i32 0,i32*%oB,align 1
%oC=load i8*,i8**%g,align 8
%oD=bitcast i8*%ox to i8**
store i8*null,i8**%g,align 8
store i8*%oC,i8**%oD,align 8
%oE=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%oF=getelementptr inbounds i8,i8*%ox,i64 8
%oG=bitcast i8*%oF to i8**
store i8*%oE,i8**%oG,align 8
%oH=getelementptr inbounds i8,i8*%ox,i64 16
%oI=bitcast i8*%oH to i32*
store i32%om,i32*%oI,align 4
%oJ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%oK=getelementptr inbounds i8,i8*%ox,i64 24
%oL=bitcast i8*%oK to i8**
store i8*%oJ,i8**%oL,align 8
%oM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%oN=getelementptr inbounds i8,i8*%ox,i64 32
%oO=bitcast i8*%oN to i8**
store i8*%oM,i8**%oO,align 8
%oP=getelementptr inbounds i8,i8*%ox,i64 40
%oQ=bitcast i8*%oP to i32*
store i32 27,i32*%oQ,align 4
%oR=call i8*@sml_alloc(i32 inreg 20)#0
%oS=getelementptr inbounds i8,i8*%oR,i64 -4
%oT=bitcast i8*%oS to i32*
store i32 1342177296,i32*%oT,align 4
store i8*%oR,i8**%g,align 8
%oU=getelementptr inbounds i8,i8*%oR,i64 4
%oV=bitcast i8*%oU to i32*
store i32 0,i32*%oV,align 1
%oW=bitcast i8*%oR to i32*
store i32 16,i32*%oW,align 4
%oX=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%oY=getelementptr inbounds i8,i8*%oR,i64 8
%oZ=bitcast i8*%oY to i8**
store i8*%oX,i8**%oZ,align 8
%o0=getelementptr inbounds i8,i8*%oR,i64 16
%o1=bitcast i8*%o0 to i32*
store i32 2,i32*%o1,align 4
%o2=call i8*@sml_alloc(i32 inreg 20)#0
%o3=getelementptr inbounds i8,i8*%o2,i64 -4
%o4=bitcast i8*%o3 to i32*
store i32 1342177296,i32*%o4,align 4
%o5=load i8*,i8**%m,align 8
%o6=bitcast i8*%o2 to i8**
store i8*%o5,i8**%o6,align 8
%o7=load i8*,i8**%g,align 8
%o8=getelementptr inbounds i8,i8*%o2,i64 8
%o9=bitcast i8*%o8 to i8**
store i8*%o7,i8**%o9,align 8
%pa=getelementptr inbounds i8,i8*%o2,i64 16
%pb=bitcast i8*%pa to i32*
store i32 3,i32*%pb,align 4
ret i8*%o2
pc:
store i8*null,i8**%g,align 8
%pd=getelementptr inbounds i8,i8*%u,i64 8
%pe=bitcast i8*%pd to i8**
%pf=load i8*,i8**%pe,align 8
%pg=getelementptr inbounds i8,i8*%pf,i64 8
%ph=bitcast i8*%pg to i8**
%pi=load i8*,i8**%ph,align 8
store i8*%pi,i8**%h,align 8
%pj=getelementptr inbounds i8,i8*%pf,i64 16
%pk=bitcast i8*%pj to i8**
%pl=load i8*,i8**%pk,align 8
store i8*%pl,i8**%i,align 8
%pm=getelementptr inbounds i8,i8*%pf,i64 24
%pn=bitcast i8*%pm to i8**
%po=load i8*,i8**%pn,align 8
store i8*%po,i8**%j,align 8
%pp=bitcast i8*%pf to i8**
%pq=load i8*,i8**%pp,align 8
%pr=load i8*,i8**%m,align 8
%ps=call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%pr,i8*inreg%pq)
store i8*%ps,i8**%g,align 8
%pt=call i8*@sml_alloc(i32 inreg 36)#0
%pu=getelementptr inbounds i8,i8*%pt,i64 -4
%pv=bitcast i8*%pu to i32*
store i32 1342177312,i32*%pv,align 4
store i8*%pt,i8**%k,align 8
%pw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%px=bitcast i8*%pt to i8**
store i8*%pw,i8**%px,align 8
%py=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%pz=getelementptr inbounds i8,i8*%pt,i64 8
%pA=bitcast i8*%pz to i8**
store i8*%py,i8**%pA,align 8
%pB=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%pC=getelementptr inbounds i8,i8*%pt,i64 16
%pD=bitcast i8*%pC to i8**
store i8*%pB,i8**%pD,align 8
%pE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%pF=getelementptr inbounds i8,i8*%pt,i64 24
%pG=bitcast i8*%pF to i8**
store i8*%pE,i8**%pG,align 8
%pH=getelementptr inbounds i8,i8*%pt,i64 32
%pI=bitcast i8*%pH to i32*
store i32 15,i32*%pI,align 4
%pJ=call i8*@sml_alloc(i32 inreg 20)#0
%pK=getelementptr inbounds i8,i8*%pJ,i64 -4
%pL=bitcast i8*%pK to i32*
store i32 1342177296,i32*%pL,align 4
store i8*%pJ,i8**%g,align 8
%pM=getelementptr inbounds i8,i8*%pJ,i64 4
%pN=bitcast i8*%pM to i32*
store i32 0,i32*%pN,align 1
%pO=bitcast i8*%pJ to i32*
store i32 17,i32*%pO,align 4
%pP=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%pQ=getelementptr inbounds i8,i8*%pJ,i64 8
%pR=bitcast i8*%pQ to i8**
store i8*%pP,i8**%pR,align 8
%pS=getelementptr inbounds i8,i8*%pJ,i64 16
%pT=bitcast i8*%pS to i32*
store i32 2,i32*%pT,align 4
%pU=call i8*@sml_alloc(i32 inreg 20)#0
%pV=getelementptr inbounds i8,i8*%pU,i64 -4
%pW=bitcast i8*%pV to i32*
store i32 1342177296,i32*%pW,align 4
%pX=load i8*,i8**%m,align 8
%pY=bitcast i8*%pU to i8**
store i8*%pX,i8**%pY,align 8
%pZ=load i8*,i8**%g,align 8
%p0=getelementptr inbounds i8,i8*%pU,i64 8
%p1=bitcast i8*%p0 to i8**
store i8*%pZ,i8**%p1,align 8
%p2=getelementptr inbounds i8,i8*%pU,i64 16
%p3=bitcast i8*%p2 to i32*
store i32 3,i32*%p3,align 4
ret i8*%pU
p4:
store i8*null,i8**%g,align 8
%p5=getelementptr inbounds i8,i8*%u,i64 8
%p6=bitcast i8*%p5 to i8**
%p7=load i8*,i8**%p6,align 8
%p8=bitcast i8*%p7 to i8**
%p9=load i8*,i8**%p8,align 8
store i8*%p9,i8**%i,align 8
%qa=getelementptr inbounds i8,i8*%p7,i64 16
%qb=bitcast i8*%qa to i8**
%qc=load i8*,i8**%qb,align 8
store i8*%qc,i8**%j,align 8
%qd=getelementptr inbounds i8,i8*%p7,i64 8
%qe=bitcast i8*%qd to i8**
%qf=load i8*,i8**%qe,align 8
%qg=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%qh=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%qh)
%qi=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%qi)
%qj=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%qj)
%qk=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%qk)
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*%qg,i8**%d,align 8
store i8*%qf,i8**%c,align 8
%ql=load atomic i32,i32*@sml_check_flag unordered,align 4
%qm=icmp eq i32%ql,0
br i1%qm,label%qo,label%qn
qn:
call void@sml_check(i32 inreg%ql)
br label%qo
qo:
%qp=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%qq=getelementptr inbounds i8,i8*%qp,i64 16
%qr=bitcast i8*%qq to i8*(i8*,i8*)**
%qs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qr,align 8
%qt=bitcast i8*%qp to i8**
%qu=load i8*,i8**%qt,align 8
store i8*%qu,i8**%e,align 8
%qv=call i8*@sml_alloc(i32 inreg 12)#0
%qw=getelementptr inbounds i8,i8*%qv,i64 -4
%qx=bitcast i8*%qw to i32*
store i32 1342177288,i32*%qx,align 4
store i8*%qv,i8**%f,align 8
%qy=load i8*,i8**%d,align 8
%qz=bitcast i8*%qv to i8**
store i8*%qy,i8**%qz,align 8
%qA=getelementptr inbounds i8,i8*%qv,i64 8
%qB=bitcast i8*%qA to i32*
store i32 1,i32*%qB,align 4
%qC=call i8*@sml_alloc(i32 inreg 28)#0
%qD=getelementptr inbounds i8,i8*%qC,i64 -4
%qE=bitcast i8*%qD to i32*
store i32 1342177304,i32*%qE,align 4
%qF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qG=bitcast i8*%qC to i8**
store i8*%qF,i8**%qG,align 8
%qH=getelementptr inbounds i8,i8*%qC,i64 8
%qI=bitcast i8*%qH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils9copyBindsE_252 to void(...)*),void(...)**%qI,align 8
%qJ=getelementptr inbounds i8,i8*%qC,i64 16
%qK=bitcast i8*%qJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11IDCalcUtils9copyBindsE_252 to void(...)*),void(...)**%qK,align 8
%qL=getelementptr inbounds i8,i8*%qC,i64 24
%qM=bitcast i8*%qL to i32*
store i32 -2147483647,i32*%qM,align 4
%qN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qO=call fastcc i8*%qs(i8*inreg%qN,i8*inreg%qC)
%qP=getelementptr inbounds i8,i8*%qO,i64 16
%qQ=bitcast i8*%qP to i8*(i8*,i8*)**
%qR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qQ,align 8
%qS=bitcast i8*%qO to i8**
%qT=load i8*,i8**%qS,align 8
store i8*%qT,i8**%e,align 8
%qU=call i8*@sml_alloc(i32 inreg 20)#0
%qV=getelementptr inbounds i8,i8*%qU,i64 -4
%qW=bitcast i8*%qV to i32*
store i32 1342177296,i32*%qW,align 4
%qX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%qY=bitcast i8*%qU to i8**
store i8*%qX,i8**%qY,align 8
%qZ=getelementptr inbounds i8,i8*%qU,i64 8
%q0=bitcast i8*%qZ to i8**
store i8*null,i8**%q0,align 8
%q1=getelementptr inbounds i8,i8*%qU,i64 16
%q2=bitcast i8*%q1 to i32*
store i32 3,i32*%q2,align 4
%q3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%q4=call fastcc i8*%qR(i8*inreg%q3,i8*inreg%qU)
%q5=getelementptr inbounds i8,i8*%q4,i64 16
%q6=bitcast i8*%q5 to i8*(i8*,i8*)**
%q7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q6,align 8
%q8=bitcast i8*%q4 to i8**
%q9=load i8*,i8**%q8,align 8
%ra=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%rb=call fastcc i8*%q7(i8*inreg%q9,i8*inreg%ra)
store i8*%rb,i8**%d,align 8
%rc=bitcast i8*%rb to i8**
%rd=load i8*,i8**%rc,align 8
store i8*%rd,i8**%c,align 8
%re=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%rf=getelementptr inbounds i8,i8*%re,i64 16
%rg=bitcast i8*%rf to i8*(i8*,i8*)**
%rh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rg,align 8
%ri=bitcast i8*%re to i8**
%rj=load i8*,i8**%ri,align 8
%rk=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%rl=getelementptr inbounds i8,i8*%rk,i64 8
%rm=bitcast i8*%rl to i8**
%rn=load i8*,i8**%rm,align 8
%ro=call fastcc i8*%rh(i8*inreg%rj,i8*inreg%rn)
store i8*%ro,i8**%d,align 8
%rp=call i8*@sml_alloc(i32 inreg 20)#0
%rq=getelementptr inbounds i8,i8*%rp,i64 -4
%rr=bitcast i8*%rq to i32*
store i32 1342177296,i32*%rr,align 4
%rs=load i8*,i8**%c,align 8
%rt=bitcast i8*%rp to i8**
store i8*%rs,i8**%rt,align 8
%ru=load i8*,i8**%d,align 8
%rv=getelementptr inbounds i8,i8*%rp,i64 8
%rw=bitcast i8*%rv to i8**
store i8*%ru,i8**%rw,align 8
%rx=getelementptr inbounds i8,i8*%rp,i64 16
%ry=bitcast i8*%rx to i32*
store i32 3,i32*%ry,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%qh)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%qi)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%qj)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%qk)
store i8*%rs,i8**%g,align 8
store i8*%ru,i8**%h,align 8
%rz=call i8*@sml_alloc(i32 inreg 28)#0
%rA=getelementptr inbounds i8,i8*%rz,i64 -4
%rB=bitcast i8*%rA to i32*
store i32 1342177304,i32*%rB,align 4
store i8*%rz,i8**%k,align 8
%rC=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%rD=bitcast i8*%rz to i8**
store i8*%rC,i8**%rD,align 8
%rE=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%rF=getelementptr inbounds i8,i8*%rz,i64 8
%rG=bitcast i8*%rF to i8**
store i8*%rE,i8**%rG,align 8
%rH=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%rI=getelementptr inbounds i8,i8*%rz,i64 16
%rJ=bitcast i8*%rI to i8**
store i8*%rH,i8**%rJ,align 8
%rK=getelementptr inbounds i8,i8*%rz,i64 24
%rL=bitcast i8*%rK to i32*
store i32 7,i32*%rL,align 4
%rM=call i8*@sml_alloc(i32 inreg 20)#0
%rN=getelementptr inbounds i8,i8*%rM,i64 -4
%rO=bitcast i8*%rN to i32*
store i32 1342177296,i32*%rO,align 4
store i8*%rM,i8**%h,align 8
%rP=getelementptr inbounds i8,i8*%rM,i64 4
%rQ=bitcast i8*%rP to i32*
store i32 0,i32*%rQ,align 1
%rR=bitcast i8*%rM to i32*
store i32 13,i32*%rR,align 4
%rS=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%rT=getelementptr inbounds i8,i8*%rM,i64 8
%rU=bitcast i8*%rT to i8**
store i8*%rS,i8**%rU,align 8
%rV=getelementptr inbounds i8,i8*%rM,i64 16
%rW=bitcast i8*%rV to i32*
store i32 2,i32*%rW,align 4
%rX=call i8*@sml_alloc(i32 inreg 20)#0
%rY=getelementptr inbounds i8,i8*%rX,i64 -4
%rZ=bitcast i8*%rY to i32*
store i32 1342177296,i32*%rZ,align 4
%r0=load i8*,i8**%g,align 8
%r1=bitcast i8*%rX to i8**
store i8*%r0,i8**%r1,align 8
%r2=load i8*,i8**%h,align 8
%r3=getelementptr inbounds i8,i8*%rX,i64 8
%r4=bitcast i8*%r3 to i8**
store i8*%r2,i8**%r4,align 8
%r5=getelementptr inbounds i8,i8*%rX,i64 16
%r6=bitcast i8*%r5 to i32*
store i32 3,i32*%r6,align 4
ret i8*%rX
}
define fastcc i32@_SMLFN11IDCalcUtils13equalPropListE(i8*inreg%a)#2 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%e,label%g
e:
%f=bitcast i8*%a to i8**
br label%j
g:
call void@sml_check(i32 inreg%c)
%h=bitcast i8**%b to i8***
%i=load i8**,i8***%h,align 8
br label%j
j:
%k=phi i8**[%i,%g],[%f,%e]
%l=load i8*,i8**%k,align 8
%m=call fastcc i8*@_SMLFN5Types15equalPropertiesE(i8*inreg%l)
%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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=getelementptr inbounds i8,i8*%s,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%p(i8*inreg%r,i8*inreg%v)
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
ret i32%y
}
define fastcc i8*@_SMLFN11IDCalcUtils7copyPatE(i8*inreg%a)#2 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*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%h=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%i=call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_162(i8*inreg%g,i8*inreg%h)
%j=getelementptr inbounds i8,i8*%i,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
ret i8*%l
}
define fastcc i8*@_SMLFN11IDCalcUtils7copyExpE(i8*inreg%a)#2 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*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%h=load i8*,i8**%b,align 8
%i=tail call fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_180(i8*inreg%g,i8*inreg%h)
ret i8*%i
}
define fastcc i8*@_SMLFN11IDCalcUtils8copyDeclE(i8*inreg%a)#2 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*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%h=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%i=call fastcc i8*@_SMLLN11IDCalcUtils8copyDeclE_185(i8*inreg%g,i8*inreg%h)
%j=getelementptr inbounds i8,i8*%i,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
ret i8*%l
}
define fastcc i8*@_SMLFN11IDCalcUtils12copyDeclListE(i8*inreg%a)#2 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*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%h=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%i=call fastcc i8*@_SMLLN11IDCalcUtils12copyDeclListE_184(i8*inreg%g,i8*inreg%h)
%j=getelementptr inbounds i8,i8*%i,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
ret i8*%l
}
define internal fastcc i8*@_SMLLN11IDCalcUtils5newIdE_264(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
tail call fastcc void@_SMLLN11IDCalcUtils5newIdE_145(i32 inreg%d)
unreachable
}
define internal fastcc i8*@_SMLLN11IDCalcUtils5newIdE_265(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN11IDCalcUtils5newIdE_147(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_268(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11IDCalcUtils7newVarsE_157(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_270(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11IDCalcUtils7copyPatE_166(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyPatsE_272(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11IDCalcUtils8copyPatsE_169(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11IDCalcUtils6evalIdE_275(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLLN11IDCalcUtils6evalIdE_177(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLL4copy_277(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL4copy_236(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyDeclE_278(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11IDCalcUtils8copyDeclE_238(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL8funbinds_279(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL8funbinds_242(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4vars_280(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLL4vars_281(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN11IDCalcUtils13equalPropListE_290(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN11IDCalcUtils13equalPropListE(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*@_SMLLN11IDCalcUtils7copyPatE_291(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11IDCalcUtils7copyPatE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11IDCalcUtils7copyExpE_292(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11IDCalcUtils7copyExpE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11IDCalcUtils8copyDeclE_293(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11IDCalcUtils8copyDeclE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11IDCalcUtils12copyDeclListE_294(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11IDCalcUtils12copyDeclListE(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={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={noreturn uwtable}
attributes#5={nounwind uwtable}
