@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,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"substConId\00"}>,align 8
@b=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]}>*@e,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]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@c=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
@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:34.14(986)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[8x i8]}><{[4x i8]zeroinitializer,i32 -2147483640,[8x i8]c"Subst: \00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"REALIZED\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@e,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]}>*@f,i32 0,i32 0,i32 0),i32 8),i32 3}>,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:74.8(2681)\00"}>,align 8
@i=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
@j=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
@k=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
@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:360.6(14399)\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:385.6(15299)\00"}>,align 8
@r=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
@s=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
@t=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*)*@_SMLLN5Subst10substTfvTyE_297 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}>*@t,i64 0,i32 2)to i8*)
@u=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*)*@_SMLLN5Subst12substTfvTfunE_298 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN5Subst12substTfvTfunE=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*)
@v=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*)*@_SMLLN5Subst12substTfvVarEE_299 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN5Subst12substTfvVarEE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@v,i64 0,i32 2)to i8*)
@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*)*@_SMLLN5Subst11substTfvEnvE_300 to void(...)*),i32 -2147483647}>,align 8
@_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_gvarc1c49503bda88b3e_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_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@x to i64))]
@_SML_ftabc1c49503bda88b3e_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_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 0)
@_SMLZN5Subst15emptyExnIdSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 1)
@_SMLZN5Subst15emptyTypIdSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 2)
@_SMLZN5Subst10emptySubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 3)
@_SMLZN5Subst14emptyTvarSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 4)
@_SMLZN5Subst13emptyTfvSubstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 5)
@_SMLZN5Subst8substEnvE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 6)
@_SMLZN5Subst7substTyE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i32 0,i32 2,i32 7)
@_SMLZN5Subst13substTfunkindE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_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_main44ca35c4c731682b_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main60e750412e2bb4fe_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7374574ddb619c6a_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainfe1ef0bb7943f949_TvarMap()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1d614b123e80cc95_IDCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main8eb72de1faec8476_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_load44ca35c4c731682b_Symbol(i8*)local_unnamed_addr
declare void@_SML_load60e750412e2bb4fe_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load7374574ddb619c6a_LocalID(i8*)local_unnamed_addr
declare void@_SML_loadfe1ef0bb7943f949_TvarMap(i8*)local_unnamed_addr
declare void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_load8eb72de1faec8476_TfunVars(i8*)local_unnamed_addr
define private void@_SML_tabbc1c49503bda88b3e_Subst()#3{
unreachable
}
define void@_SML_loadc1c49503bda88b3e_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_load44ca35c4c731682b_Symbol(i8*%a)#0
tail call void@_SML_load60e750412e2bb4fe_RecordLabel(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load7374574ddb619c6a_LocalID(i8*%a)#0
tail call void@_SML_loadfe1ef0bb7943f949_TvarMap(i8*%a)#0
tail call void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*%a)#0
tail call void@_SML_load8eb72de1faec8476_TfunVars(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbc1c49503bda88b3e_Subst,i8*@_SML_ftabc1c49503bda88b3e_Subst,i8*bitcast([2x i64]*@x to i8*))#0
ret void
}
define void@_SML_mainc1c49503bda88b3e_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=load i8,i8*@y,align 1
%l=and i8%k,2
%m=icmp eq i8%l,0
br i1%m,label%o,label%n
n:
ret void
o:
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_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_main60e750412e2bb4fe_RecordLabel()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_mainfe1ef0bb7943f949_TvarMap()#2
tail call void@_SML_main1d614b123e80cc95_IDCalc_ppg()#2
tail call void@_SML_main8eb72de1faec8476_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
%p=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%p)#0
%q=load atomic i32,i32*@sml_check_flag unordered,align 4
%r=icmp eq i32%q,0
br i1%r,label%t,label%s
s:
invoke void@sml_check(i32 inreg%q)
to label%t unwind label%dO
t:
%u=invoke fastcc i8*@_SMLFN7TvarMap5emptyE(i32 inreg 1,i32 inreg 8)
to label%v unwind label%dO
v:
store i8*%u,i8**%b,align 8
%w=invoke fastcc i8*@_SMLFN5ConID3Map5emptyE(i32 inreg 1,i32 inreg 8)
to label%x unwind label%dO
x:
store i8*%w,i8**%c,align 8
%y=invoke fastcc i8*@_SMLFN5ExnID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%z unwind label%dO
z:
store i8*%y,i8**%d,align 8
%A=invoke fastcc i8*@_SMLFN5TypID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%B unwind label%dO
B:
store i8*%A,i8**%e,align 8
%C=call i8*@sml_alloc(i32 inreg 44)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177320,i32*%E,align 4
store i8*%C,i8**%f,align 8
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i8**
store i8*null,i8**%L,align 8
%M=load i8*,i8**%b,align 8
%N=getelementptr inbounds i8,i8*%C,i64 24
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=load i8*,i8**%e,align 8
%Q=getelementptr inbounds i8,i8*%C,i64 32
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%C,i64 40
%T=bitcast i8*%S to i32*
store i32 31,i32*%T,align 4
%U=call i8*@sml_alloc(i32 inreg 8)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 805306376,i32*%W,align 4
store i8*%U,i8**%g,align 8
%X=bitcast i8*%U to i64*
store i64 0,i64*%X,align 1
%Y=load i8*,i8**@_SMLZN6TfvSet5emptyE,align 8
%Z=bitcast i8*%U to i8**
call void@sml_write(i8*inreg%U,i8**inreg%Z,i8*inreg%Y)#0
%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**%h,align 8
%ad=load i8*,i8**%g,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**%h,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*,i8*)*@_SMLLN5Subst13substTfunkindE_179 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*,i8*)*@_SMLLN5Subst13substTfunkindE_179 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**%h,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*)*@_SMLLN5Subst12substConSpecE_180 to void(...)*),void(...)**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst12substConSpecE_180 to void(...)*),void(...)**%aA,align 8
%aB=getelementptr inbounds i8,i8*%as,i64 24
%aC=bitcast i8*%aB to i32*
store i32 -2147483647,i32*%aC,align 4
%aD=call i8*@sml_alloc(i32 inreg 28)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177304,i32*%aF,align 4
%aG=load i8*,i8**%h,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst7substTyE_181 to void(...)*),void(...)**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aD,i64 16
%aL=bitcast i8*%aK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst7substTyE_181 to void(...)*),void(...)**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aD,i64 24
%aN=bitcast i8*%aM to i32*
store i32 -2147483647,i32*%aN,align 4
%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**%h,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aO,i64 8
%aU=bitcast i8*%aT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst9substTfunE_182 to void(...)*),void(...)**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aO,i64 16
%aW=bitcast i8*%aV to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst9substTfunE_182 to void(...)*),void(...)**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aO,i64 24
%aY=bitcast i8*%aX to i32*
store i32 -2147483647,i32*%aY,align 4
%aZ=call i8*@sml_alloc(i32 inreg 28)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177304,i32*%a1,align 4
%a2=load i8*,i8**%h,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aZ,i64 8
%a5=bitcast i8*%a4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst15substKindedTvarE_183 to void(...)*),void(...)**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aZ,i64 16
%a7=bitcast i8*%a6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst15substKindedTvarE_183 to void(...)*),void(...)**%a7,align 8
%a8=getelementptr inbounds i8,i8*%aZ,i64 24
%a9=bitcast i8*%a8 to i32*
store i32 -2147483647,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**%h,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*)*@_SMLLN5Subst9substKindE_184 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*)*@_SMLLN5Subst9substKindE_184 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 28)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177304,i32*%bn,align 4
%bo=load i8*,i8**%h,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bl,i64 8
%br=bitcast i8*%bq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst9substVarEE_185 to void(...)*),void(...)**%br,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 16
%bt=bitcast i8*%bs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst9substVarEE_185 to void(...)*),void(...)**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 24
%bv=bitcast i8*%bu to i32*
store i32 -2147483647,i32*%bv,align 4
%bw=call i8*@sml_alloc(i32 inreg 28)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177304,i32*%by,align 4
%bz=load i8*,i8**%h,align 8
%bA=bitcast i8*%bw to i8**
store i8*%bz,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bw,i64 8
%bC=bitcast i8*%bB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst13substIdstatusE_186 to void(...)*),void(...)**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bw,i64 16
%bE=bitcast i8*%bD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst13substIdstatusE_186 to void(...)*),void(...)**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bw,i64 24
%bG=bitcast i8*%bF to i32*
store i32 -2147483647,i32*%bG,align 4
%bH=call i8*@sml_alloc(i32 inreg 28)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177304,i32*%bJ,align 4
%bK=load i8*,i8**%h,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bH,i64 8
%bN=bitcast i8*%bM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst11substExInfoE_187 to void(...)*),void(...)**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bH,i64 16
%bP=bitcast i8*%bO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst11substExInfoE_187 to void(...)*),void(...)**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bH,i64 24
%bR=bitcast i8*%bQ to i32*
store i32 -2147483647,i32*%bR,align 4
%bS=call i8*@sml_alloc(i32 inreg 12)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177288,i32*%bU,align 4
store i8*%bS,i8**%i,align 8
%bV=load i8*,i8**%h,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bS,i64 8
%bY=bitcast i8*%bX to i32*
store i32 1,i32*%bY,align 4
%bZ=call i8*@sml_alloc(i32 inreg 28)#0
%b0=getelementptr inbounds i8,i8*%bZ,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177304,i32*%b1,align 4
%b2=load i8*,i8**%i,align 8
%b3=bitcast i8*%bZ to i8**
store i8*%b2,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bZ,i64 8
%b5=bitcast i8*%b4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst9substTstrE_214 to void(...)*),void(...)**%b5,align 8
%b6=getelementptr inbounds i8,i8*%bZ,i64 16
%b7=bitcast i8*%b6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst9substTstrE_214 to void(...)*),void(...)**%b7,align 8
%b8=getelementptr inbounds i8,i8*%bZ,i64 24
%b9=bitcast i8*%b8 to i32*
store i32 -2147483647,i32*%b9,align 4
%ca=call i8*@sml_alloc(i32 inreg 20)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177296,i32*%cc,align 4
store i8*%ca,i8**%j,align 8
%cd=load i8*,i8**%h,align 8
%ce=bitcast i8*%ca to i8**
store i8*%cd,i8**%ce,align 8
%cf=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cg=getelementptr inbounds i8,i8*%ca,i64 8
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%ca,i64 16
%cj=bitcast i8*%ci to i32*
store i32 3,i32*%cj,align 4
%ck=call i8*@sml_alloc(i32 inreg 28)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177304,i32*%cm,align 4
%cn=load i8*,i8**%j,align 8
%co=bitcast i8*%ck to i8**
store i8*%cn,i8**%co,align 8
%cp=getelementptr inbounds i8,i8*%ck,i64 8
%cq=bitcast i8*%cp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst8substEnvE_215 to void(...)*),void(...)**%cq,align 8
%cr=getelementptr inbounds i8,i8*%ck,i64 16
%cs=bitcast i8*%cr to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst8substEnvE_215 to void(...)*),void(...)**%cs,align 8
%ct=getelementptr inbounds i8,i8*%ck,i64 24
%cu=bitcast i8*%ct to i32*
store i32 -2147483647,i32*%cu,align 4
%cv=call i8*@sml_alloc(i32 inreg 28)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177304,i32*%cx,align 4
%cy=load i8*,i8**%j,align 8
%cz=bitcast i8*%cv to i8**
store i8*%cy,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cv,i64 8
%cB=bitcast i8*%cA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst9substStrEE_216 to void(...)*),void(...)**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cv,i64 16
%cD=bitcast i8*%cC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN5Subst9substStrEE_216 to void(...)*),void(...)**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cv,i64 24
%cF=bitcast i8*%cE to i32*
store i32 -2147483647,i32*%cF,align 4
%cG=load i8*,i8**%c,align 8
store i8*null,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_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0),i8*inreg%cG)#0
%cH=load i8*,i8**%d,align 8
store i8*null,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_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 1),i8*inreg%cH)#0
%cI=load i8*,i8**%e,align 8
store i8*null,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_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 2),i8*inreg%cI)#0
%cJ=load i8*,i8**%f,align 8
store i8*null,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_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 3),i8*inreg%cJ)#0
%cK=load i8*,i8**%b,align 8
store i8*null,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_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 4),i8*inreg%cK)#0
%cL=invoke fastcc i8*@_SMLFN6TfvMap5emptyE(i32 inreg 1,i32 inreg 8)
to label%cM unwind label%dO
cM:
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 5),i8*inreg%cL)#0
%cN=call i8*@sml_alloc(i32 inreg 20)#0
%cO=getelementptr inbounds i8,i8*%cN,i64 -4
%cP=bitcast i8*%cO to i32*
store i32 1342177296,i32*%cP,align 4
store i8*%cN,i8**%b,align 8
%cQ=load i8*,i8**%g,align 8
%cR=bitcast i8*%cN to i8**
store i8*%cQ,i8**%cR,align 8
%cS=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cT=getelementptr inbounds i8,i8*%cN,i64 8
%cU=bitcast i8*%cT to i8**
store i8*%cS,i8**%cU,align 8
%cV=getelementptr inbounds i8,i8*%cN,i64 16
%cW=bitcast i8*%cV to i32*
store i32 3,i32*%cW,align 4
%cX=call i8*@sml_alloc(i32 inreg 28)#0
%cY=getelementptr inbounds i8,i8*%cX,i64 -4
%cZ=bitcast i8*%cY to i32*
store i32 1342177304,i32*%cZ,align 4
%c0=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cX,i64 8
%c3=bitcast i8*%c2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst8substEnvE_260 to void(...)*),void(...)**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cX,i64 16
%c5=bitcast i8*%c4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst8substEnvE_260 to void(...)*),void(...)**%c5,align 8
%c6=getelementptr inbounds i8,i8*%cX,i64 24
%c7=bitcast i8*%c6 to i32*
store i32 -2147483647,i32*%c7,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 6),i8*inreg%cX)#0
%c8=call i8*@sml_alloc(i32 inreg 20)#0
%c9=getelementptr inbounds i8,i8*%c8,i64 -4
%da=bitcast i8*%c9 to i32*
store i32 1342177296,i32*%da,align 4
store i8*%c8,i8**%b,align 8
%db=load i8*,i8**%g,align 8
%dc=bitcast i8*%c8 to i8**
store i8*%db,i8**%dc,align 8
%dd=load i8*,i8**%h,align 8
%de=getelementptr inbounds i8,i8*%c8,i64 8
%df=bitcast i8*%de to i8**
store i8*%dd,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%c8,i64 16
%dh=bitcast i8*%dg to i32*
store i32 3,i32*%dh,align 4
%di=call i8*@sml_alloc(i32 inreg 28)#0
%dj=getelementptr inbounds i8,i8*%di,i64 -4
%dk=bitcast i8*%dj to i32*
store i32 1342177304,i32*%dk,align 4
%dl=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dm=bitcast i8*%di to i8**
store i8*%dl,i8**%dm,align 8
%dn=getelementptr inbounds i8,i8*%di,i64 8
%do=bitcast i8*%dn to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_263 to void(...)*),void(...)**%do,align 8
%dp=getelementptr inbounds i8,i8*%di,i64 16
%dq=bitcast i8*%dp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_263 to void(...)*),void(...)**%dq,align 8
%dr=getelementptr inbounds i8,i8*%di,i64 24
%ds=bitcast i8*%dr to i32*
store i32 -2147483647,i32*%ds,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 7),i8*inreg%di)#0
%dt=call i8*@sml_alloc(i32 inreg 20)#0
%du=getelementptr inbounds i8,i8*%dt,i64 -4
%dv=bitcast i8*%du to i32*
store i32 1342177296,i32*%dv,align 4
store i8*%dt,i8**%b,align 8
%dw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dx=bitcast i8*%dt to i8**
store i8*%dw,i8**%dx,align 8
%dy=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dz=getelementptr inbounds i8,i8*%dt,i64 8
%dA=bitcast i8*%dz to i8**
store i8*%dy,i8**%dA,align 8
%dB=getelementptr inbounds i8,i8*%dt,i64 16
%dC=bitcast i8*%dB to i32*
store i32 3,i32*%dC,align 4
%dD=call i8*@sml_alloc(i32 inreg 28)#0
%dE=getelementptr inbounds i8,i8*%dD,i64 -4
%dF=bitcast i8*%dE to i32*
store i32 1342177304,i32*%dF,align 4
%dG=load i8*,i8**%b,align 8
%dH=bitcast i8*%dD to i8**
store i8*%dG,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dD,i64 8
%dJ=bitcast i8*%dI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst13substTfunkindE_266 to void(...)*),void(...)**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%dD,i64 16
%dL=bitcast i8*%dK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst13substTfunkindE_266 to void(...)*),void(...)**%dL,align 8
%dM=getelementptr inbounds i8,i8*%dD,i64 24
%dN=bitcast i8*%dM to i32*
store i32 -2147483647,i32*%dN,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 8),i8*inreg%dD)#0
call void@sml_end()#0
ret void
dO:
%dP=landingpad{i8*,i8*}
cleanup
%dQ=extractvalue{i8*,i8*}%dP,1
call void@sml_save_exn(i8*inreg%dQ)#0
call void@sml_end()#0
resume{i8*,i8*}%dP
}
define internal fastcc i32@_SMLLN5Subst10substTypIdE_166(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%c 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=getelementptr inbounds i8,i8*%n,i64 32
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call fastcc i8*@_SMLFN5TypID3Map4findE(i32 inreg 0,i32 inreg 4)
%s=getelementptr inbounds i8,i8*%r,i64 16
%t=bitcast i8*%s to i8*(i8*,i8*)**
%u=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t,align 8
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%d,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
%A=getelementptr inbounds i8,i8*%x,i64 12
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 1
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%D=bitcast i8*%x to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 8
%F=bitcast i8*%E to i32*
store i32%b,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%x,i64 16
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%J=call fastcc i8*%u(i8*inreg%I,i8*inreg%x)
%K=icmp eq i8*%J,null
br i1%K,label%L,label%M
L:
ret i32%b
M:
%N=bitcast i8*%J to i32*
%O=load i32,i32*%N,align 4
ret i32%O
}
define internal fastcc i8*@_SMLLN5Subst10substTypIdE_167(i8*inreg%a)unnamed_addr#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(i32(i8*,i32)*@_SMLLN5Subst10substTypIdE_166 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*)*@_SMLLN5Subst10substTypIdE_280 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i32@_SMLLN5Subst10substConIdE_173(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}>*@b,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]}>*@d,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*@_SMLLN5Subst10substConIdE_174(i8*inreg%a)unnamed_addr#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(i32(i8*,i32)*@_SMLLN5Subst10substConIdE_173 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*)*@_SMLLN5Subst10substConIdE_282 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i32@_SMLLN5Subst10substExnIdE_176(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call fastcc i8*@_SMLFN5ExnID3Map4findE(i32 inreg 0,i32 inreg 4)
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*)**
%l=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k,align 8
%m=bitcast i8*%i to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%d,align 8
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%u,i64 12
%y=bitcast i8*%x to i32*
store i32 0,i32*%y,align 1
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=bitcast i8*%u to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 8
%C=bitcast i8*%B to i32*
store i32%b,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%u,i64 16
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
%F=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%G=call fastcc i8*%l(i8*inreg%F,i8*inreg%u)
%H=icmp eq i8*%G,null
br i1%H,label%I,label%J
I:
ret i32%b
J:
%K=bitcast i8*%G to i32*
%L=load i32,i32*%K,align 4
ret i32%L
}
define internal fastcc i8*@_SMLLN5Subst10substExnIdE_177(i8*inreg%a)unnamed_addr#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(i32(i8*,i32)*@_SMLLN5Subst10substExnIdE_176 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*)*@_SMLLN5Subst10substExnIdE_284 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*@_SMLLN5Subst12substConSpecE_198(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst12substConSpecE_199(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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**%d,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%k,label%j
j:
call void@sml_check(i32 inreg%h)
br label%k
k:
%l=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%m=getelementptr inbounds i8,i8*%l,i64 16
%n=bitcast i8*%m to i8*(i8*,i8*)**
%o=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n,align 8
%p=bitcast i8*%l to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%f,align 8
%r=bitcast i8**%d to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=getelementptr inbounds i8*,i8**%s,i64 1
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
store i8*%w,i8**%g,align 8
%z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%w,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 28)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177304,i32*%I,align 4
%J=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substConSpecE_198 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substConSpecE_198 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%G,i64 24
%Q=bitcast i8*%P to i32*
store i32 -2147483647,i32*%Q,align 4
%R=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%S=call fastcc i8*%o(i8*inreg%R,i8*inreg%G)
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%S to i8**
%X=load i8*,i8**%W,align 8
%Y=load i8*,i8**%c,align 8
%Z=tail call fastcc i8*%V(i8*inreg%X,i8*inreg%Y)
ret i8*%Z
}
define internal fastcc i8*@_SMLLN5Subst7substTyE_201(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst7substTyE_202(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst7substTyE_203(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst7substTyE_204(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst15substKindedTvarE_183(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst9substKindE_207(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst9substVarEE_209(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst13substIdstatusE_186(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst13substTfunkindE_179(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
s:
%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**%k,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%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%e,align 8
%p=load i8*,i8**%d,align 8
br label%q
q:
%r=phi i8*[%p,%n],[%b,%s]
%t=phi i8*[%o,%n],[%c,%s]
store i8*%r,i8**%g,align 8
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 3,label%cR
i32 5,label%cQ
i32 4,label%bG
i32 2,label%bk
i32 1,label%aY
i32 0,label%O
]
w:
store i8*null,i8**%g,align 8
store i8*null,i8**%k,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]}>*@h,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*%t,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%f,align 8
%S=getelementptr inbounds i8,i8*%R,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%h,align 8
%V=getelementptr inbounds i8,i8*%R,i64 16
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%i,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 24
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%j,align 8
%ab=getelementptr inbounds i8,i8*%R,i64 32
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=load i8*,i8**%k,align 8
%af=call fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%ae,i8*inreg%r,i8*inreg%ad)
store i8*%af,i8**%d,align 8
%ag=load i8*,i8**%f,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 40
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
%ak=load i8*,i8**%g,align 8
%al=load i8*,i8**%k,align 8
%am=call fastcc i8*@_SMLLN5Subst9substVarEE_185(i8*inreg%al,i8*inreg%ak,i8*inreg%aj)
store i8*%am,i8**%e,align 8
%an=bitcast i8**%f to i8***
%ao=load i8**,i8***%an,align 8
store i8*null,i8**%f,align 8
%ap=load i8*,i8**%ao,align 8
%aq=load i8*,i8**%g,align 8
%ar=load i8*,i8**%k,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
%as=call fastcc i8*@_SMLLN5Subst12substConSpecE_180(i8*inreg%ar,i8*inreg%aq,i8*inreg%ap)
store i8*%as,i8**%f,align 8
%at=call i8*@sml_alloc(i32 inreg 52)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177328,i32*%av,align 4
store i8*%at,i8**%g,align 8
%aw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%az=getelementptr inbounds i8,i8*%at,i64 8
%aA=bitcast i8*%az to i8**
store i8*%ay,i8**%aA,align 8
%aB=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aC=getelementptr inbounds i8,i8*%at,i64 16
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aF=getelementptr inbounds i8,i8*%at,i64 24
%aG=bitcast i8*%aF to i8**
store i8*%aE,i8**%aG,align 8
%aH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aI=getelementptr inbounds i8,i8*%at,i64 32
%aJ=bitcast i8*%aI to i8**
store i8*%aH,i8**%aJ,align 8
%aK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aL=getelementptr inbounds i8,i8*%at,i64 40
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%at,i64 48
%aO=bitcast i8*%aN to i32*
store i32 63,i32*%aO,align 4
%aP=call i8*@sml_alloc(i32 inreg 20)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
%aS=bitcast i8*%aP to i64*
store i64 0,i64*%aS,align 4
%aT=load i8*,i8**%g,align 8
%aU=getelementptr inbounds i8,i8*%aP,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aP,i64 16
%aX=bitcast i8*%aW to i32*
store i32 2,i32*%aX,align 4
ret i8*%aP
aY:
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
%aZ=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aZ,i8**%d,align 8
%a0=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@g,i64 0,i32 2)to i8*))
store i8*%a0,i8**%e,align 8
%a1=call i8*@sml_alloc(i32 inreg 28)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177304,i32*%a3,align 4
store i8*%a1,i8**%f,align 8
%a4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a5=bitcast i8*%a1 to i8**
store i8*%a4,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%a1,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@d,i64 0,i32 2,i64 0),i8**%a7,align 8
%a8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a9=getelementptr inbounds i8,i8*%a1,i64 16
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a1,i64 24
%bc=bitcast i8*%bb to i32*
store i32 7,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 60)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177336,i32*%bf,align 4
%bg=getelementptr inbounds i8,i8*%bd,i64 56
%bh=bitcast i8*%bg to i32*
store i32 1,i32*%bh,align 4
%bi=load i8*,i8**%f,align 8
%bj=bitcast i8*%bd to i8**
store i8*%bi,i8**%bj,align 8
call void@sml_raise(i8*inreg%bd)#1
unreachable
bk:
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
%bl=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bl,i8**%d,align 8
%bm=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@g,i64 0,i32 2)to i8*))
store i8*%bm,i8**%e,align 8
%bn=call i8*@sml_alloc(i32 inreg 28)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177304,i32*%bp,align 4
store i8*%bn,i8**%f,align 8
%bq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bn,i64 8
%bt=bitcast i8*%bs to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@d,i64 0,i32 2,i64 0),i8**%bt,align 8
%bu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bv=getelementptr inbounds i8,i8*%bn,i64 16
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bn,i64 24
%by=bitcast i8*%bx to i32*
store i32 7,i32*%by,align 4
%bz=call i8*@sml_alloc(i32 inreg 60)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177336,i32*%bB,align 4
%bC=getelementptr inbounds i8,i8*%bz,i64 56
%bD=bitcast i8*%bC to i32*
store i32 1,i32*%bD,align 4
%bE=load i8*,i8**%f,align 8
%bF=bitcast i8*%bz to i8**
store i8*%bE,i8**%bF,align 8
call void@sml_raise(i8*inreg%bz)#1
unreachable
bG:
%bH=getelementptr inbounds i8,i8*%t,i64 8
%bI=bitcast i8*%bH to i8**
%bJ=load i8*,i8**%bI,align 8
store i8*%bJ,i8**%d,align 8
%bK=bitcast i8*%bJ to i32*
%bL=load i32,i32*%bK,align 4
%bM=getelementptr inbounds i8,i8*%bJ,i64 16
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
store i8*%bO,i8**%e,align 8
%bP=getelementptr inbounds i8,i8*%bJ,i64 32
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%f,align 8
%bS=getelementptr inbounds i8,i8*%bJ,i64 40
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
store i8*%bU,i8**%h,align 8
%bV=call fastcc i8*@_SMLLN5Subst10substTypIdE_167(i8*inreg%r)
%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**
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%i,align 8
%b1=load i8*,i8**%d,align 8
%b2=getelementptr inbounds i8,i8*%b1,i64 24
%b3=bitcast i8*%b2 to i32*
%b4=load i32,i32*%b3,align 4
%b5=call i8*@sml_alloc(i32 inreg 4)#0
%b6=bitcast i8*%b5 to i32*
%b7=getelementptr inbounds i8,i8*%b5,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 4,i32*%b8,align 4
store i32%b4,i32*%b6,align 4
%b9=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ca=call fastcc i8*%bY(i8*inreg%b9,i8*inreg%b5)
%cb=bitcast i8*%ca to i32*
%cc=load i32,i32*%cb,align 4
%cd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ce=getelementptr inbounds i8,i8*%cd,i64 8
%cf=bitcast i8*%ce to i8**
%cg=load i8*,i8**%cf,align 8
%ch=load i8*,i8**%g,align 8
%ci=load i8*,i8**%k,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
%cj=call fastcc i8*@_SMLLN5Subst12substConSpecE_180(i8*inreg%ci,i8*inreg%ch,i8*inreg%cg)
store i8*%cj,i8**%d,align 8
%ck=call i8*@sml_alloc(i32 inreg 52)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177328,i32*%cm,align 4
store i8*%ck,i8**%g,align 8
%cn=getelementptr inbounds i8,i8*%ck,i64 4
call void@llvm.memset.p0i8.i32(i8*%cn,i8 0,i32 28,i1 false)
%co=bitcast i8*%ck to i32*
store i32%bL,i32*%co,align 4
%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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ct=getelementptr inbounds i8,i8*%ck,i64 16
%cu=bitcast i8*%ct to i8**
store i8*%cs,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%ck,i64 24
%cw=bitcast i8*%cv to i32*
store i32%cc,i32*%cw,align 4
%cx=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cy=getelementptr inbounds i8,i8*%ck,i64 32
%cz=bitcast i8*%cy to i8**
store i8*%cx,i8**%cz,align 8
%cA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cB=getelementptr inbounds i8,i8*%ck,i64 40
%cC=bitcast i8*%cB to i8**
store i8*%cA,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%ck,i64 48
%cE=bitcast i8*%cD to i32*
store i32 54,i32*%cE,align 4
%cF=call i8*@sml_alloc(i32 inreg 20)#0
%cG=bitcast i8*%cF to i32*
%cH=getelementptr inbounds i8,i8*%cF,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 1342177296,i32*%cI,align 4
%cJ=getelementptr inbounds i8,i8*%cF,i64 4
%cK=bitcast i8*%cJ to i32*
store i32 0,i32*%cK,align 1
store i32 4,i32*%cG,align 4
%cL=load i8*,i8**%g,align 8
%cM=getelementptr inbounds i8,i8*%cF,i64 8
%cN=bitcast i8*%cM to i8**
store i8*%cL,i8**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cF,i64 16
%cP=bitcast i8*%cO to i32*
store i32 2,i32*%cP,align 4
ret i8*%cF
cQ:
ret i8*%t
cR:
%cS=getelementptr inbounds i8,i8*%t,i64 8
%cT=bitcast i8*%cS to i8**
%cU=load i8*,i8**%cT,align 8
store i8*%cU,i8**%d,align 8
%cV=bitcast i8*%cU to i32*
%cW=load i32,i32*%cV,align 4
%cX=getelementptr inbounds i8,i8*%cU,i64 32
%cY=bitcast i8*%cX to i8**
%cZ=load i8*,i8**%cY,align 8
store i8*%cZ,i8**%h,align 8
%c0=getelementptr inbounds i8,i8*%cU,i64 48
%c1=bitcast i8*%c0 to i8**
%c2=load i8*,i8**%c1,align 8
store i8*%c2,i8**%i,align 8
%c3=getelementptr inbounds i8,i8*%cU,i64 56
%c4=bitcast i8*%c3 to i8**
%c5=load i8*,i8**%c4,align 8
store i8*%c5,i8**%j,align 8
%c6=call fastcc i8*@_SMLLN5Subst10substTypIdE_167(i8*inreg%r)
%c7=getelementptr inbounds i8,i8*%c6,i64 16
%c8=bitcast i8*%c7 to i8*(i8*,i8*)**
%c9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c8,align 8
%da=bitcast i8*%c6 to i8**
%db=load i8*,i8**%da,align 8
store i8*%db,i8**%e,align 8
%dc=load i8*,i8**%d,align 8
%dd=getelementptr inbounds i8,i8*%dc,i64 40
%de=bitcast i8*%dd to i32*
%df=load i32,i32*%de,align 4
%dg=call i8*@sml_alloc(i32 inreg 4)#0
%dh=bitcast i8*%dg to i32*
%di=getelementptr inbounds i8,i8*%dg,i64 -4
%dj=bitcast i8*%di to i32*
store i32 4,i32*%dj,align 4
store i32%df,i32*%dh,align 4
%dk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dl=call fastcc i8*%c9(i8*inreg%dk,i8*inreg%dg)
%dm=bitcast i8*%dl to i32*
%dn=load i32,i32*%dm,align 4
%do=load i8*,i8**%d,align 8
%dp=getelementptr inbounds i8,i8*%do,i64 16
%dq=bitcast i8*%dp to i8**
%dr=load i8*,i8**%dq,align 8
%ds=load i8*,i8**%g,align 8
%dt=load i8*,i8**%k,align 8
%du=call fastcc i8*@_SMLLN5Subst12substConSpecE_180(i8*inreg%dt,i8*inreg%ds,i8*inreg%dr)
store i8*%du,i8**%e,align 8
%dv=load i8*,i8**%g,align 8
%dw=call fastcc i8*@_SMLLN5Subst10substConIdE_174(i8*inreg%dv)
%dx=call fastcc i8*@_SMLFN5ConID3Set3mapE(i8*inreg%dw)
%dy=getelementptr inbounds i8,i8*%dx,i64 16
%dz=bitcast i8*%dy to i8*(i8*,i8*)**
%dA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dz,align 8
%dB=bitcast i8*%dx to i8**
%dC=load i8*,i8**%dB,align 8
%dD=load i8*,i8**%d,align 8
%dE=getelementptr inbounds i8,i8*%dD,i64 8
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
%dH=call fastcc i8*%dA(i8*inreg%dC,i8*inreg%dG)
store i8*%dH,i8**%f,align 8
%dI=load i8*,i8**%d,align 8
%dJ=getelementptr inbounds i8,i8*%dI,i64 24
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
%dM=bitcast i8*%dL to i32*
%dN=load i32,i32*%dM,align 4
switch i32%dN,label%dO[
i32 2,label%eY
i32 0,label%eX
i32 1,label%eW
i32 4,label%eo
i32 3,label%d6
]
dO:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
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**%k,align 8
call void@sml_matchcomp_bug()
%dP=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dP,i8**%d,align 8
%dQ=call i8*@sml_alloc(i32 inreg 20)#0
%dR=getelementptr inbounds i8,i8*%dQ,i64 -4
%dS=bitcast i8*%dR to i32*
store i32 1342177296,i32*%dS,align 4
store i8*%dQ,i8**%e,align 8
%dT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dU=bitcast i8*%dQ to i8**
store i8*%dT,i8**%dU,align 8
%dV=getelementptr inbounds i8,i8*%dQ,i64 8
%dW=bitcast i8*%dV to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@c,i64 0,i32 2,i64 0),i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dQ,i64 16
%dY=bitcast i8*%dX to i32*
store i32 3,i32*%dY,align 4
%dZ=call i8*@sml_alloc(i32 inreg 60)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177336,i32*%d1,align 4
%d2=getelementptr inbounds i8,i8*%dZ,i64 56
%d3=bitcast i8*%d2 to i32*
store i32 1,i32*%d3,align 4
%d4=load i8*,i8**%e,align 8
%d5=bitcast i8*%dZ to i8**
store i8*%d4,i8**%d5,align 8
call void@sml_raise(i8*inreg%dZ)#1
unreachable
d6:
store i8*null,i8**%d,align 8
%d7=getelementptr inbounds i8,i8*%dL,i64 8
%d8=bitcast i8*%d7 to i8**
%d9=load i8*,i8**%d8,align 8
%ea=load i8*,i8**%g,align 8
%eb=load i8*,i8**%k,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
%ec=call fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%eb,i8*inreg%ea,i8*inreg%d9)
store i8*%ec,i8**%d,align 8
%ed=call i8*@sml_alloc(i32 inreg 20)#0
%ee=bitcast i8*%ed to i32*
%ef=getelementptr inbounds i8,i8*%ed,i64 -4
%eg=bitcast i8*%ef to i32*
store i32 1342177296,i32*%eg,align 4
%eh=getelementptr inbounds i8,i8*%ed,i64 4
%ei=bitcast i8*%eh to i32*
store i32 0,i32*%ei,align 1
store i32 3,i32*%ee,align 4
%ej=load i8*,i8**%d,align 8
%ek=getelementptr inbounds i8,i8*%ed,i64 8
%el=bitcast i8*%ek to i8**
store i8*%ej,i8**%el,align 8
%em=getelementptr inbounds i8,i8*%ed,i64 16
%en=bitcast i8*%em to i32*
store i32 2,i32*%en,align 4
store i8*%ed,i8**%d,align 8
br label%eZ
eo:
store i8*null,i8**%d,align 8
%ep=getelementptr inbounds i8,i8*%dL,i64 8
%eq=bitcast i8*%ep to i8**
%er=load i8*,i8**%eq,align 8
%es=bitcast i8*%er to i32*
%et=load i32,i32*%es,align 4
%eu=getelementptr inbounds i8,i8*%er,i64 8
%ev=bitcast i8*%eu to i8**
%ew=load i8*,i8**%ev,align 8
%ex=load i8*,i8**%g,align 8
%ey=load i8*,i8**%k,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
%ez=call fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%ey,i8*inreg%ex,i8*inreg%ew)
store i8*%ez,i8**%d,align 8
%eA=call i8*@sml_alloc(i32 inreg 20)#0
%eB=getelementptr inbounds i8,i8*%eA,i64 -4
%eC=bitcast i8*%eB to i32*
store i32 1342177296,i32*%eC,align 4
store i8*%eA,i8**%g,align 8
%eD=getelementptr inbounds i8,i8*%eA,i64 4
%eE=bitcast i8*%eD to i32*
store i32 0,i32*%eE,align 1
%eF=bitcast i8*%eA to i32*
store i32%et,i32*%eF,align 4
%eG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eH=getelementptr inbounds i8,i8*%eA,i64 8
%eI=bitcast i8*%eH to i8**
store i8*%eG,i8**%eI,align 8
%eJ=getelementptr inbounds i8,i8*%eA,i64 16
%eK=bitcast i8*%eJ to i32*
store i32 2,i32*%eK,align 4
%eL=call i8*@sml_alloc(i32 inreg 20)#0
%eM=bitcast i8*%eL to i32*
%eN=getelementptr inbounds i8,i8*%eL,i64 -4
%eO=bitcast i8*%eN to i32*
store i32 1342177296,i32*%eO,align 4
%eP=getelementptr inbounds i8,i8*%eL,i64 4
%eQ=bitcast i8*%eP to i32*
store i32 0,i32*%eQ,align 1
store i32 4,i32*%eM,align 4
%eR=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eS=getelementptr inbounds i8,i8*%eL,i64 8
%eT=bitcast i8*%eS to i8**
store i8*%eR,i8**%eT,align 8
%eU=getelementptr inbounds i8,i8*%eL,i64 16
%eV=bitcast i8*%eU to i32*
store i32 2,i32*%eV,align 4
store i8*%eL,i8**%d,align 8
br label%eZ
eW:
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
store i8*%dL,i8**%d,align 8
br label%eZ
eX:
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
store i8*%dL,i8**%d,align 8
br label%eZ
eY:
store i8*null,i8**%g,align 8
store i8*null,i8**%k,align 8
store i8*%dL,i8**%d,align 8
br label%eZ
eZ:
%e0=call i8*@sml_alloc(i32 inreg 68)#0
%e1=getelementptr inbounds i8,i8*%e0,i64 -4
%e2=bitcast i8*%e1 to i32*
store i32 1342177344,i32*%e2,align 4
store i8*%e0,i8**%g,align 8
%e3=getelementptr inbounds i8,i8*%e0,i64 4
call void@llvm.memset.p0i8.i32(i8*%e3,i8 0,i32 44,i1 false)
%e4=bitcast i8*%e0 to i32*
store i32%cW,i32*%e4,align 4
%e5=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%e6=getelementptr inbounds i8,i8*%e0,i64 8
%e7=bitcast i8*%e6 to i8**
store i8*%e5,i8**%e7,align 8
%e8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%e9=getelementptr inbounds i8,i8*%e0,i64 16
%fa=bitcast i8*%e9 to i8**
store i8*%e8,i8**%fa,align 8
%fb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fc=getelementptr inbounds i8,i8*%e0,i64 24
%fd=bitcast i8*%fc to i8**
store i8*%fb,i8**%fd,align 8
%fe=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ff=getelementptr inbounds i8,i8*%e0,i64 32
%fg=bitcast i8*%ff to i8**
store i8*%fe,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%e0,i64 40
%fi=bitcast i8*%fh to i32*
store i32%dn,i32*%fi,align 4
%fj=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fk=getelementptr inbounds i8,i8*%e0,i64 48
%fl=bitcast i8*%fk to i8**
store i8*%fj,i8**%fl,align 8
%fm=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fn=getelementptr inbounds i8,i8*%e0,i64 56
%fo=bitcast i8*%fn to i8**
store i8*%fm,i8**%fo,align 8
%fp=getelementptr inbounds i8,i8*%e0,i64 64
%fq=bitcast i8*%fp to i32*
store i32 222,i32*%fq,align 4
%fr=call i8*@sml_alloc(i32 inreg 20)#0
%fs=bitcast i8*%fr to i32*
%ft=getelementptr inbounds i8,i8*%fr,i64 -4
%fu=bitcast i8*%ft to i32*
store i32 1342177296,i32*%fu,align 4
%fv=getelementptr inbounds i8,i8*%fr,i64 4
%fw=bitcast i8*%fv to i32*
store i32 0,i32*%fw,align 1
store i32 3,i32*%fs,align 4
%fx=load i8*,i8**%g,align 8
%fy=getelementptr inbounds i8,i8*%fr,i64 8
%fz=bitcast i8*%fy to i8**
store i8*%fx,i8**%fz,align 8
%fA=getelementptr inbounds i8,i8*%fr,i64 16
%fB=bitcast i8*%fA to i32*
store i32 2,i32*%fB,align 4
ret i8*%fr
}
define internal fastcc i8*@_SMLLN5Subst12substConSpecE_180(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*)*@_SMLLN5Subst12substConSpecE_199 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*)*@_SMLLN5Subst12substConSpecE_199 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*@_SMLLN5Subst7substTyE_181(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
q:
%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**%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*%b,i8**%e,align 8
store i8*%c,i8**%d,align 8
store i8*%a,i8**%h,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%o,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%e,align 8
%n=load i8*,i8**%d,align 8
br label%o
o:
%p=phi i8*[%n,%l],[%c,%q]
%r=phi i8*[%m,%l],[%b,%q]
%s=getelementptr inbounds i8,i8*%r,i64 24
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%f,align 8
%v=bitcast i8*%p to i32*
%w=load i32,i32*%v,align 4
switch i32%w,label%x[
i32 8,label%P
i32 2,label%eU
i32 7,label%es
i32 3,label%P
i32 6,label%dn
i32 1,label%ch
i32 4,label%a9
i32 5,label%R
i32 0,label%P
]
x:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%y=load i8*,i8**@_SMLZ5Match,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
store i8*%z,i8**%e,align 8
%C=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@i,i64 0,i32 2,i64 0),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 60)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177336,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%I,i64 56
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%e,align 8
%O=bitcast i8*%I to i8**
store i8*%N,i8**%O,align 8
call void@sml_raise(i8*inreg%I)#1
unreachable
P:
%Q=phi i8*[%p,%o],[%p,%o],[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*),%eU],[%p,%o]
ret i8*%Q
R:
store i8*null,i8**%d,align 8
%S=getelementptr inbounds i8,i8*%p,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%f,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**%d,align 8
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
store i8*%ab,i8**%g,align 8
%ae=load i8*,i8**%e,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%h,align 8
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ab,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,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**%g,align 8
store i8*null,i8**%g,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_204 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*)*@_SMLLN5Subst7substTyE_204 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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ax=call fastcc i8*%Y(i8*inreg%aw,i8*inreg%al)
%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
%aD=bitcast i8**%f to i8***
%aE=load i8**,i8***%aD,align 8
%aF=load i8*,i8**%aE,align 8
%aG=call fastcc i8*%aA(i8*inreg%aC,i8*inreg%aF)
store i8*%aG,i8**%d,align 8
%aH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=load i8*,i8**%e,align 8
%aM=load i8*,i8**%h,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%aN=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%aM,i8*inreg%aL,i8*inreg%aK)
store i8*%aN,i8**%e,align 8
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
store i8*%aO,i8**%f,align 8
%aR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aO,i64 16
%aX=bitcast i8*%aW to i32*
store i32 3,i32*%aX,align 4
%aY=call i8*@sml_alloc(i32 inreg 20)#0
%aZ=bitcast i8*%aY to i32*
%a0=getelementptr inbounds i8,i8*%aY,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=getelementptr inbounds i8,i8*%aY,i64 4
%a3=bitcast i8*%a2 to i32*
store i32 0,i32*%a3,align 1
store i32 5,i32*%aZ,align 4
%a4=load i8*,i8**%f,align 8
%a5=getelementptr inbounds i8,i8*%aY,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aY,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 2,i32*%a8,align 4
ret i8*%aY
a9:
store i8*null,i8**%d,align 8
%ba=getelementptr inbounds i8,i8*%p,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%f,align 8
%bd=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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**%d,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
store i8*%bj,i8**%g,align 8
%bm=load i8*,i8**%e,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=load i8*,i8**%h,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=call i8*@sml_alloc(i32 inreg 28)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177304,i32*%bv,align 4
%bw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bt,i64 8
%bz=bitcast i8*%by to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_203 to void(...)*),void(...)**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bt,i64 16
%bB=bitcast i8*%bA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_203 to void(...)*),void(...)**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bt,i64 24
%bD=bitcast i8*%bC to i32*
store i32 -2147483647,i32*%bD,align 4
%bE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bF=call fastcc i8*%bg(i8*inreg%bE,i8*inreg%bt)
%bG=getelementptr inbounds i8,i8*%bF,i64 16
%bH=bitcast i8*%bG to i8*(i8*,i8*)**
%bI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bH,align 8
%bJ=bitcast i8*%bF to i8**
%bK=load i8*,i8**%bJ,align 8
%bL=bitcast i8**%f to i8***
%bM=load i8**,i8***%bL,align 8
%bN=load i8*,i8**%bM,align 8
%bO=call fastcc i8*%bI(i8*inreg%bK,i8*inreg%bN)
store i8*%bO,i8**%d,align 8
%bP=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bQ=getelementptr inbounds i8,i8*%bP,i64 8
%bR=bitcast i8*%bQ to i8**
%bS=load i8*,i8**%bR,align 8
%bT=load i8*,i8**%e,align 8
%bU=load i8*,i8**%h,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%bV=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%bU,i8*inreg%bT,i8*inreg%bS)
store i8*%bV,i8**%e,align 8
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
store i8*%bW,i8**%f,align 8
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bW,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 3,i32*%b5,align 4
%b6=call i8*@sml_alloc(i32 inreg 20)#0
%b7=bitcast i8*%b6 to i32*
%b8=getelementptr inbounds i8,i8*%b6,i64 -4
%b9=bitcast i8*%b8 to i32*
store i32 1342177296,i32*%b9,align 4
%ca=getelementptr inbounds i8,i8*%b6,i64 4
%cb=bitcast i8*%ca to i32*
store i32 0,i32*%cb,align 1
store i32 4,i32*%b7,align 4
%cc=load i8*,i8**%f,align 8
%cd=getelementptr inbounds i8,i8*%b6,i64 8
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b6,i64 16
%cg=bitcast i8*%cf to i32*
store i32 2,i32*%cg,align 4
ret i8*%b6
ch:
store i8*null,i8**%d,align 8
%ci=getelementptr inbounds i8,i8*%p,i64 8
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%f,align 8
%cl=getelementptr inbounds i8,i8*%ck,i64 8
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
%co=load i8*,i8**%h,align 8
%cp=call fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%co,i8*inreg%r,i8*inreg%cn)
store i8*%cp,i8**%d,align 8
%cq=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cr=getelementptr inbounds i8,i8*%cq,i64 16
%cs=bitcast i8*%cr to i8*(i8*,i8*)**
%ct=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cs,align 8
%cu=bitcast i8*%cq to i8**
%cv=load i8*,i8**%cu,align 8
store i8*%cv,i8**%g,align 8
%cw=call i8*@sml_alloc(i32 inreg 20)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177296,i32*%cy,align 4
store i8*%cw,i8**%i,align 8
%cz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cC=getelementptr inbounds i8,i8*%cw,i64 8
%cD=bitcast i8*%cC to i8**
store i8*%cB,i8**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cw,i64 16
%cF=bitcast i8*%cE to i32*
store i32 3,i32*%cF,align 4
%cG=call i8*@sml_alloc(i32 inreg 28)#0
%cH=getelementptr inbounds i8,i8*%cG,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 1342177304,i32*%cI,align 4
%cJ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cK=bitcast i8*%cG to i8**
store i8*%cJ,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cG,i64 8
%cM=bitcast i8*%cL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_202 to void(...)*),void(...)**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cG,i64 16
%cO=bitcast i8*%cN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_202 to void(...)*),void(...)**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cG,i64 24
%cQ=bitcast i8*%cP to i32*
store i32 -2147483647,i32*%cQ,align 4
%cR=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cS=call fastcc i8*%ct(i8*inreg%cR,i8*inreg%cG)
%cT=getelementptr inbounds i8,i8*%cS,i64 16
%cU=bitcast i8*%cT to i8*(i8*,i8*)**
%cV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cU,align 8
%cW=bitcast i8*%cS to i8**
%cX=load i8*,i8**%cW,align 8
%cY=bitcast i8**%f to i8***
%cZ=load i8**,i8***%cY,align 8
store i8*null,i8**%f,align 8
%c0=load i8*,i8**%cZ,align 8
%c1=call fastcc i8*%cV(i8*inreg%cX,i8*inreg%c0)
store i8*%c1,i8**%e,align 8
%c2=call i8*@sml_alloc(i32 inreg 20)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177296,i32*%c4,align 4
store i8*%c2,i8**%f,align 8
%c5=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c6=bitcast i8*%c2 to i8**
store i8*%c5,i8**%c6,align 8
%c7=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c8=getelementptr inbounds i8,i8*%c2,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*%c7,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c2,i64 16
%db=bitcast i8*%da to i32*
store i32 3,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 1,i32*%dd,align 4
%di=load i8*,i8**%f,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:
store i8*null,i8**%f,align 8
%do=getelementptr inbounds i8,i8*%p,i64 8
%dp=bitcast i8*%do to i8**
%dq=load i8*,i8**%dp,align 8
store i8*%dq,i8**%d,align 8
%dr=getelementptr inbounds i8,i8*%dq,i64 8
%ds=bitcast i8*%dr to i32*
%dt=load i32,i32*%ds,align 4
%du=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dv=getelementptr inbounds i8,i8*%du,i64 16
%dw=bitcast i8*%dv to i8*(i8*,i8*)**
%dx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dw,align 8
%dy=bitcast i8*%du to i8**
%dz=load i8*,i8**%dy,align 8
store i8*%dz,i8**%f,align 8
%dA=call i8*@sml_alloc(i32 inreg 20)#0
%dB=getelementptr inbounds i8,i8*%dA,i64 -4
%dC=bitcast i8*%dB to i32*
store i32 1342177296,i32*%dC,align 4
store i8*%dA,i8**%g,align 8
%dD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dE=bitcast i8*%dA to i8**
store i8*%dD,i8**%dE,align 8
%dF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dG=getelementptr inbounds i8,i8*%dA,i64 8
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dA,i64 16
%dJ=bitcast i8*%dI to i32*
store i32 3,i32*%dJ,align 4
%dK=call i8*@sml_alloc(i32 inreg 28)#0
%dL=getelementptr inbounds i8,i8*%dK,i64 -4
%dM=bitcast i8*%dL to i32*
store i32 1342177304,i32*%dM,align 4
%dN=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_201 to void(...)*),void(...)**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dK,i64 16
%dS=bitcast i8*%dR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst7substTyE_201 to void(...)*),void(...)**%dS,align 8
%dT=getelementptr inbounds i8,i8*%dK,i64 24
%dU=bitcast i8*%dT to i32*
store i32 -2147483647,i32*%dU,align 4
%dV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dW=call fastcc i8*%dx(i8*inreg%dV,i8*inreg%dK)
%dX=getelementptr inbounds i8,i8*%dW,i64 16
%dY=bitcast i8*%dX to i8*(i8*,i8*)**
%dZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dY,align 8
%d0=bitcast i8*%dW to i8**
%d1=load i8*,i8**%d0,align 8
%d2=bitcast i8**%d to i8***
%d3=load i8**,i8***%d2,align 8
store i8*null,i8**%d,align 8
%d4=load i8*,i8**%d3,align 8
%d5=call fastcc i8*%dZ(i8*inreg%d1,i8*inreg%d4)
store i8*%d5,i8**%d,align 8
%d6=call i8*@sml_alloc(i32 inreg 20)#0
%d7=getelementptr inbounds i8,i8*%d6,i64 -4
%d8=bitcast i8*%d7 to i32*
store i32 1342177296,i32*%d8,align 4
store i8*%d6,i8**%e,align 8
%d9=getelementptr inbounds i8,i8*%d6,i64 12
%ea=bitcast i8*%d9 to i32*
store i32 0,i32*%ea,align 1
%eb=load i8*,i8**%d,align 8
%ec=bitcast i8*%d6 to i8**
store i8*null,i8**%d,align 8
store i8*%eb,i8**%ec,align 8
%ed=getelementptr inbounds i8,i8*%d6,i64 8
%ee=bitcast i8*%ed to i32*
store i32%dt,i32*%ee,align 4
%ef=getelementptr inbounds i8,i8*%d6,i64 16
%eg=bitcast i8*%ef to i32*
store i32 1,i32*%eg,align 4
%eh=call i8*@sml_alloc(i32 inreg 20)#0
%ei=bitcast i8*%eh to i32*
%ej=getelementptr inbounds i8,i8*%eh,i64 -4
%ek=bitcast i8*%ej to i32*
store i32 1342177296,i32*%ek,align 4
%el=getelementptr inbounds i8,i8*%eh,i64 4
%em=bitcast i8*%el to i32*
store i32 0,i32*%em,align 1
store i32 6,i32*%ei,align 4
%en=load i8*,i8**%e,align 8
%eo=getelementptr inbounds i8,i8*%eh,i64 8
%ep=bitcast i8*%eo to i8**
store i8*%en,i8**%ep,align 8
%eq=getelementptr inbounds i8,i8*%eh,i64 16
%er=bitcast i8*%eq to i32*
store i32 2,i32*%er,align 4
ret i8*%eh
es:
store i8*null,i8**%h,align 8
%et=getelementptr inbounds i8,i8*%p,i64 8
%eu=bitcast i8*%et to i8**
%ev=load i8*,i8**%eu,align 8
store i8*%ev,i8**%e,align 8
%ew=call fastcc i8*@_SMLFN7TvarMap4findE(i32 inreg 1,i32 inreg 8)
%ex=getelementptr inbounds i8,i8*%ew,i64 16
%ey=bitcast i8*%ex to i8*(i8*,i8*)**
%ez=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ey,align 8
%eA=bitcast i8*%ew to i8**
%eB=load i8*,i8**%eA,align 8
store i8*%eB,i8**%g,align 8
%eC=call i8*@sml_alloc(i32 inreg 20)#0
%eD=getelementptr inbounds i8,i8*%eC,i64 -4
%eE=bitcast i8*%eD to i32*
store i32 1342177296,i32*%eE,align 4
%eF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eG=bitcast i8*%eC to i8**
store i8*%eF,i8**%eG,align 8
%eH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eI=getelementptr inbounds i8,i8*%eC,i64 8
%eJ=bitcast i8*%eI to i8**
store i8*%eH,i8**%eJ,align 8
%eK=getelementptr inbounds i8,i8*%eC,i64 16
%eL=bitcast i8*%eK to i32*
store i32 3,i32*%eL,align 4
%eM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eN=call fastcc i8*%ez(i8*inreg%eM,i8*inreg%eC)
%eO=icmp eq i8*%eN,null
br i1%eO,label%eP,label%eR
eP:
%eQ=load i8*,i8**%d,align 8
ret i8*%eQ
eR:
%eS=bitcast i8*%eN to i8**
%eT=load i8*,i8**%eS,align 8
ret i8*%eT
eU:
br label%P
}
define internal fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
p:
%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**%e,align 8
store i8*%c,i8**%d,align 8
store i8*%a,i8**%h,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**%e,align 8
%m=load i8*,i8**%d,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%c,%p]
%q=phi i8*[%l,%k],[%b,%p]
store i8*%q,i8**%f,align 8
%r=getelementptr inbounds i8,i8*%q,i64 24
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%o)
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
switch i32%w,label%x[
i32 0,label%e9
i32 1,label%P
]
x:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%y=load i8*,i8**@_SMLZ5Match,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
store i8*%z,i8**%e,align 8
%C=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@j,i64 0,i32 2,i64 0),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 60)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177336,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%I,i64 56
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%e,align 8
%O=bitcast i8*%I to i8**
store i8*%N,i8**%O,align 8
call void@sml_raise(i8*inreg%I)#1
unreachable
P:
%Q=getelementptr inbounds i8,i8*%u,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%g,align 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%e,align 8
%V=bitcast i8*%U to i32*
%W=load i32,i32*%V,align 4
switch i32%W,label%X[
i32 3,label%d6
i32 5,label%c3
i32 4,label%b0
i32 1,label%bc
i32 0,label%Z
]
X:
%Y=load i8*,i8**%d,align 8
ret i8*%Y
Z:
%aa=bitcast i8**%h to i8****
%ab=load i8***,i8****%aa,align 8
%ac=load i8**,i8***%ab,align 8
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%d,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%g,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%ae)
%ap=icmp eq i32%ao,0
br i1%ap,label%aC,label%aq
aq:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%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 1,i32*%as,align 4
%ax=load i8*,i8**%g,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 8
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%ar,i64 16
%aB=bitcast i8*%aA to i32*
store i32 2,i32*%aB,align 4
ret i8*%ar
aC:
%aD=load i8***,i8****%aa,align 8
%aE=load i8**,i8***%aD,align 8
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%d,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
%aJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aK=bitcast i8*%aG to i8**
store i8*%aJ,i8**%aK,align 8
%aL=load i8*,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 fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%aG)
%aR=bitcast i8**%h to i8***
%aS=load i8**,i8***%aR,align 8
%aT=load i8*,i8**%aS,align 8
%aU=bitcast i8*%aT to i8**
call void@sml_write(i8*inreg%aT,i8**inreg%aU,i8*inreg%aQ)#0
%aV=load i8*,i8**%f,align 8
%aW=load i8*,i8**%e,align 8
%aX=load i8*,i8**%h,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%aY=call fastcc i8*@_SMLLN5Subst13substTfunkindE_179(i8*inreg%aX,i8*inreg%aV,i8*inreg%aW)
%aZ=load i8*,i8**%g,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**%g,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**%d,align 8
%bd=getelementptr inbounds i8,i8*%U,i64 8
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%e,align 8
%bg=getelementptr inbounds i8,i8*%bf,i64 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
%bj=load i8*,i8**%f,align 8
%bk=load i8*,i8**%h,align 8
%bl=call fastcc i8*@_SMLLN5Subst13substTfunkindE_179(i8*inreg%bk,i8*inreg%bj,i8*inreg%bi)
store i8*%bl,i8**%d,align 8
%bm=bitcast i8**%e to i8***
%bn=load i8**,i8***%bm,align 8
store i8*null,i8**%e,align 8
%bo=load i8*,i8**%bn,align 8
%bp=load i8*,i8**%f,align 8
%bq=load i8*,i8**%h,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
%br=call fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%bq,i8*inreg%bp,i8*inreg%bo)
store i8*%br,i8**%e,align 8
%bs=call i8*@sml_alloc(i32 inreg 20)#0
%bt=getelementptr inbounds i8,i8*%bs,i64 -4
%bu=bitcast i8*%bt to i32*
store i32 1342177296,i32*%bu,align 4
store i8*%bs,i8**%f,align 8
%bv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bw=bitcast i8*%bs to i8**
store i8*%bv,i8**%bw,align 8
%bx=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%by=getelementptr inbounds i8,i8*%bs,i64 8
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bs,i64 16
%bB=bitcast i8*%bA to i32*
store i32 3,i32*%bB,align 4
%bC=call i8*@sml_alloc(i32 inreg 20)#0
%bD=bitcast i8*%bC to i32*
%bE=getelementptr inbounds i8,i8*%bC,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177296,i32*%bF,align 4
%bG=getelementptr inbounds i8,i8*%bC,i64 4
%bH=bitcast i8*%bG to i32*
store i32 0,i32*%bH,align 1
store i32 1,i32*%bD,align 4
%bI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bJ=getelementptr inbounds i8,i8*%bC,i64 8
%bK=bitcast i8*%bJ to i8**
store i8*%bI,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bC,i64 16
%bM=bitcast i8*%bL to i32*
store i32 2,i32*%bM,align 4
%bN=load i8*,i8**%g,align 8
%bO=bitcast i8*%bN to i8**
call void@sml_write(i8*inreg%bN,i8**inreg%bO,i8*inreg%bC)#0
%bP=call i8*@sml_alloc(i32 inreg 20)#0
%bQ=bitcast i8*%bP to i32*
%bR=getelementptr inbounds i8,i8*%bP,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177296,i32*%bS,align 4
%bT=getelementptr inbounds i8,i8*%bP,i64 4
%bU=bitcast i8*%bT to i32*
store i32 0,i32*%bU,align 1
store i32 1,i32*%bQ,align 4
%bV=load i8*,i8**%g,align 8
%bW=getelementptr inbounds i8,i8*%bP,i64 8
%bX=bitcast i8*%bW to i8**
store i8*%bV,i8**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bP,i64 16
%bZ=bitcast i8*%bY to i32*
store i32 2,i32*%bZ,align 4
ret i8*%bP
b0:
%b1=bitcast i8**%h to i8****
%b2=load i8***,i8****%b1,align 8
%b3=load i8**,i8***%b2,align 8
%b4=load i8*,i8**%b3,align 8
store i8*%b4,i8**%d,align 8
%b5=call i8*@sml_alloc(i32 inreg 20)#0
%b6=getelementptr inbounds i8,i8*%b5,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32 1342177296,i32*%b7,align 4
%b8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b9=bitcast i8*%b5 to i8**
store i8*%b8,i8**%b9,align 8
%ca=load i8*,i8**%g,align 8
%cb=getelementptr inbounds i8,i8*%b5,i64 8
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b5,i64 16
%ce=bitcast i8*%cd to i32*
store i32 3,i32*%ce,align 4
%cf=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%b5)
%cg=icmp eq i32%cf,0
br i1%cg,label%ct,label%ch
ch:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%ci=call i8*@sml_alloc(i32 inreg 20)#0
%cj=bitcast i8*%ci to i32*
%ck=getelementptr inbounds i8,i8*%ci,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177296,i32*%cl,align 4
%cm=getelementptr inbounds i8,i8*%ci,i64 4
%cn=bitcast i8*%cm to i32*
store i32 0,i32*%cn,align 1
store i32 1,i32*%cj,align 4
%co=load i8*,i8**%g,align 8
%cp=getelementptr inbounds i8,i8*%ci,i64 8
%cq=bitcast i8*%cp to i8**
store i8*%co,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%ci,i64 16
%cs=bitcast i8*%cr to i32*
store i32 2,i32*%cs,align 4
ret i8*%ci
ct:
%cu=load i8***,i8****%b1,align 8
%cv=load i8**,i8***%cu,align 8
%cw=load i8*,i8**%cv,align 8
store i8*%cw,i8**%d,align 8
%cx=call i8*@sml_alloc(i32 inreg 20)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177296,i32*%cz,align 4
%cA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=load i8*,i8**%g,align 8
%cD=getelementptr inbounds i8,i8*%cx,i64 8
%cE=bitcast i8*%cD to i8**
store i8*%cC,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cx,i64 16
%cG=bitcast i8*%cF to i32*
store i32 3,i32*%cG,align 4
%cH=call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%cx)
%cI=bitcast i8**%h to i8***
%cJ=load i8**,i8***%cI,align 8
%cK=load i8*,i8**%cJ,align 8
%cL=bitcast i8*%cK to i8**
call void@sml_write(i8*inreg%cK,i8**inreg%cL,i8*inreg%cH)#0
%cM=load i8*,i8**%f,align 8
%cN=load i8*,i8**%e,align 8
%cO=load i8*,i8**%h,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%cP=call fastcc i8*@_SMLLN5Subst13substTfunkindE_179(i8*inreg%cO,i8*inreg%cM,i8*inreg%cN)
%cQ=load i8*,i8**%g,align 8
%cR=bitcast i8*%cQ to i8**
call void@sml_write(i8*inreg%cQ,i8**inreg%cR,i8*inreg%cP)#0
%cS=call i8*@sml_alloc(i32 inreg 20)#0
%cT=bitcast i8*%cS to i32*
%cU=getelementptr inbounds i8,i8*%cS,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177296,i32*%cV,align 4
%cW=getelementptr inbounds i8,i8*%cS,i64 4
%cX=bitcast i8*%cW to i32*
store i32 0,i32*%cX,align 1
store i32 1,i32*%cT,align 4
%cY=load i8*,i8**%g,align 8
%cZ=getelementptr inbounds i8,i8*%cS,i64 8
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cS,i64 16
%c2=bitcast i8*%c1 to i32*
store i32 2,i32*%c2,align 4
ret i8*%cS
c3:
%c4=bitcast i8**%h to i8****
%c5=load i8***,i8****%c4,align 8
%c6=load i8**,i8***%c5,align 8
%c7=load i8*,i8**%c6,align 8
store i8*%c7,i8**%d,align 8
%c8=call i8*@sml_alloc(i32 inreg 20)#0
%c9=getelementptr inbounds i8,i8*%c8,i64 -4
%da=bitcast i8*%c9 to i32*
store i32 1342177296,i32*%da,align 4
%db=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dc=bitcast i8*%c8 to i8**
store i8*%db,i8**%dc,align 8
%dd=load i8*,i8**%g,align 8
%de=getelementptr inbounds i8,i8*%c8,i64 8
%df=bitcast i8*%de to i8**
store i8*%dd,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%c8,i64 16
%dh=bitcast i8*%dg to i32*
store i32 3,i32*%dh,align 4
%di=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%c8)
%dj=icmp eq i32%di,0
br i1%dj,label%dw,label%dk
dk:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%dl=call i8*@sml_alloc(i32 inreg 20)#0
%dm=bitcast i8*%dl to i32*
%dn=getelementptr inbounds i8,i8*%dl,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177296,i32*%do,align 4
%dp=getelementptr inbounds i8,i8*%dl,i64 4
%dq=bitcast i8*%dp to i32*
store i32 0,i32*%dq,align 1
store i32 1,i32*%dm,align 4
%dr=load i8*,i8**%g,align 8
%ds=getelementptr inbounds i8,i8*%dl,i64 8
%dt=bitcast i8*%ds to i8**
store i8*%dr,i8**%dt,align 8
%du=getelementptr inbounds i8,i8*%dl,i64 16
%dv=bitcast i8*%du to i32*
store i32 2,i32*%dv,align 4
ret i8*%dl
dw:
%dx=load i8***,i8****%c4,align 8
%dy=load i8**,i8***%dx,align 8
%dz=load i8*,i8**%dy,align 8
store i8*%dz,i8**%d,align 8
%dA=call i8*@sml_alloc(i32 inreg 20)#0
%dB=getelementptr inbounds i8,i8*%dA,i64 -4
%dC=bitcast i8*%dB to i32*
store i32 1342177296,i32*%dC,align 4
%dD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dE=bitcast i8*%dA to i8**
store i8*%dD,i8**%dE,align 8
%dF=load i8*,i8**%g,align 8
%dG=getelementptr inbounds i8,i8*%dA,i64 8
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dA,i64 16
%dJ=bitcast i8*%dI to i32*
store i32 3,i32*%dJ,align 4
%dK=call fastcc i8*@_SMLFN6TfvSet3addE(i8*inreg%dA)
%dL=bitcast i8**%h to i8***
%dM=load i8**,i8***%dL,align 8
%dN=load i8*,i8**%dM,align 8
%dO=bitcast i8*%dN to i8**
call void@sml_write(i8*inreg%dN,i8**inreg%dO,i8*inreg%dK)#0
%dP=load i8*,i8**%f,align 8
%dQ=load i8*,i8**%e,align 8
%dR=load i8*,i8**%h,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%dS=call fastcc i8*@_SMLLN5Subst13substTfunkindE_179(i8*inreg%dR,i8*inreg%dP,i8*inreg%dQ)
%dT=load i8*,i8**%g,align 8
%dU=bitcast i8*%dT to i8**
call void@sml_write(i8*inreg%dT,i8**inreg%dU,i8*inreg%dS)#0
%dV=call i8*@sml_alloc(i32 inreg 20)#0
%dW=bitcast i8*%dV to i32*
%dX=getelementptr inbounds i8,i8*%dV,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177296,i32*%dY,align 4
%dZ=getelementptr inbounds i8,i8*%dV,i64 4
%d0=bitcast i8*%dZ to i32*
store i32 0,i32*%d0,align 1
store i32 1,i32*%dW,align 4
%d1=load i8*,i8**%g,align 8
%d2=getelementptr inbounds i8,i8*%dV,i64 8
%d3=bitcast i8*%d2 to i8**
store i8*%d1,i8**%d3,align 8
%d4=getelementptr inbounds i8,i8*%dV,i64 16
%d5=bitcast i8*%d4 to i32*
store i32 2,i32*%d5,align 4
ret i8*%dV
d6:
%d7=bitcast i8**%h to i8****
%d8=load i8***,i8****%d7,align 8
%d9=load i8**,i8***%d8,align 8
%ea=load i8*,i8**%d9,align 8
store i8*%ea,i8**%d,align 8
%eb=call i8*@sml_alloc(i32 inreg 20)#0
%ec=getelementptr inbounds i8,i8*%eb,i64 -4
%ed=bitcast i8*%ec to i32*
store i32 1342177296,i32*%ed,align 4
%ee=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ef=bitcast i8*%eb to i8**
store i8*%ee,i8**%ef,align 8
%eg=load i8*,i8**%g,align 8
%eh=getelementptr inbounds i8,i8*%eb,i64 8
%ei=bitcast i8*%eh to i8**
store i8*%eg,i8**%ei,align 8
%ej=getelementptr inbounds i8,i8*%eb,i64 16
%ek=bitcast i8*%ej to i32*
store i32 3,i32*%ek,align 4
%el=call fastcc i32@_SMLFN6TfvSet6memberE(i8*inreg%eb)
%em=icmp eq i32%el,0
br i1%em,label%ez,label%en
en:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%eo=call i8*@sml_alloc(i32 inreg 20)#0
%ep=bitcast i8*%eo to i32*
%eq=getelementptr inbounds i8,i8*%eo,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177296,i32*%er,align 4
%es=getelementptr inbounds i8,i8*%eo,i64 4
%et=bitcast i8*%es to i32*
store i32 0,i32*%et,align 1
store i32 1,i32*%ep,align 4
%eu=load i8*,i8**%g,align 8
%ev=getelementptr inbounds i8,i8*%eo,i64 8
%ew=bitcast i8*%ev to i8**
store i8*%eu,i8**%ew,align 8
%ex=getelementptr inbounds i8,i8*%eo,i64 16
%ey=bitcast i8*%ex to i32*
store i32 2,i32*%ey,align 4
ret i8*%eo
ez:
%eA=load i8***,i8****%d7,align 8
%eB=load i8**,i8***%eA,align 8
%eC=load i8*,i8**%eB,align 8
store i8*%eC,i8**%d,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**%d,align 8
store i8*null,i8**%d,align 8
%eH=bitcast i8*%eD to i8**
store i8*%eG,i8**%eH,align 8
%eI=load i8*,i8**%g,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 i8*@_SMLFN6TfvSet3addE(i8*inreg%eD)
%eO=bitcast i8**%h to i8***
%eP=load i8**,i8***%eO,align 8
%eQ=load i8*,i8**%eP,align 8
%eR=bitcast i8*%eQ to i8**
call void@sml_write(i8*inreg%eQ,i8**inreg%eR,i8*inreg%eN)#0
%eS=load i8*,i8**%f,align 8
%eT=load i8*,i8**%e,align 8
%eU=load i8*,i8**%h,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%eV=call fastcc i8*@_SMLLN5Subst13substTfunkindE_179(i8*inreg%eU,i8*inreg%eS,i8*inreg%eT)
%eW=load i8*,i8**%g,align 8
%eX=bitcast i8*%eW to i8**
call void@sml_write(i8*inreg%eW,i8**inreg%eX,i8*inreg%eV)#0
%eY=call i8*@sml_alloc(i32 inreg 20)#0
%eZ=bitcast i8*%eY to i32*
%e0=getelementptr inbounds i8,i8*%eY,i64 -4
%e1=bitcast i8*%e0 to i32*
store i32 1342177296,i32*%e1,align 4
%e2=getelementptr inbounds i8,i8*%eY,i64 4
%e3=bitcast i8*%e2 to i32*
store i32 0,i32*%e3,align 1
store i32 1,i32*%eZ,align 4
%e4=load i8*,i8**%g,align 8
%e5=getelementptr inbounds i8,i8*%eY,i64 8
%e6=bitcast i8*%e5 to i8**
store i8*%e4,i8**%e6,align 8
%e7=getelementptr inbounds i8,i8*%eY,i64 16
%e8=bitcast i8*%e7 to i32*
store i32 2,i32*%e8,align 4
ret i8*%eY
e9:
%fa=getelementptr inbounds i8,i8*%u,i64 8
%fb=bitcast i8*%fa to i8**
%fc=load i8*,i8**%fb,align 8
%fd=bitcast i8*%fc to i32*
%fe=load i32,i32*%fd,align 4
%ff=getelementptr inbounds i8,i8*%fc,i64 8
%fg=bitcast i8*%ff to i8**
%fh=load i8*,i8**%fg,align 8
%fi=icmp eq i8*%fh,null
br i1%fi,label%fj,label%gU
fj:
%fk=getelementptr inbounds i8,i8*%fc,i64 16
%fl=bitcast i8*%fk to i8**
%fm=load i8*,i8**%fl,align 8
store i8*%fm,i8**%d,align 8
%fn=getelementptr inbounds i8,i8*%fc,i64 24
%fo=bitcast i8*%fn to i8**
%fp=load i8*,i8**%fo,align 8
%fq=bitcast i8*%fp to i32*
%fr=load i32,i32*%fq,align 4
%fs=icmp eq i32%fr,7
br i1%fs,label%fu,label%ft
ft:
store i8*null,i8**%e,align 8
br label%g1
fu:
store i8*null,i8**%h,align 8
%fv=getelementptr inbounds i8,i8*%fp,i64 8
%fw=bitcast i8*%fv to i8**
%fx=load i8*,i8**%fw,align 8
store i8*%fx,i8**%f,align 8
%fy=call fastcc i8*@_SMLFN7TvarMap4findE(i32 inreg 1,i32 inreg 8)
%fz=getelementptr inbounds i8,i8*%fy,i64 16
%fA=bitcast i8*%fz to i8*(i8*,i8*)**
%fB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fA,align 8
%fC=bitcast i8*%fy to i8**
%fD=load i8*,i8**%fC,align 8
store i8*%fD,i8**%g,align 8
%fE=call i8*@sml_alloc(i32 inreg 20)#0
%fF=getelementptr inbounds i8,i8*%fE,i64 -4
%fG=bitcast i8*%fF to i32*
store i32 1342177296,i32*%fG,align 4
%fH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fI=bitcast i8*%fE to i8**
store i8*%fH,i8**%fI,align 8
%fJ=load i8*,i8**%f,align 8
%fK=getelementptr inbounds i8,i8*%fE,i64 8
%fL=bitcast i8*%fK to i8**
store i8*%fJ,i8**%fL,align 8
%fM=getelementptr inbounds i8,i8*%fE,i64 16
%fN=bitcast i8*%fM to i32*
store i32 3,i32*%fN,align 4
%fO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fP=call fastcc i8*%fB(i8*inreg%fO,i8*inreg%fE)
%fQ=icmp eq i8*%fP,null
br i1%fQ,label%fR,label%gs
fR:
%fS=call i8*@sml_alloc(i32 inreg 20)#0
%fT=getelementptr inbounds i8,i8*%fS,i64 -4
%fU=bitcast i8*%fT to i32*
store i32 1342177296,i32*%fU,align 4
store i8*%fS,i8**%g,align 8
%fV=getelementptr inbounds i8,i8*%fS,i64 4
%fW=bitcast i8*%fV to i32*
store i32 0,i32*%fW,align 1
%fX=bitcast i8*%fS to i32*
store i32 7,i32*%fX,align 4
%fY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fZ=getelementptr inbounds i8,i8*%fS,i64 8
%f0=bitcast i8*%fZ to i8**
store i8*%fY,i8**%f0,align 8
%f1=getelementptr inbounds i8,i8*%fS,i64 16
%f2=bitcast i8*%f1 to i32*
store i32 2,i32*%f2,align 4
%f3=call i8*@sml_alloc(i32 inreg 36)#0
%f4=getelementptr inbounds i8,i8*%f3,i64 -4
%f5=bitcast i8*%f4 to i32*
store i32 1342177312,i32*%f5,align 4
store i8*%f3,i8**%e,align 8
%f6=getelementptr inbounds i8,i8*%f3,i64 4
%f7=bitcast i8*%f6 to i32*
store i32 0,i32*%f7,align 1
%f8=bitcast i8*%f3 to i32*
store i32%fe,i32*%f8,align 4
%f9=getelementptr inbounds i8,i8*%f3,i64 8
%ga=bitcast i8*%f9 to i8**
store i8*null,i8**%ga,align 8
%gb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gc=getelementptr inbounds i8,i8*%f3,i64 16
%gd=bitcast i8*%gc to i8**
store i8*%gb,i8**%gd,align 8
%ge=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gf=getelementptr inbounds i8,i8*%f3,i64 24
%gg=bitcast i8*%gf to i8**
store i8*%ge,i8**%gg,align 8
%gh=getelementptr inbounds i8,i8*%f3,i64 32
%gi=bitcast i8*%gh to i32*
store i32 14,i32*%gi,align 4
%gj=call i8*@sml_alloc(i32 inreg 20)#0
%gk=getelementptr inbounds i8,i8*%gj,i64 -4
%gl=bitcast i8*%gk to i32*
store i32 1342177296,i32*%gl,align 4
%gm=bitcast i8*%gj to i64*
store i64 0,i64*%gm,align 4
%gn=load i8*,i8**%e,align 8
%go=getelementptr inbounds i8,i8*%gj,i64 8
%gp=bitcast i8*%go to i8**
store i8*%gn,i8**%gp,align 8
%gq=getelementptr inbounds i8,i8*%gj,i64 16
%gr=bitcast i8*%gq to i32*
store i32 2,i32*%gr,align 4
ret i8*%gj
gs:
store i8*null,i8**%f,align 8
%gt=bitcast i8*%fP to i8**
%gu=load i8*,i8**%gt,align 8
store i8*%gu,i8**%e,align 8
%gv=call i8*@sml_alloc(i32 inreg 36)#0
%gw=getelementptr inbounds i8,i8*%gv,i64 -4
%gx=bitcast i8*%gw to i32*
store i32 1342177312,i32*%gx,align 4
store i8*%gv,i8**%f,align 8
%gy=getelementptr inbounds i8,i8*%gv,i64 4
%gz=bitcast i8*%gy to i32*
store i32 0,i32*%gz,align 1
%gA=bitcast i8*%gv to i32*
store i32%fe,i32*%gA,align 4
%gB=getelementptr inbounds i8,i8*%gv,i64 8
%gC=bitcast i8*%gB to i8**
store i8*null,i8**%gC,align 8
%gD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gE=getelementptr inbounds i8,i8*%gv,i64 16
%gF=bitcast i8*%gE to i8**
store i8*%gD,i8**%gF,align 8
%gG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gH=getelementptr inbounds i8,i8*%gv,i64 24
%gI=bitcast i8*%gH to i8**
store i8*%gG,i8**%gI,align 8
%gJ=getelementptr inbounds i8,i8*%gv,i64 32
%gK=bitcast i8*%gJ to i32*
store i32 14,i32*%gK,align 4
%gL=call i8*@sml_alloc(i32 inreg 20)#0
%gM=getelementptr inbounds i8,i8*%gL,i64 -4
%gN=bitcast i8*%gM to i32*
store i32 1342177296,i32*%gN,align 4
%gO=bitcast i8*%gL to i64*
store i64 0,i64*%gO,align 4
%gP=load i8*,i8**%f,align 8
%gQ=getelementptr inbounds i8,i8*%gL,i64 8
%gR=bitcast i8*%gQ to i8**
store i8*%gP,i8**%gR,align 8
%gS=getelementptr inbounds i8,i8*%gL,i64 16
%gT=bitcast i8*%gS to i32*
store i32 2,i32*%gT,align 4
ret i8*%gL
gU:
store i8*null,i8**%e,align 8
%gV=getelementptr inbounds i8,i8*%fc,i64 16
%gW=bitcast i8*%gV to i8**
%gX=load i8*,i8**%gW,align 8
%gY=getelementptr inbounds i8,i8*%fc,i64 24
%gZ=bitcast i8*%gY to i8**
%g0=load i8*,i8**%gZ,align 8
store i8*%gX,i8**%d,align 8
br label%g1
g1:
%g2=phi i8*[%g0,%gU],[%fp,%ft]
store i8*%fh,i8**%e,align 8
%g3=load i8*,i8**%f,align 8
%g4=load i8*,i8**%h,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
%g5=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%g4,i8*inreg%g3,i8*inreg%g2)
store i8*%g5,i8**%f,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**%g,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%fe,i32*%hb,align 4
%hc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hd=getelementptr inbounds i8,i8*%g6,i64 8
%he=bitcast i8*%hd to i8**
store i8*%hc,i8**%he,align 8
%hf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hg=getelementptr inbounds i8,i8*%g6,i64 16
%hh=bitcast i8*%hg to i8**
store i8*%hf,i8**%hh,align 8
%hi=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hj=getelementptr inbounds i8,i8*%g6,i64 24
%hk=bitcast i8*%hj to i8**
store i8*%hi,i8**%hk,align 8
%hl=getelementptr inbounds i8,i8*%g6,i64 32
%hm=bitcast i8*%hl to i32*
store i32 14,i32*%hm,align 4
%hn=call i8*@sml_alloc(i32 inreg 20)#0
%ho=getelementptr inbounds i8,i8*%hn,i64 -4
%hp=bitcast i8*%ho to i32*
store i32 1342177296,i32*%hp,align 4
%hq=bitcast i8*%hn to i64*
store i64 0,i64*%hq,align 4
%hr=load i8*,i8**%g,align 8
%hs=getelementptr inbounds i8,i8*%hn,i64 8
%ht=bitcast i8*%hs to i8**
store i8*%hr,i8**%ht,align 8
%hu=getelementptr inbounds i8,i8*%hn,i64 16
%hv=bitcast i8*%hu to i32*
store i32 2,i32*%hv,align 4
ret i8*%hn
}
define internal fastcc i8*@_SMLLN5Subst15substKindedTvarE_183(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
o:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=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
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
store i8*%a,i8**%f,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%m,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
%k=load i8*,i8**%d,align 8
%l=load i8*,i8**%f,align 8
br label%m
m:
%n=phi i8*[%l,%i],[%a,%o]
%p=phi i8*[%k,%i],[%b,%o]
%q=phi i8*[%j,%i],[%c,%o]
store i8*null,i8**%d,align 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%e,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*null,i8**%f,align 8
%w=call fastcc i8*@_SMLLN5Subst9substKindE_184(i8*inreg%n,i8*inreg%p,i8*inreg%v)
store i8*%w,i8**%d,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
%A=load i8*,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%x,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
ret i8*%x
}
define internal fastcc i8*@_SMLLN5Subst9substKindE_184(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
p:
%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**%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*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
store i8*%a,i8**%h,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**%e,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%c,%p]
%q=bitcast i8*%o to i32*
%r=load i32,i32*%q,align 4
switch i32%r,label%s[
i32 1,label%aW
i32 0,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**%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**%d,align 8
store i8*null,i8**%d,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]}>*@k,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**%e,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=getelementptr inbounds i8,i8*%o,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%e,align 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%f,align 8
%Q=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%g,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**%i,align 8
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,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**%i,align 8
store i8*null,i8**%i,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*)*@_SMLLN5Subst9substKindE_207 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*)*@_SMLLN5Subst9substKindE_207 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**%g,align 8
store i8*null,i8**%g,align 8
%as=call fastcc i8*%T(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**%e,align 8
store i8*null,i8**%e,align 8
%az=getelementptr inbounds i8,i8*%ay,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
%aC=call fastcc i8*%av(i8*inreg%ax,i8*inreg%aB)
store i8*%aC,i8**%d,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
store i8*%aD,i8**%e,align 8
%aG=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177296,i32*%aP,align 4
%aQ=bitcast i8*%aN to i64*
store i64 0,i64*%aQ,align 4
%aR=load i8*,i8**%e,align 8
%aS=getelementptr inbounds i8,i8*%aN,i64 8
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aN,i64 16
%aV=bitcast i8*%aU to i32*
store i32 2,i32*%aV,align 4
ret i8*%aN
aW:
store i8*null,i8**%h,align 8
%aX=getelementptr inbounds i8,i8*%o,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
%a7=getelementptr inbounds i8,i8*%a0,i64 8
%a8=bitcast i8*%a7 to i8**
store i8*%a6,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a0,i64 16
%ba=bitcast i8*%a9 to i32*
store i32 2,i32*%ba,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLLN5Subst9substVarEE_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
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*)*@_SMLLN5Subst9substVarEE_209 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*)*@_SMLLN5Subst9substVarEE_209 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*@_SMLLN5Subst13substIdstatusE_186(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
r:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
store i8*%a,i8**%j,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%p,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%e,align 8
%o=load i8*,i8**%d,align 8
br label%p
p:
%q=phi i8*[%o,%m],[%b,%r]
%s=phi i8*[%n,%m],[%c,%r]
store i8*%q,i8**%e,align 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
switch i32%u,label%v[
i32 12,label%jG
i32 13,label%jG
i32 6,label%i4
i32 7,label%ii
i32 0,label%hI
i32 1,label%gI
i32 4,label%fI
i32 5,label%eI
i32 2,label%dD
i32 3,label%cy
i32 8,label%bF
i32 11,label%a3
i32 10,label%ar
i32 9,label%N
]
v:
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%w=load i8*,i8**@_SMLZ5Match,align 8
store i8*%w,i8**%d,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**%e,align 8
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,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]}>*@l,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**%e,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:
store i8*null,i8**%j,align 8
%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 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**%f,align 8
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=bitcast i8*%ag to i32*
%ai=getelementptr inbounds i8,i8*%ag,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ag,i64 4
%al=bitcast i8*%ak to i32*
store i32 0,i32*%al,align 1
store i32 9,i32*%ah,align 4
%am=load i8*,i8**%f,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 16
%aq=bitcast i8*%ap to i32*
store i32 2,i32*%aq,align 4
ret i8*%ag
ar:
%as=getelementptr inbounds i8,i8*%s,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%f,align 8
%ax=getelementptr inbounds i8,i8*%au,i64 8
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%g,align 8
%aA=getelementptr inbounds i8,i8*%au,i64 16
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%aE=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%aD,i8*inreg%q,i8*inreg%aC)
store i8*%aE,i8**%d,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177304,i32*%aH,align 4
store i8*%aF,i8**%e,align 8
%aI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aJ=bitcast i8*%aF to i8**
store i8*%aI,i8**%aJ,align 8
%aK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aL=getelementptr inbounds i8,i8*%aF,i64 8
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aO=getelementptr inbounds i8,i8*%aF,i64 16
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aF,i64 24
%aR=bitcast i8*%aQ to i32*
store i32 7,i32*%aR,align 4
%aS=call i8*@sml_alloc(i32 inreg 20)#0
%aT=bitcast i8*%aS to i32*
%aU=getelementptr inbounds i8,i8*%aS,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177296,i32*%aV,align 4
%aW=getelementptr inbounds i8,i8*%aS,i64 4
%aX=bitcast i8*%aW to i32*
store i32 0,i32*%aX,align 1
store i32 10,i32*%aT,align 4
%aY=load i8*,i8**%e,align 8
%aZ=getelementptr inbounds i8,i8*%aS,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aS,i64 16
%a2=bitcast i8*%a1 to i32*
store i32 2,i32*%a2,align 4
ret i8*%aS
a3:
%a4=getelementptr inbounds i8,i8*%s,i64 8
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%f,align 8
%a9=getelementptr inbounds i8,i8*%a6,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%g,align 8
%bc=getelementptr inbounds i8,i8*%a6,i64 16
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
%bf=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%bg=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%bf,i8*inreg%q,i8*inreg%be)
store i8*%bg,i8**%d,align 8
%bh=call i8*@sml_alloc(i32 inreg 28)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177304,i32*%bj,align 4
store i8*%bh,i8**%e,align 8
%bk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bn=getelementptr inbounds i8,i8*%bh,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bq=getelementptr inbounds i8,i8*%bh,i64 16
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bh,i64 24
%bt=bitcast i8*%bs to i32*
store i32 7,i32*%bt,align 4
%bu=call i8*@sml_alloc(i32 inreg 20)#0
%bv=bitcast i8*%bu to i32*
%bw=getelementptr inbounds i8,i8*%bu,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
%by=getelementptr inbounds i8,i8*%bu,i64 4
%bz=bitcast i8*%by to i32*
store i32 0,i32*%bz,align 1
store i32 11,i32*%bv,align 4
%bA=load i8*,i8**%e,align 8
%bB=getelementptr inbounds i8,i8*%bu,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bu,i64 16
%bE=bitcast i8*%bD to i32*
store i32 2,i32*%bE,align 4
ret i8*%bu
bF:
store i8*null,i8**%j,align 8
%bG=getelementptr inbounds i8,i8*%s,i64 8
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%d,align 8
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%e,align 8
%bL=getelementptr inbounds i8,i8*%bI,i64 8
%bM=bitcast i8*%bL to i32*
%bN=load i32,i32*%bM,align 4
%bO=getelementptr inbounds i8,i8*%bI,i64 16
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%f,align 8
%bR=getelementptr inbounds i8,i8*%bI,i64 24
%bS=bitcast i8*%bR to i8**
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%g,align 8
%bU=call i8*@sml_alloc(i32 inreg 4)#0
%bV=getelementptr inbounds i8,i8*%bU,i64 -4
%bW=bitcast i8*%bV to i32*
store i32 536870916,i32*%bW,align 4
store i8*%bU,i8**%h,align 8
%bX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bY=getelementptr inbounds i8,i8*%bX,i64 32
%bZ=bitcast i8*%bY to i32**
%b0=load i32*,i32**%bZ,align 8
%b1=load i32,i32*%b0,align 4
%b2=bitcast i8*%bU to i32*
store i32%b1,i32*%b2,align 4
%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**%d,align 8
%b6=getelementptr inbounds i8,i8*%b3,i64 12
%b7=bitcast i8*%b6 to i32*
store i32 0,i32*%b7,align 1
%b8=load i8*,i8**%e,align 8
%b9=bitcast i8*%b3 to i8**
store i8*null,i8**%e,align 8
store i8*%b8,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 8
%cb=bitcast i8*%ca to i32*
store i32%bN,i32*%cb,align 4
%cc=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cd=getelementptr inbounds i8,i8*%b3,i64 16
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cg=getelementptr inbounds i8,i8*%b3,i64 24
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cj=getelementptr inbounds i8,i8*%b3,i64 32
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%b3,i64 40
%cm=bitcast i8*%cl to i32*
store i32 29,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg 20)#0
%co=bitcast i8*%cn to i32*
%cp=getelementptr inbounds i8,i8*%cn,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
%cr=getelementptr inbounds i8,i8*%cn,i64 4
%cs=bitcast i8*%cr to i32*
store i32 0,i32*%cs,align 1
store i32 8,i32*%co,align 4
%ct=load i8*,i8**%d,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 8
%cv=bitcast i8*%cu to i8**
store i8*%ct,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cn,i64 16
%cx=bitcast i8*%cw to i32*
store i32 2,i32*%cx,align 4
ret i8*%cn
cy:
%cz=getelementptr inbounds i8,i8*%s,i64 8
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%f,align 8
%cC=bitcast i8*%cB to i8**
%cD=load i8*,i8**%cC,align 8
store i8*%cD,i8**%g,align 8
%cE=getelementptr inbounds i8,i8*%cB,i64 8
%cF=bitcast i8*%cE to i8**
%cG=load i8*,i8**%cF,align 8
store i8*%cG,i8**%h,align 8
%cH=call i8*@sml_alloc(i32 inreg 4)#0
%cI=bitcast i8*%cH to i32*
%cJ=getelementptr inbounds i8,i8*%cH,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 536870916,i32*%cK,align 4
store i8*%cH,i8**%i,align 8
%cL=load i8*,i8**%f,align 8
%cM=getelementptr inbounds i8,i8*%cL,i64 24
%cN=bitcast i8*%cM to i32**
%cO=load i32*,i32**%cN,align 8
%cP=load i32,i32*%cO,align 4
store i32%cP,i32*%cI,align 4
%cQ=getelementptr inbounds i8,i8*%cL,i64 16
%cR=bitcast i8*%cQ to i8**
%cS=load i8*,i8**%cR,align 8
%cT=load i8*,i8**%e,align 8
%cU=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cV=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%cU,i8*inreg%cT,i8*inreg%cS)
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
%c0=icmp eq i8*%cZ,null
br i1%c0,label%c1,label%c4
c1:
store i8*null,i8**%e,align 8
%c2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c3=getelementptr inbounds i8,i8*%c2,i64 32
br label%c5
c4:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
br label%c5
c5:
%c6=phi i8*[%cZ,%c4],[%c3,%c1]
%c7=bitcast i8*%c6 to i8**
%c8=load i8*,i8**%c7,align 8
store i8*%c8,i8**%e,align 8
%c9=call i8*@sml_alloc(i32 inreg 44)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177320,i32*%db,align 4
store i8*%c9,i8**%f,align 8
%dc=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dd=bitcast i8*%c9 to i8**
store i8*%dc,i8**%dd,align 8
%de=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%df=getelementptr inbounds i8,i8*%c9,i64 8
%dg=bitcast i8*%df to i8**
store i8*%de,i8**%dg,align 8
%dh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%di=getelementptr inbounds i8,i8*%c9,i64 16
%dj=bitcast i8*%di to i8**
store i8*%dh,i8**%dj,align 8
%dk=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dl=getelementptr inbounds i8,i8*%c9,i64 24
%dm=bitcast i8*%dl to i8**
store i8*%dk,i8**%dm,align 8
%dn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%do=getelementptr inbounds i8,i8*%c9,i64 32
%dp=bitcast i8*%do to i8**
store i8*%dn,i8**%dp,align 8
%dq=getelementptr inbounds i8,i8*%c9,i64 40
%dr=bitcast i8*%dq to i32*
store i32 31,i32*%dr,align 4
%ds=call i8*@sml_alloc(i32 inreg 20)#0
%dt=bitcast i8*%ds to i32*
%du=getelementptr inbounds i8,i8*%ds,i64 -4
%dv=bitcast i8*%du to i32*
store i32 1342177296,i32*%dv,align 4
%dw=getelementptr inbounds i8,i8*%ds,i64 4
%dx=bitcast i8*%dw to i32*
store i32 0,i32*%dx,align 1
store i32 3,i32*%dt,align 4
%dy=load i8*,i8**%f,align 8
%dz=getelementptr inbounds i8,i8*%ds,i64 8
%dA=bitcast i8*%dz to i8**
store i8*%dy,i8**%dA,align 8
%dB=getelementptr inbounds i8,i8*%ds,i64 16
%dC=bitcast i8*%dB to i32*
store i32 2,i32*%dC,align 4
ret i8*%ds
dD:
%dE=getelementptr inbounds i8,i8*%s,i64 8
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
store i8*%dG,i8**%f,align 8
%dH=bitcast i8*%dG to i8**
%dI=load i8*,i8**%dH,align 8
store i8*%dI,i8**%g,align 8
%dJ=getelementptr inbounds i8,i8*%dG,i64 8
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
store i8*%dL,i8**%h,align 8
%dM=call i8*@sml_alloc(i32 inreg 4)#0
%dN=bitcast i8*%dM to i32*
%dO=getelementptr inbounds i8,i8*%dM,i64 -4
%dP=bitcast i8*%dO to i32*
store i32 536870916,i32*%dP,align 4
store i8*%dM,i8**%i,align 8
%dQ=load i8*,i8**%f,align 8
%dR=getelementptr inbounds i8,i8*%dQ,i64 24
%dS=bitcast i8*%dR to i32**
%dT=load i32*,i32**%dS,align 8
%dU=load i32,i32*%dT,align 4
store i32%dU,i32*%dN,align 4
%dV=getelementptr inbounds i8,i8*%dQ,i64 16
%dW=bitcast i8*%dV to i8**
%dX=load i8*,i8**%dW,align 8
%dY=load i8*,i8**%e,align 8
%dZ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%d0=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%dZ,i8*inreg%dY,i8*inreg%dX)
store i8*%d0,i8**%d,align 8
%d1=load i8*,i8**%e,align 8
%d2=getelementptr inbounds i8,i8*%d1,i64 16
%d3=bitcast i8*%d2 to i8**
%d4=load i8*,i8**%d3,align 8
%d5=icmp eq i8*%d4,null
br i1%d5,label%d6,label%d9
d6:
store i8*null,i8**%e,align 8
%d7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d8=getelementptr inbounds i8,i8*%d7,i64 32
br label%ea
d9:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
br label%ea
ea:
%eb=phi i8*[%d4,%d9],[%d8,%d6]
%ec=bitcast i8*%eb to i8**
%ed=load i8*,i8**%ec,align 8
store i8*%ed,i8**%e,align 8
%ee=call i8*@sml_alloc(i32 inreg 44)#0
%ef=getelementptr inbounds i8,i8*%ee,i64 -4
%eg=bitcast i8*%ef to i32*
store i32 1342177320,i32*%eg,align 4
store i8*%ee,i8**%f,align 8
%eh=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ei=bitcast i8*%ee to i8**
store i8*%eh,i8**%ei,align 8
%ej=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ek=getelementptr inbounds i8,i8*%ee,i64 8
%el=bitcast i8*%ek to i8**
store i8*%ej,i8**%el,align 8
%em=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%en=getelementptr inbounds i8,i8*%ee,i64 16
%eo=bitcast i8*%en to i8**
store i8*%em,i8**%eo,align 8
%ep=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eq=getelementptr inbounds i8,i8*%ee,i64 24
%er=bitcast i8*%eq to i8**
store i8*%ep,i8**%er,align 8
%es=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%et=getelementptr inbounds i8,i8*%ee,i64 32
%eu=bitcast i8*%et to i8**
store i8*%es,i8**%eu,align 8
%ev=getelementptr inbounds i8,i8*%ee,i64 40
%ew=bitcast i8*%ev to i32*
store i32 31,i32*%ew,align 4
%ex=call i8*@sml_alloc(i32 inreg 20)#0
%ey=bitcast i8*%ex to i32*
%ez=getelementptr inbounds i8,i8*%ex,i64 -4
%eA=bitcast i8*%ez to i32*
store i32 1342177296,i32*%eA,align 4
%eB=getelementptr inbounds i8,i8*%ex,i64 4
%eC=bitcast i8*%eB to i32*
store i32 0,i32*%eC,align 1
store i32 2,i32*%ey,align 4
%eD=load i8*,i8**%f,align 8
%eE=getelementptr inbounds i8,i8*%ex,i64 8
%eF=bitcast i8*%eE to i8**
store i8*%eD,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%ex,i64 16
%eH=bitcast i8*%eG to i32*
store i32 2,i32*%eH,align 4
ret i8*%ex
eI:
%eJ=getelementptr inbounds i8,i8*%s,i64 8
%eK=bitcast i8*%eJ to i8**
%eL=load i8*,i8**%eK,align 8
store i8*%eL,i8**%d,align 8
%eM=bitcast i8*%eL to i8**
%eN=load i8*,i8**%eM,align 8
store i8*%eN,i8**%f,align 8
%eO=getelementptr inbounds i8,i8*%eL,i64 16
%eP=bitcast i8*%eO to i8**
%eQ=load i8*,i8**%eP,align 8
store i8*%eQ,i8**%g,align 8
%eR=call fastcc i8*@_SMLLN5Subst10substExnIdE_177(i8*inreg%q)
%eS=getelementptr inbounds i8,i8*%eR,i64 16
%eT=bitcast i8*%eS to i8*(i8*,i8*)**
%eU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eT,align 8
%eV=bitcast i8*%eR to i8**
%eW=load i8*,i8**%eV,align 8
store i8*%eW,i8**%h,align 8
%eX=load i8*,i8**%d,align 8
%eY=getelementptr inbounds i8,i8*%eX,i64 8
%eZ=bitcast i8*%eY to i32*
%e0=load i32,i32*%eZ,align 4
%e1=call i8*@sml_alloc(i32 inreg 4)#0
%e2=bitcast i8*%e1 to i32*
%e3=getelementptr inbounds i8,i8*%e1,i64 -4
%e4=bitcast i8*%e3 to i32*
store i32 4,i32*%e4,align 4
store i32%e0,i32*%e2,align 4
%e5=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%e6=call fastcc i8*%eU(i8*inreg%e5,i8*inreg%e1)
%e7=bitcast i8*%e6 to i32*
%e8=load i32,i32*%e7,align 4
%e9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fa=getelementptr inbounds i8,i8*%e9,i64 24
%fb=bitcast i8*%fa to i8**
%fc=load i8*,i8**%fb,align 8
%fd=load i8*,i8**%e,align 8
%fe=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%ff=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%fe,i8*inreg%fd,i8*inreg%fc)
store i8*%ff,i8**%d,align 8
%fg=call i8*@sml_alloc(i32 inreg 36)#0
%fh=getelementptr inbounds i8,i8*%fg,i64 -4
%fi=bitcast i8*%fh to i32*
store i32 1342177312,i32*%fi,align 4
store i8*%fg,i8**%e,align 8
%fj=getelementptr inbounds i8,i8*%fg,i64 12
%fk=bitcast i8*%fj to i32*
store i32 0,i32*%fk,align 1
%fl=load i8*,i8**%f,align 8
%fm=bitcast i8*%fg to i8**
store i8*null,i8**%f,align 8
store i8*%fl,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%fg,i64 8
%fo=bitcast i8*%fn to i32*
store i32%e8,i32*%fo,align 4
%fp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fq=getelementptr inbounds i8,i8*%fg,i64 16
%fr=bitcast i8*%fq to i8**
store i8*%fp,i8**%fr,align 8
%fs=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ft=getelementptr inbounds i8,i8*%fg,i64 24
%fu=bitcast i8*%ft to i8**
store i8*%fs,i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fg,i64 32
%fw=bitcast i8*%fv to i32*
store i32 13,i32*%fw,align 4
%fx=call i8*@sml_alloc(i32 inreg 20)#0
%fy=bitcast i8*%fx to i32*
%fz=getelementptr inbounds i8,i8*%fx,i64 -4
%fA=bitcast i8*%fz to i32*
store i32 1342177296,i32*%fA,align 4
%fB=getelementptr inbounds i8,i8*%fx,i64 4
%fC=bitcast i8*%fB to i32*
store i32 0,i32*%fC,align 1
store i32 5,i32*%fy,align 4
%fD=load i8*,i8**%e,align 8
%fE=getelementptr inbounds i8,i8*%fx,i64 8
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=getelementptr inbounds i8,i8*%fx,i64 16
%fH=bitcast i8*%fG to i32*
store i32 2,i32*%fH,align 4
ret i8*%fx
fI:
%fJ=getelementptr inbounds i8,i8*%s,i64 8
%fK=bitcast i8*%fJ to i8**
%fL=load i8*,i8**%fK,align 8
store i8*%fL,i8**%d,align 8
%fM=bitcast i8*%fL to i8**
%fN=load i8*,i8**%fM,align 8
store i8*%fN,i8**%f,align 8
%fO=getelementptr inbounds i8,i8*%fL,i64 16
%fP=bitcast i8*%fO to i8**
%fQ=load i8*,i8**%fP,align 8
store i8*%fQ,i8**%g,align 8
%fR=call fastcc i8*@_SMLLN5Subst10substExnIdE_177(i8*inreg%q)
%fS=getelementptr inbounds i8,i8*%fR,i64 16
%fT=bitcast i8*%fS to i8*(i8*,i8*)**
%fU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fT,align 8
%fV=bitcast i8*%fR to i8**
%fW=load i8*,i8**%fV,align 8
store i8*%fW,i8**%h,align 8
%fX=load i8*,i8**%d,align 8
%fY=getelementptr inbounds i8,i8*%fX,i64 8
%fZ=bitcast i8*%fY to i32*
%f0=load i32,i32*%fZ,align 4
%f1=call i8*@sml_alloc(i32 inreg 4)#0
%f2=bitcast i8*%f1 to i32*
%f3=getelementptr inbounds i8,i8*%f1,i64 -4
%f4=bitcast i8*%f3 to i32*
store i32 4,i32*%f4,align 4
store i32%f0,i32*%f2,align 4
%f5=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%f6=call fastcc i8*%fU(i8*inreg%f5,i8*inreg%f1)
%f7=bitcast i8*%f6 to i32*
%f8=load i32,i32*%f7,align 4
%f9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ga=getelementptr inbounds i8,i8*%f9,i64 24
%gb=bitcast i8*%ga to i8**
%gc=load i8*,i8**%gb,align 8
%gd=load i8*,i8**%e,align 8
%ge=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%gf=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%ge,i8*inreg%gd,i8*inreg%gc)
store i8*%gf,i8**%e,align 8
%gg=call i8*@sml_alloc(i32 inreg 36)#0
%gh=getelementptr inbounds i8,i8*%gg,i64 -4
%gi=bitcast i8*%gh to i32*
store i32 1342177312,i32*%gi,align 4
store i8*%gg,i8**%d,align 8
%gj=getelementptr inbounds i8,i8*%gg,i64 12
%gk=bitcast i8*%gj to i32*
store i32 0,i32*%gk,align 1
%gl=bitcast i8*%gg to i8**
%gm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
store i8*%gm,i8**%gl,align 8
%gn=getelementptr inbounds i8,i8*%gg,i64 8
%go=bitcast i8*%gn to i32*
store i32%f8,i32*%go,align 4
%gp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gq=getelementptr inbounds i8,i8*%gg,i64 16
%gr=bitcast i8*%gq to i8**
store i8*%gp,i8**%gr,align 8
%gs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gt=getelementptr inbounds i8,i8*%gg,i64 24
%gu=bitcast i8*%gt to i8**
store i8*%gs,i8**%gu,align 8
%gv=getelementptr inbounds i8,i8*%gg,i64 32
%gw=bitcast i8*%gv to i32*
store i32 13,i32*%gw,align 4
%gx=call i8*@sml_alloc(i32 inreg 20)#0
%gy=bitcast i8*%gx to i32*
%gz=getelementptr inbounds i8,i8*%gx,i64 -4
%gA=bitcast i8*%gz to i32*
store i32 1342177296,i32*%gA,align 4
%gB=getelementptr inbounds i8,i8*%gx,i64 4
%gC=bitcast i8*%gB to i32*
store i32 0,i32*%gC,align 1
store i32 4,i32*%gy,align 4
%gD=load i8*,i8**%d,align 8
%gE=getelementptr inbounds i8,i8*%gx,i64 8
%gF=bitcast i8*%gE to i8**
store i8*%gD,i8**%gF,align 8
%gG=getelementptr inbounds i8,i8*%gx,i64 16
%gH=bitcast i8*%gG to i32*
store i32 2,i32*%gH,align 4
ret i8*%gx
gI:
%gJ=getelementptr inbounds i8,i8*%s,i64 8
%gK=bitcast i8*%gJ to i8**
%gL=load i8*,i8**%gK,align 8
store i8*%gL,i8**%d,align 8
%gM=bitcast i8*%gL to i8**
%gN=load i8*,i8**%gM,align 8
store i8*%gN,i8**%f,align 8
%gO=getelementptr inbounds i8,i8*%gL,i64 16
%gP=bitcast i8*%gO to i8**
%gQ=load i8*,i8**%gP,align 8
store i8*%gQ,i8**%g,align 8
%gR=call fastcc i8*@_SMLLN5Subst10substConIdE_174(i8*inreg%q)
%gS=getelementptr inbounds i8,i8*%gR,i64 16
%gT=bitcast i8*%gS to i8*(i8*,i8*)**
%gU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gT,align 8
%gV=bitcast i8*%gR to i8**
%gW=load i8*,i8**%gV,align 8
store i8*%gW,i8**%h,align 8
%gX=load i8*,i8**%d,align 8
%gY=getelementptr inbounds i8,i8*%gX,i64 8
%gZ=bitcast i8*%gY to i32*
%g0=load i32,i32*%gZ,align 4
%g1=call i8*@sml_alloc(i32 inreg 4)#0
%g2=bitcast i8*%g1 to i32*
%g3=getelementptr inbounds i8,i8*%g1,i64 -4
%g4=bitcast i8*%g3 to i32*
store i32 4,i32*%g4,align 4
store i32%g0,i32*%g2,align 4
%g5=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%g6=call fastcc i8*%gU(i8*inreg%g5,i8*inreg%g1)
%g7=bitcast i8*%g6 to i32*
%g8=load i32,i32*%g7,align 4
%g9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ha=getelementptr inbounds i8,i8*%g9,i64 24
%hb=bitcast i8*%ha to i8**
%hc=load i8*,i8**%hb,align 8
%hd=load i8*,i8**%e,align 8
%he=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%hf=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%he,i8*inreg%hd,i8*inreg%hc)
store i8*%hf,i8**%d,align 8
%hg=call i8*@sml_alloc(i32 inreg 36)#0
%hh=getelementptr inbounds i8,i8*%hg,i64 -4
%hi=bitcast i8*%hh to i32*
store i32 1342177312,i32*%hi,align 4
store i8*%hg,i8**%e,align 8
%hj=getelementptr inbounds i8,i8*%hg,i64 12
%hk=bitcast i8*%hj to i32*
store i32 0,i32*%hk,align 1
%hl=load i8*,i8**%f,align 8
%hm=bitcast i8*%hg to i8**
store i8*null,i8**%f,align 8
store i8*%hl,i8**%hm,align 8
%hn=getelementptr inbounds i8,i8*%hg,i64 8
%ho=bitcast i8*%hn to i32*
store i32%g8,i32*%ho,align 4
%hp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hq=getelementptr inbounds i8,i8*%hg,i64 16
%hr=bitcast i8*%hq to i8**
store i8*%hp,i8**%hr,align 8
%hs=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ht=getelementptr inbounds i8,i8*%hg,i64 24
%hu=bitcast i8*%ht to i8**
store i8*%hs,i8**%hu,align 8
%hv=getelementptr inbounds i8,i8*%hg,i64 32
%hw=bitcast i8*%hv to i32*
store i32 13,i32*%hw,align 4
%hx=call i8*@sml_alloc(i32 inreg 20)#0
%hy=bitcast i8*%hx to i32*
%hz=getelementptr inbounds i8,i8*%hx,i64 -4
%hA=bitcast i8*%hz to i32*
store i32 1342177296,i32*%hA,align 4
%hB=getelementptr inbounds i8,i8*%hx,i64 4
%hC=bitcast i8*%hB to i32*
store i32 0,i32*%hC,align 1
store i32 1,i32*%hy,align 4
%hD=load i8*,i8**%e,align 8
%hE=getelementptr inbounds i8,i8*%hx,i64 8
%hF=bitcast i8*%hE to i8**
store i8*%hD,i8**%hF,align 8
%hG=getelementptr inbounds i8,i8*%hx,i64 16
%hH=bitcast i8*%hG to i32*
store i32 2,i32*%hH,align 4
ret i8*%hx
hI:
%hJ=getelementptr inbounds i8,i8*%s,i64 8
%hK=bitcast i8*%hJ to i8**
%hL=load i8*,i8**%hK,align 8
%hM=bitcast i8*%hL to i8**
%hN=load i8*,i8**%hM,align 8
store i8*%hN,i8**%f,align 8
%hO=getelementptr inbounds i8,i8*%hL,i64 8
%hP=bitcast i8*%hO to i8**
%hQ=load i8*,i8**%hP,align 8
store i8*%hQ,i8**%g,align 8
%hR=getelementptr inbounds i8,i8*%hL,i64 16
%hS=bitcast i8*%hR to i8**
%hT=load i8*,i8**%hS,align 8
%hU=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%hV=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%hU,i8*inreg%q,i8*inreg%hT)
store i8*%hV,i8**%d,align 8
%hW=call i8*@sml_alloc(i32 inreg 28)#0
%hX=getelementptr inbounds i8,i8*%hW,i64 -4
%hY=bitcast i8*%hX to i32*
store i32 1342177304,i32*%hY,align 4
store i8*%hW,i8**%e,align 8
%hZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%h0=bitcast i8*%hW to i8**
store i8*%hZ,i8**%h0,align 8
%h1=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%h2=getelementptr inbounds i8,i8*%hW,i64 8
%h3=bitcast i8*%h2 to i8**
store i8*%h1,i8**%h3,align 8
%h4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%h5=getelementptr inbounds i8,i8*%hW,i64 16
%h6=bitcast i8*%h5 to i8**
store i8*%h4,i8**%h6,align 8
%h7=getelementptr inbounds i8,i8*%hW,i64 24
%h8=bitcast i8*%h7 to i32*
store i32 7,i32*%h8,align 4
%h9=call i8*@sml_alloc(i32 inreg 20)#0
%ia=getelementptr inbounds i8,i8*%h9,i64 -4
%ib=bitcast i8*%ia to i32*
store i32 1342177296,i32*%ib,align 4
%ic=bitcast i8*%h9 to i64*
store i64 0,i64*%ic,align 4
%id=load i8*,i8**%e,align 8
%ie=getelementptr inbounds i8,i8*%h9,i64 8
%if=bitcast i8*%ie to i8**
store i8*%id,i8**%if,align 8
%ig=getelementptr inbounds i8,i8*%h9,i64 16
%ih=bitcast i8*%ig to i32*
store i32 2,i32*%ih,align 4
ret i8*%h9
ii:
store i8*null,i8**%j,align 8
%ij=getelementptr inbounds i8,i8*%s,i64 8
%ik=bitcast i8*%ij to i8**
%il=load i8*,i8**%ik,align 8
%im=bitcast i8*%il to i8**
%in=load i8*,i8**%im,align 8
store i8*%in,i8**%f,align 8
%io=getelementptr inbounds i8,i8*%il,i64 8
%ip=bitcast i8*%io to i32*
%iq=load i32,i32*%ip,align 4
%ir=getelementptr inbounds i8,i8*%il,i64 16
%is=bitcast i8*%ir to i8**
%it=load i8*,i8**%is,align 8
store i8*%it,i8**%g,align 8
%iu=getelementptr inbounds i8,i8*%q,i64 16
%iv=bitcast i8*%iu to i8**
%iw=load i8*,i8**%iv,align 8
%ix=icmp eq i8*%iw,null
store i8*null,i8**%e,align 8
%iy=getelementptr inbounds i8,i8*%il,i64 24
%iz=select i1%ix,i8*%iy,i8*%iw
%iA=bitcast i8*%iz to i8**
%iB=load i8*,i8**%iA,align 8
store i8*%iB,i8**%d,align 8
%iC=call i8*@sml_alloc(i32 inreg 36)#0
%iD=getelementptr inbounds i8,i8*%iC,i64 -4
%iE=bitcast i8*%iD to i32*
store i32 1342177312,i32*%iE,align 4
store i8*%iC,i8**%e,align 8
%iF=getelementptr inbounds i8,i8*%iC,i64 12
%iG=bitcast i8*%iF to i32*
store i32 0,i32*%iG,align 1
%iH=load i8*,i8**%f,align 8
%iI=bitcast i8*%iC to i8**
store i8*null,i8**%f,align 8
store i8*%iH,i8**%iI,align 8
%iJ=getelementptr inbounds i8,i8*%iC,i64 8
%iK=bitcast i8*%iJ to i32*
store i32%iq,i32*%iK,align 4
%iL=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%iM=getelementptr inbounds i8,i8*%iC,i64 16
%iN=bitcast i8*%iM to i8**
store i8*%iL,i8**%iN,align 8
%iO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%iP=getelementptr inbounds i8,i8*%iC,i64 24
%iQ=bitcast i8*%iP to i8**
store i8*%iO,i8**%iQ,align 8
%iR=getelementptr inbounds i8,i8*%iC,i64 32
%iS=bitcast i8*%iR to i32*
store i32 13,i32*%iS,align 4
%iT=call i8*@sml_alloc(i32 inreg 20)#0
%iU=bitcast i8*%iT to i32*
%iV=getelementptr inbounds i8,i8*%iT,i64 -4
%iW=bitcast i8*%iV to i32*
store i32 1342177296,i32*%iW,align 4
%iX=getelementptr inbounds i8,i8*%iT,i64 4
%iY=bitcast i8*%iX to i32*
store i32 0,i32*%iY,align 1
store i32 7,i32*%iU,align 4
%iZ=load i8*,i8**%e,align 8
%i0=getelementptr inbounds i8,i8*%iT,i64 8
%i1=bitcast i8*%i0 to i8**
store i8*%iZ,i8**%i1,align 8
%i2=getelementptr inbounds i8,i8*%iT,i64 16
%i3=bitcast i8*%i2 to i32*
store i32 2,i32*%i3,align 4
ret i8*%iT
i4:
%i5=getelementptr inbounds i8,i8*%s,i64 8
%i6=bitcast i8*%i5 to i8**
%i7=load i8*,i8**%i6,align 8
%i8=bitcast i8*%i7 to i8**
%i9=load i8*,i8**%i8,align 8
store i8*%i9,i8**%f,align 8
%ja=getelementptr inbounds i8,i8*%i7,i64 16
%jb=bitcast i8*%ja to i8**
%jc=load i8*,i8**%jb,align 8
store i8*%jc,i8**%g,align 8
%jd=getelementptr inbounds i8,i8*%i7,i64 8
%je=bitcast i8*%jd to i8**
%jf=load i8*,i8**%je,align 8
%jg=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%jh=call fastcc i8*@_SMLLN5Subst11substExInfoE_187(i8*inreg%jg,i8*inreg%q,i8*inreg%jf)
store i8*%jh,i8**%d,align 8
%ji=call i8*@sml_alloc(i32 inreg 28)#0
%jj=getelementptr inbounds i8,i8*%ji,i64 -4
%jk=bitcast i8*%jj to i32*
store i32 1342177304,i32*%jk,align 4
store i8*%ji,i8**%e,align 8
%jl=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jm=bitcast i8*%ji to i8**
store i8*%jl,i8**%jm,align 8
%jn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jo=getelementptr inbounds i8,i8*%ji,i64 8
%jp=bitcast i8*%jo to i8**
store i8*%jn,i8**%jp,align 8
%jq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jr=getelementptr inbounds i8,i8*%ji,i64 16
%js=bitcast i8*%jr to i8**
store i8*%jq,i8**%js,align 8
%jt=getelementptr inbounds i8,i8*%ji,i64 24
%ju=bitcast i8*%jt to i32*
store i32 7,i32*%ju,align 4
%jv=call i8*@sml_alloc(i32 inreg 20)#0
%jw=bitcast i8*%jv to i32*
%jx=getelementptr inbounds i8,i8*%jv,i64 -4
%jy=bitcast i8*%jx to i32*
store i32 1342177296,i32*%jy,align 4
%jz=getelementptr inbounds i8,i8*%jv,i64 4
%jA=bitcast i8*%jz to i32*
store i32 0,i32*%jA,align 1
store i32 6,i32*%jw,align 4
%jB=load i8*,i8**%e,align 8
%jC=getelementptr inbounds i8,i8*%jv,i64 8
%jD=bitcast i8*%jC to i8**
store i8*%jB,i8**%jD,align 8
%jE=getelementptr inbounds i8,i8*%jv,i64 16
%jF=bitcast i8*%jE to i32*
store i32 2,i32*%jF,align 4
ret i8*%jv
jG:
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst11substExInfoE_187(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
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*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
store i8*%a,i8**%i,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%n
l:
%m=bitcast i8*%c to i8**
br label%r
n:
call void@sml_check(i32 inreg%j)
%o=load i8*,i8**%d,align 8
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8**[%q,%n],[%m,%l]
%t=phi i8*[%o,%n],[%b,%l]
store i8*null,i8**%d,align 8
store i8*%t,i8**%f,align 8
%u=load i8*,i8**%s,align 8
store i8*%u,i8**%g,align 8
%v=call i8*@sml_alloc(i32 inreg 4)#0
%w=bitcast i8*%v to i32*
%x=getelementptr inbounds i8,i8*%v,i64 -4
%y=bitcast i8*%x to i32*
store i32 536870916,i32*%y,align 4
store i8*%v,i8**%h,align 8
%z=load i8*,i8**%e,align 8
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i32**
%C=load i32*,i32**%B,align 8
%D=load i32,i32*%C,align 4
store i32%D,i32*%w,align 4
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
%H=load i8*,i8**%f,align 8
%I=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%J=call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%I,i8*inreg%H,i8*inreg%G)
store i8*%J,i8**%d,align 8
%K=load i8*,i8**%f,align 8
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=icmp eq i8*%N,null
br i1%O,label%P,label%S
P:
store i8*null,i8**%f,align 8
%Q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 24
br label%T
S:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
br label%T
T:
%U=phi i8*[%N,%S],[%R,%P]
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%e,align 8
%X=call i8*@sml_alloc(i32 inreg 36)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177312,i32*%Z,align 4
%aa=load i8*,i8**%g,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=load i8*,i8**%h,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 16
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=load i8*,i8**%e,align 8
%aj=getelementptr inbounds i8,i8*%X,i64 24
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%X,i64 32
%am=bitcast i8*%al to i32*
store i32 15,i32*%am,align 4
ret i8*%X
}
define internal fastcc i8*@_SMLLN5Subst9substTstrE_211(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN5Subst7substTyE_181(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN5Subst9substTstrE_213(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%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
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
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%c,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%b,%s]
%t=bitcast i8*%r to i32*
%u=load i32,i32*%t,align 4
switch i32%u,label%v[
i32 0,label%bL
i32 1,label%N
]
v:
store i8*null,i8**%h,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,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@m,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*%r,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%e,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=getelementptr inbounds i8,i8*%Q,i64 16
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%g,align 8
%X=load i8*,i8**%h,align 8
%Y=getelementptr inbounds i8,i8*%X,i64 8
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
%ad=getelementptr inbounds i8,i8*%Q,i64 24
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%aa,i8*inreg%ac,i8*inreg%af)
store i8*%ag,i8**%c,align 8
%ah=load i8*,i8**%h,align 8
%ai=getelementptr inbounds i8,i8*%ah,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load 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
%ao=getelementptr inbounds i8,i8*%an,i64 32
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
%ar=call fastcc i8*@_SMLLN5Subst9substVarEE_185(i8*inreg%ak,i8*inreg%am,i8*inreg%aq)
store i8*%ar,i8**%d,align 8
%as=call fastcc i8*@_SMLFN9SymbolEnv3mapE(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**%k,align 8
%ay=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%j,align 8
%aE=bitcast i8**%h to i8***
%aF=load i8**,i8***%aE,align 8
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%i,align 8
%aH=getelementptr inbounds i8*,i8**%aF,i64 1
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%h,align 8
%aJ=call i8*@sml_alloc(i32 inreg 20)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177296,i32*%aL,align 4
store i8*%aJ,i8**%l,align 8
%aM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aN=bitcast i8*%aJ to i8**
store i8*%aM,i8**%aN,align 8
%aO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aP=getelementptr inbounds i8,i8*%aJ,i64 8
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aJ,i64 16
%aS=bitcast i8*%aR to i32*
store i32 3,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 28)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177304,i32*%aV,align 4
%aW=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aT,i64 8
%aZ=bitcast i8*%aY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst9substTstrE_211 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 16
%a1=bitcast i8*%a0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst9substTstrE_211 to void(...)*),void(...)**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aT,i64 24
%a3=bitcast i8*%a2 to i32*
store i32 -2147483647,i32*%a3,align 4
%a4=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%a5=call fastcc i8*%aB(i8*inreg%a4,i8*inreg%aT)
%a6=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%a7=call fastcc i8*%av(i8*inreg%a6,i8*inreg%a5)
%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
%bd=bitcast i8**%e to i8***
%be=load i8**,i8***%bd,align 8
store i8*null,i8**%e,align 8
%bf=load i8*,i8**%be,align 8
%bg=call fastcc i8*%ba(i8*inreg%bc,i8*inreg%bf)
store i8*%bg,i8**%e,align 8
%bh=call i8*@sml_alloc(i32 inreg 44)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177320,i32*%bj,align 4
store i8*%bh,i8**%h,align 8
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bn=getelementptr inbounds i8,i8*%bh,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bq=getelementptr inbounds i8,i8*%bh,i64 16
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bt=getelementptr inbounds i8,i8*%bh,i64 24
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bw=getelementptr inbounds i8,i8*%bh,i64 32
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bh,i64 40
%bz=bitcast i8*%by to i32*
store i32 31,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=bitcast i8*%bA to i32*
%bC=getelementptr inbounds i8,i8*%bA,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=getelementptr inbounds i8,i8*%bA,i64 4
%bF=bitcast i8*%bE to i32*
store i32 0,i32*%bF,align 1
store i32 1,i32*%bB,align 4
%bG=load i8*,i8**%h,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bA,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 2,i32*%bK,align 4
ret i8*%bA
bL:
%bM=getelementptr inbounds i8,i8*%r,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%c,align 8
%bR=load i8*,i8**%h,align 8
%bS=getelementptr inbounds i8,i8*%bR,i64 8
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
store i8*null,i8**%h,align 8
%bV=bitcast i8*%bR to i8**
%bW=load i8*,i8**%bV,align 8
%bX=getelementptr inbounds i8,i8*%bO,i64 8
%bY=bitcast i8*%bX to i8**
%bZ=load i8*,i8**%bY,align 8
%b0=call fastcc i8*@_SMLLN5Subst9substTfunE_182(i8*inreg%bU,i8*inreg%bW,i8*inreg%bZ)
store i8*%b0,i8**%d,align 8
%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**%e,align 8
%b4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b5=bitcast i8*%b1 to i8**
store i8*%b4,i8**%b5,align 8
%b6=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 20)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177296,i32*%cd,align 4
%ce=bitcast i8*%cb to i64*
store i64 0,i64*%ce,align 4
%cf=load i8*,i8**%e,align 8
%cg=getelementptr inbounds i8,i8*%cb,i64 8
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%cb,i64 16
%cj=bitcast i8*%ci to i32*
store i32 2,i32*%cj,align 4
ret i8*%cb
}
define internal fastcc i8*@_SMLLN5Subst9substTstrE_214(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst9substTstrE_213 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst9substTstrE_213 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN5Subst9substStrEE_217(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*%b to i8**
br label%p
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
%n=load i8*,i8**%d,align 8
%o=bitcast i8**%m to i8*
br label%p
p:
%q=phi i8*[%o,%k],[%b,%i]
%r=phi i8*[%n,%k],[%a,%i]
%s=phi i8**[%m,%k],[%j,%i]
%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*null,i8**%d,align 8
%x=bitcast i8*%r to i8**
%y=load i8*,i8**%x,align 8
%z=getelementptr inbounds i8,i8*%q,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*@_SMLLN5Subst8substEnvE_215(i8*inreg%w,i8*inreg%y,i8*inreg%B)
store i8*%C,i8**%d,align 8
%D=load i8*,i8**%c,align 8
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%f,align 8
%H=getelementptr inbounds i8,i8*%D,i64 24
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%c,align 8
%K=call i8*@sml_alloc(i32 inreg 36)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177312,i32*%M,align 4
%N=load i8*,i8**%e,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%d,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%f,align 8
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=load i8*,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%K,i64 24
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%K,i64 32
%Z=bitcast i8*%Y to i32*
store i32 15,i32*%Z,align 4
ret i8*%K
}
define internal fastcc i8*@_SMLLN5Subst8substEnvE_215(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*%a,i8**%h,align 8
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%a to i8**
br label%r
m:
call void@sml_check(i32 inreg%i)
%n=load i8*,i8**%e,align 8
%o=load i8*,i8**%d,align 8
%p=bitcast i8**%h to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8**[%q,%m],[%l,%k]
%t=phi i8*[%o,%m],[%b,%k]
%u=phi i8*[%n,%m],[%c,%k]
store i8*null,i8**%e,align 8
store i8*%u,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*%t,i8**%g,align 8
%v=load i8*,i8**%s,align 8
%w=getelementptr inbounds i8,i8*%u,i64 16
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*@_SMLLN5Subst9substVarEE_185(i8*inreg%v,i8*inreg%t,i8*inreg%y)
store i8*%z,i8**%d,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**%e,align 8
%G=load i8*,i8**%h,align 8
%H=getelementptr inbounds i8,i8*%G,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%g,align 8
%L=call fastcc i8*@_SMLLN5Subst9substTstrE_214(i8*inreg%J,i8*inreg%K)
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=call fastcc i8*%D(i8*inreg%M,i8*inreg%L)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=load i8*,i8**%f,align 8
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=call fastcc i8*%Q(i8*inreg%S,i8*inreg%W)
store i8*%X,i8**%e,align 8
%Y=bitcast i8**%f to i8***
%Z=load i8**,i8***%Y,align 8
store i8*null,i8**%f,align 8
%aa=load i8*,i8**%Z,align 8
%ab=load i8*,i8**%g,align 8
%ac=load i8*,i8**%h,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%ad=call fastcc i8*@_SMLLN5Subst9substStrEE_216(i8*inreg%ac,i8*inreg%ab,i8*inreg%aa)
store i8*%ad,i8**%f,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
%ah=load i8*,i8**%f,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%e,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=load i8*,i8**%d,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
ret i8*%ae
}
define internal fastcc i8*@_SMLLN5Subst9substStrEE_216(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**%e,align 8
store i8*%c,i8**%d,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**%e,align 8
store i8*null,i8**%e,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*)*@_SMLLN5Subst9substStrEE_217 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*)*@_SMLLN5Subst9substStrEE_217 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**%d,align 8
store i8*null,i8**%d,align 8
%V=call fastcc i8*%R(i8*inreg%T,i8*inreg%U)
ret i8*%V
}
define internal fastcc i8*@_SMLLN5Subst10substTfvTyE_237(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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN5Subst10substTfvTyE_238(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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN5Subst10substTfvTyE_239(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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN5Subst10substTfvTyE_240(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
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**%k,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%p
n:
%o=bitcast i8*%a to i8**
br label%t
p:
call void@sml_check(i32 inreg%l)
%q=load i8*,i8**%k,align 8
%r=bitcast i8**%j to i8***
%s=load i8**,i8***%r,align 8
br label%t
t:
%u=phi i8**[%s,%p],[%o,%n]
%v=phi i8*[%q,%p],[%b,%n]
%w=load i8*,i8**%u,align 8
%x=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
%y=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%y)
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%w,i8**%h,align 8
store i8*%v,i8**%i,align 8
%z=load atomic i32,i32*@sml_check_flag unordered,align 4
%A=icmp eq i32%z,0
br i1%A,label%E,label%B
B:
call void@sml_check(i32 inreg%z)
%C=load i8*,i8**%i,align 8
%D=load i8*,i8**%h,align 8
br label%E
E:
%F=phi i8*[%D,%B],[%w,%t]
%G=phi i8*[%C,%B],[%v,%t]
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%i,align 8
%J=getelementptr inbounds i8,i8*%G,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*null,i8**%h,align 8
%M=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%M)
%N=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%N)
%O=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%O)
%P=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%P)
%Q=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
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*%F,i8**%e,align 8
store i8*%L,i8**%c,align 8
%R=load atomic i32,i32*@sml_check_flag unordered,align 4
%S=icmp eq i32%R,0
br i1%S,label%V,label%T
T:
call void@sml_check(i32 inreg%R)
%U=load i8*,i8**%c,align 8
br label%V
V:
%W=phi i8*[%U,%T],[%L,%E]
%X=bitcast i8*%W to i32*
%Y=load i32,i32*%X,align 4
switch i32%Y,label%Z[
i32 1,label%bq
i32 0,label%ar
]
Z:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%aa=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aa,i8**%c,align 8
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
store i8*%ab,i8**%d,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@q,i64 0,i32 2,i64 0),i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 60)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177336,i32*%am,align 4
%an=getelementptr inbounds i8,i8*%ak,i64 56
%ao=bitcast i8*%an to i32*
store i32 1,i32*%ao,align 4
%ap=load i8*,i8**%d,align 8
%aq=bitcast i8*%ak to i8**
store i8*%ap,i8**%aq,align 8
call void@sml_raise(i8*inreg%ak)#1
unreachable
ar:
%as=getelementptr inbounds i8,i8*%W,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%c,align 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%d,align 8
%ax=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(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**%f,align 8
%aD=call i8*@sml_alloc(i32 inreg 12)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177288,i32*%aF,align 4
store i8*%aD,i8**%g,align 8
%aG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 28)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177304,i32*%aM,align 4
%aN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aK,i64 8
%aQ=bitcast i8*%aP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvKindE_242 to void(...)*),void(...)**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 16
%aS=bitcast i8*%aR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvKindE_242 to void(...)*),void(...)**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aK,i64 24
%aU=bitcast i8*%aT to i32*
store i32 -2147483647,i32*%aU,align 4
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aW=call fastcc i8*%aA(i8*inreg%aV,i8*inreg%aK)
%aX=getelementptr inbounds i8,i8*%aW,i64 16
%aY=bitcast i8*%aX to i8*(i8*,i8*)**
%aZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aY,align 8
%a0=bitcast i8*%aW to i8**
%a1=load i8*,i8**%a0,align 8
%a2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a3=getelementptr inbounds i8,i8*%a2,i64 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=call fastcc i8*%aZ(i8*inreg%a1,i8*inreg%a5)
store i8*%a6,i8**%c,align 8
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177296,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**%c,align 8
store i8*null,i8**%c,align 8
%bd=getelementptr inbounds i8,i8*%a7,i64 8
%be=bitcast i8*%bd to i8**
store i8*%bc,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%a7,i64 16
%bg=bitcast i8*%bf to i32*
store i32 3,i32*%bg,align 4
%bh=call i8*@sml_alloc(i32 inreg 20)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177296,i32*%bj,align 4
%bk=bitcast i8*%bh to i64*
store i64 0,i64*%bk,align 4
%bl=load i8*,i8**%e,align 8
%bm=getelementptr inbounds i8,i8*%bh,i64 8
%bn=bitcast i8*%bm to i8**
store i8*%bl,i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bh,i64 16
%bp=bitcast i8*%bo to i32*
store i32 2,i32*%bp,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%M)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%N)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%O)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%P)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
br label%bF
bq:
store i8*null,i8**%e,align 8
%br=getelementptr inbounds i8,i8*%W,i64 8
%bs=bitcast i8*%br to i8**
%bt=load i8*,i8**%bs,align 8
store i8*%bt,i8**%c,align 8
%bu=call i8*@sml_alloc(i32 inreg 20)#0
%bv=bitcast i8*%bu to i32*
%bw=getelementptr inbounds i8,i8*%bu,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
%by=getelementptr inbounds i8,i8*%bu,i64 4
%bz=bitcast i8*%by to i32*
store i32 0,i32*%bz,align 1
store i32 1,i32*%bv,align 4
%bA=load i8*,i8**%c,align 8
%bB=getelementptr inbounds i8,i8*%bu,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bu,i64 16
%bE=bitcast i8*%bD to i32*
store i32 2,i32*%bE,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%M)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%N)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%O)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%P)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
br label%bF
bF:
%bG=phi i8*[%bh,%ar],[%bu,%bq]
store i8*%bG,i8**%h,align 8
%bH=call i8*@sml_alloc(i32 inreg 20)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177296,i32*%bJ,align 4
%bK=load i8*,i8**%i,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%h,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
ret i8*%bH
}
define internal fastcc i8*@_SMLLN5Subst12substTfvKindE_242(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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN5Subst12substTfvTfunE_218(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**%c,align 8
store i8*%b,i8**%d,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**%d,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**%d,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**%e,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**%d,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**%f,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**%g,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**%h,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**%i,align 8
%am=getelementptr inbounds i8,i8*%aa,i64 40
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%j,align 8
%ap=getelementptr inbounds i8,i8*%aa,i64 32
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%at=call fastcc i8*@_SMLLN5Subst12substTfvTfunE_218(i8*inreg%as,i8*inreg%ar)
store i8*%at,i8**%c,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**%f,align 8
store i8*null,i8**%f,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%g,align 8
store i8*null,i8**%g,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**%h,align 8
store i8*null,i8**%h,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**%i,align 8
store i8*null,i8**%i,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**%c,align 8
store i8*null,i8**%c,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**%j,align 8
store i8*null,i8**%j,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**%e,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**%d,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**%f,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**%c,align 8
store i8*null,i8**%c,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%f,align 8
store i8*null,i8**%f,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**%d,align 8
ret i8*%bn
bo:
store i8*null,i8**%d,align 8
%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**%f,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**%c,align 8
store i8*null,i8**%c,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%f,align 8
store i8*null,i8**%f,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**%d,align 8
ret i8*%bX
bY:
store i8*null,i8**%d,align 8
%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**%f,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**%c,align 8
store i8*null,i8**%c,align 8
%cn=bitcast i8*%cj to i8**
store i8*%cm,i8**%cn,align 8
%co=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%f,align 8
store i8*null,i8**%f,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**%d,align 8
ret i8*%cx
cy:
store i8*null,i8**%d,align 8
%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**%f,align 8
%cT=call i8*@sml_alloc(i32 inreg 20)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177296,i32*%cV,align 4
%cW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%f,align 8
store i8*null,i8**%f,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**%d,align 8
ret i8*%c7
c8:
store i8*null,i8**%d,align 8
%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**%d,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**%e,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**%c,align 8
store i8*null,i8**%c,align 8
%dC=call fastcc i8*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%dB,i8*inreg%dA)
store i8*%dC,i8**%c,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**%d,align 8
store i8*null,i8**%d,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**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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*@_SMLLN5Subst10substTfvTyE_219(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%d9
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]}>*@p,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],[%d8,%d7]
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
store i8*%N,i8**%d,align 8
%O=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%c,align 8
%U=call i8*@sml_alloc(i32 inreg 12)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177288,i32*%W,align 4
store i8*%U,i8**%f,align 8
%X=load i8*,i8**%e,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i32*
store i32 1,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
%ae=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_240 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_240 to void(...)*),void(...)**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ab,i64 24
%al=bitcast i8*%ak to i32*
store i32 -2147483647,i32*%al,align 4
%am=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%an=call fastcc i8*%R(i8*inreg%am,i8*inreg%ab)
%ao=getelementptr inbounds i8,i8*%an,i64 16
%ap=bitcast i8*%ao to i8*(i8*,i8*)**
%aq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ap,align 8
%ar=bitcast i8*%an to i8**
%as=load i8*,i8**%ar,align 8
%at=bitcast i8**%d to i8***
%au=load i8**,i8***%at,align 8
%av=load i8*,i8**%au,align 8
%aw=call fastcc i8*%aq(i8*inreg%as,i8*inreg%av)
store i8*%aw,i8**%c,align 8
%ax=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aC=call fastcc i8*@_SMLLN5Subst10substTfvTyE_219(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
store i8*%a1,i8**%d,align 8
%a2=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a3=getelementptr inbounds i8,i8*%a2,i64 16
%a4=bitcast i8*%a3 to i8*(i8*,i8*)**
%a5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a4,align 8
%a6=bitcast i8*%a2 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%c,align 8
%a8=call i8*@sml_alloc(i32 inreg 12)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177288,i32*%ba,align 4
store i8*%a8,i8**%f,align 8
%bb=load i8*,i8**%e,align 8
%bc=bitcast i8*%a8 to i8**
store i8*%bb,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a8,i64 8
%be=bitcast i8*%bd to i32*
store i32 1,i32*%be,align 4
%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
%bi=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_239 to void(...)*),void(...)**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bf,i64 16
%bn=bitcast i8*%bm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_239 to void(...)*),void(...)**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bf,i64 24
%bp=bitcast i8*%bo to i32*
store i32 -2147483647,i32*%bp,align 4
%bq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%br=call fastcc i8*%a5(i8*inreg%bq,i8*inreg%bf)
%bs=getelementptr inbounds i8,i8*%br,i64 16
%bt=bitcast i8*%bs to i8*(i8*,i8*)**
%bu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bt,align 8
%bv=bitcast i8*%br to i8**
%bw=load i8*,i8**%bv,align 8
%bx=bitcast i8**%d to i8***
%by=load i8**,i8***%bx,align 8
%bz=load i8*,i8**%by,align 8
%bA=call fastcc i8*%bu(i8*inreg%bw,i8*inreg%bz)
store i8*%bA,i8**%c,align 8
%bB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 8
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
%bF=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bG=call fastcc i8*@_SMLLN5Subst10substTfvTyE_219(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
store i8*%b5,i8**%d,align 8
%b6=getelementptr inbounds i8,i8*%b5,i64 8
%b7=bitcast i8*%b6 to i8**
%b8=load i8*,i8**%b7,align 8
%b9=load i8*,i8**%e,align 8
%ca=call fastcc i8*@_SMLLN5Subst12substTfvTfunE_218(i8*inreg%b9,i8*inreg%b8)
store i8*%ca,i8**%c,align 8
%cb=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cc=getelementptr inbounds i8,i8*%cb,i64 16
%cd=bitcast i8*%cc to i8*(i8*,i8*)**
%ce=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cd,align 8
%cf=bitcast i8*%cb to i8**
%cg=load i8*,i8**%cf,align 8
store i8*%cg,i8**%f,align 8
%ch=call i8*@sml_alloc(i32 inreg 12)#0
%ci=getelementptr inbounds i8,i8*%ch,i64 -4
%cj=bitcast i8*%ci to i32*
store i32 1342177288,i32*%cj,align 4
store i8*%ch,i8**%g,align 8
%ck=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cl=bitcast i8*%ch to i8**
store i8*%ck,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%ch,i64 8
%cn=bitcast i8*%cm to i32*
store i32 1,i32*%cn,align 4
%co=call i8*@sml_alloc(i32 inreg 28)#0
%cp=getelementptr inbounds i8,i8*%co,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177304,i32*%cq,align 4
%cr=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cs=bitcast i8*%co to i8**
store i8*%cr,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%co,i64 8
%cu=bitcast i8*%ct to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_238 to void(...)*),void(...)**%cu,align 8
%cv=getelementptr inbounds i8,i8*%co,i64 16
%cw=bitcast i8*%cv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_238 to void(...)*),void(...)**%cw,align 8
%cx=getelementptr inbounds i8,i8*%co,i64 24
%cy=bitcast i8*%cx to i32*
store i32 -2147483647,i32*%cy,align 4
%cz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cA=call fastcc i8*%ce(i8*inreg%cz,i8*inreg%co)
%cB=getelementptr inbounds i8,i8*%cA,i64 16
%cC=bitcast i8*%cB to i8*(i8*,i8*)**
%cD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cC,align 8
%cE=bitcast i8*%cA to i8**
%cF=load i8*,i8**%cE,align 8
%cG=bitcast i8**%d to i8***
%cH=load i8**,i8***%cG,align 8
store i8*null,i8**%d,align 8
%cI=load i8*,i8**%cH,align 8
%cJ=call fastcc i8*%cD(i8*inreg%cF,i8*inreg%cI)
store i8*%cJ,i8**%d,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**%d,align 8
store i8*null,i8**%d,align 8
%cO=bitcast i8*%cK to i8**
store i8*%cN,i8**%cO,align 8
%cP=load i8*,i8**%c,align 8
store i8*null,i8**%c,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
store i8*%c8,i8**%c,align 8
%c9=getelementptr inbounds i8,i8*%c8,i64 8
%da=bitcast i8*%c9 to i32*
%db=load i32,i32*%da,align 4
%dc=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dd=getelementptr inbounds i8,i8*%dc,i64 16
%de=bitcast i8*%dd to i8*(i8*,i8*)**
%df=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%de,align 8
%dg=bitcast i8*%dc to i8**
%dh=load i8*,i8**%dg,align 8
store i8*%dh,i8**%d,align 8
%di=call i8*@sml_alloc(i32 inreg 12)#0
%dj=getelementptr inbounds i8,i8*%di,i64 -4
%dk=bitcast i8*%dj to i32*
store i32 1342177288,i32*%dk,align 4
store i8*%di,i8**%f,align 8
%dl=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dm=bitcast i8*%di to i8**
store i8*%dl,i8**%dm,align 8
%dn=getelementptr inbounds i8,i8*%di,i64 8
%do=bitcast i8*%dn to i32*
store i32 1,i32*%do,align 4
%dp=call i8*@sml_alloc(i32 inreg 28)#0
%dq=getelementptr inbounds i8,i8*%dp,i64 -4
%dr=bitcast i8*%dq to i32*
store i32 1342177304,i32*%dr,align 4
%ds=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dt=bitcast i8*%dp to i8**
store i8*%ds,i8**%dt,align 8
%du=getelementptr inbounds i8,i8*%dp,i64 8
%dv=bitcast i8*%du to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_237 to void(...)*),void(...)**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dp,i64 16
%dx=bitcast i8*%dw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst10substTfvTyE_237 to void(...)*),void(...)**%dx,align 8
%dy=getelementptr inbounds i8,i8*%dp,i64 24
%dz=bitcast i8*%dy to i32*
store i32 -2147483647,i32*%dz,align 4
%dA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dB=call fastcc i8*%df(i8*inreg%dA,i8*inreg%dp)
%dC=getelementptr inbounds i8,i8*%dB,i64 16
%dD=bitcast i8*%dC to i8*(i8*,i8*)**
%dE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dD,align 8
%dF=bitcast i8*%dB to i8**
%dG=load i8*,i8**%dF,align 8
%dH=bitcast i8**%c to i8***
%dI=load i8**,i8***%dH,align 8
store i8*null,i8**%c,align 8
%dJ=load i8*,i8**%dI,align 8
%dK=call fastcc i8*%dE(i8*inreg%dG,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%db,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:
%d8=phi i8*[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*),%l],[%m,%d9]
br label%I
d9:
br label%d7
}
define internal fastcc i8*@_SMLLN5Subst16substTfvIdstatusE_245(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**%c,align 8
store i8*%b,i8**%d,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**%d,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%hh
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:
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]}>*@r,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=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**%d,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**%e,align 8
%ax=bitcast i8**%c to i8***
%ay=load i8**,i8***%ax,align 8
store i8*null,i8**%c,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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%az,i8*inreg%aC)
store i8*%aD,i8**%c,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**%d,align 8
store i8*null,i8**%d,align 8
%aI=bitcast i8*%aE to i8**
store i8*%aH,i8**%aI,align 8
%aJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aK=getelementptr inbounds i8,i8*%aE,i64 8
%aL=bitcast i8*%aK to i8**
store i8*%aJ,i8**%aL,align 8
%aM=load i8*,i8**%c,align 8
store i8*null,i8**%c,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**%d,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**%e,align 8
%bb=bitcast i8**%c to i8***
%bc=load i8**,i8***%bb,align 8
store i8*null,i8**%c,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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%bd,i8*inreg%bg)
store i8*%bh,i8**%c,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**%d,align 8
store i8*null,i8**%d,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=load i8*,i8**%c,align 8
store i8*null,i8**%c,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**%d,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**%e,align 8
%bQ=getelementptr inbounds i8,i8*%bK,i64 24
%bR=bitcast i8*%bQ to i8**
%bS=load i8*,i8**%bR,align 8
store i8*%bS,i8**%f,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 32
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%g,align 8
%bW=bitcast i8**%c to i8***
%bX=load i8**,i8***%bW,align 8
store i8*null,i8**%c,align 8
%bY=load i8*,i8**%bX,align 8
%bZ=getelementptr inbounds i8,i8*%bK,i64 16
%b0=bitcast i8*%bZ to i8**
%b1=load i8*,i8**%b0,align 8
%b2=call fastcc i8*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%bY,i8*inreg%b1)
store i8*%b2,i8**%c,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**%d,align 8
store i8*null,i8**%d,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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**%f,align 8
store i8*null,i8**%f,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**%g,align 8
store i8*null,i8**%g,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**%d,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**%e,align 8
%cG=getelementptr inbounds i8,i8*%cA,i64 24
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%f,align 8
%cJ=getelementptr inbounds i8,i8*%cA,i64 32
%cK=bitcast i8*%cJ to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%g,align 8
%cM=bitcast i8**%c to i8***
%cN=load i8**,i8***%cM,align 8
store i8*null,i8**%c,align 8
%cO=load i8*,i8**%cN,align 8
%cP=getelementptr inbounds i8,i8*%cA,i64 16
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
%cS=call fastcc i8*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%cO,i8*inreg%cR)
store i8*%cS,i8**%c,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**%d,align 8
store i8*null,i8**%d,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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**%f,align 8
store i8*null,i8**%f,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**%g,align 8
store i8*null,i8**%g,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**%d,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**%e,align 8
%dz=bitcast i8**%c to i8***
%dA=load i8**,i8***%dz,align 8
store i8*null,i8**%c,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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%dB,i8*inreg%dE)
store i8*%dF,i8**%c,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**%d,align 8
%dM=bitcast i8*%dG to i8**
store i8*null,i8**%d,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**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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**%d,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**%e,align 8
%ek=bitcast i8**%c to i8***
%el=load i8**,i8***%ek,align 8
store i8*null,i8**%c,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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%em,i8*inreg%ep)
store i8*%eq,i8**%c,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**%d,align 8
%ex=bitcast i8*%er to i8**
store i8*null,i8**%d,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**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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**%d,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**%e,align 8
%e5=bitcast i8**%c to i8***
%e6=load i8**,i8***%e5,align 8
store i8*null,i8**%c,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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%e7,i8*inreg%fa)
store i8*%fb,i8**%c,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**%d,align 8
%fi=bitcast i8*%fc to i8**
store i8*null,i8**%d,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**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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**%d,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**%e,align 8
%fN=bitcast i8**%c to i8***
%fO=load i8**,i8***%fN,align 8
store i8*null,i8**%c,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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%fP,i8*inreg%fS)
store i8*%fT,i8**%c,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**%d,align 8
store i8*null,i8**%d,align 8
%fY=bitcast i8*%fU to i8**
store i8*%fX,i8**%fY,align 8
%fZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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**%e,align 8
%gm=getelementptr inbounds i8,i8*%gj,i64 8
%gn=bitcast i8*%gm to i8***
%go=load i8**,i8***%gn,align 8
%gp=load i8*,i8**%go,align 8
store i8*%gp,i8**%f,align 8
%gq=getelementptr inbounds i8*,i8**%go,i64 2
%gr=load i8*,i8**%gq,align 8
store i8*%gr,i8**%g,align 8
%gs=getelementptr inbounds i8*,i8**%go,i64 3
%gt=load i8*,i8**%gs,align 8
store i8*%gt,i8**%h,align 8
%gu=getelementptr inbounds i8,i8*%gj,i64 16
%gv=bitcast i8*%gu to i8**
%gw=load i8*,i8**%gv,align 8
store i8*%gw,i8**%i,align 8
%gx=bitcast i8**%c to i8***
%gy=load i8**,i8***%gx,align 8
store i8*null,i8**%c,align 8
%gz=load i8*,i8**%gy,align 8
%gA=getelementptr inbounds i8*,i8**%go,i64 1
%gB=load i8*,i8**%gA,align 8
%gC=call fastcc i8*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%gz,i8*inreg%gB)
store i8*%gC,i8**%c,align 8
%gD=call i8*@sml_alloc(i32 inreg 36)#0
%gE=getelementptr inbounds i8,i8*%gD,i64 -4
%gF=bitcast i8*%gE to i32*
store i32 1342177312,i32*%gF,align 4
store i8*%gD,i8**%d,align 8
%gG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gH=bitcast i8*%gD to i8**
store i8*%gG,i8**%gH,align 8
%gI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gJ=getelementptr inbounds i8,i8*%gD,i64 8
%gK=bitcast i8*%gJ to i8**
store i8*%gI,i8**%gK,align 8
%gL=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gM=getelementptr inbounds i8,i8*%gD,i64 16
%gN=bitcast i8*%gM to i8**
store i8*%gL,i8**%gN,align 8
%gO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gP=getelementptr inbounds i8,i8*%gD,i64 24
%gQ=bitcast i8*%gP to i8**
store i8*%gO,i8**%gQ,align 8
%gR=getelementptr inbounds i8,i8*%gD,i64 32
%gS=bitcast i8*%gR to i32*
store i32 15,i32*%gS,align 4
%gT=call i8*@sml_alloc(i32 inreg 28)#0
%gU=getelementptr inbounds i8,i8*%gT,i64 -4
%gV=bitcast i8*%gU to i32*
store i32 1342177304,i32*%gV,align 4
store i8*%gT,i8**%c,align 8
%gW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gX=bitcast i8*%gT to i8**
store i8*%gW,i8**%gX,align 8
%gY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gZ=getelementptr inbounds i8,i8*%gT,i64 8
%g0=bitcast i8*%gZ to i8**
store i8*%gY,i8**%g0,align 8
%g1=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%g2=getelementptr inbounds i8,i8*%gT,i64 16
%g3=bitcast i8*%g2 to i8**
store i8*%g1,i8**%g3,align 8
%g4=getelementptr inbounds i8,i8*%gT,i64 24
%g5=bitcast i8*%g4 to i32*
store i32 7,i32*%g5,align 4
%g6=call i8*@sml_alloc(i32 inreg 20)#0
%g7=bitcast i8*%g6 to i32*
%g8=getelementptr inbounds i8,i8*%g6,i64 -4
%g9=bitcast i8*%g8 to i32*
store i32 1342177296,i32*%g9,align 4
%ha=getelementptr inbounds i8,i8*%g6,i64 4
%hb=bitcast i8*%ha to i32*
store i32 0,i32*%hb,align 1
store i32 6,i32*%g7,align 4
%hc=load i8*,i8**%c,align 8
%hd=getelementptr inbounds i8,i8*%g6,i64 8
%he=bitcast i8*%hd to i8**
store i8*%hc,i8**%he,align 8
%hf=getelementptr inbounds i8,i8*%g6,i64 16
%hg=bitcast i8*%hf to i32*
store i32 2,i32*%hg,align 4
ret i8*%g6
hh:
%hi=getelementptr inbounds i8,i8*%o,i64 8
%hj=bitcast i8*%hi to i8**
%hk=load i8*,i8**%hj,align 8
%hl=bitcast i8*%hk to i8**
%hm=load i8*,i8**%hl,align 8
store i8*%hm,i8**%d,align 8
%hn=getelementptr inbounds i8,i8*%hk,i64 8
%ho=bitcast i8*%hn to i32*
%hp=load i32,i32*%ho,align 4
%hq=getelementptr inbounds i8,i8*%hk,i64 16
%hr=bitcast i8*%hq to i8**
%hs=load i8*,i8**%hr,align 8
store i8*%hs,i8**%e,align 8
%ht=bitcast i8**%c to i8***
%hu=load i8**,i8***%ht,align 8
store i8*null,i8**%c,align 8
%hv=load i8*,i8**%hu,align 8
%hw=getelementptr inbounds i8,i8*%hk,i64 24
%hx=bitcast i8*%hw to i8**
%hy=load i8*,i8**%hx,align 8
%hz=call fastcc i8*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%hv,i8*inreg%hy)
store i8*%hz,i8**%c,align 8
%hA=call i8*@sml_alloc(i32 inreg 36)#0
%hB=getelementptr inbounds i8,i8*%hA,i64 -4
%hC=bitcast i8*%hB to i32*
store i32 1342177312,i32*%hC,align 4
store i8*%hA,i8**%f,align 8
%hD=getelementptr inbounds i8,i8*%hA,i64 12
%hE=bitcast i8*%hD to i32*
store i32 0,i32*%hE,align 1
%hF=load i8*,i8**%d,align 8
%hG=bitcast i8*%hA to i8**
store i8*null,i8**%d,align 8
store i8*%hF,i8**%hG,align 8
%hH=getelementptr inbounds i8,i8*%hA,i64 8
%hI=bitcast i8*%hH to i32*
store i32%hp,i32*%hI,align 4
%hJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hK=getelementptr inbounds i8,i8*%hA,i64 16
%hL=bitcast i8*%hK to i8**
store i8*%hJ,i8**%hL,align 8
%hM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hN=getelementptr inbounds i8,i8*%hA,i64 24
%hO=bitcast i8*%hN to i8**
store i8*%hM,i8**%hO,align 8
%hP=getelementptr inbounds i8,i8*%hA,i64 32
%hQ=bitcast i8*%hP to i32*
store i32 13,i32*%hQ,align 4
%hR=call i8*@sml_alloc(i32 inreg 20)#0
%hS=bitcast i8*%hR to i32*
%hT=getelementptr inbounds i8,i8*%hR,i64 -4
%hU=bitcast i8*%hT to i32*
store i32 1342177296,i32*%hU,align 4
%hV=getelementptr inbounds i8,i8*%hR,i64 4
%hW=bitcast i8*%hV to i32*
store i32 0,i32*%hW,align 1
store i32 13,i32*%hS,align 4
%hX=load i8*,i8**%f,align 8
%hY=getelementptr inbounds i8,i8*%hR,i64 8
%hZ=bitcast i8*%hY to i8**
store i8*%hX,i8**%hZ,align 8
%h0=getelementptr inbounds i8,i8*%hR,i64 16
%h1=bitcast i8*%h0 to i32*
store i32 2,i32*%h1,align 4
ret i8*%hR
}
define internal fastcc i8*@_SMLLN5Subst16substTfvIdstatusE_246(i8*inreg%a)unnamed_addr#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*)*@_SMLLN5Subst16substTfvIdstatusE_245 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*)*@_SMLLN5Subst16substTfvIdstatusE_245 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*@_SMLLN5Subst12substTfvTstrE_248(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*@_SMLLN5Subst10substTfvTyE_219(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN5Subst12substTfvTstrE_250(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%bL
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]}>*@s,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
store i8*%P,i8**%e,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*%S,i8**%f,align 8
%T=getelementptr inbounds i8,i8*%P,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%g,align 8
%W=bitcast i8**%h to i8***
%X=load i8**,i8***%W,align 8
%Y=load i8*,i8**%X,align 8
%Z=getelementptr inbounds i8,i8*%P,i64 24
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*@_SMLLN5Subst12substTfvTfunE_218(i8*inreg%Y,i8*inreg%ab)
store i8*%ac,i8**%c,align 8
%ad=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%d,align 8
%aj=load i8**,i8***%W,align 8
%ak=load i8*,i8**%aj,align 8
%al=call fastcc i8*@_SMLLN5Subst16substTfvIdstatusE_246(i8*inreg%ak)
%am=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%an=call fastcc i8*%ag(i8*inreg%am,i8*inreg%al)
%ao=getelementptr inbounds i8,i8*%an,i64 16
%ap=bitcast i8*%ao to i8*(i8*,i8*)**
%aq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ap,align 8
%ar=bitcast i8*%an to i8**
%as=load i8*,i8**%ar,align 8
%at=load i8*,i8**%e,align 8
%au=getelementptr inbounds i8,i8*%at,i64 32
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=call fastcc i8*%aq(i8*inreg%as,i8*inreg%aw)
store i8*%ax,i8**%d,align 8
%ay=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%j,align 8
%aE=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%i,align 8
%aK=load i8**,i8***%W,align 8
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%h,align 8
%aM=call i8*@sml_alloc(i32 inreg 12)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177288,i32*%aO,align 4
store i8*%aM,i8**%k,align 8
%aP=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i32*
store i32 1,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 28)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177304,i32*%aV,align 4
%aW=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aT,i64 8
%aZ=bitcast i8*%aY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvTstrE_248 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 16
%a1=bitcast i8*%a0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvTstrE_248 to void(...)*),void(...)**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aT,i64 24
%a3=bitcast i8*%a2 to i32*
store i32 -2147483647,i32*%a3,align 4
%a4=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a5=call fastcc i8*%aH(i8*inreg%a4,i8*inreg%aT)
%a6=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%a7=call fastcc i8*%aB(i8*inreg%a6,i8*inreg%a5)
%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
%bd=bitcast i8**%e to i8***
%be=load i8**,i8***%bd,align 8
store i8*null,i8**%e,align 8
%bf=load i8*,i8**%be,align 8
%bg=call fastcc i8*%ba(i8*inreg%bc,i8*inreg%bf)
store i8*%bg,i8**%e,align 8
%bh=call i8*@sml_alloc(i32 inreg 44)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177320,i32*%bj,align 4
store i8*%bh,i8**%h,align 8
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bn=getelementptr inbounds i8,i8*%bh,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bq=getelementptr inbounds i8,i8*%bh,i64 16
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bt=getelementptr inbounds i8,i8*%bh,i64 24
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bw=getelementptr inbounds i8,i8*%bh,i64 32
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bh,i64 40
%bz=bitcast i8*%by to i32*
store i32 31,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=bitcast i8*%bA to i32*
%bC=getelementptr inbounds i8,i8*%bA,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=getelementptr inbounds i8,i8*%bA,i64 4
%bF=bitcast i8*%bE to i32*
store i32 0,i32*%bF,align 1
store i32 1,i32*%bB,align 4
%bG=load i8*,i8**%h,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bA,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 2,i32*%bK,align 4
ret i8*%bA
bL:
%bM=getelementptr inbounds i8,i8*%q,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%c,align 8
%bR=bitcast i8**%h to i8***
%bS=load i8**,i8***%bR,align 8
store i8*null,i8**%h,align 8
%bT=load i8*,i8**%bS,align 8
%bU=getelementptr inbounds i8,i8*%bO,i64 8
%bV=bitcast i8*%bU to i8**
%bW=load i8*,i8**%bV,align 8
%bX=call fastcc i8*@_SMLLN5Subst12substTfvTfunE_218(i8*inreg%bT,i8*inreg%bW)
store i8*%bX,i8**%d,align 8
%bY=call i8*@sml_alloc(i32 inreg 20)#0
%bZ=getelementptr inbounds i8,i8*%bY,i64 -4
%b0=bitcast i8*%bZ to i32*
store i32 1342177296,i32*%b0,align 4
store i8*%bY,i8**%e,align 8
%b1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b2=bitcast i8*%bY to i8**
store i8*%b1,i8**%b2,align 8
%b3=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b4=getelementptr inbounds i8,i8*%bY,i64 8
%b5=bitcast i8*%b4 to i8**
store i8*%b3,i8**%b5,align 8
%b6=getelementptr inbounds i8,i8*%bY,i64 16
%b7=bitcast i8*%b6 to i32*
store i32 3,i32*%b7,align 4
%b8=call i8*@sml_alloc(i32 inreg 20)#0
%b9=getelementptr inbounds i8,i8*%b8,i64 -4
%ca=bitcast i8*%b9 to i32*
store i32 1342177296,i32*%ca,align 4
%cb=bitcast i8*%b8 to i64*
store i64 0,i64*%cb,align 4
%cc=load i8*,i8**%e,align 8
%cd=getelementptr inbounds i8,i8*%b8,i64 8
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b8,i64 16
%cg=bitcast i8*%cf to i32*
store i32 2,i32*%cg,align 4
ret i8*%b8
}
define internal fastcc i8*@_SMLLN5Subst12substTfvStrEE_258(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%l
i:
%j=bitcast i8*%a to i8**
%k=bitcast i8*%b to i8**
br label%r
l:
call void@sml_check(i32 inreg%g)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%d to i8***
%p=load i8**,i8***%o,align 8
%q=bitcast i8**%n to i8*
br label%r
r:
%s=phi i8*[%q,%l],[%b,%i]
%t=phi i8**[%p,%l],[%j,%i]
%u=phi i8**[%n,%l],[%k,%i]
%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**%t,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*@_SMLLN5Subst11substTfvEnvE_253(i8*inreg%w,i8*inreg%z)
store i8*%A,i8**%d,align 8
%B=load i8*,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%f,align 8
%F=getelementptr inbounds i8,i8*%B,i64 24
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
%I=call i8*@sml_alloc(i32 inreg 36)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177312,i32*%K,align 4
%L=load i8*,i8**%e,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=load i8*,i8**%d,align 8
%O=getelementptr inbounds i8,i8*%I,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=load i8*,i8**%f,align 8
%R=getelementptr inbounds i8,i8*%I,i64 16
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=load i8*,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%I,i64 24
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%I,i64 32
%X=bitcast i8*%W to i32*
store i32 15,i32*%X,align 4
ret i8*%I
}
define internal fastcc i8*@_SMLLN5Subst11substTfvEnvE_253(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
s:
%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
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
store i8*%a,i8**%l,align 8
store i8*%b,i8**%i,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%i,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%b,%s]
store i8*null,i8**%i,align 8
store i8*%r,i8**%k,align 8
%t=call fastcc i8*@_SMLFN9SymbolEnv3mapE(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**%i,align 8
%z=load i8*,i8**%l,align 8
%A=call fastcc i8*@_SMLLN5Subst16substTfvIdstatusE_246(i8*inreg%z)
%B=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%C=call fastcc i8*%w(i8*inreg%B,i8*inreg%A)
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=load i8*,i8**%k,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*%F(i8*inreg%H,i8*inreg%L)
store i8*%M,i8**%i,align 8
%N=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%j,align 8
%T=load i8*,i8**%l,align 8
%U=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%U)
%V=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%V)
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%T,i8**%g,align 8
%W=call i8*@sml_alloc(i32 inreg 12)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177288,i32*%Y,align 4
store i8*%W,i8**%h,align 8
%Z=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%W,i64 8
%ac=bitcast i8*%ab to i32*
store i32 1,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 28)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177304,i32*%af,align 4
%ag=load i8*,i8**%h,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ad,i64 8
%aj=bitcast i8*%ai to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvTstrE_250 to void(...)*),void(...)**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 16
%al=bitcast i8*%ak to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvTstrE_250 to void(...)*),void(...)**%al,align 8
%am=getelementptr inbounds i8,i8*%ad,i64 24
%an=bitcast i8*%am to i32*
store i32 -2147483647,i32*%an,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%U)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%V)
%ao=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ap=call fastcc i8*%Q(i8*inreg%ao,i8*inreg%ad)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=load i8*,i8**%k,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=call fastcc i8*%as(i8*inreg%au,i8*inreg%ay)
store i8*%az,i8**%j,align 8
%aA=bitcast i8**%k to i8***
%aB=load i8**,i8***%aA,align 8
store i8*null,i8**%k,align 8
%aC=load i8*,i8**%aB,align 8
%aD=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aE=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aE)
%aF=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aF)
%aG=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aG)
%aH=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aH)
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*%aD,i8**%d,align 8
store i8*%aC,i8**%c,align 8
%aI=load atomic i32,i32*@sml_check_flag unordered,align 4
%aJ=icmp eq i32%aI,0
br i1%aJ,label%aL,label%aK
aK:
call void@sml_check(i32 inreg%aI)
br label%aL
aL:
%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**%e,align 8
%aS=call i8*@sml_alloc(i32 inreg 12)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177288,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=getelementptr inbounds i8,i8*%aS,i64 8
%aY=bitcast i8*%aX to i32*
store i32 1,i32*%aY,align 4
%aZ=call i8*@sml_alloc(i32 inreg 28)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177304,i32*%a1,align 4
%a2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aZ,i64 8
%a5=bitcast i8*%a4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvStrEE_258 to void(...)*),void(...)**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aZ,i64 16
%a7=bitcast i8*%a6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN5Subst12substTfvStrEE_258 to void(...)*),void(...)**%a7,align 8
%a8=getelementptr inbounds i8,i8*%aZ,i64 24
%a9=bitcast i8*%a8 to i32*
store i32 -2147483647,i32*%a9,align 4
%ba=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bb=call fastcc i8*%aP(i8*inreg%ba,i8*inreg%aZ)
%bc=getelementptr inbounds i8,i8*%bb,i64 16
%bd=bitcast i8*%bc to i8*(i8*,i8*)**
%be=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bd,align 8
%bf=bitcast i8*%bb to i8**
%bg=load i8*,i8**%bf,align 8
%bh=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bi=call fastcc i8*%be(i8*inreg%bg,i8*inreg%bh)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aG)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aH)
store i8*%bi,i8**%k,align 8
%bj=call i8*@sml_alloc(i32 inreg 28)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177304,i32*%bl,align 4
%bm=load i8*,i8**%k,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=load i8*,i8**%j,align 8
%bp=getelementptr inbounds i8,i8*%bj,i64 8
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=load i8*,i8**%i,align 8
%bs=getelementptr inbounds i8,i8*%bj,i64 16
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bj,i64 24
%bv=bitcast i8*%bu to i32*
store i32 7,i32*%bv,align 4
ret i8*%bj
}
define internal fastcc i8*@_SMLLN5Subst8substEnvE_259(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**@_SMLZN6TfvSet5emptyE,align 8
%q=load i8*,i8**%n,align 8
%r=bitcast i8*%q to i8**
call void@sml_write(i8*inreg%q,i8**inreg%r,i8*inreg%p)#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*@_SMLLN5Subst8substEnvE_215(i8*inreg%v,i8*inreg%y,i8*inreg%o)
ret i8*%z
}
define internal fastcc i8*@_SMLLN5Subst8substEnvE_260(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*)*@_SMLLN5Subst8substEnvE_259 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*)*@_SMLLN5Subst8substEnvE_259 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 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**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 6),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define internal fastcc i8*@_SMLLN5Subst7substTyE_262(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**@_SMLZN6TfvSet5emptyE,align 8
%q=load i8*,i8**%n,align 8
%r=bitcast i8*%q to i8**
call void@sml_write(i8*inreg%q,i8**inreg%r,i8*inreg%p)#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*@_SMLLN5Subst7substTyE_181(i8*inreg%v,i8*inreg%y,i8*inreg%o)
ret i8*%z
}
define internal fastcc i8*@_SMLLN5Subst7substTyE_263(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*)*@_SMLLN5Subst7substTyE_262 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*)*@_SMLLN5Subst7substTyE_262 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 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**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 7),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define internal fastcc i8*@_SMLLN5Subst13substTfunkindE_265(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**@_SMLZN6TfvSet5emptyE,align 8
%q=load i8*,i8**%n,align 8
%r=bitcast i8*%q to i8**
call void@sml_write(i8*inreg%q,i8**inreg%r,i8*inreg%p)#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*@_SMLLN5Subst13substTfunkindE_179(i8*inreg%v,i8*inreg%y,i8*inreg%o)
ret i8*%z
}
define internal fastcc i8*@_SMLLN5Subst13substTfunkindE_266(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*)*@_SMLLN5Subst13substTfunkindE_265 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*)*@_SMLLN5Subst13substTfunkindE_265 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 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**getelementptr inbounds(<{[4x i8],i32,[9x i8*]}>,<{[4x i8],i32,[9x i8*]}>*@_SML_gvarc1c49503bda88b3e_Subst,i64 0,i32 2,i64 8),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define internal fastcc i8*@_SMLLN5Subst10substTfvTyE_268(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*@_SMLLN5Subst10substTfvTyE_219(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*)*@_SMLLN5Subst10substTfvTyE_268 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*)*@_SMLLN5Subst10substTfvTyE_268 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*@_SMLLN5Subst12substTfvTfunE_271(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*@_SMLLN5Subst12substTfvTfunE_218(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*)*@_SMLLN5Subst12substTfvTfunE_271 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*)*@_SMLLN5Subst12substTfvTfunE_271 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*@_SMLLN5Subst12substTfvVarEE_274(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call fastcc i8*@_SMLFN9SymbolEnv3mapE(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=bitcast i8**%c to i8***
%q=load i8**,i8***%p,align 8
store i8*null,i8**%c,align 8
%r=load i8*,i8**%q,align 8
%s=call fastcc i8*@_SMLLN5Subst16substTfvIdstatusE_246(i8*inreg%r)
%t=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%u=call fastcc i8*%m(i8*inreg%t,i8*inreg%s)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
%A=load i8*,i8**%d,align 8
%B=tail call fastcc i8*%x(i8*inreg%z,i8*inreg%A)
ret i8*%B
}
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*)*@_SMLLN5Subst12substTfvVarEE_274 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*)*@_SMLLN5Subst12substTfvVarEE_274 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*@_SMLLN5Subst11substTfvEnvE_277(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*@_SMLLN5Subst11substTfvEnvE_253(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*)*@_SMLLN5Subst11substTfvEnvE_277 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*)*@_SMLLN5Subst11substTfvEnvE_277 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*@_SMLLN5Subst10substTypIdE_280(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@_SMLLN5Subst10substTypIdE_166(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*@_SMLLN5Subst10substConIdE_282(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@_SMLLN5Subst10substConIdE_173(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*@_SMLLN5Subst10substExnIdE_284(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@_SMLLN5Subst10substExnIdE_176(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*@_SMLLN5Subst10substTfvTyE_297(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*@_SMLLN5Subst12substTfvTfunE_298(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*@_SMLLN5Subst12substTfvVarEE_299(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*@_SMLLN5Subst11substTfvEnvE_300(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
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
