@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN12PrintControl10printWidthE=external local_unnamed_addr global i8*
@_SMLZN12PrintControl13printMaxDepthE=external local_unnamed_addr global i8*
@_SMLZN13NameEvalUtils14staticTfunNameE=external local_unnamed_addr global i8*
@_SMLZN13NameEvalUtils15staticTyConNameE=external local_unnamed_addr global i8*
@_SMLZN13ReifiedTyData8StringTyE=external local_unnamed_addr global i8*
@_SMLZN18UserLevelPrimitive18UserLevelPrimErrorE=external local_unnamed_addr global i8*
@_SMLZN3Loc5nolocE=external local_unnamed_addr global i8*
@_SMLZN7EvalIty12emptyContextE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/extensions/reflection/main/ReifyTopEnv.sml:32.2(732)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/extensions/reflection/main/ReifyTopEnv.sml:50.6(1255)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[4x i8]}><{[4x i8]zeroinitializer,i32 -2147483644,[4x i8]c"DTY\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[69x i8]}><{[4x i8]zeroinitializer,i32 -2147483579,[69x i8]c"src/compiler/extensions/reflection/main/ReifyTopEnv.sml:144.12(5643)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11ReifyTopEnv17filterSpecConVarEE_132 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv17filterSpecConVarEE_212 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL3tyE_150 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3tyE_216 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL4strE_153 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4strE_217 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL4varE_155 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4varE_218 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/extensions/reflection/main/ReifyTopEnv.sml:251.6(8912)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11ReifyTopEnv10filterVarEE_161 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv10filterVarEE_221 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL4strE_168 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4strE_223 to void(...)*),i32 -2147483647}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL4sigE_170 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4sigE_225 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL4sigE_172 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4sigE_226 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"functor \00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL18symbolFunEntryList_183 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL18symbolFunEntryList_229 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"sessionEnv\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11ReifyTopEnv10topEnvBindE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv10topEnvBindE_235 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11ReifyTopEnv10topEnvBindE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@r,i64 0,i32 2)to i8*)
@_SML_ftabd3f59212d4088fd0_ReifyTopEnv=external global i8
@s=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN10ListSorter4sortE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils2_J_JE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils3ConE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils3IntE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils3ValE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils3VarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils4ListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils4PairE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils6OptionE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils6StringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils6newVarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils7InstVarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10SmlppgUtil9makeTokenE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11NameEvalEnv16printTy__sigEListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11NameEvalEnv17printTy__funEEntryE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11NormalizeTy9reduceEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13ReifiedTyData10IdstatusTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13ReifiedTyData5EnvTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14TypedCalcUtils10groundInstE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims16topEnvWithTopEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims8rebindIdE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive21REIFY__conInfo__BUILTINE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive21REIFY__exInfo__mkENVenvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive21REIFY__exInfo__mkTopEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive24REIFY__exInfo__printTopEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__mkEXEXNIdstatusE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__mkEXVarIdstatusE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive31REIFY__exInfo__mkEXEXNREPIdstatusE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive31REIFY__exInfo__toReifiedTermPrintE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List1_VE(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*@_SMLFN4List5foldrE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Types15formatTyForUserE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc10print__tfunE(i32 inreg,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*@_SMLFN6Symbol10setVersionE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol18longsymbolToStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6Symbol7compareE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7EvalIty7evalItyE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SMLFormat11prettyPrintE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv10listItemsiE(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 i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindcdf3bbf6cbeefdd_SMLFormat()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main92a9fd50084b022c_ListSorter()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main67a5b28ff146c353_Loc()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_main606b245a3d2b48d6_Types_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1d614b123e80cc95_IDCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maince08e1440e92cf7f_NameEvalEnv_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main997941653313463c_NormalizeTy()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3acd53cad8d59eda_PrintControl()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind7df276306fcd4f2_NameEvalUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main24fddff04936f2e2_TypedCalcUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maincdb1ceba8ced3301_EvalIty()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main98b4898d5cf6911e_UserLevelPrimitive()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maine6f4d01d0ffdcc27_SmlppgUtil_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main0db119a0681ca7e6_ReifiedTyData()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main93b11342f6ec8a84_ReifyUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainb1a2dac541ac747b_NameEvalEnvPrims()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_loaddcdf3bbf6cbeefdd_SMLFormat(i8*)local_unnamed_addr
declare void@_SML_load92a9fd50084b022c_ListSorter(i8*)local_unnamed_addr
declare void@_SML_load67a5b28ff146c353_Loc(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_load606b245a3d2b48d6_Types_ppg(i8*)local_unnamed_addr
declare void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_loadce08e1440e92cf7f_NameEvalEnv_ppg(i8*)local_unnamed_addr
declare void@_SML_load997941653313463c_NormalizeTy(i8*)local_unnamed_addr
declare void@_SML_load3acd53cad8d59eda_PrintControl(i8*)local_unnamed_addr
declare void@_SML_loadd7df276306fcd4f2_NameEvalUtils(i8*)local_unnamed_addr
declare void@_SML_load24fddff04936f2e2_TypedCalcUtils(i8*)local_unnamed_addr
declare void@_SML_loadcdb1ceba8ced3301_EvalIty(i8*)local_unnamed_addr
declare void@_SML_load98b4898d5cf6911e_UserLevelPrimitive(i8*)local_unnamed_addr
declare void@_SML_loade6f4d01d0ffdcc27_SmlppgUtil_ppg(i8*)local_unnamed_addr
declare void@_SML_load0db119a0681ca7e6_ReifiedTyData(i8*)local_unnamed_addr
declare void@_SML_load93b11342f6ec8a84_ReifyUtils(i8*)local_unnamed_addr
declare void@_SML_loadb1a2dac541ac747b_NameEvalEnvPrims(i8*)local_unnamed_addr
define private void@_SML_tabbd3f59212d4088fd0_ReifyTopEnv()#3{
unreachable
}
define void@_SML_loadd3f59212d4088fd0_ReifyTopEnv(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@s,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@s,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_loaddcdf3bbf6cbeefdd_SMLFormat(i8*%a)#0
tail call void@_SML_load92a9fd50084b022c_ListSorter(i8*%a)#0
tail call void@_SML_load67a5b28ff146c353_Loc(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_load606b245a3d2b48d6_Types_ppg(i8*%a)#0
tail call void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*%a)#0
tail call void@_SML_loadce08e1440e92cf7f_NameEvalEnv_ppg(i8*%a)#0
tail call void@_SML_load997941653313463c_NormalizeTy(i8*%a)#0
tail call void@_SML_load3acd53cad8d59eda_PrintControl(i8*%a)#0
tail call void@_SML_loadd7df276306fcd4f2_NameEvalUtils(i8*%a)#0
tail call void@_SML_load24fddff04936f2e2_TypedCalcUtils(i8*%a)#0
tail call void@_SML_loadcdb1ceba8ced3301_EvalIty(i8*%a)#0
tail call void@_SML_load98b4898d5cf6911e_UserLevelPrimitive(i8*%a)#0
tail call void@_SML_loade6f4d01d0ffdcc27_SmlppgUtil_ppg(i8*%a)#0
tail call void@_SML_load0db119a0681ca7e6_ReifiedTyData(i8*%a)#0
tail call void@_SML_load93b11342f6ec8a84_ReifyUtils(i8*%a)#0
tail call void@_SML_loadb1a2dac541ac747b_NameEvalEnvPrims(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbd3f59212d4088fd0_ReifyTopEnv,i8*@_SML_ftabd3f59212d4088fd0_ReifyTopEnv,i8*null)#0
ret void
}
define void@_SML_maind3f59212d4088fd0_ReifyTopEnv()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@s,align 1
%b=and i8%a,2
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 3,i8*@s,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_maindcdf3bbf6cbeefdd_SMLFormat()#2
tail call void@_SML_main92a9fd50084b022c_ListSorter()#2
tail call void@_SML_main67a5b28ff146c353_Loc()#2
tail call void@_SML_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_main60e750412e2bb4fe_RecordLabel()#2
tail call void@_SML_main606b245a3d2b48d6_Types_ppg()#2
tail call void@_SML_main1d614b123e80cc95_IDCalc_ppg()#2
tail call void@_SML_maince08e1440e92cf7f_NameEvalEnv_ppg()#2
tail call void@_SML_main997941653313463c_NormalizeTy()#2
tail call void@_SML_main3acd53cad8d59eda_PrintControl()#2
tail call void@_SML_maind7df276306fcd4f2_NameEvalUtils()#2
tail call void@_SML_main24fddff04936f2e2_TypedCalcUtils()#2
tail call void@_SML_maincdb1ceba8ced3301_EvalIty()#2
tail call void@_SML_main98b4898d5cf6911e_UserLevelPrimitive()#2
tail call void@_SML_maine6f4d01d0ffdcc27_SmlppgUtil_ppg()#2
tail call void@_SML_main0db119a0681ca7e6_ReifiedTyData()#2
tail call void@_SML_main93b11342f6ec8a84_ReifyUtils()#2
tail call void@_SML_mainb1a2dac541ac747b_NameEvalEnvPrims()#2
br label%d
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_109(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i32*
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i32**
%k=load i32*,i32**%j,align 8
br label%l
l:
%m=phi i32*[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i32,i32*%m,align 4
%o=call i8*@sml_alloc(i32 inreg 12)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177288,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32 0,i32*%p,align 4
%s=getelementptr inbounds i8,i8*%o,i64 4
%t=bitcast i8*%s to i32*
store i32%n,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%o,i64 8
%v=bitcast i8*%u to i32*
store i32 0,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*null,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 fastcc i8*@_SMLFN9SMLFormat11prettyPrintE(i8*inreg%w)
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
%L=load i8*,i8**%c,align 8
%M=tail call fastcc i8*%I(i8*inreg%K,i8*inreg%L)
ret i8*%M
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv11prettyPrintE_109 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv11prettyPrintE_109 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv10setVersionE_113(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=icmp eq i8*%o,null
br i1%p,label%L,label%q
q:
%r=bitcast i8*%o to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 2,label%M
i32 0,label%L
i32 1,label%L
]
t:
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,align 8
store i8*%u,i8**%b,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%c,align 8
%y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@a,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%c,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
ret i8*%l
M:
%N=getelementptr inbounds i8,i8*%o,i64 4
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%Q,i64 12
%U=bitcast i8*%T to i32*
store i32 0,i32*%U,align 1
%V=load i8*,i8**%b,align 8
%W=bitcast i8*%Q to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 8
%Y=bitcast i8*%X to i32*
store i32%P,i32*%Y,align 4
%Z=getelementptr inbounds i8,i8*%Q,i64 16
%aa=bitcast i8*%Z to i32*
store i32 1,i32*%aa,align 4
%ab=tail call fastcc i8*@_SMLFN6Symbol10setVersionE(i8*inreg%Q)
ret i8*%ab
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv13reifyIdstatusE_120(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
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 12,label%N
i32 13,label%N
i32 6,label%iY
i32 7,label%N
i32 0,label%fJ
i32 1,label%N
i32 4,label%N
i32 5,label%N
i32 2,label%bP
i32 3,label%O
i32 8,label%N
i32 11,label%N
i32 10,label%N
i32 9,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,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@b,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:
ret i8*null
O:
%P=getelementptr inbounds i8,i8*%r,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=load i8*,i8**%h,align 8
%T=getelementptr inbounds i8,i8*%S,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%V)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%d,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*@_SMLFN6Symbol18longsymbolToStringE(i8*inreg%af)
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=call fastcc i8*%Z(i8*inreg%ah,i8*inreg%ag)
store i8*%ai,i8**%c,align 8
%aj=load i8*,i8**%h,align 8
%ak=getelementptr inbounds i8,i8*%aj,i64 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
%an=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%am)
%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
store i8*%as,i8**%d,align 8
%at=load i8*,i8**%h,align 8
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%aw)
%ay=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%az=call fastcc i8*%aq(i8*inreg%ay,i8*inreg%ax)
store i8*%az,i8**%d,align 8
%aA=load i8*,i8**%h,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=call fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%aD)
%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**%e,align 8
%aK=load i8*,i8**%h,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 8
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
%aO=call fastcc i8*@_SMLFN18UserLevelPrimitive31REIFY__exInfo__mkEXEXNREPIdstatusE(i8*inreg%aN)
%aP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aQ=call fastcc i8*%aH(i8*inreg%aP,i8*inreg%aO)
store i8*%aQ,i8**%e,align 8
%aR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aS=getelementptr inbounds i8,i8*%aR,i64 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
%aV=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%aU)
to label%aW unwind label%bD
aW:
%aX=getelementptr inbounds i8,i8*%aV,i64 16
%aY=bitcast i8*%aX to i8*(i8*,i8*)**
%aZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aY,align 8
%a0=bitcast i8*%aV to i8**
%a1=load i8*,i8**%a0,align 8
%a2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a3=invoke fastcc i8*%aZ(i8*inreg%a1,i8*inreg%a2)
to label%a4 unwind label%bD
a4:
%a5=getelementptr inbounds i8,i8*%a3,i64 16
%a6=bitcast i8*%a5 to i8*(i8*,i8*)**
%a7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a6,align 8
%a8=bitcast i8*%a3 to i8**
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%e,align 8
%ba=call i8*@sml_alloc(i32 inreg 20)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177296,i32*%bc,align 4
store i8*%ba,i8**%f,align 8
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*null,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
%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**%d,align 8
store i8*null,i8**%d,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bp=getelementptr inbounds i8,i8*%bj,i64 8
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bj,i64 16
%bs=bitcast i8*%br to i32*
store i32 3,i32*%bs,align 4
%bt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bu=invoke fastcc i8*%a7(i8*inreg%bt,i8*inreg%bj)
to label%bv unwind label%bD
bv:
store i8*%bu,i8**%c,align 8
%bw=call i8*@sml_alloc(i32 inreg 12)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177288,i32*%by,align 4
%bz=load i8*,i8**%c,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 i32*
store i32 1,i32*%bC,align 4
ret i8*%bw
bD:
%bE=landingpad{i8*,i8*}
catch i8*null
%bF=extractvalue{i8*,i8*}%bE,1
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*%bH,i8**%c,align 8
%bI=call i8*@sml_alloc(i32 inreg 60)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177336,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bI,i64 56
%bM=bitcast i8*%bL to i32*
store i32 1,i32*%bM,align 4
%bN=load i8*,i8**%c,align 8
%bO=bitcast i8*%bI to i8**
store i8*%bN,i8**%bO,align 8
call void@sml_raise(i8*inreg%bI)#1
unreachable
bP:
%bQ=getelementptr inbounds i8,i8*%r,i64 8
%bR=bitcast i8*%bQ to i8**
%bS=load i8*,i8**%bR,align 8
%bT=getelementptr inbounds i8,i8*%bS,i64 16
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
%bW=bitcast i8*%bV to i32*
%bX=load i32,i32*%bW,align 4
%bY=icmp eq i32%bX,4
br i1%bY,label%bZ,label%cl
bZ:
%b0=getelementptr inbounds i8,i8*%bV,i64 8
%b1=bitcast i8*%b0 to i8***
%b2=load i8**,i8***%b1,align 8
%b3=load i8*,i8**%b2,align 8
%b4=icmp eq i8*%b3,null
br i1%b4,label%cl,label%b5
b5:
%b6=getelementptr inbounds i8,i8*%b3,i64 8
%b7=bitcast i8*%b6 to i8**
%b8=load i8*,i8**%b7,align 8
%b9=icmp eq i8*%b8,null
br i1%b9,label%ca,label%cl
ca:
%cb=bitcast i8*%b3 to i8**
%cc=load i8*,i8**%cb,align 8
store i8*%cc,i8**%c,align 8
%cd=call i8*@sml_alloc(i32 inreg 12)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177288,i32*%cf,align 4
%cg=load i8*,i8**%c,align 8
%ch=bitcast i8*%cd to i8**
store i8*%cg,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%cd,i64 8
%cj=bitcast i8*%ci to i32*
store i32 1,i32*%cj,align 4
%ck=icmp eq i8*%cd,null
br i1%ck,label%cl,label%cE
cl:
%cm=load i8*,i8**%h,align 8
%cn=getelementptr inbounds i8,i8*%cm,i64 8
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,align 8
%cq=call fastcc i8*@_SMLFN10ReifyUtils6OptionE(i8*inreg%cp)
%cr=getelementptr inbounds i8,i8*%cq,i64 16
%cs=bitcast i8*%cr to i8*(i8*,i8*)**
%ct=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cs,align 8
%cu=bitcast i8*%cq to i8**
%cv=load i8*,i8**%cu,align 8
%cw=load i8*,i8**@_SMLZN13ReifiedTyData8StringTyE,align 8
%cx=call fastcc i8*%ct(i8*inreg%cv,i8*inreg%cw)
%cy=getelementptr inbounds i8,i8*%cx,i64 16
%cz=bitcast i8*%cy to i8*(i8*,i8*)**
%cA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cz,align 8
%cB=bitcast i8*%cx to i8**
%cC=load i8*,i8**%cB,align 8
%cD=call fastcc i8*%cA(i8*inreg%cC,i8*inreg null)
br label%eb
cE:
%cF=load i8*,i8**%h,align 8
%cG=getelementptr inbounds i8,i8*%cF,i64 8
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
%cJ=call fastcc i8*@_SMLFN10ReifyUtils6OptionE(i8*inreg%cI)
%cK=getelementptr inbounds i8,i8*%cJ,i64 16
%cL=bitcast i8*%cK to i8*(i8*,i8*)**
%cM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cL,align 8
%cN=bitcast i8*%cJ to i8**
%cO=load i8*,i8**%cN,align 8
%cP=load i8*,i8**@_SMLZN13ReifiedTyData8StringTyE,align 8
%cQ=call fastcc i8*%cM(i8*inreg%cO,i8*inreg%cP)
%cR=getelementptr inbounds i8,i8*%cQ,i64 16
%cS=bitcast i8*%cR to i8*(i8*,i8*)**
%cT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cS,align 8
%cU=bitcast i8*%cQ to i8**
%cV=load i8*,i8**%cU,align 8
store i8*%cV,i8**%k,align 8
%cW=load i8*,i8**%h,align 8
%cX=getelementptr inbounds i8,i8*%cW,i64 8
%cY=bitcast i8*%cX to i8**
%cZ=load i8*,i8**%cY,align 8
%c0=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%cZ)
%c1=getelementptr inbounds i8,i8*%c0,i64 16
%c2=bitcast i8*%c1 to i8*(i8*,i8*)**
%c3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c2,align 8
%c4=bitcast i8*%c0 to i8**
%c5=load i8*,i8**%c4,align 8
store i8*%c5,i8**%j,align 8
%c6=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 60)
%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**%i,align 8
%dc=call fastcc i8*@_SMLFN5Types15formatTyForUserE(i32 inreg 0,i32 inreg 16,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**%g,align 8
%di=bitcast i8**%h to i8***
%dj=load i8**,i8***%di,align 8
%dk=load i8*,i8**%dj,align 8
store i8*%dk,i8**%d,align 8
%dl=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%dl,i8**%e,align 8
%dm=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%dm,i8**%f,align 8
%dn=call i8*@sml_alloc(i32 inreg 28)#0
%do=getelementptr inbounds i8,i8*%dn,i64 -4
%dp=bitcast i8*%do to i32*
store i32 1342177304,i32*%dp,align 4
%dq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dr=bitcast i8*%dn to i8**
store i8*%dq,i8**%dr,align 8
%ds=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dt=getelementptr inbounds i8,i8*%dn,i64 8
%du=bitcast i8*%dt to i8**
store i8*%ds,i8**%du,align 8
%dv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dw=getelementptr inbounds i8,i8*%dn,i64 16
%dx=bitcast i8*%dw to i8**
store i8*%dv,i8**%dx,align 8
%dy=getelementptr inbounds i8,i8*%dn,i64 24
%dz=bitcast i8*%dy to i32*
store i32 7,i32*%dz,align 4
%dA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dB=call fastcc i8*%df(i8*inreg%dA,i8*inreg%dn)
%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
store i8*%dG,i8**%d,align 8
%dH=call fastcc i8*@_SMLFN7EvalIty7evalItyE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dI=getelementptr inbounds i8,i8*%dH,i64 16
%dJ=bitcast i8*%dI to i8*(i8*,i8*)**
%dK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dJ,align 8
%dL=bitcast i8*%dH to i8**
%dM=load i8*,i8**%dL,align 8
%dN=load i8*,i8**@_SMLZN7EvalIty12emptyContextE,align 8
%dO=call fastcc i8*%dK(i8*inreg%dM,i8*inreg%dN)
%dP=getelementptr inbounds i8,i8*%dO,i64 16
%dQ=bitcast i8*%dP to i8*(i8*,i8*)**
%dR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dQ,align 8
%dS=bitcast i8*%dO to i8**
%dT=load i8*,i8**%dS,align 8
%dU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dV=call fastcc i8*%dR(i8*inreg%dT,i8*inreg%dU)
%dW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dX=call fastcc i8*%dE(i8*inreg%dW,i8*inreg%dV)
%dY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dZ=call fastcc i8*%c9(i8*inreg%dY,i8*inreg%dX)
%d0=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%d1=call fastcc i8*%c3(i8*inreg%d0,i8*inreg%dZ)
store i8*%d1,i8**%c,align 8
%d2=call i8*@sml_alloc(i32 inreg 12)#0
%d3=getelementptr inbounds i8,i8*%d2,i64 -4
%d4=bitcast i8*%d3 to i32*
store i32 1342177288,i32*%d4,align 4
%d5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d6=bitcast i8*%d2 to i8**
store i8*%d5,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%d2,i64 8
%d8=bitcast i8*%d7 to i32*
store i32 1,i32*%d8,align 4
%d9=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%ea=call fastcc i8*%cT(i8*inreg%d9,i8*inreg%d2)
br label%eb
eb:
%ec=phi i8*[%ea,%cE],[%cD,%cl]
store i8*%ec,i8**%c,align 8
%ed=load i8*,i8**%h,align 8
%ee=getelementptr inbounds i8,i8*%ed,i64 8
%ef=bitcast i8*%ee to i8**
%eg=load i8*,i8**%ef,align 8
%eh=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%eg)
%ei=getelementptr inbounds i8,i8*%eh,i64 16
%ej=bitcast i8*%ei to i8*(i8*,i8*)**
%ek=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ej,align 8
%el=bitcast i8*%eh to i8**
%em=load i8*,i8**%el,align 8
store i8*%em,i8**%d,align 8
%en=load i8*,i8**%h,align 8
%eo=getelementptr inbounds i8,i8*%en,i64 16
%ep=bitcast i8*%eo to i8**
%eq=load i8*,i8**%ep,align 8
%er=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%eq)
%es=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%et=call fastcc i8*%ek(i8*inreg%es,i8*inreg%er)
store i8*%et,i8**%d,align 8
%eu=load i8*,i8**%h,align 8
%ev=getelementptr inbounds i8,i8*%eu,i64 8
%ew=bitcast i8*%ev to i8**
%ex=load i8*,i8**%ew,align 8
%ey=call fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%ex)
%ez=getelementptr inbounds i8,i8*%ey,i64 16
%eA=bitcast i8*%ez to i8*(i8*,i8*)**
%eB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eA,align 8
%eC=bitcast i8*%ey to i8**
%eD=load i8*,i8**%eC,align 8
store i8*%eD,i8**%e,align 8
%eE=load i8*,i8**%h,align 8
%eF=getelementptr inbounds i8,i8*%eE,i64 8
%eG=bitcast i8*%eF to i8**
%eH=load i8*,i8**%eG,align 8
%eI=call fastcc i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__mkEXEXNIdstatusE(i8*inreg%eH)
%eJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eK=call fastcc i8*%eB(i8*inreg%eJ,i8*inreg%eI)
store i8*%eK,i8**%e,align 8
%eL=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eM=getelementptr inbounds i8,i8*%eL,i64 8
%eN=bitcast i8*%eM to i8**
%eO=load i8*,i8**%eN,align 8
%eP=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%eO)
to label%eQ unwind label%fx
eQ:
%eR=getelementptr inbounds i8,i8*%eP,i64 16
%eS=bitcast i8*%eR to i8*(i8*,i8*)**
%eT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eS,align 8
%eU=bitcast i8*%eP to i8**
%eV=load i8*,i8**%eU,align 8
%eW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eX=invoke fastcc i8*%eT(i8*inreg%eV,i8*inreg%eW)
to label%eY unwind label%fx
eY:
%eZ=getelementptr inbounds i8,i8*%eX,i64 16
%e0=bitcast i8*%eZ to i8*(i8*,i8*)**
%e1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e0,align 8
%e2=bitcast i8*%eX to i8**
%e3=load i8*,i8**%e2,align 8
store i8*%e3,i8**%e,align 8
%e4=call i8*@sml_alloc(i32 inreg 20)#0
%e5=getelementptr inbounds i8,i8*%e4,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177296,i32*%e6,align 4
store i8*%e4,i8**%f,align 8
%e7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e8=bitcast i8*%e4 to i8**
store i8*%e7,i8**%e8,align 8
%e9=getelementptr inbounds i8,i8*%e4,i64 8
%fa=bitcast i8*%e9 to i8**
store i8*null,i8**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e4,i64 16
%fc=bitcast i8*%fb to i32*
store i32 3,i32*%fc,align 4
%fd=call i8*@sml_alloc(i32 inreg 20)#0
%fe=getelementptr inbounds i8,i8*%fd,i64 -4
%ff=bitcast i8*%fe to i32*
store i32 1342177296,i32*%ff,align 4
%fg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fh=bitcast i8*%fd to i8**
store i8*%fg,i8**%fh,align 8
%fi=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fj=getelementptr inbounds i8,i8*%fd,i64 8
%fk=bitcast i8*%fj to i8**
store i8*%fi,i8**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fd,i64 16
%fm=bitcast i8*%fl to i32*
store i32 3,i32*%fm,align 4
%fn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fo=invoke fastcc i8*%e1(i8*inreg%fn,i8*inreg%fd)
to label%fp unwind label%fx
fp:
store i8*%fo,i8**%c,align 8
%fq=call i8*@sml_alloc(i32 inreg 12)#0
%fr=getelementptr inbounds i8,i8*%fq,i64 -4
%fs=bitcast i8*%fr to i32*
store i32 1342177288,i32*%fs,align 4
%ft=load i8*,i8**%c,align 8
%fu=bitcast i8*%fq to i8**
store i8*%ft,i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fq,i64 8
%fw=bitcast i8*%fv to i32*
store i32 1,i32*%fw,align 4
ret i8*%fq
fx:
%fy=landingpad{i8*,i8*}
catch i8*null
%fz=extractvalue{i8*,i8*}%fy,1
%fA=bitcast i8*%fz to i8**
%fB=load i8*,i8**%fA,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*%fB,i8**%c,align 8
%fC=call i8*@sml_alloc(i32 inreg 60)#0
%fD=getelementptr inbounds i8,i8*%fC,i64 -4
%fE=bitcast i8*%fD to i32*
store i32 1342177336,i32*%fE,align 4
%fF=getelementptr inbounds i8,i8*%fC,i64 56
%fG=bitcast i8*%fF to i32*
store i32 1,i32*%fG,align 4
%fH=load i8*,i8**%c,align 8
%fI=bitcast i8*%fC to i8**
store i8*%fH,i8**%fI,align 8
call void@sml_raise(i8*inreg%fC)#1
unreachable
fJ:
%fK=getelementptr inbounds i8,i8*%r,i64 8
%fL=bitcast i8*%fK to i8**
%fM=load i8*,i8**%fL,align 8
store i8*%fM,i8**%f,align 8
%fN=call fastcc i8*@_SMLFN7EvalIty7evalItyE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fO=getelementptr inbounds i8,i8*%fN,i64 16
%fP=bitcast i8*%fO to i8*(i8*,i8*)**
%fQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fP,align 8
%fR=bitcast i8*%fN to i8**
%fS=load i8*,i8**%fR,align 8
%fT=load i8*,i8**@_SMLZN7EvalIty12emptyContextE,align 8
%fU=call fastcc i8*%fQ(i8*inreg%fS,i8*inreg%fT)
%fV=getelementptr inbounds i8,i8*%fU,i64 16
%fW=bitcast i8*%fV to i8*(i8*,i8*)**
%fX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fW,align 8
%fY=bitcast i8*%fU to i8**
%fZ=load i8*,i8**%fY,align 8
%f0=load i8*,i8**%f,align 8
%f1=getelementptr inbounds i8,i8*%f0,i64 16
%f2=bitcast i8*%f1 to i8**
%f3=load i8*,i8**%f2,align 8
%f4=call fastcc i8*%fX(i8*inreg%fZ,i8*inreg%f3)
store i8*%f4,i8**%c,align 8
%f5=load i8*,i8**%h,align 8
%f6=getelementptr inbounds i8,i8*%f5,i64 8
%f7=bitcast i8*%f6 to i8**
%f8=load i8*,i8**%f7,align 8
%f9=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%f8)
%ga=getelementptr inbounds i8,i8*%f9,i64 16
%gb=bitcast i8*%ga to i8*(i8*,i8*)**
%gc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gb,align 8
%gd=bitcast i8*%f9 to i8**
%ge=load i8*,i8**%gd,align 8
store i8*%ge,i8**%k,align 8
%gf=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 60)
%gg=getelementptr inbounds i8,i8*%gf,i64 16
%gh=bitcast i8*%gg to i8*(i8*,i8*)**
%gi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gh,align 8
%gj=bitcast i8*%gf to i8**
%gk=load i8*,i8**%gj,align 8
store i8*%gk,i8**%j,align 8
%gl=call fastcc i8*@_SMLFN5Types15formatTyForUserE(i32 inreg 0,i32 inreg 16,i32 inreg 1,i32 inreg 8)
%gm=getelementptr inbounds i8,i8*%gl,i64 16
%gn=bitcast i8*%gm to i8*(i8*,i8*)**
%go=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gn,align 8
%gp=bitcast i8*%gl to i8**
%gq=load i8*,i8**%gp,align 8
store i8*%gq,i8**%i,align 8
%gr=bitcast i8**%h to i8***
%gs=load i8**,i8***%gr,align 8
%gt=load i8*,i8**%gs,align 8
store i8*%gt,i8**%d,align 8
%gu=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%gu,i8**%e,align 8
%gv=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%gv,i8**%g,align 8
%gw=call i8*@sml_alloc(i32 inreg 28)#0
%gx=getelementptr inbounds i8,i8*%gw,i64 -4
%gy=bitcast i8*%gx to i32*
store i32 1342177304,i32*%gy,align 4
%gz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gA=bitcast i8*%gw to i8**
store i8*%gz,i8**%gA,align 8
%gB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gC=getelementptr inbounds i8,i8*%gw,i64 8
%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*%gw,i64 16
%gG=bitcast i8*%gF to i8**
store i8*%gE,i8**%gG,align 8
%gH=getelementptr inbounds i8,i8*%gw,i64 24
%gI=bitcast i8*%gH to i32*
store i32 7,i32*%gI,align 4
%gJ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%gK=call fastcc i8*%go(i8*inreg%gJ,i8*inreg%gw)
%gL=getelementptr inbounds i8,i8*%gK,i64 16
%gM=bitcast i8*%gL to i8*(i8*,i8*)**
%gN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gM,align 8
%gO=bitcast i8*%gK to i8**
%gP=load i8*,i8**%gO,align 8
%gQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gR=call fastcc i8*%gN(i8*inreg%gP,i8*inreg%gQ)
%gS=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%gT=call fastcc i8*%gi(i8*inreg%gS,i8*inreg%gR)
%gU=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%gV=call fastcc i8*%gc(i8*inreg%gU,i8*inreg%gT)
store i8*%gV,i8**%c,align 8
%gW=load i8*,i8**%h,align 8
%gX=getelementptr inbounds i8,i8*%gW,i64 8
%gY=bitcast i8*%gX to i8**
%gZ=load i8*,i8**%gY,align 8
%g0=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%gZ)
%g1=getelementptr inbounds i8,i8*%g0,i64 16
%g2=bitcast i8*%g1 to i8*(i8*,i8*)**
%g3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g2,align 8
%g4=bitcast i8*%g0 to i8**
%g5=load i8*,i8**%g4,align 8
store i8*%g5,i8**%d,align 8
%g6=load i8*,i8**%h,align 8
%g7=getelementptr inbounds i8,i8*%g6,i64 16
%g8=bitcast i8*%g7 to i8**
%g9=load i8*,i8**%g8,align 8
%ha=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%g9)
%hb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hc=call fastcc i8*%g3(i8*inreg%hb,i8*inreg%ha)
store i8*%hc,i8**%d,align 8
%hd=load i8*,i8**%h,align 8
%he=getelementptr inbounds i8,i8*%hd,i64 8
%hf=bitcast i8*%he to i8**
%hg=load i8*,i8**%hf,align 8
%hh=call fastcc i8*@_SMLFN10ReifyUtils3ConE(i8*inreg%hg)
%hi=getelementptr inbounds i8,i8*%hh,i64 16
%hj=bitcast i8*%hi to i8*(i8*,i8*)**
%hk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hj,align 8
%hl=bitcast i8*%hh to i8**
%hm=load i8*,i8**%hl,align 8
store i8*%hm,i8**%e,align 8
%hn=load i8*,i8**%h,align 8
%ho=getelementptr inbounds i8,i8*%hn,i64 8
%hp=bitcast i8*%ho to i8**
%hq=load i8*,i8**%hp,align 8
%hr=call fastcc i8*@_SMLFN18UserLevelPrimitive21REIFY__conInfo__BUILTINE(i8*inreg%hq)
%hs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ht=call fastcc i8*%hk(i8*inreg%hs,i8*inreg%hr)
%hu=getelementptr inbounds i8,i8*%ht,i64 16
%hv=bitcast i8*%hu to i8*(i8*,i8*)**
%hw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hv,align 8
%hx=bitcast i8*%ht to i8**
%hy=load i8*,i8**%hx,align 8
%hz=call fastcc i8*%hw(i8*inreg%hy,i8*inreg null)
store i8*%hz,i8**%e,align 8
%hA=load i8*,i8**%h,align 8
%hB=getelementptr inbounds i8,i8*%hA,i64 8
%hC=bitcast i8*%hB to i8**
%hD=load i8*,i8**%hC,align 8
%hE=call fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%hD)
%hF=getelementptr inbounds i8,i8*%hE,i64 16
%hG=bitcast i8*%hF to i8*(i8*,i8*)**
%hH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hG,align 8
%hI=bitcast i8*%hE to i8**
%hJ=load i8*,i8**%hI,align 8
store i8*%hJ,i8**%g,align 8
%hK=bitcast i8**%f to i8***
%hL=load i8**,i8***%hK,align 8
store i8*null,i8**%f,align 8
%hM=load i8*,i8**%hL,align 8
%hN=call fastcc i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__mkEXVarIdstatusE(i8*inreg%hM)
%hO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hP=call fastcc i8*%hH(i8*inreg%hO,i8*inreg%hN)
store i8*%hP,i8**%f,align 8
%hQ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hR=getelementptr inbounds i8,i8*%hQ,i64 8
%hS=bitcast i8*%hR to i8**
%hT=load i8*,i8**%hS,align 8
%hU=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%hT)
to label%hV unwind label%iM
hV:
%hW=getelementptr inbounds i8,i8*%hU,i64 16
%hX=bitcast i8*%hW to i8*(i8*,i8*)**
%hY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hX,align 8
%hZ=bitcast i8*%hU to i8**
%h0=load i8*,i8**%hZ,align 8
%h1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%h2=invoke fastcc i8*%hY(i8*inreg%h0,i8*inreg%h1)
to label%h3 unwind label%iM
h3:
%h4=getelementptr inbounds i8,i8*%h2,i64 16
%h5=bitcast i8*%h4 to i8*(i8*,i8*)**
%h6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h5,align 8
%h7=bitcast i8*%h2 to i8**
%h8=load i8*,i8**%h7,align 8
store i8*%h8,i8**%f,align 8
%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
store i8*%h9,i8**%g,align 8
%ic=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%id=bitcast i8*%h9 to i8**
store i8*%ic,i8**%id,align 8
%ie=getelementptr inbounds i8,i8*%h9,i64 8
%if=bitcast i8*%ie to i8**
store i8*null,i8**%if,align 8
%ig=getelementptr inbounds i8,i8*%h9,i64 16
%ih=bitcast i8*%ig to i32*
store i32 3,i32*%ih,align 4
%ii=call i8*@sml_alloc(i32 inreg 20)#0
%ij=getelementptr inbounds i8,i8*%ii,i64 -4
%ik=bitcast i8*%ij to i32*
store i32 1342177296,i32*%ik,align 4
store i8*%ii,i8**%c,align 8
%il=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%im=bitcast i8*%ii to i8**
store i8*%il,i8**%im,align 8
%in=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%io=getelementptr inbounds i8,i8*%ii,i64 8
%ip=bitcast i8*%io to i8**
store i8*%in,i8**%ip,align 8
%iq=getelementptr inbounds i8,i8*%ii,i64 16
%ir=bitcast i8*%iq to i32*
store i32 3,i32*%ir,align 4
%is=call i8*@sml_alloc(i32 inreg 20)#0
%it=getelementptr inbounds i8,i8*%is,i64 -4
%iu=bitcast i8*%it to i32*
store i32 1342177296,i32*%iu,align 4
%iv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%iw=bitcast i8*%is to i8**
store i8*%iv,i8**%iw,align 8
%ix=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iy=getelementptr inbounds i8,i8*%is,i64 8
%iz=bitcast i8*%iy to i8**
store i8*%ix,i8**%iz,align 8
%iA=getelementptr inbounds i8,i8*%is,i64 16
%iB=bitcast i8*%iA to i32*
store i32 3,i32*%iB,align 4
%iC=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iD=invoke fastcc i8*%h6(i8*inreg%iC,i8*inreg%is)
to label%iE unwind label%iM
iE:
store i8*%iD,i8**%c,align 8
%iF=call i8*@sml_alloc(i32 inreg 12)#0
%iG=getelementptr inbounds i8,i8*%iF,i64 -4
%iH=bitcast i8*%iG to i32*
store i32 1342177288,i32*%iH,align 4
%iI=load i8*,i8**%c,align 8
%iJ=bitcast i8*%iF to i8**
store i8*%iI,i8**%iJ,align 8
%iK=getelementptr inbounds i8,i8*%iF,i64 8
%iL=bitcast i8*%iK to i32*
store i32 1,i32*%iL,align 4
ret i8*%iF
iM:
%iN=landingpad{i8*,i8*}
catch i8*null
%iO=extractvalue{i8*,i8*}%iN,1
%iP=bitcast i8*%iO to i8**
%iQ=load i8*,i8**%iP,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*%iQ,i8**%c,align 8
%iR=call i8*@sml_alloc(i32 inreg 60)#0
%iS=getelementptr inbounds i8,i8*%iR,i64 -4
%iT=bitcast i8*%iS to i32*
store i32 1342177336,i32*%iT,align 4
%iU=getelementptr inbounds i8,i8*%iR,i64 56
%iV=bitcast i8*%iU to i32*
store i32 1,i32*%iV,align 4
%iW=load i8*,i8**%c,align 8
%iX=bitcast i8*%iR to i8**
store i8*%iW,i8**%iX,align 8
call void@sml_raise(i8*inreg%iR)#1
unreachable
iY:
%iZ=getelementptr inbounds i8,i8*%r,i64 8
%i0=bitcast i8*%iZ to i8**
%i1=load i8*,i8**%i0,align 8
store i8*%i1,i8**%e,align 8
%i2=getelementptr inbounds i8,i8*%i1,i64 8
%i3=bitcast i8*%i2 to i8***
%i4=load i8**,i8***%i3,align 8
%i5=load i8*,i8**%i4,align 8
store i8*%i5,i8**%f,align 8
%i6=getelementptr inbounds i8*,i8**%i4,i64 3
%i7=load i8*,i8**%i6,align 8
store i8*%i7,i8**%g,align 8
%i8=getelementptr inbounds i8,i8*%i1,i64 16
%i9=bitcast i8*%i8 to i8**
%ja=load i8*,i8**%i9,align 8
%jb=icmp eq i8*%ja,null
br i1%jb,label%jc,label%oj
jc:
%jd=call i8*@sml_alloc(i32 inreg 20)#0
%je=getelementptr inbounds i8,i8*%jd,i64 -4
%jf=bitcast i8*%je to i32*
store i32 1342177296,i32*%jf,align 4
%jg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jh=bitcast i8*%jd to i8**
store i8*%jg,i8**%jh,align 8
%ji=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jj=getelementptr inbounds i8,i8*%jd,i64 8
%jk=bitcast i8*%jj to i8**
store i8*%ji,i8**%jk,align 8
%jl=getelementptr inbounds i8,i8*%jd,i64 16
%jm=bitcast i8*%jl to i32*
store i32 3,i32*%jm,align 4
%jn=call fastcc i8*@_SMLLN11ReifyTopEnv10setVersionE_113(i8*inreg%jd)
store i8*%jn,i8**%c,align 8
%jo=load i8*,i8**%h,align 8
%jp=getelementptr inbounds i8,i8*%jo,i64 8
%jq=bitcast i8*%jp to i8**
%jr=load i8*,i8**%jq,align 8
%js=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%jr)
%jt=getelementptr inbounds i8,i8*%js,i64 16
%ju=bitcast i8*%jt to i8*(i8*,i8*)**
%jv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ju,align 8
%jw=bitcast i8*%js to i8**
%jx=load i8*,i8**%jw,align 8
store i8*%jx,i8**%d,align 8
%jy=load i8*,i8**%h,align 8
%jz=getelementptr inbounds i8,i8*%jy,i64 16
%jA=bitcast i8*%jz to i8**
%jB=load i8*,i8**%jA,align 8
%jC=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%jB)
%jD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jE=call fastcc i8*%jv(i8*inreg%jD,i8*inreg%jC)
store i8*%jE,i8**%d,align 8
%jF=call fastcc i8*@_SMLFN7EvalIty7evalItyE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%jG=getelementptr inbounds i8,i8*%jF,i64 16
%jH=bitcast i8*%jG to i8*(i8*,i8*)**
%jI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jH,align 8
%jJ=bitcast i8*%jF to i8**
%jK=load i8*,i8**%jJ,align 8
%jL=load i8*,i8**@_SMLZN7EvalIty12emptyContextE,align 8
%jM=call fastcc i8*%jI(i8*inreg%jK,i8*inreg%jL)
%jN=getelementptr inbounds i8,i8*%jM,i64 16
%jO=bitcast i8*%jN to i8*(i8*,i8*)**
%jP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jO,align 8
%jQ=bitcast i8*%jM to i8**
%jR=load i8*,i8**%jQ,align 8
%jS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jT=getelementptr inbounds i8,i8*%jS,i64 8
%jU=bitcast i8*%jT to i8**
%jV=load i8*,i8**%jU,align 8
%jW=getelementptr inbounds i8,i8*%jV,i64 8
%jX=bitcast i8*%jW to i8**
%jY=load i8*,i8**%jX,align 8
%jZ=call fastcc i8*%jP(i8*inreg%jR,i8*inreg%jY)
store i8*%jZ,i8**%e,align 8
%j0=load i8*,i8**%h,align 8
%j1=getelementptr inbounds i8,i8*%j0,i64 8
%j2=bitcast i8*%j1 to i8**
%j3=load i8*,i8**%j2,align 8
%j4=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%j3)
%j5=getelementptr inbounds i8,i8*%j4,i64 16
%j6=bitcast i8*%j5 to i8*(i8*,i8*)**
%j7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j6,align 8
%j8=bitcast i8*%j4 to i8**
%j9=load i8*,i8**%j8,align 8
store i8*%j9,i8**%l,align 8
%ka=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 60)
%kb=getelementptr inbounds i8,i8*%ka,i64 16
%kc=bitcast i8*%kb to i8*(i8*,i8*)**
%kd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kc,align 8
%ke=bitcast i8*%ka to i8**
%kf=load i8*,i8**%ke,align 8
store i8*%kf,i8**%k,align 8
%kg=call fastcc i8*@_SMLFN5Types15formatTyForUserE(i32 inreg 0,i32 inreg 16,i32 inreg 1,i32 inreg 8)
%kh=getelementptr inbounds i8,i8*%kg,i64 16
%ki=bitcast i8*%kh to i8*(i8*,i8*)**
%kj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ki,align 8
%kk=bitcast i8*%kg to i8**
%kl=load i8*,i8**%kk,align 8
store i8*%kl,i8**%j,align 8
%km=bitcast i8**%h to i8***
%kn=load i8**,i8***%km,align 8
%ko=load i8*,i8**%kn,align 8
store i8*%ko,i8**%f,align 8
%kp=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%kp,i8**%g,align 8
%kq=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%kq,i8**%i,align 8
%kr=call i8*@sml_alloc(i32 inreg 28)#0
%ks=getelementptr inbounds i8,i8*%kr,i64 -4
%kt=bitcast i8*%ks to i32*
store i32 1342177304,i32*%kt,align 4
%ku=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kv=bitcast i8*%kr to i8**
store i8*%ku,i8**%kv,align 8
%kw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kx=getelementptr inbounds i8,i8*%kr,i64 8
%ky=bitcast i8*%kx to i8**
store i8*%kw,i8**%ky,align 8
%kz=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%kA=getelementptr inbounds i8,i8*%kr,i64 16
%kB=bitcast i8*%kA to i8**
store i8*%kz,i8**%kB,align 8
%kC=getelementptr inbounds i8,i8*%kr,i64 24
%kD=bitcast i8*%kC to i32*
store i32 7,i32*%kD,align 4
%kE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%kF=call fastcc i8*%kj(i8*inreg%kE,i8*inreg%kr)
%kG=getelementptr inbounds i8,i8*%kF,i64 16
%kH=bitcast i8*%kG to i8*(i8*,i8*)**
%kI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kH,align 8
%kJ=bitcast i8*%kF to i8**
%kK=load i8*,i8**%kJ,align 8
%kL=load i8*,i8**%e,align 8
%kM=call fastcc i8*%kI(i8*inreg%kK,i8*inreg%kL)
%kN=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%kO=call fastcc i8*%kd(i8*inreg%kN,i8*inreg%kM)
%kP=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%kQ=call fastcc i8*%j7(i8*inreg%kP,i8*inreg%kO)
store i8*%kQ,i8**%f,align 8
%kR=load i8*,i8**%h,align 8
%kS=getelementptr inbounds i8,i8*%kR,i64 8
%kT=bitcast i8*%kS to i8**
%kU=load i8*,i8**%kT,align 8
%kV=call fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%kU)
%kW=getelementptr inbounds i8,i8*%kV,i64 16
%kX=bitcast i8*%kW to i8*(i8*,i8*)**
%kY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kX,align 8
%kZ=bitcast i8*%kV to i8**
%k0=load i8*,i8**%kZ,align 8
store i8*%k0,i8**%g,align 8
%k1=call i8*@sml_alloc(i32 inreg 20)#0
%k2=getelementptr inbounds i8,i8*%k1,i64 -4
%k3=bitcast i8*%k2 to i32*
store i32 1342177296,i32*%k3,align 4
%k4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k5=bitcast i8*%k1 to i8**
store i8*%k4,i8**%k5,align 8
%k6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%k7=getelementptr inbounds i8,i8*%k1,i64 8
%k8=bitcast i8*%k7 to i8**
store i8*%k6,i8**%k8,align 8
%k9=getelementptr inbounds i8,i8*%k1,i64 16
%la=bitcast i8*%k9 to i32*
store i32 3,i32*%la,align 4
%lb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lc=call fastcc i8*%kY(i8*inreg%lb,i8*inreg%k1)
%ld=call fastcc i8*@_SMLFN14TypedCalcUtils10groundInstE(i8*inreg%lc)
store i8*%ld,i8**%c,align 8
%le=load i8*,i8**%h,align 8
%lf=getelementptr inbounds i8,i8*%le,i64 8
%lg=bitcast i8*%lf to i8**
%lh=load i8*,i8**%lg,align 8
%li=call fastcc i8*@_SMLFN10ReifyUtils7InstVarE(i8*inreg%lh)
%lj=getelementptr inbounds i8,i8*%li,i64 16
%lk=bitcast i8*%lj to i8*(i8*,i8*)**
%ll=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lk,align 8
%lm=bitcast i8*%li to i8**
%ln=load i8*,i8**%lm,align 8
store i8*%ln,i8**%i,align 8
%lo=load i8*,i8**%h,align 8
%lp=getelementptr inbounds i8,i8*%lo,i64 8
%lq=bitcast i8*%lp to i8**
%lr=load i8*,i8**%lq,align 8
%ls=call fastcc i8*@_SMLFN18UserLevelPrimitive31REIFY__exInfo__toReifiedTermPrintE(i8*inreg%lr)
store i8*%ls,i8**%e,align 8
%lt=load i8*,i8**%c,align 8
%lu=getelementptr inbounds i8,i8*%lt,i64 8
%lv=bitcast i8*%lu to i8**
%lw=load i8*,i8**%lv,align 8
store i8*%lw,i8**%g,align 8
%lx=call i8*@sml_alloc(i32 inreg 20)#0
%ly=getelementptr inbounds i8,i8*%lx,i64 -4
%lz=bitcast i8*%ly to i32*
store i32 1342177296,i32*%lz,align 4
%lA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lB=bitcast i8*%lx to i8**
store i8*%lA,i8**%lB,align 8
%lC=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lD=getelementptr inbounds i8,i8*%lx,i64 8
%lE=bitcast i8*%lD to i8**
store i8*%lC,i8**%lE,align 8
%lF=getelementptr inbounds i8,i8*%lx,i64 16
%lG=bitcast i8*%lF to i32*
store i32 3,i32*%lG,align 4
%lH=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%lI=call fastcc i8*%ll(i8*inreg%lH,i8*inreg%lx)
store i8*%lI,i8**%e,align 8
%lJ=load i8*,i8**%h,align 8
%lK=getelementptr inbounds i8,i8*%lJ,i64 8
%lL=bitcast i8*%lK to i8**
%lM=load i8*,i8**%lL,align 8
%lN=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%lM)
to label%lO unwind label%m4
lO:
%lP=getelementptr inbounds i8,i8*%lN,i64 16
%lQ=bitcast i8*%lP to i8*(i8*,i8*)**
%lR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lQ,align 8
%lS=bitcast i8*%lN to i8**
%lT=load i8*,i8**%lS,align 8
%lU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lV=invoke fastcc i8*%lR(i8*inreg%lT,i8*inreg%lU)
to label%lW unwind label%m4
lW:
%lX=getelementptr inbounds i8,i8*%lV,i64 16
%lY=bitcast i8*%lX to i8*(i8*,i8*)**
%lZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lY,align 8
%l0=bitcast i8*%lV to i8**
%l1=load i8*,i8**%l0,align 8
store i8*%l1,i8**%g,align 8
%l2=load i8*,i8**%h,align 8
%l3=getelementptr inbounds i8,i8*%l2,i64 8
%l4=bitcast i8*%l3 to i8**
%l5=load i8*,i8**%l4,align 8
%l6=invoke fastcc i8*@_SMLFN10ReifyUtils3IntE(i8*inreg%l5)
to label%l7 unwind label%m4
l7:
%l8=getelementptr inbounds i8,i8*%l6,i64 16
%l9=bitcast i8*%l8 to i8*(i8*,i8*)**
%ma=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l9,align 8
%mb=bitcast i8*%l6 to i8**
%mc=load i8*,i8**%mb,align 8
store i8*%mc,i8**%e,align 8
%md=load i32*,i32**bitcast(i8**@_SMLZN12PrintControl13printMaxDepthE to i32**),align 8
%me=load i32,i32*%md,align 4
%mf=call i8*@sml_alloc(i32 inreg 4)#0
%mg=bitcast i8*%mf to i32*
%mh=getelementptr inbounds i8,i8*%mf,i64 -4
%mi=bitcast i8*%mh to i32*
store i32 4,i32*%mi,align 4
store i32%me,i32*%mg,align 4
%mj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%mk=invoke fastcc i8*%ma(i8*inreg%mj,i8*inreg%mf)
to label%ml unwind label%m4
ml:
store i8*%mk,i8**%e,align 8
%mm=call i8*@sml_alloc(i32 inreg 20)#0
%mn=getelementptr inbounds i8,i8*%mm,i64 -4
%mo=bitcast i8*%mn to i32*
store i32 1342177296,i32*%mo,align 4
store i8*%mm,i8**%i,align 8
%mp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%mq=bitcast i8*%mm to i8**
store i8*%mp,i8**%mq,align 8
%mr=getelementptr inbounds i8,i8*%mm,i64 8
%ms=bitcast i8*%mr to i8**
store i8*null,i8**%ms,align 8
%mt=getelementptr inbounds i8,i8*%mm,i64 16
%mu=bitcast i8*%mt to i32*
store i32 3,i32*%mu,align 4
%mv=call i8*@sml_alloc(i32 inreg 20)#0
%mw=getelementptr inbounds i8,i8*%mv,i64 -4
%mx=bitcast i8*%mw to i32*
store i32 1342177296,i32*%mx,align 4
%my=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%mz=bitcast i8*%mv to i8**
store i8*%my,i8**%mz,align 8
%mA=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%mB=getelementptr inbounds i8,i8*%mv,i64 8
%mC=bitcast i8*%mB to i8**
store i8*%mA,i8**%mC,align 8
%mD=getelementptr inbounds i8,i8*%mv,i64 16
%mE=bitcast i8*%mD to i32*
store i32 3,i32*%mE,align 4
%mF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%mG=invoke fastcc i8*%lZ(i8*inreg%mF,i8*inreg%mv)
to label%mH unwind label%m4
mH:
store i8*%mG,i8**%e,align 8
%mI=load i8*,i8**%h,align 8
%mJ=getelementptr inbounds i8,i8*%mI,i64 8
%mK=bitcast i8*%mJ to i8**
%mL=load i8*,i8**%mK,align 8
%mM=call fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%mL)
%mN=getelementptr inbounds i8,i8*%mM,i64 16
%mO=bitcast i8*%mN to i8*(i8*,i8*)**
%mP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mO,align 8
%mQ=bitcast i8*%mM to i8**
%mR=load i8*,i8**%mQ,align 8
store i8*%mR,i8**%c,align 8
%mS=load i8*,i8**%h,align 8
%mT=getelementptr inbounds i8,i8*%mS,i64 8
%mU=bitcast i8*%mT to i8**
%mV=load i8*,i8**%mU,align 8
%mW=call fastcc i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__mkEXVarIdstatusE(i8*inreg%mV)
%mX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%mY=call fastcc i8*%mP(i8*inreg%mX,i8*inreg%mW)
store i8*%mY,i8**%c,align 8
%mZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%m0=getelementptr inbounds i8,i8*%mZ,i64 8
%m1=bitcast i8*%m0 to i8**
%m2=load i8*,i8**%m1,align 8
%m3=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%m2)
to label%ng unwind label%n7
m4:
%m5=landingpad{i8*,i8*}
catch i8*null
%m6=extractvalue{i8*,i8*}%m5,1
%m7=bitcast i8*%m6 to i8**
%m8=load i8*,i8**%m7,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%g,align 8
store i8*%m8,i8**%c,align 8
%m9=call i8*@sml_alloc(i32 inreg 60)#0
%na=getelementptr inbounds i8,i8*%m9,i64 -4
%nb=bitcast i8*%na to i32*
store i32 1342177336,i32*%nb,align 4
%nc=getelementptr inbounds i8,i8*%m9,i64 56
%nd=bitcast i8*%nc to i32*
store i32 1,i32*%nd,align 4
%ne=load i8*,i8**%c,align 8
%nf=bitcast i8*%m9 to i8**
store i8*%ne,i8**%nf,align 8
call void@sml_raise(i8*inreg%m9)#1
unreachable
ng:
%nh=getelementptr inbounds i8,i8*%m3,i64 16
%ni=bitcast i8*%nh to i8*(i8*,i8*)**
%nj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ni,align 8
%nk=bitcast i8*%m3 to i8**
%nl=load i8*,i8**%nk,align 8
%nm=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%nn=invoke fastcc i8*%nj(i8*inreg%nl,i8*inreg%nm)
to label%no unwind label%n7
no:
%np=getelementptr inbounds i8,i8*%nn,i64 16
%nq=bitcast i8*%np to i8*(i8*,i8*)**
%nr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nq,align 8
%ns=bitcast i8*%nn to i8**
%nt=load i8*,i8**%ns,align 8
store i8*%nt,i8**%c,align 8
%nu=call i8*@sml_alloc(i32 inreg 20)#0
%nv=getelementptr inbounds i8,i8*%nu,i64 -4
%nw=bitcast i8*%nv to i32*
store i32 1342177296,i32*%nw,align 4
store i8*%nu,i8**%g,align 8
%nx=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ny=bitcast i8*%nu to i8**
store i8*%nx,i8**%ny,align 8
%nz=getelementptr inbounds i8,i8*%nu,i64 8
%nA=bitcast i8*%nz to i8**
store i8*null,i8**%nA,align 8
%nB=getelementptr inbounds i8,i8*%nu,i64 16
%nC=bitcast i8*%nB to i32*
store i32 3,i32*%nC,align 4
%nD=call i8*@sml_alloc(i32 inreg 20)#0
%nE=getelementptr inbounds i8,i8*%nD,i64 -4
%nF=bitcast i8*%nE to i32*
store i32 1342177296,i32*%nF,align 4
store i8*%nD,i8**%f,align 8
%nG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%nH=bitcast i8*%nD to i8**
store i8*%nG,i8**%nH,align 8
%nI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%nJ=getelementptr inbounds i8,i8*%nD,i64 8
%nK=bitcast i8*%nJ to i8**
store i8*%nI,i8**%nK,align 8
%nL=getelementptr inbounds i8,i8*%nD,i64 16
%nM=bitcast i8*%nL to i32*
store i32 3,i32*%nM,align 4
%nN=call i8*@sml_alloc(i32 inreg 20)#0
%nO=getelementptr inbounds i8,i8*%nN,i64 -4
%nP=bitcast i8*%nO to i32*
store i32 1342177296,i32*%nP,align 4
%nQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%nR=bitcast i8*%nN to i8**
store i8*%nQ,i8**%nR,align 8
%nS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%nT=getelementptr inbounds i8,i8*%nN,i64 8
%nU=bitcast i8*%nT to i8**
store i8*%nS,i8**%nU,align 8
%nV=getelementptr inbounds i8,i8*%nN,i64 16
%nW=bitcast i8*%nV to i32*
store i32 3,i32*%nW,align 4
%nX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%nY=invoke fastcc i8*%nr(i8*inreg%nX,i8*inreg%nN)
to label%nZ unwind label%n7
nZ:
store i8*%nY,i8**%c,align 8
%n0=call i8*@sml_alloc(i32 inreg 12)#0
%n1=getelementptr inbounds i8,i8*%n0,i64 -4
%n2=bitcast i8*%n1 to i32*
store i32 1342177288,i32*%n2,align 4
%n3=load i8*,i8**%c,align 8
%n4=bitcast i8*%n0 to i8**
store i8*%n3,i8**%n4,align 8
%n5=getelementptr inbounds i8,i8*%n0,i64 8
%n6=bitcast i8*%n5 to i32*
store i32 1,i32*%n6,align 4
ret i8*%n0
n7:
%n8=landingpad{i8*,i8*}
catch i8*null
%n9=extractvalue{i8*,i8*}%n8,1
%oa=bitcast i8*%n9 to i8**
%ob=load i8*,i8**%oa,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*%ob,i8**%c,align 8
%oc=call i8*@sml_alloc(i32 inreg 60)#0
%od=getelementptr inbounds i8,i8*%oc,i64 -4
%oe=bitcast i8*%od to i32*
store i32 1342177336,i32*%oe,align 4
%of=getelementptr inbounds i8,i8*%oc,i64 56
%og=bitcast i8*%of to i32*
store i32 1,i32*%og,align 4
%oh=load i8*,i8**%c,align 8
%oi=bitcast i8*%oc to i8**
store i8*%oh,i8**%oi,align 8
call void@sml_raise(i8*inreg%oc)#1
unreachable
oj:
%ok=bitcast i8*%ja to i32*
%ol=load i32,i32*%ok,align 4
%om=call fastcc i8*@_SMLFN7EvalIty7evalItyE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%on=getelementptr inbounds i8,i8*%om,i64 16
%oo=bitcast i8*%on to i8*(i8*,i8*)**
%op=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oo,align 8
%oq=bitcast i8*%om to i8**
%or=load i8*,i8**%oq,align 8
%os=load i8*,i8**@_SMLZN7EvalIty12emptyContextE,align 8
%ot=call fastcc i8*%op(i8*inreg%or,i8*inreg%os)
%ou=getelementptr inbounds i8,i8*%ot,i64 16
%ov=bitcast i8*%ou to i8*(i8*,i8*)**
%ow=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ov,align 8
%ox=bitcast i8*%ot to i8**
%oy=load i8*,i8**%ox,align 8
%oz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%oA=getelementptr inbounds i8,i8*%oz,i64 8
%oB=bitcast i8*%oA to i8**
%oC=load i8*,i8**%oB,align 8
%oD=getelementptr inbounds i8,i8*%oC,i64 8
%oE=bitcast i8*%oD to i8**
%oF=load i8*,i8**%oE,align 8
%oG=call fastcc i8*%ow(i8*inreg%oy,i8*inreg%oF)
store i8*%oG,i8**%c,align 8
%oH=load i8*,i8**%h,align 8
%oI=getelementptr inbounds i8,i8*%oH,i64 8
%oJ=bitcast i8*%oI to i8**
%oK=load i8*,i8**%oJ,align 8
%oL=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%oK)
%oM=getelementptr inbounds i8,i8*%oL,i64 16
%oN=bitcast i8*%oM to i8*(i8*,i8*)**
%oO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oN,align 8
%oP=bitcast i8*%oL to i8**
%oQ=load i8*,i8**%oP,align 8
store i8*%oQ,i8**%l,align 8
%oR=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 60)
%oS=getelementptr inbounds i8,i8*%oR,i64 16
%oT=bitcast i8*%oS to i8*(i8*,i8*)**
%oU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oT,align 8
%oV=bitcast i8*%oR to i8**
%oW=load i8*,i8**%oV,align 8
store i8*%oW,i8**%k,align 8
%oX=call fastcc i8*@_SMLFN5Types15formatTyForUserE(i32 inreg 0,i32 inreg 16,i32 inreg 1,i32 inreg 8)
%oY=getelementptr inbounds i8,i8*%oX,i64 16
%oZ=bitcast i8*%oY to i8*(i8*,i8*)**
%o0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oZ,align 8
%o1=bitcast i8*%oX to i8**
%o2=load i8*,i8**%o1,align 8
store i8*%o2,i8**%j,align 8
%o3=bitcast i8**%h to i8***
%o4=load i8**,i8***%o3,align 8
%o5=load i8*,i8**%o4,align 8
store i8*%o5,i8**%d,align 8
%o6=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%o6,i8**%e,align 8
%o7=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%o7,i8**%i,align 8
%o8=call i8*@sml_alloc(i32 inreg 28)#0
%o9=getelementptr inbounds i8,i8*%o8,i64 -4
%pa=bitcast i8*%o9 to i32*
store i32 1342177304,i32*%pa,align 4
%pb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%pc=bitcast i8*%o8 to i8**
store i8*%pb,i8**%pc,align 8
%pd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pe=getelementptr inbounds i8,i8*%o8,i64 8
%pf=bitcast i8*%pe to i8**
store i8*%pd,i8**%pf,align 8
%pg=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ph=getelementptr inbounds i8,i8*%o8,i64 16
%pi=bitcast i8*%ph to i8**
store i8*%pg,i8**%pi,align 8
%pj=getelementptr inbounds i8,i8*%o8,i64 24
%pk=bitcast i8*%pj to i32*
store i32 7,i32*%pk,align 4
%pl=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%pm=call fastcc i8*%o0(i8*inreg%pl,i8*inreg%o8)
%pn=getelementptr inbounds i8,i8*%pm,i64 16
%po=bitcast i8*%pn to i8*(i8*,i8*)**
%pp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%po,align 8
%pq=bitcast i8*%pm to i8**
%pr=load i8*,i8**%pq,align 8
%ps=load i8*,i8**%c,align 8
%pt=call fastcc i8*%pp(i8*inreg%pr,i8*inreg%ps)
%pu=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%pv=call fastcc i8*%oU(i8*inreg%pu,i8*inreg%pt)
%pw=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%px=call fastcc i8*%oO(i8*inreg%pw,i8*inreg%pv)
store i8*%px,i8**%d,align 8
%py=load i8*,i8**%h,align 8
%pz=getelementptr inbounds i8,i8*%py,i64 8
%pA=bitcast i8*%pz to i8**
%pB=load i8*,i8**%pA,align 8
%pC=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%pB)
%pD=getelementptr inbounds i8,i8*%pC,i64 16
%pE=bitcast i8*%pD to i8*(i8*,i8*)**
%pF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pE,align 8
%pG=bitcast i8*%pC to i8**
%pH=load i8*,i8**%pG,align 8
store i8*%pH,i8**%e,align 8
%pI=load i8*,i8**%h,align 8
%pJ=getelementptr inbounds i8,i8*%pI,i64 16
%pK=bitcast i8*%pJ to i8**
%pL=load i8*,i8**%pK,align 8
%pM=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%pL)
%pN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pO=call fastcc i8*%pF(i8*inreg%pN,i8*inreg%pM)
store i8*%pO,i8**%e,align 8
%pP=call i8*@sml_alloc(i32 inreg 20)#0
%pQ=getelementptr inbounds i8,i8*%pP,i64 -4
%pR=bitcast i8*%pQ to i32*
store i32 1342177296,i32*%pR,align 4
%pS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pT=bitcast i8*%pP to i8**
store i8*%pS,i8**%pT,align 8
%pU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%pV=getelementptr inbounds i8,i8*%pP,i64 8
%pW=bitcast i8*%pV to i8**
store i8*%pU,i8**%pW,align 8
%pX=getelementptr inbounds i8,i8*%pP,i64 16
%pY=bitcast i8*%pX to i32*
store i32 3,i32*%pY,align 4
%pZ=call fastcc i8*@_SMLLN11ReifyTopEnv10setVersionE_113(i8*inreg%pP)
store i8*%pZ,i8**%f,align 8
%p0=call i8*@sml_alloc(i32 inreg 28)#0
%p1=bitcast i8*%p0 to i32*
%p2=getelementptr inbounds i8,i8*%p0,i64 -4
%p3=bitcast i8*%p2 to i32*
store i32 1342177304,i32*%p3,align 4
store i32%ol,i32*%p1,align 4
%p4=getelementptr inbounds i8,i8*%p0,i64 4
%p5=bitcast i8*%p4 to i32*
store i32 0,i32*%p5,align 4
%p6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%p7=getelementptr inbounds i8,i8*%p0,i64 8
%p8=bitcast i8*%p7 to i8**
store i8*%p6,i8**%p8,align 8
%p9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%qa=getelementptr inbounds i8,i8*%p0,i64 16
%qb=bitcast i8*%qa to i8**
store i8*%p9,i8**%qb,align 8
%qc=getelementptr inbounds i8,i8*%p0,i64 24
%qd=bitcast i8*%qc to i32*
store i32 6,i32*%qd,align 4
%qe=call fastcc i8*@_SMLFN10ReifyUtils3VarE(i8*inreg%p0)
%qf=call fastcc i8*@_SMLFN14TypedCalcUtils10groundInstE(i8*inreg%qe)
store i8*%qf,i8**%c,align 8
%qg=load i8*,i8**%h,align 8
%qh=getelementptr inbounds i8,i8*%qg,i64 8
%qi=bitcast i8*%qh to i8**
%qj=load i8*,i8**%qi,align 8
%qk=call fastcc i8*@_SMLFN10ReifyUtils7InstVarE(i8*inreg%qj)
%ql=getelementptr inbounds i8,i8*%qk,i64 16
%qm=bitcast i8*%ql to i8*(i8*,i8*)**
%qn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qm,align 8
%qo=bitcast i8*%qk to i8**
%qp=load i8*,i8**%qo,align 8
store i8*%qp,i8**%i,align 8
%qq=load i8*,i8**%h,align 8
%qr=getelementptr inbounds i8,i8*%qq,i64 8
%qs=bitcast i8*%qr to i8**
%qt=load i8*,i8**%qs,align 8
%qu=call fastcc i8*@_SMLFN18UserLevelPrimitive31REIFY__exInfo__toReifiedTermPrintE(i8*inreg%qt)
store i8*%qu,i8**%f,align 8
%qv=load i8*,i8**%c,align 8
%qw=getelementptr inbounds i8,i8*%qv,i64 8
%qx=bitcast i8*%qw to i8**
%qy=load i8*,i8**%qx,align 8
store i8*%qy,i8**%g,align 8
%qz=call i8*@sml_alloc(i32 inreg 20)#0
%qA=getelementptr inbounds i8,i8*%qz,i64 -4
%qB=bitcast i8*%qA to i32*
store i32 1342177296,i32*%qB,align 4
%qC=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qD=bitcast i8*%qz to i8**
store i8*%qC,i8**%qD,align 8
%qE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%qF=getelementptr inbounds i8,i8*%qz,i64 8
%qG=bitcast i8*%qF to i8**
store i8*%qE,i8**%qG,align 8
%qH=getelementptr inbounds i8,i8*%qz,i64 16
%qI=bitcast i8*%qH to i32*
store i32 3,i32*%qI,align 4
%qJ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%qK=call fastcc i8*%qn(i8*inreg%qJ,i8*inreg%qz)
store i8*%qK,i8**%f,align 8
%qL=load i8*,i8**%h,align 8
%qM=getelementptr inbounds i8,i8*%qL,i64 8
%qN=bitcast i8*%qM to i8**
%qO=load i8*,i8**%qN,align 8
%qP=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%qO)
to label%qQ unwind label%r6
qQ:
%qR=getelementptr inbounds i8,i8*%qP,i64 16
%qS=bitcast i8*%qR to i8*(i8*,i8*)**
%qT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qS,align 8
%qU=bitcast i8*%qP to i8**
%qV=load i8*,i8**%qU,align 8
%qW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qX=invoke fastcc i8*%qT(i8*inreg%qV,i8*inreg%qW)
to label%qY unwind label%r6
qY:
%qZ=getelementptr inbounds i8,i8*%qX,i64 16
%q0=bitcast i8*%qZ to i8*(i8*,i8*)**
%q1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q0,align 8
%q2=bitcast i8*%qX to i8**
%q3=load i8*,i8**%q2,align 8
store i8*%q3,i8**%g,align 8
%q4=load i8*,i8**%h,align 8
%q5=getelementptr inbounds i8,i8*%q4,i64 8
%q6=bitcast i8*%q5 to i8**
%q7=load i8*,i8**%q6,align 8
%q8=invoke fastcc i8*@_SMLFN10ReifyUtils3IntE(i8*inreg%q7)
to label%q9 unwind label%r6
q9:
%ra=getelementptr inbounds i8,i8*%q8,i64 16
%rb=bitcast i8*%ra to i8*(i8*,i8*)**
%rc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rb,align 8
%rd=bitcast i8*%q8 to i8**
%re=load i8*,i8**%rd,align 8
store i8*%re,i8**%f,align 8
%rf=load i32*,i32**bitcast(i8**@_SMLZN12PrintControl13printMaxDepthE to i32**),align 8
%rg=load i32,i32*%rf,align 4
%rh=call i8*@sml_alloc(i32 inreg 4)#0
%ri=bitcast i8*%rh to i32*
%rj=getelementptr inbounds i8,i8*%rh,i64 -4
%rk=bitcast i8*%rj to i32*
store i32 4,i32*%rk,align 4
store i32%rg,i32*%ri,align 4
%rl=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%rm=invoke fastcc i8*%rc(i8*inreg%rl,i8*inreg%rh)
to label%rn unwind label%r6
rn:
store i8*%rm,i8**%f,align 8
%ro=call i8*@sml_alloc(i32 inreg 20)#0
%rp=getelementptr inbounds i8,i8*%ro,i64 -4
%rq=bitcast i8*%rp to i32*
store i32 1342177296,i32*%rq,align 4
store i8*%ro,i8**%i,align 8
%rr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%rs=bitcast i8*%ro to i8**
store i8*%rr,i8**%rs,align 8
%rt=getelementptr inbounds i8,i8*%ro,i64 8
%ru=bitcast i8*%rt to i8**
store i8*null,i8**%ru,align 8
%rv=getelementptr inbounds i8,i8*%ro,i64 16
%rw=bitcast i8*%rv to i32*
store i32 3,i32*%rw,align 4
%rx=call i8*@sml_alloc(i32 inreg 20)#0
%ry=getelementptr inbounds i8,i8*%rx,i64 -4
%rz=bitcast i8*%ry to i32*
store i32 1342177296,i32*%rz,align 4
%rA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%rB=bitcast i8*%rx to i8**
store i8*%rA,i8**%rB,align 8
%rC=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%rD=getelementptr inbounds i8,i8*%rx,i64 8
%rE=bitcast i8*%rD to i8**
store i8*%rC,i8**%rE,align 8
%rF=getelementptr inbounds i8,i8*%rx,i64 16
%rG=bitcast i8*%rF to i32*
store i32 3,i32*%rG,align 4
%rH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%rI=invoke fastcc i8*%q1(i8*inreg%rH,i8*inreg%rx)
to label%rJ unwind label%r6
rJ:
store i8*%rI,i8**%f,align 8
%rK=load i8*,i8**%h,align 8
%rL=getelementptr inbounds i8,i8*%rK,i64 8
%rM=bitcast i8*%rL to i8**
%rN=load i8*,i8**%rM,align 8
%rO=call fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%rN)
%rP=getelementptr inbounds i8,i8*%rO,i64 16
%rQ=bitcast i8*%rP to i8*(i8*,i8*)**
%rR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rQ,align 8
%rS=bitcast i8*%rO to i8**
%rT=load i8*,i8**%rS,align 8
store i8*%rT,i8**%c,align 8
%rU=load i8*,i8**%h,align 8
%rV=getelementptr inbounds i8,i8*%rU,i64 8
%rW=bitcast i8*%rV to i8**
%rX=load i8*,i8**%rW,align 8
%rY=call fastcc i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__mkEXVarIdstatusE(i8*inreg%rX)
%rZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r0=call fastcc i8*%rR(i8*inreg%rZ,i8*inreg%rY)
store i8*%r0,i8**%c,align 8
%r1=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%r2=getelementptr inbounds i8,i8*%r1,i64 8
%r3=bitcast i8*%r2 to i8**
%r4=load i8*,i8**%r3,align 8
%r5=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%r4)
to label%si unwind label%s9
r6:
%r7=landingpad{i8*,i8*}
catch i8*null
%r8=extractvalue{i8*,i8*}%r7,1
%r9=bitcast i8*%r8 to i8**
%sa=load i8*,i8**%r9,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%g,align 8
store i8*%sa,i8**%c,align 8
%sb=call i8*@sml_alloc(i32 inreg 60)#0
%sc=getelementptr inbounds i8,i8*%sb,i64 -4
%sd=bitcast i8*%sc to i32*
store i32 1342177336,i32*%sd,align 4
%se=getelementptr inbounds i8,i8*%sb,i64 56
%sf=bitcast i8*%se to i32*
store i32 1,i32*%sf,align 4
%sg=load i8*,i8**%c,align 8
%sh=bitcast i8*%sb to i8**
store i8*%sg,i8**%sh,align 8
call void@sml_raise(i8*inreg%sb)#1
unreachable
si:
%sj=getelementptr inbounds i8,i8*%r5,i64 16
%sk=bitcast i8*%sj to i8*(i8*,i8*)**
%sl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%sk,align 8
%sm=bitcast i8*%r5 to i8**
%sn=load i8*,i8**%sm,align 8
%so=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%sp=invoke fastcc i8*%sl(i8*inreg%sn,i8*inreg%so)
to label%sq unwind label%s9
sq:
%sr=getelementptr inbounds i8,i8*%sp,i64 16
%ss=bitcast i8*%sr to i8*(i8*,i8*)**
%st=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ss,align 8
%su=bitcast i8*%sp to i8**
%sv=load i8*,i8**%su,align 8
store i8*%sv,i8**%c,align 8
%sw=call i8*@sml_alloc(i32 inreg 20)#0
%sx=getelementptr inbounds i8,i8*%sw,i64 -4
%sy=bitcast i8*%sx to i32*
store i32 1342177296,i32*%sy,align 4
store i8*%sw,i8**%g,align 8
%sz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%sA=bitcast i8*%sw to i8**
store i8*%sz,i8**%sA,align 8
%sB=getelementptr inbounds i8,i8*%sw,i64 8
%sC=bitcast i8*%sB to i8**
store i8*null,i8**%sC,align 8
%sD=getelementptr inbounds i8,i8*%sw,i64 16
%sE=bitcast i8*%sD to i32*
store i32 3,i32*%sE,align 4
%sF=call i8*@sml_alloc(i32 inreg 20)#0
%sG=getelementptr inbounds i8,i8*%sF,i64 -4
%sH=bitcast i8*%sG to i32*
store i32 1342177296,i32*%sH,align 4
store i8*%sF,i8**%d,align 8
%sI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%sJ=bitcast i8*%sF to i8**
store i8*%sI,i8**%sJ,align 8
%sK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%sL=getelementptr inbounds i8,i8*%sF,i64 8
%sM=bitcast i8*%sL to i8**
store i8*%sK,i8**%sM,align 8
%sN=getelementptr inbounds i8,i8*%sF,i64 16
%sO=bitcast i8*%sN to i32*
store i32 3,i32*%sO,align 4
%sP=call i8*@sml_alloc(i32 inreg 20)#0
%sQ=getelementptr inbounds i8,i8*%sP,i64 -4
%sR=bitcast i8*%sQ to i32*
store i32 1342177296,i32*%sR,align 4
%sS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%sT=bitcast i8*%sP to i8**
store i8*%sS,i8**%sT,align 8
%sU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%sV=getelementptr inbounds i8,i8*%sP,i64 8
%sW=bitcast i8*%sV to i8**
store i8*%sU,i8**%sW,align 8
%sX=getelementptr inbounds i8,i8*%sP,i64 16
%sY=bitcast i8*%sX to i32*
store i32 3,i32*%sY,align 4
%sZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%s0=invoke fastcc i8*%st(i8*inreg%sZ,i8*inreg%sP)
to label%s1 unwind label%s9
s1:
store i8*%s0,i8**%c,align 8
%s2=call i8*@sml_alloc(i32 inreg 12)#0
%s3=getelementptr inbounds i8,i8*%s2,i64 -4
%s4=bitcast i8*%s3 to i32*
store i32 1342177288,i32*%s4,align 4
%s5=load i8*,i8**%c,align 8
%s6=bitcast i8*%s2 to i8**
store i8*%s5,i8**%s6,align 8
%s7=getelementptr inbounds i8,i8*%s2,i64 8
%s8=bitcast i8*%s7 to i32*
store i32 1,i32*%s8,align 4
ret i8*%s2
s9:
%ta=landingpad{i8*,i8*}
catch i8*null
%tb=extractvalue{i8*,i8*}%ta,1
%tc=bitcast i8*%tb to i8**
%td=load i8*,i8**%tc,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*%td,i8**%c,align 8
%te=call i8*@sml_alloc(i32 inreg 60)#0
%tf=getelementptr inbounds i8,i8*%te,i64 -4
%tg=bitcast i8*%tf to i32*
store i32 1342177336,i32*%tg,align 4
%th=getelementptr inbounds i8,i8*%te,i64 56
%ti=bitcast i8*%th to i32*
store i32 1,i32*%ti,align 4
%tj=load i8*,i8**%c,align 8
%tk=bitcast i8*%te to i8**
store i8*%tj,i8**%tk,align 8
call void@sml_raise(i8*inreg%te)#1
unreachable
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv13reifyIdstatusE_121(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**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv13reifyIdstatusE_120 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*)*@_SMLLN11ReifyTopEnv13reifyIdstatusE_120 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv13reifyIdstatusE_122(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**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv13reifyIdstatusE_121 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*)*@_SMLLN11ReifyTopEnv13reifyIdstatusE_121 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*@_SMLLN11ReifyTopEnv9reifyTstrE_128(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**%g,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]
store i8*null,i8**%c,align 8
store i8*%q,i8**%d,align 8
%s=bitcast i8*%q to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%t)
%v=call fastcc i8*@_SMLFN10SmlppgUtil9makeTokenE(i8*inreg%u)
store i8*%v,i8**%c,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%w,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
switch i32%B,label%C[
i32 0,label%a4
i32 1,label%U
]
C:
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%D=load i8*,i8**@_SMLZ5Match,align 8
store i8*%D,i8**%c,align 8
%E=call i8*@sml_alloc(i32 inreg 20)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
store i8*%E,i8**%d,align 8
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%E,i64 8
%K=bitcast i8*%J to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@d,i64 0,i32 2,i64 0),i8**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=call i8*@sml_alloc(i32 inreg 60)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177336,i32*%P,align 4
%Q=getelementptr inbounds i8,i8*%N,i64 56
%R=bitcast i8*%Q to i32*
store i32 1,i32*%R,align 4
%S=load i8*,i8**%d,align 8
%T=bitcast i8*%N to i8**
store i8*%S,i8**%T,align 8
call void@sml_raise(i8*inreg%N)#1
unreachable
U:
%V=getelementptr inbounds i8,i8*%z,i64 8
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%f,align 8
%Y=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 70)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%k,align 8
%ae=call fastcc i8*@_SMLFN6IDCalc10print__tfunE(i32 inreg 0,i32 inreg 8,i32 inreg 16,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**%j,align 8
%ak=bitcast i8**%g to i8***
%al=load i8**,i8***%ak,align 8
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%e,align 8
%an=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%an,i8**%h,align 8
%ao=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%ao,i8**%i,align 8
%ap=call i8*@sml_alloc(i32 inreg 28)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177304,i32*%ar,align 4
store i8*%ap,i8**%d,align 8
%as=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ay=getelementptr inbounds i8,i8*%ap,i64 16
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%ap,i64 24
%aB=bitcast i8*%aA to i32*
store i32 7,i32*%aB,align 4
%aC=call fastcc i8*@_SMLFN10SmlppgUtil9makeTokenE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[4x i8]}>,<{[4x i8],i32,[4x i8]}>*@c,i64 0,i32 2,i64 0))
store i8*%aC,i8**%e,align 8
%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**%d,align 8
store i8*null,i8**%d,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aM=getelementptr inbounds i8,i8*%aD,i64 16
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aD,i64 24
%aP=bitcast i8*%aO to i32*
store i32 7,i32*%aP,align 4
%aQ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aR=call fastcc i8*%ah(i8*inreg%aQ,i8*inreg%aD)
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
%aX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 24
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=call fastcc i8*%aU(i8*inreg%aW,i8*inreg%a0)
%a2=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%a3=call fastcc i8*%ab(i8*inreg%a2,i8*inreg%a1)
br label%cf
a4:
%a5=getelementptr inbounds i8,i8*%z,i64 8
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%f,align 8
%a8=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 70)
%a9=getelementptr inbounds i8,i8*%a8,i64 16
%ba=bitcast i8*%a9 to i8*(i8*,i8*)**
%bb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ba,align 8
%bc=bitcast i8*%a8 to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%k,align 8
%be=call fastcc i8*@_SMLFN6IDCalc10print__tfunE(i32 inreg 0,i32 inreg 8,i32 inreg 16,i32 inreg 1,i32 inreg 8)
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%j,align 8
%bk=bitcast i8**%g to i8***
%bl=load i8**,i8***%bk,align 8
%bm=load i8*,i8**%bl,align 8
store i8*%bm,i8**%e,align 8
%bn=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%bn,i8**%h,align 8
%bo=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%bo,i8**%i,align 8
%bp=call i8*@sml_alloc(i32 inreg 28)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177304,i32*%br,align 4
store i8*%bp,i8**%d,align 8
%bs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bv=getelementptr inbounds i8,i8*%bp,i64 8
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%by=getelementptr inbounds i8,i8*%bp,i64 16
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bp,i64 24
%bB=bitcast i8*%bA to i32*
store i32 7,i32*%bB,align 4
%bC=call i8*@sml_alloc(i32 inreg 28)#0
%bD=getelementptr inbounds i8,i8*%bC,i64 -4
%bE=bitcast i8*%bD to i32*
store i32 1342177304,i32*%bE,align 4
%bF=load i8*,i8**%d,align 8
%bG=bitcast i8*%bC to i8**
store i8*%bF,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bC,i64 8
%bI=bitcast i8*%bH to i8**
store i8*null,i8**%bI,align 8
%bJ=load i8*,i8**%c,align 8
%bK=getelementptr inbounds i8,i8*%bC,i64 16
%bL=bitcast i8*%bK to i8**
store i8*%bJ,i8**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bC,i64 24
%bN=bitcast i8*%bM to i32*
store i32 7,i32*%bN,align 4
store i8*%bF,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*%bJ,i8**%e,align 8
%bO=call i8*@sml_alloc(i32 inreg 28)#0
%bP=getelementptr inbounds i8,i8*%bO,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177304,i32*%bQ,align 4
%bR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bS=bitcast i8*%bO to i8**
store i8*%bR,i8**%bS,align 8
%bT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bU=getelementptr inbounds i8,i8*%bO,i64 8
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bX=getelementptr inbounds i8,i8*%bO,i64 16
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bO,i64 24
%b0=bitcast i8*%bZ to i32*
store i32 7,i32*%b0,align 4
%b1=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%b2=call fastcc i8*%bh(i8*inreg%b1,i8*inreg%bO)
%b3=getelementptr inbounds i8,i8*%b2,i64 16
%b4=bitcast i8*%b3 to i8*(i8*,i8*)**
%b5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b4,align 8
%b6=bitcast i8*%b2 to i8**
%b7=load i8*,i8**%b6,align 8
%b8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b9=getelementptr inbounds i8,i8*%b8,i64 8
%ca=bitcast i8*%b9 to i8**
%cb=load i8*,i8**%ca,align 8
%cc=call fastcc i8*%b5(i8*inreg%b7,i8*inreg%cb)
%cd=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%ce=call fastcc i8*%bb(i8*inreg%cd,i8*inreg%cc)
br label%cf
cf:
%cg=phi i8*[%ce,%a4],[%a3,%U]
store i8*%cg,i8**%c,align 8
%ch=load i8*,i8**%g,align 8
%ci=getelementptr inbounds i8,i8*%ch,i64 8
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
%cl=call fastcc i8*@_SMLFN10ReifyUtils4PairE(i8*inreg%ck)
%cm=getelementptr inbounds i8,i8*%cl,i64 16
%cn=bitcast i8*%cm to i8*(i8*,i8*)**
%co=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cn,align 8
%cp=bitcast i8*%cl to i8**
%cq=load i8*,i8**%cp,align 8
store i8*%cq,i8**%d,align 8
%cr=load i8*,i8**%g,align 8
%cs=getelementptr inbounds i8,i8*%cr,i64 8
%ct=bitcast i8*%cs to i8**
%cu=load i8*,i8**%ct,align 8
%cv=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%cu)
%cw=getelementptr inbounds i8,i8*%cv,i64 16
%cx=bitcast i8*%cw to i8*(i8*,i8*)**
%cy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cx,align 8
%cz=bitcast i8*%cv to i8**
%cA=load i8*,i8**%cz,align 8
%cB=call fastcc i8*%cy(i8*inreg%cA,i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@e,i64 0,i32 2,i64 0))
%cC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cD=call fastcc i8*%co(i8*inreg%cC,i8*inreg%cB)
%cE=getelementptr inbounds i8,i8*%cD,i64 16
%cF=bitcast i8*%cE to i8*(i8*,i8*)**
%cG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cF,align 8
%cH=bitcast i8*%cD to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%d,align 8
%cJ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cK=getelementptr inbounds i8,i8*%cJ,i64 8
%cL=bitcast i8*%cK to i8**
%cM=load i8*,i8**%cL,align 8
%cN=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%cM)
%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
%cT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cU=call fastcc i8*%cQ(i8*inreg%cS,i8*inreg%cT)
%cV=load i8*,i8**%d,align 8
%cW=tail call fastcc i8*%cG(i8*inreg%cV,i8*inreg%cU)
ret i8*%cW
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv9reifyTstrE_129(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**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv9reifyTstrE_128 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*)*@_SMLLN11ReifyTopEnv9reifyTstrE_128 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*@_SMLLN11ReifyTopEnv17filterSpecConVarEE_132(i8*inreg%a)#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%b,align 8
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=icmp eq i32%s,9
%u=getelementptr inbounds i8,i8*%k,i64 16
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
br i1%t,label%T,label%x
x:
store i8*%w,i8**%d,align 8
%y=call fastcc i8*@_SMLFN9SymbolEnv6insertE(i32 inreg 1,i32 inreg 8)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%E=call i8*@sml_alloc(i32 inreg 28)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177304,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%b,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=load i8*,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%E,i64 16
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%E,i64 24
%Q=bitcast i8*%P to i32*
store i32 7,i32*%Q,align 4
%R=load i8*,i8**%e,align 8
%S=tail call fastcc i8*%B(i8*inreg%R,i8*inreg%E)
ret i8*%S
T:
ret i8*%w
}
define internal fastcc i32@_SMLL3tyE_150(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=tail call fastcc i32@_SMLFN6Symbol7compareE(i8*inreg%r)
ret i32%B
}
define internal fastcc i8*@_SMLL4strE_152(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=getelementptr inbounds i8,i8*%m,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%q,i64 16
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*@_SMLFN10ReifyUtils4PairE(i8*inreg%w)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%g,align 8
%D=load i8*,i8**%c,align 8
%E=getelementptr inbounds i8,i8*%D,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%J)
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8*(i8*,i8*)**
%N=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%M,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%f,align 8
%Q=bitcast i8**%c to i8***
%R=load i8**,i8***%Q,align 8
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%S)
%U=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%V=call fastcc i8*%N(i8*inreg%U,i8*inreg%T)
%W=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%X=call fastcc i8*%A(i8*inreg%W,i8*inreg%V)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%f,align 8
%ad=bitcast i8**%e to i8***
%ae=load i8**,i8***%ad,align 8
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%e,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
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%e,align 8
store i8*null,i8**%e,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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*null,i8**%d,align 8
%ax=call fastcc i8*@_SMLLN11ReifyTopEnv8reifyEnvE_140(i8*inreg%ag,i8*inreg%aw,i8*inreg%aj)
%ay=load i8*,i8**%f,align 8
%az=tail call fastcc i8*%aa(i8*inreg%ay,i8*inreg%ax)
ret i8*%az
}
define internal fastcc i32@_SMLL4strE_153(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=tail call fastcc i32@_SMLFN6Symbol7compareE(i8*inreg%r)
ret i32%B
}
define internal fastcc i32@_SMLL4varE_155(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=tail call fastcc i32@_SMLFN6Symbol7compareE(i8*inreg%r)
ret i32%B
}
define internal fastcc i8*@_SMLL4varE_157(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%e,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%e,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=getelementptr inbounds i8,i8*%m,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%f,align 8
%r=bitcast i8*%m to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%t)
%v=load i8*,i8**%g,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z)
%A=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%A)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%y,i8**%c,align 8
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177288,i32*%D,align 4
store i8*%B,i8**%d,align 8
%E=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=load i8*,i8**%d,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv13reifyIdstatusE_122 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv13reifyIdstatusE_122 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 -2147483647,i32*%S,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A)
%T=bitcast i8**%g to i8***
%U=load i8**,i8***%T,align 8
store i8*null,i8**%g,align 8
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*@_SMLLN11ReifyTopEnv13reifyIdstatusE_122(i8*inreg%L,i8*inreg%V)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
%ac=bitcast i8**%e to i8****
%ad=load i8***,i8****%ac,align 8
%ae=load i8**,i8***%ad,align 8
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*%Z(i8*inreg%ab,i8*inreg%af)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
%am=bitcast i8**%e to i8***
%an=load i8**,i8***%am,align 8
store i8*null,i8**%e,align 8
%ao=load i8*,i8**%an,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=call fastcc i8*%aj(i8*inreg%al,i8*inreg%ar)
%at=icmp eq i8*%as,null
br i1%at,label%au,label%aw
au:
%av=load i8*,i8**%f,align 8
ret i8*%av
aw:
%ax=bitcast i8*%as to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%e,align 8
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
%aC=load i8*,i8**%e,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=load i8*,i8**%f,align 8
%aF=getelementptr inbounds i8,i8*%az,i64 8
%aG=bitcast i8*%aF to i8**
store i8*%aE,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%az,i64 16
%aI=bitcast i8*%aH to i32*
store i32 3,i32*%aI,align 4
ret i8*%az
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv8reifyEnvE_140(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
v:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%g,align 8
store i8*%c,i8**%h,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%t,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%h,align 8
%r=load i8*,i8**%g,align 8
%s=load i8*,i8**%f,align 8
br label%t
t:
%u=phi i8*[%s,%p],[%a,%v]
%w=phi i8*[%r,%p],[%b,%v]
%x=phi i8*[%q,%p],[%c,%v]
store i8*null,i8**%h,align 8
store i8*null,i8**%g,align 8
store i8*%w,i8**%j,align 8
store i8*null,i8**%f,align 8
store i8*%u,i8**%k,align 8
%y=call fastcc i8*@_SMLFN11NormalizeTy9reduceEnvE(i8*inreg%x)
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%i,align 8
%B=getelementptr inbounds i8,i8*%y,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%f,align 8
%E=getelementptr inbounds i8,i8*%y,i64 16
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%g,align 8
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177304,i32*%J,align 4
store i8*%H,i8**%h,align 8
%K=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%Q=getelementptr inbounds i8,i8*%H,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%H,i64 24
%T=bitcast i8*%S to i32*
store i32 7,i32*%T,align 4
%U=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%Z,i8**%f,align 8
%aa=load i8*,i8**%k,align 8
%ab=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ab)
%ac=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ac)
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%aa,i8**%d,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**%e,align 8
%ag=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=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**%e,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ak,i64 8
%aq=bitcast i8*%ap to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv9reifyTstrE_129 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*)*@_SMLLN11ReifyTopEnv9reifyTstrE_129 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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ab)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ac)
%av=load i8*,i8**%j,align 8
%aw=call fastcc i8*@_SMLLN11ReifyTopEnv9reifyTstrE_129(i8*inreg%an,i8*inreg%av)
%ax=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ay=call fastcc i8*%X(i8*inreg%ax,i8*inreg%aw)
%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**%g,align 8
%aE=call fastcc i8*@_SMLFN10ListSorter4sortE(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
%aK=call fastcc i8*%aH(i8*inreg%aJ,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@g,i64 0,i32 2)to i8*))
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*)**
%aN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%f,align 8
%aQ=call fastcc i8*@_SMLFN9SymbolEnv10listItemsiE(i32 inreg 1,i32 inreg 8)
%aR=getelementptr inbounds i8,i8*%aQ,i64 16
%aS=bitcast i8*%aR to i8*(i8*,i8*)**
%aT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aS,align 8
%aU=bitcast i8*%aQ to i8**
%aV=load i8*,i8**%aU,align 8
%aW=load i8*,i8**%h,align 8
%aX=getelementptr inbounds i8,i8*%aW,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=call fastcc i8*%aT(i8*inreg%aV,i8*inreg%aZ)
%a1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a2=call fastcc i8*%aN(i8*inreg%a1,i8*inreg%a0)
%a3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a4=call fastcc i8*%aB(i8*inreg%a3,i8*inreg%a2)
store i8*%a4,i8**%f,align 8
%a5=load i8*,i8**%j,align 8
%a6=call fastcc i8*@_SMLFN10ReifyUtils4ListE(i8*inreg%a5)
%a7=getelementptr inbounds i8,i8*%a6,i64 16
%a8=bitcast i8*%a7 to i8*(i8*,i8*)**
%a9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a8,align 8
%ba=bitcast i8*%a6 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%l,align 8
%bc=load i8*,i8**@_SMLZN13ReifiedTyData8StringTyE,align 8
store i8*%bc,i8**%g,align 8
store i8*%bc,i8**%i,align 8
%bd=call i8*@sml_alloc(i32 inreg 20)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177296,i32*%bf,align 4
%bg=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bj=getelementptr inbounds i8,i8*%bd,i64 8
%bk=bitcast i8*%bj to i8**
store i8*%bi,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bd,i64 16
%bm=bitcast i8*%bl to i32*
store i32 3,i32*%bm,align 4
%bn=call fastcc i8*@_SMLFN10ReifyUtils2_J_JE(i8*inreg%bd)
%bo=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bp=call fastcc i8*%a9(i8*inreg%bo,i8*inreg%bn)
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
%bv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bw=call fastcc i8*%bs(i8*inreg%bu,i8*inreg%bv)
store i8*%bw,i8**%f,align 8
%bx=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%by=getelementptr inbounds i8,i8*%bx,i64 16
%bz=bitcast i8*%by to i8*(i8*,i8*)**
%bA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bz,align 8
%bB=bitcast i8*%bx to i8**
%bC=load i8*,i8**%bB,align 8
store i8*%bC,i8**%g,align 8
%bD=call i8*@sml_alloc(i32 inreg 12)#0
%bE=getelementptr inbounds i8,i8*%bD,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177288,i32*%bF,align 4
store i8*%bD,i8**%i,align 8
%bG=load i8*,i8**%k,align 8
%bH=bitcast i8*%bD to i8**
store i8*%bG,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bD,i64 8
%bJ=bitcast i8*%bI to i32*
store i32 1,i32*%bJ,align 4
%bK=call i8*@sml_alloc(i32 inreg 28)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177304,i32*%bM,align 4
%bN=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bK,i64 8
%bQ=bitcast i8*%bP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4strE_152 to void(...)*),void(...)**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bK,i64 16
%bS=bitcast i8*%bR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4strE_152 to void(...)*),void(...)**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 24
%bU=bitcast i8*%bT to i32*
store i32 -2147483647,i32*%bU,align 4
%bV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bW=call fastcc i8*%bA(i8*inreg%bV,i8*inreg%bK)
%bX=getelementptr inbounds i8,i8*%bW,i64 16
%bY=bitcast i8*%bX to i8*(i8*,i8*)**
%bZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bY,align 8
%b0=bitcast i8*%bW to i8**
%b1=load i8*,i8**%b0,align 8
store i8*%b1,i8**%i,align 8
%b2=call fastcc i8*@_SMLFN10ListSorter4sortE(i32 inreg 1,i32 inreg 8)
%b3=getelementptr inbounds i8,i8*%b2,i64 16
%b4=bitcast i8*%b3 to i8*(i8*,i8*)**
%b5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b4,align 8
%b6=bitcast i8*%b2 to i8**
%b7=load i8*,i8**%b6,align 8
%b8=call fastcc i8*%b5(i8*inreg%b7,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*))
%b9=getelementptr inbounds i8,i8*%b8,i64 16
%ca=bitcast i8*%b9 to i8*(i8*,i8*)**
%cb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ca,align 8
%cc=bitcast i8*%b8 to i8**
%cd=load i8*,i8**%cc,align 8
store i8*%cd,i8**%g,align 8
%ce=call fastcc i8*@_SMLFN9SymbolEnv10listItemsiE(i32 inreg 1,i32 inreg 8)
%cf=getelementptr inbounds i8,i8*%ce,i64 16
%cg=bitcast i8*%cf to i8*(i8*,i8*)**
%ch=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cg,align 8
%ci=bitcast i8*%ce to i8**
%cj=load i8*,i8**%ci,align 8
%ck=load i8*,i8**%h,align 8
%cl=getelementptr inbounds i8,i8*%ck,i64 16
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
%co=call fastcc i8*%ch(i8*inreg%cj,i8*inreg%cn)
%cp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cq=call fastcc i8*%cb(i8*inreg%cp,i8*inreg%co)
%cr=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cs=call fastcc i8*%bZ(i8*inreg%cr,i8*inreg%cq)
store i8*%cs,i8**%g,align 8
%ct=load i8*,i8**%j,align 8
%cu=call fastcc i8*@_SMLFN10ReifyUtils4ListE(i8*inreg%ct)
%cv=getelementptr inbounds i8,i8*%cu,i64 16
%cw=bitcast i8*%cv to i8*(i8*,i8*)**
%cx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cw,align 8
%cy=bitcast i8*%cu to i8**
%cz=load i8*,i8**%cy,align 8
store i8*%cz,i8**%m,align 8
%cA=load i8*,i8**%j,align 8
%cB=call fastcc i8*@_SMLFN13ReifiedTyData5EnvTyE(i8*inreg%cA)
store i8*%cB,i8**%i,align 8
%cC=load i8*,i8**@_SMLZN13ReifiedTyData8StringTyE,align 8
store i8*%cC,i8**%l,align 8
%cD=call i8*@sml_alloc(i32 inreg 20)#0
%cE=getelementptr inbounds i8,i8*%cD,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177296,i32*%cF,align 4
%cG=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cH=bitcast i8*%cD to i8**
store i8*%cG,i8**%cH,align 8
%cI=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cJ=getelementptr inbounds i8,i8*%cD,i64 8
%cK=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cD,i64 16
%cM=bitcast i8*%cL to i32*
store i32 3,i32*%cM,align 4
%cN=call fastcc i8*@_SMLFN10ReifyUtils2_J_JE(i8*inreg%cD)
%cO=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%cP=call fastcc i8*%cx(i8*inreg%cO,i8*inreg%cN)
%cQ=getelementptr inbounds i8,i8*%cP,i64 16
%cR=bitcast i8*%cQ to i8*(i8*,i8*)**
%cS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cR,align 8
%cT=bitcast i8*%cP to i8**
%cU=load i8*,i8**%cT,align 8
%cV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cW=call fastcc i8*%cS(i8*inreg%cU,i8*inreg%cV)
store i8*%cW,i8**%g,align 8
%cX=call fastcc i8*@_SMLFN10ListSorter4sortE(i32 inreg 1,i32 inreg 8)
%cY=getelementptr inbounds i8,i8*%cX,i64 16
%cZ=bitcast i8*%cY to i8*(i8*,i8*)**
%c0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cZ,align 8
%c1=bitcast i8*%cX to i8**
%c2=load i8*,i8**%c1,align 8
%c3=call fastcc i8*%c0(i8*inreg%c2,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%c4=getelementptr inbounds i8,i8*%c3,i64 16
%c5=bitcast i8*%c4 to i8*(i8*,i8*)**
%c6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c5,align 8
%c7=bitcast i8*%c3 to i8**
%c8=load i8*,i8**%c7,align 8
store i8*%c8,i8**%i,align 8
%c9=call fastcc i8*@_SMLFN9SymbolEnv10listItemsiE(i32 inreg 1,i32 inreg 8)
%da=getelementptr inbounds i8,i8*%c9,i64 16
%db=bitcast i8*%da to i8*(i8*,i8*)**
%dc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%db,align 8
%dd=bitcast i8*%c9 to i8**
%de=load i8*,i8**%dd,align 8
%df=bitcast i8**%h to i8***
%dg=load i8**,i8***%df,align 8
store i8*null,i8**%h,align 8
%dh=load i8*,i8**%dg,align 8
%di=call fastcc i8*%dc(i8*inreg%de,i8*inreg%dh)
%dj=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dk=call fastcc i8*%c6(i8*inreg%dj,i8*inreg%di)
store i8*%dk,i8**%h,align 8
%dl=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dm=getelementptr inbounds i8,i8*%dl,i64 16
%dn=bitcast i8*%dm to i8*(i8*,i8*)**
%do=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dn,align 8
%dp=bitcast i8*%dl to i8**
%dq=load i8*,i8**%dp,align 8
store i8*%dq,i8**%i,align 8
%dr=call i8*@sml_alloc(i32 inreg 20)#0
%ds=getelementptr inbounds i8,i8*%dr,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177296,i32*%dt,align 4
store i8*%dr,i8**%l,align 8
%du=load i8*,i8**%j,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dx=getelementptr inbounds i8,i8*%dr,i64 8
%dy=bitcast i8*%dx to i8**
store i8*%dw,i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%dr,i64 16
%dA=bitcast i8*%dz to i32*
store i32 3,i32*%dA,align 4
%dB=call i8*@sml_alloc(i32 inreg 28)#0
%dC=getelementptr inbounds i8,i8*%dB,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177304,i32*%dD,align 4
%dE=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dF=bitcast i8*%dB to i8**
store i8*%dE,i8**%dF,align 8
%dG=getelementptr inbounds i8,i8*%dB,i64 8
%dH=bitcast i8*%dG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4varE_157 to void(...)*),void(...)**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dB,i64 16
%dJ=bitcast i8*%dI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4varE_157 to void(...)*),void(...)**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%dB,i64 24
%dL=bitcast i8*%dK to i32*
store i32 -2147483647,i32*%dL,align 4
%dM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dN=call fastcc i8*%do(i8*inreg%dM,i8*inreg%dB)
%dO=getelementptr inbounds i8,i8*%dN,i64 16
%dP=bitcast i8*%dO to i8*(i8*,i8*)**
%dQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dP,align 8
%dR=bitcast i8*%dN to i8**
%dS=load i8*,i8**%dR,align 8
%dT=call fastcc i8*%dQ(i8*inreg%dS,i8*inreg null)
%dU=getelementptr inbounds i8,i8*%dT,i64 16
%dV=bitcast i8*%dU to i8*(i8*,i8*)**
%dW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dV,align 8
%dX=bitcast i8*%dT to i8**
%dY=load i8*,i8**%dX,align 8
%dZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%d0=call fastcc i8*%dW(i8*inreg%dY,i8*inreg%dZ)
store i8*%d0,i8**%h,align 8
%d1=load i8*,i8**%j,align 8
%d2=call fastcc i8*@_SMLFN10ReifyUtils4ListE(i8*inreg%d1)
%d3=getelementptr inbounds i8,i8*%d2,i64 16
%d4=bitcast i8*%d3 to i8*(i8*,i8*)**
%d5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d4,align 8
%d6=bitcast i8*%d2 to i8**
%d7=load i8*,i8**%d6,align 8
store i8*%d7,i8**%i,align 8
%d8=load i8*,i8**%j,align 8
%d9=call fastcc i8*@_SMLFN13ReifiedTyData10IdstatusTyE(i8*inreg%d8)
%ea=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eb=call fastcc i8*%d5(i8*inreg%ea,i8*inreg%d9)
%ec=getelementptr inbounds i8,i8*%eb,i64 16
%ed=bitcast i8*%ec to i8*(i8*,i8*)**
%ee=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ed,align 8
%ef=bitcast i8*%eb to i8**
%eg=load i8*,i8**%ef,align 8
%eh=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ei=call fastcc i8*%ee(i8*inreg%eg,i8*inreg%eh)
store i8*%ei,i8**%h,align 8
%ej=load i8*,i8**%j,align 8
%ek=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%ej)
to label%el unwind label%fi
el:
%em=getelementptr inbounds i8,i8*%ek,i64 16
%en=bitcast i8*%em to i8*(i8*,i8*)**
%eo=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%en,align 8
%ep=bitcast i8*%ek to i8**
%eq=load i8*,i8**%ep,align 8
store i8*%eq,i8**%k,align 8
%er=load i8*,i8**%j,align 8
%es=invoke fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%er)
to label%et unwind label%fi
et:
%eu=getelementptr inbounds i8,i8*%es,i64 16
%ev=bitcast i8*%eu to i8*(i8*,i8*)**
%ew=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ev,align 8
%ex=bitcast i8*%es to i8**
%ey=load i8*,i8**%ex,align 8
store i8*%ey,i8**%i,align 8
%ez=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eA=invoke fastcc i8*@_SMLFN18UserLevelPrimitive21REIFY__exInfo__mkENVenvE(i8*inreg%ez)
to label%eB unwind label%fi
eB:
%eC=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eD=invoke fastcc i8*%ew(i8*inreg%eC,i8*inreg%eA)
to label%eE unwind label%fi
eE:
%eF=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eG=invoke fastcc i8*%eo(i8*inreg%eF,i8*inreg%eD)
to label%eH unwind label%fi
eH:
%eI=getelementptr inbounds i8,i8*%eG,i64 16
%eJ=bitcast i8*%eI to i8*(i8*,i8*)**
%eK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eJ,align 8
%eL=bitcast i8*%eG to i8**
%eM=load i8*,i8**%eL,align 8
store i8*%eM,i8**%i,align 8
%eN=call i8*@sml_alloc(i32 inreg 20)#0
%eO=getelementptr inbounds i8,i8*%eN,i64 -4
%eP=bitcast i8*%eO to i32*
store i32 1342177296,i32*%eP,align 4
store i8*%eN,i8**%j,align 8
%eQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eR=bitcast i8*%eN to i8**
store i8*%eQ,i8**%eR,align 8
%eS=getelementptr inbounds i8,i8*%eN,i64 8
%eT=bitcast i8*%eS to i8**
store i8*null,i8**%eT,align 8
%eU=getelementptr inbounds i8,i8*%eN,i64 16
%eV=bitcast i8*%eU to i32*
store i32 3,i32*%eV,align 4
%eW=call i8*@sml_alloc(i32 inreg 20)#0
%eX=getelementptr inbounds i8,i8*%eW,i64 -4
%eY=bitcast i8*%eX to i32*
store i32 1342177296,i32*%eY,align 4
store i8*%eW,i8**%g,align 8
%eZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%e0=bitcast i8*%eW to i8**
store i8*%eZ,i8**%e0,align 8
%e1=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%e2=getelementptr inbounds i8,i8*%eW,i64 8
%e3=bitcast i8*%e2 to i8**
store i8*%e1,i8**%e3,align 8
%e4=getelementptr inbounds i8,i8*%eW,i64 16
%e5=bitcast i8*%e4 to i32*
store i32 3,i32*%e5,align 4
%e6=call i8*@sml_alloc(i32 inreg 20)#0
%e7=getelementptr inbounds i8,i8*%e6,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32 1342177296,i32*%e8,align 4
%e9=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fa=bitcast i8*%e6 to i8**
store i8*%e9,i8**%fa,align 8
%fb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fc=getelementptr inbounds i8,i8*%e6,i64 8
%fd=bitcast i8*%fc to i8**
store i8*%fb,i8**%fd,align 8
%fe=getelementptr inbounds i8,i8*%e6,i64 16
%ff=bitcast i8*%fe to i32*
store i32 3,i32*%ff,align 4
%fg=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fh=invoke fastcc i8*%eK(i8*inreg%fg,i8*inreg%e6)
to label%fu unwind label%fi
fi:
%fj=landingpad{i8*,i8*}
catch i8*null
%fk=extractvalue{i8*,i8*}%fj,1
%fl=bitcast i8*%fk to i8**
%fm=load i8*,i8**%fl,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%k,align 8
store i8*%fm,i8**%f,align 8
%fn=call i8*@sml_alloc(i32 inreg 60)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177336,i32*%fp,align 4
%fq=getelementptr inbounds i8,i8*%fn,i64 56
%fr=bitcast i8*%fq to i32*
store i32 1,i32*%fr,align 4
%fs=load i8*,i8**%f,align 8
%ft=bitcast i8*%fn to i8**
store i8*%fs,i8**%ft,align 8
call void@sml_raise(i8*inreg%fn)#1
unreachable
fu:
ret i8*%fh
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv10filterVarEE_161(i8*inreg%a)#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
%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**%d,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%e,align 8
%t=getelementptr inbounds i8,i8*%m,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%f,align 8
%w=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
%x=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%s,i8**%b,align 8
%y=load atomic i32,i32*@sml_check_flag unordered,align 4
%z=icmp eq i32%y,0
br i1%z,label%A,label%C
A:
%B=bitcast i8*%s to i32*
br label%F
C:
call void@sml_check(i32 inreg%y)
%D=bitcast i8**%b to i32**
%E=load i32*,i32**%D,align 8
br label%F
F:
%G=phi i32*[%E,%C],[%B,%A]
%H=load i32,i32*%G,align 4
switch i32%H,label%I[
i32 12,label%aw
i32 13,label%aw
i32 6,label%aw
i32 7,label%aw
i32 0,label%aw
i32 1,label%aw
i32 4,label%aw
i32 5,label%aw
i32 2,label%aw
i32 3,label%aw
i32 8,label%aw
i32 11,label%aa
i32 10,label%aa
i32 9,label%aw
]
I:
call void@sml_matchcomp_bug()
%J=load i8*,i8**@_SMLZ5Match,align 8
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
store i8*%K,i8**%c,align 8
%N=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@j,i64 0,i32 2,i64 0),i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 60)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177336,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%T,i64 56
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
call void@sml_raise(i8*inreg%T)#1
unreachable
aa:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
%ab=call fastcc i8*@_SMLFN9SymbolEnv6insertE(i32 inreg 1,i32 inreg 8)
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8*(i8*,i8*)**
%ae=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ad,align 8
%af=bitcast i8*%ab to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%g,align 8
%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**%f,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=load i8*,i8**%d,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=load i8*,i8**%e,align 8
%aq=getelementptr inbounds i8,i8*%ah,i64 16
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%ah,i64 24
%at=bitcast i8*%as to i32*
store i32 7,i32*%at,align 4
%au=load i8*,i8**%g,align 8
%av=tail call fastcc i8*%ae(i8*inreg%au,i8*inreg%ah)
ret i8*%av
aw:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
%ax=load i8*,i8**%f,align 8
ret i8*%ax
}
define internal fastcc i8*@_SMLL4strE_168(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%b to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8*,i8**%n,i64 1
%q=load i8*,i8**%p,align 8
%r=call fastcc i8*@_SMLLN11ReifyTopEnv9filterEnvE_165(i8*inreg%q)
store i8*%r,i8**%d,align 8
%s=load i8*,i8**%b,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%s,i64 24
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%b,align 8
%z=call i8*@sml_alloc(i32 inreg 36)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177312,i32*%B,align 4
%C=load i8*,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=load i8*,i8**%e,align 8
%I=getelementptr inbounds i8,i8*%z,i64 16
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=load i8*,i8**%b,align 8
%L=getelementptr inbounds i8,i8*%z,i64 24
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%z,i64 32
%O=bitcast i8*%N to i32*
store i32 15,i32*%O,align 4
ret i8*%z
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv9filterEnvE_165(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
store i8*null,i8**%d,align 8
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=getelementptr inbounds i8,i8*%l,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*%l,i64 16
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%u,i8**%b,align 8
%x=load atomic i32,i32*@sml_check_flag unordered,align 4
%y=icmp eq i32%x,0
br i1%y,label%A,label%z
z:
call void@sml_check(i32 inreg%x)
br label%A
A:
%B=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*%E(i8*inreg%G,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*))
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%K(i8*inreg%O,i8*inreg%N)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
%V=load i8*,i8**%b,align 8
%W=call fastcc i8*%S(i8*inreg%U,i8*inreg%V)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
store i8*%W,i8**%d,align 8
%X=call fastcc i8*@_SMLFN9SymbolEnv3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
%ad=call fastcc i8*%aa(i8*inreg%ac,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@l,i64 0,i32 2)to i8*))
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ak=call fastcc i8*%ag(i8*inreg%ai,i8*inreg%aj)
store i8*%ak,i8**%e,align 8
%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**%e,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%f,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=load i8*,i8**%d,align 8
%au=getelementptr inbounds i8,i8*%al,i64 16
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%al,i64 24
%ax=bitcast i8*%aw to i32*
store i32 7,i32*%ax,align 4
ret i8*%al
}
define internal fastcc i8*@_SMLL4sigE_170(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%e,label%g
e:
%f=bitcast i8*%a to i8**
br label%j
g:
call void@sml_check(i32 inreg%c)
%h=bitcast i8**%b to i8***
%i=load i8**,i8***%h,align 8
br label%j
j:
%k=phi i8**[%i,%g],[%f,%e]
%l=load i8*,i8**%k,align 8
%m=tail call fastcc i8*@_SMLLN11ReifyTopEnv9filterEnvE_165(i8*inreg%l)
ret i8*%m
}
define internal fastcc i32@_SMLL4sigE_172(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=tail call fastcc i32@_SMLFN6Symbol7compareE(i8*inreg%r)
ret i32%B
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv9reifySigEE_174(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
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**%g,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%m,label%l
l:
call void@sml_check(i32 inreg%j)
br label%m
m:
%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
%t=call fastcc i8*%q(i8*inreg%s,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*))
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
store i8*%A,i8**%c,align 8
%B=call fastcc i8*@_SMLFN10ListSorter4sortE(i32 inreg 1,i32 inreg 8)
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*%E(i8*inreg%G,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*))
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=call fastcc i8*@_SMLFN9SymbolEnv10listItemsiE(i32 inreg 1,i32 inreg 8)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=call fastcc i8*%Q(i8*inreg%S,i8*inreg%T)
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=call fastcc i8*%K(i8*inreg%V,i8*inreg%U)
store i8*%W,i8**%c,align 8
%X=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 75)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%i,align 8
%ad=bitcast i8**%g to i8***
%ae=load i8**,i8***%ad,align 8
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%e,align 8
%ag=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%ag,i8**%f,align 8
%ah=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%ah,i8**%h,align 8
%ai=call i8*@sml_alloc(i32 inreg 28)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177304,i32*%ak,align 4
store i8*%ai,i8**%d,align 8
%al=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ar=getelementptr inbounds i8,i8*%ai,i64 16
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ai,i64 24
%au=bitcast i8*%at to i32*
store i32 7,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 28)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177304,i32*%ax,align 4
%ay=load i8*,i8**%d,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=getelementptr inbounds i8,i8*%av,i64 24
%aC=bitcast i8*%aB to i32*
call void@llvm.memset.p0i8.i64(i8*%aA,i8 0,i64 16,i1 false)
store i32 7,i32*%aC,align 4
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%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**%d,align 8
store i8*null,i8**%d,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aM=getelementptr inbounds i8,i8*%aD,i64 16
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aD,i64 24
%aP=bitcast i8*%aO to i32*
store i32 7,i32*%aP,align 4
%aQ=call fastcc i8*@_SMLFN11NameEvalEnv16printTy__sigEListE(i8*inreg%aD)
%aR=getelementptr inbounds i8,i8*%aQ,i64 16
%aS=bitcast i8*%aR to i8*(i8*,i8*)**
%aT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aS,align 8
%aU=bitcast i8*%aQ to i8**
%aV=load i8*,i8**%aU,align 8
%aW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aX=call fastcc i8*%aT(i8*inreg%aV,i8*inreg%aW)
%aY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aZ=call fastcc i8*%aa(i8*inreg%aY,i8*inreg%aX)
store i8*%aZ,i8**%c,align 8
%a0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=call fastcc i8*@_SMLFN10ReifyUtils6StringE(i8*inreg%a3)
%a5=getelementptr inbounds i8,i8*%a4,i64 16
%a6=bitcast i8*%a5 to i8*(i8*,i8*)**
%a7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a6,align 8
%a8=bitcast i8*%a4 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=load i8*,i8**%c,align 8
%bb=tail call fastcc i8*%a7(i8*inreg%a9,i8*inreg%ba)
ret i8*%bb
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv9reifySigEE_175(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**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv9reifySigEE_174 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*)*@_SMLLN11ReifyTopEnv9reifySigEE_174 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*@_SMLLN11ReifyTopEnv13reifyFunEntryE_179(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
G:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
%t=alloca i8*,align 8
%u=alloca i8*,align 8
%v=alloca i8*,align 8
%w=alloca i8*,align 8
%x=alloca i8*,align 8
%y=alloca i8*,align 8
%z=alloca i8*,align 8
call void@llvm.gcroot(i8**%s,i8*null)#0
call void@llvm.gcroot(i8**%t,i8*null)#0
call void@llvm.gcroot(i8**%u,i8*null)#0
call void@llvm.gcroot(i8**%v,i8*null)#0
call void@llvm.gcroot(i8**%w,i8*null)#0
call void@llvm.gcroot(i8**%x,i8*null)#0
call void@llvm.gcroot(i8**%y,i8*null)#0
call void@llvm.gcroot(i8**%z,i8*null)#0
store i8*%a,i8**%x,align 8
store i8*%b,i8**%s,align 8
%A=load atomic i32,i32*@sml_check_flag unordered,align 4
%B=icmp eq i32%A,0
br i1%B,label%E,label%C
C:
call void@sml_check(i32 inreg%A)
%D=load i8*,i8**%s,align 8
br label%E
E:
%F=phi i8*[%D,%C],[%b,%G]
store i8*null,i8**%s,align 8
store i8*%F,i8**%t,align 8
%H=getelementptr inbounds i8,i8*%F,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%K)
%L=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%L)
%M=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%M)
%N=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%N)
%O=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%O)
%P=bitcast i8**%m to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%P)
%Q=bitcast i8**%n to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
%R=bitcast i8**%o to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%R)
%S=bitcast i8**%p to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%S)
%T=bitcast i8**%q to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%T)
%U=bitcast i8**%r to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%U)
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
store i8*%J,i8**%h,align 8
%V=load atomic i32,i32*@sml_check_flag unordered,align 4
%W=icmp eq i32%V,0
br i1%W,label%Z,label%X
X:
call void@sml_check(i32 inreg%V)
%Y=load i8*,i8**%h,align 8
br label%Z
Z:
%aa=phi i8*[%Y,%X],[%J,%E]
store i8*null,i8**%h,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%i,align 8
%ae=getelementptr inbounds i8,i8*%aa,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%j,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 24
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%k,align 8
%ak=getelementptr inbounds i8,i8*%aa,i64 32
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%l,align 8
%an=getelementptr inbounds i8,i8*%aa,i64 40
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%m,align 8
%aq=getelementptr inbounds i8,i8*%aa,i64 48
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%n,align 8
%at=getelementptr inbounds i8,i8*%aa,i64 56
%au=bitcast i8*%at to i32*
%av=load i32,i32*%au,align 4
%aw=getelementptr inbounds i8,i8*%aa,i64 64
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%o,align 8
%az=getelementptr inbounds i8,i8*%aa,i64 72
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%p,align 8
%aC=getelementptr inbounds i8,i8*%aa,i64 80
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%q,align 8
%aF=getelementptr inbounds i8,i8*%aa,i64 88
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%r,align 8
%aI=bitcast i8*%aa to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aK)
%aL=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aL)
%aM=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aM)
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*%aJ,i8**%e,align 8
%aN=load atomic i32,i32*@sml_check_flag unordered,align 4
%aO=icmp eq i32%aN,0
br i1%aO,label%aR,label%aP
aP:
call void@sml_check(i32 inreg%aN)
%aQ=load i8*,i8**%e,align 8
br label%aR
aR:
%aS=phi i8*[%aQ,%aP],[%aJ,%Z]
store i8*null,i8**%e,align 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%f,align 8
%aV=getelementptr inbounds i8,i8*%aS,i64 8
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%g,align 8
%aY=getelementptr inbounds i8,i8*%aS,i64 16
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%a1)
%a2=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%a2)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a0,i8**%c,align 8
%a3=load atomic i32,i32*@sml_check_flag unordered,align 4
%a4=icmp eq i32%a3,0
br i1%a4,label%a6,label%a5
a5:
call void@sml_check(i32 inreg%a3)
br label%a6
a6:
%a7=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
%bd=call fastcc i8*%ba(i8*inreg%bc,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*))
%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 fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%bk=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bl=call fastcc i8*%bg(i8*inreg%bk,i8*inreg%bj)
%bm=getelementptr inbounds i8,i8*%bl,i64 16
%bn=bitcast i8*%bm to i8*(i8*,i8*)**
%bo=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bn,align 8
%bp=bitcast i8*%bl to i8**
%bq=load i8*,i8**%bp,align 8
%br=load i8*,i8**%c,align 8
%bs=call fastcc i8*%bo(i8*inreg%bq,i8*inreg%br)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%a1)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%a2)
store i8*%bs,i8**%e,align 8
%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**%f,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=load i8*,i8**%g,align 8
%bz=getelementptr inbounds i8,i8*%bt,i64 8
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=load i8*,i8**%e,align 8
%bC=getelementptr inbounds i8,i8*%bt,i64 16
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bt,i64 24
%bF=bitcast i8*%bE to i32*
store i32 7,i32*%bF,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aL)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aM)
store i8*%bt,i8**%h,align 8
%bG=call i8*@sml_alloc(i32 inreg 100)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177376,i32*%bI,align 4
%bJ=getelementptr inbounds i8,i8*%bG,i64 60
%bK=bitcast i8*%bJ to i32*
store i32 0,i32*%bK,align 1
%bL=load i8*,i8**%h,align 8
%bM=bitcast i8*%bG to i8**
store i8*%bL,i8**%bM,align 8
%bN=load i8*,i8**%i,align 8
%bO=getelementptr inbounds i8,i8*%bG,i64 8
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=load i8*,i8**%j,align 8
%bR=getelementptr inbounds i8,i8*%bG,i64 16
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=load i8*,i8**%k,align 8
%bU=getelementptr inbounds i8,i8*%bG,i64 24
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=load i8*,i8**%l,align 8
%bX=getelementptr inbounds i8,i8*%bG,i64 32
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=load i8*,i8**%m,align 8
%b0=getelementptr inbounds i8,i8*%bG,i64 40
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=load i8*,i8**%n,align 8
%b3=getelementptr inbounds i8,i8*%bG,i64 48
%b4=bitcast i8*%b3 to i8**
store i8*%b2,i8**%b4,align 8
%b5=getelementptr inbounds i8,i8*%bG,i64 56
%b6=bitcast i8*%b5 to i32*
store i32%av,i32*%b6,align 4
%b7=load i8*,i8**%o,align 8
%b8=getelementptr inbounds i8,i8*%bG,i64 64
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=load i8*,i8**%p,align 8
%cb=getelementptr inbounds i8,i8*%bG,i64 72
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=load i8*,i8**%q,align 8
%ce=getelementptr inbounds i8,i8*%bG,i64 80
%cf=bitcast i8*%ce to i8**
store i8*%cd,i8**%cf,align 8
%cg=load i8*,i8**%r,align 8
%ch=getelementptr inbounds i8,i8*%bG,i64 88
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%bG,i64 96
%ck=bitcast i8*%cj to i32*
store i32 3967,i32*%ck,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%K)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%L)
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)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%R)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%S)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%T)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%U)
store i8*%bG,i8**%s,align 8
%cl=bitcast i8**%t to i8***
%cm=load i8**,i8***%cl,align 8
store i8*null,i8**%t,align 8
%cn=load i8*,i8**%cm,align 8
%co=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%cn)
store i8*%co,i8**%t,align 8
%cp=call i8*@sml_alloc(i32 inreg 20)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177296,i32*%cr,align 4
%cs=bitcast i8*%cp to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@o,i64 0,i32 2,i64 0),i8**%cs,align 8
%ct=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%cu=getelementptr inbounds i8,i8*%cp,i64 8
%cv=bitcast i8*%cu to i8**
store i8*%ct,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cp,i64 16
%cx=bitcast i8*%cw to i32*
store i32 3,i32*%cx,align 4
%cy=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%cp)
store i8*%cy,i8**%t,align 8
%cz=call fastcc i8*@_SMLLN11ReifyTopEnv11prettyPrintE_110(i32 inreg 70)
%cA=getelementptr inbounds i8,i8*%cz,i64 16
%cB=bitcast i8*%cA to i8*(i8*,i8*)**
%cC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cB,align 8
%cD=bitcast i8*%cz to i8**
%cE=load i8*,i8**%cD,align 8
store i8*%cE,i8**%z,align 8
%cF=bitcast i8**%x to i8***
%cG=load i8**,i8***%cF,align 8
%cH=load i8*,i8**%cG,align 8
store i8*%cH,i8**%v,align 8
%cI=load i8*,i8**@_SMLZN13NameEvalUtils14staticTfunNameE,align 8
store i8*%cI,i8**%w,align 8
%cJ=load i8*,i8**@_SMLZN13NameEvalUtils15staticTyConNameE,align 8
store i8*%cJ,i8**%y,align 8
%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
store i8*%cK,i8**%u,align 8
%cN=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%cO=bitcast i8*%cK to i8**
store i8*%cN,i8**%cO,align 8
%cP=load i8*,i8**%w,align 8
store i8*null,i8**%w,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**%y,align 8
store i8*null,i8**%y,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 7,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**%u,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cX,i64 8
%c3=getelementptr inbounds i8,i8*%cX,i64 24
%c4=bitcast i8*%c3 to i32*
call void@llvm.memset.p0i8.i64(i8*%c2,i8 0,i64 16,i1 false)
store i32 7,i32*%c4,align 4
store i8*null,i8**%v,align 8
store i8*null,i8**%w,align 8
%c5=call i8*@sml_alloc(i32 inreg 28)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177304,i32*%c7,align 4
%c8=load i8*,i8**%u,align 8
store i8*null,i8**%u,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%db=getelementptr inbounds i8,i8*%c5,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%de=getelementptr inbounds i8,i8*%c5,i64 16
%df=bitcast i8*%de to i8**
store i8*%dd,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%c5,i64 24
%dh=bitcast i8*%dg to i32*
store i32 7,i32*%dh,align 4
%di=call fastcc i8*@_SMLFN11NameEvalEnv17printTy__funEEntryE(i8*inreg%c5)
%dj=getelementptr inbounds i8,i8*%di,i64 16
%dk=bitcast i8*%dj to i8*(i8*,i8*)**
%dl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dk,align 8
%dm=bitcast i8*%di to i8**
%dn=load i8*,i8**%dm,align 8
%do=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%dp=call fastcc i8*%dl(i8*inreg%dn,i8*inreg%do)
%dq=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%dr=call fastcc i8*%cC(i8*inreg%dq,i8*inreg%dp)
store i8*%dr,i8**%s,align 8
%ds=call i8*@sml_alloc(i32 inreg 20)#0
%dt=getelementptr inbounds i8,i8*%ds,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177296,i32*%du,align 4
%dv=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%dw=bitcast i8*%ds to i8**
store i8*%dv,i8**%dw,align 8
%dx=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%dy=getelementptr inbounds i8,i8*%ds,i64 8
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=getelementptr inbounds i8,i8*%ds,i64 16
%dB=bitcast i8*%dA to i32*
store i32 3,i32*%dB,align 4
%dC=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ds)
store i8*%dC,i8**%s,align 8
%dD=load i8*,i8**%x,align 8
store i8*null,i8**%x,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*@_SMLFN10ReifyUtils6StringE(i8*inreg%dG)
%dI=getelementptr inbounds i8,i8*%dH,i64 16
%dJ=bitcast i8*%dI to i8*(i8*,i8*)**
%dK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dJ,align 8
%dL=bitcast i8*%dH to i8**
%dM=load i8*,i8**%dL,align 8
%dN=load i8*,i8**%s,align 8
%dO=tail call fastcc i8*%dK(i8*inreg%dM,i8*inreg%dN)
ret i8*%dO
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv13reifyFunEntryE_180(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**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv13reifyFunEntryE_179 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*)*@_SMLLN11ReifyTopEnv13reifyFunEntryE_179 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 i32@_SMLL18symbolFunEntryList_183(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=tail call fastcc i32@_SMLFN6Symbol7compareE(i8*inreg%r)
ret i32%B
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv9reifyFunEE_185(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**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%e,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*@_SMLFN10ListSorter4sortE(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
%r=call fastcc i8*%o(i8*inreg%q,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@p,i64 0,i32 2)to i8*))
%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**%g,align 8
%x=call fastcc i8*@_SMLFN9SymbolEnv10listItemsiE(i32 inreg 1,i32 inreg 8)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%E=call fastcc i8*%A(i8*inreg%C,i8*inreg%D)
%F=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%G=call fastcc i8*%u(i8*inreg%F,i8*inreg%E)
store i8*%G,i8**%e,align 8
%H=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%g,align 8
%N=bitcast i8**%f to i8***
%O=load i8**,i8***%N,align 8
%P=load i8*,i8**%O,align 8
%Q=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
%R=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%R)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%P,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 12)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177288,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 i32*
store i32 1,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 28)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=load i8*,i8**%d,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv13reifyFunEntryE_180 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv13reifyFunEntryE_180 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 24
%aj=bitcast i8*%ai to i32*
store i32 -2147483647,i32*%aj,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%R)
%ak=load i8*,i8**%f,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=call fastcc i8*@_SMLLN11ReifyTopEnv13reifyFunEntryE_180(i8*inreg%ac,i8*inreg%an)
%ap=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aq=call fastcc i8*%K(i8*inreg%ap,i8*inreg%ao)
%ar=getelementptr inbounds i8,i8*%aq,i64 16
%as=bitcast i8*%ar to i8*(i8*,i8*)**
%at=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%as,align 8
%au=bitcast i8*%aq to i8**
%av=load i8*,i8**%au,align 8
%aw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ax=call fastcc i8*%at(i8*inreg%av,i8*inreg%aw)
store i8*%ax,i8**%e,align 8
%ay=load i8*,i8**%f,align 8
store i8*null,i8**%f,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*@_SMLFN10ReifyUtils4ListE(i8*inreg%aB)
%aD=getelementptr inbounds i8,i8*%aC,i64 16
%aE=bitcast i8*%aD to i8*(i8*,i8*)**
%aF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aE,align 8
%aG=bitcast i8*%aC to i8**
%aH=load i8*,i8**%aG,align 8
%aI=load i8*,i8**@_SMLZN13ReifiedTyData8StringTyE,align 8
%aJ=call fastcc i8*%aF(i8*inreg%aH,i8*inreg%aI)
%aK=getelementptr inbounds i8,i8*%aJ,i64 16
%aL=bitcast i8*%aK to i8*(i8*,i8*)**
%aM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aL,align 8
%aN=bitcast i8*%aJ to i8**
%aO=load i8*,i8**%aN,align 8
%aP=load i8*,i8**%e,align 8
%aQ=tail call fastcc i8*%aM(i8*inreg%aO,i8*inreg%aP)
ret i8*%aQ
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv9reifyFunEE_186(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**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv9reifyFunEE_185 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*)*@_SMLLN11ReifyTopEnv9reifyFunEE_185 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*@_SMLLN11ReifyTopEnv12internalBindE_189(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLFN10ReifyUtils6newVarE(i8*inreg%o)
store i8*%p,i8**%c,align 8
%q=call fastcc i8*@_SMLFN10ReifyUtils3VarE(i8*inreg%p)
store i8*%q,i8**%d,align 8
%r=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%s=call fastcc i8*@_SMLFN10ReifyUtils3ValE(i8*inreg%r)
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=call fastcc i8*%v(i8*inreg%x,i8*inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%G=call fastcc i8*%C(i8*inreg%E,i8*inreg%F)
store i8*%G,i8**%b,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
%K=load i8*,i8**%b,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i8**
store i8*null,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
store i8*null,i8**%c,align 8
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
store i8*%Q,i8**%e,align 8
%T=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%Q,i64 8
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%Q,i64 16
%Z=bitcast i8*%Y to i32*
store i32 3,i32*%Z,align 4
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=load i8*,i8**%d,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%e,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
ret i8*%aa
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv12externalBindE_191(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
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%p,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
%o=load i8*,i8**%h,align 8
br label%p
p:
%q=phi i8*[%o,%m],[%a,%r]
%s=phi i8*[%n,%m],[%b,%r]
store i8*%s,i8**%f,align 8
%t=getelementptr inbounds i8,i8*%q,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=getelementptr inbounds i8,i8*%y,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%c,align 8
%C=bitcast i8*%v to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg%D)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=bitcast i8**%h to i8***
%L=load i8**,i8***%K,align 8
%M=load i8*,i8**%L,align 8
%N=call fastcc i8*%H(i8*inreg%J,i8*inreg%M)
store i8*%N,i8**%d,align 8
%O=call i8*@sml_alloc(i32 inreg 20)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
store i8*%O,i8**%i,align 8
%R=load i8*,i8**%d,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to i8**
store i8*null,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 16
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%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
%aa=load i8*,i8**%i,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%f,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%X,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
%ah=call fastcc i8*@_SMLLN11ReifyTopEnv10setVersionE_113(i8*inreg%X)
store i8*%ah,i8**%g,align 8
%ai=call i8*@sml_alloc(i32 inreg 20)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177296,i32*%ak,align 4
store i8*%ai,i8**%e,align 8
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=load i8*,i8**%c,align 8
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ai,i64 16
%ar=bitcast i8*%aq to i32*
store i32 3,i32*%ar,align 4
%as=call i8*@sml_alloc(i32 inreg 4)#0
%at=bitcast i8*%as to i32*
%au=getelementptr inbounds i8,i8*%as,i64 -4
%av=bitcast i8*%au to i32*
store i32 536870916,i32*%av,align 4
store i8*%as,i8**%g,align 8
store i32 0,i32*%at,align 4
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
store i8*%aw,i8**%j,align 8
%az=bitcast i8*%aw to i64*
store i64 0,i64*%az,align 4
%aA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to i32*
store i32 2,i32*%aE,align 4
%aF=call i8*@sml_alloc(i32 inreg 36)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177312,i32*%aH,align 4
store i8*%aF,i8**%c,align 8
%aI=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aJ=bitcast i8*%aF to i8**
store i8*%aI,i8**%aJ,align 8
%aK=load i8*,i8**%j,align 8
store i8*null,i8**%j,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**%g,align 8
store i8*null,i8**%g,align 8
%aO=getelementptr inbounds i8,i8*%aF,i64 16
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=load i8*,i8**%f,align 8
%aR=getelementptr inbounds i8,i8*%aF,i64 24
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aF,i64 32
%aU=bitcast i8*%aT to i32*
store i32 15,i32*%aU,align 4
%aV=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%aV,i8**%f,align 8
%aW=call i8*@sml_alloc(i32 inreg 28)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177304,i32*%aY,align 4
%aZ=load i8*,i8**%f,align 8
%a0=bitcast i8*%aW to i8**
store i8*%aZ,i8**%a0,align 8
%a1=load i8*,i8**%c,align 8
%a2=getelementptr inbounds i8,i8*%aW,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*%a1,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aW,i64 16
%a5=bitcast i8*%a4 to i8**
store i8*null,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aW,i64 24
%a7=bitcast i8*%a6 to i32*
store i32 7,i32*%a7,align 4
store i8*%aZ,i8**%c,align 8
store i8*%a1,i8**%f,align 8
store i8*null,i8**%g,align 8
%a8=call i8*@sml_alloc(i32 inreg 28)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177304,i32*%ba,align 4
store i8*%a8,i8**%i,align 8
%bb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bc=bitcast i8*%a8 to i8**
store i8*%bb,i8**%bc,align 8
%bd=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%be=getelementptr inbounds i8,i8*%a8,i64 8
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bh=getelementptr inbounds i8,i8*%a8,i64 16
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%a8,i64 24
%bk=bitcast i8*%bj to i32*
store i32 7,i32*%bk,align 4
%bl=call i8*@sml_alloc(i32 inreg 20)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177296,i32*%bn,align 4
store i8*%bl,i8**%g,align 8
%bo=getelementptr inbounds i8,i8*%bl,i64 4
%bp=bitcast i8*%bo to i32*
store i32 0,i32*%bp,align 1
%bq=bitcast i8*%bl to i32*
store i32 6,i32*%bq,align 4
%br=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 16
%bv=bitcast i8*%bu to i32*
store i32 2,i32*%bv,align 4
%bw=call fastcc i8*@_SMLFN16NameEvalEnvPrims8rebindIdE(i32 inreg 15)
%bx=getelementptr inbounds i8,i8*%bw,i64 16
%by=bitcast i8*%bx to i8*(i8*,i8*)**
%bz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%by,align 8
%bA=bitcast i8*%bw to i8**
%bB=load i8*,i8**%bA,align 8
store i8*%bB,i8**%f,align 8
%bC=load i8*,i8**%h,align 8
%bD=getelementptr inbounds i8,i8*%bC,i64 16
%bE=bitcast i8*%bD to i8**
%bF=load i8*,i8**%bE,align 8
store i8*%bF,i8**%c,align 8
%bG=call i8*@sml_alloc(i32 inreg 28)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177304,i32*%bI,align 4
%bJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bM=getelementptr inbounds i8,i8*%bG,i64 8
%bN=bitcast i8*%bM to i8**
store i8*%bL,i8**%bN,align 8
%bO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bP=getelementptr inbounds i8,i8*%bG,i64 16
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bG,i64 24
%bS=bitcast i8*%bR to i32*
store i32 7,i32*%bS,align 4
%bT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bU=call fastcc i8*%bz(i8*inreg%bT,i8*inreg%bG)
store i8*%bU,i8**%c,align 8
%bV=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bW=getelementptr inbounds i8,i8*%bV,i64 8
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
%bZ=getelementptr inbounds i8,i8*%bY,i64 8
%b0=bitcast i8*%bZ to i8***
%b1=load i8**,i8***%b0,align 8
%b2=load i8*,i8**%b1,align 8
store i8*%b2,i8**%d,align 8
%b3=call i8*@sml_alloc(i32 inreg 20)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
store i8*%b3,i8**%f,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=getelementptr inbounds i8,i8*%b3,i64 16
%cc=bitcast i8*%cb to i32*
store i32 3,i32*%cc,align 4
%cd=call i8*@sml_alloc(i32 inreg 20)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177296,i32*%cf,align 4
store i8*%cd,i8**%d,align 8
%cg=getelementptr inbounds i8,i8*%cd,i64 4
%ch=bitcast i8*%cg to i32*
store i32 0,i32*%ch,align 1
%ci=bitcast i8*%cd to i32*
store i32 4,i32*%ci,align 4
%cj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ck=getelementptr inbounds i8,i8*%cd,i64 8
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%cd,i64 16
%cn=bitcast i8*%cm to i32*
store i32 2,i32*%cn,align 4
%co=call i8*@sml_alloc(i32 inreg 20)#0
%cp=getelementptr inbounds i8,i8*%co,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
store i8*%co,i8**%e,align 8
%cr=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i8**
store i8*null,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%co,i64 16
%cw=bitcast i8*%cv to i32*
store i32 3,i32*%cw,align 4
%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**%e,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=load i8*,i8**%c,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
ret i8*%cx
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv12externalBindE_192(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
store i8*%l,i8**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv12externalBindE_191 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv12externalBindE_191 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv12externalBindE_193(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**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv12externalBindE_192 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*)*@_SMLLN11ReifyTopEnv12externalBindE_192 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*@_SMLLN11ReifyTopEnv11reifyTopEnvE_196(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%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**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%g,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%s
p:
call void@sml_check(i32 inreg%l)
%q=bitcast i8**%j to i8****
%r=load i8***,i8****%q,align 8
br label%s
s:
%t=phi i8***[%r,%p],[%o,%n]
store i8*null,i8**%g,align 8
%u=load i8**,i8***%t,align 8
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%i,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%i,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*null,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=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%G=load i8*,i8**%j,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**%J,align 8
%L=call fastcc i8*@_SMLLN11ReifyTopEnv8reifyEnvE_140(i8*inreg%w,i8*inreg%F,i8*inreg%K)
store i8*%L,i8**%g,align 8
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
%P=load i8*,i8**%i,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to i8**
store i8*null,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 16
%U=bitcast i8*%T to i32*
store i32 3,i32*%U,align 4
%V=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%V)
%W=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%W)
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%M,i8**%e,align 8
%X=call i8*@sml_alloc(i32 inreg 12)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177288,i32*%Z,align 4
store i8*%X,i8**%f,align 8
%aa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%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=getelementptr inbounds i8,i8*%ae,i64 8
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv9reifySigEE_175 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 16
%am=bitcast i8*%al to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv9reifySigEE_175 to void(...)*),void(...)**%am,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 24
%ao=bitcast i8*%an to i32*
store i32 -2147483647,i32*%ao,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%V)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%W)
%ap=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%aq=call fastcc i8*@_SMLLN11ReifyTopEnv9reifySigEE_175(i8*inreg%ah,i8*inreg%ap)
%ar=getelementptr inbounds i8,i8*%aq,i64 16
%as=bitcast i8*%ar to i8*(i8*,i8*)**
%at=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%as,align 8
%au=bitcast i8*%aq to i8**
%av=load i8*,i8**%au,align 8
%aw=load i8*,i8**%j,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 8
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=call fastcc i8*%at(i8*inreg%av,i8*inreg%aC)
store i8*%aD,i8**%h,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**%i,align 8
store i8*null,i8**%i,align 8
%aI=bitcast i8*%aE to i8**
store i8*%aH,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aE,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*null,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aE,i64 16
%aM=bitcast i8*%aL to i32*
store i32 3,i32*%aM,align 4
%aN=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aN)
%aO=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aO)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aE,i8**%c,align 8
%aP=call i8*@sml_alloc(i32 inreg 12)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177288,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aP,i64 8
%aV=bitcast i8*%aU to i32*
store i32 1,i32*%aV,align 4
%aW=call i8*@sml_alloc(i32 inreg 28)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177304,i32*%aY,align 4
%aZ=load i8*,i8**%d,align 8
%a0=bitcast i8*%aW to i8**
store i8*%aZ,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aW,i64 8
%a2=bitcast i8*%a1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv9reifyFunEE_186 to void(...)*),void(...)**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aW,i64 16
%a4=bitcast i8*%a3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv9reifyFunEE_186 to void(...)*),void(...)**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aW,i64 24
%a6=bitcast i8*%a5 to i32*
store i32 -2147483647,i32*%a6,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aN)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aO)
%a7=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%a8=call fastcc i8*@_SMLLN11ReifyTopEnv9reifyFunEE_186(i8*inreg%aZ,i8*inreg%a7)
%a9=getelementptr inbounds i8,i8*%a8,i64 16
%ba=bitcast i8*%a9 to i8*(i8*,i8*)**
%bb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ba,align 8
%bc=bitcast i8*%a8 to i8**
%bd=load i8*,i8**%bc,align 8
%be=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 8
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
%bi=getelementptr inbounds i8,i8*%bh,i64 8
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
%bl=call fastcc i8*%bb(i8*inreg%bd,i8*inreg%bk)
store i8*%bl,i8**%i,align 8
%bm=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%bn=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%bm)
to label%bo unwind label%cl
bo:
%bp=getelementptr inbounds i8,i8*%bn,i64 16
%bq=bitcast i8*%bp to i8*(i8*,i8*)**
%br=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bq,align 8
%bs=bitcast i8*%bn to i8**
%bt=load i8*,i8**%bs,align 8
store i8*%bt,i8**%k,align 8
%bu=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%bv=invoke fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%bu)
to label%bw unwind label%cl
bw:
%bx=getelementptr inbounds i8,i8*%bv,i64 16
%by=bitcast i8*%bx to i8*(i8*,i8*)**
%bz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%by,align 8
%bA=bitcast i8*%bv to i8**
%bB=load i8*,i8**%bA,align 8
store i8*%bB,i8**%j,align 8
%bC=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%bD=invoke fastcc i8*@_SMLFN18UserLevelPrimitive21REIFY__exInfo__mkTopEnvE(i8*inreg%bC)
to label%bE unwind label%cl
bE:
%bF=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bG=invoke fastcc i8*%bz(i8*inreg%bF,i8*inreg%bD)
to label%bH unwind label%cl
bH:
%bI=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bJ=invoke fastcc i8*%br(i8*inreg%bI,i8*inreg%bG)
to label%bK unwind label%cl
bK:
%bL=getelementptr inbounds i8,i8*%bJ,i64 16
%bM=bitcast i8*%bL to i8*(i8*,i8*)**
%bN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bM,align 8
%bO=bitcast i8*%bJ to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%j,align 8
%bQ=call i8*@sml_alloc(i32 inreg 20)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177296,i32*%bS,align 4
store i8*%bQ,i8**%k,align 8
%bT=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bU=bitcast i8*%bQ to i8**
store i8*%bT,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bQ,i64 8
%bW=bitcast i8*%bV to i8**
store i8*null,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bQ,i64 16
%bY=bitcast i8*%bX to i32*
store i32 3,i32*%bY,align 4
%bZ=call i8*@sml_alloc(i32 inreg 20)#0
%b0=getelementptr inbounds i8,i8*%bZ,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177296,i32*%b1,align 4
store i8*%bZ,i8**%h,align 8
%b2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b3=bitcast i8*%bZ to i8**
store i8*%b2,i8**%b3,align 8
%b4=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%b5=getelementptr inbounds i8,i8*%bZ,i64 8
%b6=bitcast i8*%b5 to i8**
store i8*%b4,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%bZ,i64 16
%b8=bitcast i8*%b7 to i32*
store i32 3,i32*%b8,align 4
%b9=call i8*@sml_alloc(i32 inreg 20)#0
%ca=getelementptr inbounds i8,i8*%b9,i64 -4
%cb=bitcast i8*%ca to i32*
store i32 1342177296,i32*%cb,align 4
%cc=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cd=bitcast i8*%b9 to i8**
store i8*%cc,i8**%cd,align 8
%ce=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cf=getelementptr inbounds i8,i8*%b9,i64 8
%cg=bitcast i8*%cf to i8**
store i8*%ce,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%b9,i64 16
%ci=bitcast i8*%ch to i32*
store i32 3,i32*%ci,align 4
%cj=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ck=invoke fastcc i8*%bN(i8*inreg%cj,i8*inreg%b9)
to label%cx unwind label%cl
cl:
%cm=landingpad{i8*,i8*}
catch i8*null
%cn=extractvalue{i8*,i8*}%cm,1
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,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
store i8*%cp,i8**%g,align 8
%cq=call i8*@sml_alloc(i32 inreg 60)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177336,i32*%cs,align 4
%ct=getelementptr inbounds i8,i8*%cq,i64 56
%cu=bitcast i8*%ct to i32*
store i32 1,i32*%cu,align 4
%cv=load i8*,i8**%g,align 8
%cw=bitcast i8*%cq to i8**
store i8*%cv,i8**%cw,align 8
call void@sml_raise(i8*inreg%cq)#1
unreachable
cx:
ret i8*%ck
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv11reifyTopEnvE_197(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN11ReifyTopEnv11reifyTopEnvE_196 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv11reifyTopEnvE_196 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv10topEnvBindE_203(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
store i8*%a,i8**%l,align 8
store i8*%b,i8**%k,align 8
%s=load atomic i32,i32*@sml_check_flag unordered,align 4
%t=icmp eq i32%s,0
br i1%t,label%u,label%w
u:
%v=bitcast i8*%a to i8***
br label%A
w:
call void@sml_check(i32 inreg%s)
%x=load i8*,i8**%k,align 8
%y=bitcast i8**%l to i8****
%z=load i8***,i8****%y,align 8
br label%A
A:
%B=phi i8***[%z,%w],[%v,%u]
%C=phi i8*[%x,%w],[%b,%u]
store i8*%C,i8**%n,align 8
%D=load i8**,i8***%B,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%k,align 8
%F=bitcast i8***%B to i8**
store i8*null,i8**%l,align 8
%G=load i8*,i8**%F,align 8
%H=getelementptr inbounds i8,i8*%G,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%p,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
%N=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%p,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%K,i64 16
%T=bitcast i8*%S to i32*
store i32 3,i32*%T,align 4
%U=invoke fastcc i8*@_SMLFN16NameEvalEnvPrims16topEnvWithTopEnvE(i8*inreg%K)
to label%V unwind label%ef
V:
%W=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%W)
%X=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%X)
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%U,i8**%i,align 8
%Y=call i8*@sml_alloc(i32 inreg 12)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177288,i32*%aa,align 4
store i8*%Y,i8**%j,align 8
%ab=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i32*
store i32 1,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%j,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv11reifyTopEnvE_197 to void(...)*),void(...)**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11ReifyTopEnv11reifyTopEnvE_197 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 24
%ap=bitcast i8*%ao to i32*
store i32 -2147483647,i32*%ap,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%W)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%X)
%aq=load i8*,i8**%p,align 8
%ar=call fastcc i8*@_SMLLN11ReifyTopEnv11reifyTopEnvE_197(i8*inreg%ai,i8*inreg%aq)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**%n,align 8
%ay=invoke fastcc i8*%au(i8*inreg%aw,i8*inreg%ax)
to label%az unwind label%ef
az:
%aA=invoke fastcc i8*@_SMLLN11ReifyTopEnv12internalBindE_189(i8*inreg%ay)
to label%aB unwind label%ef
aB:
%aC=bitcast i8*%aA to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%k,align 8
%aE=getelementptr inbounds i8,i8*%aA,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%l,align 8
%aH=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aH)
%aI=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aI)
%aJ=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aJ)
%aK=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aK)
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*%aD,i8**%e,align 8
%aL=load atomic i32,i32*@sml_check_flag unordered,align 4
%aM=icmp eq i32%aL,0
br i1%aM,label%aO,label%aN
aN:
invoke void@sml_check(i32 inreg%aL)
to label%aO unwind label%ef
aO:
%aP=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%aQ=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%aP)
to label%aR unwind label%bV
aR:
%aS=getelementptr inbounds i8,i8*%aQ,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aQ to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%g,align 8
%aX=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%aY=invoke fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%aX)
to label%aZ unwind label%bV
aZ:
%a0=getelementptr inbounds i8,i8*%aY,i64 16
%a1=bitcast i8*%a0 to i8*(i8*,i8*)**
%a2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a1,align 8
%a3=bitcast i8*%aY to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%f,align 8
%a5=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%a6=invoke fastcc i8*@_SMLFN18UserLevelPrimitive24REIFY__exInfo__printTopEnvE(i8*inreg%a5)
to label%a7 unwind label%bV
a7:
%a8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a9=invoke fastcc i8*%a2(i8*inreg%a8,i8*inreg%a6)
to label%ba unwind label%bV
ba:
%bb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bc=invoke fastcc i8*%aU(i8*inreg%bb,i8*inreg%a9)
to label%bd unwind label%bV
bd:
%be=getelementptr inbounds i8,i8*%bc,i64 16
%bf=bitcast i8*%be to i8*(i8*,i8*)**
%bg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bf,align 8
%bh=bitcast i8*%bc to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%g,align 8
%bj=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%bk=invoke fastcc i8*@_SMLFN10ReifyUtils3IntE(i8*inreg%bj)
to label%bl unwind label%bV
bl:
%bm=getelementptr inbounds i8,i8*%bk,i64 16
%bn=bitcast i8*%bm to i8*(i8*,i8*)**
%bo=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bn,align 8
%bp=bitcast i8*%bk to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%f,align 8
%br=load i32*,i32**bitcast(i8**@_SMLZN12PrintControl10printWidthE to i32**),align 8
%bs=load i32,i32*%br,align 4
%bt=call i8*@sml_alloc(i32 inreg 4)#0
%bu=bitcast i8*%bt to i32*
%bv=getelementptr inbounds i8,i8*%bt,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 4,i32*%bw,align 4
store i32%bs,i32*%bu,align 4
%bx=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%by=invoke fastcc i8*%bo(i8*inreg%bx,i8*inreg%bt)
to label%bz unwind label%bV
bz:
store i8*%by,i8**%f,align 8
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177296,i32*%bC,align 4
store i8*%bA,i8**%h,align 8
%bD=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8**
store i8*null,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 16
%bI=bitcast i8*%bH to i32*
store i32 3,i32*%bI,align 4
%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**%f,align 8
store i8*null,i8**%f,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%h,align 8
store i8*null,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=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bU=invoke fastcc i8*%bg(i8*inreg%bT,i8*inreg%bJ)
to label%b8 unwind label%bV
bV:
%bW=landingpad{i8*,i8*}
catch i8*null
%bX=extractvalue{i8*,i8*}%bW,1
%bY=bitcast i8*%bX to i8**
%bZ=load i8*,i8**%bY,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*%bZ,i8**%e,align 8
%b0=call i8*@sml_alloc(i32 inreg 60)#0
%b1=getelementptr inbounds i8,i8*%b0,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177336,i32*%b2,align 4
%b3=getelementptr inbounds i8,i8*%b0,i64 56
%b4=bitcast i8*%b3 to i32*
store i32 1,i32*%b4,align 4
%b5=load i8*,i8**%e,align 8
%b6=bitcast i8*%b0 to i8**
store i8*%b5,i8**%b6,align 8
invoke void@sml_raise(i8*inreg%b0)#1
to label%b7 unwind label%ef
b7:
unreachable
b8:
%b9=invoke fastcc i8*@_SMLLN11ReifyTopEnv12internalBindE_189(i8*inreg%bU)
to label%ca unwind label%ef
ca:
%cb=getelementptr inbounds i8,i8*%b9,i64 8
%cc=bitcast i8*%cb to i8**
%cd=load i8*,i8**%cc,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aH)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aJ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
store i8*%cd,i8**%m,align 8
%ce=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%cf=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cf)
%cg=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cg)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%ce,i8**%c,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**%d,align 8
%ck=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cl=bitcast i8*%ch to i8**
store i8*%ck,i8**%cl,align 8
%cm=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**%d,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*)*@_SMLLN11ReifyTopEnv12externalBindE_193 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*)*@_SMLLN11ReifyTopEnv12externalBindE_193 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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cf)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cg)
store i8*%cr,i8**%o,align 8
%cz=call i8*@sml_alloc(i32 inreg 20)#0
%cA=getelementptr inbounds i8,i8*%cz,i64 -4
%cB=bitcast i8*%cA to i32*
store i32 1342177296,i32*%cB,align 4
%cC=bitcast i8*%cz to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@q,i64 0,i32 2,i64 0),i8**%cC,align 8
%cD=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cE=getelementptr inbounds i8,i8*%cz,i64 8
%cF=bitcast i8*%cE to i8**
store i8*%cD,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cz,i64 16
%cH=bitcast i8*%cG to i32*
store i32 3,i32*%cH,align 4
%cI=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%cJ=call fastcc i8*@_SMLLN11ReifyTopEnv12externalBindE_193(i8*inreg%cI,i8*inreg%cz)
%cK=getelementptr inbounds i8,i8*%cJ,i64 16
%cL=bitcast i8*%cK to i8*(i8*,i8*)**
%cM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cL,align 8
%cN=bitcast i8*%cJ to i8**
%cO=load i8*,i8**%cN,align 8
%cP=bitcast i8**%p to i8***
%cQ=load i8**,i8***%cP,align 8
%cR=load i8*,i8**%cQ,align 8
%cS=invoke fastcc i8*%cM(i8*inreg%cO,i8*inreg%cR)
to label%cT unwind label%ef
cT:
%cU=getelementptr inbounds i8,i8*%cS,i64 16
%cV=bitcast i8*%cU to i8*(i8*,i8*)**
%cW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cV,align 8
%cX=bitcast i8*%cS to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%c0=invoke fastcc i8*%cW(i8*inreg%cY,i8*inreg%cZ)
to label%c1 unwind label%ef
c1:
%c2=getelementptr inbounds i8,i8*%c0,i64 8
%c3=bitcast i8*%c2 to i8**
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%k,align 8
%c5=bitcast i8*%c0 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%n,align 8
%c7=load i8*,i8**%p,align 8
%c8=getelementptr inbounds i8,i8*%c7,i64 8
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
store i8*%da,i8**%q,align 8
%db=getelementptr inbounds i8,i8*%c7,i64 16
%dc=bitcast i8*%db to i8**
%dd=load i8*,i8**%dc,align 8
store i8*%dd,i8**%r,align 8
%de=call i8*@sml_alloc(i32 inreg 28)#0
%df=getelementptr inbounds i8,i8*%de,i64 -4
%dg=bitcast i8*%df to i32*
store i32 1342177304,i32*%dg,align 4
store i8*%de,i8**%o,align 8
%dh=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%di=bitcast i8*%de to i8**
store i8*%dh,i8**%di,align 8
%dj=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%dk=getelementptr inbounds i8,i8*%de,i64 8
%dl=bitcast i8*%dk to i8**
store i8*%dj,i8**%dl,align 8
%dm=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%dn=getelementptr inbounds i8,i8*%de,i64 16
%do=bitcast i8*%dn to i8**
store i8*%dm,i8**%do,align 8
%dp=getelementptr inbounds i8,i8*%de,i64 24
%dq=bitcast i8*%dp to i32*
store i32 7,i32*%dq,align 4
%dr=invoke fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
to label%ds unwind label%ef
ds:
%dt=getelementptr inbounds i8,i8*%dr,i64 16
%du=bitcast i8*%dt to i8*(i8*,i8*)**
%dv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%du,align 8
%dw=bitcast i8*%dr to i8**
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%q,align 8
%dy=invoke fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
to label%dz unwind label%ef
dz:
%dA=getelementptr inbounds i8,i8*%dy,i64 16
%dB=bitcast i8*%dA to i8*(i8*,i8*)**
%dC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dB,align 8
%dD=bitcast i8*%dy to i8**
%dE=load i8*,i8**%dD,align 8
store i8*%dE,i8**%k,align 8
%dF=call i8*@sml_alloc(i32 inreg 20)#0
%dG=getelementptr inbounds i8,i8*%dF,i64 -4
%dH=bitcast i8*%dG to i32*
store i32 1342177296,i32*%dH,align 4
%dI=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%dJ=bitcast i8*%dF to i8**
store i8*%dI,i8**%dJ,align 8
%dK=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%dL=getelementptr inbounds i8,i8*%dF,i64 8
%dM=bitcast i8*%dL to i8**
store i8*%dK,i8**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dF,i64 16
%dO=bitcast i8*%dN to i32*
store i32 3,i32*%dO,align 4
%dP=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dQ=invoke fastcc i8*%dC(i8*inreg%dP,i8*inreg%dF)
to label%dR unwind label%ef
dR:
store i8*%dQ,i8**%k,align 8
%dS=call i8*@sml_alloc(i32 inreg 20)#0
%dT=getelementptr inbounds i8,i8*%dS,i64 -4
%dU=bitcast i8*%dT to i32*
store i32 1342177296,i32*%dU,align 4
%dV=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dW=bitcast i8*%dS to i8**
store i8*%dV,i8**%dW,align 8
%dX=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dY=getelementptr inbounds i8,i8*%dS,i64 8
%dZ=bitcast i8*%dY to i8**
store i8*%dX,i8**%dZ,align 8
%d0=getelementptr inbounds i8,i8*%dS,i64 16
%d1=bitcast i8*%d0 to i32*
store i32 3,i32*%d1,align 4
%d2=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%d3=invoke fastcc i8*%dv(i8*inreg%d2,i8*inreg%dS)
to label%d4 unwind label%ef
d4:
store i8*%d3,i8**%k,align 8
store i8*null,i8**%p,align 8
%d5=call i8*@sml_alloc(i32 inreg 20)#0
%d6=getelementptr inbounds i8,i8*%d5,i64 -4
%d7=bitcast i8*%d6 to i32*
store i32 1342177296,i32*%d7,align 4
%d8=load i8*,i8**%k,align 8
%d9=bitcast i8*%d5 to i8**
store i8*%d8,i8**%d9,align 8
%ea=load i8*,i8**%o,align 8
%eb=getelementptr inbounds i8,i8*%d5,i64 8
%ec=bitcast i8*%eb to i8**
store i8*%ea,i8**%ec,align 8
%ed=getelementptr inbounds i8,i8*%d5,i64 16
%ee=bitcast i8*%ed to i32*
store i32 3,i32*%ee,align 4
ret i8*%d5
ef:
%eg=landingpad{i8*,i8*}
catch i8*null
%eh=extractvalue{i8*,i8*}%eg,1
%ei=bitcast i8*%eh to i8**
%ej=load i8*,i8**%ei,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%m,align 8
store i8*null,i8**%o,align 8
store i8*null,i8**%n,align 8
store i8*null,i8**%q,align 8
store i8*%ej,i8**%k,align 8
%ek=bitcast i8*%ej to i8**
%el=load i8*,i8**%ek,align 8
%em=load i8*,i8**@_SMLZN18UserLevelPrimitive18UserLevelPrimErrorE,align 8
%en=icmp eq i8*%el,%em
br i1%en,label%eo,label%ey
eo:
store i8*null,i8**%k,align 8
%ep=call i8*@sml_alloc(i32 inreg 20)#0
%eq=getelementptr inbounds i8,i8*%ep,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177296,i32*%er,align 4
%es=bitcast i8*%ep to i8**
store i8*null,i8**%es,align 8
%et=load i8*,i8**%p,align 8
%eu=getelementptr inbounds i8,i8*%ep,i64 8
%ev=bitcast i8*%eu to i8**
store i8*%et,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%ep,i64 16
%ex=bitcast i8*%ew to i32*
store i32 3,i32*%ex,align 4
ret i8*%ep
ey:
store i8*null,i8**%p,align 8
%ez=call i8*@sml_alloc(i32 inreg 60)#0
%eA=getelementptr inbounds i8,i8*%ez,i64 -4
%eB=bitcast i8*%eA to i32*
store i32 1342177336,i32*%eB,align 4
%eC=getelementptr inbounds i8,i8*%ez,i64 56
%eD=bitcast i8*%eC to i32*
store i32 1,i32*%eD,align 4
%eE=load i8*,i8**%k,align 8
%eF=bitcast i8*%ez to i8**
store i8*%eE,i8**%eF,align 8
call void@sml_raise(i8*inreg%ez)#1
unreachable
}
define fastcc i8*@_SMLFN11ReifyTopEnv10topEnvBindE(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*)*@_SMLLN11ReifyTopEnv10topEnvBindE_203 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*)*@_SMLLN11ReifyTopEnv10topEnvBindE_203 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*@_SMLLN11ReifyTopEnv17filterSpecConVarEE_212(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11ReifyTopEnv17filterSpecConVarEE_132(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL3tyE_216(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL3tyE_150(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL4strE_217(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL4strE_153(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL4varE_218(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL4varE_155(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv10filterVarEE_221(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11ReifyTopEnv10filterVarEE_161(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4strE_223(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL4strE_168(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4sigE_225(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL4sigE_170(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4sigE_226(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL4sigE_172(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL18symbolFunEntryList_229(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL18symbolFunEntryList_183(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN11ReifyTopEnv10topEnvBindE_235(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11ReifyTopEnv10topEnvBindE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
declare void@llvm.memset.p0i8.i64(i8*,i8,i64,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
