@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN1__6SCCFunE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN6IDCalc14emptyLiftedTysE=external local_unnamed_addr global i8*
@_SMLZN6TfvMap4findE=external local_unnamed_addr global i8*
@_SMLZN6TfvMap5emptyE=external local_unnamed_addr global i8*
@_SMLZN6TfvMap6insertE=external local_unnamed_addr global i8*
@_SMLZN6TfvSet5emptyE=external local_unnamed_addr global i8*
@_SMLZN8TfunVars10sigDtyKindE=external local_unnamed_addr global i8*
@_SMLZN8TfunVars7dtyKindE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLL113 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL208 to void(...)*),i32 -2147483647}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/nameevaluation/main/SetLiftedTys.sml:27.8(764)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN12SetLiftedTys5getIdE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys5getIdE_210 to void(...)*),i32 -2147483647}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"getId: not tfv\00"}>,align 8
@e=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,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@v,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@d,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"non dty tfv (1)\00"}>,align 8
@g=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,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@v,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@f,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12SetLiftedTys11liftedTysTyE_158 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys11liftedTysTyE_212 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12SetLiftedTys11liftedTysTyE_163 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys11liftedTysTyE_211 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/nameevaluation/main/SetLiftedTys.sml:133.6(4437)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/nameevaluation/main/SetLiftedTys.sml:150.6(5175)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_167 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_213 to void(...)*),i32 -2147483647}>,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*)*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_169 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_214 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"non dty tfv (2)\00"}>,align 8
@o=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,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@v,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@n,i32 0,i32 0,i32 0),i32 8),i32 3}>,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*)*@_SMLLL11conSpecList_175 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11conSpecList_215 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(void(i8*)*@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_182 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_217 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[12x i8]}><{[4x i8]zeroinitializer,i32 -2147483636,[12x i8]c"non tfv_dty\00"}>,align 8
@s=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,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@v,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@r,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_188 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_218 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/nameevaluation/main/SetLiftedTys.sml:17.14(485)\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"SetLiftedTys: \00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"tfvPathListList\00"}>,align 8
@x=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,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@v,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@w,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@_SMLZN12SetLiftedTys5getIdE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@c,i64 0,i32 2)to i8*)
@_SML_gvardb38d38304c882ce_SetLiftedTys=private global<{[4x i8],i32,[2x i8*]}><{[4x i8]zeroinitializer,i32 -1342177264,[2x i8*]zeroinitializer}>,align 8
@y=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@y to i64))]
@_SML_ftabdb38d38304c882ce_SetLiftedTys=external global i8
@z=private unnamed_addr global i8 0
@_SMLZN12SetLiftedTys15setLiftedTysEnvE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i32 0,i32 2,i32 0)
@_SMLZN12SetLiftedTys19setLiftedTysSpecEnvE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i32 0,i32 2,i32 1)
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_end()local_unnamed_addr#0
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 void@sml_save_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN11RecordLabel3Map5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Bool3notE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3appE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
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 i32@_SMLFN5TypID2eqE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc14liftedTysUnionE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap4appiE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap6foldriE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap8inDomainE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvSet3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvSet5foldrE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvSet9singletonE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7TvarSet3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8TfunVars7tfvsEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main89b8631430c545af_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina142c315f12317c0_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main22c101bff228a4a9_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main8a8dbcb270d3a574_TvarMap()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main16a01518fb55e518_SCCFun()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindd7ac0235f3a2d21_IDCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main38282eca92373ff5_TfunVars()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_loaddaa180c1799f3810_Bool(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load89b8631430c545af_Symbol(i8*)local_unnamed_addr
declare void@_SML_loada142c315f12317c0_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load22c101bff228a4a9_LocalID(i8*)local_unnamed_addr
declare void@_SML_load8a8dbcb270d3a574_TvarMap(i8*)local_unnamed_addr
declare void@_SML_load16a01518fb55e518_SCCFun(i8*)local_unnamed_addr
declare void@_SML_loaddd7ac0235f3a2d21_IDCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_load38282eca92373ff5_TfunVars(i8*)local_unnamed_addr
define private void@_SML_tabbdb38d38304c882ce_SetLiftedTys()#3{
unreachable
}
define void@_SML_loaddb38d38304c882ce_SetLiftedTys(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@z,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@z,align 1
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load89b8631430c545af_Symbol(i8*%a)#0
tail call void@_SML_loada142c315f12317c0_RecordLabel(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load22c101bff228a4a9_LocalID(i8*%a)#0
tail call void@_SML_load8a8dbcb270d3a574_TvarMap(i8*%a)#0
tail call void@_SML_load16a01518fb55e518_SCCFun(i8*%a)#0
tail call void@_SML_loaddd7ac0235f3a2d21_IDCalc_ppg(i8*%a)#0
tail call void@_SML_load38282eca92373ff5_TfunVars(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbdb38d38304c882ce_SetLiftedTys,i8*@_SML_ftabdb38d38304c882ce_SetLiftedTys,i8*bitcast([2x i64]*@y to i8*))#0
ret void
}
define void@_SML_maindb38d38304c882ce_SetLiftedTys()local_unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%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=load i8,i8*@z,align 1
%h=and i8%g,2
%i=icmp eq i8%h,0
br i1%i,label%k,label%j
j:
ret void
k:
store i8 3,i8*@z,align 1
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main89b8631430c545af_Symbol()#2
tail call void@_SML_maina142c315f12317c0_RecordLabel()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main22c101bff228a4a9_LocalID()#2
tail call void@_SML_main8a8dbcb270d3a574_TvarMap()#2
tail call void@_SML_main16a01518fb55e518_SCCFun()#2
tail call void@_SML_maindd7ac0235f3a2d21_IDCalc_ppg()#2
tail call void@_SML_main38282eca92373ff5_TfunVars()#2
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
%l=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%l)#0
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
invoke void@sml_check(i32 inreg%m)
to label%p unwind label%bz
p:
%q=load i8*,i8**@_SMLZN1__6SCCFunE,align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*,i8*)**
%t=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%b,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%c,align 8
store i32 1,i32*%x,align 4
%A=call i8*@sml_alloc(i32 inreg 4)#0
%B=bitcast i8*%A to i32*
%C=getelementptr inbounds i8,i8*%A,i64 -4
%D=bitcast i8*%C to i32*
store i32 4,i32*%D,align 4
store i32 8,i32*%B,align 4
%E=load i8*,i8**%b,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%b,align 8
store i8*null,i8**%c,align 8
%G=invoke fastcc i8*%t(i8*inreg%E,i8*inreg%F,i8*inreg%A)
to label%H unwind label%bz
H:
%I=getelementptr inbounds i8,i8*%G,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%G to i8**
%M=load i8*,i8**%L,align 8
%N=invoke fastcc i8*%K(i8*inreg%M,i8*inreg 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*))
to label%O unwind label%bz
O:
%P=getelementptr inbounds i8,i8*%N,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*,i8*,i8*)**
%R=load i8*(i8*,i8*,i8*,i8*)*,i8*(i8*,i8*,i8*,i8*)**%Q,align 8
%S=bitcast i8*%N to i8**
%T=load i8*,i8**%S,align 8
%U=load i8*,i8**@_SMLZN6TfvMap5emptyE,align 8
%V=load i8*,i8**@_SMLZN6TfvMap4findE,align 8
%W=load i8*,i8**@_SMLZN6TfvMap6insertE,align 8
%X=invoke fastcc i8*%R(i8*inreg%T,i8*inreg%U,i8*inreg%V,i8*inreg%W)
to label%Y unwind label%bz
Y:
%Z=bitcast i8*%X to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%b,align 8
%ab=getelementptr inbounds i8,i8*%X,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%d,align 8
%ah=getelementptr inbounds i8,i8*%X,i64 24
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%e,align 8
%ak=call i8*@sml_alloc(i32 inreg 36)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177312,i32*%am,align 4
store i8*%ak,i8**%f,align 8
%an=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 16
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aw=getelementptr inbounds i8,i8*%ak,i64 24
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ak,i64 32
%az=bitcast i8*%ay to i32*
store i32 15,i32*%az,align 4
%aA=call i8*@sml_alloc(i32 inreg 28)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177304,i32*%aC,align 4
%aD=load i8*,i8**%f,align 8
%aE=bitcast i8*%aA to i8**
store i8*%aD,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aA,i64 8
%aG=bitcast i8*%aF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLLN12SetLiftedTys7SCCTfvsE_157 to void(...)*),void(...)**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aA,i64 16
%aI=bitcast i8*%aH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLLN12SetLiftedTys7SCCTfvsE_157 to void(...)*),void(...)**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aA,i64 24
%aK=bitcast i8*%aJ to i32*
store i32 -2147483647,i32*%aK,align 4
%aL=call i8*@sml_alloc(i32 inreg 12)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177288,i32*%aN,align 4
store i8*%aL,i8**%c,align 8
%aO=load i8*,i8**%f,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aL,i64 8
%aR=bitcast i8*%aQ to i32*
store i32 1,i32*%aR,align 4
%aS=call i8*@sml_alloc(i32 inreg 28)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177304,i32*%aU,align 4
%aV=load i8*,i8**%c,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aS,i64 8
%aY=bitcast i8*%aX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_197 to void(...)*),void(...)**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aS,i64 16
%a0=bitcast i8*%aZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_197 to void(...)*),void(...)**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aS,i64 24
%a2=bitcast i8*%a1 to i32*
store i32 -2147483647,i32*%a2,align 4
%a3=call i8*@sml_alloc(i32 inreg 12)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177288,i32*%a5,align 4
store i8*%a3,i8**%d,align 8
%a6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a3,i64 8
%a9=bitcast i8*%a8 to i32*
store i32 1,i32*%a9,align 4
%ba=call i8*@sml_alloc(i32 inreg 28)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177304,i32*%bc,align 4
%bd=load i8*,i8**%d,align 8
%be=bitcast i8*%ba to i8**
store i8*%bd,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%ba,i64 8
%bg=bitcast i8*%bf to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys8dtyListsE_205 to void(...)*),void(...)**%bg,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 16
%bi=bitcast i8*%bh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys8dtyListsE_205 to void(...)*),void(...)**%bi,align 8
%bj=getelementptr inbounds i8,i8*%ba,i64 24
%bk=bitcast i8*%bj to i32*
store i32 -2147483647,i32*%bk,align 4
%bl=load i8*,i8**@_SMLZN8TfunVars7dtyKindE,align 8
%bm=load i8*,i8**%c,align 8
%bn=call fastcc i8*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_197(i8*inreg%bm,i8*inreg%bl)
store i8*%bn,i8**%b,align 8
%bo=load i8*,i8**@_SMLZN8TfunVars10sigDtyKindE,align 8
%bp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bq=call fastcc i8*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_197(i8*inreg%bp,i8*inreg%bo)
store i8*%bq,i8**%c,align 8
%br=load i8*,i8**@_SMLZN8TfunVars7dtyKindE,align 8
%bs=load i8*,i8**%d,align 8
%bt=call fastcc i8*@_SMLLLN12SetLiftedTys8dtyListsE_205(i8*inreg%bs,i8*inreg%br)
%bu=load i8*,i8**@_SMLZN8TfunVars10sigDtyKindE,align 8
%bv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bw=call fastcc i8*@_SMLLLN12SetLiftedTys8dtyListsE_205(i8*inreg%bv,i8*inreg%bu)
%bx=load i8*,i8**%b,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i64 0,i32 2,i64 0),i8*inreg%bx)#0
%by=load i8*,i8**%c,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i64 0,i32 2,i64 1),i8*inreg%by)#0
call void@sml_end()#0
ret void
bz:
%bA=landingpad{i8*,i8*}
cleanup
%bB=extractvalue{i8*,i8*}%bA,1
call void@sml_save_exn(i8*inreg%bB)#0
call void@sml_end()#0
resume{i8*,i8*}%bA
}
define internal fastcc i8*@_SMLLL113(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLL4dtys_120(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*@_SMLLLN12SetLiftedTys6dtysTyE_115(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys6dtysTyE_121(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=load i8*,i8**%o,align 8
store i8*%q,i8**%e,align 8
%r=bitcast i8*%p to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%p,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,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**%c,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%d,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
%G=load i8*,i8**%e,align 8
%H=tail call fastcc i8*@_SMLLLN12SetLiftedTys6dtysTyE_115(i8*inreg%G,i8*inreg%w)
ret i8*%H
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys6dtysTyE_115(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
j:
%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**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%c,align 8
br label%h
h:
%i=phi i8*[%ar,%ak],[%b,%j]
store i8*%i,i8**%d,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**%d,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%i,%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
store i8*%u,i8**%e,align 8
%v=call i8*@sml_alloc(i32 inreg 12)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177288,i32*%x,align 4
store i8*%v,i8**%f,align 8
%y=load i8*,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 i32*
store i32 1,i32*%B,align 4
%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
store i8*%C,i8**%g,align 8
%F=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL4dtys_120 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL4dtys_120 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
%N=load i8*,i8**%d,align 8
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
switch i32%P,label%Q[
i32 8,label%c3
i32 2,label%c1
i32 7,label%cZ
i32 3,label%cX
i32 6,label%ce
i32 1,label%bi
i32 4,label%aB
i32 5,label%ak
i32 0,label%ai
]
Q:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%R=load i8*,i8**@_SMLZ5Match,align 8
store i8*%R,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 20)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177296,i32*%U,align 4
store i8*%S,i8**%d,align 8
%V=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%S,i64 8
%Y=bitcast i8*%X to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@b,i64 0,i32 2,i64 0),i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 60)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177336,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 56
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=load i8*,i8**%d,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
call void@sml_raise(i8*inreg%ab)#1
unreachable
ai:
%aj=load i8*,i8**%e,align 8
ret i8*%aj
ak:
store i8*null,i8**%g,align 8
%al=getelementptr inbounds i8,i8*%N,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=getelementptr inbounds i8,i8*%an,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%d,align 8
%ar=call i8*@sml_alloc(i32 inreg 20)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177296,i32*%at,align 4
%au=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ar,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
br label%h
aB:
%aC=getelementptr inbounds i8,i8*%N,i64 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%d,align 8
%aH=getelementptr inbounds i8,i8*%aE,i64 8
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%f,align 8
%aK=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*)**
%aN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aR=call fastcc i8*%aN(i8*inreg%aP,i8*inreg%aQ)
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%g,align 8
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177296,i32*%aZ,align 4
%a0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i32*
store i32 3,i32*%a6,align 4
%a7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a8=call fastcc i8*@_SMLLLN12SetLiftedTys6dtysTyE_115(i8*inreg%a7,i8*inreg%aX)
%a9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ba=call fastcc i8*%aU(i8*inreg%a9,i8*inreg%a8)
%bb=getelementptr inbounds i8,i8*%ba,i64 16
%bc=bitcast i8*%bb to i8*(i8*,i8*)**
%bd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bc,align 8
%be=bitcast i8*%ba to i8**
%bf=load i8*,i8**%be,align 8
%bg=load i8*,i8**%d,align 8
%bh=tail call fastcc i8*%bd(i8*inreg%bf,i8*inreg%bg)
ret i8*%bh
bi:
store i8*null,i8**%e,align 8
%bj=getelementptr inbounds i8,i8*%N,i64 8
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
store i8*%bn,i8**%d,align 8
%bo=getelementptr inbounds i8,i8*%bl,i64 8
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
%br=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%bq)
%bs=bitcast i8*%br to i32*
%bt=load i32,i32*%bs,align 4
%bu=icmp eq i32%bt,1
br i1%bu,label%bx,label%bv
bv:
store i8*null,i8**%c,align 8
%bw=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
br label%bQ
bx:
%by=getelementptr inbounds i8,i8*%br,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%e,align 8
%bB=load i8*,i8**%c,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 16
%bD=bitcast i8*%bC to i8*(i8*,i8*)**
%bE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bD,align 8
store i8*null,i8**%c,align 8
%bF=bitcast i8*%bB to i8**
%bG=load i8*,i8**%bF,align 8
%bH=call fastcc i8*%bE(i8*inreg%bG,i8*inreg%bA)
%bI=bitcast i8*%bH to i32*
%bJ=load i32,i32*%bI,align 4
%bK=icmp eq i32%bJ,0
br i1%bK,label%bO,label%bL
bL:
%bM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bN=call fastcc i8*@_SMLFN6TfvSet9singletonE(i8*inreg%bM)
br label%bQ
bO:
store i8*null,i8**%e,align 8
%bP=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
br label%bQ
bQ:
%bR=phi i8*[%bw,%bv],[%bN,%bL],[%bP,%bO]
store i8*%bR,i8**%c,align 8
%bS=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bT=getelementptr inbounds i8,i8*%bS,i64 16
%bU=bitcast i8*%bT to i8*(i8*,i8*)**
%bV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bU,align 8
%bW=bitcast i8*%bS to i8**
%bX=load i8*,i8**%bW,align 8
%bY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bZ=call fastcc i8*%bV(i8*inreg%bX,i8*inreg%bY)
%b0=getelementptr inbounds i8,i8*%bZ,i64 16
%b1=bitcast i8*%b0 to i8*(i8*,i8*)**
%b2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b1,align 8
%b3=bitcast i8*%bZ to i8**
%b4=load i8*,i8**%b3,align 8
%b5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b6=call fastcc i8*%b2(i8*inreg%b4,i8*inreg%b5)
%b7=getelementptr inbounds i8,i8*%b6,i64 16
%b8=bitcast i8*%b7 to i8*(i8*,i8*)**
%b9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b8,align 8
%ca=bitcast i8*%b6 to i8**
%cb=load i8*,i8**%ca,align 8
%cc=load i8*,i8**%d,align 8
%cd=tail call fastcc i8*%b9(i8*inreg%cb,i8*inreg%cc)
ret i8*%cd
ce:
store i8*null,i8**%g,align 8
%cf=getelementptr inbounds i8,i8*%N,i64 8
%cg=bitcast i8*%cf to i8***
%ch=load i8**,i8***%cg,align 8
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%d,align 8
%cj=call fastcc i8*@_SMLFN11RecordLabel3Map5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ck=getelementptr inbounds i8,i8*%cj,i64 16
%cl=bitcast i8*%ck to i8*(i8*,i8*)**
%cm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cl,align 8
%cn=bitcast i8*%cj to i8**
%co=load i8*,i8**%cn,align 8
store i8*%co,i8**%f,align 8
%cp=call i8*@sml_alloc(i32 inreg 12)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177288,i32*%cr,align 4
store i8*%cp,i8**%g,align 8
%cs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cp,i64 8
%cv=bitcast i8*%cu to i32*
store i32 1,i32*%cv,align 4
%cw=call i8*@sml_alloc(i32 inreg 28)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177304,i32*%cy,align 4
%cz=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cw,i64 8
%cC=bitcast i8*%cB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys6dtysTyE_121 to void(...)*),void(...)**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cw,i64 16
%cE=bitcast i8*%cD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys6dtysTyE_121 to void(...)*),void(...)**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cw,i64 24
%cG=bitcast i8*%cF to i32*
store i32 -2147483647,i32*%cG,align 4
%cH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cI=call fastcc i8*%cm(i8*inreg%cH,i8*inreg%cw)
%cJ=getelementptr inbounds i8,i8*%cI,i64 16
%cK=bitcast i8*%cJ to i8*(i8*,i8*)**
%cL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cK,align 8
%cM=bitcast i8*%cI to i8**
%cN=load i8*,i8**%cM,align 8
%cO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cP=call fastcc i8*%cL(i8*inreg%cN,i8*inreg%cO)
%cQ=getelementptr inbounds i8,i8*%cP,i64 16
%cR=bitcast i8*%cQ to i8*(i8*,i8*)**
%cS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cR,align 8
%cT=bitcast i8*%cP to i8**
%cU=load i8*,i8**%cT,align 8
%cV=load i8*,i8**%d,align 8
%cW=tail call fastcc i8*%cS(i8*inreg%cU,i8*inreg%cV)
ret i8*%cW
cX:
%cY=load i8*,i8**%e,align 8
ret i8*%cY
cZ:
%c0=load i8*,i8**%e,align 8
ret i8*%c0
c1:
%c2=load i8*,i8**%e,align 8
ret i8*%c2
c3:
%c4=load i8*,i8**%e,align 8
ret i8*%c4
}
define fastcc i32@_SMLFN12SetLiftedTys5getIdE(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%b to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 3,label%T
i32 4,label%M
]
q:
%r=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%r,i8**%b,align 8
%s=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@e,i64 0,i32 2)to i8*))
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%z,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%t,i64 24
%E=bitcast i8*%D to i32*
store i32 7,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%d,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=getelementptr inbounds i8,i8*%n,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 24
%R=bitcast i8*%Q to i32*
%S=load i32,i32*%R,align 4
ret i32%S
T:
%U=getelementptr inbounds i8,i8*%n,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=getelementptr inbounds i8,i8*%W,i64 40
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
ret i32%Z
}
define internal fastcc i8*@_SMLLL10targetTfvs_129(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 i8**
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=icmp eq i8*%n,null
br i1%r,label%s,label%t
s:
ret i8*%q
t:
%u=bitcast i8**%d to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=bitcast i8*%n to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%c,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=load i8*,i8**%e,align 8
%K=tail call fastcc i8*@_SMLLLN12SetLiftedTys6dtysTyE_115(i8*inreg%J,i8*inreg%z)
ret i8*%K
}
define internal fastcc i8*@_SMLLL9dependSet_138(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%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**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call fastcc i8*@_SMLFN6TfvMap8inDomainE(i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%g,align 8
%z=bitcast i8**%e to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,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**%f,align 8
store i8*null,i8**%f,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%c,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=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%N=call fastcc i8*%w(i8*inreg%M,i8*inreg%C)
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%P)
%R=icmp eq i32%Q,0
br i1%R,label%T,label%S
S:
store i8*null,i8**%e,align 8
br label%bq
T:
%U=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%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
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
switch i32%aa,label%ab[
i32 3,label%ax
i32 4,label%ay
]
ab:
store i8*null,i8**%d,align 8
%ac=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ac,i8**%c,align 8
%ad=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@e,i64 0,i32 2)to i8*))
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**%e,align 8
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ae,i64 8
%ak=bitcast i8*%aj to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%ak,align 8
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ae,i64 24
%ap=bitcast i8*%ao to i32*
store i32 7,i32*%ap,align 4
%aq=call i8*@sml_alloc(i32 inreg 60)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177336,i32*%as,align 4
%at=getelementptr inbounds i8,i8*%aq,i64 56
%au=bitcast i8*%at to i32*
store i32 1,i32*%au,align 4
%av=load i8*,i8**%e,align 8
%aw=bitcast i8*%aq to i8**
store i8*%av,i8**%aw,align 8
call void@sml_raise(i8*inreg%aq)#1
unreachable
ax:
br label%ay
ay:
%az=phi i64[40,%ax],[24,%T]
%aA=getelementptr inbounds i8,i8*%Y,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64%az
%aE=bitcast i8*%aD to i32*
%aF=load i32,i32*%aE,align 4
%aG=bitcast i8**%c to i8***
%aH=load i8**,i8***%aG,align 8
%aI=load i8*,i8**%aH,align 8
%aJ=bitcast i8*%aI to i32*
%aK=load i32,i32*%aJ,align 4
switch i32%aK,label%aL[
i32 3,label%a7
i32 4,label%a8
]
aL:
store i8*null,i8**%d,align 8
%aM=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aM,i8**%c,align 8
%aN=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@e,i64 0,i32 2)to i8*))
store i8*%aN,i8**%d,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**%e,align 8
%aR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aO,i64 8
%aU=bitcast i8*%aT to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%aU,align 8
%aV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aW=getelementptr inbounds i8,i8*%aO,i64 16
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aO,i64 24
%aZ=bitcast i8*%aY to i32*
store i32 7,i32*%aZ,align 4
%a0=call i8*@sml_alloc(i32 inreg 60)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177336,i32*%a2,align 4
%a3=getelementptr inbounds i8,i8*%a0,i64 56
%a4=bitcast i8*%a3 to i32*
store i32 1,i32*%a4,align 4
%a5=load i8*,i8**%e,align 8
%a6=bitcast i8*%a0 to i8**
store i8*%a5,i8**%a6,align 8
call void@sml_raise(i8*inreg%a0)#1
unreachable
a7:
br label%a8
a8:
%a9=phi i64[40,%a7],[24,%ay]
%ba=getelementptr inbounds i8,i8*%aI,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64%a9
%be=bitcast i8*%bd to i32*
%bf=load i32,i32*%be,align 4
%bg=call i8*@sml_alloc(i32 inreg 12)#0
%bh=bitcast i8*%bg to i32*
%bi=getelementptr inbounds i8,i8*%bg,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177288,i32*%bj,align 4
store i32%aF,i32*%bh,align 4
%bk=getelementptr inbounds i8,i8*%bg,i64 4
%bl=bitcast i8*%bk to i32*
store i32%bf,i32*%bl,align 4
%bm=getelementptr inbounds i8,i8*%bg,i64 8
%bn=bitcast i8*%bm to i32*
store i32 0,i32*%bn,align 4
%bo=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%bg)
%bp=icmp eq i32%bo,0
br i1%bp,label%bs,label%bq
bq:
%br=load i8*,i8**%d,align 8
ret i8*%br
bs:
%bt=call i8*@sml_alloc(i32 inreg 20)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177296,i32*%bv,align 4
%bw=load i8*,i8**%d,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=load i8*,i8**%c,align 8
%bz=getelementptr inbounds i8,i8*%bt,i64 8
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bt,i64 16
%bC=bitcast i8*%bB to i32*
store i32 3,i32*%bC,align 4
%bD=tail call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%bt)
ret i8*%bD
}
define internal fastcc i8*@_SMLLL10targetTfvs_139(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 i8**
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=icmp eq i8*%n,null
br i1%r,label%s,label%t
s:
ret i8*%q
t:
%u=bitcast i8**%d to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=bitcast i8*%n to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%c,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=load i8*,i8**%e,align 8
%K=tail call fastcc i8*@_SMLLLN12SetLiftedTys6dtysTyE_115(i8*inreg%J,i8*inreg%z)
ret i8*%K
}
define internal fastcc i8*@_SMLLL9dependSet_148(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%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**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call fastcc i8*@_SMLFN6TfvMap8inDomainE(i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%g,align 8
%z=bitcast i8**%e to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,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**%f,align 8
store i8*null,i8**%f,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%c,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=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%N=call fastcc i8*%w(i8*inreg%M,i8*inreg%C)
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%P)
%R=icmp eq i32%Q,0
br i1%R,label%T,label%S
S:
store i8*null,i8**%e,align 8
br label%bq
T:
%U=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%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
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
switch i32%aa,label%ab[
i32 3,label%ax
i32 4,label%ay
]
ab:
store i8*null,i8**%d,align 8
%ac=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ac,i8**%c,align 8
%ad=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@e,i64 0,i32 2)to i8*))
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**%e,align 8
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ae,i64 8
%ak=bitcast i8*%aj to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%ak,align 8
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ae,i64 24
%ap=bitcast i8*%ao to i32*
store i32 7,i32*%ap,align 4
%aq=call i8*@sml_alloc(i32 inreg 60)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177336,i32*%as,align 4
%at=getelementptr inbounds i8,i8*%aq,i64 56
%au=bitcast i8*%at to i32*
store i32 1,i32*%au,align 4
%av=load i8*,i8**%e,align 8
%aw=bitcast i8*%aq to i8**
store i8*%av,i8**%aw,align 8
call void@sml_raise(i8*inreg%aq)#1
unreachable
ax:
br label%ay
ay:
%az=phi i64[40,%ax],[24,%T]
%aA=getelementptr inbounds i8,i8*%Y,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64%az
%aE=bitcast i8*%aD to i32*
%aF=load i32,i32*%aE,align 4
%aG=bitcast i8**%c to i8***
%aH=load i8**,i8***%aG,align 8
%aI=load i8*,i8**%aH,align 8
%aJ=bitcast i8*%aI to i32*
%aK=load i32,i32*%aJ,align 4
switch i32%aK,label%aL[
i32 3,label%a7
i32 4,label%a8
]
aL:
store i8*null,i8**%d,align 8
%aM=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aM,i8**%c,align 8
%aN=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@e,i64 0,i32 2)to i8*))
store i8*%aN,i8**%d,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**%e,align 8
%aR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aO,i64 8
%aU=bitcast i8*%aT to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%aU,align 8
%aV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aW=getelementptr inbounds i8,i8*%aO,i64 16
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aO,i64 24
%aZ=bitcast i8*%aY to i32*
store i32 7,i32*%aZ,align 4
%a0=call i8*@sml_alloc(i32 inreg 60)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177336,i32*%a2,align 4
%a3=getelementptr inbounds i8,i8*%a0,i64 56
%a4=bitcast i8*%a3 to i32*
store i32 1,i32*%a4,align 4
%a5=load i8*,i8**%e,align 8
%a6=bitcast i8*%a0 to i8**
store i8*%a5,i8**%a6,align 8
call void@sml_raise(i8*inreg%a0)#1
unreachable
a7:
br label%a8
a8:
%a9=phi i64[40,%a7],[24,%ay]
%ba=getelementptr inbounds i8,i8*%aI,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64%a9
%be=bitcast i8*%bd to i32*
%bf=load i32,i32*%be,align 4
%bg=call i8*@sml_alloc(i32 inreg 12)#0
%bh=bitcast i8*%bg to i32*
%bi=getelementptr inbounds i8,i8*%bg,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177288,i32*%bj,align 4
store i32%aF,i32*%bh,align 4
%bk=getelementptr inbounds i8,i8*%bg,i64 4
%bl=bitcast i8*%bk to i32*
store i32%bf,i32*%bl,align 4
%bm=getelementptr inbounds i8,i8*%bg,i64 8
%bn=bitcast i8*%bm to i32*
store i32 0,i32*%bn,align 4
%bo=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%bg)
%bp=icmp eq i32%bo,0
br i1%bp,label%bs,label%bq
bq:
%br=load i8*,i8**%d,align 8
ret i8*%br
bs:
%bt=call i8*@sml_alloc(i32 inreg 20)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177296,i32*%bv,align 4
%bw=load i8*,i8**%d,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=load i8*,i8**%c,align 8
%bz=getelementptr inbounds i8,i8*%bt,i64 8
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bt,i64 16
%bC=bitcast i8*%bB to i32*
store i32 3,i32*%bC,align 4
%bD=tail call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%bt)
ret i8*%bD
}
define internal fastcc i8*@_SMLLL12dependMapTfv_153(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%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
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
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%o,i64 16
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
switch i32%y,label%z[
i32 3,label%bZ
i32 4,label%V
]
z:
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%A=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%A,i8**%c,align 8
%B=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@g,i64 0,i32 2)to i8*))
store i8*%B,i8**%d,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
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=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%I,align 8
%J=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%C,i64 24
%N=bitcast i8*%M to i32*
store i32 7,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 60)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177336,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 56
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=load i8*,i8**%e,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
call void@sml_raise(i8*inreg%O)#1
unreachable
V:
%W=getelementptr inbounds i8,i8*%w,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%e,align 8
%ac=call fastcc i8*@_SMLFN9SymbolEnv5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%h,align 8
%ai=bitcast i8**%f to i8***
%aj=load i8**,i8***%ai,align 8
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%g,align 8
%al=call i8*@sml_alloc(i32 inreg 12)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
store i8*%al,i8**%i,align 8
%ao=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to i32*
store i32 1,i32*%ar,align 4
%as=call i8*@sml_alloc(i32 inreg 28)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177304,i32*%au,align 4
%av=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10targetTfvs_139 to void(...)*),void(...)**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10targetTfvs_139 to void(...)*),void(...)**%aA,align 8
%aB=getelementptr inbounds i8,i8*%as,i64 24
%aC=bitcast i8*%aB to i32*
store i32 -2147483647,i32*%aC,align 4
%aD=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aE=call fastcc i8*%af(i8*inreg%aD,i8*inreg%as)
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%aL=call fastcc i8*%aH(i8*inreg%aJ,i8*inreg%aK)
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i8*(i8*,i8*)**
%aO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aN,align 8
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
%aR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aS=call fastcc i8*%aO(i8*inreg%aQ,i8*inreg%aR)
store i8*%aS,i8**%e,align 8
%aT=call fastcc i8*@_SMLFN6TfvSet5foldrE(i32 inreg 1,i32 inreg 8)
%aU=getelementptr inbounds i8,i8*%aT,i64 16
%aV=bitcast i8*%aU to i8*(i8*,i8*)**
%aW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aV,align 8
%aX=bitcast i8*%aT to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%g,align 8
%aZ=load i8*,i8**%f,align 8
%a0=getelementptr inbounds i8,i8*%aZ,i64 8
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%f,align 8
%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
store i8*%a3,i8**%h,align 8
%a6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=load i8*,i8**%c,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
%bd=call i8*@sml_alloc(i32 inreg 28)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177304,i32*%bf,align 4
%bg=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%bd,i64 8
%bj=bitcast i8*%bi to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9dependSet_148 to void(...)*),void(...)**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bd,i64 16
%bl=bitcast i8*%bk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9dependSet_148 to void(...)*),void(...)**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bd,i64 24
%bn=bitcast i8*%bm to i32*
store i32 -2147483647,i32*%bn,align 4
%bo=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bp=call fastcc i8*%aW(i8*inreg%bo,i8*inreg%bd)
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
%bv=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%bw=call fastcc i8*%bs(i8*inreg%bu,i8*inreg%bv)
%bx=getelementptr inbounds i8,i8*%bw,i64 16
%by=bitcast i8*%bx to i8*(i8*,i8*)**
%bz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%by,align 8
%bA=bitcast i8*%bw to i8**
%bB=load i8*,i8**%bA,align 8
%bC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bD=call fastcc i8*%bz(i8*inreg%bB,i8*inreg%bC)
store i8*%bD,i8**%e,align 8
%bE=call fastcc i8*@_SMLFN6TfvMap6insertE(i32 inreg 1,i32 inreg 8)
%bF=getelementptr inbounds i8,i8*%bE,i64 16
%bG=bitcast i8*%bF to i8*(i8*,i8*)**
%bH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bG,align 8
%bI=bitcast i8*%bE to i8**
%bJ=load i8*,i8**%bI,align 8
store i8*%bJ,i8**%f,align 8
%bK=call i8*@sml_alloc(i32 inreg 28)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177304,i32*%bM,align 4
%bN=load i8*,i8**%d,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=load i8*,i8**%c,align 8
%bQ=getelementptr inbounds i8,i8*%bK,i64 8
%bR=bitcast i8*%bQ to i8**
store i8*%bP,i8**%bR,align 8
%bS=load i8*,i8**%e,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 16
%bU=bitcast i8*%bT to i8**
store i8*%bS,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bK,i64 24
%bW=bitcast i8*%bV to i32*
store i32 7,i32*%bW,align 4
%bX=load i8*,i8**%f,align 8
%bY=tail call fastcc i8*%bH(i8*inreg%bX,i8*inreg%bK)
ret i8*%bY
bZ:
%b0=getelementptr inbounds i8,i8*%w,i64 8
%b1=bitcast i8*%b0 to i8**
%b2=load i8*,i8**%b1,align 8
%b3=getelementptr inbounds i8,i8*%b2,i64 16
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=getelementptr inbounds i8,i8*%b2,i64 24
%b7=bitcast i8*%b6 to i8**
%b8=load i8*,i8**%b7,align 8
%b9=bitcast i8*%b8 to i32*
%ca=load i32,i32*%b9,align 4
%cb=icmp eq i32%ca,4
br i1%cb,label%cc,label%dr
cc:
%cd=getelementptr inbounds i8,i8*%b8,i64 8
%ce=bitcast i8*%cd to i8**
%cf=load i8*,i8**%ce,align 8
%cg=getelementptr inbounds i8,i8*%cf,i64 8
%ch=bitcast i8*%cg to i8**
%ci=load i8*,i8**%ch,align 8
%cj=bitcast i8*%ci to i32*
%ck=load i32,i32*%cj,align 4
%cl=icmp eq i32%ck,1
br i1%cl,label%cm,label%dr
cm:
%cn=getelementptr inbounds i8,i8*%ci,i64 8
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,align 8
store i8*%cp,i8**%e,align 8
%cq=call fastcc i8*@_SMLFN6TfvMap8inDomainE(i32 inreg 1,i32 inreg 8)
%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**%g,align 8
%cw=load i8*,i8**%f,align 8
%cx=getelementptr inbounds i8,i8*%cw,i64 8
%cy=bitcast i8*%cx to i8**
%cz=load i8*,i8**%cy,align 8
store i8*%cz,i8**%f,align 8
%cA=call i8*@sml_alloc(i32 inreg 20)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177296,i32*%cC,align 4
%cD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cE=bitcast i8*%cA to i8**
store i8*%cD,i8**%cE,align 8
%cF=load i8*,i8**%e,align 8
%cG=getelementptr inbounds i8,i8*%cA,i64 8
%cH=bitcast i8*%cG to i8**
store i8*%cF,i8**%cH,align 8
%cI=getelementptr inbounds i8,i8*%cA,i64 16
%cJ=bitcast i8*%cI to i32*
store i32 3,i32*%cJ,align 4
%cK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cL=call fastcc i8*%ct(i8*inreg%cK,i8*inreg%cA)
%cM=bitcast i8*%cL to i32*
%cN=load i32,i32*%cM,align 4
%cO=icmp eq i32%cN,0
br i1%cO,label%c2,label%cP
cP:
%cQ=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
store i8*%cQ,i8**%f,align 8
%cR=call i8*@sml_alloc(i32 inreg 20)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32 1342177296,i32*%cT,align 4
%cU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cV=bitcast i8*%cR to i8**
store i8*%cU,i8**%cV,align 8
%cW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cX=getelementptr inbounds i8,i8*%cR,i64 8
%cY=bitcast i8*%cX to i8**
store i8*%cW,i8**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cR,i64 16
%c0=bitcast i8*%cZ to i32*
store i32 3,i32*%c0,align 4
%c1=call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%cR)
br label%c4
c2:
store i8*null,i8**%e,align 8
%c3=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
br label%c4
c4:
%c5=phi i8*[%c3,%c2],[%c1,%cP]
store i8*%c5,i8**%e,align 8
%c6=call fastcc i8*@_SMLFN6TfvMap6insertE(i32 inreg 1,i32 inreg 8)
%c7=getelementptr inbounds i8,i8*%c6,i64 16
%c8=bitcast i8*%c7 to i8*(i8*,i8*)**
%c9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c8,align 8
%da=bitcast i8*%c6 to i8**
%db=load i8*,i8**%da,align 8
store i8*%db,i8**%f,align 8
%dc=call i8*@sml_alloc(i32 inreg 28)#0
%dd=getelementptr inbounds i8,i8*%dc,i64 -4
%de=bitcast i8*%dd to i32*
store i32 1342177304,i32*%de,align 4
%df=load i8*,i8**%d,align 8
%dg=bitcast i8*%dc to i8**
store i8*%df,i8**%dg,align 8
%dh=load i8*,i8**%c,align 8
%di=getelementptr inbounds i8,i8*%dc,i64 8
%dj=bitcast i8*%di to i8**
store i8*%dh,i8**%dj,align 8
%dk=load i8*,i8**%e,align 8
%dl=getelementptr inbounds i8,i8*%dc,i64 16
%dm=bitcast i8*%dl to i8**
store i8*%dk,i8**%dm,align 8
%dn=getelementptr inbounds i8,i8*%dc,i64 24
%do=bitcast i8*%dn to i32*
store i32 7,i32*%do,align 4
%dp=load i8*,i8**%f,align 8
%dq=tail call fastcc i8*%c9(i8*inreg%dp,i8*inreg%dc)
ret i8*%dq
dr:
store i8*%b5,i8**%e,align 8
%ds=call fastcc i8*@_SMLFN9SymbolEnv5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dt=getelementptr inbounds i8,i8*%ds,i64 16
%du=bitcast i8*%dt to i8*(i8*,i8*)**
%dv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%du,align 8
%dw=bitcast i8*%ds to i8**
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%h,align 8
%dy=bitcast i8**%f to i8***
%dz=load i8**,i8***%dy,align 8
%dA=load i8*,i8**%dz,align 8
store i8*%dA,i8**%g,align 8
%dB=call i8*@sml_alloc(i32 inreg 12)#0
%dC=getelementptr inbounds i8,i8*%dB,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177288,i32*%dD,align 4
store i8*%dB,i8**%i,align 8
%dE=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 i32*
store i32 1,i32*%dH,align 4
%dI=call i8*@sml_alloc(i32 inreg 28)#0
%dJ=getelementptr inbounds i8,i8*%dI,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32 1342177304,i32*%dK,align 4
%dL=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dM=bitcast i8*%dI to i8**
store i8*%dL,i8**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dI,i64 8
%dO=bitcast i8*%dN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10targetTfvs_129 to void(...)*),void(...)**%dO,align 8
%dP=getelementptr inbounds i8,i8*%dI,i64 16
%dQ=bitcast i8*%dP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10targetTfvs_129 to void(...)*),void(...)**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dI,i64 24
%dS=bitcast i8*%dR to i32*
store i32 -2147483647,i32*%dS,align 4
%dT=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dU=call fastcc i8*%dv(i8*inreg%dT,i8*inreg%dI)
%dV=getelementptr inbounds i8,i8*%dU,i64 16
%dW=bitcast i8*%dV to i8*(i8*,i8*)**
%dX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dW,align 8
%dY=bitcast i8*%dU to i8**
%dZ=load i8*,i8**%dY,align 8
%d0=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%d1=call fastcc i8*%dX(i8*inreg%dZ,i8*inreg%d0)
%d2=getelementptr inbounds i8,i8*%d1,i64 16
%d3=bitcast i8*%d2 to i8*(i8*,i8*)**
%d4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d3,align 8
%d5=bitcast i8*%d1 to i8**
%d6=load i8*,i8**%d5,align 8
%d7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d8=call fastcc i8*%d4(i8*inreg%d6,i8*inreg%d7)
store i8*%d8,i8**%e,align 8
%d9=call fastcc i8*@_SMLFN6TfvSet5foldrE(i32 inreg 1,i32 inreg 8)
%ea=getelementptr inbounds i8,i8*%d9,i64 16
%eb=bitcast i8*%ea to i8*(i8*,i8*)**
%ec=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eb,align 8
%ed=bitcast i8*%d9 to i8**
%ee=load i8*,i8**%ed,align 8
store i8*%ee,i8**%g,align 8
%ef=load i8*,i8**%f,align 8
%eg=getelementptr inbounds i8,i8*%ef,i64 8
%eh=bitcast i8*%eg to i8**
%ei=load i8*,i8**%eh,align 8
store i8*%ei,i8**%f,align 8
%ej=call i8*@sml_alloc(i32 inreg 20)#0
%ek=getelementptr inbounds i8,i8*%ej,i64 -4
%el=bitcast i8*%ek to i32*
store i32 1342177296,i32*%el,align 4
store i8*%ej,i8**%h,align 8
%em=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%en=bitcast i8*%ej to i8**
store i8*%em,i8**%en,align 8
%eo=load i8*,i8**%c,align 8
%ep=getelementptr inbounds i8,i8*%ej,i64 8
%eq=bitcast i8*%ep to i8**
store i8*%eo,i8**%eq,align 8
%er=getelementptr inbounds i8,i8*%ej,i64 16
%es=bitcast i8*%er to i32*
store i32 3,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*)*@_SMLLL9dependSet_138 to void(...)*),void(...)**%ez,align 8
%eA=getelementptr inbounds i8,i8*%et,i64 16
%eB=bitcast i8*%eA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9dependSet_138 to void(...)*),void(...)**%eB,align 8
%eC=getelementptr inbounds i8,i8*%et,i64 24
%eD=bitcast i8*%eC to i32*
store i32 -2147483647,i32*%eD,align 4
%eE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eF=call fastcc i8*%ec(i8*inreg%eE,i8*inreg%et)
%eG=getelementptr inbounds i8,i8*%eF,i64 16
%eH=bitcast i8*%eG to i8*(i8*,i8*)**
%eI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eH,align 8
%eJ=bitcast i8*%eF to i8**
%eK=load i8*,i8**%eJ,align 8
%eL=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%eM=call fastcc i8*%eI(i8*inreg%eK,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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eT=call fastcc i8*%eP(i8*inreg%eR,i8*inreg%eS)
store i8*%eT,i8**%e,align 8
%eU=call fastcc i8*@_SMLFN6TfvMap6insertE(i32 inreg 1,i32 inreg 8)
%eV=getelementptr inbounds i8,i8*%eU,i64 16
%eW=bitcast i8*%eV to i8*(i8*,i8*)**
%eX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eW,align 8
%eY=bitcast i8*%eU to i8**
%eZ=load i8*,i8**%eY,align 8
store i8*%eZ,i8**%f,align 8
%e0=call i8*@sml_alloc(i32 inreg 28)#0
%e1=getelementptr inbounds i8,i8*%e0,i64 -4
%e2=bitcast i8*%e1 to i32*
store i32 1342177304,i32*%e2,align 4
%e3=load i8*,i8**%d,align 8
%e4=bitcast i8*%e0 to i8**
store i8*%e3,i8**%e4,align 8
%e5=load i8*,i8**%c,align 8
%e6=getelementptr inbounds i8,i8*%e0,i64 8
%e7=bitcast i8*%e6 to i8**
store i8*%e5,i8**%e7,align 8
%e8=load i8*,i8**%e,align 8
%e9=getelementptr inbounds i8,i8*%e0,i64 16
%fa=bitcast i8*%e9 to i8**
store i8*%e8,i8**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e0,i64 24
%fc=bitcast i8*%fb to i32*
store i32 7,i32*%fc,align 4
%fd=load i8*,i8**%f,align 8
%fe=tail call fastcc i8*%eX(i8*inreg%fd,i8*inreg%e0)
ret i8*%fe
}
define internal fastcc i8*@_SMLLL7addEdge_154(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
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**%d,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%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%p
k:
call void@sml_check(i32 inreg%g)
%l=load i8*,i8**%c,align 8
%m=bitcast i8**%d to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%n to i8*
br label%p
p:
%q=phi i8*[%o,%k],[%a,%i]
%r=phi i8**[%n,%k],[%j,%i]
%s=phi i8*[%l,%k],[%b,%i]
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=load i8*,i8**%r,align 8
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%f,align 8
%B=getelementptr inbounds i8,i8*%s,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%q,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%d,align 8
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177304,i32*%J,align 4
%K=load i8*,i8**%e,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=load i8*,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=load i8*,i8**%c,align 8
%Q=getelementptr inbounds i8,i8*%H,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%H,i64 24
%T=bitcast i8*%S to i32*
store i32 7,i32*%T,align 4
%U=load i8*,i8**%f,align 8
%V=tail call fastcc i8*%y(i8*inreg%U,i8*inreg%H)
ret i8*%V
}
define internal fastcc i8*@_SMLLL7addEdge_155(i8*inreg%a,i8*inreg%b)#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**%f,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=bitcast i8*%n to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%n,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%n,i64 16
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=call fastcc i8*@_SMLFN6TfvSet5foldrE(i32 inreg 1,i32 inreg 8)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%g,align 8
%D=bitcast i8**%f to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%f,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
store i8*%G,i8**%h,align 8
%J=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%G,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
%Q=call i8*@sml_alloc(i32 inreg 28)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177304,i32*%S,align 4
%T=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7addEdge_154 to void(...)*),void(...)**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7addEdge_154 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%Q,i64 24
%aa=bitcast i8*%Z to i32*
store i32 -2147483647,i32*%aa,align 4
%ab=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ac=call fastcc i8*%A(i8*inreg%ab,i8*inreg%Q)
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
%ai=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aj=call fastcc i8*%af(i8*inreg%ah,i8*inreg%ai)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=load i8*,i8**%d,align 8
%aq=tail call fastcc i8*%am(i8*inreg%ao,i8*inreg%ap)
ret i8*%aq
}
define internal fastcc i8*@_SMLLL5graph_156(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%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**%c,align 8
%l=bitcast i8**%d 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**%c,align 8
%s=load i8*,i8**%o,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%d,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%d,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=load i8*,i8**%e,align 8
%M=tail call fastcc i8*%v(i8*inreg%L,i8*inreg%B)
ret i8*%M
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys7SCCTfvsE_157(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
%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**%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
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%d,align 8
store i8*%c,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%n,label%m
m:
call void@sml_check(i32 inreg%k)
br label%n
n:
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177296,i32*%q,align 4
store i8*%o,i8**%g,align 8
%r=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=load i8*,i8**%e,align 8
%u=getelementptr inbounds i8,i8*%o,i64 8
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%o,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12dependMapTfv_153 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12dependMapTfv_153 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
%J=call fastcc i8*@_SMLFN6TfvMap6foldriE(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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Q=call fastcc i8*%M(i8*inreg%O,i8*inreg%P)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%d,align 8
%W=call fastcc i8*@_SMLFN6TfvMap5emptyE(i32 inreg 1,i32 inreg 8)
%X=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Y=call fastcc i8*%T(i8*inreg%X,i8*inreg%W)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
%ae=load i8*,i8**%e,align 8
%af=call fastcc i8*%ab(i8*inreg%ad,i8*inreg%ae)
store i8*%af,i8**%d,align 8
%ag=bitcast i8**%f to i8***
%ah=load i8**,i8***%ag,align 8
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%g,align 8
%aj=call i8*@sml_alloc(i32 inreg 12)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177288,i32*%al,align 4
store i8*%aj,i8**%h,align 8
%am=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to i32*
store i32 1,i32*%ap,align 4
%aq=call i8*@sml_alloc(i32 inreg 28)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177304,i32*%as,align 4
store i8*%aq,i8**%i,align 8
%at=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%aq,i64 8
%aw=bitcast i8*%av to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7addEdge_155 to void(...)*),void(...)**%aw,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 16
%ay=bitcast i8*%ax to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7addEdge_155 to void(...)*),void(...)**%ay,align 8
%az=getelementptr inbounds i8,i8*%aq,i64 24
%aA=bitcast i8*%az to i32*
store i32 -2147483647,i32*%aA,align 4
%aB=call fastcc i8*@_SMLFN6TfvMap6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aC=getelementptr inbounds i8,i8*%aB,i64 16
%aD=bitcast i8*%aC to i8*(i8*,i8*)**
%aE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aD,align 8
%aF=bitcast i8*%aB to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%h,align 8
%aH=load i8*,i8**%f,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%g,align 8
%aL=call i8*@sml_alloc(i32 inreg 12)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177288,i32*%aN,align 4
store i8*%aL,i8**%j,align 8
%aO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aL,i64 8
%aR=bitcast i8*%aQ to i32*
store i32 1,i32*%aR,align 4
%aS=call i8*@sml_alloc(i32 inreg 28)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177304,i32*%aU,align 4
%aV=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aS,i64 8
%aY=bitcast i8*%aX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5graph_156 to void(...)*),void(...)**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aS,i64 16
%a0=bitcast i8*%aZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5graph_156 to void(...)*),void(...)**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aS,i64 24
%a2=bitcast i8*%a1 to i32*
store i32 -2147483647,i32*%a2,align 4
%a3=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a4=call fastcc i8*%aE(i8*inreg%a3,i8*inreg%aS)
%a5=getelementptr inbounds i8,i8*%a4,i64 16
%a6=bitcast i8*%a5 to i8*(i8*,i8*)**
%a7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a6,align 8
%a8=bitcast i8*%a4 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=load i8*,i8**%f,align 8
%bb=getelementptr inbounds i8,i8*%ba,i64 16
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
%be=call fastcc i8*%a7(i8*inreg%a9,i8*inreg%bd)
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=call fastcc i8*%bh(i8*inreg%bj,i8*inreg%bk)
store i8*%bl,i8**%e,align 8
%bm=call fastcc i8*@_SMLFN6TfvMap6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bn=getelementptr inbounds i8,i8*%bm,i64 16
%bo=bitcast i8*%bn to i8*(i8*,i8*)**
%bp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bo,align 8
%bq=bitcast i8*%bm to i8**
%br=load i8*,i8**%bq,align 8
%bs=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bt=call fastcc i8*%bp(i8*inreg%br,i8*inreg%bs)
%bu=getelementptr inbounds i8,i8*%bt,i64 16
%bv=bitcast i8*%bu to i8*(i8*,i8*)**
%bw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bv,align 8
%bx=bitcast i8*%bt to i8**
%by=load i8*,i8**%bx,align 8
%bz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bA=call fastcc i8*%bw(i8*inreg%by,i8*inreg%bz)
%bB=getelementptr inbounds i8,i8*%bA,i64 16
%bC=bitcast i8*%bB to i8*(i8*,i8*)**
%bD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bC,align 8
%bE=bitcast i8*%bA to i8**
%bF=load i8*,i8**%bE,align 8
%bG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bH=call fastcc i8*%bD(i8*inreg%bF,i8*inreg%bG)
%bI=load i8*,i8**%f,align 8
%bJ=getelementptr inbounds i8,i8*%bI,i64 24
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
%bM=getelementptr inbounds i8,i8*%bL,i64 16
%bN=bitcast i8*%bM to i8*(i8*,i8*)**
%bO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bN,align 8
store i8*null,i8**%f,align 8
%bP=bitcast i8*%bL to i8**
%bQ=load i8*,i8**%bP,align 8
%bR=call fastcc i8*%bO(i8*inreg%bQ,i8*inreg%bH)
ret i8*%bR
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_163(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=tail call fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_158(i8*inreg%p)
ret i8*%z
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_158(i8*inreg%a)#2 gc"smlsharp"{
g:
%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
br label%e
e:
%f=phi i8*[%U,%N],[%a,%g]
store i8*%f,i8**%b,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%f,%e]
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%m,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%b,align 8
%s=bitcast i8*%o to i32*
%t=load i32,i32*%s,align 4
switch i32%t,label%u[
i32 8,label%M
i32 2,label%M
i32 7,label%cU
i32 3,label%M
i32 6,label%cu
i32 1,label%aD
i32 4,label%ae
i32 5,label%N
i32 0,label%M
]
u:
call void@sml_matchcomp_bug()
%v=load i8*,i8**@_SMLZ5Match,align 8
store i8*%v,i8**%b,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
store i8*%w,i8**%c,align 8
%z=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@k,i64 0,i32 2,i64 0),i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%c,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
ret i8*%r
N:
%O=getelementptr inbounds i8,i8*%o,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%c,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
br label%e
ae:
%af=getelementptr inbounds i8,i8*%o,i64 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ah,i64 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%d,align 8
%an=call i8*@sml_alloc(i32 inreg 20)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177296,i32*%ap,align 4
%aq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%at=getelementptr inbounds i8,i8*%an,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%an,i64 16
%aw=bitcast i8*%av to i32*
store i32 3,i32*%aw,align 4
%ax=call fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_158(i8*inreg%an)
store i8*%ax,i8**%b,align 8
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
br label%de
aD:
%aE=getelementptr inbounds i8,i8*%o,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
%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
%aM=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%aL)
%aN=bitcast i8*%aM to i32*
%aO=load i32,i32*%aN,align 4
switch i32%aO,label%aP[
i32 0,label%bS
i32 1,label%a7
]
aP:
store i8*null,i8**%c,align 8
call void@sml_matchcomp_bug()
%aQ=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aQ,i8**%b,align 8
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
store i8*%aR,i8**%c,align 8
%aU=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aR,i64 8
%aX=bitcast i8*%aW to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@j,i64 0,i32 2,i64 0),i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 3,i32*%aZ,align 4
%a0=call i8*@sml_alloc(i32 inreg 60)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177336,i32*%a2,align 4
%a3=getelementptr inbounds i8,i8*%a0,i64 56
%a4=bitcast i8*%a3 to i32*
store i32 1,i32*%a4,align 4
%a5=load i8*,i8**%c,align 8
%a6=bitcast i8*%a0 to i8**
store i8*%a5,i8**%a6,align 8
call void@sml_raise(i8*inreg%a0)#1
unreachable
a7:
%a8=getelementptr inbounds i8,i8*%aM,i64 8
%a9=bitcast i8*%a8 to i8***
%ba=load i8**,i8***%a9,align 8
%bb=load i8*,i8**%ba,align 8
%bc=bitcast i8*%bb to i32*
%bd=load i32,i32*%bc,align 4
switch i32%bd,label%be[
i32 3,label%bA
i32 5,label%by
i32 4,label%bg
]
be:
%bf=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
br label%cm
bg:
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
%bk=getelementptr inbounds i8,i8*%bj,i64 32
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
store i8*%bm,i8**%d,align 8
%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**%b,align 8
store i8*null,i8**%b,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%d,align 8
store i8*null,i8**%d,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
%bx=call fastcc i8*@_SMLFN6IDCalc14liftedTysUnionE(i8*inreg%bn)
br label%cm
by:
%bz=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
br label%cm
bA:
%bB=getelementptr inbounds i8,i8*%bb,i64 8
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
%bE=getelementptr inbounds i8,i8*%bD,i64 48
%bF=bitcast i8*%bE to i8**
%bG=load i8*,i8**%bF,align 8
store i8*%bG,i8**%d,align 8
%bH=call i8*@sml_alloc(i32 inreg 20)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177296,i32*%bJ,align 4
%bK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bN=getelementptr inbounds i8,i8*%bH,i64 8
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
%bR=call fastcc i8*@_SMLFN6IDCalc14liftedTysUnionE(i8*inreg%bH)
br label%cm
bS:
%bT=getelementptr inbounds i8,i8*%aM,i64 8
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
%bW=getelementptr inbounds i8,i8*%bV,i64 8
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
%bZ=icmp eq i8*%bY,null
br i1%bZ,label%b0,label%co
b0:
%b1=getelementptr inbounds i8,i8*%bV,i64 24
%b2=bitcast i8*%b1 to i8**
%b3=load i8*,i8**%b2,align 8
%b4=bitcast i8*%b3 to i32*
%b5=load i32,i32*%b4,align 4
%b6=icmp eq i32%b5,7
br i1%b6,label%b7,label%co
b7:
%b8=getelementptr inbounds i8,i8*%b3,i64 8
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
store i8*%ca,i8**%d,align 8
%cb=call i8*@sml_alloc(i32 inreg 20)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177296,i32*%cd,align 4
%ce=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cf=bitcast i8*%cb to i8**
store i8*%ce,i8**%cf,align 8
%cg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ch=getelementptr inbounds i8,i8*%cb,i64 8
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%cb,i64 16
%ck=bitcast i8*%cj to i32*
store i32 3,i32*%ck,align 4
%cl=call fastcc i8*@_SMLFN7TvarSet3addE(i8*inreg%cb)
br label%cm
cm:
%cn=phi i8*[%cl,%b7],[%bf,%be],[%bx,%bg],[%bz,%by],[%bR,%bA]
store i8*%cn,i8**%b,align 8
br label%co
co:
%cp=call i8*@sml_alloc(i32 inreg 20)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177296,i32*%cr,align 4
%cs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
br label%de
cu:
%cv=getelementptr inbounds i8,i8*%o,i64 8
%cw=bitcast i8*%cv to i8***
%cx=load i8**,i8***%cw,align 8
%cy=load i8*,i8**%cx,align 8
store i8*%cy,i8**%c,align 8
%cz=call fastcc i8*@_SMLFN11RecordLabel3Map5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cA=getelementptr inbounds i8,i8*%cz,i64 16
%cB=bitcast i8*%cA to i8*(i8*,i8*)**
%cC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cB,align 8
%cD=bitcast i8*%cz to i8**
%cE=load i8*,i8**%cD,align 8
%cF=call fastcc i8*%cC(i8*inreg%cE,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%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**%b,align 8
store i8*null,i8**%b,align 8
%cM=call fastcc i8*%cI(i8*inreg%cK,i8*inreg%cL)
%cN=getelementptr inbounds i8,i8*%cM,i64 16
%cO=bitcast i8*%cN to i8*(i8*,i8*)**
%cP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cO,align 8
%cQ=bitcast i8*%cM to i8**
%cR=load i8*,i8**%cQ,align 8
%cS=load i8*,i8**%c,align 8
%cT=tail call fastcc i8*%cP(i8*inreg%cR,i8*inreg%cS)
ret i8*%cT
cU:
%cV=getelementptr inbounds i8,i8*%o,i64 8
%cW=bitcast i8*%cV to i8**
%cX=load i8*,i8**%cW,align 8
store i8*%cX,i8**%c,align 8
%cY=getelementptr inbounds i8,i8*%cX,i64 8
%cZ=bitcast i8*%cY to i32*
%c0=load i32,i32*%cZ,align 4
%c1=icmp eq i32%c0,0
br i1%c1,label%M,label%c2
c2:
%c3=call i8*@sml_alloc(i32 inreg 20)#0
%c4=getelementptr inbounds i8,i8*%c3,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32 1342177296,i32*%c5,align 4
%c6=load i8*,i8**%b,align 8
%c7=bitcast i8*%c3 to i8**
store i8*%c6,i8**%c7,align 8
%c8=load i8*,i8**%c,align 8
%c9=getelementptr inbounds i8,i8*%c3,i64 8
%da=bitcast i8*%c9 to i8**
store i8*%c8,i8**%da,align 8
%db=getelementptr inbounds i8,i8*%c3,i64 16
%dc=bitcast i8*%db to i32*
store i32 3,i32*%dc,align 4
%dd=tail call fastcc i8*@_SMLFN7TvarSet3addE(i8*inreg%c3)
ret i8*%dd
de:
%df=phi i8*[%cp,%co],[%ay,%ae]
%dg=phi i8**[%ct,%co],[%aC,%ae]
%dh=phi i8*[%cs,%co],[%aB,%ae]
%di=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dj=getelementptr inbounds i8,i8*%df,i64 8
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%df,i64 16
%dm=bitcast i8*%dl to i32*
store i32 3,i32*%dm,align 4
store i8*%df,i8**%b,align 8
%dn=load atomic i32,i32*@sml_check_flag unordered,align 4
%do=icmp eq i32%dn,0
br i1%do,label%dt,label%dp
dp:
call void@sml_check(i32 inreg%dn)
%dq=bitcast i8**%b to i8***
%dr=load i8**,i8***%dq,align 8
%ds=load i8*,i8**%dr,align 8
br label%dt
dt:
%du=phi i8*[%ds,%dp],[%dh,%de]
%dv=phi i8**[%dr,%dp],[%dg,%de]
store i8*%du,i8**%c,align 8
%dw=getelementptr inbounds i8*,i8**%dv,i64 1
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%b,align 8
%dy=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dz=getelementptr inbounds i8,i8*%dy,i64 16
%dA=bitcast i8*%dz to i8*(i8*,i8*)**
%dB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dA,align 8
%dC=bitcast i8*%dy to i8**
%dD=load i8*,i8**%dC,align 8
%dE=call fastcc i8*%dB(i8*inreg%dD,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*))
%dF=getelementptr inbounds i8,i8*%dE,i64 16
%dG=bitcast i8*%dF to i8*(i8*,i8*)**
%dH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dG,align 8
%dI=bitcast i8*%dE to i8**
%dJ=load i8*,i8**%dI,align 8
%dK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dL=call fastcc i8*%dH(i8*inreg%dJ,i8*inreg%dK)
%dM=getelementptr inbounds i8,i8*%dL,i64 16
%dN=bitcast i8*%dM to i8*(i8*,i8*)**
%dO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dN,align 8
%dP=bitcast i8*%dL to i8**
%dQ=load i8*,i8**%dP,align 8
%dR=load i8*,i8**%c,align 8
%dS=tail call fastcc i8*%dO(i8*inreg%dQ,i8*inreg%dR)
ret i8*%dS
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_167(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=icmp eq i8*%l,null
br i1%p,label%q,label%r
q:
ret i8*%o
r:
%s=bitcast i8*%l to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=load i8*,i8**%b,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%u,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=tail call fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_158(i8*inreg%u)
ret i8*%E
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_169(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call fastcc i8*@_SMLFN9SymbolEnv5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*%s(i8*inreg%u,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@l,i64 0,i32 2)to i8*))
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=call fastcc i8*%y(i8*inreg%A,i8*inreg%B)
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=load i8*,i8**%b,align 8
%J=tail call fastcc i8*%F(i8*inreg%H,i8*inreg%I)
ret i8*%J
}
define internal fastcc i8*@_SMLLL11conSpecList_175(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%b to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 3,label%T
i32 4,label%M
]
q:
%r=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%r,i8**%b,align 8
%s=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@o,i64 0,i32 2)to i8*))
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%z,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%t,i64 24
%E=bitcast i8*%D to i32*
store i32 7,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%d,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=getelementptr inbounds i8,i8*%n,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
ret i8*%S
T:
%U=getelementptr inbounds i8,i8*%n,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
ret i8*%Z
}
define internal fastcc void@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_181(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**%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
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,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*%b to i8**
br label%r
o:
call void@sml_check(i32 inreg%k)
%p=bitcast i8**%c to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8**[%q,%o],[%n,%m]
%t=load i8*,i8**%s,align 8
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 3,label%aV
i32 4,label%S
]
w:
store i8*null,i8**%d,align 8
%x=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%x,i8**%c,align 8
%y=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@s,i64 0,i32 2)to i8*))
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 28)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
store i8*%z,i8**%e,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%F,align 8
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%z,i64 24
%K=bitcast i8*%J to i32*
store i32 7,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%e,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
S:
%T=getelementptr inbounds i8,i8*%t,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=getelementptr inbounds i8,i8*%V,i64 8
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%e,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 16
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%f,align 8
%ae=getelementptr inbounds i8,i8*%V,i64 24
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%ah=bitcast i8**%d to i8***
%ai=load i8**,i8***%ah,align 8
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%d,align 8
%ak=getelementptr inbounds i8,i8*%V,i64 40
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%g,align 8
%an=call i8*@sml_alloc(i32 inreg 52)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177328,i32*%ap,align 4
store i8*%an,i8**%h,align 8
%aq=getelementptr inbounds i8,i8*%an,i64 4
call void@llvm.memset.p0i8.i32(i8*%aq,i8 0,i32 28,i1 false)
%ar=bitcast i8*%an to i32*
store i32%X,i32*%ar,align 4
%as=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%at=getelementptr inbounds i8,i8*%an,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 16
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%an,i64 24
%az=bitcast i8*%ay to i32*
store i32%ag,i32*%az,align 4
%aA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aB=getelementptr inbounds i8,i8*%an,i64 32
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aE=getelementptr inbounds i8,i8*%an,i64 40
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%an,i64 48
%aH=bitcast i8*%aG to i32*
store i32 54,i32*%aH,align 4
%aI=call i8*@sml_alloc(i32 inreg 20)#0
%aJ=bitcast i8*%aI to i32*
%aK=getelementptr inbounds i8,i8*%aI,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177296,i32*%aL,align 4
%aM=getelementptr inbounds i8,i8*%aI,i64 4
%aN=bitcast i8*%aM to i32*
store i32 0,i32*%aN,align 1
store i32 4,i32*%aJ,align 4
%aO=load i8*,i8**%h,align 8
%aP=getelementptr inbounds i8,i8*%aI,i64 8
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aI,i64 16
%aS=bitcast i8*%aR to i32*
store i32 2,i32*%aS,align 4
%aT=load i8*,i8**%c,align 8
%aU=bitcast i8*%aT to i8**
call void@sml_write(i8*inreg%aT,i8**inreg%aU,i8*inreg%aI)#0
ret void
aV:
%aW=getelementptr inbounds i8,i8*%t,i64 8
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
%a1=getelementptr inbounds i8,i8*%aY,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%e,align 8
%a4=getelementptr inbounds i8,i8*%aY,i64 16
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%f,align 8
%a7=getelementptr inbounds i8,i8*%aY,i64 24
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%g,align 8
%ba=getelementptr inbounds i8,i8*%aY,i64 32
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%h,align 8
%bd=getelementptr inbounds i8,i8*%aY,i64 40
%be=bitcast i8*%bd to i32*
%bf=load i32,i32*%be,align 4
%bg=bitcast i8**%d to i8***
%bh=load i8**,i8***%bg,align 8
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%d,align 8
%bj=getelementptr inbounds i8,i8*%aY,i64 56
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%i,align 8
%bm=call i8*@sml_alloc(i32 inreg 68)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177344,i32*%bo,align 4
store i8*%bm,i8**%j,align 8
%bp=getelementptr inbounds i8,i8*%bm,i64 4
call void@llvm.memset.p0i8.i32(i8*%bp,i8 0,i32 44,i1 false)
%bq=bitcast i8*%bm to i32*
store i32%a0,i32*%bq,align 4
%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**%f,align 8
store i8*null,i8**%f,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=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bB=getelementptr inbounds i8,i8*%bm,i64 32
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bm,i64 40
%bE=bitcast i8*%bD to i32*
store i32%bf,i32*%bE,align 4
%bF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bG=getelementptr inbounds i8,i8*%bm,i64 48
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bJ=getelementptr inbounds i8,i8*%bm,i64 56
%bK=bitcast i8*%bJ to i8**
store i8*%bI,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bm,i64 64
%bM=bitcast i8*%bL to i32*
store i32 222,i32*%bM,align 4
%bN=call i8*@sml_alloc(i32 inreg 20)#0
%bO=bitcast i8*%bN to i32*
%bP=getelementptr inbounds i8,i8*%bN,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177296,i32*%bQ,align 4
%bR=getelementptr inbounds i8,i8*%bN,i64 4
%bS=bitcast i8*%bR to i32*
store i32 0,i32*%bS,align 1
store i32 3,i32*%bO,align 4
%bT=load i8*,i8**%j,align 8
%bU=getelementptr inbounds i8,i8*%bN,i64 8
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bN,i64 16
%bX=bitcast i8*%bW to i32*
store i32 2,i32*%bX,align 4
%bY=load i8*,i8**%c,align 8
%bZ=bitcast i8*%bY to i8**
call void@sml_write(i8*inreg%bY,i8**inreg%bZ,i8*inreg%bN)#0
ret void
}
define internal fastcc void@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_182(i8*inreg%a)#2 gc"smlsharp"{
%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%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call fastcc i8*@_SMLFN4List3mapE(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}>*@p,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
%v=load i8*,i8**%b,align 8
%w=call fastcc i8*%s(i8*inreg%u,i8*inreg%v)
store i8*%w,i8**%c,align 8
%x=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*%A(i8*inreg%C,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*))
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
%J=load i8*,i8**@_SMLZN6IDCalc14emptyLiftedTysE,align 8
%K=call fastcc i8*%G(i8*inreg%I,i8*inreg%J)
%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**%c,align 8
store i8*null,i8**%c,align 8
%R=call fastcc i8*%N(i8*inreg%P,i8*inreg%Q)
store i8*%R,i8**%c,align 8
%S=call fastcc i8*@_SMLFN4List3appE(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
store i8*%X,i8**%d,align 8
%Y=call i8*@sml_alloc(i32 inreg 12)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177288,i32*%aa,align 4
store i8*%Y,i8**%e,align 8
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i32*
store i32 1,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_181 to void(...)*),void(...)**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_216 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 24
%ap=bitcast i8*%ao to i32*
store i32 -2147483647,i32*%ap,align 4
%aq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ar=call fastcc i8*%V(i8*inreg%aq,i8*inreg%af)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ay=call fastcc i8*%au(i8*inreg%aw,i8*inreg%ax)
ret void
}
define internal fastcc void@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_188(i8*inreg%a)#2 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
%i=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
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%b,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%n
l:
%m=bitcast i8*%a to i8**
br label%q
n:
call void@sml_check(i32 inreg%j)
%o=bitcast i8**%b to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%n],[%m,%l]
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%b,align 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
switch i32%w,label%x[
i32 3,label%aU
i32 4,label%T
]
x:
%y=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%y,i8**%b,align 8
%z=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@s,i64 0,i32 2)to i8*))
store i8*%z,i8**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%G,align 8
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%A,i64 16
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%A,i64 24
%L=bitcast i8*%K to i32*
store i32 7,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 60)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177336,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%M,i64 56
%Q=bitcast i8*%P to i32*
store i32 1,i32*%Q,align 4
%R=load i8*,i8**%d,align 8
%S=bitcast i8*%M to i8**
store i8*%R,i8**%S,align 8
call void@sml_raise(i8*inreg%M)#1
unreachable
T:
%U=getelementptr inbounds i8,i8*%u,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=bitcast i8*%W to i32*
%Y=load i32,i32*%X,align 4
%Z=getelementptr inbounds i8,i8*%W,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%c,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 16
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%W,i64 24
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=load i8*,i8**@_SMLZN6IDCalc14emptyLiftedTysE,align 8
store i8*%ai,i8**%e,align 8
%aj=getelementptr inbounds i8,i8*%W,i64 40
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%f,align 8
%am=call i8*@sml_alloc(i32 inreg 52)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177328,i32*%ao,align 4
store i8*%am,i8**%g,align 8
%ap=getelementptr inbounds i8,i8*%am,i64 4
call void@llvm.memset.p0i8.i32(i8*%ap,i8 0,i32 28,i1 false)
%aq=bitcast i8*%am to i32*
store i32%Y,i32*%aq,align 4
%ar=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%av=getelementptr inbounds i8,i8*%am,i64 16
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%am,i64 24
%ay=bitcast i8*%ax to i32*
store i32%ah,i32*%ay,align 4
%az=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aA=getelementptr inbounds i8,i8*%am,i64 32
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aD=getelementptr inbounds i8,i8*%am,i64 40
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%am,i64 48
%aG=bitcast i8*%aF to i32*
store i32 54,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=bitcast i8*%aH to i32*
%aJ=getelementptr inbounds i8,i8*%aH,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177296,i32*%aK,align 4
%aL=getelementptr inbounds i8,i8*%aH,i64 4
%aM=bitcast i8*%aL to i32*
store i32 0,i32*%aM,align 1
store i32 4,i32*%aI,align 4
%aN=load i8*,i8**%g,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 2,i32*%aR,align 4
%aS=load i8*,i8**%b,align 8
%aT=bitcast i8*%aS to i8**
call void@sml_write(i8*inreg%aS,i8**inreg%aT,i8*inreg%aH)#0
ret void
aU:
%aV=getelementptr inbounds i8,i8*%u,i64 8
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
%aY=bitcast i8*%aX to i32*
%aZ=load i32,i32*%aY,align 4
%a0=getelementptr inbounds i8,i8*%aX,i64 8
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%c,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 16
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%d,align 8
%a6=getelementptr inbounds i8,i8*%aX,i64 24
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%e,align 8
%a9=getelementptr inbounds i8,i8*%aX,i64 32
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%f,align 8
%bc=getelementptr inbounds i8,i8*%aX,i64 40
%bd=bitcast i8*%bc to i32*
%be=load i32,i32*%bd,align 4
%bf=load i8*,i8**@_SMLZN6IDCalc14emptyLiftedTysE,align 8
store i8*%bf,i8**%g,align 8
%bg=getelementptr inbounds i8,i8*%aX,i64 56
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%h,align 8
%bj=call i8*@sml_alloc(i32 inreg 68)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177344,i32*%bl,align 4
store i8*%bj,i8**%i,align 8
%bm=getelementptr inbounds i8,i8*%bj,i64 4
call void@llvm.memset.p0i8.i32(i8*%bm,i8 0,i32 44,i1 false)
%bn=bitcast i8*%bj to i32*
store i32%aZ,i32*%bn,align 4
%bo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bp=getelementptr inbounds i8,i8*%bj,i64 8
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bs=getelementptr inbounds i8,i8*%bj,i64 16
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bv=getelementptr inbounds i8,i8*%bj,i64 24
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%by=getelementptr inbounds i8,i8*%bj,i64 32
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bj,i64 40
%bB=bitcast i8*%bA to i32*
store i32%be,i32*%bB,align 4
%bC=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bD=getelementptr inbounds i8,i8*%bj,i64 48
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bG=getelementptr inbounds i8,i8*%bj,i64 56
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bj,i64 64
%bJ=bitcast i8*%bI to i32*
store i32 222,i32*%bJ,align 4
%bK=call i8*@sml_alloc(i32 inreg 20)#0
%bL=bitcast i8*%bK to i32*
%bM=getelementptr inbounds i8,i8*%bK,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177296,i32*%bN,align 4
%bO=getelementptr inbounds i8,i8*%bK,i64 4
%bP=bitcast i8*%bO to i32*
store i32 0,i32*%bP,align 1
store i32 3,i32*%bL,align 4
%bQ=load i8*,i8**%i,align 8
%bR=getelementptr inbounds i8,i8*%bK,i64 8
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 16
%bU=bitcast i8*%bT to i32*
store i32 2,i32*%bU,align 4
%bV=load i8*,i8**%b,align 8
%bW=bitcast i8*%bV to i8**
call void@sml_write(i8*inreg%bV,i8**inreg%bW,i8*inreg%bK)#0
ret void
}
define internal fastcc i8*@_SMLLL15pathTfvListList_194(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*@_SMLFN6TfvMap4findE(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
store i8*%o,i8**%e,align 8
%p=bitcast i8**%d to i8***
%q=load i8**,i8***%p,align 8
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
%v=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=load i8*,i8**%c,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%s,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%D=call fastcc i8*%m(i8*inreg%C,i8*inreg%s)
%E=icmp eq i8*%D,null
br i1%E,label%F,label%ab
F:
%G=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%G,i8**%c,align 8
%H=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@x,i64 0,i32 2)to i8*))
store i8*%H,i8**%d,align 8
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
store i8*%I,i8**%e,align 8
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%O,align 8
%P=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%I,i64 24
%T=bitcast i8*%S to i32*
store i32 7,i32*%T,align 4
%U=call i8*@sml_alloc(i32 inreg 60)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177336,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%U,i64 56
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=load i8*,i8**%e,align 8
%aa=bitcast i8*%U to i8**
store i8*%Z,i8**%aa,align 8
call void@sml_raise(i8*inreg%U)#1
unreachable
ab:
%ac=bitcast i8*%D to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%d,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
ret i8*%ae
}
define internal fastcc i8*@_SMLLL15pathTfvListList_195(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
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**%d,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%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%p,i8**%e,align 8
%q=bitcast i8**%d to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call i8*@sml_alloc(i32 inreg 12)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
store i8*%t,i8**%f,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
%D=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_194 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_194 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 24
%K=bitcast i8*%J to i32*
store i32 -2147483647,i32*%K,align 4
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*%n(i8*inreg%L,i8*inreg%A)
%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**%c,align 8
%T=tail call fastcc i8*%P(i8*inreg%R,i8*inreg%S)
ret i8*%T
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_196(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
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**%d,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%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%k],[%j,%i]
%p=load i8*,i8**%o,align 8
%q=call fastcc i8*@_SMLFN8TfunVars7tfvsEnvE(i8*inreg%p)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%t(i8*inreg%v,i8*inreg null)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=call fastcc i8*@_SMLFN6TfvMap5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%C,i8**%e,align 8
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%D,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%O=call fastcc i8*%z(i8*inreg%N,i8*inreg%D)
store i8*%O,i8**%c,align 8
%P=call fastcc i8*@_SMLFN6TfvMap4appiE(i32 inreg 1,i32 inreg 8)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
%V=call fastcc i8*%S(i8*inreg%U,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*))
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
%ab=load i8*,i8**%c,align 8
%ac=call fastcc i8*%Y(i8*inreg%aa,i8*inreg%ab)
%ad=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%e,align 8
%aj=load i8*,i8**%d,align 8
%ak=getelementptr inbounds i8,i8*%aj,i64 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
store i8*null,i8**%d,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=load i8*,i8**%c,align 8
%aq=call fastcc i8*@_SMLLLN12SetLiftedTys7SCCTfvsE_157(i8*inreg%am,i8*inreg%ao,i8*inreg%ap)
%ar=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%as=call fastcc i8*%ag(i8*inreg%ar,i8*inreg%aq)
store i8*%as,i8**%d,align 8
%at=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%at to i8**
%ay=load i8*,i8**%ax,align 8
%az=call fastcc i8*%aw(i8*inreg%ay,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*))
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8*(i8*,i8*)**
%aC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aB,align 8
%aD=bitcast i8*%az to i8**
%aE=load i8*,i8**%aD,align 8
%aF=load i8*,i8**%d,align 8
%aG=call fastcc i8*%aC(i8*inreg%aE,i8*inreg%aF)
%aH=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
store i8*%aM,i8**%e,align 8
%aN=call i8*@sml_alloc(i32 inreg 12)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177288,i32*%aP,align 4
store i8*%aN,i8**%f,align 8
%aQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aR=bitcast i8*%aN to i8**
store i8*%aQ,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aN,i64 8
%aT=bitcast i8*%aS to i32*
store i32 1,i32*%aT,align 4
%aU=call i8*@sml_alloc(i32 inreg 28)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177304,i32*%aW,align 4
%aX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aU,i64 8
%a0=bitcast i8*%aZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_195 to void(...)*),void(...)**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 16
%a2=bitcast i8*%a1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_195 to void(...)*),void(...)**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aU,i64 24
%a4=bitcast i8*%a3 to i32*
store i32 -2147483647,i32*%a4,align 4
%a5=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a6=call fastcc i8*%aK(i8*inreg%a5,i8*inreg%aU)
%a7=getelementptr inbounds i8,i8*%a6,i64 16
%a8=bitcast i8*%a7 to i8*(i8*,i8*)**
%a9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a8,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=call fastcc i8*%a9(i8*inreg%bb,i8*inreg%bc)
ret i8*%bd
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_197(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%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**%e,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**%d,align 8
store i8*null,i8**%d,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 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_196 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_196 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLL15pathTfvListList_202(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*@_SMLFN6TfvMap4findE(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
store i8*%o,i8**%e,align 8
%p=bitcast i8**%d to i8***
%q=load i8**,i8***%p,align 8
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
%v=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=load i8*,i8**%c,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%s,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%D=call fastcc i8*%m(i8*inreg%C,i8*inreg%s)
%E=icmp eq i8*%D,null
br i1%E,label%F,label%ab
F:
%G=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%G,i8**%c,align 8
%H=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@x,i64 0,i32 2)to i8*))
store i8*%H,i8**%d,align 8
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
store i8*%I,i8**%e,align 8
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@u,i64 0,i32 2,i64 0),i8**%O,align 8
%P=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%I,i64 24
%T=bitcast i8*%S to i32*
store i32 7,i32*%T,align 4
%U=call i8*@sml_alloc(i32 inreg 60)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177336,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%U,i64 56
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=load i8*,i8**%e,align 8
%aa=bitcast i8*%U to i8**
store i8*%Z,i8**%aa,align 8
call void@sml_raise(i8*inreg%U)#1
unreachable
ab:
%ac=bitcast i8*%D to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%d,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
ret i8*%ae
}
define internal fastcc i8*@_SMLLL15pathTfvListList_203(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
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**%d,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%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%p,i8**%e,align 8
%q=bitcast i8**%d to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call i8*@sml_alloc(i32 inreg 12)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
store i8*%t,i8**%f,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
%D=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_202 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_202 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 24
%K=bitcast i8*%J to i32*
store i32 -2147483647,i32*%K,align 4
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*%n(i8*inreg%L,i8*inreg%A)
%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**%c,align 8
%T=tail call fastcc i8*%P(i8*inreg%R,i8*inreg%S)
ret i8*%T
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys8dtyListsE_204(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
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**%d,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%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%k],[%j,%i]
%p=load i8*,i8**%o,align 8
%q=call fastcc i8*@_SMLFN8TfunVars7tfvsEnvE(i8*inreg%p)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%t(i8*inreg%v,i8*inreg null)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=call fastcc i8*@_SMLFN6TfvMap5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%C,i8**%e,align 8
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%D,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%O=call fastcc i8*%z(i8*inreg%N,i8*inreg%D)
store i8*%O,i8**%c,align 8
%P=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%e,align 8
%V=load i8*,i8**%d,align 8
%W=getelementptr inbounds i8,i8*%V,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*null,i8**%d,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
%ab=load i8*,i8**%c,align 8
%ac=call fastcc i8*@_SMLLLN12SetLiftedTys7SCCTfvsE_157(i8*inreg%Y,i8*inreg%aa,i8*inreg%ab)
%ad=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ae=call fastcc i8*%S(i8*inreg%ad,i8*inreg%ac)
store i8*%ae,i8**%d,align 8
%af=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%e,align 8
%al=call i8*@sml_alloc(i32 inreg 12)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
store i8*%al,i8**%f,align 8
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to i32*
store i32 1,i32*%ar,align 4
%as=call i8*@sml_alloc(i32 inreg 28)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177304,i32*%au,align 4
%av=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_203 to void(...)*),void(...)**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL15pathTfvListList_203 to void(...)*),void(...)**%aA,align 8
%aB=getelementptr inbounds i8,i8*%as,i64 24
%aC=bitcast i8*%aB to i32*
store i32 -2147483647,i32*%aC,align 4
%aD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aE=call fastcc i8*%ai(i8*inreg%aD,i8*inreg%as)
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aL=call fastcc i8*%aH(i8*inreg%aJ,i8*inreg%aK)
ret i8*%aL
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys8dtyListsE_205(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%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**%e,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**%d,align 8
store i8*null,i8**%d,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 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys8dtyListsE_204 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12SetLiftedTys8dtyListsE_204 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define fastcc i8*@_SMLFN12SetLiftedTys15setLiftedTysEnvE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i64 0,i32 2,i64 0),align 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=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN12SetLiftedTys19setLiftedTysSpecEnvE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvardb38d38304c882ce_SetLiftedTys,i64 0,i32 2,i64 1),align 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=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define internal fastcc i8*@_SMLLL208(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys5getIdE_210(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN12SetLiftedTys5getIdE(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*@_SMLLLN12SetLiftedTys11liftedTysTyE_211(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_163(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_212(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12SetLiftedTys11liftedTysTyE_158(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_213(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_167(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_214(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12SetLiftedTys16liftedTysConSpecE_169(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL11conSpecList_215(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL11conSpecList_175(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_216(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_181(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_217(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN12SetLiftedTys19setLiftedTysTfvListE_182(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_218(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN12SetLiftedTys15setLiftedTysEnvE_188(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
