@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN6TfvSet5emptyE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:104.22(4079)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"REALIZED\00"}>,align 8
@c=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,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@i,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@b,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:74.8(2681)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[69x i8]}><{[4x i8]zeroinitializer,i32 -2147483579,[69x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:121.8(4849)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[69x i8]}><{[4x i8]zeroinitializer,i32 -2147483579,[69x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:212.8(8173)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[69x i8]}><{[4x i8]zeroinitializer,i32 -2147483579,[69x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:184.8(7180)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:34.14(986)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[8x i8]}><{[4x i8]zeroinitializer,i32 -2147483640,[8x i8]c"Subst: \00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"substConId\00"}>,align 8
@k=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,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@i,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@j,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[69x i8]}><{[4x i8]zeroinitializer,i32 -2147483579,[69x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:235.8(8992)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:286.10(11571)\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:317.6(12871)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 2,[4x i8]zeroinitializer,i32 0}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:385.6(15299)\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:360.6(14399)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN5Subst12substTfvTfunE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvTfunE_249 to void(...)*),i32 -2147483647}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN5Subst10substTfvTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_250 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:398.6(15659)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN5Subst12substTfvVarEE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvVarEE_252 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilePhases/nameevaluation/main/Subst.sml:432.6(17733)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN5Subst11substTfvEnvE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_254 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN5Subst10substTfvTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*)
@_SMLZN5Subst12substTfvTfunE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@r,i64 0,i32 2)to i8*)
@_SMLZN5Subst12substTfvVarEE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*)
@_SMLZN5Subst11substTfvEnvE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*)
@_SML_gvar74f8fcf2aa95d944_Subst=private global<{[4x i8],i32,[9x i8*]}><{[4x i8]zeroinitializer,i32 -1342177208,[9x i8*]zeroinitializer}>,align 8
@x=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@x to i64))]
@_SML_ftab74f8fcf2aa95d944_Subst=external global i8
@y=private unnamed_addr global i8 0
@_SMLZN5Subst15emptyConIdSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 0)
@_SMLZN5Subst15emptyExnIdSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 1)
@_SMLZN5Subst15emptyTypIdSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 2)
@_SMLZN5Subst10emptySubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 3)
@_SMLZN5Subst14emptyTvarSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 4)
@_SMLZN5Subst13emptyTfvSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 5)
@_SMLZN5Subst8substEnvE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 6)
@_SMLZN5Subst7substTyE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 7)
@_SMLZN5Subst13substTfunkindE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i32 0,i32 2,i32 8)
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*@_SMLFN11RecordLabel3Map3mapE(i32 inreg,i32 inreg,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*@_SMLFN5ConID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5ConID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5ConID3Set3mapE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5ExnID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5ExnID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Option3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*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*@_SMLFN6TfvSet3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6TfvSet6memberE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7TvarMap4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7TvarMap5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3a60343781315c1e_Option()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_maindd7ac0235f3a2d21_IDCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main38282eca92373ff5_TfunVars()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load3a60343781315c1e_Option(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
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_loaddd7ac0235f3a2d21_IDCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_load38282eca92373ff5_TfunVars(i8*)local_unnamed_addr
define private void@_SML_tabb74f8fcf2aa95d944_Subst()#3{
unreachable
}
define void@_SML_load74f8fcf2aa95d944_Subst(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@y,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@y,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load3a60343781315c1e_Option(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_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_loaddd7ac0235f3a2d21_IDCalc_ppg(i8*%a)#0
tail call void@_SML_load38282eca92373ff5_TfunVars(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb74f8fcf2aa95d944_Subst,i8*@_SML_ftab74f8fcf2aa95d944_Subst,i8*bitcast([2x i64]*@x to i8*))#0
ret void
}
define void@_SML_main74f8fcf2aa95d944_Subst()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=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=load i8,i8*@y,align 1
%n=and i8%m,2
%o=icmp eq i8%n,0
br i1%o,label%q,label%p
p:
ret void
q:
store i8 3,i8*@y,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main3a60343781315c1e_Option()#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_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
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
%r=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%r)#0
%s=load atomic i32,i32*@sml_check_flag unordered,align 4
%t=icmp eq i32%s,0
br i1%t,label%v,label%u
u:
invoke void@sml_check(i32 inreg%s)
to label%v unwind label%cu
v:
%w=invoke fastcc i8*@_SMLFN7TvarMap5emptyE(i32 inreg 1,i32 inreg 8)
to label%x unwind label%cu
x:
store i8*%w,i8**%b,align 8
%y=invoke fastcc i8*@_SMLFN6TfvMap5emptyE(i32 inreg 1,i32 inreg 8)
to label%z unwind label%cu
z:
store i8*%y,i8**%c,align 8
%A=invoke fastcc i8*@_SMLFN5ConID3Map5emptyE(i32 inreg 1,i32 inreg 8)
to label%B unwind label%cu
B:
store i8*%A,i8**%d,align 8
%C=invoke fastcc i8*@_SMLFN5ExnID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%D unwind label%cu
D:
store i8*%C,i8**%e,align 8
%E=invoke fastcc i8*@_SMLFN5TypID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%F unwind label%cu
F:
store i8*%E,i8**%f,align 8
%G=call i8*@sml_alloc(i32 inreg 44)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177320,i32*%I,align 4
store i8*%G,i8**%g,align 8
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=load i8*,i8**%e,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 i8**
store i8*null,i8**%P,align 8
%Q=load i8*,i8**%b,align 8
%R=getelementptr inbounds i8,i8*%G,i64 24
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=load i8*,i8**%f,align 8
%U=getelementptr inbounds i8,i8*%G,i64 32
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%G,i64 40
%X=bitcast i8*%W to i32*
store i32 31,i32*%X,align 4
%Y=call i8*@sml_alloc(i32 inreg 8)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 805306376,i32*%aa,align 4
store i8*%Y,i8**%h,align 8
%ab=bitcast i8*%Y to i64*
store i64 0,i64*%ab,align 1
%ac=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%ad=bitcast i8*%Y to i8**
call void@sml_write(i8*inreg%Y,i8**inreg%ad,i8*inreg%ac)#0
%ae=call i8*@sml_alloc(i32 inreg 12)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177288,i32*%ag,align 4
store i8*%ae,i8**%i,align 8
%ah=load i8*,i8**%h,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 i32*
store i32 1,i32*%ak,align 4
%al=call i8*@sml_alloc(i32 inreg 28)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177304,i32*%an,align 4
%ao=load i8*,i8**%i,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_150 to void(...)*),void(...)**%ar,align 8
%as=getelementptr inbounds i8,i8*%al,i64 16
%at=bitcast i8*%as to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_150 to void(...)*),void(...)**%at,align 8
%au=getelementptr inbounds i8,i8*%al,i64 24
%av=bitcast i8*%au to i32*
store i32 -2147483647,i32*%av,align 4
%aw=call i8*@sml_alloc(i32 inreg 28)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177304,i32*%ay,align 4
%az=load i8*,i8**%i,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst9substTfunE_151 to void(...)*),void(...)**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst9substTfunE_151 to void(...)*),void(...)**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aw,i64 24
%aG=bitcast i8*%aF to i32*
store i32 -2147483647,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 28)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,i32*%aJ,align 4
%aK=load i8*,i8**%i,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aH,i64 8
%aN=bitcast i8*%aM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst7substTyE_152 to void(...)*),void(...)**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst7substTyE_152 to void(...)*),void(...)**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 24
%aR=bitcast i8*%aQ to i32*
store i32 -2147483647,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
%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*,i8*)*@_SMLLLN5Subst9substVarEE_153 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*,i8*)*@_SMLLLN5Subst9substVarEE_153 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**%j,align 8
%a6=load i8*,i8**%i,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**%j,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*,i8*)*@_SMLLLN5Subst8substEnvE_185 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*,i8*)*@_SMLLLN5Subst8substEnvE_185 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=call i8*@sml_alloc(i32 inreg 20)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177296,i32*%bn,align 4
store i8*%bl,i8**%k,align 8
%bo=load i8*,i8**%h,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%br=getelementptr inbounds i8,i8*%bl,i64 8
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bl,i64 16
%bu=bitcast i8*%bt to i32*
store i32 3,i32*%bu,align 4
%bv=call i8*@sml_alloc(i32 inreg 28)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177304,i32*%bx,align 4
store i8*%bv,i8**%j,align 8
%by=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bv,i64 8
%bB=bitcast i8*%bA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst8substEnvE_190 to void(...)*),void(...)**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 16
%bD=bitcast i8*%bC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst8substEnvE_190 to void(...)*),void(...)**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 24
%bF=bitcast i8*%bE to i32*
store i32 -2147483647,i32*%bF,align 4
%bG=call i8*@sml_alloc(i32 inreg 20)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177296,i32*%bI,align 4
store i8*%bG,i8**%k,align 8
%bJ=load i8*,i8**%h,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=load i8*,i8**%i,align 8
%bM=getelementptr inbounds i8,i8*%bG,i64 8
%bN=bitcast i8*%bM to i8**
store i8*%bL,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bG,i64 16
%bP=bitcast i8*%bO to i32*
store i32 3,i32*%bP,align 4
%bQ=call i8*@sml_alloc(i32 inreg 28)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177304,i32*%bS,align 4
store i8*%bQ,i8**%l,align 8
%bT=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bU=bitcast i8*%bQ to i8**
store i8*%bT,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bQ,i64 8
%bW=bitcast i8*%bV to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst7substTyE_192 to void(...)*),void(...)**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bQ,i64 16
%bY=bitcast i8*%bX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst7substTyE_192 to void(...)*),void(...)**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bQ,i64 24
%b0=bitcast i8*%bZ to i32*
store i32 -2147483647,i32*%b0,align 4
%b1=call i8*@sml_alloc(i32 inreg 20)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177296,i32*%b3,align 4
store i8*%b1,i8**%k,align 8
%b4=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b5=bitcast i8*%b1 to i8**
store i8*%b4,i8**%b5,align 8
%b6=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b7=getelementptr inbounds i8,i8*%b1,i64 8
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b1,i64 16
%ca=bitcast i8*%b9 to i32*
store i32 3,i32*%ca,align 4
%cb=call i8*@sml_alloc(i32 inreg 28)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177304,i32*%cd,align 4
%ce=load i8*,i8**%k,align 8
%cf=bitcast i8*%cb to i8**
store i8*%ce,i8**%cf,align 8
%cg=getelementptr inbounds i8,i8*%cb,i64 8
%ch=bitcast i8*%cg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_194 to void(...)*),void(...)**%ch,align 8
%ci=getelementptr inbounds i8,i8*%cb,i64 16
%cj=bitcast i8*%ci to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_194 to void(...)*),void(...)**%cj,align 8
%ck=getelementptr inbounds i8,i8*%cb,i64 24
%cl=bitcast i8*%ck to i32*
store i32 -2147483647,i32*%cl,align 4
%cm=load i8*,i8**%d,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0),i8*inreg%cm)#0
%cn=load i8*,i8**%e,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 1),i8*inreg%cn)#0
%co=load i8*,i8**%f,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 2),i8*inreg%co)#0
%cp=load i8*,i8**%g,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 3),i8*inreg%cp)#0
%cq=load i8*,i8**%b,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 4),i8*inreg%cq)#0
%cr=load i8*,i8**%c,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 5),i8*inreg%cr)#0
%cs=load i8*,i8**%j,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 6),i8*inreg%cs)#0
%ct=load i8*,i8**%l,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 7),i8*inreg%ct)#0
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 8),i8*inreg%cb)#0
call void@sml_end()#0
ret void
cu:
%cv=landingpad{i8*,i8*}
cleanup
%cw=extractvalue{i8*,i8*}%cv,1
call void@sml_save_exn(i8*inreg%cw)#0
call void@sml_end()#0
resume{i8*,i8*}%cv
}
define internal fastcc i8*@_SMLLLN5Subst13substTfunkindE_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
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*@_SMLFN6Option3mapE(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
store i8*%o,i8**%e,align 8
%p=load i8*,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*null,i8**%d,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%s,i8*inreg%u)
%w=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%x=call fastcc i8*%m(i8*inreg%w,i8*inreg%v)
%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=load i8*,i8**%c,align 8
%E=tail call fastcc i8*%A(i8*inreg%C,i8*inreg%D)
ret i8*%E
}
define internal fastcc i32@_SMLLLN5Subst13substTfunkindE_159(i8*inreg%a,i32 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
%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*@_SMLFN5ConID3Map4findE(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**%d,align 8
%p=bitcast i8**%c to i8****
%q=load i8***,i8****%p,align 8
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 12
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 1
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 8
%B=bitcast i8*%A to i32*
store i32%b,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%t,i64 16
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=call fastcc i8*%m(i8*inreg%E,i8*inreg%t)
%G=icmp eq i8*%F,null
br i1%G,label%H,label%I
H:
ret i32%b
I:
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=icmp eq i32%M,1
br i1%N,label%ak,label%O
O:
%P=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%P,i8**%c,align 8
%Q=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@k,i64 0,i32 2)to i8*))
store i8*%Q,i8**%d,align 8
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
store i8*%R,i8**%e,align 8
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@h,i64 0,i32 2,i64 0),i8**%X,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%R,i64 16
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%R,i64 24
%ac=bitcast i8*%ab to i32*
store i32 7,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 60)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177336,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 56
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%e,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=getelementptr inbounds i8,i8*%K,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 i32*
%aq=load i32,i32*%ap,align 4
ret i32%aq
}
define internal fastcc i8*@_SMLLLN5Subst13substTfunkindE_161(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*@_SMLFN6Option3mapE(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
store i8*%o,i8**%e,align 8
%p=load i8*,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*null,i8**%d,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%s,i8*inreg%u)
%w=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%x=call fastcc i8*%m(i8*inreg%w,i8*inreg%v)
%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=load i8*,i8**%c,align 8
%E=tail call fastcc i8*%A(i8*inreg%C,i8*inreg%D)
ret i8*%E
}
define internal fastcc i8*@_SMLLLN5Subst13substTfunkindE_170(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*@_SMLFN6Option3mapE(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
store i8*%o,i8**%e,align 8
%p=load i8*,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*null,i8**%d,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%s,i8*inreg%u)
%w=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%x=call fastcc i8*%m(i8*inreg%w,i8*inreg%v)
%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=load i8*,i8**%c,align 8
%E=tail call fastcc i8*%A(i8*inreg%C,i8*inreg%D)
ret i8*%E
}
define internal fastcc i8*@_SMLLLN5Subst9substTfunE_173(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**%f,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=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%m)
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 0,label%fH
i32 1,label%J
]
r:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,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,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@e,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=getelementptr inbounds i8,i8*%o,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%e,align 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
switch i32%Q,label%R[
i32 3,label%ey
i32 5,label%dp
i32 4,label%cg
i32 1,label%bc
i32 0,label%T
]
R:
%S=load i8*,i8**%c,align 8
ret i8*%S
T:
%U=bitcast i8**%f to i8****
%V=load i8***,i8****%U,align 8
%W=load i8**,i8***%V,align 8
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%c,align 8
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z 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*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=load i8*,i8**%d,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%Y,i64 16
%ah=bitcast i8*%ag to i32*
store i32 3,i32*%ah,align 4
%ai=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%Y)
%aj=icmp eq i32%ai,0
br i1%aj,label%aw,label%ak
ak:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%al=call i8*@sml_alloc(i32 inreg 20)#0
%am=bitcast i8*%al to i32*
%an=getelementptr inbounds i8,i8*%al,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%al,i64 4
%aq=bitcast i8*%ap to i32*
store i32 0,i32*%aq,align 1
store i32 1,i32*%am,align 4
%ar=load i8*,i8**%d,align 8
%as=getelementptr inbounds i8,i8*%al,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%al,i64 16
%av=bitcast i8*%au to i32*
store i32 2,i32*%av,align 4
ret i8*%al
aw:
%ax=bitcast i8**%f to i8***
%ay=load i8**,i8***%ax,align 8
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%g,align 8
%aA=bitcast i8**%ay to i8***
%aB=load i8**,i8***%aA,align 8
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%c,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
%aG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%d,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aD,i64 16
%aM=bitcast i8*%aL to i32*
store i32 3,i32*%aM,align 4
%aN=call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%aD)
%aO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aP=bitcast i8*%aO to i8**
call void@sml_write(i8*inreg%aO,i8**inreg%aP,i8*inreg%aN)#0
%aQ=load i8*,i8**%f,align 8
%aR=getelementptr inbounds i8,i8*%aQ,i64 24
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
store i8*null,i8**%f,align 8
%aU=getelementptr inbounds i8,i8*%aQ,i64 8
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
%aX=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aY=call fastcc i8*@_SMLLLN5Subst13substTfunkindE_150(i8*inreg%aT,i8*inreg%aW,i8*inreg%aX)
%aZ=load i8*,i8**%d,align 8
%a0=bitcast i8*%aZ to i8**
call void@sml_write(i8*inreg%aZ,i8**inreg%a0,i8*inreg%aY)#0
%a1=call i8*@sml_alloc(i32 inreg 20)#0
%a2=bitcast i8*%a1 to i32*
%a3=getelementptr inbounds i8,i8*%a1,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%a1,i64 4
%a6=bitcast i8*%a5 to i32*
store i32 0,i32*%a6,align 1
store i32 1,i32*%a2,align 4
%a7=load i8*,i8**%d,align 8
%a8=getelementptr inbounds i8,i8*%a1,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a1,i64 16
%bb=bitcast i8*%ba to i32*
store i32 2,i32*%bb,align 4
ret i8*%a1
bc:
store i8*null,i8**%e,align 8
%bd=getelementptr inbounds i8,i8*%O,i64 8
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%c,align 8
%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*%bi,i64 8
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
%bp=getelementptr inbounds i8,i8*%bf,i64 8
%bq=bitcast i8*%bp to i8**
%br=load i8*,i8**%bq,align 8
%bs=call fastcc i8*@_SMLLLN5Subst13substTfunkindE_150(i8*inreg%bl,i8*inreg%bo,i8*inreg%br)
store i8*%bs,i8**%e,align 8
%bt=load i8*,i8**%f,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 24
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
store i8*null,i8**%f,align 8
%bx=getelementptr inbounds i8,i8*%bt,i64 8
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
%bA=call fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%bw,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**%c,align 8
store i8*null,i8**%c,align 8
%bH=call fastcc i8*%bD(i8*inreg%bF,i8*inreg%bG)
store i8*%bH,i8**%c,align 8
%bI=call i8*@sml_alloc(i32 inreg 20)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177296,i32*%bK,align 4
store i8*%bI,i8**%f,align 8
%bL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bO=getelementptr inbounds i8,i8*%bI,i64 8
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bI,i64 16
%bR=bitcast i8*%bQ to i32*
store i32 3,i32*%bR,align 4
%bS=call i8*@sml_alloc(i32 inreg 20)#0
%bT=bitcast i8*%bS to i32*
%bU=getelementptr inbounds i8,i8*%bS,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177296,i32*%bV,align 4
%bW=getelementptr inbounds i8,i8*%bS,i64 4
%bX=bitcast i8*%bW to i32*
store i32 0,i32*%bX,align 1
store i32 1,i32*%bT,align 4
%bY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bZ=getelementptr inbounds i8,i8*%bS,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bS,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 2,i32*%b2,align 4
%b3=load i8*,i8**%d,align 8
%b4=bitcast i8*%b3 to i8**
call void@sml_write(i8*inreg%b3,i8**inreg%b4,i8*inreg%bS)#0
%b5=call i8*@sml_alloc(i32 inreg 20)#0
%b6=bitcast i8*%b5 to i32*
%b7=getelementptr inbounds i8,i8*%b5,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177296,i32*%b8,align 4
%b9=getelementptr inbounds i8,i8*%b5,i64 4
%ca=bitcast i8*%b9 to i32*
store i32 0,i32*%ca,align 1
store i32 1,i32*%b6,align 4
%cb=load i8*,i8**%d,align 8
%cc=getelementptr inbounds i8,i8*%b5,i64 8
%cd=bitcast i8*%cc to i8**
store i8*%cb,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b5,i64 16
%cf=bitcast i8*%ce to i32*
store i32 2,i32*%cf,align 4
ret i8*%b5
cg:
%ch=bitcast i8**%f to i8****
%ci=load i8***,i8****%ch,align 8
%cj=load i8**,i8***%ci,align 8
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%c,align 8
%cl=call i8*@sml_alloc(i32 inreg 20)#0
%cm=getelementptr inbounds i8,i8*%cl,i64 -4
%cn=bitcast i8*%cm to i32*
store i32 1342177296,i32*%cn,align 4
%co=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cp=bitcast i8*%cl to i8**
store i8*%co,i8**%cp,align 8
%cq=load i8*,i8**%d,align 8
%cr=getelementptr inbounds i8,i8*%cl,i64 8
%cs=bitcast i8*%cr to i8**
store i8*%cq,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%cl,i64 16
%cu=bitcast i8*%ct to i32*
store i32 3,i32*%cu,align 4
%cv=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%cl)
%cw=icmp eq i32%cv,0
br i1%cw,label%cJ,label%cx
cx:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%cy=call i8*@sml_alloc(i32 inreg 20)#0
%cz=bitcast i8*%cy to i32*
%cA=getelementptr inbounds i8,i8*%cy,i64 -4
%cB=bitcast i8*%cA to i32*
store i32 1342177296,i32*%cB,align 4
%cC=getelementptr inbounds i8,i8*%cy,i64 4
%cD=bitcast i8*%cC to i32*
store i32 0,i32*%cD,align 1
store i32 1,i32*%cz,align 4
%cE=load i8*,i8**%d,align 8
%cF=getelementptr inbounds i8,i8*%cy,i64 8
%cG=bitcast i8*%cF to i8**
store i8*%cE,i8**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cy,i64 16
%cI=bitcast i8*%cH to i32*
store i32 2,i32*%cI,align 4
ret i8*%cy
cJ:
%cK=bitcast i8**%f to i8***
%cL=load i8**,i8***%cK,align 8
%cM=load i8*,i8**%cL,align 8
store i8*%cM,i8**%g,align 8
%cN=bitcast i8**%cL to i8***
%cO=load i8**,i8***%cN,align 8
%cP=load i8*,i8**%cO,align 8
store i8*%cP,i8**%c,align 8
%cQ=call i8*@sml_alloc(i32 inreg 20)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177296,i32*%cS,align 4
%cT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cU=bitcast i8*%cQ to i8**
store i8*%cT,i8**%cU,align 8
%cV=load i8*,i8**%d,align 8
%cW=getelementptr inbounds i8,i8*%cQ,i64 8
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cQ,i64 16
%cZ=bitcast i8*%cY to i32*
store i32 3,i32*%cZ,align 4
%c0=call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%cQ)
%c1=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c2=bitcast i8*%c1 to i8**
call void@sml_write(i8*inreg%c1,i8**inreg%c2,i8*inreg%c0)#0
%c3=load i8*,i8**%f,align 8
%c4=getelementptr inbounds i8,i8*%c3,i64 24
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*null,i8**%f,align 8
%c7=getelementptr inbounds i8,i8*%c3,i64 8
%c8=bitcast i8*%c7 to i8**
%c9=load i8*,i8**%c8,align 8
%da=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%db=call fastcc i8*@_SMLLLN5Subst13substTfunkindE_150(i8*inreg%c6,i8*inreg%c9,i8*inreg%da)
%dc=load i8*,i8**%d,align 8
%dd=bitcast i8*%dc to i8**
call void@sml_write(i8*inreg%dc,i8**inreg%dd,i8*inreg%db)#0
%de=call i8*@sml_alloc(i32 inreg 20)#0
%df=bitcast i8*%de to i32*
%dg=getelementptr inbounds i8,i8*%de,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177296,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%de,i64 4
%dj=bitcast i8*%di to i32*
store i32 0,i32*%dj,align 1
store i32 1,i32*%df,align 4
%dk=load i8*,i8**%d,align 8
%dl=getelementptr inbounds i8,i8*%de,i64 8
%dm=bitcast i8*%dl to i8**
store i8*%dk,i8**%dm,align 8
%dn=getelementptr inbounds i8,i8*%de,i64 16
%do=bitcast i8*%dn to i32*
store i32 2,i32*%do,align 4
ret i8*%de
dp:
%dq=bitcast i8**%f to i8****
%dr=load i8***,i8****%dq,align 8
%ds=load i8**,i8***%dr,align 8
%dt=load i8*,i8**%ds,align 8
store i8*%dt,i8**%c,align 8
%du=call i8*@sml_alloc(i32 inreg 20)#0
%dv=getelementptr inbounds i8,i8*%du,i64 -4
%dw=bitcast i8*%dv to i32*
store i32 1342177296,i32*%dw,align 4
%dx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dy=bitcast i8*%du to i8**
store i8*%dx,i8**%dy,align 8
%dz=load i8*,i8**%d,align 8
%dA=getelementptr inbounds i8,i8*%du,i64 8
%dB=bitcast i8*%dA to i8**
store i8*%dz,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%du,i64 16
%dD=bitcast i8*%dC to i32*
store i32 3,i32*%dD,align 4
%dE=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%du)
%dF=icmp eq i32%dE,0
br i1%dF,label%dS,label%dG
dG:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%dH=call i8*@sml_alloc(i32 inreg 20)#0
%dI=bitcast i8*%dH to i32*
%dJ=getelementptr inbounds i8,i8*%dH,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32 1342177296,i32*%dK,align 4
%dL=getelementptr inbounds i8,i8*%dH,i64 4
%dM=bitcast i8*%dL to i32*
store i32 0,i32*%dM,align 1
store i32 1,i32*%dI,align 4
%dN=load i8*,i8**%d,align 8
%dO=getelementptr inbounds i8,i8*%dH,i64 8
%dP=bitcast i8*%dO to i8**
store i8*%dN,i8**%dP,align 8
%dQ=getelementptr inbounds i8,i8*%dH,i64 16
%dR=bitcast i8*%dQ to i32*
store i32 2,i32*%dR,align 4
ret i8*%dH
dS:
%dT=bitcast i8**%f to i8***
%dU=load i8**,i8***%dT,align 8
%dV=load i8*,i8**%dU,align 8
store i8*%dV,i8**%g,align 8
%dW=bitcast i8**%dU to i8***
%dX=load i8**,i8***%dW,align 8
%dY=load i8*,i8**%dX,align 8
store i8*%dY,i8**%c,align 8
%dZ=call i8*@sml_alloc(i32 inreg 20)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177296,i32*%d1,align 4
%d2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d3=bitcast i8*%dZ to i8**
store i8*%d2,i8**%d3,align 8
%d4=load i8*,i8**%d,align 8
%d5=getelementptr inbounds i8,i8*%dZ,i64 8
%d6=bitcast i8*%d5 to i8**
store i8*%d4,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%dZ,i64 16
%d8=bitcast i8*%d7 to i32*
store i32 3,i32*%d8,align 4
%d9=call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%dZ)
%ea=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eb=bitcast i8*%ea to i8**
call void@sml_write(i8*inreg%ea,i8**inreg%eb,i8*inreg%d9)#0
%ec=load i8*,i8**%f,align 8
%ed=getelementptr inbounds i8,i8*%ec,i64 24
%ee=bitcast i8*%ed to i8**
%ef=load i8*,i8**%ee,align 8
store i8*null,i8**%f,align 8
%eg=getelementptr inbounds i8,i8*%ec,i64 8
%eh=bitcast i8*%eg to i8**
%ei=load i8*,i8**%eh,align 8
%ej=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ek=call fastcc i8*@_SMLLLN5Subst13substTfunkindE_150(i8*inreg%ef,i8*inreg%ei,i8*inreg%ej)
%el=load i8*,i8**%d,align 8
%em=bitcast i8*%el to i8**
call void@sml_write(i8*inreg%el,i8**inreg%em,i8*inreg%ek)#0
%en=call i8*@sml_alloc(i32 inreg 20)#0
%eo=bitcast i8*%en to i32*
%ep=getelementptr inbounds i8,i8*%en,i64 -4
%eq=bitcast i8*%ep to i32*
store i32 1342177296,i32*%eq,align 4
%er=getelementptr inbounds i8,i8*%en,i64 4
%es=bitcast i8*%er to i32*
store i32 0,i32*%es,align 1
store i32 1,i32*%eo,align 4
%et=load i8*,i8**%d,align 8
%eu=getelementptr inbounds i8,i8*%en,i64 8
%ev=bitcast i8*%eu to i8**
store i8*%et,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%en,i64 16
%ex=bitcast i8*%ew to i32*
store i32 2,i32*%ex,align 4
ret i8*%en
ey:
%ez=bitcast i8**%f to i8****
%eA=load i8***,i8****%ez,align 8
%eB=load i8**,i8***%eA,align 8
%eC=load i8*,i8**%eB,align 8
store i8*%eC,i8**%c,align 8
%eD=call i8*@sml_alloc(i32 inreg 20)#0
%eE=getelementptr inbounds i8,i8*%eD,i64 -4
%eF=bitcast i8*%eE to i32*
store i32 1342177296,i32*%eF,align 4
%eG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eH=bitcast i8*%eD to i8**
store i8*%eG,i8**%eH,align 8
%eI=load i8*,i8**%d,align 8
%eJ=getelementptr inbounds i8,i8*%eD,i64 8
%eK=bitcast i8*%eJ to i8**
store i8*%eI,i8**%eK,align 8
%eL=getelementptr inbounds i8,i8*%eD,i64 16
%eM=bitcast i8*%eL to i32*
store i32 3,i32*%eM,align 4
%eN=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%eD)
%eO=icmp eq i32%eN,0
br i1%eO,label%e1,label%eP
eP:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%eQ=call i8*@sml_alloc(i32 inreg 20)#0
%eR=bitcast i8*%eQ to i32*
%eS=getelementptr inbounds i8,i8*%eQ,i64 -4
%eT=bitcast i8*%eS to i32*
store i32 1342177296,i32*%eT,align 4
%eU=getelementptr inbounds i8,i8*%eQ,i64 4
%eV=bitcast i8*%eU to i32*
store i32 0,i32*%eV,align 1
store i32 1,i32*%eR,align 4
%eW=load i8*,i8**%d,align 8
%eX=getelementptr inbounds i8,i8*%eQ,i64 8
%eY=bitcast i8*%eX to i8**
store i8*%eW,i8**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eQ,i64 16
%e0=bitcast i8*%eZ to i32*
store i32 2,i32*%e0,align 4
ret i8*%eQ
e1:
%e2=bitcast i8**%f to i8***
%e3=load i8**,i8***%e2,align 8
%e4=load i8*,i8**%e3,align 8
store i8*%e4,i8**%g,align 8
%e5=bitcast i8**%e3 to i8***
%e6=load i8**,i8***%e5,align 8
%e7=load i8*,i8**%e6,align 8
store i8*%e7,i8**%c,align 8
%e8=call i8*@sml_alloc(i32 inreg 20)#0
%e9=getelementptr inbounds i8,i8*%e8,i64 -4
%fa=bitcast i8*%e9 to i32*
store i32 1342177296,i32*%fa,align 4
%fb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fc=bitcast i8*%e8 to i8**
store i8*%fb,i8**%fc,align 8
%fd=load i8*,i8**%d,align 8
%fe=getelementptr inbounds i8,i8*%e8,i64 8
%ff=bitcast i8*%fe to i8**
store i8*%fd,i8**%ff,align 8
%fg=getelementptr inbounds i8,i8*%e8,i64 16
%fh=bitcast i8*%fg to i32*
store i32 3,i32*%fh,align 4
%fi=call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%e8)
%fj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fk=bitcast i8*%fj to i8**
call void@sml_write(i8*inreg%fj,i8**inreg%fk,i8*inreg%fi)#0
%fl=load i8*,i8**%f,align 8
%fm=getelementptr inbounds i8,i8*%fl,i64 24
%fn=bitcast i8*%fm to i8**
%fo=load i8*,i8**%fn,align 8
store i8*null,i8**%f,align 8
%fp=getelementptr inbounds i8,i8*%fl,i64 8
%fq=bitcast i8*%fp to i8**
%fr=load i8*,i8**%fq,align 8
%fs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ft=call fastcc i8*@_SMLLLN5Subst13substTfunkindE_150(i8*inreg%fo,i8*inreg%fr,i8*inreg%fs)
%fu=load i8*,i8**%d,align 8
%fv=bitcast i8*%fu to i8**
call void@sml_write(i8*inreg%fu,i8**inreg%fv,i8*inreg%ft)#0
%fw=call i8*@sml_alloc(i32 inreg 20)#0
%fx=bitcast i8*%fw to i32*
%fy=getelementptr inbounds i8,i8*%fw,i64 -4
%fz=bitcast i8*%fy to i32*
store i32 1342177296,i32*%fz,align 4
%fA=getelementptr inbounds i8,i8*%fw,i64 4
%fB=bitcast i8*%fA to i32*
store i32 0,i32*%fB,align 1
store i32 1,i32*%fx,align 4
%fC=load i8*,i8**%d,align 8
%fD=getelementptr inbounds i8,i8*%fw,i64 8
%fE=bitcast i8*%fD to i8**
store i8*%fC,i8**%fE,align 8
%fF=getelementptr inbounds i8,i8*%fw,i64 16
%fG=bitcast i8*%fF to i32*
store i32 2,i32*%fG,align 4
ret i8*%fw
fH:
store i8*null,i8**%c,align 8
%fI=getelementptr inbounds i8,i8*%o,i64 8
%fJ=bitcast i8*%fI to i8**
%fK=load i8*,i8**%fJ,align 8
%fL=bitcast i8*%fK to i32*
%fM=load i32,i32*%fL,align 4
%fN=getelementptr inbounds i8,i8*%fK,i64 8
%fO=bitcast i8*%fN to i8**
%fP=load i8*,i8**%fO,align 8
%fQ=icmp eq i8*%fP,null
%fR=getelementptr inbounds i8,i8*%fK,i64 16
%fS=bitcast i8*%fR to i8**
%fT=load i8*,i8**%fS,align 8
br i1%fQ,label%fU,label%hv
fU:
store i8*%fT,i8**%c,align 8
%fV=getelementptr inbounds i8,i8*%fK,i64 24
%fW=bitcast i8*%fV to i8**
%fX=load i8*,i8**%fW,align 8
%fY=bitcast i8*%fX to i32*
%fZ=load i32,i32*%fY,align 4
%f0=icmp eq i32%fZ,7
br i1%f0,label%f1,label%hz
f1:
%f2=getelementptr inbounds i8,i8*%fX,i64 8
%f3=bitcast i8*%f2 to i8**
%f4=load i8*,i8**%f3,align 8
store i8*%f4,i8**%d,align 8
%f5=call fastcc i8*@_SMLFN7TvarMap4findE(i32 inreg 1,i32 inreg 8)
%f6=getelementptr inbounds i8,i8*%f5,i64 16
%f7=bitcast i8*%f6 to i8*(i8*,i8*)**
%f8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f7,align 8
%f9=bitcast i8*%f5 to i8**
%ga=load i8*,i8**%f9,align 8
store i8*%ga,i8**%g,align 8
%gb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gc=getelementptr inbounds i8,i8*%gb,i64 16
%gd=bitcast i8*%gc to i8**
%ge=load i8*,i8**%gd,align 8
store i8*%ge,i8**%e,align 8
%gf=call i8*@sml_alloc(i32 inreg 20)#0
%gg=getelementptr inbounds i8,i8*%gf,i64 -4
%gh=bitcast i8*%gg to i32*
store i32 1342177296,i32*%gh,align 4
%gi=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gj=bitcast i8*%gf to i8**
store i8*%gi,i8**%gj,align 8
%gk=load i8*,i8**%d,align 8
%gl=getelementptr inbounds i8,i8*%gf,i64 8
%gm=bitcast i8*%gl to i8**
store i8*%gk,i8**%gm,align 8
%gn=getelementptr inbounds i8,i8*%gf,i64 16
%go=bitcast i8*%gn to i32*
store i32 3,i32*%go,align 4
%gp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gq=call fastcc i8*%f8(i8*inreg%gp,i8*inreg%gf)
%gr=icmp eq i8*%gq,null
br i1%gr,label%gs,label%g3
gs:
%gt=call i8*@sml_alloc(i32 inreg 20)#0
%gu=getelementptr inbounds i8,i8*%gt,i64 -4
%gv=bitcast i8*%gu to i32*
store i32 1342177296,i32*%gv,align 4
store i8*%gt,i8**%e,align 8
%gw=getelementptr inbounds i8,i8*%gt,i64 4
%gx=bitcast i8*%gw to i32*
store i32 0,i32*%gx,align 1
%gy=bitcast i8*%gt to i32*
store i32 7,i32*%gy,align 4
%gz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gA=getelementptr inbounds i8,i8*%gt,i64 8
%gB=bitcast i8*%gA to i8**
store i8*%gz,i8**%gB,align 8
%gC=getelementptr inbounds i8,i8*%gt,i64 16
%gD=bitcast i8*%gC to i32*
store i32 2,i32*%gD,align 4
%gE=call i8*@sml_alloc(i32 inreg 36)#0
%gF=getelementptr inbounds i8,i8*%gE,i64 -4
%gG=bitcast i8*%gF to i32*
store i32 1342177312,i32*%gG,align 4
store i8*%gE,i8**%d,align 8
%gH=getelementptr inbounds i8,i8*%gE,i64 4
%gI=bitcast i8*%gH to i32*
store i32 0,i32*%gI,align 1
%gJ=bitcast i8*%gE to i32*
store i32%fM,i32*%gJ,align 4
%gK=getelementptr inbounds i8,i8*%gE,i64 8
%gL=bitcast i8*%gK to i8**
store i8*null,i8**%gL,align 8
%gM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gN=getelementptr inbounds i8,i8*%gE,i64 16
%gO=bitcast i8*%gN to i8**
store i8*%gM,i8**%gO,align 8
%gP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gQ=getelementptr inbounds i8,i8*%gE,i64 24
%gR=bitcast i8*%gQ to i8**
store i8*%gP,i8**%gR,align 8
%gS=getelementptr inbounds i8,i8*%gE,i64 32
%gT=bitcast i8*%gS to i32*
store i32 14,i32*%gT,align 4
%gU=call i8*@sml_alloc(i32 inreg 20)#0
%gV=getelementptr inbounds i8,i8*%gU,i64 -4
%gW=bitcast i8*%gV to i32*
store i32 1342177296,i32*%gW,align 4
%gX=bitcast i8*%gU to i64*
store i64 0,i64*%gX,align 4
%gY=load i8*,i8**%d,align 8
%gZ=getelementptr inbounds i8,i8*%gU,i64 8
%g0=bitcast i8*%gZ to i8**
store i8*%gY,i8**%g0,align 8
%g1=getelementptr inbounds i8,i8*%gU,i64 16
%g2=bitcast i8*%g1 to i32*
store i32 2,i32*%g2,align 4
ret i8*%gU
g3:
%g4=bitcast i8*%gq to i8**
%g5=load i8*,i8**%g4,align 8
store i8*%g5,i8**%d,align 8
%g6=call i8*@sml_alloc(i32 inreg 36)#0
%g7=getelementptr inbounds i8,i8*%g6,i64 -4
%g8=bitcast i8*%g7 to i32*
store i32 1342177312,i32*%g8,align 4
store i8*%g6,i8**%e,align 8
%g9=getelementptr inbounds i8,i8*%g6,i64 4
%ha=bitcast i8*%g9 to i32*
store i32 0,i32*%ha,align 1
%hb=bitcast i8*%g6 to i32*
store i32%fM,i32*%hb,align 4
%hc=getelementptr inbounds i8,i8*%g6,i64 8
%hd=bitcast i8*%hc to i8**
store i8*null,i8**%hd,align 8
%he=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hf=getelementptr inbounds i8,i8*%g6,i64 16
%hg=bitcast i8*%hf to i8**
store i8*%he,i8**%hg,align 8
%hh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hi=getelementptr inbounds i8,i8*%g6,i64 24
%hj=bitcast i8*%hi to i8**
store i8*%hh,i8**%hj,align 8
%hk=getelementptr inbounds i8,i8*%g6,i64 32
%hl=bitcast i8*%hk to i32*
store i32 14,i32*%hl,align 4
%hm=call i8*@sml_alloc(i32 inreg 20)#0
%hn=getelementptr inbounds i8,i8*%hm,i64 -4
%ho=bitcast i8*%hn to i32*
store i32 1342177296,i32*%ho,align 4
%hp=bitcast i8*%hm to i64*
store i64 0,i64*%hp,align 4
%hq=load i8*,i8**%e,align 8
%hr=getelementptr inbounds i8,i8*%hm,i64 8
%hs=bitcast i8*%hr to i8**
store i8*%hq,i8**%hs,align 8
%ht=getelementptr inbounds i8,i8*%hm,i64 16
%hu=bitcast i8*%ht to i32*
store i32 2,i32*%hu,align 4
ret i8*%hm
hv:
%hw=getelementptr inbounds i8,i8*%fK,i64 24
%hx=bitcast i8*%hw to i8**
%hy=load i8*,i8**%hx,align 8
br label%hz
hz:
%hA=phi i8*[%hy,%hv],[%fX,%fU]
store i8*%fT,i8**%c,align 8
store i8*%fP,i8**%d,align 8
store i8*%hA,i8**%e,align 8
%hB=load i8*,i8**%f,align 8
%hC=getelementptr inbounds i8,i8*%hB,i64 24
%hD=bitcast i8*%hC to i8**
%hE=load i8*,i8**%hD,align 8
store i8*null,i8**%f,align 8
%hF=getelementptr inbounds i8,i8*%hB,i64 8
%hG=bitcast i8*%hF to i8**
%hH=load i8*,i8**%hG,align 8
%hI=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%hE,i8*inreg%hH)
%hJ=getelementptr inbounds i8,i8*%hI,i64 16
%hK=bitcast i8*%hJ to i8*(i8*,i8*)**
%hL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hK,align 8
%hM=bitcast i8*%hI to i8**
%hN=load i8*,i8**%hM,align 8
%hO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hP=call fastcc i8*%hL(i8*inreg%hN,i8*inreg%hO)
store i8*%hP,i8**%e,align 8
%hQ=call i8*@sml_alloc(i32 inreg 36)#0
%hR=getelementptr inbounds i8,i8*%hQ,i64 -4
%hS=bitcast i8*%hR to i32*
store i32 1342177312,i32*%hS,align 4
store i8*%hQ,i8**%f,align 8
%hT=getelementptr inbounds i8,i8*%hQ,i64 4
%hU=bitcast i8*%hT to i32*
store i32 0,i32*%hU,align 1
%hV=bitcast i8*%hQ to i32*
store i32%fM,i32*%hV,align 4
%hW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hX=getelementptr inbounds i8,i8*%hQ,i64 8
%hY=bitcast i8*%hX to i8**
store i8*%hW,i8**%hY,align 8
%hZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%h0=getelementptr inbounds i8,i8*%hQ,i64 16
%h1=bitcast i8*%h0 to i8**
store i8*%hZ,i8**%h1,align 8
%h2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%h3=getelementptr inbounds i8,i8*%hQ,i64 24
%h4=bitcast i8*%h3 to i8**
store i8*%h2,i8**%h4,align 8
%h5=getelementptr inbounds i8,i8*%hQ,i64 32
%h6=bitcast i8*%h5 to i32*
store i32 14,i32*%h6,align 4
%h7=call i8*@sml_alloc(i32 inreg 20)#0
%h8=getelementptr inbounds i8,i8*%h7,i64 -4
%h9=bitcast i8*%h8 to i32*
store i32 1342177296,i32*%h9,align 4
%ia=bitcast i8*%h7 to i64*
store i64 0,i64*%ia,align 4
%ib=load i8*,i8**%f,align 8
%ic=getelementptr inbounds i8,i8*%h7,i64 8
%id=bitcast i8*%ic to i8**
store i8*%ib,i8**%id,align 8
%ie=getelementptr inbounds i8,i8*%h7,i64 16
%if=bitcast i8*%ie to i32*
store i32 2,i32*%if,align 4
ret i8*%h7
}
define internal fastcc i8*@_SMLLLN5Subst7substTyE_176(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**%f,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
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
switch i32%u,label%v[
i32 1,label%aH
i32 0,label%N
]
v:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%w=load i8*,i8**@_SMLZ5Match,align 8
store i8*%w,i8**%c,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%d,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@f,i64 0,i32 2,i64 0),i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 60)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177336,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 56
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%d,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
call void@sml_raise(i8*inreg%G)#1
unreachable
N:
%O=getelementptr inbounds i8,i8*%s,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%Q,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%g,align 8
%ac=load i8*,i8**%f,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
store i8*null,i8**%f,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
%ai=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%af,i8*inreg%ah)
%aj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ak=call fastcc i8*%Z(i8*inreg%aj,i8*inreg%ai)
%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**%e,align 8
store i8*null,i8**%e,align 8
%ar=call fastcc i8*%an(i8*inreg%ap,i8*inreg%aq)
store i8*%ar,i8**%e,align 8
%as=call i8*@sml_alloc(i32 inreg 20)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177296,i32*%au,align 4
store i8*%as,i8**%f,align 8
%av=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ay=getelementptr inbounds i8,i8*%as,i64 8
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%as,i64 16
%aB=bitcast i8*%aA to i32*
store i32 3,i32*%aB,align 4
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
%aF=bitcast i8*%aC to i64*
store i64 0,i64*%aF,align 4
%aG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
br label%aS
aH:
store i8*null,i8**%f,align 8
%aI=getelementptr inbounds i8,i8*%s,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%d,align 8
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=bitcast i8*%aL to i32*
%aN=getelementptr inbounds i8,i8*%aL,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
%aP=getelementptr inbounds i8,i8*%aL,i64 4
%aQ=bitcast i8*%aP to i32*
store i32 0,i32*%aQ,align 1
store i32 1,i32*%aM,align 4
%aR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
br label%aS
aS:
%aT=phi i8*[%aL,%aH],[%aC,%N]
%aU=phi i8*[%aR,%aH],[%aG,%N]
%aV=getelementptr inbounds i8,i8*%aT,i64 8
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aT,i64 16
%aY=bitcast i8*%aX to i32*
store i32 2,i32*%aY,align 4
store i8*%aT,i8**%d,align 8
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=load i8*,i8**%c,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=load i8*,i8**%d,align 8
%a5=getelementptr inbounds i8,i8*%aZ,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aZ,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
ret i8*%aZ
}
define internal fastcc i8*@_SMLLLN5Subst7substTyE_178(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**%e,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 i32*
%r=load i32,i32*%q,align 4
switch i32%r,label%s[
i32 8,label%K
i32 2,label%eO
i32 7,label%ei
i32 3,label%K
i32 6,label%dr
i32 1,label%cn
i32 4,label%bj
i32 5,label%M
i32 0,label%K
]
s:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%t=load i8*,i8**@_SMLZ5Match,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
store i8*%u,i8**%d,align 8
%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=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@g,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=phi i8*[%o,%n],[%o,%n],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@o,i64 0,i32 2)to i8*),%eO],[%o,%n]
ret i8*%L
M:
%N=getelementptr inbounds i8,i8*%o,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=getelementptr inbounds i8,i8*%P,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%d,align 8
%V=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%h,align 8
%ab=bitcast i8**%e to i8***
%ac=load i8**,i8***%ab,align 8
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%f,align 8
%ae=getelementptr inbounds i8*,i8**%ac,i64 2
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%g,align 8
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
store i8*%ag,i8**%i,align 8
%aj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ag,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,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
%at=load i8*,i8**%i,align 8
store i8*null,i8**%i,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*)*@_SMLLLN5Subst7substTyE_176 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*)*@_SMLLLN5Subst7substTyE_176 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=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aC=call fastcc i8*%Y(i8*inreg%aB,i8*inreg%aq)
%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**%c,align 8
store i8*null,i8**%c,align 8
%aJ=call fastcc i8*%aF(i8*inreg%aH,i8*inreg%aI)
store i8*%aJ,i8**%c,align 8
%aK=load i8*,i8**%e,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
store i8*null,i8**%e,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%aN,i8*inreg%aP)
%aR=getelementptr inbounds i8,i8*%aQ,i64 16
%aS=bitcast i8*%aR to i8*(i8*,i8*)**
%aT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aS,align 8
%aU=bitcast i8*%aQ to i8**
%aV=load i8*,i8**%aU,align 8
%aW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aX=call fastcc i8*%aT(i8*inreg%aV,i8*inreg%aW)
store i8*%aX,i8**%d,align 8
%aY=call i8*@sml_alloc(i32 inreg 20)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177296,i32*%a0,align 4
store i8*%aY,i8**%e,align 8
%a1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a2=bitcast i8*%aY to i8**
store i8*%a1,i8**%a2,align 8
%a3=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a4=getelementptr inbounds i8,i8*%aY,i64 8
%a5=bitcast i8*%a4 to i8**
store i8*%a3,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aY,i64 16
%a7=bitcast i8*%a6 to i32*
store i32 3,i32*%a7,align 4
%a8=call i8*@sml_alloc(i32 inreg 20)#0
%a9=bitcast i8*%a8 to i32*
%ba=getelementptr inbounds i8,i8*%a8,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
%bc=getelementptr inbounds i8,i8*%a8,i64 4
%bd=bitcast i8*%bc to i32*
store i32 0,i32*%bd,align 1
store i32 5,i32*%a9,align 4
%be=load i8*,i8**%e,align 8
%bf=getelementptr inbounds i8,i8*%a8,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a8,i64 16
%bi=bitcast i8*%bh to i32*
store i32 2,i32*%bi,align 4
ret i8*%a8
bj:
%bk=getelementptr inbounds i8,i8*%o,i64 8
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
store i8*%bo,i8**%c,align 8
%bp=getelementptr inbounds i8,i8*%bm,i64 8
%bq=bitcast i8*%bp to i8**
%br=load i8*,i8**%bq,align 8
store i8*%br,i8**%d,align 8
%bs=call fastcc i8*@_SMLFN4List3mapE(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
store i8*%bx,i8**%f,align 8
%by=load i8*,i8**%e,align 8
%bz=getelementptr inbounds i8,i8*%by,i64 16
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
%bC=bitcast i8*%by to i8**
%bD=load i8*,i8**%bC,align 8
%bE=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%bB,i8*inreg%bD)
%bF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bG=call fastcc i8*%bv(i8*inreg%bF,i8*inreg%bE)
%bH=getelementptr inbounds i8,i8*%bG,i64 16
%bI=bitcast i8*%bH to i8*(i8*,i8*)**
%bJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bI,align 8
%bK=bitcast i8*%bG to i8**
%bL=load i8*,i8**%bK,align 8
%bM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bN=call fastcc i8*%bJ(i8*inreg%bL,i8*inreg%bM)
store i8*%bN,i8**%c,align 8
%bO=load i8*,i8**%e,align 8
%bP=getelementptr inbounds i8,i8*%bO,i64 16
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*null,i8**%e,align 8
%bS=bitcast i8*%bO to i8**
%bT=load i8*,i8**%bS,align 8
%bU=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%bR,i8*inreg%bT)
%bV=getelementptr inbounds i8,i8*%bU,i64 16
%bW=bitcast i8*%bV to i8*(i8*,i8*)**
%bX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bW,align 8
%bY=bitcast i8*%bU to i8**
%bZ=load i8*,i8**%bY,align 8
%b0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b1=call fastcc i8*%bX(i8*inreg%bZ,i8*inreg%b0)
store i8*%b1,i8**%d,align 8
%b2=call i8*@sml_alloc(i32 inreg 20)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177296,i32*%b4,align 4
store i8*%b2,i8**%e,align 8
%b5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b8=getelementptr inbounds i8,i8*%b2,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b2,i64 16
%cb=bitcast i8*%ca to i32*
store i32 3,i32*%cb,align 4
%cc=call i8*@sml_alloc(i32 inreg 20)#0
%cd=bitcast i8*%cc to i32*
%ce=getelementptr inbounds i8,i8*%cc,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177296,i32*%cf,align 4
%cg=getelementptr inbounds i8,i8*%cc,i64 4
%ch=bitcast i8*%cg to i32*
store i32 0,i32*%ch,align 1
store i32 4,i32*%cd,align 4
%ci=load i8*,i8**%e,align 8
%cj=getelementptr inbounds i8,i8*%cc,i64 8
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cc,i64 16
%cm=bitcast i8*%cl to i32*
store i32 2,i32*%cm,align 4
ret i8*%cc
cn:
%co=getelementptr inbounds i8,i8*%o,i64 8
%cp=bitcast i8*%co to i8**
%cq=load i8*,i8**%cp,align 8
%cr=bitcast i8*%cq to i8**
%cs=load i8*,i8**%cr,align 8
store i8*%cs,i8**%c,align 8
%ct=getelementptr inbounds i8,i8*%cq,i64 8
%cu=bitcast i8*%ct to i8**
%cv=load i8*,i8**%cu,align 8
store i8*%cv,i8**%d,align 8
%cw=load i8*,i8**%e,align 8
%cx=getelementptr inbounds i8,i8*%cw,i64 16
%cy=bitcast i8*%cx to i8**
%cz=load i8*,i8**%cy,align 8
%cA=bitcast i8*%cw to i8**
%cB=load i8*,i8**%cA,align 8
%cC=call fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%cz,i8*inreg%cB)
%cD=getelementptr inbounds i8,i8*%cC,i64 16
%cE=bitcast i8*%cD to i8*(i8*,i8*)**
%cF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cE,align 8
%cG=bitcast i8*%cC to i8**
%cH=load i8*,i8**%cG,align 8
%cI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cJ=call fastcc i8*%cF(i8*inreg%cH,i8*inreg%cI)
store i8*%cJ,i8**%d,align 8
%cK=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cL=getelementptr inbounds i8,i8*%cK,i64 16
%cM=bitcast i8*%cL to i8*(i8*,i8*)**
%cN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cM,align 8
%cO=bitcast i8*%cK to i8**
%cP=load i8*,i8**%cO,align 8
store i8*%cP,i8**%f,align 8
%cQ=load i8*,i8**%e,align 8
%cR=getelementptr inbounds i8,i8*%cQ,i64 16
%cS=bitcast i8*%cR to i8**
%cT=load i8*,i8**%cS,align 8
store i8*null,i8**%e,align 8
%cU=bitcast i8*%cQ to i8**
%cV=load i8*,i8**%cU,align 8
%cW=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%cT,i8*inreg%cV)
%cX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cY=call fastcc i8*%cN(i8*inreg%cX,i8*inreg%cW)
%cZ=getelementptr inbounds i8,i8*%cY,i64 16
%c0=bitcast i8*%cZ to i8*(i8*,i8*)**
%c1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c0,align 8
%c2=bitcast i8*%cY to i8**
%c3=load i8*,i8**%c2,align 8
%c4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c5=call fastcc i8*%c1(i8*inreg%c3,i8*inreg%c4)
store i8*%c5,i8**%c,align 8
%c6=call i8*@sml_alloc(i32 inreg 20)#0
%c7=getelementptr inbounds i8,i8*%c6,i64 -4
%c8=bitcast i8*%c7 to i32*
store i32 1342177296,i32*%c8,align 4
store i8*%c6,i8**%e,align 8
%c9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%da=bitcast i8*%c6 to i8**
store i8*%c9,i8**%da,align 8
%db=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dc=getelementptr inbounds i8,i8*%c6,i64 8
%dd=bitcast i8*%dc to i8**
store i8*%db,i8**%dd,align 8
%de=getelementptr inbounds i8,i8*%c6,i64 16
%df=bitcast i8*%de to i32*
store i32 3,i32*%df,align 4
%dg=call i8*@sml_alloc(i32 inreg 20)#0
%dh=bitcast i8*%dg to i32*
%di=getelementptr inbounds i8,i8*%dg,i64 -4
%dj=bitcast i8*%di to i32*
store i32 1342177296,i32*%dj,align 4
%dk=getelementptr inbounds i8,i8*%dg,i64 4
%dl=bitcast i8*%dk to i32*
store i32 0,i32*%dl,align 1
store i32 1,i32*%dh,align 4
%dm=load i8*,i8**%e,align 8
%dn=getelementptr inbounds i8,i8*%dg,i64 8
%do=bitcast i8*%dn to i8**
store i8*%dm,i8**%do,align 8
%dp=getelementptr inbounds i8,i8*%dg,i64 16
%dq=bitcast i8*%dp to i32*
store i32 2,i32*%dq,align 4
ret i8*%dg
dr:
%ds=getelementptr inbounds i8,i8*%o,i64 8
%dt=bitcast i8*%ds to i8**
%du=load i8*,i8**%dt,align 8
%dv=bitcast i8*%du to i8**
%dw=load i8*,i8**%dv,align 8
store i8*%dw,i8**%c,align 8
%dx=getelementptr inbounds i8,i8*%du,i64 8
%dy=bitcast i8*%dx to i32*
%dz=load i32,i32*%dy,align 4
%dA=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dB=getelementptr inbounds i8,i8*%dA,i64 16
%dC=bitcast i8*%dB to i8*(i8*,i8*)**
%dD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dC,align 8
%dE=bitcast i8*%dA to i8**
%dF=load i8*,i8**%dE,align 8
store i8*%dF,i8**%d,align 8
%dG=load i8*,i8**%e,align 8
%dH=getelementptr inbounds i8,i8*%dG,i64 16
%dI=bitcast i8*%dH to i8**
%dJ=load i8*,i8**%dI,align 8
store i8*null,i8**%e,align 8
%dK=bitcast i8*%dG to i8**
%dL=load i8*,i8**%dK,align 8
%dM=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%dJ,i8*inreg%dL)
%dN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dO=call fastcc i8*%dD(i8*inreg%dN,i8*inreg%dM)
%dP=getelementptr inbounds i8,i8*%dO,i64 16
%dQ=bitcast i8*%dP to i8*(i8*,i8*)**
%dR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dQ,align 8
%dS=bitcast i8*%dO to i8**
%dT=load i8*,i8**%dS,align 8
%dU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dV=call fastcc i8*%dR(i8*inreg%dT,i8*inreg%dU)
store i8*%dV,i8**%c,align 8
%dW=call i8*@sml_alloc(i32 inreg 20)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177296,i32*%dY,align 4
store i8*%dW,i8**%d,align 8
%dZ=getelementptr inbounds i8,i8*%dW,i64 12
%d0=bitcast i8*%dZ to i32*
store i32 0,i32*%d0,align 1
%d1=load i8*,i8**%c,align 8
%d2=bitcast i8*%dW to i8**
store i8*null,i8**%c,align 8
store i8*%d1,i8**%d2,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 8
%d4=bitcast i8*%d3 to i32*
store i32%dz,i32*%d4,align 4
%d5=getelementptr inbounds i8,i8*%dW,i64 16
%d6=bitcast i8*%d5 to i32*
store i32 1,i32*%d6,align 4
%d7=call i8*@sml_alloc(i32 inreg 20)#0
%d8=bitcast i8*%d7 to i32*
%d9=getelementptr inbounds i8,i8*%d7,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 1342177296,i32*%ea,align 4
%eb=getelementptr inbounds i8,i8*%d7,i64 4
%ec=bitcast i8*%eb to i32*
store i32 0,i32*%ec,align 1
store i32 6,i32*%d8,align 4
%ed=load i8*,i8**%d,align 8
%ee=getelementptr inbounds i8,i8*%d7,i64 8
%ef=bitcast i8*%ee to i8**
store i8*%ed,i8**%ef,align 8
%eg=getelementptr inbounds i8,i8*%d7,i64 16
%eh=bitcast i8*%eg to i32*
store i32 2,i32*%eh,align 4
ret i8*%d7
ei:
%ej=getelementptr inbounds i8,i8*%o,i64 8
%ek=bitcast i8*%ej to i8**
%el=load i8*,i8**%ek,align 8
store i8*%el,i8**%d,align 8
%em=call fastcc i8*@_SMLFN7TvarMap4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%er,i8**%f,align 8
%es=load i8*,i8**%e,align 8
%et=getelementptr inbounds i8,i8*%es,i64 8
%eu=bitcast i8*%et to i8**
%ev=load i8*,i8**%eu,align 8
store i8*%ev,i8**%e,align 8
%ew=call i8*@sml_alloc(i32 inreg 20)#0
%ex=getelementptr inbounds i8,i8*%ew,i64 -4
%ey=bitcast i8*%ex to i32*
store i32 1342177296,i32*%ey,align 4
%ez=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eA=bitcast i8*%ew to i8**
store i8*%ez,i8**%eA,align 8
%eB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eC=getelementptr inbounds i8,i8*%ew,i64 8
%eD=bitcast i8*%eC to i8**
store i8*%eB,i8**%eD,align 8
%eE=getelementptr inbounds i8,i8*%ew,i64 16
%eF=bitcast i8*%eE to i32*
store i32 3,i32*%eF,align 4
%eG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eH=call fastcc i8*%ep(i8*inreg%eG,i8*inreg%ew)
%eI=icmp eq i8*%eH,null
br i1%eI,label%eJ,label%eL
eJ:
%eK=load i8*,i8**%c,align 8
ret i8*%eK
eL:
%eM=bitcast i8*%eH to i8**
%eN=load i8*,i8**%eM,align 8
ret i8*%eN
eO:
br label%K
}
define internal fastcc i8*@_SMLLLN5Subst9substVarEE_184(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%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**%i,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%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 12,label%nz
i32 13,label%nz
i32 6,label%lZ
i32 7,label%k6
i32 0,label%kk
i32 1,label%iq
i32 4,label%g0
i32 5,label%fA
i32 2,label%ef
i32 3,label%cU
i32 8,label%b1
i32 11,label%bd
i32 10,label%ap
i32 9,label%L
]
t:
store i8*null,i8**%i,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%d,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@l,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
store i8*null,i8**%i,align 8
%M=getelementptr inbounds i8,i8*%p,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%O,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,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
store i8*%U,i8**%e,align 8
%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**%d,align 8
store i8*null,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=bitcast i8*%ae to i32*
%ag=getelementptr inbounds i8,i8*%ae,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
%ai=getelementptr inbounds i8,i8*%ae,i64 4
%aj=bitcast i8*%ai to i32*
store i32 0,i32*%aj,align 1
store i32 9,i32*%af,align 4
%ak=load i8*,i8**%e,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 16
%ao=bitcast i8*%an to i32*
store i32 2,i32*%ao,align 4
ret i8*%ae
ap:
%aq=getelementptr inbounds i8,i8*%p,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%c,align 8
%av=getelementptr inbounds i8,i8*%as,i64 8
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%d,align 8
%ay=getelementptr inbounds i8,i8*%as,i64 16
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%e,align 8
%aB=load i8*,i8**%i,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*null,i8**%i,align 8
%aF=bitcast i8*%aB to i8**
%aG=load i8*,i8**%aF,align 8
%aH=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%aE,i8*inreg%aG)
%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
%aN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aO=call fastcc i8*%aK(i8*inreg%aM,i8*inreg%aN)
store i8*%aO,i8**%e,align 8
%aP=call i8*@sml_alloc(i32 inreg 28)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177304,i32*%aR,align 4
store i8*%aP,i8**%f,align 8
%aS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aV=getelementptr inbounds i8,i8*%aP,i64 8
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aY=getelementptr inbounds i8,i8*%aP,i64 16
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aP,i64 24
%a1=bitcast i8*%a0 to i32*
store i32 7,i32*%a1,align 4
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=bitcast i8*%a2 to i32*
%a4=getelementptr inbounds i8,i8*%a2,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177296,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%a2,i64 4
%a7=bitcast i8*%a6 to i32*
store i32 0,i32*%a7,align 1
store i32 10,i32*%a3,align 4
%a8=load i8*,i8**%f,align 8
%a9=getelementptr inbounds i8,i8*%a2,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 16
%bc=bitcast i8*%bb to i32*
store i32 2,i32*%bc,align 4
ret i8*%a2
bd:
%be=getelementptr inbounds i8,i8*%p,i64 8
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%c,align 8
%bj=getelementptr inbounds i8,i8*%bg,i64 8
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%d,align 8
%bm=getelementptr inbounds i8,i8*%bg,i64 16
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
store i8*%bo,i8**%e,align 8
%bp=load i8*,i8**%i,align 8
%bq=getelementptr inbounds i8,i8*%bp,i64 8
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
store i8*null,i8**%i,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
%bv=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%bs,i8*inreg%bu)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
%bB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bC=call fastcc i8*%by(i8*inreg%bA,i8*inreg%bB)
store i8*%bC,i8**%e,align 8
%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
store i8*%bD,i8**%f,align 8
%bG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bH=bitcast i8*%bD to i8**
store i8*%bG,i8**%bH,align 8
%bI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bJ=getelementptr inbounds i8,i8*%bD,i64 8
%bK=bitcast i8*%bJ to i8**
store i8*%bI,i8**%bK,align 8
%bL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bM=getelementptr inbounds i8,i8*%bD,i64 16
%bN=bitcast i8*%bM to i8**
store i8*%bL,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bD,i64 24
%bP=bitcast i8*%bO to i32*
store i32 7,i32*%bP,align 4
%bQ=call i8*@sml_alloc(i32 inreg 20)#0
%bR=bitcast i8*%bQ to i32*
%bS=getelementptr inbounds i8,i8*%bQ,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177296,i32*%bT,align 4
%bU=getelementptr inbounds i8,i8*%bQ,i64 4
%bV=bitcast i8*%bU to i32*
store i32 0,i32*%bV,align 1
store i32 11,i32*%bR,align 4
%bW=load i8*,i8**%f,align 8
%bX=getelementptr inbounds i8,i8*%bQ,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bQ,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 2,i32*%b0,align 4
ret i8*%bQ
b1:
store i8*null,i8**%i,align 8
%b2=getelementptr inbounds i8,i8*%p,i64 8
%b3=bitcast i8*%b2 to i8**
%b4=load i8*,i8**%b3,align 8
store i8*%b4,i8**%c,align 8
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%d,align 8
%b7=getelementptr inbounds i8,i8*%b4,i64 8
%b8=bitcast i8*%b7 to i32*
%b9=load i32,i32*%b8,align 4
%ca=getelementptr inbounds i8,i8*%b4,i64 16
%cb=bitcast i8*%ca to i8**
%cc=load i8*,i8**%cb,align 8
store i8*%cc,i8**%e,align 8
%cd=getelementptr inbounds i8,i8*%b4,i64 24
%ce=bitcast i8*%cd to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%f,align 8
%cg=call i8*@sml_alloc(i32 inreg 4)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 536870916,i32*%ci,align 4
store i8*%cg,i8**%g,align 8
%cj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%cj,i64 32
%cl=bitcast i8*%ck to i32**
%cm=load i32*,i32**%cl,align 8
%cn=load i32,i32*%cm,align 4
%co=bitcast i8*%cg to i32*
store i32%cn,i32*%co,align 4
%cp=call i8*@sml_alloc(i32 inreg 44)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177320,i32*%cr,align 4
store i8*%cp,i8**%c,align 8
%cs=getelementptr inbounds i8,i8*%cp,i64 12
%ct=bitcast i8*%cs to i32*
store i32 0,i32*%ct,align 1
%cu=load i8*,i8**%d,align 8
%cv=bitcast i8*%cp to i8**
store i8*null,i8**%d,align 8
store i8*%cu,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cp,i64 8
%cx=bitcast i8*%cw to i32*
store i32%b9,i32*%cx,align 4
%cy=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cz=getelementptr inbounds i8,i8*%cp,i64 16
%cA=bitcast i8*%cz to i8**
store i8*%cy,i8**%cA,align 8
%cB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cC=getelementptr inbounds i8,i8*%cp,i64 24
%cD=bitcast i8*%cC to i8**
store i8*%cB,i8**%cD,align 8
%cE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cF=getelementptr inbounds i8,i8*%cp,i64 32
%cG=bitcast i8*%cF to i8**
store i8*%cE,i8**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cp,i64 40
%cI=bitcast i8*%cH to i32*
store i32 29,i32*%cI,align 4
%cJ=call i8*@sml_alloc(i32 inreg 20)#0
%cK=bitcast i8*%cJ to i32*
%cL=getelementptr inbounds i8,i8*%cJ,i64 -4
%cM=bitcast i8*%cL to i32*
store i32 1342177296,i32*%cM,align 4
%cN=getelementptr inbounds i8,i8*%cJ,i64 4
%cO=bitcast i8*%cN to i32*
store i32 0,i32*%cO,align 1
store i32 8,i32*%cK,align 4
%cP=load i8*,i8**%c,align 8
%cQ=getelementptr inbounds i8,i8*%cJ,i64 8
%cR=bitcast i8*%cQ to i8**
store i8*%cP,i8**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cJ,i64 16
%cT=bitcast i8*%cS to i32*
store i32 2,i32*%cT,align 4
ret i8*%cJ
cU:
%cV=getelementptr inbounds i8,i8*%p,i64 8
%cW=bitcast i8*%cV to i8**
%cX=load i8*,i8**%cW,align 8
%cY=bitcast i8*%cX to i8**
%cZ=load i8*,i8**%cY,align 8
store i8*%cZ,i8**%c,align 8
%c0=getelementptr inbounds i8,i8*%cX,i64 8
%c1=bitcast i8*%c0 to i8**
%c2=load i8*,i8**%c1,align 8
store i8*%c2,i8**%d,align 8
%c3=getelementptr inbounds i8,i8*%cX,i64 16
%c4=bitcast i8*%c3 to i8**
%c5=load i8*,i8**%c4,align 8
store i8*%c5,i8**%e,align 8
%c6=getelementptr inbounds i8,i8*%cX,i64 24
%c7=bitcast i8*%c6 to i8**
%c8=load i8*,i8**%c7,align 8
store i8*%c8,i8**%f,align 8
%c9=getelementptr inbounds i8,i8*%cX,i64 32
%da=bitcast i8*%c9 to i8**
%db=load i8*,i8**%da,align 8
store i8*%db,i8**%g,align 8
%dc=call i8*@sml_alloc(i32 inreg 4)#0
%dd=getelementptr inbounds i8,i8*%dc,i64 -4
%de=bitcast i8*%dd to i32*
store i32 536870916,i32*%de,align 4
store i8*%dc,i8**%h,align 8
%df=bitcast i8**%f to i32**
%dg=load i32*,i32**%df,align 8
store i8*null,i8**%f,align 8
%dh=load i32,i32*%dg,align 4
%di=bitcast i8*%dc to i32*
store i32%dh,i32*%di,align 4
%dj=load i8*,i8**%i,align 8
%dk=getelementptr inbounds i8,i8*%dj,i64 8
%dl=bitcast i8*%dk to i8**
%dm=load i8*,i8**%dl,align 8
%dn=bitcast i8*%dj to i8**
%do=load i8*,i8**%dn,align 8
%dp=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%dm,i8*inreg%do)
%dq=getelementptr inbounds i8,i8*%dp,i64 16
%dr=bitcast i8*%dq to i8*(i8*,i8*)**
%ds=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dr,align 8
%dt=bitcast i8*%dp to i8**
%du=load i8*,i8**%dt,align 8
%dv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dw=call fastcc i8*%ds(i8*inreg%du,i8*inreg%dv)
store i8*%dw,i8**%e,align 8
%dx=bitcast i8**%i to i8***
%dy=load i8**,i8***%dx,align 8
store i8*null,i8**%i,align 8
%dz=load i8*,i8**%dy,align 8
%dA=getelementptr inbounds i8,i8*%dz,i64 16
%dB=bitcast i8*%dA to i8**
%dC=load i8*,i8**%dB,align 8
%dD=icmp eq i8*%dC,null
br i1%dD,label%dE,label%dG
dE:
%dF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
br label%dJ
dG:
store i8*null,i8**%g,align 8
%dH=bitcast i8*%dC to i8**
%dI=load i8*,i8**%dH,align 8
br label%dJ
dJ:
%dK=phi i8*[%dI,%dG],[%dF,%dE]
store i8*%dK,i8**%f,align 8
%dL=call i8*@sml_alloc(i32 inreg 44)#0
%dM=getelementptr inbounds i8,i8*%dL,i64 -4
%dN=bitcast i8*%dM to i32*
store i32 1342177320,i32*%dN,align 4
store i8*%dL,i8**%g,align 8
%dO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dP=bitcast i8*%dL to i8**
store i8*%dO,i8**%dP,align 8
%dQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dR=getelementptr inbounds i8,i8*%dL,i64 8
%dS=bitcast i8*%dR to i8**
store i8*%dQ,i8**%dS,align 8
%dT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dU=getelementptr inbounds i8,i8*%dL,i64 16
%dV=bitcast i8*%dU to i8**
store i8*%dT,i8**%dV,align 8
%dW=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dX=getelementptr inbounds i8,i8*%dL,i64 24
%dY=bitcast i8*%dX to i8**
store i8*%dW,i8**%dY,align 8
%dZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d0=getelementptr inbounds i8,i8*%dL,i64 32
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dL,i64 40
%d3=bitcast i8*%d2 to i32*
store i32 31,i32*%d3,align 4
%d4=call i8*@sml_alloc(i32 inreg 20)#0
%d5=bitcast i8*%d4 to i32*
%d6=getelementptr inbounds i8,i8*%d4,i64 -4
%d7=bitcast i8*%d6 to i32*
store i32 1342177296,i32*%d7,align 4
%d8=getelementptr inbounds i8,i8*%d4,i64 4
%d9=bitcast i8*%d8 to i32*
store i32 0,i32*%d9,align 1
store i32 3,i32*%d5,align 4
%ea=load i8*,i8**%g,align 8
%eb=getelementptr inbounds i8,i8*%d4,i64 8
%ec=bitcast i8*%eb to i8**
store i8*%ea,i8**%ec,align 8
%ed=getelementptr inbounds i8,i8*%d4,i64 16
%ee=bitcast i8*%ed to i32*
store i32 2,i32*%ee,align 4
ret i8*%d4
ef:
%eg=getelementptr inbounds i8,i8*%p,i64 8
%eh=bitcast i8*%eg to i8**
%ei=load i8*,i8**%eh,align 8
%ej=bitcast i8*%ei to i8**
%ek=load i8*,i8**%ej,align 8
store i8*%ek,i8**%c,align 8
%el=getelementptr inbounds i8,i8*%ei,i64 8
%em=bitcast i8*%el to i8**
%en=load i8*,i8**%em,align 8
store i8*%en,i8**%d,align 8
%eo=getelementptr inbounds i8,i8*%ei,i64 16
%ep=bitcast i8*%eo to i8**
%eq=load i8*,i8**%ep,align 8
store i8*%eq,i8**%e,align 8
%er=getelementptr inbounds i8,i8*%ei,i64 24
%es=bitcast i8*%er to i8**
%et=load i8*,i8**%es,align 8
store i8*%et,i8**%f,align 8
%eu=getelementptr inbounds i8,i8*%ei,i64 32
%ev=bitcast i8*%eu to i8**
%ew=load i8*,i8**%ev,align 8
store i8*%ew,i8**%g,align 8
%ex=call i8*@sml_alloc(i32 inreg 4)#0
%ey=getelementptr inbounds i8,i8*%ex,i64 -4
%ez=bitcast i8*%ey to i32*
store i32 536870916,i32*%ez,align 4
store i8*%ex,i8**%h,align 8
%eA=bitcast i8**%f to i32**
%eB=load i32*,i32**%eA,align 8
store i8*null,i8**%f,align 8
%eC=load i32,i32*%eB,align 4
%eD=bitcast i8*%ex to i32*
store i32%eC,i32*%eD,align 4
%eE=load i8*,i8**%i,align 8
%eF=getelementptr inbounds i8,i8*%eE,i64 8
%eG=bitcast i8*%eF to i8**
%eH=load i8*,i8**%eG,align 8
%eI=bitcast i8*%eE to i8**
%eJ=load i8*,i8**%eI,align 8
%eK=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%eH,i8*inreg%eJ)
%eL=getelementptr inbounds i8,i8*%eK,i64 16
%eM=bitcast i8*%eL to i8*(i8*,i8*)**
%eN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eM,align 8
%eO=bitcast i8*%eK to i8**
%eP=load i8*,i8**%eO,align 8
%eQ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eR=call fastcc i8*%eN(i8*inreg%eP,i8*inreg%eQ)
store i8*%eR,i8**%e,align 8
%eS=bitcast i8**%i to i8***
%eT=load i8**,i8***%eS,align 8
store i8*null,i8**%i,align 8
%eU=load i8*,i8**%eT,align 8
%eV=getelementptr inbounds i8,i8*%eU,i64 16
%eW=bitcast i8*%eV to i8**
%eX=load i8*,i8**%eW,align 8
%eY=icmp eq i8*%eX,null
br i1%eY,label%eZ,label%e1
eZ:
%e0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
br label%e4
e1:
store i8*null,i8**%g,align 8
%e2=bitcast i8*%eX to i8**
%e3=load i8*,i8**%e2,align 8
br label%e4
e4:
%e5=phi i8*[%e3,%e1],[%e0,%eZ]
store i8*%e5,i8**%f,align 8
%e6=call i8*@sml_alloc(i32 inreg 44)#0
%e7=getelementptr inbounds i8,i8*%e6,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32 1342177320,i32*%e8,align 4
store i8*%e6,i8**%g,align 8
%e9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fa=bitcast i8*%e6 to i8**
store i8*%e9,i8**%fa,align 8
%fb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fc=getelementptr inbounds i8,i8*%e6,i64 8
%fd=bitcast i8*%fc to i8**
store i8*%fb,i8**%fd,align 8
%fe=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ff=getelementptr inbounds i8,i8*%e6,i64 16
%fg=bitcast i8*%ff to i8**
store i8*%fe,i8**%fg,align 8
%fh=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fi=getelementptr inbounds i8,i8*%e6,i64 24
%fj=bitcast i8*%fi to i8**
store i8*%fh,i8**%fj,align 8
%fk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fl=getelementptr inbounds i8,i8*%e6,i64 32
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%e6,i64 40
%fo=bitcast i8*%fn to i32*
store i32 31,i32*%fo,align 4
%fp=call i8*@sml_alloc(i32 inreg 20)#0
%fq=bitcast i8*%fp to i32*
%fr=getelementptr inbounds i8,i8*%fp,i64 -4
%fs=bitcast i8*%fr to i32*
store i32 1342177296,i32*%fs,align 4
%ft=getelementptr inbounds i8,i8*%fp,i64 4
%fu=bitcast i8*%ft to i32*
store i32 0,i32*%fu,align 1
store i32 2,i32*%fq,align 4
%fv=load i8*,i8**%g,align 8
%fw=getelementptr inbounds i8,i8*%fp,i64 8
%fx=bitcast i8*%fw to i8**
store i8*%fv,i8**%fx,align 8
%fy=getelementptr inbounds i8,i8*%fp,i64 16
%fz=bitcast i8*%fy to i32*
store i32 2,i32*%fz,align 4
ret i8*%fp
fA:
%fB=getelementptr inbounds i8,i8*%p,i64 8
%fC=bitcast i8*%fB to i8**
%fD=load i8*,i8**%fC,align 8
%fE=bitcast i8*%fD to i8**
%fF=load i8*,i8**%fE,align 8
store i8*%fF,i8**%c,align 8
%fG=getelementptr inbounds i8,i8*%fD,i64 8
%fH=bitcast i8*%fG to i32*
%fI=load i32,i32*%fH,align 4
%fJ=getelementptr inbounds i8,i8*%fD,i64 16
%fK=bitcast i8*%fJ to i8**
%fL=load i8*,i8**%fK,align 8
store i8*%fL,i8**%d,align 8
%fM=getelementptr inbounds i8,i8*%fD,i64 24
%fN=bitcast i8*%fM to i8**
%fO=load i8*,i8**%fN,align 8
store i8*%fO,i8**%e,align 8
%fP=call fastcc i8*@_SMLFN5ExnID3Map4findE(i32 inreg 0,i32 inreg 4)
%fQ=getelementptr inbounds i8,i8*%fP,i64 16
%fR=bitcast i8*%fQ to i8*(i8*,i8*)**
%fS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fR,align 8
%fT=bitcast i8*%fP to i8**
%fU=load i8*,i8**%fT,align 8
store i8*%fU,i8**%g,align 8
%fV=bitcast i8**%i to i8***
%fW=load i8**,i8***%fV,align 8
%fX=load i8*,i8**%fW,align 8
%fY=getelementptr inbounds i8,i8*%fX,i64 8
%fZ=bitcast i8*%fY to i8**
%f0=load i8*,i8**%fZ,align 8
store i8*%f0,i8**%f,align 8
%f1=call i8*@sml_alloc(i32 inreg 20)#0
%f2=getelementptr inbounds i8,i8*%f1,i64 -4
%f3=bitcast i8*%f2 to i32*
store i32 1342177296,i32*%f3,align 4
%f4=getelementptr inbounds i8,i8*%f1,i64 12
%f5=bitcast i8*%f4 to i32*
store i32 0,i32*%f5,align 1
%f6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%f7=bitcast i8*%f1 to i8**
store i8*%f6,i8**%f7,align 8
%f8=getelementptr inbounds i8,i8*%f1,i64 8
%f9=bitcast i8*%f8 to i32*
store i32%fI,i32*%f9,align 4
%ga=getelementptr inbounds i8,i8*%f1,i64 16
%gb=bitcast i8*%ga to i32*
store i32 1,i32*%gb,align 4
%gc=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gd=call fastcc i8*%fS(i8*inreg%gc,i8*inreg%f1)
%ge=icmp eq i8*%gd,null
br i1%ge,label%gi,label%gf
gf:
%gg=bitcast i8*%gd to i32*
%gh=load i32,i32*%gg,align 4
br label%gi
gi:
%gj=phi i32[%gh,%gf],[%fI,%fA]
%gk=load i8*,i8**%i,align 8
%gl=getelementptr inbounds i8,i8*%gk,i64 8
%gm=bitcast i8*%gl to i8**
%gn=load i8*,i8**%gm,align 8
store i8*null,i8**%i,align 8
%go=bitcast i8*%gk to i8**
%gp=load i8*,i8**%go,align 8
%gq=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%gn,i8*inreg%gp)
%gr=getelementptr inbounds i8,i8*%gq,i64 16
%gs=bitcast i8*%gr to i8*(i8*,i8*)**
%gt=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gs,align 8
%gu=bitcast i8*%gq to i8**
%gv=load i8*,i8**%gu,align 8
%gw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gx=call fastcc i8*%gt(i8*inreg%gv,i8*inreg%gw)
store i8*%gx,i8**%e,align 8
%gy=call i8*@sml_alloc(i32 inreg 36)#0
%gz=getelementptr inbounds i8,i8*%gy,i64 -4
%gA=bitcast i8*%gz to i32*
store i32 1342177312,i32*%gA,align 4
store i8*%gy,i8**%f,align 8
%gB=getelementptr inbounds i8,i8*%gy,i64 12
%gC=bitcast i8*%gB to i32*
store i32 0,i32*%gC,align 1
%gD=load i8*,i8**%c,align 8
%gE=bitcast i8*%gy to i8**
store i8*null,i8**%c,align 8
store i8*%gD,i8**%gE,align 8
%gF=getelementptr inbounds i8,i8*%gy,i64 8
%gG=bitcast i8*%gF to i32*
store i32%gj,i32*%gG,align 4
%gH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gI=getelementptr inbounds i8,i8*%gy,i64 16
%gJ=bitcast i8*%gI to i8**
store i8*%gH,i8**%gJ,align 8
%gK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gL=getelementptr inbounds i8,i8*%gy,i64 24
%gM=bitcast i8*%gL to i8**
store i8*%gK,i8**%gM,align 8
%gN=getelementptr inbounds i8,i8*%gy,i64 32
%gO=bitcast i8*%gN to i32*
store i32 13,i32*%gO,align 4
%gP=call i8*@sml_alloc(i32 inreg 20)#0
%gQ=bitcast i8*%gP to i32*
%gR=getelementptr inbounds i8,i8*%gP,i64 -4
%gS=bitcast i8*%gR to i32*
store i32 1342177296,i32*%gS,align 4
%gT=getelementptr inbounds i8,i8*%gP,i64 4
%gU=bitcast i8*%gT to i32*
store i32 0,i32*%gU,align 1
store i32 5,i32*%gQ,align 4
%gV=load i8*,i8**%f,align 8
%gW=getelementptr inbounds i8,i8*%gP,i64 8
%gX=bitcast i8*%gW to i8**
store i8*%gV,i8**%gX,align 8
%gY=getelementptr inbounds i8,i8*%gP,i64 16
%gZ=bitcast i8*%gY to i32*
store i32 2,i32*%gZ,align 4
ret i8*%gP
g0:
%g1=getelementptr inbounds i8,i8*%p,i64 8
%g2=bitcast i8*%g1 to i8**
%g3=load i8*,i8**%g2,align 8
%g4=bitcast i8*%g3 to i8**
%g5=load i8*,i8**%g4,align 8
store i8*%g5,i8**%c,align 8
%g6=getelementptr inbounds i8,i8*%g3,i64 8
%g7=bitcast i8*%g6 to i32*
%g8=load i32,i32*%g7,align 4
%g9=getelementptr inbounds i8,i8*%g3,i64 16
%ha=bitcast i8*%g9 to i8**
%hb=load i8*,i8**%ha,align 8
store i8*%hb,i8**%d,align 8
%hc=getelementptr inbounds i8,i8*%g3,i64 24
%hd=bitcast i8*%hc to i8**
%he=load i8*,i8**%hd,align 8
store i8*%he,i8**%e,align 8
%hf=call fastcc i8*@_SMLFN5ExnID3Map4findE(i32 inreg 0,i32 inreg 4)
%hg=getelementptr inbounds i8,i8*%hf,i64 16
%hh=bitcast i8*%hg to i8*(i8*,i8*)**
%hi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hh,align 8
%hj=bitcast i8*%hf to i8**
%hk=load i8*,i8**%hj,align 8
store i8*%hk,i8**%g,align 8
%hl=bitcast i8**%i to i8***
%hm=load i8**,i8***%hl,align 8
%hn=load i8*,i8**%hm,align 8
%ho=getelementptr inbounds i8,i8*%hn,i64 8
%hp=bitcast i8*%ho to i8**
%hq=load i8*,i8**%hp,align 8
store i8*%hq,i8**%f,align 8
%hr=call i8*@sml_alloc(i32 inreg 20)#0
%hs=getelementptr inbounds i8,i8*%hr,i64 -4
%ht=bitcast i8*%hs to i32*
store i32 1342177296,i32*%ht,align 4
%hu=getelementptr inbounds i8,i8*%hr,i64 12
%hv=bitcast i8*%hu to i32*
store i32 0,i32*%hv,align 1
%hw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hx=bitcast i8*%hr to i8**
store i8*%hw,i8**%hx,align 8
%hy=getelementptr inbounds i8,i8*%hr,i64 8
%hz=bitcast i8*%hy to i32*
store i32%g8,i32*%hz,align 4
%hA=getelementptr inbounds i8,i8*%hr,i64 16
%hB=bitcast i8*%hA to i32*
store i32 1,i32*%hB,align 4
%hC=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hD=call fastcc i8*%hi(i8*inreg%hC,i8*inreg%hr)
%hE=icmp eq i8*%hD,null
br i1%hE,label%hI,label%hF
hF:
%hG=bitcast i8*%hD to i32*
%hH=load i32,i32*%hG,align 4
br label%hI
hI:
%hJ=phi i32[%hH,%hF],[%g8,%g0]
%hK=load i8*,i8**%i,align 8
%hL=getelementptr inbounds i8,i8*%hK,i64 8
%hM=bitcast i8*%hL to i8**
%hN=load i8*,i8**%hM,align 8
store i8*null,i8**%i,align 8
%hO=bitcast i8*%hK to i8**
%hP=load i8*,i8**%hO,align 8
%hQ=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%hN,i8*inreg%hP)
%hR=getelementptr inbounds i8,i8*%hQ,i64 16
%hS=bitcast i8*%hR to i8*(i8*,i8*)**
%hT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hS,align 8
%hU=bitcast i8*%hQ to i8**
%hV=load i8*,i8**%hU,align 8
%hW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hX=call fastcc i8*%hT(i8*inreg%hV,i8*inreg%hW)
store i8*%hX,i8**%f,align 8
%hY=call i8*@sml_alloc(i32 inreg 36)#0
%hZ=getelementptr inbounds i8,i8*%hY,i64 -4
%h0=bitcast i8*%hZ to i32*
store i32 1342177312,i32*%h0,align 4
store i8*%hY,i8**%e,align 8
%h1=getelementptr inbounds i8,i8*%hY,i64 12
%h2=bitcast i8*%h1 to i32*
store i32 0,i32*%h2,align 1
%h3=load i8*,i8**%c,align 8
%h4=bitcast i8*%hY to i8**
store i8*null,i8**%c,align 8
store i8*%h3,i8**%h4,align 8
%h5=getelementptr inbounds i8,i8*%hY,i64 8
%h6=bitcast i8*%h5 to i32*
store i32%hJ,i32*%h6,align 4
%h7=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%h8=getelementptr inbounds i8,i8*%hY,i64 16
%h9=bitcast i8*%h8 to i8**
store i8*%h7,i8**%h9,align 8
%ia=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ib=getelementptr inbounds i8,i8*%hY,i64 24
%ic=bitcast i8*%ib to i8**
store i8*%ia,i8**%ic,align 8
%id=getelementptr inbounds i8,i8*%hY,i64 32
%ie=bitcast i8*%id to i32*
store i32 13,i32*%ie,align 4
%if=call i8*@sml_alloc(i32 inreg 20)#0
%ig=bitcast i8*%if to i32*
%ih=getelementptr inbounds i8,i8*%if,i64 -4
%ii=bitcast i8*%ih to i32*
store i32 1342177296,i32*%ii,align 4
%ij=getelementptr inbounds i8,i8*%if,i64 4
%ik=bitcast i8*%ij to i32*
store i32 0,i32*%ik,align 1
store i32 4,i32*%ig,align 4
%il=load i8*,i8**%e,align 8
%im=getelementptr inbounds i8,i8*%if,i64 8
%in=bitcast i8*%im to i8**
store i8*%il,i8**%in,align 8
%io=getelementptr inbounds i8,i8*%if,i64 16
%ip=bitcast i8*%io to i32*
store i32 2,i32*%ip,align 4
ret i8*%if
iq:
%ir=getelementptr inbounds i8,i8*%p,i64 8
%is=bitcast i8*%ir to i8**
%it=load i8*,i8**%is,align 8
%iu=bitcast i8*%it to i8**
%iv=load i8*,i8**%iu,align 8
store i8*%iv,i8**%c,align 8
%iw=getelementptr inbounds i8,i8*%it,i64 8
%ix=bitcast i8*%iw to i32*
%iy=load i32,i32*%ix,align 4
%iz=getelementptr inbounds i8,i8*%it,i64 16
%iA=bitcast i8*%iz to i8**
%iB=load i8*,i8**%iA,align 8
store i8*%iB,i8**%d,align 8
%iC=getelementptr inbounds i8,i8*%it,i64 24
%iD=bitcast i8*%iC to i8**
%iE=load i8*,i8**%iD,align 8
store i8*%iE,i8**%e,align 8
%iF=call fastcc i8*@_SMLFN5ConID3Map4findE(i32 inreg 1,i32 inreg 8)
%iG=getelementptr inbounds i8,i8*%iF,i64 16
%iH=bitcast i8*%iG to i8*(i8*,i8*)**
%iI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iH,align 8
%iJ=bitcast i8*%iF to i8**
%iK=load i8*,i8**%iJ,align 8
store i8*%iK,i8**%g,align 8
%iL=bitcast i8**%i to i8****
%iM=load i8***,i8****%iL,align 8
%iN=load i8**,i8***%iM,align 8
%iO=load i8*,i8**%iN,align 8
store i8*%iO,i8**%f,align 8
%iP=call i8*@sml_alloc(i32 inreg 20)#0
%iQ=getelementptr inbounds i8,i8*%iP,i64 -4
%iR=bitcast i8*%iQ to i32*
store i32 1342177296,i32*%iR,align 4
%iS=getelementptr inbounds i8,i8*%iP,i64 12
%iT=bitcast i8*%iS to i32*
store i32 0,i32*%iT,align 1
%iU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iV=bitcast i8*%iP to i8**
store i8*%iU,i8**%iV,align 8
%iW=getelementptr inbounds i8,i8*%iP,i64 8
%iX=bitcast i8*%iW to i32*
store i32%iy,i32*%iX,align 4
%iY=getelementptr inbounds i8,i8*%iP,i64 16
%iZ=bitcast i8*%iY to i32*
store i32 1,i32*%iZ,align 4
%i0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%i1=call fastcc i8*%iI(i8*inreg%i0,i8*inreg%iP)
%i2=icmp eq i8*%i1,null
br i1%i2,label%jC,label%i3
i3:
%i4=bitcast i8*%i1 to i8**
%i5=load i8*,i8**%i4,align 8
%i6=bitcast i8*%i5 to i32*
%i7=load i32,i32*%i6,align 4
%i8=icmp eq i32%i7,1
br i1%i8,label%jv,label%i9
i9:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%i,align 8
%ja=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ja,i8**%c,align 8
%jb=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@k,i64 0,i32 2)to i8*))
store i8*%jb,i8**%d,align 8
%jc=call i8*@sml_alloc(i32 inreg 28)#0
%jd=getelementptr inbounds i8,i8*%jc,i64 -4
%je=bitcast i8*%jd to i32*
store i32 1342177304,i32*%je,align 4
store i8*%jc,i8**%e,align 8
%jf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jg=bitcast i8*%jc to i8**
store i8*%jf,i8**%jg,align 8
%jh=getelementptr inbounds i8,i8*%jc,i64 8
%ji=bitcast i8*%jh to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@h,i64 0,i32 2,i64 0),i8**%ji,align 8
%jj=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jk=getelementptr inbounds i8,i8*%jc,i64 16
%jl=bitcast i8*%jk to i8**
store i8*%jj,i8**%jl,align 8
%jm=getelementptr inbounds i8,i8*%jc,i64 24
%jn=bitcast i8*%jm to i32*
store i32 7,i32*%jn,align 4
%jo=call i8*@sml_alloc(i32 inreg 60)#0
%jp=getelementptr inbounds i8,i8*%jo,i64 -4
%jq=bitcast i8*%jp to i32*
store i32 1342177336,i32*%jq,align 4
%jr=getelementptr inbounds i8,i8*%jo,i64 56
%js=bitcast i8*%jr to i32*
store i32 1,i32*%js,align 4
%jt=load i8*,i8**%e,align 8
%ju=bitcast i8*%jo to i8**
store i8*%jt,i8**%ju,align 8
call void@sml_raise(i8*inreg%jo)#1
unreachable
jv:
%jw=getelementptr inbounds i8,i8*%i5,i64 8
%jx=bitcast i8*%jw to i8**
%jy=load i8*,i8**%jx,align 8
%jz=getelementptr inbounds i8,i8*%jy,i64 8
%jA=bitcast i8*%jz to i32*
%jB=load i32,i32*%jA,align 4
br label%jC
jC:
%jD=phi i32[%jB,%jv],[%iy,%iq]
%jE=load i8*,i8**%i,align 8
%jF=getelementptr inbounds i8,i8*%jE,i64 8
%jG=bitcast i8*%jF to i8**
%jH=load i8*,i8**%jG,align 8
store i8*null,i8**%i,align 8
%jI=bitcast i8*%jE to i8**
%jJ=load i8*,i8**%jI,align 8
%jK=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%jH,i8*inreg%jJ)
%jL=getelementptr inbounds i8,i8*%jK,i64 16
%jM=bitcast i8*%jL to i8*(i8*,i8*)**
%jN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jM,align 8
%jO=bitcast i8*%jK to i8**
%jP=load i8*,i8**%jO,align 8
%jQ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jR=call fastcc i8*%jN(i8*inreg%jP,i8*inreg%jQ)
store i8*%jR,i8**%e,align 8
%jS=call i8*@sml_alloc(i32 inreg 36)#0
%jT=getelementptr inbounds i8,i8*%jS,i64 -4
%jU=bitcast i8*%jT to i32*
store i32 1342177312,i32*%jU,align 4
store i8*%jS,i8**%f,align 8
%jV=getelementptr inbounds i8,i8*%jS,i64 12
%jW=bitcast i8*%jV to i32*
store i32 0,i32*%jW,align 1
%jX=load i8*,i8**%c,align 8
%jY=bitcast i8*%jS to i8**
store i8*null,i8**%c,align 8
store i8*%jX,i8**%jY,align 8
%jZ=getelementptr inbounds i8,i8*%jS,i64 8
%j0=bitcast i8*%jZ to i32*
store i32%jD,i32*%j0,align 4
%j1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%j2=getelementptr inbounds i8,i8*%jS,i64 16
%j3=bitcast i8*%j2 to i8**
store i8*%j1,i8**%j3,align 8
%j4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%j5=getelementptr inbounds i8,i8*%jS,i64 24
%j6=bitcast i8*%j5 to i8**
store i8*%j4,i8**%j6,align 8
%j7=getelementptr inbounds i8,i8*%jS,i64 32
%j8=bitcast i8*%j7 to i32*
store i32 13,i32*%j8,align 4
%j9=call i8*@sml_alloc(i32 inreg 20)#0
%ka=bitcast i8*%j9 to i32*
%kb=getelementptr inbounds i8,i8*%j9,i64 -4
%kc=bitcast i8*%kb to i32*
store i32 1342177296,i32*%kc,align 4
%kd=getelementptr inbounds i8,i8*%j9,i64 4
%ke=bitcast i8*%kd to i32*
store i32 0,i32*%ke,align 1
store i32 1,i32*%ka,align 4
%kf=load i8*,i8**%f,align 8
%kg=getelementptr inbounds i8,i8*%j9,i64 8
%kh=bitcast i8*%kg to i8**
store i8*%kf,i8**%kh,align 8
%ki=getelementptr inbounds i8,i8*%j9,i64 16
%kj=bitcast i8*%ki to i32*
store i32 2,i32*%kj,align 4
ret i8*%j9
kk:
%kl=getelementptr inbounds i8,i8*%p,i64 8
%km=bitcast i8*%kl to i8**
%kn=load i8*,i8**%km,align 8
%ko=bitcast i8*%kn to i8**
%kp=load i8*,i8**%ko,align 8
store i8*%kp,i8**%c,align 8
%kq=getelementptr inbounds i8,i8*%kn,i64 8
%kr=bitcast i8*%kq to i8**
%ks=load i8*,i8**%kr,align 8
store i8*%ks,i8**%d,align 8
%kt=getelementptr inbounds i8,i8*%kn,i64 16
%ku=bitcast i8*%kt to i8**
%kv=load i8*,i8**%ku,align 8
store i8*%kv,i8**%e,align 8
%kw=load i8*,i8**%i,align 8
%kx=getelementptr inbounds i8,i8*%kw,i64 8
%ky=bitcast i8*%kx to i8**
%kz=load i8*,i8**%ky,align 8
store i8*null,i8**%i,align 8
%kA=bitcast i8*%kw to i8**
%kB=load i8*,i8**%kA,align 8
%kC=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%kz,i8*inreg%kB)
%kD=getelementptr inbounds i8,i8*%kC,i64 16
%kE=bitcast i8*%kD to i8*(i8*,i8*)**
%kF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kE,align 8
%kG=bitcast i8*%kC to i8**
%kH=load i8*,i8**%kG,align 8
%kI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kJ=call fastcc i8*%kF(i8*inreg%kH,i8*inreg%kI)
store i8*%kJ,i8**%e,align 8
%kK=call i8*@sml_alloc(i32 inreg 28)#0
%kL=getelementptr inbounds i8,i8*%kK,i64 -4
%kM=bitcast i8*%kL to i32*
store i32 1342177304,i32*%kM,align 4
store i8*%kK,i8**%f,align 8
%kN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kO=bitcast i8*%kK to i8**
store i8*%kN,i8**%kO,align 8
%kP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kQ=getelementptr inbounds i8,i8*%kK,i64 8
%kR=bitcast i8*%kQ to i8**
store i8*%kP,i8**%kR,align 8
%kS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kT=getelementptr inbounds i8,i8*%kK,i64 16
%kU=bitcast i8*%kT to i8**
store i8*%kS,i8**%kU,align 8
%kV=getelementptr inbounds i8,i8*%kK,i64 24
%kW=bitcast i8*%kV to i32*
store i32 7,i32*%kW,align 4
%kX=call i8*@sml_alloc(i32 inreg 20)#0
%kY=getelementptr inbounds i8,i8*%kX,i64 -4
%kZ=bitcast i8*%kY to i32*
store i32 1342177296,i32*%kZ,align 4
%k0=bitcast i8*%kX to i64*
store i64 0,i64*%k0,align 4
%k1=load i8*,i8**%f,align 8
%k2=getelementptr inbounds i8,i8*%kX,i64 8
%k3=bitcast i8*%k2 to i8**
store i8*%k1,i8**%k3,align 8
%k4=getelementptr inbounds i8,i8*%kX,i64 16
%k5=bitcast i8*%k4 to i32*
store i32 2,i32*%k5,align 4
ret i8*%kX
k6:
%k7=getelementptr inbounds i8,i8*%p,i64 8
%k8=bitcast i8*%k7 to i8**
%k9=load i8*,i8**%k8,align 8
%la=bitcast i8*%k9 to i8**
%lb=load i8*,i8**%la,align 8
store i8*%lb,i8**%c,align 8
%lc=getelementptr inbounds i8,i8*%k9,i64 8
%ld=bitcast i8*%lc to i32*
%le=load i32,i32*%ld,align 4
%lf=getelementptr inbounds i8,i8*%k9,i64 16
%lg=bitcast i8*%lf to i8**
%lh=load i8*,i8**%lg,align 8
store i8*%lh,i8**%d,align 8
%li=getelementptr inbounds i8,i8*%k9,i64 24
%lj=bitcast i8*%li to i8**
%lk=load i8*,i8**%lj,align 8
%ll=bitcast i8**%i to i8***
%lm=load i8**,i8***%ll,align 8
store i8*null,i8**%i,align 8
%ln=load i8*,i8**%lm,align 8
%lo=getelementptr inbounds i8,i8*%ln,i64 16
%lp=bitcast i8*%lo to i8**
%lq=load i8*,i8**%lp,align 8
%lr=icmp eq i8*%lq,null
br i1%lr,label%lv,label%ls
ls:
%lt=bitcast i8*%lq to i8**
%lu=load i8*,i8**%lt,align 8
br label%lv
lv:
%lw=phi i8*[%lu,%ls],[%lk,%k6]
store i8*%lw,i8**%e,align 8
%lx=call i8*@sml_alloc(i32 inreg 36)#0
%ly=getelementptr inbounds i8,i8*%lx,i64 -4
%lz=bitcast i8*%ly to i32*
store i32 1342177312,i32*%lz,align 4
store i8*%lx,i8**%f,align 8
%lA=getelementptr inbounds i8,i8*%lx,i64 12
%lB=bitcast i8*%lA to i32*
store i32 0,i32*%lB,align 1
%lC=load i8*,i8**%c,align 8
%lD=bitcast i8*%lx to i8**
store i8*null,i8**%c,align 8
store i8*%lC,i8**%lD,align 8
%lE=getelementptr inbounds i8,i8*%lx,i64 8
%lF=bitcast i8*%lE to i32*
store i32%le,i32*%lF,align 4
%lG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%lH=getelementptr inbounds i8,i8*%lx,i64 16
%lI=bitcast i8*%lH to i8**
store i8*%lG,i8**%lI,align 8
%lJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lK=getelementptr inbounds i8,i8*%lx,i64 24
%lL=bitcast i8*%lK to i8**
store i8*%lJ,i8**%lL,align 8
%lM=getelementptr inbounds i8,i8*%lx,i64 32
%lN=bitcast i8*%lM to i32*
store i32 13,i32*%lN,align 4
%lO=call i8*@sml_alloc(i32 inreg 20)#0
%lP=bitcast i8*%lO to i32*
%lQ=getelementptr inbounds i8,i8*%lO,i64 -4
%lR=bitcast i8*%lQ to i32*
store i32 1342177296,i32*%lR,align 4
%lS=getelementptr inbounds i8,i8*%lO,i64 4
%lT=bitcast i8*%lS to i32*
store i32 0,i32*%lT,align 1
store i32 7,i32*%lP,align 4
%lU=load i8*,i8**%f,align 8
%lV=getelementptr inbounds i8,i8*%lO,i64 8
%lW=bitcast i8*%lV to i8**
store i8*%lU,i8**%lW,align 8
%lX=getelementptr inbounds i8,i8*%lO,i64 16
%lY=bitcast i8*%lX to i32*
store i32 2,i32*%lY,align 4
ret i8*%lO
lZ:
%l0=getelementptr inbounds i8,i8*%p,i64 8
%l1=bitcast i8*%l0 to i8**
%l2=load i8*,i8**%l1,align 8
%l3=bitcast i8*%l2 to i8**
%l4=load i8*,i8**%l3,align 8
store i8*%l4,i8**%c,align 8
%l5=getelementptr inbounds i8,i8*%l2,i64 8
%l6=bitcast i8*%l5 to i8**
%l7=load i8*,i8**%l6,align 8
%l8=getelementptr inbounds i8,i8*%l2,i64 16
%l9=bitcast i8*%l8 to i8**
%ma=load i8*,i8**%l9,align 8
store i8*%ma,i8**%d,align 8
%mb=bitcast i8*%l7 to i8**
%mc=load i8*,i8**%mb,align 8
store i8*%mc,i8**%e,align 8
%md=getelementptr inbounds i8,i8*%l7,i64 8
%me=bitcast i8*%md to i8**
%mf=load i8*,i8**%me,align 8
store i8*%mf,i8**%f,align 8
%mg=getelementptr inbounds i8,i8*%l7,i64 16
%mh=bitcast i8*%mg to i8**
%mi=load i8*,i8**%mh,align 8
store i8*%mi,i8**%g,align 8
%mj=getelementptr inbounds i8,i8*%l7,i64 24
%mk=bitcast i8*%mj to i8**
%ml=load i8*,i8**%mk,align 8
store i8*%ml,i8**%h,align 8
%mm=call i8*@sml_alloc(i32 inreg 4)#0
%mn=getelementptr inbounds i8,i8*%mm,i64 -4
%mo=bitcast i8*%mn to i32*
store i32 536870916,i32*%mo,align 4
store i8*%mm,i8**%j,align 8
%mp=bitcast i8**%g to i32**
%mq=load i32*,i32**%mp,align 8
store i8*null,i8**%g,align 8
%mr=load i32,i32*%mq,align 4
%ms=bitcast i8*%mm to i32*
store i32%mr,i32*%ms,align 4
%mt=load i8*,i8**%i,align 8
%mu=getelementptr inbounds i8,i8*%mt,i64 8
%mv=bitcast i8*%mu to i8**
%mw=load i8*,i8**%mv,align 8
%mx=bitcast i8*%mt to i8**
%my=load i8*,i8**%mx,align 8
%mz=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%mw,i8*inreg%my)
%mA=getelementptr inbounds i8,i8*%mz,i64 16
%mB=bitcast i8*%mA to i8*(i8*,i8*)**
%mC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mB,align 8
%mD=bitcast i8*%mz to i8**
%mE=load i8*,i8**%mD,align 8
%mF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mG=call fastcc i8*%mC(i8*inreg%mE,i8*inreg%mF)
store i8*%mG,i8**%f,align 8
%mH=bitcast i8**%i to i8***
%mI=load i8**,i8***%mH,align 8
store i8*null,i8**%i,align 8
%mJ=load i8*,i8**%mI,align 8
%mK=getelementptr inbounds i8,i8*%mJ,i64 16
%mL=bitcast i8*%mK to i8**
%mM=load i8*,i8**%mL,align 8
%mN=icmp eq i8*%mM,null
br i1%mN,label%mO,label%mQ
mO:
%mP=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
br label%mT
mQ:
store i8*null,i8**%h,align 8
%mR=bitcast i8*%mM to i8**
%mS=load i8*,i8**%mR,align 8
br label%mT
mT:
%mU=phi i8*[%mS,%mQ],[%mP,%mO]
store i8*%mU,i8**%g,align 8
%mV=call i8*@sml_alloc(i32 inreg 36)#0
%mW=getelementptr inbounds i8,i8*%mV,i64 -4
%mX=bitcast i8*%mW to i32*
store i32 1342177312,i32*%mX,align 4
store i8*%mV,i8**%h,align 8
%mY=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%mZ=bitcast i8*%mV to i8**
store i8*%mY,i8**%mZ,align 8
%m0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%m1=getelementptr inbounds i8,i8*%mV,i64 8
%m2=bitcast i8*%m1 to i8**
store i8*%m0,i8**%m2,align 8
%m3=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%m4=getelementptr inbounds i8,i8*%mV,i64 16
%m5=bitcast i8*%m4 to i8**
store i8*%m3,i8**%m5,align 8
%m6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%m7=getelementptr inbounds i8,i8*%mV,i64 24
%m8=bitcast i8*%m7 to i8**
store i8*%m6,i8**%m8,align 8
%m9=getelementptr inbounds i8,i8*%mV,i64 32
%na=bitcast i8*%m9 to i32*
store i32 15,i32*%na,align 4
%nb=call i8*@sml_alloc(i32 inreg 28)#0
%nc=getelementptr inbounds i8,i8*%nb,i64 -4
%nd=bitcast i8*%nc to i32*
store i32 1342177304,i32*%nd,align 4
store i8*%nb,i8**%e,align 8
%ne=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%nf=bitcast i8*%nb to i8**
store i8*%ne,i8**%nf,align 8
%ng=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%nh=getelementptr inbounds i8,i8*%nb,i64 8
%ni=bitcast i8*%nh to i8**
store i8*%ng,i8**%ni,align 8
%nj=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%nk=getelementptr inbounds i8,i8*%nb,i64 16
%nl=bitcast i8*%nk to i8**
store i8*%nj,i8**%nl,align 8
%nm=getelementptr inbounds i8,i8*%nb,i64 24
%nn=bitcast i8*%nm to i32*
store i32 7,i32*%nn,align 4
%no=call i8*@sml_alloc(i32 inreg 20)#0
%np=bitcast i8*%no to i32*
%nq=getelementptr inbounds i8,i8*%no,i64 -4
%nr=bitcast i8*%nq to i32*
store i32 1342177296,i32*%nr,align 4
%ns=getelementptr inbounds i8,i8*%no,i64 4
%nt=bitcast i8*%ns to i32*
store i32 0,i32*%nt,align 1
store i32 6,i32*%np,align 4
%nu=load i8*,i8**%e,align 8
%nv=getelementptr inbounds i8,i8*%no,i64 8
%nw=bitcast i8*%nv to i8**
store i8*%nu,i8**%nw,align 8
%nx=getelementptr inbounds i8,i8*%no,i64 16
%ny=bitcast i8*%nx to i32*
store i32 2,i32*%ny,align 4
ret i8*%no
nz:
ret i8*%p
}
define internal fastcc i8*@_SMLLLN5Subst13substTfunkindE_150(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
t:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%l,align 8
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%e,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%c,%t]
store i8*null,i8**%e,align 8
%u=bitcast i8*%s to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 3,label%ef
i32 5,label%ee
i32 4,label%ck
i32 2,label%bY
i32 1,label%bC
i32 0,label%O
]
w:
store i8*null,i8**%l,align 8
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%d,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%e,align 8
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@d,i64 0,i32 2,i64 0),i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 60)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177336,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 56
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%e,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
%P=getelementptr inbounds i8,i8*%s,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%e,align 8
%U=getelementptr inbounds i8,i8*%R,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%f,align 8
%X=getelementptr inbounds i8,i8*%R,i64 16
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%g,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%h,align 8
%ad=getelementptr inbounds i8,i8*%R,i64 32
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%i,align 8
%ag=getelementptr inbounds i8,i8*%R,i64 40
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%j,align 8
%aj=load i8*,i8**%d,align 8
%ak=load i8*,i8**%l,align 8
%al=call fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%ak,i8*inreg%aj)
%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**%i,align 8
store i8*null,i8**%i,align 8
%as=call fastcc i8*%ao(i8*inreg%aq,i8*inreg%ar)
store i8*%as,i8**%i,align 8
%at=load i8*,i8**%d,align 8
%au=load i8*,i8**%j,align 8
%av=load i8*,i8**%l,align 8
store i8*null,i8**%j,align 8
%aw=call fastcc i8*@_SMLLLN5Subst9substVarEE_153(i8*inreg%av,i8*inreg%at,i8*inreg%au)
store i8*%aw,i8**%j,align 8
%ax=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ay=getelementptr inbounds i8,i8*%ax,i64 16
%az=bitcast i8*%ay to i8*(i8*,i8*)**
%aA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%az,align 8
%aB=bitcast i8*%ax to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%k,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
store i8*%aD,i8**%m,align 8
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aD,i64 16
%aM=bitcast i8*%aL to i32*
store i32 3,i32*%aM,align 4
%aN=call i8*@sml_alloc(i32 inreg 28)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177304,i32*%aP,align 4
%aQ=load i8*,i8**%m,align 8
store i8*null,i8**%m,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_170 to void(...)*),void(...)**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aN,i64 16
%aV=bitcast i8*%aU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_170 to void(...)*),void(...)**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aN,i64 24
%aX=bitcast i8*%aW to i32*
store i32 -2147483647,i32*%aX,align 4
%aY=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aZ=call fastcc i8*%aA(i8*inreg%aY,i8*inreg%aN)
%a0=getelementptr inbounds i8,i8*%aZ,i64 16
%a1=bitcast i8*%a0 to i8*(i8*,i8*)**
%a2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a1,align 8
%a3=bitcast i8*%aZ to i8**
%a4=load i8*,i8**%a3,align 8
%a5=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a6=call fastcc i8*%a2(i8*inreg%a4,i8*inreg%a5)
store i8*%a6,i8**%d,align 8
%a7=call i8*@sml_alloc(i32 inreg 52)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177328,i32*%a9,align 4
store i8*%a7,i8**%e,align 8
%ba=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bd=getelementptr inbounds i8,i8*%a7,i64 8
%be=bitcast i8*%bd to i8**
store i8*%bc,i8**%be,align 8
%bf=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bg=getelementptr inbounds i8,i8*%a7,i64 16
%bh=bitcast i8*%bg to i8**
store i8*%bf,i8**%bh,align 8
%bi=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bj=getelementptr inbounds i8,i8*%a7,i64 24
%bk=bitcast i8*%bj to i8**
store i8*%bi,i8**%bk,align 8
%bl=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bm=getelementptr inbounds i8,i8*%a7,i64 32
%bn=bitcast i8*%bm to i8**
store i8*%bl,i8**%bn,align 8
%bo=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bp=getelementptr inbounds i8,i8*%a7,i64 40
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%a7,i64 48
%bs=bitcast i8*%br to i32*
store i32 63,i32*%bs,align 4
%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=bitcast i8*%bt to i64*
store i64 0,i64*%bw,align 4
%bx=load i8*,i8**%e,align 8
%by=getelementptr inbounds i8,i8*%bt,i64 8
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bt,i64 16
%bB=bitcast i8*%bA to i32*
store i32 2,i32*%bB,align 4
ret i8*%bt
bC:
store i8*null,i8**%l,align 8
%bD=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bD,i8**%d,align 8
%bE=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@c,i64 0,i32 2)to i8*))
store i8*%bE,i8**%e,align 8
%bF=call i8*@sml_alloc(i32 inreg 28)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177304,i32*%bH,align 4
store i8*%bF,i8**%f,align 8
%bI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=getelementptr inbounds i8,i8*%bF,i64 8
%bL=bitcast i8*%bK to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@h,i64 0,i32 2,i64 0),i8**%bL,align 8
%bM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bN=getelementptr inbounds i8,i8*%bF,i64 16
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bF,i64 24
%bQ=bitcast i8*%bP to i32*
store i32 7,i32*%bQ,align 4
%bR=call i8*@sml_alloc(i32 inreg 60)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177336,i32*%bT,align 4
%bU=getelementptr inbounds i8,i8*%bR,i64 56
%bV=bitcast i8*%bU to i32*
store i32 1,i32*%bV,align 4
%bW=load i8*,i8**%f,align 8
%bX=bitcast i8*%bR to i8**
store i8*%bW,i8**%bX,align 8
call void@sml_raise(i8*inreg%bR)#1
unreachable
bY:
store i8*null,i8**%l,align 8
%bZ=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bZ,i8**%d,align 8
%b0=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@c,i64 0,i32 2)to i8*))
store i8*%b0,i8**%e,align 8
%b1=call i8*@sml_alloc(i32 inreg 28)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177304,i32*%b3,align 4
store i8*%b1,i8**%f,align 8
%b4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b5=bitcast i8*%b1 to i8**
store i8*%b4,i8**%b5,align 8
%b6=getelementptr inbounds i8,i8*%b1,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@h,i64 0,i32 2,i64 0),i8**%b7,align 8
%b8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b9=getelementptr inbounds i8,i8*%b1,i64 16
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b1,i64 24
%cc=bitcast i8*%cb to i32*
store i32 7,i32*%cc,align 4
%cd=call i8*@sml_alloc(i32 inreg 60)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177336,i32*%cf,align 4
%cg=getelementptr inbounds i8,i8*%cd,i64 56
%ch=bitcast i8*%cg to i32*
store i32 1,i32*%ch,align 4
%ci=load i8*,i8**%f,align 8
%cj=bitcast i8*%cd to i8**
store i8*%ci,i8**%cj,align 8
call void@sml_raise(i8*inreg%cd)#1
unreachable
ck:
%cl=getelementptr inbounds i8,i8*%s,i64 8
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
%co=bitcast i8*%cn to i32*
%cp=load i32,i32*%co,align 4
%cq=getelementptr inbounds i8,i8*%cn,i64 8
%cr=bitcast i8*%cq to i8**
%cs=load i8*,i8**%cr,align 8
store i8*%cs,i8**%e,align 8
%ct=getelementptr inbounds i8,i8*%cn,i64 16
%cu=bitcast i8*%ct to i8**
%cv=load i8*,i8**%cu,align 8
store i8*%cv,i8**%f,align 8
%cw=getelementptr inbounds i8,i8*%cn,i64 24
%cx=bitcast i8*%cw to i32*
%cy=load i32,i32*%cx,align 4
%cz=getelementptr inbounds i8,i8*%cn,i64 32
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%g,align 8
%cC=getelementptr inbounds i8,i8*%cn,i64 40
%cD=bitcast i8*%cC to i8**
%cE=load i8*,i8**%cD,align 8
store i8*%cE,i8**%h,align 8
%cF=load i8*,i8**%d,align 8
%cG=getelementptr inbounds i8,i8*%cF,i64 32
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%i,align 8
%cJ=call fastcc i8*@_SMLFN5TypID3Map4findE(i32 inreg 0,i32 inreg 4)
%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**%j,align 8
%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=getelementptr inbounds i8,i8*%cP,i64 12
%cT=bitcast i8*%cS to i32*
store i32 0,i32*%cT,align 1
%cU=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cV=bitcast i8*%cP to i8**
store i8*%cU,i8**%cV,align 8
%cW=getelementptr inbounds i8,i8*%cP,i64 8
%cX=bitcast i8*%cW to i32*
store i32%cy,i32*%cX,align 4
%cY=getelementptr inbounds i8,i8*%cP,i64 16
%cZ=bitcast i8*%cY to i32*
store i32 1,i32*%cZ,align 4
%c0=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%c1=call fastcc i8*%cM(i8*inreg%c0,i8*inreg%cP)
%c2=icmp eq i8*%c1,null
br i1%c2,label%c6,label%c3
c3:
%c4=bitcast i8*%c1 to i32*
%c5=load i32,i32*%c4,align 4
br label%c6
c6:
%c7=phi i32[%c5,%c3],[%cy,%ck]
%c8=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%c9=getelementptr inbounds i8,i8*%c8,i64 16
%da=bitcast i8*%c9 to i8*(i8*,i8*)**
%db=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%da,align 8
%dc=bitcast i8*%c8 to i8**
%dd=load i8*,i8**%dc,align 8
store i8*%dd,i8**%i,align 8
%de=call i8*@sml_alloc(i32 inreg 20)#0
%df=getelementptr inbounds i8,i8*%de,i64 -4
%dg=bitcast i8*%df to i32*
store i32 1342177296,i32*%dg,align 4
store i8*%de,i8**%j,align 8
%dh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%di=bitcast i8*%de to i8**
store i8*%dh,i8**%di,align 8
%dj=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dk=getelementptr inbounds i8,i8*%de,i64 8
%dl=bitcast i8*%dk to i8**
store i8*%dj,i8**%dl,align 8
%dm=getelementptr inbounds i8,i8*%de,i64 16
%dn=bitcast i8*%dm to i32*
store i32 3,i32*%dn,align 4
%do=call i8*@sml_alloc(i32 inreg 28)#0
%dp=getelementptr inbounds i8,i8*%do,i64 -4
%dq=bitcast i8*%dp to i32*
store i32 1342177304,i32*%dq,align 4
%dr=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ds=bitcast i8*%do to i8**
store i8*%dr,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%do,i64 8
%du=bitcast i8*%dt to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_161 to void(...)*),void(...)**%du,align 8
%dv=getelementptr inbounds i8,i8*%do,i64 16
%dw=bitcast i8*%dv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_161 to void(...)*),void(...)**%dw,align 8
%dx=getelementptr inbounds i8,i8*%do,i64 24
%dy=bitcast i8*%dx to i32*
store i32 -2147483647,i32*%dy,align 4
%dz=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dA=call fastcc i8*%db(i8*inreg%dz,i8*inreg%do)
%dB=getelementptr inbounds i8,i8*%dA,i64 16
%dC=bitcast i8*%dB to i8*(i8*,i8*)**
%dD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dC,align 8
%dE=bitcast i8*%dA to i8**
%dF=load i8*,i8**%dE,align 8
%dG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dH=call fastcc i8*%dD(i8*inreg%dF,i8*inreg%dG)
store i8*%dH,i8**%d,align 8
%dI=call i8*@sml_alloc(i32 inreg 52)#0
%dJ=getelementptr inbounds i8,i8*%dI,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32 1342177328,i32*%dK,align 4
store i8*%dI,i8**%e,align 8
%dL=getelementptr inbounds i8,i8*%dI,i64 4
call void@llvm.memset.p0i8.i32(i8*%dL,i8 0,i32 28,i1 false)
%dM=bitcast i8*%dI to i32*
store i32%cp,i32*%dM,align 4
%dN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dO=getelementptr inbounds i8,i8*%dI,i64 8
%dP=bitcast i8*%dO to i8**
store i8*%dN,i8**%dP,align 8
%dQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dR=getelementptr inbounds i8,i8*%dI,i64 16
%dS=bitcast i8*%dR to i8**
store i8*%dQ,i8**%dS,align 8
%dT=getelementptr inbounds i8,i8*%dI,i64 24
%dU=bitcast i8*%dT to i32*
store i32%c7,i32*%dU,align 4
%dV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dW=getelementptr inbounds i8,i8*%dI,i64 32
%dX=bitcast i8*%dW to i8**
store i8*%dV,i8**%dX,align 8
%dY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dZ=getelementptr inbounds i8,i8*%dI,i64 40
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dI,i64 48
%d2=bitcast i8*%d1 to i32*
store i32 54,i32*%d2,align 4
%d3=call i8*@sml_alloc(i32 inreg 20)#0
%d4=bitcast i8*%d3 to i32*
%d5=getelementptr inbounds i8,i8*%d3,i64 -4
%d6=bitcast i8*%d5 to i32*
store i32 1342177296,i32*%d6,align 4
%d7=getelementptr inbounds i8,i8*%d3,i64 4
%d8=bitcast i8*%d7 to i32*
store i32 0,i32*%d8,align 1
store i32 4,i32*%d4,align 4
%d9=load i8*,i8**%e,align 8
%ea=getelementptr inbounds i8,i8*%d3,i64 8
%eb=bitcast i8*%ea to i8**
store i8*%d9,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d3,i64 16
%ed=bitcast i8*%ec to i32*
store i32 2,i32*%ed,align 4
ret i8*%d3
ee:
ret i8*%s
ef:
%eg=getelementptr inbounds i8,i8*%s,i64 8
%eh=bitcast i8*%eg to i8**
%ei=load i8*,i8**%eh,align 8
%ej=bitcast i8*%ei to i32*
%ek=load i32,i32*%ej,align 4
%el=getelementptr inbounds i8,i8*%ei,i64 8
%em=bitcast i8*%el to i8**
%en=load i8*,i8**%em,align 8
store i8*%en,i8**%e,align 8
%eo=getelementptr inbounds i8,i8*%ei,i64 16
%ep=bitcast i8*%eo to i8**
%eq=load i8*,i8**%ep,align 8
store i8*%eq,i8**%f,align 8
%er=getelementptr inbounds i8,i8*%ei,i64 24
%es=bitcast i8*%er to i8**
%et=load i8*,i8**%es,align 8
store i8*%et,i8**%g,align 8
%eu=getelementptr inbounds i8,i8*%ei,i64 32
%ev=bitcast i8*%eu to i8**
%ew=load i8*,i8**%ev,align 8
store i8*%ew,i8**%h,align 8
%ex=getelementptr inbounds i8,i8*%ei,i64 40
%ey=bitcast i8*%ex to i32*
%ez=load i32,i32*%ey,align 4
%eA=getelementptr inbounds i8,i8*%ei,i64 48
%eB=bitcast i8*%eA to i8**
%eC=load i8*,i8**%eB,align 8
store i8*%eC,i8**%i,align 8
%eD=getelementptr inbounds i8,i8*%ei,i64 56
%eE=bitcast i8*%eD to i8**
%eF=load i8*,i8**%eE,align 8
store i8*%eF,i8**%j,align 8
%eG=load i8*,i8**%d,align 8
%eH=getelementptr inbounds i8,i8*%eG,i64 32
%eI=bitcast i8*%eH to i8**
%eJ=load i8*,i8**%eI,align 8
store i8*%eJ,i8**%k,align 8
%eK=call fastcc i8*@_SMLFN5TypID3Map4findE(i32 inreg 0,i32 inreg 4)
%eL=getelementptr inbounds i8,i8*%eK,i64 16
%eM=bitcast i8*%eL to i8*(i8*,i8*)**
%eN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eM,align 8
%eO=bitcast i8*%eK to i8**
%eP=load i8*,i8**%eO,align 8
store i8*%eP,i8**%m,align 8
%eQ=call i8*@sml_alloc(i32 inreg 20)#0
%eR=getelementptr inbounds i8,i8*%eQ,i64 -4
%eS=bitcast i8*%eR to i32*
store i32 1342177296,i32*%eS,align 4
%eT=getelementptr inbounds i8,i8*%eQ,i64 12
%eU=bitcast i8*%eT to i32*
store i32 0,i32*%eU,align 1
%eV=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eW=bitcast i8*%eQ to i8**
store i8*%eV,i8**%eW,align 8
%eX=getelementptr inbounds i8,i8*%eQ,i64 8
%eY=bitcast i8*%eX to i32*
store i32%ez,i32*%eY,align 4
%eZ=getelementptr inbounds i8,i8*%eQ,i64 16
%e0=bitcast i8*%eZ to i32*
store i32 1,i32*%e0,align 4
%e1=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%e2=call fastcc i8*%eN(i8*inreg%e1,i8*inreg%eQ)
%e3=icmp eq i8*%e2,null
br i1%e3,label%e7,label%e4
e4:
%e5=bitcast i8*%e2 to i32*
%e6=load i32,i32*%e5,align 4
br label%e7
e7:
%e8=phi i32[%e6,%e4],[%ez,%ef]
%e9=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fa=getelementptr inbounds i8,i8*%e9,i64 16
%fb=bitcast i8*%fa to i8*(i8*,i8*)**
%fc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fb,align 8
%fd=bitcast i8*%e9 to i8**
%fe=load i8*,i8**%fd,align 8
store i8*%fe,i8**%k,align 8
%ff=call i8*@sml_alloc(i32 inreg 20)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177296,i32*%fh,align 4
store i8*%ff,i8**%m,align 8
%fi=load i8*,i8**%d,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%l,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 8
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%ff,i64 16
%fo=bitcast i8*%fn to i32*
store i32 3,i32*%fo,align 4
%fp=call i8*@sml_alloc(i32 inreg 28)#0
%fq=getelementptr inbounds i8,i8*%fp,i64 -4
%fr=bitcast i8*%fq to i32*
store i32 1342177304,i32*%fr,align 4
%fs=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%ft=bitcast i8*%fp to i8**
store i8*%fs,i8**%ft,align 8
%fu=getelementptr inbounds i8,i8*%fp,i64 8
%fv=bitcast i8*%fu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_154 to void(...)*),void(...)**%fv,align 8
%fw=getelementptr inbounds i8,i8*%fp,i64 16
%fx=bitcast i8*%fw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_154 to void(...)*),void(...)**%fx,align 8
%fy=getelementptr inbounds i8,i8*%fp,i64 24
%fz=bitcast i8*%fy to i32*
store i32 -2147483647,i32*%fz,align 4
%fA=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fB=call fastcc i8*%fc(i8*inreg%fA,i8*inreg%fp)
%fC=getelementptr inbounds i8,i8*%fB,i64 16
%fD=bitcast i8*%fC to i8*(i8*,i8*)**
%fE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fD,align 8
%fF=bitcast i8*%fB to i8**
%fG=load i8*,i8**%fF,align 8
%fH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fI=call fastcc i8*%fE(i8*inreg%fG,i8*inreg%fH)
store i8*%fI,i8**%f,align 8
%fJ=call i8*@sml_alloc(i32 inreg 12)#0
%fK=getelementptr inbounds i8,i8*%fJ,i64 -4
%fL=bitcast i8*%fK to i32*
store i32 1342177288,i32*%fL,align 4
store i8*%fJ,i8**%k,align 8
%fM=load i8*,i8**%d,align 8
%fN=bitcast i8*%fJ to i8**
store i8*%fM,i8**%fN,align 8
%fO=getelementptr inbounds i8,i8*%fJ,i64 8
%fP=bitcast i8*%fO to i32*
store i32 1,i32*%fP,align 4
%fQ=call i8*@sml_alloc(i32 inreg 28)#0
%fR=getelementptr inbounds i8,i8*%fQ,i64 -4
%fS=bitcast i8*%fR to i32*
store i32 1342177304,i32*%fS,align 4
%fT=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fU=bitcast i8*%fQ to i8**
store i8*%fT,i8**%fU,align 8
%fV=getelementptr inbounds i8,i8*%fQ,i64 8
%fW=bitcast i8*%fV to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLLN5Subst13substTfunkindE_159 to void(...)*),void(...)**%fW,align 8
%fX=getelementptr inbounds i8,i8*%fQ,i64 16
%fY=bitcast i8*%fX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst13substTfunkindE_246 to void(...)*),void(...)**%fY,align 8
%fZ=getelementptr inbounds i8,i8*%fQ,i64 24
%f0=bitcast i8*%fZ to i32*
store i32 -2147483647,i32*%f0,align 4
%f1=call fastcc i8*@_SMLFN5ConID3Set3mapE(i8*inreg%fQ)
%f2=getelementptr inbounds i8,i8*%f1,i64 16
%f3=bitcast i8*%f2 to i8*(i8*,i8*)**
%f4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f3,align 8
%f5=bitcast i8*%f1 to i8**
%f6=load i8*,i8**%f5,align 8
%f7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%f8=call fastcc i8*%f4(i8*inreg%f6,i8*inreg%f7)
store i8*%f8,i8**%k,align 8
%f9=load i8*,i8**%g,align 8
%ga=bitcast i8*%f9 to i32*
%gb=load i32,i32*%ga,align 4
switch i32%gb,label%gc[
i32 2,label%hA
i32 0,label%hz
i32 1,label%hy
i32 4,label%gT
i32 3,label%gu
]
gc:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%k,align 8
call void@sml_matchcomp_bug()
%gd=load i8*,i8**@_SMLZ5Match,align 8
store i8*%gd,i8**%d,align 8
%ge=call i8*@sml_alloc(i32 inreg 20)#0
%gf=getelementptr inbounds i8,i8*%ge,i64 -4
%gg=bitcast i8*%gf to i32*
store i32 1342177296,i32*%gg,align 4
store i8*%ge,i8**%e,align 8
%gh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gi=bitcast i8*%ge to i8**
store i8*%gh,i8**%gi,align 8
%gj=getelementptr inbounds i8,i8*%ge,i64 8
%gk=bitcast i8*%gj to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@a,i64 0,i32 2,i64 0),i8**%gk,align 8
%gl=getelementptr inbounds i8,i8*%ge,i64 16
%gm=bitcast i8*%gl to i32*
store i32 3,i32*%gm,align 4
%gn=call i8*@sml_alloc(i32 inreg 60)#0
%go=getelementptr inbounds i8,i8*%gn,i64 -4
%gp=bitcast i8*%go to i32*
store i32 1342177336,i32*%gp,align 4
%gq=getelementptr inbounds i8,i8*%gn,i64 56
%gr=bitcast i8*%gq to i32*
store i32 1,i32*%gr,align 4
%gs=load i8*,i8**%e,align 8
%gt=bitcast i8*%gn to i8**
store i8*%gs,i8**%gt,align 8
call void@sml_raise(i8*inreg%gn)#1
unreachable
gu:
store i8*null,i8**%g,align 8
%gv=getelementptr inbounds i8,i8*%f9,i64 8
%gw=bitcast i8*%gv to i8**
%gx=load i8*,i8**%gw,align 8
store i8*%gx,i8**%e,align 8
%gy=load i8*,i8**%d,align 8
%gz=load i8*,i8**%l,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%l,align 8
%gA=call fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%gz,i8*inreg%gy)
%gB=getelementptr inbounds i8,i8*%gA,i64 16
%gC=bitcast i8*%gB to i8*(i8*,i8*)**
%gD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gC,align 8
%gE=bitcast i8*%gA to i8**
%gF=load i8*,i8**%gE,align 8
%gG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gH=call fastcc i8*%gD(i8*inreg%gF,i8*inreg%gG)
store i8*%gH,i8**%d,align 8
%gI=call i8*@sml_alloc(i32 inreg 20)#0
%gJ=bitcast i8*%gI to i32*
%gK=getelementptr inbounds i8,i8*%gI,i64 -4
%gL=bitcast i8*%gK to i32*
store i32 1342177296,i32*%gL,align 4
%gM=getelementptr inbounds i8,i8*%gI,i64 4
%gN=bitcast i8*%gM to i32*
store i32 0,i32*%gN,align 1
store i32 3,i32*%gJ,align 4
%gO=load i8*,i8**%d,align 8
%gP=getelementptr inbounds i8,i8*%gI,i64 8
%gQ=bitcast i8*%gP to i8**
store i8*%gO,i8**%gQ,align 8
%gR=getelementptr inbounds i8,i8*%gI,i64 16
%gS=bitcast i8*%gR to i32*
store i32 2,i32*%gS,align 4
store i8*%gI,i8**%d,align 8
br label%hB
gT:
store i8*null,i8**%g,align 8
%gU=getelementptr inbounds i8,i8*%f9,i64 8
%gV=bitcast i8*%gU to i8**
%gW=load i8*,i8**%gV,align 8
%gX=bitcast i8*%gW to i32*
%gY=load i32,i32*%gX,align 4
%gZ=getelementptr inbounds i8,i8*%gW,i64 8
%g0=bitcast i8*%gZ to i8**
%g1=load i8*,i8**%g0,align 8
store i8*%g1,i8**%e,align 8
%g2=load i8*,i8**%d,align 8
%g3=load i8*,i8**%l,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%l,align 8
%g4=call fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%g3,i8*inreg%g2)
%g5=getelementptr inbounds i8,i8*%g4,i64 16
%g6=bitcast i8*%g5 to i8*(i8*,i8*)**
%g7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g6,align 8
%g8=bitcast i8*%g4 to i8**
%g9=load i8*,i8**%g8,align 8
%ha=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hb=call fastcc i8*%g7(i8*inreg%g9,i8*inreg%ha)
store i8*%hb,i8**%d,align 8
%hc=call i8*@sml_alloc(i32 inreg 20)#0
%hd=getelementptr inbounds i8,i8*%hc,i64 -4
%he=bitcast i8*%hd to i32*
store i32 1342177296,i32*%he,align 4
store i8*%hc,i8**%e,align 8
%hf=getelementptr inbounds i8,i8*%hc,i64 4
%hg=bitcast i8*%hf to i32*
store i32 0,i32*%hg,align 1
%hh=bitcast i8*%hc to i32*
store i32%gY,i32*%hh,align 4
%hi=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hj=getelementptr inbounds i8,i8*%hc,i64 8
%hk=bitcast i8*%hj to i8**
store i8*%hi,i8**%hk,align 8
%hl=getelementptr inbounds i8,i8*%hc,i64 16
%hm=bitcast i8*%hl to i32*
store i32 2,i32*%hm,align 4
%hn=call i8*@sml_alloc(i32 inreg 20)#0
%ho=bitcast i8*%hn to i32*
%hp=getelementptr inbounds i8,i8*%hn,i64 -4
%hq=bitcast i8*%hp to i32*
store i32 1342177296,i32*%hq,align 4
%hr=getelementptr inbounds i8,i8*%hn,i64 4
%hs=bitcast i8*%hr to i32*
store i32 0,i32*%hs,align 1
store i32 4,i32*%ho,align 4
%ht=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hu=getelementptr inbounds i8,i8*%hn,i64 8
%hv=bitcast i8*%hu to i8**
store i8*%ht,i8**%hv,align 8
%hw=getelementptr inbounds i8,i8*%hn,i64 16
%hx=bitcast i8*%hw to i32*
store i32 2,i32*%hx,align 4
store i8*%hn,i8**%d,align 8
br label%hB
hy:
store i8*null,i8**%l,align 8
store i8*null,i8**%g,align 8
store i8*%f9,i8**%d,align 8
br label%hB
hz:
store i8*null,i8**%l,align 8
store i8*null,i8**%g,align 8
store i8*%f9,i8**%d,align 8
br label%hB
hA:
store i8*null,i8**%l,align 8
store i8*null,i8**%g,align 8
store i8*%f9,i8**%d,align 8
br label%hB
hB:
%hC=call i8*@sml_alloc(i32 inreg 68)#0
%hD=getelementptr inbounds i8,i8*%hC,i64 -4
%hE=bitcast i8*%hD to i32*
store i32 1342177344,i32*%hE,align 4
store i8*%hC,i8**%e,align 8
%hF=getelementptr inbounds i8,i8*%hC,i64 4
call void@llvm.memset.p0i8.i32(i8*%hF,i8 0,i32 44,i1 false)
%hG=bitcast i8*%hC to i32*
store i32%ek,i32*%hG,align 4
%hH=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%hI=getelementptr inbounds i8,i8*%hC,i64 8
%hJ=bitcast i8*%hI to i8**
store i8*%hH,i8**%hJ,align 8
%hK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hL=getelementptr inbounds i8,i8*%hC,i64 16
%hM=bitcast i8*%hL to i8**
store i8*%hK,i8**%hM,align 8
%hN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hO=getelementptr inbounds i8,i8*%hC,i64 24
%hP=bitcast i8*%hO to i8**
store i8*%hN,i8**%hP,align 8
%hQ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hR=getelementptr inbounds i8,i8*%hC,i64 32
%hS=bitcast i8*%hR to i8**
store i8*%hQ,i8**%hS,align 8
%hT=getelementptr inbounds i8,i8*%hC,i64 40
%hU=bitcast i8*%hT to i32*
store i32%e8,i32*%hU,align 4
%hV=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%hW=getelementptr inbounds i8,i8*%hC,i64 48
%hX=bitcast i8*%hW to i8**
store i8*%hV,i8**%hX,align 8
%hY=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hZ=getelementptr inbounds i8,i8*%hC,i64 56
%h0=bitcast i8*%hZ to i8**
store i8*%hY,i8**%h0,align 8
%h1=getelementptr inbounds i8,i8*%hC,i64 64
%h2=bitcast i8*%h1 to i32*
store i32 222,i32*%h2,align 4
%h3=call i8*@sml_alloc(i32 inreg 20)#0
%h4=bitcast i8*%h3 to i32*
%h5=getelementptr inbounds i8,i8*%h3,i64 -4
%h6=bitcast i8*%h5 to i32*
store i32 1342177296,i32*%h6,align 4
%h7=getelementptr inbounds i8,i8*%h3,i64 4
%h8=bitcast i8*%h7 to i32*
store i32 0,i32*%h8,align 1
store i32 3,i32*%h4,align 4
%h9=load i8*,i8**%e,align 8
%ia=getelementptr inbounds i8,i8*%h3,i64 8
%ib=bitcast i8*%ia to i8**
store i8*%h9,i8**%ib,align 8
%ic=getelementptr inbounds i8,i8*%h3,i64 16
%id=bitcast i8*%ic to i32*
store i32 2,i32*%id,align 4
ret i8*%h3
}
define internal fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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**%f,align 8
store i8*%b,i8**%c,align 8
%h=getelementptr inbounds i8,i8*%b,i64 24
%i=bitcast i8*%h to i8**
%j=load i8*,i8**%i,align 8
store i8*%j,i8**%d,align 8
%k=bitcast i8*%a to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%e,align 8
%m=call i8*@sml_alloc(i32 inreg 36)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177312,i32*%o,align 4
store i8*%m,i8**%g,align 8
%p=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to i8**
store i8*%r,i8**%t,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%m,i64 16
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%y=getelementptr inbounds i8,i8*%m,i64 24
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%m,i64 32
%B=bitcast i8*%A to i32*
store i32 15,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
%F=load i8*,i8**%g,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*)*@_SMLLLN5Subst9substTfunE_173 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*)*@_SMLLLN5Subst9substTfunE_173 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
ret i8*%C
}
define internal fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%a,i8*inreg%b)#4 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**%e,align 8
store i8*%b,i8**%c,align 8
%g=getelementptr inbounds i8,i8*%b,i64 24
%h=bitcast i8*%g to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%d,align 8
%j=call i8*@sml_alloc(i32 inreg 28)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177304,i32*%l,align 4
store i8*%j,i8**%f,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%j,i64 8
%q=bitcast i8*%p to i8**
store i8*%o,i8**%q,align 8
%r=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i8**
store i8*%r,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%j,i64 24
%v=bitcast i8*%u to i32*
store i32 7,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%f,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst7substTyE_178 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst7substTyE_178 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 -2147483647,i32*%G,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLLN5Subst9substVarEE_153(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
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*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
store i8*%a,i8**%g,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%f,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**%h,align 8
%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**%g,align 8
store i8*null,i8**%g,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=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%h,align 8
store i8*null,i8**%h,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*)*@_SMLLLN5Subst9substVarEE_184 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*)*@_SMLLLN5Subst9substVarEE_184 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**%f,align 8
store i8*null,i8**%f,align 8
%O=call fastcc i8*%p(i8*inreg%N,i8*inreg%C)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
%U=load i8*,i8**%e,align 8
%V=tail call fastcc i8*%R(i8*inreg%T,i8*inreg%U)
ret i8*%V
}
define internal fastcc i8*@_SMLLLN5Subst8substEnvE_187(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%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**%h,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%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 0,label%bx
i32 1,label%L
]
t:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%d,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@m,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=getelementptr inbounds i8,i8*%p,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%O,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*%O,i64 16
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%O,i64 24
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%f,align 8
%aa=getelementptr inbounds i8,i8*%O,i64 32
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%g,align 8
%ad=load i8*,i8**%h,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%ag,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**%f,align 8
store i8*null,i8**%f,align 8
%aq=call fastcc i8*%am(i8*inreg%ao,i8*inreg%ap)
store i8*%aq,i8**%f,align 8
%ar=load i8*,i8**%h,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ay=call fastcc i8*@_SMLLLN5Subst9substVarEE_153(i8*inreg%au,i8*inreg%aw,i8*inreg%ax)
store i8*%ay,i8**%g,align 8
%az=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%aE,i8**%j,align 8
%aF=call fastcc i8*@_SMLFN6Option3mapE(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**%i,align 8
%aL=load i8*,i8**%h,align 8
%aM=getelementptr inbounds i8,i8*%aL,i64 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
store i8*null,i8**%h,align 8
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
%aR=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%aO,i8*inreg%aQ)
%aS=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aT=call fastcc i8*%aI(i8*inreg%aS,i8*inreg%aR)
%aU=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aV=call fastcc i8*%aC(i8*inreg%aU,i8*inreg%aT)
%aW=getelementptr inbounds i8,i8*%aV,i64 16
%aX=bitcast i8*%aW to i8*(i8*,i8*)**
%aY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aX,align 8
%aZ=bitcast i8*%aV to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a2=call fastcc i8*%aY(i8*inreg%a0,i8*inreg%a1)
store i8*%a2,i8**%c,align 8
%a3=call i8*@sml_alloc(i32 inreg 44)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177320,i32*%a5,align 4
store i8*%a3,i8**%h,align 8
%a6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a9=getelementptr inbounds i8,i8*%a3,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bc=getelementptr inbounds i8,i8*%a3,i64 16
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bf=getelementptr inbounds i8,i8*%a3,i64 24
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bi=getelementptr inbounds i8,i8*%a3,i64 32
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%a3,i64 40
%bl=bitcast i8*%bk to i32*
store i32 31,i32*%bl,align 4
%bm=call i8*@sml_alloc(i32 inreg 20)#0
%bn=bitcast i8*%bm to i32*
%bo=getelementptr inbounds i8,i8*%bm,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177296,i32*%bp,align 4
%bq=getelementptr inbounds i8,i8*%bm,i64 4
%br=bitcast i8*%bq to i32*
store i32 0,i32*%br,align 1
store i32 1,i32*%bn,align 4
%bs=load i8*,i8**%h,align 8
%bt=getelementptr inbounds i8,i8*%bm,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bm,i64 16
%bw=bitcast i8*%bv to i32*
store i32 2,i32*%bw,align 4
ret i8*%bm
bx:
%by=getelementptr inbounds i8,i8*%p,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
%bB=getelementptr inbounds i8,i8*%bA,i64 8
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%c,align 8
%bE=bitcast i8*%bA to i8**
%bF=load i8*,i8**%bE,align 8
store i8*%bF,i8**%d,align 8
%bG=load i8*,i8**%h,align 8
%bH=getelementptr inbounds i8,i8*%bG,i64 8
%bI=bitcast i8*%bH to i8**
%bJ=load i8*,i8**%bI,align 8
store i8*null,i8**%h,align 8
%bK=bitcast i8*%bG to i8**
%bL=load i8*,i8**%bK,align 8
%bM=call fastcc i8*@_SMLLLN5Subst9substTfunE_151(i8*inreg%bJ,i8*inreg%bL)
%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**%c,align 8
store i8*null,i8**%c,align 8
%bT=call fastcc i8*%bP(i8*inreg%bR,i8*inreg%bS)
store i8*%bT,i8**%c,align 8
%bU=call i8*@sml_alloc(i32 inreg 20)#0
%bV=getelementptr inbounds i8,i8*%bU,i64 -4
%bW=bitcast i8*%bV to i32*
store i32 1342177296,i32*%bW,align 4
store i8*%bU,i8**%e,align 8
%bX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b0=getelementptr inbounds i8,i8*%bU,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bU,i64 16
%b3=bitcast i8*%b2 to i32*
store i32 3,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=bitcast i8*%b4 to i64*
store i64 0,i64*%b7,align 4
%b8=load i8*,i8**%e,align 8
%b9=getelementptr inbounds i8,i8*%b4,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 16
%cc=bitcast i8*%cb to i32*
store i32 2,i32*%cc,align 4
ret i8*%b4
}
define internal fastcc i8*@_SMLLLN5Subst8substEnvE_188(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
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%l,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
%k=load i8*,i8**%d,align 8
br label%l
l:
%m=phi i8*[%k,%i],[%a,%n]
%o=phi i8*[%j,%i],[%b,%n]
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=getelementptr inbounds i8,i8*%m,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*null,i8**%d,align 8
%x=bitcast i8*%m to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*@_SMLLLN5Subst8substEnvE_185(i8*inreg%w,i8*inreg%y,i8*inreg%r)
store i8*%z,i8**%d,align 8
%A=load i8*,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%f,align 8
%E=getelementptr inbounds i8,i8*%A,i64 24
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 36)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177312,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**%f,align 8
%Q=getelementptr inbounds i8,i8*%H,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%c,align 8
%T=getelementptr inbounds i8,i8*%H,i64 24
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%H,i64 32
%W=bitcast i8*%V to i32*
store i32 15,i32*%W,align 4
ret i8*%H
}
define internal fastcc i8*@_SMLLLN5Subst8substEnvE_185(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
%k=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
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%n,label%q
n:
%o=bitcast i8*%a to i8**
%p=bitcast i8**%h to i8***
br label%v
q:
call void@sml_check(i32 inreg%l)
%r=load i8*,i8**%e,align 8
%s=bitcast i8**%h to i8***
%t=load i8**,i8***%s,align 8
%u=load i8*,i8**%d,align 8
br label%v
v:
%w=phi i8***[%p,%n],[%s,%q]
%x=phi i8*[%b,%n],[%u,%q]
%y=phi i8**[%o,%n],[%t,%q]
%z=phi i8*[%c,%n],[%r,%q]
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%e,align 8
%C=getelementptr inbounds i8,i8*%z,i64 8
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%f,align 8
%F=load i8*,i8**%y,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*@_SMLLLN5Subst9substVarEE_153(i8*inreg%F,i8*inreg%x,i8*inreg%I)
store i8*%J,i8**%g,align 8
%K=call fastcc i8*@_SMLFN9SymbolEnv3mapE(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**%j,align 8
%Q=load i8**,i8***%w,align 8
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%i,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**%k,align 8
%V=load i8*,i8**%d,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%S,i64 16
%ab=bitcast i8*%aa to i32*
store i32 3,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 28)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177304,i32*%ae,align 4
%af=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst8substEnvE_187 to void(...)*),void(...)**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst8substEnvE_187 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 24
%am=bitcast i8*%al to i32*
store i32 -2147483647,i32*%am,align 4
%an=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ao=call fastcc i8*%N(i8*inreg%an,i8*inreg%ac)
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
%as=bitcast i8*%ao to i8**
%at=load i8*,i8**%as,align 8
%au=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%av=call fastcc i8*%ar(i8*inreg%at,i8*inreg%au)
store i8*%av,i8**%f,align 8
%aw=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ax=getelementptr inbounds i8,i8*%aw,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%i,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
store i8*%aC,i8**%j,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aI=getelementptr inbounds i8,i8*%aC,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*%aH,i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aC,i64 16
%aL=bitcast i8*%aK to i32*
store i32 3,i32*%aL,align 4
%aM=call i8*@sml_alloc(i32 inreg 28)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177304,i32*%aO,align 4
%aP=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst8substEnvE_188 to void(...)*),void(...)**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst8substEnvE_188 to void(...)*),void(...)**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aM,i64 24
%aW=bitcast i8*%aV to i32*
store i32 -2147483647,i32*%aW,align 4
%aX=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aY=call fastcc i8*%az(i8*inreg%aX,i8*inreg%aM)
%aZ=getelementptr inbounds i8,i8*%aY,i64 16
%a0=bitcast i8*%aZ to i8*(i8*,i8*)**
%a1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a0,align 8
%a2=bitcast i8*%aY to i8**
%a3=load i8*,i8**%a2,align 8
%a4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a5=call fastcc i8*%a1(i8*inreg%a3,i8*inreg%a4)
store i8*%a5,i8**%d,align 8
%a6=call i8*@sml_alloc(i32 inreg 28)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177304,i32*%a8,align 4
%a9=load i8*,i8**%d,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=load i8*,i8**%f,align 8
%bc=getelementptr inbounds i8,i8*%a6,i64 8
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=load i8*,i8**%g,align 8
%bf=getelementptr inbounds i8,i8*%a6,i64 16
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a6,i64 24
%bi=bitcast i8*%bh to i32*
store i32 7,i32*%bi,align 4
ret i8*%a6
}
define internal fastcc i8*@_SMLLLN5Subst8substEnvE_189(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=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%r=bitcast i8*%p to i8**
call void@sml_write(i8*inreg%p,i8**inreg%r,i8*inreg%q)#0
%s=load i8*,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=getelementptr inbounds i8,i8*%s,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=tail call fastcc i8*@_SMLLLN5Subst8substEnvE_185(i8*inreg%v,i8*inreg%y,i8*inreg%o)
ret i8*%z
}
define internal fastcc i8*@_SMLLLN5Subst8substEnvE_190(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
store i8*%l,i8**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,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
%B=load i8*,i8**%f,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*)*@_SMLLLN5Subst8substEnvE_189 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*)*@_SMLLLN5Subst8substEnvE_189 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
ret i8*%y
}
define internal fastcc i8*@_SMLLLN5Subst7substTyE_191(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**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%p=bitcast i8*%n to i8**
call void@sml_write(i8*inreg%n,i8**inreg%p,i8*inreg%o)#0
%q=load i8*,i8**%d,align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*null,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%q,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*@_SMLLLN5Subst7substTyE_152(i8*inreg%t,i8*inreg%w)
%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=load i8*,i8**%c,align 8
%E=tail call fastcc i8*%A(i8*inreg%C,i8*inreg%D)
ret i8*%E
}
define internal fastcc i8*@_SMLLLN5Subst7substTyE_192(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
store i8*%l,i8**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,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
%B=load i8*,i8**%f,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*)*@_SMLLLN5Subst7substTyE_191 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*)*@_SMLLLN5Subst7substTyE_191 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
ret i8*%y
}
define internal fastcc i8*@_SMLLLN5Subst13substTfunkindE_193(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=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%r=bitcast i8*%p to i8**
call void@sml_write(i8*inreg%p,i8**inreg%r,i8*inreg%q)#0
%s=load i8*,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=getelementptr inbounds i8,i8*%s,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=tail call fastcc i8*@_SMLLLN5Subst13substTfunkindE_150(i8*inreg%v,i8*inreg%y,i8*inreg%o)
ret i8*%z
}
define internal fastcc i8*@_SMLLLN5Subst13substTfunkindE_194(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
store i8*%l,i8**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,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
%B=load i8*,i8**%f,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*)*@_SMLLLN5Subst13substTfunkindE_193 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*)*@_SMLLLN5Subst13substTfunkindE_193 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
ret i8*%y
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_210(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*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_211(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*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_212(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*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_213(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*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_215(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
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 1,label%aW
i32 0,label%O
]
w:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@p,i64 0,i32 2,i64 0),i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 60)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177336,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 56
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
%P=getelementptr inbounds i8,i8*%t,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 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*%R,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%e,align 8
%X=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(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*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%g,align 8
%ad=bitcast i8**%f to i8***
%ae=load i8**,i8***%ad,align 8
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%f,align 8
%ag=call i8*@sml_alloc(i32 inreg 12)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177288,i32*%ai,align 4
store i8*%ag,i8**%h,align 8
%aj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i32*
store i32 1,i32*%am,align 4
%an=call i8*@sml_alloc(i32 inreg 28)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177304,i32*%ap,align 4
%aq=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_213 to void(...)*),void(...)**%at,align 8
%au=getelementptr inbounds i8,i8*%an,i64 16
%av=bitcast i8*%au to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_213 to void(...)*),void(...)**%av,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 24
%ax=bitcast i8*%aw to i32*
store i32 -2147483647,i32*%ax,align 4
%ay=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%az=call fastcc i8*%aa(i8*inreg%ay,i8*inreg%an)
%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**%e,align 8
store i8*null,i8**%e,align 8
%aG=call fastcc i8*%aC(i8*inreg%aE,i8*inreg%aF)
store i8*%aG,i8**%e,align 8
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
store i8*%aH,i8**%f,align 8
%aK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aN=getelementptr inbounds i8,i8*%aH,i64 8
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aH,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 3,i32*%aQ,align 4
%aR=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=bitcast i8*%aR to i64*
store i64 0,i64*%aU,align 4
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
br label%a7
aW:
store i8*null,i8**%f,align 8
%aX=getelementptr inbounds i8,i8*%t,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%d,align 8
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=bitcast i8*%a0 to i32*
%a2=getelementptr inbounds i8,i8*%a0,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177296,i32*%a3,align 4
%a4=getelementptr inbounds i8,i8*%a0,i64 4
%a5=bitcast i8*%a4 to i32*
store i32 0,i32*%a5,align 1
store i32 1,i32*%a1,align 4
%a6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
br label%a7
a7:
%a8=phi i8*[%a0,%aW],[%aR,%O]
%a9=phi i8*[%a6,%aW],[%aV,%O]
%ba=getelementptr inbounds i8,i8*%a8,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a8,i64 16
%bd=bitcast i8*%bc to i32*
store i32 2,i32*%bd,align 4
store i8*%a8,i8**%d,align 8
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
%bh=load i8*,i8**%c,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=load i8*,i8**%d,align 8
%bk=getelementptr inbounds i8,i8*%be,i64 8
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%be,i64 16
%bn=bitcast i8*%bm to i32*
store i32 3,i32*%bn,align 4
ret i8*%be
}
define internal fastcc i8*@_SMLLLN5Subst12substTfvTfunE_195(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
r:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%b,%r]
%s=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%q)
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
switch i32%u,label%v[
i32 0,label%dm
i32 1,label%N
]
v:
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%w=load i8*,i8**@_SMLZ5Match,align 8
store i8*%w,i8**%c,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%d,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@n,i64 0,i32 2,i64 0),i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 60)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177336,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 56
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%d,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
call void@sml_raise(i8*inreg%G)#1
unreachable
N:
%O=getelementptr inbounds i8,i8*%s,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%d,align 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
switch i32%U,label%V[
i32 3,label%cM
i32 5,label%cc
i32 4,label%bC
i32 1,label%a2
i32 0,label%X
]
V:
%W=load i8*,i8**%c,align 8
ret i8*%W
X:
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%e,align 8
%ad=getelementptr inbounds i8,i8*%aa,i64 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%f,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 16
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%g,align 8
%aj=getelementptr inbounds i8,i8*%aa,i64 24
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%h,align 8
%am=getelementptr inbounds i8,i8*%aa,i64 32
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
%ap=getelementptr inbounds i8,i8*%aa,i64 40
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%i,align 8
%as=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%at=call fastcc i8*@_SMLLLN5Subst12substTfvTfunE_195(i8*inreg%as,i8*inreg%ao)
store i8*%at,i8**%j,align 8
%au=call i8*@sml_alloc(i32 inreg 52)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177328,i32*%aw,align 4
store i8*%au,i8**%k,align 8
%ax=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aA=getelementptr inbounds i8,i8*%au,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 16
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aG=getelementptr inbounds i8,i8*%au,i64 24
%aH=bitcast i8*%aG to i8**
store i8*%aF,i8**%aH,align 8
%aI=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aJ=getelementptr inbounds i8,i8*%au,i64 32
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aM=getelementptr inbounds i8,i8*%au,i64 40
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%au,i64 48
%aP=bitcast i8*%aO to i32*
store i32 63,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
%aT=bitcast i8*%aQ to i64*
store i64 0,i64*%aT,align 4
%aU=load i8*,i8**%k,align 8
%aV=getelementptr inbounds i8,i8*%aQ,i64 8
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aQ,i64 16
%aY=bitcast i8*%aX to i32*
store i32 2,i32*%aY,align 4
%aZ=load i8*,i8**%d,align 8
%a0=bitcast i8*%aZ to i8**
call void@sml_write(i8*inreg%aZ,i8**inreg%a0,i8*inreg%aQ)#0
%a1=load i8*,i8**%c,align 8
ret i8*%a1
a2:
%a3=call fastcc i8*@_SMLFN6TfvMap4findE(i32 inreg 1,i32 inreg 8)
%a4=getelementptr inbounds i8,i8*%a3,i64 16
%a5=bitcast i8*%a4 to i8*(i8*,i8*)**
%a6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a5,align 8
%a7=bitcast i8*%a3 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%e,align 8
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
%bc=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=getelementptr inbounds i8,i8*%a9,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a9,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
%bj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bk=call fastcc i8*%a6(i8*inreg%bj,i8*inreg%a9)
%bl=icmp eq i8*%bk,null
br i1%bl,label%bm,label%bo
bm:
%bn=load i8*,i8**%c,align 8
ret i8*%bn
bo:
%bp=bitcast i8*%bk to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%c,align 8
%br=call i8*@sml_alloc(i32 inreg 20)#0
%bs=bitcast i8*%br to i32*
%bt=getelementptr inbounds i8,i8*%br,i64 -4
%bu=bitcast i8*%bt to i32*
store i32 1342177296,i32*%bu,align 4
%bv=getelementptr inbounds i8,i8*%br,i64 4
%bw=bitcast i8*%bv to i32*
store i32 0,i32*%bw,align 1
store i32 1,i32*%bs,align 4
%bx=load i8*,i8**%c,align 8
%by=getelementptr inbounds i8,i8*%br,i64 8
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%br,i64 16
%bB=bitcast i8*%bA to i32*
store i32 2,i32*%bB,align 4
ret i8*%br
bC:
%bD=call fastcc i8*@_SMLFN6TfvMap4findE(i32 inreg 1,i32 inreg 8)
%bE=getelementptr inbounds i8,i8*%bD,i64 16
%bF=bitcast i8*%bE to i8*(i8*,i8*)**
%bG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bF,align 8
%bH=bitcast i8*%bD to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%e,align 8
%bJ=call i8*@sml_alloc(i32 inreg 20)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177296,i32*%bL,align 4
%bM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bP=getelementptr inbounds i8,i8*%bJ,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bJ,i64 16
%bS=bitcast i8*%bR to i32*
store i32 3,i32*%bS,align 4
%bT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bU=call fastcc i8*%bG(i8*inreg%bT,i8*inreg%bJ)
%bV=icmp eq i8*%bU,null
br i1%bV,label%bW,label%bY
bW:
%bX=load i8*,i8**%c,align 8
ret i8*%bX
bY:
%bZ=bitcast i8*%bU to i8**
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%c,align 8
%b1=call i8*@sml_alloc(i32 inreg 20)#0
%b2=bitcast i8*%b1 to i32*
%b3=getelementptr inbounds i8,i8*%b1,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177296,i32*%b4,align 4
%b5=getelementptr inbounds i8,i8*%b1,i64 4
%b6=bitcast i8*%b5 to i32*
store i32 0,i32*%b6,align 1
store i32 1,i32*%b2,align 4
%b7=load i8*,i8**%c,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 16
%cb=bitcast i8*%ca to i32*
store i32 2,i32*%cb,align 4
ret i8*%b1
cc:
%cd=call fastcc i8*@_SMLFN6TfvMap4findE(i32 inreg 1,i32 inreg 8)
%ce=getelementptr inbounds i8,i8*%cd,i64 16
%cf=bitcast i8*%ce to i8*(i8*,i8*)**
%cg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cf,align 8
%ch=bitcast i8*%cd to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%e,align 8
%cj=call i8*@sml_alloc(i32 inreg 20)#0
%ck=getelementptr inbounds i8,i8*%cj,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177296,i32*%cl,align 4
%cm=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cn=bitcast i8*%cj to i8**
store i8*%cm,i8**%cn,align 8
%co=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cp=getelementptr inbounds i8,i8*%cj,i64 8
%cq=bitcast i8*%cp to i8**
store i8*%co,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%cj,i64 16
%cs=bitcast i8*%cr to i32*
store i32 3,i32*%cs,align 4
%ct=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cu=call fastcc i8*%cg(i8*inreg%ct,i8*inreg%cj)
%cv=icmp eq i8*%cu,null
br i1%cv,label%cw,label%cy
cw:
%cx=load i8*,i8**%c,align 8
ret i8*%cx
cy:
%cz=bitcast i8*%cu to i8**
%cA=load i8*,i8**%cz,align 8
store i8*%cA,i8**%c,align 8
%cB=call i8*@sml_alloc(i32 inreg 20)#0
%cC=bitcast i8*%cB to i32*
%cD=getelementptr inbounds i8,i8*%cB,i64 -4
%cE=bitcast i8*%cD to i32*
store i32 1342177296,i32*%cE,align 4
%cF=getelementptr inbounds i8,i8*%cB,i64 4
%cG=bitcast i8*%cF to i32*
store i32 0,i32*%cG,align 1
store i32 1,i32*%cC,align 4
%cH=load i8*,i8**%c,align 8
%cI=getelementptr inbounds i8,i8*%cB,i64 8
%cJ=bitcast i8*%cI to i8**
store i8*%cH,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cB,i64 16
%cL=bitcast i8*%cK to i32*
store i32 2,i32*%cL,align 4
ret i8*%cB
cM:
%cN=call fastcc i8*@_SMLFN6TfvMap4findE(i32 inreg 1,i32 inreg 8)
%cO=getelementptr inbounds i8,i8*%cN,i64 16
%cP=bitcast i8*%cO to i8*(i8*,i8*)**
%cQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cP,align 8
%cR=bitcast i8*%cN to i8**
%cS=load i8*,i8**%cR,align 8
store i8*%cS,i8**%e,align 8
%cT=call i8*@sml_alloc(i32 inreg 20)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177296,i32*%cV,align 4
%cW=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cZ=getelementptr inbounds i8,i8*%cT,i64 8
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cT,i64 16
%c2=bitcast i8*%c1 to i32*
store i32 3,i32*%c2,align 4
%c3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c4=call fastcc i8*%cQ(i8*inreg%c3,i8*inreg%cT)
%c5=icmp eq i8*%c4,null
br i1%c5,label%c6,label%c8
c6:
%c7=load i8*,i8**%c,align 8
ret i8*%c7
c8:
%c9=bitcast i8*%c4 to i8**
%da=load i8*,i8**%c9,align 8
store i8*%da,i8**%c,align 8
%db=call i8*@sml_alloc(i32 inreg 20)#0
%dc=bitcast i8*%db to i32*
%dd=getelementptr inbounds i8,i8*%db,i64 -4
%de=bitcast i8*%dd to i32*
store i32 1342177296,i32*%de,align 4
%df=getelementptr inbounds i8,i8*%db,i64 4
%dg=bitcast i8*%df to i32*
store i32 0,i32*%dg,align 1
store i32 1,i32*%dc,align 4
%dh=load i8*,i8**%c,align 8
%di=getelementptr inbounds i8,i8*%db,i64 8
%dj=bitcast i8*%di to i8**
store i8*%dh,i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%db,i64 16
%dl=bitcast i8*%dk to i32*
store i32 2,i32*%dl,align 4
ret i8*%db
dm:
%dn=getelementptr inbounds i8,i8*%s,i64 8
%do=bitcast i8*%dn to i8**
%dp=load i8*,i8**%do,align 8
%dq=bitcast i8*%dp to i32*
%dr=load i32,i32*%dq,align 4
%ds=getelementptr inbounds i8,i8*%dp,i64 8
%dt=bitcast i8*%ds to i8**
%du=load i8*,i8**%dt,align 8
store i8*%du,i8**%c,align 8
%dv=getelementptr inbounds i8,i8*%dp,i64 16
%dw=bitcast i8*%dv to i8**
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%d,align 8
%dy=getelementptr inbounds i8,i8*%dp,i64 24
%dz=bitcast i8*%dy to i8**
%dA=load i8*,i8**%dz,align 8
%dB=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dC=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%dB,i8*inreg%dA)
store i8*%dC,i8**%e,align 8
%dD=call i8*@sml_alloc(i32 inreg 36)#0
%dE=getelementptr inbounds i8,i8*%dD,i64 -4
%dF=bitcast i8*%dE to i32*
store i32 1342177312,i32*%dF,align 4
store i8*%dD,i8**%f,align 8
%dG=getelementptr inbounds i8,i8*%dD,i64 4
%dH=bitcast i8*%dG to i32*
store i32 0,i32*%dH,align 1
%dI=bitcast i8*%dD to i32*
store i32%dr,i32*%dI,align 4
%dJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dK=getelementptr inbounds i8,i8*%dD,i64 8
%dL=bitcast i8*%dK to i8**
store i8*%dJ,i8**%dL,align 8
%dM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dN=getelementptr inbounds i8,i8*%dD,i64 16
%dO=bitcast i8*%dN to i8**
store i8*%dM,i8**%dO,align 8
%dP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dQ=getelementptr inbounds i8,i8*%dD,i64 24
%dR=bitcast i8*%dQ to i8**
store i8*%dP,i8**%dR,align 8
%dS=getelementptr inbounds i8,i8*%dD,i64 32
%dT=bitcast i8*%dS to i32*
store i32 14,i32*%dT,align 4
%dU=call i8*@sml_alloc(i32 inreg 20)#0
%dV=getelementptr inbounds i8,i8*%dU,i64 -4
%dW=bitcast i8*%dV to i32*
store i32 1342177296,i32*%dW,align 4
%dX=bitcast i8*%dU to i64*
store i64 0,i64*%dX,align 4
%dY=load i8*,i8**%f,align 8
%dZ=getelementptr inbounds i8,i8*%dU,i64 8
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dU,i64 16
%d2=bitcast i8*%d1 to i32*
store i32 2,i32*%d2,align 4
ret i8*%dU
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%a,i8*inreg%b)unnamed_addr#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 i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 8,label%I
i32 2,label%d7
i32 7,label%I
i32 3,label%I
i32 6,label%c5
i32 1,label%b2
i32 4,label%aY
i32 5,label%K
i32 0,label%I
]
q:
store i8*null,i8**%e,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,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@q,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 60)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177336,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 56
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
I:
%J=phi i8*[%m,%l],[%m,%l],[%m,%l],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@o,i64 0,i32 2)to i8*),%d7],[%m,%l]
ret i8*%J
K:
%L=getelementptr inbounds i8,i8*%m,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%c,align 8
%Q=getelementptr inbounds i8,i8*%N,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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**%f,align 8
%Z=call i8*@sml_alloc(i32 inreg 12)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177288,i32*%ab,align 4
store i8*%Z,i8**%g,align 8
%ac=load i8*,i8**%e,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 28)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177304,i32*%ai,align 4
%aj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_215 to void(...)*),void(...)**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_215 to void(...)*),void(...)**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 24
%aq=bitcast i8*%ap to i32*
store i32 -2147483647,i32*%aq,align 4
%ar=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%as=call fastcc i8*%W(i8*inreg%ar,i8*inreg%ag)
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
%ay=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%az=call fastcc i8*%av(i8*inreg%ax,i8*inreg%ay)
store i8*%az,i8**%c,align 8
%aA=load i8*,i8**%d,align 8
%aB=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%aC=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%aB,i8*inreg%aA)
store i8*%aC,i8**%d,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
store i8*%aD,i8**%e,align 8
%aG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aD,i64 16
%aM=bitcast i8*%aL to i32*
store i32 3,i32*%aM,align 4
%aN=call i8*@sml_alloc(i32 inreg 20)#0
%aO=bitcast i8*%aN to i32*
%aP=getelementptr inbounds i8,i8*%aN,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
%aR=getelementptr inbounds i8,i8*%aN,i64 4
%aS=bitcast i8*%aR to i32*
store i32 0,i32*%aS,align 1
store i32 5,i32*%aO,align 4
%aT=load i8*,i8**%e,align 8
%aU=getelementptr inbounds i8,i8*%aN,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aN,i64 16
%aX=bitcast i8*%aW to i32*
store i32 2,i32*%aX,align 4
ret i8*%aN
aY:
%aZ=getelementptr inbounds i8,i8*%m,i64 8
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%c,align 8
%a4=getelementptr inbounds i8,i8*%a1,i64 8
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%d,align 8
%a7=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%f,align 8
%bd=call i8*@sml_alloc(i32 inreg 12)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177288,i32*%bf,align 4
store i8*%bd,i8**%g,align 8
%bg=load i8*,i8**%e,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 i32*
store i32 1,i32*%bj,align 4
%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**%g,align 8
store i8*null,i8**%g,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_212 to void(...)*),void(...)**%bq,align 8
%br=getelementptr inbounds i8,i8*%bk,i64 16
%bs=bitcast i8*%br to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_212 to void(...)*),void(...)**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bk,i64 24
%bu=bitcast i8*%bt to i32*
store i32 -2147483647,i32*%bu,align 4
%bv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bw=call fastcc i8*%ba(i8*inreg%bv,i8*inreg%bk)
%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**%c,align 8
store i8*null,i8**%c,align 8
%bD=call fastcc i8*%bz(i8*inreg%bB,i8*inreg%bC)
store i8*%bD,i8**%c,align 8
%bE=load i8*,i8**%d,align 8
%bF=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%bG=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%bF,i8*inreg%bE)
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
store i8*%bH,i8**%e,align 8
%bK=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8*@sml_alloc(i32 inreg 20)#0
%bS=bitcast i8*%bR to i32*
%bT=getelementptr inbounds i8,i8*%bR,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177296,i32*%bU,align 4
%bV=getelementptr inbounds i8,i8*%bR,i64 4
%bW=bitcast i8*%bV to i32*
store i32 0,i32*%bW,align 1
store i32 4,i32*%bS,align 4
%bX=load i8*,i8**%e,align 8
%bY=getelementptr inbounds i8,i8*%bR,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bR,i64 16
%b1=bitcast i8*%b0 to i32*
store i32 2,i32*%b1,align 4
ret i8*%bR
b2:
%b3=getelementptr inbounds i8,i8*%m,i64 8
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=bitcast i8*%b5 to i8**
%b7=load i8*,i8**%b6,align 8
store i8*%b7,i8**%c,align 8
%b8=getelementptr inbounds i8,i8*%b5,i64 8
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
%cb=load i8*,i8**%e,align 8
%cc=call fastcc i8*@_SMLLLN5Subst12substTfvTfunE_195(i8*inreg%cb,i8*inreg%ca)
store i8*%cc,i8**%d,align 8
%cd=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ce=getelementptr inbounds i8,i8*%cd,i64 16
%cf=bitcast i8*%ce to i8*(i8*,i8*)**
%cg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cf,align 8
%ch=bitcast i8*%cd to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%f,align 8
%cj=call i8*@sml_alloc(i32 inreg 12)#0
%ck=getelementptr inbounds i8,i8*%cj,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177288,i32*%cl,align 4
store i8*%cj,i8**%g,align 8
%cm=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cn=bitcast i8*%cj to i8**
store i8*%cm,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%cj,i64 8
%cp=bitcast i8*%co to i32*
store i32 1,i32*%cp,align 4
%cq=call i8*@sml_alloc(i32 inreg 28)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177304,i32*%cs,align 4
%ct=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cu=bitcast i8*%cq to i8**
store i8*%ct,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cq,i64 8
%cw=bitcast i8*%cv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_211 to void(...)*),void(...)**%cw,align 8
%cx=getelementptr inbounds i8,i8*%cq,i64 16
%cy=bitcast i8*%cx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_211 to void(...)*),void(...)**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cq,i64 24
%cA=bitcast i8*%cz to i32*
store i32 -2147483647,i32*%cA,align 4
%cB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cC=call fastcc i8*%cg(i8*inreg%cB,i8*inreg%cq)
%cD=getelementptr inbounds i8,i8*%cC,i64 16
%cE=bitcast i8*%cD to i8*(i8*,i8*)**
%cF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cE,align 8
%cG=bitcast i8*%cC to i8**
%cH=load i8*,i8**%cG,align 8
%cI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cJ=call fastcc i8*%cF(i8*inreg%cH,i8*inreg%cI)
store i8*%cJ,i8**%c,align 8
%cK=call i8*@sml_alloc(i32 inreg 20)#0
%cL=getelementptr inbounds i8,i8*%cK,i64 -4
%cM=bitcast i8*%cL to i32*
store i32 1342177296,i32*%cM,align 4
store i8*%cK,i8**%e,align 8
%cN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cO=bitcast i8*%cK to i8**
store i8*%cN,i8**%cO,align 8
%cP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cQ=getelementptr inbounds i8,i8*%cK,i64 8
%cR=bitcast i8*%cQ to i8**
store i8*%cP,i8**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cK,i64 16
%cT=bitcast i8*%cS to i32*
store i32 3,i32*%cT,align 4
%cU=call i8*@sml_alloc(i32 inreg 20)#0
%cV=bitcast i8*%cU to i32*
%cW=getelementptr inbounds i8,i8*%cU,i64 -4
%cX=bitcast i8*%cW to i32*
store i32 1342177296,i32*%cX,align 4
%cY=getelementptr inbounds i8,i8*%cU,i64 4
%cZ=bitcast i8*%cY to i32*
store i32 0,i32*%cZ,align 1
store i32 1,i32*%cV,align 4
%c0=load i8*,i8**%e,align 8
%c1=getelementptr inbounds i8,i8*%cU,i64 8
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cU,i64 16
%c4=bitcast i8*%c3 to i32*
store i32 2,i32*%c4,align 4
ret i8*%cU
c5:
%c6=getelementptr inbounds i8,i8*%m,i64 8
%c7=bitcast i8*%c6 to i8**
%c8=load i8*,i8**%c7,align 8
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
store i8*%da,i8**%c,align 8
%db=getelementptr inbounds i8,i8*%c8,i64 8
%dc=bitcast i8*%db to i32*
%dd=load i32,i32*%dc,align 4
%de=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%dj,i8**%d,align 8
%dk=call i8*@sml_alloc(i32 inreg 12)#0
%dl=getelementptr inbounds i8,i8*%dk,i64 -4
%dm=bitcast i8*%dl to i32*
store i32 1342177288,i32*%dm,align 4
store i8*%dk,i8**%f,align 8
%dn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%do=bitcast i8*%dk to i8**
store i8*%dn,i8**%do,align 8
%dp=getelementptr inbounds i8,i8*%dk,i64 8
%dq=bitcast i8*%dp to i32*
store i32 1,i32*%dq,align 4
%dr=call i8*@sml_alloc(i32 inreg 28)#0
%ds=getelementptr inbounds i8,i8*%dr,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177304,i32*%dt,align 4
%du=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dr,i64 8
%dx=bitcast i8*%dw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_210 to void(...)*),void(...)**%dx,align 8
%dy=getelementptr inbounds i8,i8*%dr,i64 16
%dz=bitcast i8*%dy to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_210 to void(...)*),void(...)**%dz,align 8
%dA=getelementptr inbounds i8,i8*%dr,i64 24
%dB=bitcast i8*%dA to i32*
store i32 -2147483647,i32*%dB,align 4
%dC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dD=call fastcc i8*%dh(i8*inreg%dC,i8*inreg%dr)
%dE=getelementptr inbounds i8,i8*%dD,i64 16
%dF=bitcast i8*%dE to i8*(i8*,i8*)**
%dG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dF,align 8
%dH=bitcast i8*%dD to i8**
%dI=load i8*,i8**%dH,align 8
%dJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dK=call fastcc i8*%dG(i8*inreg%dI,i8*inreg%dJ)
store i8*%dK,i8**%c,align 8
%dL=call i8*@sml_alloc(i32 inreg 20)#0
%dM=getelementptr inbounds i8,i8*%dL,i64 -4
%dN=bitcast i8*%dM to i32*
store i32 1342177296,i32*%dN,align 4
store i8*%dL,i8**%d,align 8
%dO=getelementptr inbounds i8,i8*%dL,i64 12
%dP=bitcast i8*%dO to i32*
store i32 0,i32*%dP,align 1
%dQ=load i8*,i8**%c,align 8
%dR=bitcast i8*%dL to i8**
store i8*null,i8**%c,align 8
store i8*%dQ,i8**%dR,align 8
%dS=getelementptr inbounds i8,i8*%dL,i64 8
%dT=bitcast i8*%dS to i32*
store i32%dd,i32*%dT,align 4
%dU=getelementptr inbounds i8,i8*%dL,i64 16
%dV=bitcast i8*%dU to i32*
store i32 1,i32*%dV,align 4
%dW=call i8*@sml_alloc(i32 inreg 20)#0
%dX=bitcast i8*%dW to i32*
%dY=getelementptr inbounds i8,i8*%dW,i64 -4
%dZ=bitcast i8*%dY to i32*
store i32 1342177296,i32*%dZ,align 4
%d0=getelementptr inbounds i8,i8*%dW,i64 4
%d1=bitcast i8*%d0 to i32*
store i32 0,i32*%d1,align 1
store i32 6,i32*%dX,align 4
%d2=load i8*,i8**%d,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 8
%d4=bitcast i8*%d3 to i8**
store i8*%d2,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dW,i64 16
%d6=bitcast i8*%d5 to i32*
store i32 2,i32*%d6,align 4
ret i8*%dW
d7:
br label%I
}
define internal fastcc i8*@_SMLLLN5Subst12substTfvTfunE_217(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*@_SMLLLN5Subst12substTfvTfunE_195(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define fastcc i8*@_SMLFN5Subst12substTfvTfunE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvTfunE_217 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvTfunE_217 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_220(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*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define fastcc i8*@_SMLFN5Subst10substTfvTyE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_220 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst10substTfvTyE_220 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLLN5Subst12substTfvVarEE_224(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**%h,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 i32*
%r=load i32,i32*%q,align 4
switch i32%r,label%s[
i32 12,label%bG
i32 13,label%hl
i32 6,label%gg
i32 7,label%bG
i32 0,label%fE
i32 1,label%eT
i32 4,label%d8
i32 5,label%dn
i32 2,label%cx
i32 3,label%bH
i32 8,label%bG
i32 11,label%a2
i32 10,label%ao
i32 9,label%K
]
s:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%t=load i8*,i8**@_SMLZ5Match,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
store i8*%u,i8**%d,align 8
%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=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@t,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
store i8*null,i8**%h,align 8
%L=getelementptr inbounds i8,i8*%o,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%c,align 8
%Q=getelementptr inbounds i8,i8*%N,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
store i8*%T,i8**%e,align 8
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=bitcast i8*%ad to i32*
%af=getelementptr inbounds i8,i8*%ad,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ad,i64 4
%ai=bitcast i8*%ah to i32*
store i32 0,i32*%ai,align 1
store i32 9,i32*%ae,align 4
%aj=load i8*,i8**%e,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ad,i64 16
%an=bitcast i8*%am to i32*
store i32 2,i32*%an,align 4
ret i8*%ad
ao:
%ap=getelementptr inbounds i8,i8*%o,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
store i8*%at,i8**%c,align 8
%au=getelementptr inbounds i8,i8*%ar,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%d,align 8
%ax=bitcast i8**%h to i8***
%ay=load i8**,i8***%ax,align 8
store i8*null,i8**%h,align 8
%az=load i8*,i8**%ay,align 8
%aA=getelementptr inbounds i8,i8*%ar,i64 16
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%az,i8*inreg%aC)
store i8*%aD,i8**%e,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**%f,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aK=getelementptr inbounds i8,i8*%aE,i64 8
%aL=bitcast i8*%aK to i8**
store i8*%aJ,i8**%aL,align 8
%aM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aN=getelementptr inbounds i8,i8*%aE,i64 16
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aE,i64 24
%aQ=bitcast i8*%aP to i32*
store i32 7,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=bitcast i8*%aR to i32*
%aT=getelementptr inbounds i8,i8*%aR,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177296,i32*%aU,align 4
%aV=getelementptr inbounds i8,i8*%aR,i64 4
%aW=bitcast i8*%aV to i32*
store i32 0,i32*%aW,align 1
store i32 10,i32*%aS,align 4
%aX=load i8*,i8**%f,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 2,i32*%a1,align 4
ret i8*%aR
a2:
%a3=getelementptr inbounds i8,i8*%o,i64 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%c,align 8
%a8=getelementptr inbounds i8,i8*%a5,i64 8
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%d,align 8
%bb=bitcast i8**%h to i8***
%bc=load i8**,i8***%bb,align 8
store i8*null,i8**%h,align 8
%bd=load i8*,i8**%bc,align 8
%be=getelementptr inbounds i8,i8*%a5,i64 16
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
%bh=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%bd,i8*inreg%bg)
store i8*%bh,i8**%e,align 8
%bi=call i8*@sml_alloc(i32 inreg 28)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177304,i32*%bk,align 4
store i8*%bi,i8**%f,align 8
%bl=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bo=getelementptr inbounds i8,i8*%bi,i64 8
%bp=bitcast i8*%bo to i8**
store i8*%bn,i8**%bp,align 8
%bq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%br=getelementptr inbounds i8,i8*%bi,i64 16
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bi,i64 24
%bu=bitcast i8*%bt to i32*
store i32 7,i32*%bu,align 4
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=bitcast i8*%bv to i32*
%bx=getelementptr inbounds i8,i8*%bv,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177296,i32*%by,align 4
%bz=getelementptr inbounds i8,i8*%bv,i64 4
%bA=bitcast i8*%bz to i32*
store i32 0,i32*%bA,align 1
store i32 11,i32*%bw,align 4
%bB=load i8*,i8**%f,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 8
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 16
%bF=bitcast i8*%bE to i32*
store i32 2,i32*%bF,align 4
ret i8*%bv
bG:
ret i8*%o
bH:
%bI=getelementptr inbounds i8,i8*%o,i64 8
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
store i8*%bM,i8**%c,align 8
%bN=getelementptr inbounds i8,i8*%bK,i64 8
%bO=bitcast i8*%bN to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%d,align 8
%bQ=getelementptr inbounds i8,i8*%bK,i64 16
%bR=bitcast i8*%bQ to i8**
%bS=load i8*,i8**%bR,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 24
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%e,align 8
%bW=getelementptr inbounds i8,i8*%bK,i64 32
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
store i8*%bY,i8**%f,align 8
%bZ=bitcast i8**%h to i8***
%b0=load i8**,i8***%bZ,align 8
store i8*null,i8**%h,align 8
%b1=load i8*,i8**%b0,align 8
%b2=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%b1,i8*inreg%bS)
store i8*%b2,i8**%g,align 8
%b3=call i8*@sml_alloc(i32 inreg 44)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177320,i32*%b5,align 4
store i8*%b3,i8**%h,align 8
%b6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b9=getelementptr inbounds i8,i8*%b3,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 16
%cd=bitcast i8*%cc to i8**
store i8*%cb,i8**%cd,align 8
%ce=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cf=getelementptr inbounds i8,i8*%b3,i64 24
%cg=bitcast i8*%cf to i8**
store i8*%ce,i8**%cg,align 8
%ch=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ci=getelementptr inbounds i8,i8*%b3,i64 32
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=getelementptr inbounds i8,i8*%b3,i64 40
%cl=bitcast i8*%ck to i32*
store i32 31,i32*%cl,align 4
%cm=call i8*@sml_alloc(i32 inreg 20)#0
%cn=bitcast i8*%cm to i32*
%co=getelementptr inbounds i8,i8*%cm,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177296,i32*%cp,align 4
%cq=getelementptr inbounds i8,i8*%cm,i64 4
%cr=bitcast i8*%cq to i32*
store i32 0,i32*%cr,align 1
store i32 3,i32*%cn,align 4
%cs=load i8*,i8**%h,align 8
%ct=getelementptr inbounds i8,i8*%cm,i64 8
%cu=bitcast i8*%ct to i8**
store i8*%cs,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cm,i64 16
%cw=bitcast i8*%cv to i32*
store i32 2,i32*%cw,align 4
ret i8*%cm
cx:
%cy=getelementptr inbounds i8,i8*%o,i64 8
%cz=bitcast i8*%cy to i8**
%cA=load i8*,i8**%cz,align 8
%cB=bitcast i8*%cA to i8**
%cC=load i8*,i8**%cB,align 8
store i8*%cC,i8**%c,align 8
%cD=getelementptr inbounds i8,i8*%cA,i64 8
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
store i8*%cF,i8**%d,align 8
%cG=getelementptr inbounds i8,i8*%cA,i64 16
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
%cJ=getelementptr inbounds i8,i8*%cA,i64 24
%cK=bitcast i8*%cJ to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%e,align 8
%cM=getelementptr inbounds i8,i8*%cA,i64 32
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
store i8*%cO,i8**%f,align 8
%cP=bitcast i8**%h to i8***
%cQ=load i8**,i8***%cP,align 8
store i8*null,i8**%h,align 8
%cR=load i8*,i8**%cQ,align 8
%cS=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%cR,i8*inreg%cI)
store i8*%cS,i8**%g,align 8
%cT=call i8*@sml_alloc(i32 inreg 44)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177320,i32*%cV,align 4
store i8*%cT,i8**%h,align 8
%cW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cZ=getelementptr inbounds i8,i8*%cT,i64 8
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c2=getelementptr inbounds i8,i8*%cT,i64 16
%c3=bitcast i8*%c2 to i8**
store i8*%c1,i8**%c3,align 8
%c4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c5=getelementptr inbounds i8,i8*%cT,i64 24
%c6=bitcast i8*%c5 to i8**
store i8*%c4,i8**%c6,align 8
%c7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c8=getelementptr inbounds i8,i8*%cT,i64 32
%c9=bitcast i8*%c8 to i8**
store i8*%c7,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%cT,i64 40
%db=bitcast i8*%da to i32*
store i32 31,i32*%db,align 4
%dc=call i8*@sml_alloc(i32 inreg 20)#0
%dd=bitcast i8*%dc to i32*
%de=getelementptr inbounds i8,i8*%dc,i64 -4
%df=bitcast i8*%de to i32*
store i32 1342177296,i32*%df,align 4
%dg=getelementptr inbounds i8,i8*%dc,i64 4
%dh=bitcast i8*%dg to i32*
store i32 0,i32*%dh,align 1
store i32 2,i32*%dd,align 4
%di=load i8*,i8**%h,align 8
%dj=getelementptr inbounds i8,i8*%dc,i64 8
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dc,i64 16
%dm=bitcast i8*%dl to i32*
store i32 2,i32*%dm,align 4
ret i8*%dc
dn:
%do=getelementptr inbounds i8,i8*%o,i64 8
%dp=bitcast i8*%do to i8**
%dq=load i8*,i8**%dp,align 8
%dr=bitcast i8*%dq to i8**
%ds=load i8*,i8**%dr,align 8
store i8*%ds,i8**%c,align 8
%dt=getelementptr inbounds i8,i8*%dq,i64 8
%du=bitcast i8*%dt to i32*
%dv=load i32,i32*%du,align 4
%dw=getelementptr inbounds i8,i8*%dq,i64 16
%dx=bitcast i8*%dw to i8**
%dy=load i8*,i8**%dx,align 8
store i8*%dy,i8**%d,align 8
%dz=bitcast i8**%h to i8***
%dA=load i8**,i8***%dz,align 8
store i8*null,i8**%h,align 8
%dB=load i8*,i8**%dA,align 8
%dC=getelementptr inbounds i8,i8*%dq,i64 24
%dD=bitcast i8*%dC to i8**
%dE=load i8*,i8**%dD,align 8
%dF=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%dB,i8*inreg%dE)
store i8*%dF,i8**%e,align 8
%dG=call i8*@sml_alloc(i32 inreg 36)#0
%dH=getelementptr inbounds i8,i8*%dG,i64 -4
%dI=bitcast i8*%dH to i32*
store i32 1342177312,i32*%dI,align 4
store i8*%dG,i8**%f,align 8
%dJ=getelementptr inbounds i8,i8*%dG,i64 12
%dK=bitcast i8*%dJ to i32*
store i32 0,i32*%dK,align 1
%dL=load i8*,i8**%c,align 8
%dM=bitcast i8*%dG to i8**
store i8*null,i8**%c,align 8
store i8*%dL,i8**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dG,i64 8
%dO=bitcast i8*%dN to i32*
store i32%dv,i32*%dO,align 4
%dP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dQ=getelementptr inbounds i8,i8*%dG,i64 16
%dR=bitcast i8*%dQ to i8**
store i8*%dP,i8**%dR,align 8
%dS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dT=getelementptr inbounds i8,i8*%dG,i64 24
%dU=bitcast i8*%dT to i8**
store i8*%dS,i8**%dU,align 8
%dV=getelementptr inbounds i8,i8*%dG,i64 32
%dW=bitcast i8*%dV to i32*
store i32 13,i32*%dW,align 4
%dX=call i8*@sml_alloc(i32 inreg 20)#0
%dY=bitcast i8*%dX to i32*
%dZ=getelementptr inbounds i8,i8*%dX,i64 -4
%d0=bitcast i8*%dZ to i32*
store i32 1342177296,i32*%d0,align 4
%d1=getelementptr inbounds i8,i8*%dX,i64 4
%d2=bitcast i8*%d1 to i32*
store i32 0,i32*%d2,align 1
store i32 5,i32*%dY,align 4
%d3=load i8*,i8**%f,align 8
%d4=getelementptr inbounds i8,i8*%dX,i64 8
%d5=bitcast i8*%d4 to i8**
store i8*%d3,i8**%d5,align 8
%d6=getelementptr inbounds i8,i8*%dX,i64 16
%d7=bitcast i8*%d6 to i32*
store i32 2,i32*%d7,align 4
ret i8*%dX
d8:
%d9=getelementptr inbounds i8,i8*%o,i64 8
%ea=bitcast i8*%d9 to i8**
%eb=load i8*,i8**%ea,align 8
%ec=bitcast i8*%eb to i8**
%ed=load i8*,i8**%ec,align 8
store i8*%ed,i8**%c,align 8
%ee=getelementptr inbounds i8,i8*%eb,i64 8
%ef=bitcast i8*%ee to i32*
%eg=load i32,i32*%ef,align 4
%eh=getelementptr inbounds i8,i8*%eb,i64 16
%ei=bitcast i8*%eh to i8**
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%d,align 8
%ek=bitcast i8**%h to i8***
%el=load i8**,i8***%ek,align 8
store i8*null,i8**%h,align 8
%em=load i8*,i8**%el,align 8
%en=getelementptr inbounds i8,i8*%eb,i64 24
%eo=bitcast i8*%en to i8**
%ep=load i8*,i8**%eo,align 8
%eq=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%em,i8*inreg%ep)
store i8*%eq,i8**%e,align 8
%er=call i8*@sml_alloc(i32 inreg 36)#0
%es=getelementptr inbounds i8,i8*%er,i64 -4
%et=bitcast i8*%es to i32*
store i32 1342177312,i32*%et,align 4
store i8*%er,i8**%f,align 8
%eu=getelementptr inbounds i8,i8*%er,i64 12
%ev=bitcast i8*%eu to i32*
store i32 0,i32*%ev,align 1
%ew=load i8*,i8**%c,align 8
%ex=bitcast i8*%er to i8**
store i8*null,i8**%c,align 8
store i8*%ew,i8**%ex,align 8
%ey=getelementptr inbounds i8,i8*%er,i64 8
%ez=bitcast i8*%ey to i32*
store i32%eg,i32*%ez,align 4
%eA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eB=getelementptr inbounds i8,i8*%er,i64 16
%eC=bitcast i8*%eB to i8**
store i8*%eA,i8**%eC,align 8
%eD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eE=getelementptr inbounds i8,i8*%er,i64 24
%eF=bitcast i8*%eE to i8**
store i8*%eD,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%er,i64 32
%eH=bitcast i8*%eG to i32*
store i32 13,i32*%eH,align 4
%eI=call i8*@sml_alloc(i32 inreg 20)#0
%eJ=bitcast i8*%eI to i32*
%eK=getelementptr inbounds i8,i8*%eI,i64 -4
%eL=bitcast i8*%eK to i32*
store i32 1342177296,i32*%eL,align 4
%eM=getelementptr inbounds i8,i8*%eI,i64 4
%eN=bitcast i8*%eM to i32*
store i32 0,i32*%eN,align 1
store i32 4,i32*%eJ,align 4
%eO=load i8*,i8**%f,align 8
%eP=getelementptr inbounds i8,i8*%eI,i64 8
%eQ=bitcast i8*%eP to i8**
store i8*%eO,i8**%eQ,align 8
%eR=getelementptr inbounds i8,i8*%eI,i64 16
%eS=bitcast i8*%eR to i32*
store i32 2,i32*%eS,align 4
ret i8*%eI
eT:
%eU=getelementptr inbounds i8,i8*%o,i64 8
%eV=bitcast i8*%eU to i8**
%eW=load i8*,i8**%eV,align 8
%eX=bitcast i8*%eW to i8**
%eY=load i8*,i8**%eX,align 8
store i8*%eY,i8**%c,align 8
%eZ=getelementptr inbounds i8,i8*%eW,i64 8
%e0=bitcast i8*%eZ to i32*
%e1=load i32,i32*%e0,align 4
%e2=getelementptr inbounds i8,i8*%eW,i64 16
%e3=bitcast i8*%e2 to i8**
%e4=load i8*,i8**%e3,align 8
store i8*%e4,i8**%d,align 8
%e5=bitcast i8**%h to i8***
%e6=load i8**,i8***%e5,align 8
store i8*null,i8**%h,align 8
%e7=load i8*,i8**%e6,align 8
%e8=getelementptr inbounds i8,i8*%eW,i64 24
%e9=bitcast i8*%e8 to i8**
%fa=load i8*,i8**%e9,align 8
%fb=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%e7,i8*inreg%fa)
store i8*%fb,i8**%e,align 8
%fc=call i8*@sml_alloc(i32 inreg 36)#0
%fd=getelementptr inbounds i8,i8*%fc,i64 -4
%fe=bitcast i8*%fd to i32*
store i32 1342177312,i32*%fe,align 4
store i8*%fc,i8**%f,align 8
%ff=getelementptr inbounds i8,i8*%fc,i64 12
%fg=bitcast i8*%ff to i32*
store i32 0,i32*%fg,align 1
%fh=load i8*,i8**%c,align 8
%fi=bitcast i8*%fc to i8**
store i8*null,i8**%c,align 8
store i8*%fh,i8**%fi,align 8
%fj=getelementptr inbounds i8,i8*%fc,i64 8
%fk=bitcast i8*%fj to i32*
store i32%e1,i32*%fk,align 4
%fl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fm=getelementptr inbounds i8,i8*%fc,i64 16
%fn=bitcast i8*%fm to i8**
store i8*%fl,i8**%fn,align 8
%fo=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fp=getelementptr inbounds i8,i8*%fc,i64 24
%fq=bitcast i8*%fp to i8**
store i8*%fo,i8**%fq,align 8
%fr=getelementptr inbounds i8,i8*%fc,i64 32
%fs=bitcast i8*%fr to i32*
store i32 13,i32*%fs,align 4
%ft=call i8*@sml_alloc(i32 inreg 20)#0
%fu=bitcast i8*%ft to i32*
%fv=getelementptr inbounds i8,i8*%ft,i64 -4
%fw=bitcast i8*%fv to i32*
store i32 1342177296,i32*%fw,align 4
%fx=getelementptr inbounds i8,i8*%ft,i64 4
%fy=bitcast i8*%fx to i32*
store i32 0,i32*%fy,align 1
store i32 1,i32*%fu,align 4
%fz=load i8*,i8**%f,align 8
%fA=getelementptr inbounds i8,i8*%ft,i64 8
%fB=bitcast i8*%fA to i8**
store i8*%fz,i8**%fB,align 8
%fC=getelementptr inbounds i8,i8*%ft,i64 16
%fD=bitcast i8*%fC to i32*
store i32 2,i32*%fD,align 4
ret i8*%ft
fE:
%fF=getelementptr inbounds i8,i8*%o,i64 8
%fG=bitcast i8*%fF to i8**
%fH=load i8*,i8**%fG,align 8
%fI=bitcast i8*%fH to i8**
%fJ=load i8*,i8**%fI,align 8
store i8*%fJ,i8**%c,align 8
%fK=getelementptr inbounds i8,i8*%fH,i64 8
%fL=bitcast i8*%fK to i8**
%fM=load i8*,i8**%fL,align 8
store i8*%fM,i8**%d,align 8
%fN=bitcast i8**%h to i8***
%fO=load i8**,i8***%fN,align 8
store i8*null,i8**%h,align 8
%fP=load i8*,i8**%fO,align 8
%fQ=getelementptr inbounds i8,i8*%fH,i64 16
%fR=bitcast i8*%fQ to i8**
%fS=load i8*,i8**%fR,align 8
%fT=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%fP,i8*inreg%fS)
store i8*%fT,i8**%e,align 8
%fU=call i8*@sml_alloc(i32 inreg 28)#0
%fV=getelementptr inbounds i8,i8*%fU,i64 -4
%fW=bitcast i8*%fV to i32*
store i32 1342177304,i32*%fW,align 4
store i8*%fU,i8**%f,align 8
%fX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fY=bitcast i8*%fU to i8**
store i8*%fX,i8**%fY,align 8
%fZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%f0=getelementptr inbounds i8,i8*%fU,i64 8
%f1=bitcast i8*%f0 to i8**
store i8*%fZ,i8**%f1,align 8
%f2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%f3=getelementptr inbounds i8,i8*%fU,i64 16
%f4=bitcast i8*%f3 to i8**
store i8*%f2,i8**%f4,align 8
%f5=getelementptr inbounds i8,i8*%fU,i64 24
%f6=bitcast i8*%f5 to i32*
store i32 7,i32*%f6,align 4
%f7=call i8*@sml_alloc(i32 inreg 20)#0
%f8=getelementptr inbounds i8,i8*%f7,i64 -4
%f9=bitcast i8*%f8 to i32*
store i32 1342177296,i32*%f9,align 4
%ga=bitcast i8*%f7 to i64*
store i64 0,i64*%ga,align 4
%gb=load i8*,i8**%f,align 8
%gc=getelementptr inbounds i8,i8*%f7,i64 8
%gd=bitcast i8*%gc to i8**
store i8*%gb,i8**%gd,align 8
%ge=getelementptr inbounds i8,i8*%f7,i64 16
%gf=bitcast i8*%ge to i32*
store i32 2,i32*%gf,align 4
ret i8*%f7
gg:
%gh=getelementptr inbounds i8,i8*%o,i64 8
%gi=bitcast i8*%gh to i8**
%gj=load i8*,i8**%gi,align 8
%gk=bitcast i8*%gj to i8**
%gl=load i8*,i8**%gk,align 8
store i8*%gl,i8**%c,align 8
%gm=getelementptr inbounds i8,i8*%gj,i64 8
%gn=bitcast i8*%gm to i8**
%go=load i8*,i8**%gn,align 8
%gp=bitcast i8*%go to i8**
%gq=load i8*,i8**%gp,align 8
store i8*%gq,i8**%d,align 8
%gr=getelementptr inbounds i8,i8*%go,i64 8
%gs=bitcast i8*%gr to i8**
%gt=load i8*,i8**%gs,align 8
%gu=getelementptr inbounds i8,i8*%go,i64 16
%gv=bitcast i8*%gu to i8**
%gw=load i8*,i8**%gv,align 8
store i8*%gw,i8**%e,align 8
%gx=getelementptr inbounds i8,i8*%go,i64 24
%gy=bitcast i8*%gx to i8**
%gz=load i8*,i8**%gy,align 8
store i8*%gz,i8**%f,align 8
%gA=getelementptr inbounds i8,i8*%gj,i64 16
%gB=bitcast i8*%gA to i8**
%gC=load i8*,i8**%gB,align 8
store i8*%gC,i8**%g,align 8
%gD=bitcast i8**%h to i8***
%gE=load i8**,i8***%gD,align 8
store i8*null,i8**%h,align 8
%gF=load i8*,i8**%gE,align 8
%gG=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%gF,i8*inreg%gt)
store i8*%gG,i8**%h,align 8
%gH=call i8*@sml_alloc(i32 inreg 36)#0
%gI=getelementptr inbounds i8,i8*%gH,i64 -4
%gJ=bitcast i8*%gI to i32*
store i32 1342177312,i32*%gJ,align 4
store i8*%gH,i8**%i,align 8
%gK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gL=bitcast i8*%gH to i8**
store i8*%gK,i8**%gL,align 8
%gM=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gN=getelementptr inbounds i8,i8*%gH,i64 8
%gO=bitcast i8*%gN to i8**
store i8*%gM,i8**%gO,align 8
%gP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gQ=getelementptr inbounds i8,i8*%gH,i64 16
%gR=bitcast i8*%gQ to i8**
store i8*%gP,i8**%gR,align 8
%gS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gT=getelementptr inbounds i8,i8*%gH,i64 24
%gU=bitcast i8*%gT to i8**
store i8*%gS,i8**%gU,align 8
%gV=getelementptr inbounds i8,i8*%gH,i64 32
%gW=bitcast i8*%gV to i32*
store i32 15,i32*%gW,align 4
%gX=call i8*@sml_alloc(i32 inreg 28)#0
%gY=getelementptr inbounds i8,i8*%gX,i64 -4
%gZ=bitcast i8*%gY to i32*
store i32 1342177304,i32*%gZ,align 4
store i8*%gX,i8**%d,align 8
%g0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%g1=bitcast i8*%gX to i8**
store i8*%g0,i8**%g1,align 8
%g2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%g3=getelementptr inbounds i8,i8*%gX,i64 8
%g4=bitcast i8*%g3 to i8**
store i8*%g2,i8**%g4,align 8
%g5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%g6=getelementptr inbounds i8,i8*%gX,i64 16
%g7=bitcast i8*%g6 to i8**
store i8*%g5,i8**%g7,align 8
%g8=getelementptr inbounds i8,i8*%gX,i64 24
%g9=bitcast i8*%g8 to i32*
store i32 7,i32*%g9,align 4
%ha=call i8*@sml_alloc(i32 inreg 20)#0
%hb=bitcast i8*%ha to i32*
%hc=getelementptr inbounds i8,i8*%ha,i64 -4
%hd=bitcast i8*%hc to i32*
store i32 1342177296,i32*%hd,align 4
%he=getelementptr inbounds i8,i8*%ha,i64 4
%hf=bitcast i8*%he to i32*
store i32 0,i32*%hf,align 1
store i32 6,i32*%hb,align 4
%hg=load i8*,i8**%d,align 8
%hh=getelementptr inbounds i8,i8*%ha,i64 8
%hi=bitcast i8*%hh to i8**
store i8*%hg,i8**%hi,align 8
%hj=getelementptr inbounds i8,i8*%ha,i64 16
%hk=bitcast i8*%hj to i32*
store i32 2,i32*%hk,align 4
ret i8*%ha
hl:
%hm=getelementptr inbounds i8,i8*%o,i64 8
%hn=bitcast i8*%hm to i8**
%ho=load i8*,i8**%hn,align 8
%hp=bitcast i8*%ho to i8**
%hq=load i8*,i8**%hp,align 8
store i8*%hq,i8**%c,align 8
%hr=getelementptr inbounds i8,i8*%ho,i64 8
%hs=bitcast i8*%hr to i32*
%ht=load i32,i32*%hs,align 4
%hu=getelementptr inbounds i8,i8*%ho,i64 16
%hv=bitcast i8*%hu to i8**
%hw=load i8*,i8**%hv,align 8
store i8*%hw,i8**%d,align 8
%hx=bitcast i8**%h to i8***
%hy=load i8**,i8***%hx,align 8
store i8*null,i8**%h,align 8
%hz=load i8*,i8**%hy,align 8
%hA=getelementptr inbounds i8,i8*%ho,i64 24
%hB=bitcast i8*%hA to i8**
%hC=load i8*,i8**%hB,align 8
%hD=call fastcc i8*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%hz,i8*inreg%hC)
store i8*%hD,i8**%e,align 8
%hE=call i8*@sml_alloc(i32 inreg 36)#0
%hF=getelementptr inbounds i8,i8*%hE,i64 -4
%hG=bitcast i8*%hF to i32*
store i32 1342177312,i32*%hG,align 4
store i8*%hE,i8**%f,align 8
%hH=getelementptr inbounds i8,i8*%hE,i64 12
%hI=bitcast i8*%hH to i32*
store i32 0,i32*%hI,align 1
%hJ=load i8*,i8**%c,align 8
%hK=bitcast i8*%hE to i8**
store i8*null,i8**%c,align 8
store i8*%hJ,i8**%hK,align 8
%hL=getelementptr inbounds i8,i8*%hE,i64 8
%hM=bitcast i8*%hL to i32*
store i32%ht,i32*%hM,align 4
%hN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hO=getelementptr inbounds i8,i8*%hE,i64 16
%hP=bitcast i8*%hO to i8**
store i8*%hN,i8**%hP,align 8
%hQ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hR=getelementptr inbounds i8,i8*%hE,i64 24
%hS=bitcast i8*%hR to i8**
store i8*%hQ,i8**%hS,align 8
%hT=getelementptr inbounds i8,i8*%hE,i64 32
%hU=bitcast i8*%hT to i32*
store i32 13,i32*%hU,align 4
%hV=call i8*@sml_alloc(i32 inreg 20)#0
%hW=bitcast i8*%hV to i32*
%hX=getelementptr inbounds i8,i8*%hV,i64 -4
%hY=bitcast i8*%hX to i32*
store i32 1342177296,i32*%hY,align 4
%hZ=getelementptr inbounds i8,i8*%hV,i64 4
%h0=bitcast i8*%hZ to i32*
store i32 0,i32*%h0,align 1
store i32 13,i32*%hW,align 4
%h1=load i8*,i8**%f,align 8
%h2=getelementptr inbounds i8,i8*%hV,i64 8
%h3=bitcast i8*%h2 to i8**
store i8*%h1,i8**%h3,align 8
%h4=getelementptr inbounds i8,i8*%hV,i64 16
%h5=bitcast i8*%h4 to i32*
store i32 2,i32*%h5,align 4
ret i8*%hV
}
define internal fastcc i8*@_SMLLLN5Subst12substTfvVarEE_225(i8*inreg%a,i8*inreg%b)unnamed_addr#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**%c,align 8
store i8*%b,i8**%d,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*@_SMLFN9SymbolEnv3mapE(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=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
store i8*%q,i8**%f,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
%A=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvVarEE_224 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvVarEE_224 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=call fastcc i8*%n(i8*inreg%I,i8*inreg%x)
%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
%Q=tail call fastcc i8*%M(i8*inreg%O,i8*inreg%P)
ret i8*%Q
}
define internal fastcc i8*@_SMLLLN5Subst12substTfvVarEE_227(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%c to i8***
%k=load i8**,i8***%j,align 8
%l=load i8*,i8**%d,align 8
br label%m
m:
%n=phi i8*[%l,%i],[%b,%g]
%o=phi i8**[%k,%i],[%h,%g]
%p=load i8*,i8**%o,align 8
%q=tail call fastcc i8*@_SMLLLN5Subst12substTfvVarEE_225(i8*inreg%p,i8*inreg%n)
ret i8*%q
}
define fastcc i8*@_SMLFN5Subst12substTfvVarEE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvVarEE_227 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst12substTfvVarEE_227 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLLN5Subst11substTfvEnvE_236(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*@_SMLLLN5Subst10substTfvTyE_196(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN5Subst11substTfvEnvE_238(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
r:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%b,%r]
%s=bitcast i8*%q to i32*
%t=load i32,i32*%s,align 4
switch i32%t,label%u[
i32 0,label%bx
i32 1,label%M
]
u:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%v=load i8*,i8**@_SMLZ5Match,align 8
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
store i8*%w,i8**%d,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,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,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@v,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**%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*%q,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=getelementptr inbounds i8,i8*%P,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%d,align 8
%V=getelementptr inbounds i8,i8*%P,i64 16
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%e,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%P,i64 32
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%f,align 8
%ae=bitcast i8**%h to i8***
%af=load i8**,i8***%ae,align 8
%ag=load i8*,i8**%af,align 8
%ah=call fastcc i8*@_SMLLLN5Subst12substTfvTfunE_195(i8*inreg%ag,i8*inreg%aa)
store i8*%ah,i8**%g,align 8
%ai=load i8**,i8***%ae,align 8
%aj=load i8*,i8**%ai,align 8
%ak=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%al=call fastcc i8*@_SMLLLN5Subst12substTfvVarEE_225(i8*inreg%aj,i8*inreg%ak)
store i8*%al,i8**%f,align 8
%am=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%j,align 8
%as=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%i,align 8
%ay=load i8**,i8***%ae,align 8
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%h,align 8
%aA=call i8*@sml_alloc(i32 inreg 12)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177288,i32*%aC,align 4
store i8*%aA,i8**%k,align 8
%aD=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 i32*
store i32 1,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 28)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,i32*%aJ,align 4
%aK=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aH,i64 8
%aN=bitcast i8*%aM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_236 to void(...)*),void(...)**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_236 to void(...)*),void(...)**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 24
%aR=bitcast i8*%aQ to i32*
store i32 -2147483647,i32*%aR,align 4
%aS=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aT=call fastcc i8*%av(i8*inreg%aS,i8*inreg%aH)
%aU=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aV=call fastcc i8*%ap(i8*inreg%aU,i8*inreg%aT)
%aW=getelementptr inbounds i8,i8*%aV,i64 16
%aX=bitcast i8*%aW to i8*(i8*,i8*)**
%aY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aX,align 8
%aZ=bitcast i8*%aV to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a2=call fastcc i8*%aY(i8*inreg%a0,i8*inreg%a1)
store i8*%a2,i8**%c,align 8
%a3=call i8*@sml_alloc(i32 inreg 44)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177320,i32*%a5,align 4
store i8*%a3,i8**%h,align 8
%a6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a9=getelementptr inbounds i8,i8*%a3,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bc=getelementptr inbounds i8,i8*%a3,i64 16
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bf=getelementptr inbounds i8,i8*%a3,i64 24
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bi=getelementptr inbounds i8,i8*%a3,i64 32
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%a3,i64 40
%bl=bitcast i8*%bk to i32*
store i32 31,i32*%bl,align 4
%bm=call i8*@sml_alloc(i32 inreg 20)#0
%bn=bitcast i8*%bm to i32*
%bo=getelementptr inbounds i8,i8*%bm,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177296,i32*%bp,align 4
%bq=getelementptr inbounds i8,i8*%bm,i64 4
%br=bitcast i8*%bq to i32*
store i32 0,i32*%br,align 1
store i32 1,i32*%bn,align 4
%bs=load i8*,i8**%h,align 8
%bt=getelementptr inbounds i8,i8*%bm,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bm,i64 16
%bw=bitcast i8*%bv to i32*
store i32 2,i32*%bw,align 4
ret i8*%bm
bx:
%by=getelementptr inbounds i8,i8*%q,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
%bB=getelementptr inbounds i8,i8*%bA,i64 8
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
%bE=bitcast i8*%bA to i8**
%bF=load i8*,i8**%bE,align 8
store i8*%bF,i8**%c,align 8
%bG=bitcast i8**%h to i8***
%bH=load i8**,i8***%bG,align 8
store i8*null,i8**%h,align 8
%bI=load i8*,i8**%bH,align 8
%bJ=call fastcc i8*@_SMLLLN5Subst12substTfvTfunE_195(i8*inreg%bI,i8*inreg%bD)
store i8*%bJ,i8**%d,align 8
%bK=call i8*@sml_alloc(i32 inreg 20)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177296,i32*%bM,align 4
store i8*%bK,i8**%e,align 8
%bN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bQ=getelementptr inbounds i8,i8*%bK,i64 8
%bR=bitcast i8*%bQ to i8**
store i8*%bP,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bK,i64 16
%bT=bitcast i8*%bS to i32*
store i32 3,i32*%bT,align 4
%bU=call i8*@sml_alloc(i32 inreg 20)#0
%bV=getelementptr inbounds i8,i8*%bU,i64 -4
%bW=bitcast i8*%bV to i32*
store i32 1342177296,i32*%bW,align 4
%bX=bitcast i8*%bU to i64*
store i64 0,i64*%bX,align 4
%bY=load i8*,i8**%e,align 8
%bZ=getelementptr inbounds i8,i8*%bU,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bU,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 2,i32*%b2,align 4
ret i8*%bU
}
define internal fastcc i8*@_SMLLLN5Subst11substTfvEnvE_239(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%o
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
br label%o
o:
%p=phi i8**[%n,%k],[%j,%i]
%q=phi i8*[%l,%k],[%b,%i]
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
store i8*null,i8**%d,align 8
%w=load i8*,i8**%p,align 8
%x=call fastcc i8*@_SMLLLN5Subst11substTfvEnvE_230(i8*inreg%w,i8*inreg%t)
store i8*%x,i8**%d,align 8
%y=load i8*,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=getelementptr inbounds i8,i8*%y,i64 24
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%c,align 8
%F=call i8*@sml_alloc(i32 inreg 36)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177312,i32*%H,align 4
%I=load i8*,i8**%e,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=load i8*,i8**%f,align 8
%O=getelementptr inbounds i8,i8*%F,i64 16
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%F,i64 24
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%F,i64 32
%U=bitcast i8*%T to i32*
store i32 15,i32*%U,align 4
ret i8*%F
}
define internal fastcc i8*@_SMLLLN5Subst11substTfvEnvE_230(i8*inreg%a,i8*inreg%b)unnamed_addr#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
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%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%f,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%a,%p]
%q=phi i8*[%l,%k],[%b,%p]
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%q,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=getelementptr inbounds i8,i8*%q,i64 16
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*@_SMLLLN5Subst12substTfvVarEE_225(i8*inreg%o,i8*inreg%y)
store i8*%z,i8**%e,align 8
%A=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%g,align 8
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177288,i32*%I,align 4
store i8*%G,i8**%h,align 8
%J=load i8*,i8**%f,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177304,i32*%P,align 4
%Q=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%N,i64 8
%T=bitcast i8*%S to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_238 to void(...)*),void(...)**%T,align 8
%U=getelementptr inbounds i8,i8*%N,i64 16
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_238 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%N,i64 24
%X=bitcast i8*%W to i32*
store i32 -2147483647,i32*%X,align 4
%Y=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Z=call fastcc i8*%D(i8*inreg%Y,i8*inreg%N)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ag=call fastcc i8*%ac(i8*inreg%ae,i8*inreg%af)
store i8*%ag,i8**%d,align 8
%ah=call fastcc i8*@_SMLFN9SymbolEnv3mapE(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**%g,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**%h,align 8
%aq=load i8*,i8**%f,align 8
store i8*null,i8**%f,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**%h,align 8
store i8*null,i8**%h,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%au,i64 8
%aA=bitcast i8*%az to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_239 to void(...)*),void(...)**%aA,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 16
%aC=bitcast i8*%aB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_239 to void(...)*),void(...)**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 24
%aE=bitcast i8*%aD to i32*
store i32 -2147483647,i32*%aE,align 4
%aF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aG=call fastcc i8*%ak(i8*inreg%aF,i8*inreg%au)
%aH=getelementptr inbounds i8,i8*%aG,i64 16
%aI=bitcast i8*%aH to i8*(i8*,i8*)**
%aJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aI,align 8
%aK=bitcast i8*%aG to i8**
%aL=load i8*,i8**%aK,align 8
%aM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aN=call fastcc i8*%aJ(i8*inreg%aL,i8*inreg%aM)
store i8*%aN,i8**%c,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
%aR=load i8*,i8**%c,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=load i8*,i8**%d,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=load i8*,i8**%e,align 8
%aX=getelementptr inbounds i8,i8*%aO,i64 16
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aO,i64 24
%a0=bitcast i8*%aZ to i32*
store i32 7,i32*%a0,align 4
ret i8*%aO
}
define internal fastcc i8*@_SMLLLN5Subst11substTfvEnvE_240(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*@_SMLLLN5Subst11substTfvEnvE_230(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define fastcc i8*@_SMLFN5Subst11substTfvEnvE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_240 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN5Subst11substTfvEnvE_240 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define fastcc i8*@_SMLFN5Subst8substEnvE(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***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 6)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLLN5Subst8substEnvE_190(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i8*@_SMLFN5Subst7substTyE(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***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 7)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLLN5Subst7substTyE_192(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i8*@_SMLFN5Subst13substTfunkindE(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***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvar74f8fcf2aa95d944_Subst,i64 0,i32 2,i64 8)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLLN5Subst13substTfunkindE_194(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define internal fastcc i8*@_SMLLLN5Subst13substTfunkindE_246(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLLLN5Subst13substTfunkindE_159(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLLN5Subst12substTfvTfunE_249(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN5Subst12substTfvTfunE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN5Subst10substTfvTyE_250(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN5Subst10substTfvTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN5Subst12substTfvVarEE_252(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN5Subst12substTfvVarEE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN5Subst11substTfvEnvE_254(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN5Subst11substTfvEnvE(i8*inreg%b)
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}
