@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN14ElaborateError16DuplicateStrDescE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError16DuplicateTypDescE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError16DuplicateValDescE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError34DuplicateConstructorNameInDatatypeE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError35DuplicateConstructorNameInExceptionE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN9SymbolEnv5emptyE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c"_X\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL3env_102 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3env_297 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule12elabSequenceE_104 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule12elabSequenceE_298 to void(...)*),i32 -2147483647}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:59.35(1635)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[27x i8]}><{[4x i8]zeroinitializer,i32 -2147483621,[27x i8]c"nilspec found in elaborate\00"}>,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*)*@_SMLLN15ElaborateModule8elabSpecE_180 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_302 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:76.33(2262)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_183 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_303 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(void(i8*)*@_SMLLN15ElaborateModule8elabSpecE_185 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_304 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_188 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_305 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:92.29(2816)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_191 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_306 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*)*@_SMLLN15ElaborateModule8elabSpecE_193 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_307 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:111.33(3332)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_196 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_308 to void(...)*),i32 -2147483647}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_199 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_309 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:122.26(3746)\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*)*@_SMLLN15ElaborateModule8elabSpecE_202 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_310 to void(...)*),i32 -2147483647}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_204 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_311 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:141.28(4250)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_207 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_312 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL5check_209 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5check_313 to void(...)*),i32 -2147483647}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:146.28(4469)\00"}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL5check_212 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5check_314 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLL5check_214 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5check_315 to void(...)*),i32 -2147483647}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLL5check_216 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5check_316 to void(...)*),i32 -2147483647}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_218 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_317 to void(...)*),i32 -2147483647}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_220 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_318 to void(...)*),i32 -2147483647}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_222 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_319 to void(...)*),i32 -2147483647}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:169.27(5344)\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_225 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_320 to void(...)*),i32 -2147483647}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLLN15ElaborateModule8elabSpecE_227 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_321 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(i8*(i8*)*@_SMLL8exnDescs_229 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8exnDescs_322 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(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_231 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_323 to void(...)*),i32 -2147483647}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:182.55(5859)\00"}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_234 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_324 to void(...)*),i32 -2147483647}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule8elabSpecE_236 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_325 to void(...)*),i32 -2147483647}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:67.6(1878)\00"}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:204.6(6610)\00"}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL6newenv_262 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6newenv_328 to void(...)*),i32 -2147483647}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:211.6(6882)\00"}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule11elabStrDecsE_266 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule11elabStrDecsE_329 to void(...)*),i32 -2147483647}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule10elabStrDecE_270 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabStrDecE_330 to void(...)*),i32 -2147483647}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:268.6(9045)\00"}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:249.6(8482)\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:288.6(9818)\00"}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL9plsigdecs_285 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9plsigdecs_336 to void(...)*),i32 -2147483647}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateModule.sml:374.6(13106)\00"}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN15ElaborateModule10elabTopDecE_290 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabTopDecE_337 to void(...)*),i32 -2147483647}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN15ElaborateModule10elabSigExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabSigExpE_338 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN15ElaborateModule10elabSigExpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Y,i64 0,i32 2)to i8*)
@Z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN15ElaborateModule11elabTopDecsE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule11elabTopDecsE_339 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN15ElaborateModule11elabTopDecsE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Z,i64 0,i32 2)to i8*)
@_SML_ftab1d5da1eadc3c938c_ElaborateModule=external global i8
@aa=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 void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@_SMLFN13ElaborateCore27checkReservedNameForValBindE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13ElaborateCore35checkReservedNameForConstructorBindE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13ElaborateCore7elabDecE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List1_VE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3appE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol12mkLongsymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv9unionWithE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main44ca35c4c731682b_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main872d7bd4cbb24e12_UserErrorUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main771acbb54fae37bb_ElaborateCore()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf1ae86f5f6e7b5ce_ElaborateError_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load44ca35c4c731682b_Symbol(i8*)local_unnamed_addr
declare void@_SML_load872d7bd4cbb24e12_UserErrorUtils(i8*)local_unnamed_addr
declare void@_SML_load771acbb54fae37bb_ElaborateCore(i8*)local_unnamed_addr
declare void@_SML_loadf1ae86f5f6e7b5ce_ElaborateError_ppg(i8*)local_unnamed_addr
define private void@_SML_tabb1d5da1eadc3c938c_ElaborateModule()#3{
unreachable
}
define void@_SML_load1d5da1eadc3c938c_ElaborateModule(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@aa,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@aa,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load44ca35c4c731682b_Symbol(i8*%a)#0
tail call void@_SML_load872d7bd4cbb24e12_UserErrorUtils(i8*%a)#0
tail call void@_SML_load771acbb54fae37bb_ElaborateCore(i8*%a)#0
tail call void@_SML_loadf1ae86f5f6e7b5ce_ElaborateError_ppg(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb1d5da1eadc3c938c_ElaborateModule,i8*@_SML_ftab1d5da1eadc3c938c_ElaborateModule,i8*null)#0
ret void
}
define void@_SML_main1d5da1eadc3c938c_ElaborateModule()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@aa,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*@aa,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_main872d7bd4cbb24e12_UserErrorUtils()#2
tail call void@_SML_main771acbb54fae37bb_ElaborateCore()#2
tail call void@_SML_mainf1ae86f5f6e7b5ce_ElaborateError_ppg()#2
br label%d
}
define internal fastcc i8*@_SMLL3env_102(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule12elabSequenceE_104(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule12elabSequenceE_96(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
q:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%h,align 8
store i8*%c,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%o,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%e,align 8
%n=load i8*,i8**%d,align 8
br label%o
o:
%p=phi i8*[%n,%l],[%a,%q]
%r=phi i8*[%m,%l],[%c,%q]
store i8*null,i8**%e,align 8
store i8*%r,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*%p,i8**%g,align 8
%s=icmp eq i8*%r,null
br i1%s,label%t,label%D
t:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
%x=bitcast i8*%u to i8**
store i8*null,i8**%x,align 8
%y=load i8*,i8**%h,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
ret i8*%u
D:
%E=getelementptr inbounds i8,i8*%p,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%p to i8**
%I=load i8*,i8**%H,align 8
%J=load i8*,i8**%h,align 8
%K=call fastcc i8*%G(i8*inreg%I,i8*inreg%J)
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8*(i8*,i8*)**
%N=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%M,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
%Q=bitcast i8**%f to i8***
%R=load i8**,i8***%Q,align 8
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*%N(i8*inreg%P,i8*inreg%S)
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%d,align 8
%W=getelementptr inbounds i8,i8*%T,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%e,align 8
%Z=call fastcc i8*@_SMLFN9SymbolEnv9unionWithE(i32 inreg 1,i32 inreg 8)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=call fastcc i8*%ac(i8*inreg%ae,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@b,i64 0,i32 2)to i8*))
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%i,align 8
%al=call i8*@sml_alloc(i32 inreg 20)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177296,i32*%an,align 4
%ao=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%e,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%al,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aw=call fastcc i8*%ai(i8*inreg%av,i8*inreg%al)
%ax=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aC=call fastcc i8*@_SMLLN15ElaborateModule12elabSequenceE_96(i8*inreg%aB,i8*inreg%aw,i8*inreg%aA)
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%f,align 8
%aF=getelementptr inbounds i8,i8*%aC,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%g,align 8
%aI=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%aJ=getelementptr inbounds i8,i8*%aI,i64 16
%aK=bitcast i8*%aJ to i8*(i8*,i8*)**
%aL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aK,align 8
%aM=bitcast i8*%aI to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%h,align 8
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
%aR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aO,i64 16
%aX=bitcast i8*%aW to i32*
store i32 3,i32*%aX,align 4
%aY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aZ=call fastcc i8*%aL(i8*inreg%aY,i8*inreg%aO)
store i8*%aZ,i8**%d,align 8
%a0=call fastcc i8*@_SMLFN9SymbolEnv9unionWithE(i32 inreg 1,i32 inreg 8)
%a1=getelementptr inbounds i8,i8*%a0,i64 16
%a2=bitcast i8*%a1 to i8*(i8*,i8*)**
%a3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a2,align 8
%a4=bitcast i8*%a0 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=call fastcc i8*%a3(i8*inreg%a5,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@c,i64 0,i32 2)to i8*))
%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**%f,align 8
%bc=call i8*@sml_alloc(i32 inreg 20)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177296,i32*%be,align 4
%bf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bc,i64 16
%bl=bitcast i8*%bk to i32*
store i32 3,i32*%bl,align 4
%bm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bn=call fastcc i8*%a9(i8*inreg%bm,i8*inreg%bc)
store i8*%bn,i8**%e,align 8
%bo=call i8*@sml_alloc(i32 inreg 20)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177296,i32*%bq,align 4
%br=load i8*,i8**%d,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%e,align 8
%bu=getelementptr inbounds i8,i8*%bo,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bo,i64 16
%bx=bitcast i8*%bw to i32*
store i32 3,i32*%bx,align 4
ret i8*%bo
}
define internal fastcc i8*@_SMLLN15ElaborateModule9elabBindsE_106(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
%r=load i8*,i8**%n,align 8
%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
store i8*null,i8**%c,align 8
%v=bitcast i8**%n to i8***
%w=load i8**,i8***%v,align 8
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%o,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*%u(i8*inreg%x,i8*inreg%A)
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
ret i8*%C
}
define internal fastcc i8*@_SMLLN15ElaborateModule9elabBindsE_107(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%l=getelementptr inbounds i8,i8*%k,i64 16
%m=bitcast i8*%l to i8*(i8*,i8*)**
%n=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m,align 8
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%e,align 8
%q=bitcast i8**%d to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call i8*@sml_alloc(i32 inreg 12)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
store i8*%t,i8**%f,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
%D=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule9elabBindsE_106 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule9elabBindsE_106 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 24
%K=bitcast i8*%J to i32*
store i32 -2147483647,i32*%K,align 4
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*%n(i8*inreg%L,i8*inreg%A)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
%S=load i8*,i8**%c,align 8
%T=tail call fastcc i8*%P(i8*inreg%R,i8*inreg%S)
ret i8*%T
}
define internal fastcc i8*@_SMLLN15ElaborateModule9elabBindsE_108(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule9elabBindsE_107 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*)*@_SMLLN15ElaborateModule9elabBindsE_107 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*@_SMLL11makeSeqSpec_110(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=icmp eq i8*%l,null
br i1%n,label%o,label%I
o:
store i8*null,i8**%e,align 8
%p=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%p,i8**%c,align 8
%q=call i8*@sml_alloc(i32 inreg 28)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177304,i32*%s,align 4
store i8*%q,i8**%d,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@d,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[27x i8]}>,<{[4x i8],i32,[27x i8]}>*@e,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%q,i64 24
%A=bitcast i8*%z to i32*
store i32 7,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 60)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177336,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 56
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
I:
%J=bitcast i8*%l to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%l,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=icmp eq i8*%N,null
br i1%O,label%P,label%Q
P:
ret i8*%K
Q:
%R=load i8*,i8**%e,align 8
%S=call fastcc i8*@_SMLL11makeSeqSpec_110(i8*inreg%R,i8*inreg%N)
store i8*%S,i8**%c,align 8
%T=bitcast i8**%e to i8***
%U=load i8**,i8***%T,align 8
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=call i8*@sml_alloc(i32 inreg 28)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177304,i32*%Y,align 4
store i8*%W,i8**%f,align 8
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%af=getelementptr inbounds i8,i8*%W,i64 16
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%W,i64 24
%ai=bitcast i8*%ah to i32*
store i32 7,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=bitcast i8*%aj to i32*
%al=getelementptr inbounds i8,i8*%aj,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
%an=getelementptr inbounds i8,i8*%aj,i64 4
%ao=bitcast i8*%an to i32*
store i32 0,i32*%ao,align 1
store i32 5,i32*%ak,align 4
%ap=load i8*,i8**%f,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 16
%at=bitcast i8*%as to i32*
store i32 2,i32*%at,align 4
ret i8*%aj
}
define internal fastcc i8*@_SMLLN15ElaborateModule17specListToSpecSeqE_113(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d 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**%d,align 8
%p=call i8*@sml_alloc(i32 inreg 12)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177288,i32*%r,align 4
store i8*%p,i8**%e,align 8
%s=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i32*
store i32 1,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%e,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11makeSeqSpec_110 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11makeSeqSpec_110 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 -2147483647,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=tail call fastcc i8*@_SMLL11makeSeqSpec_110(i8*inreg%z,i8*inreg%H)
ret i8*%I
}
define internal fastcc i8*@_SMLLN15ElaborateModule17specListToSpecSeqE_114(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule17specListToSpecSeqE_113 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*)*@_SMLLN15ElaborateModule17specListToSpecSeqE_113 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*@_SMLLN15ElaborateModule8elabSpecE_180(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_183(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=load i8*,i8**@_SMLZN14ElaborateError16DuplicateValDescE,align 8
store i8*%d,i8**%c,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**%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,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@g,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc void@_SMLLN15ElaborateModule8elabSpecE_185(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
tail call fastcc void@_SMLFN13ElaborateCore27checkReservedNameForValBindE(i8*inreg%l)
ret void
}
define internal fastcc i8*@_SMLL5specs_187(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
%g=bitcast i8*%b to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%i=getelementptr inbounds i8,i8*%b,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%d,align 8
%l=bitcast i8*%a to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%e,align 8
%n=call i8*@sml_alloc(i32 inreg 36)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177312,i32*%p,align 4
store i8*%n,i8**%f,align 8
%q=bitcast i8*%n to i8**
store i8*null,i8**%q,align 8
%r=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to i8**
store i8*%r,i8**%t,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%n,i64 16
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%y=getelementptr inbounds i8,i8*%n,i64 24
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%n,i64 32
%B=bitcast i8*%A to i32*
store i32 15,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%C,i64 4
%H=bitcast i8*%G to i32*
store i32 0,i32*%H,align 1
store i32 11,i32*%D,align 4
%I=load i8*,i8**%f,align 8
%J=getelementptr inbounds i8,i8*%C,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i32*
store i32 2,i32*%M,align 4
ret i8*%C
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_188(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_191(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=load i8*,i8**@_SMLZN14ElaborateError16DuplicateTypDescE,align 8
store i8*%d,i8**%c,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**%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,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@k,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_193(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_196(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=load i8*,i8**@_SMLZN14ElaborateError16DuplicateTypDescE,align 8
store i8*%d,i8**%c,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**%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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@n,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLL16elabTypeEquation_198(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
%h=bitcast i8*%b to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%c,align 8
%j=getelementptr inbounds i8,i8*%b,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=getelementptr inbounds i8,i8*%b,i64 16
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
store i8*%p,i8**%g,align 8
%s=load i8*,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%p,i64 24
%B=bitcast i8*%A to i32*
store i32 7,i32*%B,align 4
%C=bitcast i8**%f to i8***
%D=load i8**,i8***%C,align 8
store i8*null,i8**%f,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%c,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
store i8*%F,i8**%d,align 8
%I=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=bitcast i8*%P to i32*
%R=getelementptr inbounds i8,i8*%P,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%P,i64 4
%U=bitcast i8*%T to i32*
store i32 0,i32*%U,align 1
store i32 10,i32*%Q,align 4
%V=load i8*,i8**%d,align 8
%W=getelementptr inbounds i8,i8*%P,i64 8
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 16
%Z=bitcast i8*%Y to i32*
store i32 2,i32*%Z,align 4
ret i8*%P
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_199(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_202(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=load i8*,i8**@_SMLZN14ElaborateError16DuplicateTypDescE,align 8
store i8*%d,i8**%c,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**%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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@q,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_204(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_207(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=load i8*,i8**@_SMLZN14ElaborateError16DuplicateTypDescE,align 8
store i8*%d,i8**%c,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**%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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@t,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLL5check_209(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLL5check_212(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=load i8*,i8**@_SMLZN14ElaborateError34DuplicateConstructorNameInDatatypeE,align 8
store i8*%d,i8**%c,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**%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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@w,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc void@_SMLL5check_214(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
tail call fastcc void@_SMLFN13ElaborateCore35checkReservedNameForConstructorBindE(i8*inreg%l)
ret void
}
define internal fastcc void@_SMLL5check_216(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%h=getelementptr inbounds i8,i8*%g,i64 16
%i=bitcast i8*%h to i8*(i8*,i8*)**
%j=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i,align 8
%k=bitcast i8*%g to i8**
%l=load i8*,i8**%k,align 8
%m=call fastcc i8*%j(i8*inreg%l,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@v,i64 0,i32 2)to i8*))
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
%s=load i8*,i8**%b,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%p(i8*inreg%r,i8*inreg%v)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*%z(i8*inreg%B,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@x,i64 0,i32 2)to i8*))
%D=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%G(i8*inreg%I,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*))
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*%M(i8*inreg%O,i8*inreg%S)
ret void
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_218(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%b,align 8
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%c,align 8
%j=getelementptr inbounds i8,i8*%a,i64 16
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=call i8*@sml_alloc(i32 inreg 28)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177304,i32*%o,align 4
%p=load i8*,i8**%d,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=load i8*,i8**%b,align 8
%s=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to i8**
store i8*%r,i8**%t,align 8
%u=load i8*,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%m,i64 16
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%m,i64 24
%y=bitcast i8*%x to i32*
store i32 7,i32*%y,align 4
ret i8*%m
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_220(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
store i8*%q,i8**%d,align 8
%r=getelementptr inbounds i8*,i8**%n,i64 3
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%e,align 8
%t=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%w(i8*inreg%y,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*))
%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=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%C(i8*inreg%E,i8*inreg%I)
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 36)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177312,i32*%M,align 4
%N=load i8*,i8**%b,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%e,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=load i8*,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%K,i64 24
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%K,i64 32
%Z=bitcast i8*%Y to i32*
store i32 15,i32*%Z,align 4
ret i8*%K
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_222(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_225(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=load i8*,i8**@_SMLZN14ElaborateError35DuplicateConstructorNameInExceptionE,align 8
store i8*%d,i8**%c,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**%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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@D,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc void@_SMLLN15ElaborateModule8elabSpecE_227(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
tail call fastcc void@_SMLFN13ElaborateCore35checkReservedNameForConstructorBindE(i8*inreg%l)
ret void
}
define internal fastcc i8*@_SMLL8exnDescs_229(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%b,align 8
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%c,align 8
%j=getelementptr inbounds i8,i8*%a,i64 16
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=call i8*@sml_alloc(i32 inreg 28)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177304,i32*%o,align 4
%p=load i8*,i8**%b,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=load i8*,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to i8**
store i8*%r,i8**%t,align 8
%u=load i8*,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%m,i64 16
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%m,i64 24
%y=bitcast i8*%x to i32*
store i32 7,i32*%y,align 4
ret i8*%m
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_231(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_234(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=load i8*,i8**@_SMLZN14ElaborateError16DuplicateStrDescE,align 8
store i8*%d,i8**%c,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**%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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@I,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%e,i64 16
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%e,i64 24
%p=bitcast i8*%o to i32*
store i32 7,i32*%p,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_236(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_238(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*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=call i8*@sml_alloc(i32 inreg 20)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177296,i32*%h,align 4
store i8*%f,i8**%e,align 8
%i=getelementptr inbounds i8,i8*%f,i64 4
%j=bitcast i8*%i to i32*
store i32 0,i32*%j,align 1
%k=bitcast i8*%f to i32*
store i32 1,i32*%k,align 4
%l=load i8*,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%f,i64 8
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%f,i64 16
%p=bitcast i8*%o to i32*
store i32 2,i32*%p,align 4
%q=bitcast i8**%d to i8***
%r=load i8**,i8***%q,align 8
store i8*null,i8**%d,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%t,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=bitcast i8*%D to i32*
%F=getelementptr inbounds i8,i8*%D,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%D,i64 4
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 1
store i32 3,i32*%E,align 4
%J=load i8*,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%D,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%D,i64 16
%N=bitcast i8*%M to i32*
store i32 2,i32*%N,align 4
ret i8*%D
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_116(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
br label%g
g:
%h=phi i8*[%a,%i],[%b9,%b8]
store i8*%h,i8**%b,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%b,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%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 13,label%ks
i32 12,label%jC
i32 2,label%is
i32 4,label%hA
i32 0,label%gk
i32 7,label%fK
i32 5,label%es
i32 11,label%dv
i32 6,label%c0
i32 1,label%cc
i32 8,label%a8
i32 9,label%ax
i32 10,label%M
i32 3,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,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@L,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%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*null
M:
%N=getelementptr inbounds i8,i8*%o,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%c,align 8
%T=getelementptr inbounds i8,i8*%P,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%d,align 8
%W=bitcast i8*%P to i8**
%X=load i8*,i8**%W,align 8
%Y=call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_116(i8*inreg%X)
store i8*%Y,i8**%b,align 8
%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
store i8*%Z,i8**%e,align 8
%ac=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%Z,i64 24
%al=bitcast i8*%ak to i32*
store i32 7,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=bitcast i8*%am to i32*
%ao=getelementptr inbounds i8,i8*%am,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177296,i32*%ap,align 4
%aq=getelementptr inbounds i8,i8*%am,i64 4
%ar=bitcast i8*%aq to i32*
store i32 0,i32*%ar,align 1
store i32 7,i32*%an,align 4
%as=load i8*,i8**%e,align 8
%at=getelementptr inbounds i8,i8*%am,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%am,i64 16
%aw=bitcast i8*%av to i32*
store i32 2,i32*%aw,align 4
ret i8*%am
ax:
%ay=getelementptr inbounds i8,i8*%o,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,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**%c,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**%d,align 8
%aH=bitcast i8*%aA to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_116(i8*inreg%aI)
store i8*%aJ,i8**%b,align 8
%aK=call i8*@sml_alloc(i32 inreg 28)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177304,i32*%aM,align 4
store i8*%aK,i8**%e,align 8
%aN=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aQ=getelementptr inbounds i8,i8*%aK,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aT=getelementptr inbounds i8,i8*%aK,i64 16
%aU=bitcast i8*%aT to i8**
store i8*%aS,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aK,i64 24
%aW=bitcast i8*%aV to i32*
store i32 7,i32*%aW,align 4
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=bitcast i8*%aX to i32*
%aZ=getelementptr inbounds i8,i8*%aX,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177296,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aX,i64 4
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 1
store i32 6,i32*%aY,align 4
%a3=load i8*,i8**%e,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 8
%a5=bitcast i8*%a4 to i8**
store i8*%a3,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aX,i64 16
%a7=bitcast i8*%a6 to i32*
store i32 2,i32*%a7,align 4
ret i8*%aX
a8:
%a9=getelementptr inbounds i8,i8*%o,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%c,align 8
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
%be=icmp eq i8*%bd,null
br i1%be,label%bf,label%bj
bf:
%bg=getelementptr inbounds i8,i8*%bb,i64 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
br label%ca
bj:
%bk=bitcast i8*%bd to i32*
%bl=load i32,i32*%bk,align 4
%bm=icmp eq i32%bl,3
%bn=getelementptr inbounds i8,i8*%bb,i64 8
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
br i1%bm,label%ca,label%bq
bq:
%br=icmp eq i8*%bp,null
br i1%br,label%b6,label%bs
bs:
%bt=bitcast i8*%bp to i32*
%bu=load i32,i32*%bt,align 4
%bv=icmp eq i32%bu,3
br i1%bv,label%b6,label%bw
bw:
%bx=bitcast i8*%bb to i8**
%by=getelementptr inbounds i8,i8*%bb,i64 16
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%d,align 8
%bB=load i8*,i8**%bx,align 8
%bC=call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_116(i8*inreg%bB)
store i8*%bC,i8**%b,align 8
%bD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bE=getelementptr inbounds i8,i8*%bD,i64 8
%bF=bitcast i8*%bE to i8**
%bG=load i8*,i8**%bF,align 8
%bH=call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_116(i8*inreg%bG)
store i8*%bH,i8**%c,align 8
%bI=call i8*@sml_alloc(i32 inreg 28)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177304,i32*%bK,align 4
store i8*%bI,i8**%e,align 8
%bL=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bO=getelementptr inbounds i8,i8*%bI,i64 8
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bR=getelementptr inbounds i8,i8*%bI,i64 16
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bI,i64 24
%bU=bitcast i8*%bT to i32*
store i32 7,i32*%bU,align 4
%bV=call i8*@sml_alloc(i32 inreg 20)#0
%bW=bitcast i8*%bV to i32*
%bX=getelementptr inbounds i8,i8*%bV,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
%bZ=getelementptr inbounds i8,i8*%bV,i64 4
%b0=bitcast i8*%bZ to i32*
store i32 0,i32*%b0,align 1
store i32 5,i32*%bW,align 4
%b1=load i8*,i8**%e,align 8
%b2=getelementptr inbounds i8,i8*%bV,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bV,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 2,i32*%b5,align 4
ret i8*%bV
b6:
store i8*null,i8**%c,align 8
%b7=load i8*,i8**%bc,align 8
br label%b8
b8:
%b9=phi i8*[%b7,%b6],[%cb,%ca]
br label%g
ca:
%cb=phi i8*[%bi,%bf],[%bp,%bj]
store i8*null,i8**%c,align 8
br label%b8
cc:
%cd=getelementptr inbounds i8,i8*%o,i64 8
%ce=bitcast i8*%cd to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%b,align 8
%cg=getelementptr inbounds i8,i8*%cf,i64 8
%ch=bitcast i8*%cg to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%c,align 8
%cj=call fastcc i8*@_SMLLN15ElaborateModule17specListToSpecSeqE_114(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
store i8*%co,i8**%e,align 8
%cp=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%cu,i8**%d,align 8
%cv=call i8*@sml_alloc(i32 inreg 12)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177288,i32*%cx,align 4
store i8*%cv,i8**%f,align 8
%cy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cz=bitcast i8*%cv to i8**
store i8*%cy,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cv,i64 8
%cB=bitcast i8*%cA to i32*
store i32 1,i32*%cB,align 4
%cC=call i8*@sml_alloc(i32 inreg 28)#0
%cD=getelementptr inbounds i8,i8*%cC,i64 -4
%cE=bitcast i8*%cD to i32*
store i32 1342177304,i32*%cE,align 4
%cF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cG=bitcast i8*%cC to i8**
store i8*%cF,i8**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cC,i64 8
%cI=bitcast i8*%cH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_238 to void(...)*),void(...)**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cC,i64 16
%cK=bitcast i8*%cJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule8elabSpecE_238 to void(...)*),void(...)**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cC,i64 24
%cM=bitcast i8*%cL to i32*
store i32 -2147483647,i32*%cM,align 4
%cN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cO=call fastcc i8*%cs(i8*inreg%cN,i8*inreg%cC)
%cP=getelementptr inbounds i8,i8*%cO,i64 16
%cQ=bitcast i8*%cP to i8*(i8*,i8*)**
%cR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cQ,align 8
%cS=bitcast i8*%cO to i8**
%cT=load i8*,i8**%cS,align 8
%cU=bitcast i8**%b to i8***
%cV=load i8**,i8***%cU,align 8
store i8*null,i8**%b,align 8
%cW=load i8*,i8**%cV,align 8
%cX=call fastcc i8*%cR(i8*inreg%cT,i8*inreg%cW)
%cY=load i8*,i8**%e,align 8
%cZ=tail call fastcc i8*%cm(i8*inreg%cY,i8*inreg%cX)
ret i8*%cZ
c0:
%c1=getelementptr inbounds i8,i8*%o,i64 8
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
%c4=getelementptr inbounds i8,i8*%c3,i64 8
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%c,align 8
%c7=bitcast i8*%c3 to i8**
%c8=load i8*,i8**%c7,align 8
%c9=call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%c8)
store i8*%c9,i8**%b,align 8
%da=call i8*@sml_alloc(i32 inreg 20)#0
%db=getelementptr inbounds i8,i8*%da,i64 -4
%dc=bitcast i8*%db to i32*
store i32 1342177296,i32*%dc,align 4
store i8*%da,i8**%d,align 8
%dd=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%de=bitcast i8*%da to i8**
store i8*%dd,i8**%de,align 8
%df=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dg=getelementptr inbounds i8,i8*%da,i64 8
%dh=bitcast i8*%dg to i8**
store i8*%df,i8**%dh,align 8
%di=getelementptr inbounds i8,i8*%da,i64 16
%dj=bitcast i8*%di to i32*
store i32 3,i32*%dj,align 4
%dk=call i8*@sml_alloc(i32 inreg 20)#0
%dl=bitcast i8*%dk to i32*
%dm=getelementptr inbounds i8,i8*%dk,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177296,i32*%dn,align 4
%do=getelementptr inbounds i8,i8*%dk,i64 4
%dp=bitcast i8*%do to i32*
store i32 0,i32*%dp,align 1
store i32 3,i32*%dl,align 4
%dq=load i8*,i8**%d,align 8
%dr=getelementptr inbounds i8,i8*%dk,i64 8
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dk,i64 16
%du=bitcast i8*%dt to i32*
store i32 2,i32*%du,align 4
ret i8*%dk
dv:
%dw=getelementptr inbounds i8,i8*%o,i64 8
%dx=bitcast i8*%dw to i8**
%dy=load i8*,i8**%dx,align 8
store i8*%dy,i8**%b,align 8
%dz=getelementptr inbounds i8,i8*%dy,i64 8
%dA=bitcast i8*%dz to i8**
%dB=load i8*,i8**%dA,align 8
store i8*%dB,i8**%c,align 8
%dC=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(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
%dI=call fastcc i8*%dF(i8*inreg%dH,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*))
%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=bitcast i8**%b to i8***
%dP=load i8**,i8***%dO,align 8
%dQ=load i8*,i8**%dP,align 8
%dR=call fastcc i8*%dL(i8*inreg%dN,i8*inreg%dQ)
%dS=getelementptr inbounds i8,i8*%dR,i64 16
%dT=bitcast i8*%dS to i8*(i8*,i8*)**
%dU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dT,align 8
%dV=bitcast i8*%dR to i8**
%dW=load i8*,i8**%dV,align 8
%dX=call fastcc i8*%dU(i8*inreg%dW,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@J,i64 0,i32 2)to i8*))
%dY=call fastcc i8*@_SMLLN15ElaborateModule9elabBindsE_108(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*))
%dZ=getelementptr inbounds i8,i8*%dY,i64 16
%d0=bitcast i8*%dZ to i8*(i8*,i8*)**
%d1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d0,align 8
%d2=bitcast i8*%dY to i8**
%d3=load i8*,i8**%d2,align 8
%d4=load i8**,i8***%dO,align 8
store i8*null,i8**%b,align 8
%d5=load i8*,i8**%d4,align 8
%d6=call fastcc i8*%d1(i8*inreg%d3,i8*inreg%d5)
store i8*%d6,i8**%b,align 8
%d7=call i8*@sml_alloc(i32 inreg 20)#0
%d8=getelementptr inbounds i8,i8*%d7,i64 -4
%d9=bitcast i8*%d8 to i32*
store i32 1342177296,i32*%d9,align 4
store i8*%d7,i8**%d,align 8
%ea=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eb=bitcast i8*%d7 to i8**
store i8*%ea,i8**%eb,align 8
%ec=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ed=getelementptr inbounds i8,i8*%d7,i64 8
%ee=bitcast i8*%ed to i8**
store i8*%ec,i8**%ee,align 8
%ef=getelementptr inbounds i8,i8*%d7,i64 16
%eg=bitcast i8*%ef to i32*
store i32 3,i32*%eg,align 4
%eh=call i8*@sml_alloc(i32 inreg 20)#0
%ei=bitcast i8*%eh to i32*
%ej=getelementptr inbounds i8,i8*%eh,i64 -4
%ek=bitcast i8*%ej to i32*
store i32 1342177296,i32*%ek,align 4
%el=getelementptr inbounds i8,i8*%eh,i64 4
%em=bitcast i8*%el to i32*
store i32 0,i32*%em,align 1
store i32 8,i32*%ei,align 4
%en=load i8*,i8**%d,align 8
%eo=getelementptr inbounds i8,i8*%eh,i64 8
%ep=bitcast i8*%eo to i8**
store i8*%en,i8**%ep,align 8
%eq=getelementptr inbounds i8,i8*%eh,i64 16
%er=bitcast i8*%eq to i32*
store i32 2,i32*%er,align 4
ret i8*%eh
es:
%et=getelementptr inbounds i8,i8*%o,i64 8
%eu=bitcast i8*%et to i8**
%ev=load i8*,i8**%eu,align 8
store i8*%ev,i8**%b,align 8
%ew=getelementptr inbounds i8,i8*%ev,i64 8
%ex=bitcast i8*%ew to i8**
%ey=load i8*,i8**%ex,align 8
store i8*%ey,i8**%c,align 8
%ez=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%eA=getelementptr inbounds i8,i8*%ez,i64 16
%eB=bitcast i8*%eA to i8*(i8*,i8*)**
%eC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eB,align 8
%eD=bitcast i8*%ez to i8**
%eE=load i8*,i8**%eD,align 8
%eF=call fastcc i8*%eC(i8*inreg%eE,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@C,i64 0,i32 2)to i8*))
%eG=getelementptr inbounds i8,i8*%eF,i64 16
%eH=bitcast i8*%eG to i8*(i8*,i8*)**
%eI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eH,align 8
%eJ=bitcast i8*%eF to i8**
%eK=load i8*,i8**%eJ,align 8
%eL=bitcast i8**%b to i8***
%eM=load i8**,i8***%eL,align 8
%eN=load i8*,i8**%eM,align 8
%eO=call fastcc i8*%eI(i8*inreg%eK,i8*inreg%eN)
%eP=getelementptr inbounds i8,i8*%eO,i64 16
%eQ=bitcast i8*%eP to i8*(i8*,i8*)**
%eR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eQ,align 8
%eS=bitcast i8*%eO to i8**
%eT=load i8*,i8**%eS,align 8
%eU=call fastcc i8*%eR(i8*inreg%eT,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@E,i64 0,i32 2)to i8*))
%eV=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%eW=getelementptr inbounds i8,i8*%eV,i64 16
%eX=bitcast i8*%eW to i8*(i8*,i8*)**
%eY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eX,align 8
%eZ=bitcast i8*%eV to i8**
%e0=load i8*,i8**%eZ,align 8
%e1=call fastcc i8*%eY(i8*inreg%e0,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*))
%e2=getelementptr inbounds i8,i8*%e1,i64 16
%e3=bitcast i8*%e2 to i8*(i8*,i8*)**
%e4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e3,align 8
%e5=bitcast i8*%e1 to i8**
%e6=load i8*,i8**%e5,align 8
%e7=load i8**,i8***%eL,align 8
%e8=load i8*,i8**%e7,align 8
%e9=call fastcc i8*%e4(i8*inreg%e6,i8*inreg%e8)
%fa=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fb=getelementptr inbounds i8,i8*%fa,i64 16
%fc=bitcast i8*%fb to i8*(i8*,i8*)**
%fd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fc,align 8
%fe=bitcast i8*%fa to i8**
%ff=load i8*,i8**%fe,align 8
%fg=call fastcc i8*%fd(i8*inreg%ff,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*))
%fh=getelementptr inbounds i8,i8*%fg,i64 16
%fi=bitcast i8*%fh to i8*(i8*,i8*)**
%fj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fi,align 8
%fk=bitcast i8*%fg to i8**
%fl=load i8*,i8**%fk,align 8
%fm=load i8**,i8***%eL,align 8
store i8*null,i8**%b,align 8
%fn=load i8*,i8**%fm,align 8
%fo=call fastcc i8*%fj(i8*inreg%fl,i8*inreg%fn)
store i8*%fo,i8**%b,align 8
%fp=call i8*@sml_alloc(i32 inreg 20)#0
%fq=getelementptr inbounds i8,i8*%fp,i64 -4
%fr=bitcast i8*%fq to i32*
store i32 1342177296,i32*%fr,align 4
store i8*%fp,i8**%d,align 8
%fs=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ft=bitcast i8*%fp to i8**
store i8*%fs,i8**%ft,align 8
%fu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fv=getelementptr inbounds i8,i8*%fp,i64 8
%fw=bitcast i8*%fv to i8**
store i8*%fu,i8**%fw,align 8
%fx=getelementptr inbounds i8,i8*%fp,i64 16
%fy=bitcast i8*%fx to i32*
store i32 3,i32*%fy,align 4
%fz=call i8*@sml_alloc(i32 inreg 20)#0
%fA=bitcast i8*%fz to i32*
%fB=getelementptr inbounds i8,i8*%fz,i64 -4
%fC=bitcast i8*%fB to i32*
store i32 1342177296,i32*%fC,align 4
%fD=getelementptr inbounds i8,i8*%fz,i64 4
%fE=bitcast i8*%fD to i32*
store i32 0,i32*%fE,align 1
store i32 2,i32*%fA,align 4
%fF=load i8*,i8**%d,align 8
%fG=getelementptr inbounds i8,i8*%fz,i64 8
%fH=bitcast i8*%fG to i8**
store i8*%fF,i8**%fH,align 8
%fI=getelementptr inbounds i8,i8*%fz,i64 16
%fJ=bitcast i8*%fI to i32*
store i32 2,i32*%fJ,align 4
ret i8*%fz
fK:
%fL=getelementptr inbounds i8,i8*%o,i64 8
%fM=bitcast i8*%fL to i8**
%fN=load i8*,i8**%fM,align 8
%fO=bitcast i8*%fN to i8**
%fP=load i8*,i8**%fO,align 8
store i8*%fP,i8**%b,align 8
%fQ=getelementptr inbounds i8,i8*%fN,i64 8
%fR=bitcast i8*%fQ to i8**
%fS=load i8*,i8**%fR,align 8
store i8*%fS,i8**%c,align 8
%fT=getelementptr inbounds i8,i8*%fN,i64 16
%fU=bitcast i8*%fT to i8**
%fV=load i8*,i8**%fU,align 8
store i8*%fV,i8**%d,align 8
%fW=call i8*@sml_alloc(i32 inreg 28)#0
%fX=getelementptr inbounds i8,i8*%fW,i64 -4
%fY=bitcast i8*%fX to i32*
store i32 1342177304,i32*%fY,align 4
store i8*%fW,i8**%e,align 8
%fZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%f0=bitcast i8*%fW to i8**
store i8*%fZ,i8**%f0,align 8
%f1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%f2=getelementptr inbounds i8,i8*%fW,i64 8
%f3=bitcast i8*%f2 to i8**
store i8*%f1,i8**%f3,align 8
%f4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%f5=getelementptr inbounds i8,i8*%fW,i64 16
%f6=bitcast i8*%f5 to i8**
store i8*%f4,i8**%f6,align 8
%f7=getelementptr inbounds i8,i8*%fW,i64 24
%f8=bitcast i8*%f7 to i32*
store i32 7,i32*%f8,align 4
%f9=call i8*@sml_alloc(i32 inreg 20)#0
%ga=bitcast i8*%f9 to i32*
%gb=getelementptr inbounds i8,i8*%f9,i64 -4
%gc=bitcast i8*%gb to i32*
store i32 1342177296,i32*%gc,align 4
%gd=getelementptr inbounds i8,i8*%f9,i64 4
%ge=bitcast i8*%gd to i32*
store i32 0,i32*%ge,align 1
store i32 4,i32*%ga,align 4
%gf=load i8*,i8**%e,align 8
%gg=getelementptr inbounds i8,i8*%f9,i64 8
%gh=bitcast i8*%gg to i8**
store i8*%gf,i8**%gh,align 8
%gi=getelementptr inbounds i8,i8*%f9,i64 16
%gj=bitcast i8*%gi to i32*
store i32 2,i32*%gj,align 4
ret i8*%f9
gk:
%gl=getelementptr inbounds i8,i8*%o,i64 8
%gm=bitcast i8*%gl to i8**
%gn=load i8*,i8**%gm,align 8
store i8*%gn,i8**%b,align 8
%go=getelementptr inbounds i8,i8*%gn,i64 8
%gp=bitcast i8*%go to i8**
%gq=load i8*,i8**%gp,align 8
store i8*%gq,i8**%c,align 8
%gr=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%gs=getelementptr inbounds i8,i8*%gr,i64 16
%gt=bitcast i8*%gs to i8*(i8*,i8*)**
%gu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gt,align 8
%gv=bitcast i8*%gr to i8**
%gw=load i8*,i8**%gv,align 8
%gx=call fastcc i8*%gu(i8*inreg%gw,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*))
%gy=getelementptr inbounds i8,i8*%gx,i64 16
%gz=bitcast i8*%gy to i8*(i8*,i8*)**
%gA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gz,align 8
%gB=bitcast i8*%gx to i8**
%gC=load i8*,i8**%gB,align 8
%gD=bitcast i8**%b to i8***
%gE=load i8**,i8***%gD,align 8
%gF=load i8*,i8**%gE,align 8
%gG=call fastcc i8*%gA(i8*inreg%gC,i8*inreg%gF)
%gH=getelementptr inbounds i8,i8*%gG,i64 16
%gI=bitcast i8*%gH to i8*(i8*,i8*)**
%gJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gI,align 8
%gK=bitcast i8*%gG to i8**
%gL=load i8*,i8**%gK,align 8
%gM=call fastcc i8*%gJ(i8*inreg%gL,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*))
%gN=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 4)
%gO=getelementptr inbounds i8,i8*%gN,i64 16
%gP=bitcast i8*%gO to i8*(i8*,i8*)**
%gQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gP,align 8
%gR=bitcast i8*%gN to i8**
%gS=load i8*,i8**%gR,align 8
%gT=call fastcc i8*%gQ(i8*inreg%gS,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*))
%gU=getelementptr inbounds i8,i8*%gT,i64 16
%gV=bitcast i8*%gU to i8*(i8*,i8*)**
%gW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gV,align 8
%gX=bitcast i8*%gT to i8**
%gY=load i8*,i8**%gX,align 8
%gZ=load i8**,i8***%gD,align 8
%g0=load i8*,i8**%gZ,align 8
%g1=call fastcc i8*%gW(i8*inreg%gY,i8*inreg%g0)
%g2=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%g3=getelementptr inbounds i8,i8*%g2,i64 16
%g4=bitcast i8*%g3 to i8*(i8*,i8*)**
%g5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g4,align 8
%g6=bitcast i8*%g2 to i8**
%g7=load i8*,i8**%g6,align 8
%g8=call fastcc i8*%g5(i8*inreg%g7,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@B,i64 0,i32 2)to i8*))
%g9=getelementptr inbounds i8,i8*%g8,i64 16
%ha=bitcast i8*%g9 to i8*(i8*,i8*)**
%hb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ha,align 8
%hc=bitcast i8*%g8 to i8**
%hd=load i8*,i8**%hc,align 8
%he=load i8**,i8***%gD,align 8
store i8*null,i8**%b,align 8
%hf=load i8*,i8**%he,align 8
%hg=call fastcc i8*%hb(i8*inreg%hd,i8*inreg%hf)
store i8*%hg,i8**%b,align 8
%hh=call i8*@sml_alloc(i32 inreg 20)#0
%hi=getelementptr inbounds i8,i8*%hh,i64 -4
%hj=bitcast i8*%hi to i32*
store i32 1342177296,i32*%hj,align 4
store i8*%hh,i8**%d,align 8
%hk=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%hl=bitcast i8*%hh to i8**
store i8*%hk,i8**%hl,align 8
%hm=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hn=getelementptr inbounds i8,i8*%hh,i64 8
%ho=bitcast i8*%hn to i8**
store i8*%hm,i8**%ho,align 8
%hp=getelementptr inbounds i8,i8*%hh,i64 16
%hq=bitcast i8*%hp to i32*
store i32 3,i32*%hq,align 4
%hr=call i8*@sml_alloc(i32 inreg 20)#0
%hs=getelementptr inbounds i8,i8*%hr,i64 -4
%ht=bitcast i8*%hs to i32*
store i32 1342177296,i32*%ht,align 4
%hu=bitcast i8*%hr to i64*
store i64 0,i64*%hu,align 4
%hv=load i8*,i8**%d,align 8
%hw=getelementptr inbounds i8,i8*%hr,i64 8
%hx=bitcast i8*%hw to i8**
store i8*%hv,i8**%hx,align 8
%hy=getelementptr inbounds i8,i8*%hr,i64 16
%hz=bitcast i8*%hy to i32*
store i32 2,i32*%hz,align 4
ret i8*%hr
hA:
%hB=getelementptr inbounds i8,i8*%o,i64 8
%hC=bitcast i8*%hB to i8**
%hD=load i8*,i8**%hC,align 8
%hE=bitcast i8*%hD to i8**
%hF=load i8*,i8**%hE,align 8
store i8*%hF,i8**%b,align 8
%hG=getelementptr inbounds i8,i8*%hD,i64 8
%hH=bitcast i8*%hG to i8**
%hI=load i8*,i8**%hH,align 8
store i8*%hI,i8**%c,align 8
%hJ=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%hK=getelementptr inbounds i8,i8*%hJ,i64 16
%hL=bitcast i8*%hK to i8*(i8*,i8*)**
%hM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hL,align 8
%hN=bitcast i8*%hJ to i8**
%hO=load i8*,i8**%hN,align 8
%hP=call fastcc i8*%hM(i8*inreg%hO,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*))
%hQ=getelementptr inbounds i8,i8*%hP,i64 16
%hR=bitcast i8*%hQ to i8*(i8*,i8*)**
%hS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hR,align 8
%hT=bitcast i8*%hP to i8**
%hU=load i8*,i8**%hT,align 8
%hV=load i8*,i8**%b,align 8
%hW=call fastcc i8*%hS(i8*inreg%hU,i8*inreg%hV)
%hX=getelementptr inbounds i8,i8*%hW,i64 16
%hY=bitcast i8*%hX to i8*(i8*,i8*)**
%hZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hY,align 8
%h0=bitcast i8*%hW to i8**
%h1=load i8*,i8**%h0,align 8
%h2=call fastcc i8*%hZ(i8*inreg%h1,i8*inreg 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*))
%h3=call i8*@sml_alloc(i32 inreg 28)#0
%h4=getelementptr inbounds i8,i8*%h3,i64 -4
%h5=bitcast i8*%h4 to i32*
store i32 1342177304,i32*%h5,align 4
store i8*%h3,i8**%d,align 8
%h6=getelementptr inbounds i8,i8*%h3,i64 4
%h7=bitcast i8*%h6 to i32*
store i32 0,i32*%h7,align 1
%h8=bitcast i8*%h3 to i32*
store i32 1,i32*%h8,align 4
%h9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ia=getelementptr inbounds i8,i8*%h3,i64 8
%ib=bitcast i8*%ia to i8**
store i8*%h9,i8**%ib,align 8
%ic=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%id=getelementptr inbounds i8,i8*%h3,i64 16
%ie=bitcast i8*%id to i8**
store i8*%ic,i8**%ie,align 8
%if=getelementptr inbounds i8,i8*%h3,i64 24
%ig=bitcast i8*%if to i32*
store i32 6,i32*%ig,align 4
%ih=call i8*@sml_alloc(i32 inreg 20)#0
%ii=bitcast i8*%ih to i32*
%ij=getelementptr inbounds i8,i8*%ih,i64 -4
%ik=bitcast i8*%ij to i32*
store i32 1342177296,i32*%ik,align 4
%il=getelementptr inbounds i8,i8*%ih,i64 4
%im=bitcast i8*%il to i32*
store i32 0,i32*%im,align 1
store i32 9,i32*%ii,align 4
%in=load i8*,i8**%d,align 8
%io=getelementptr inbounds i8,i8*%ih,i64 8
%ip=bitcast i8*%io to i8**
store i8*%in,i8**%ip,align 8
%iq=getelementptr inbounds i8,i8*%ih,i64 16
%ir=bitcast i8*%iq to i32*
store i32 2,i32*%ir,align 4
ret i8*%ih
is:
%it=getelementptr inbounds i8,i8*%o,i64 8
%iu=bitcast i8*%it to i8**
%iv=load i8*,i8**%iu,align 8
store i8*%iv,i8**%b,align 8
%iw=getelementptr inbounds i8,i8*%iv,i64 8
%ix=bitcast i8*%iw to i8**
%iy=load i8*,i8**%ix,align 8
store i8*%iy,i8**%c,align 8
%iz=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%iA=getelementptr inbounds i8,i8*%iz,i64 16
%iB=bitcast i8*%iA to i8*(i8*,i8*)**
%iC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iB,align 8
%iD=bitcast i8*%iz to i8**
%iE=load i8*,i8**%iD,align 8
%iF=call fastcc i8*%iC(i8*inreg%iE,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*))
%iG=getelementptr inbounds i8,i8*%iF,i64 16
%iH=bitcast i8*%iG to i8*(i8*,i8*)**
%iI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iH,align 8
%iJ=bitcast i8*%iF to i8**
%iK=load i8*,i8**%iJ,align 8
%iL=bitcast i8**%b to i8***
%iM=load i8**,i8***%iL,align 8
%iN=load i8*,i8**%iM,align 8
%iO=call fastcc i8*%iI(i8*inreg%iK,i8*inreg%iN)
%iP=getelementptr inbounds i8,i8*%iO,i64 16
%iQ=bitcast i8*%iP to i8*(i8*,i8*)**
%iR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iQ,align 8
%iS=bitcast i8*%iO to i8**
%iT=load i8*,i8**%iS,align 8
%iU=call fastcc i8*%iR(i8*inreg%iT,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*))
%iV=call i8*@sml_alloc(i32 inreg 12)#0
%iW=getelementptr inbounds i8,i8*%iV,i64 -4
%iX=bitcast i8*%iW to i32*
store i32 1342177288,i32*%iX,align 4
store i8*%iV,i8**%d,align 8
%iY=load i8*,i8**%c,align 8
%iZ=bitcast i8*%iV to i8**
store i8*%iY,i8**%iZ,align 8
%i0=getelementptr inbounds i8,i8*%iV,i64 8
%i1=bitcast i8*%i0 to i32*
store i32 1,i32*%i1,align 4
%i2=call i8*@sml_alloc(i32 inreg 28)#0
%i3=getelementptr inbounds i8,i8*%i2,i64 -4
%i4=bitcast i8*%i3 to i32*
store i32 1342177304,i32*%i4,align 4
store i8*%i2,i8**%e,align 8
%i5=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%i6=bitcast i8*%i2 to i8**
store i8*%i5,i8**%i6,align 8
%i7=getelementptr inbounds i8,i8*%i2,i64 8
%i8=bitcast i8*%i7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL16elabTypeEquation_198 to void(...)*),void(...)**%i8,align 8
%i9=getelementptr inbounds i8,i8*%i2,i64 16
%ja=bitcast i8*%i9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL16elabTypeEquation_198 to void(...)*),void(...)**%ja,align 8
%jb=getelementptr inbounds i8,i8*%i2,i64 24
%jc=bitcast i8*%jb to i32*
store i32 -2147483647,i32*%jc,align 4
%jd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%je=call fastcc i8*@_SMLLN15ElaborateModule17specListToSpecSeqE_114(i8*inreg%jd)
%jf=getelementptr inbounds i8,i8*%je,i64 16
%jg=bitcast i8*%jf to i8*(i8*,i8*)**
%jh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jg,align 8
%ji=bitcast i8*%je to i8**
%jj=load i8*,i8**%ji,align 8
store i8*%jj,i8**%c,align 8
%jk=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%jl=getelementptr inbounds i8,i8*%jk,i64 16
%jm=bitcast i8*%jl to i8*(i8*,i8*)**
%jn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jm,align 8
%jo=bitcast i8*%jk to i8**
%jp=load i8*,i8**%jo,align 8
%jq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jr=call fastcc i8*%jn(i8*inreg%jp,i8*inreg%jq)
%js=getelementptr inbounds i8,i8*%jr,i64 16
%jt=bitcast i8*%js to i8*(i8*,i8*)**
%ju=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jt,align 8
%jv=bitcast i8*%jr to i8**
%jw=load i8*,i8**%jv,align 8
%jx=load i8**,i8***%iL,align 8
store i8*null,i8**%b,align 8
%jy=load i8*,i8**%jx,align 8
%jz=call fastcc i8*%ju(i8*inreg%jw,i8*inreg%jy)
%jA=load i8*,i8**%c,align 8
%jB=tail call fastcc i8*%jh(i8*inreg%jA,i8*inreg%jz)
ret i8*%jB
jC:
%jD=getelementptr inbounds i8,i8*%o,i64 8
%jE=bitcast i8*%jD to i8**
%jF=load i8*,i8**%jE,align 8
%jG=bitcast i8*%jF to i8**
%jH=load i8*,i8**%jG,align 8
store i8*%jH,i8**%b,align 8
%jI=getelementptr inbounds i8,i8*%jF,i64 8
%jJ=bitcast i8*%jI to i8**
%jK=load i8*,i8**%jJ,align 8
store i8*%jK,i8**%c,align 8
%jL=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%jM=getelementptr inbounds i8,i8*%jL,i64 16
%jN=bitcast i8*%jM to i8*(i8*,i8*)**
%jO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jN,align 8
%jP=bitcast i8*%jL to i8**
%jQ=load i8*,i8**%jP,align 8
%jR=call fastcc i8*%jO(i8*inreg%jQ,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*))
%jS=getelementptr inbounds i8,i8*%jR,i64 16
%jT=bitcast i8*%jS to i8*(i8*,i8*)**
%jU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jT,align 8
%jV=bitcast i8*%jR to i8**
%jW=load i8*,i8**%jV,align 8
%jX=load i8*,i8**%b,align 8
%jY=call fastcc i8*%jU(i8*inreg%jW,i8*inreg%jX)
%jZ=getelementptr inbounds i8,i8*%jY,i64 16
%j0=bitcast i8*%jZ to i8*(i8*,i8*)**
%j1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j0,align 8
%j2=bitcast i8*%jY to i8**
%j3=load i8*,i8**%j2,align 8
%j4=call fastcc i8*%j1(i8*inreg%j3,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*))
%j5=call i8*@sml_alloc(i32 inreg 28)#0
%j6=getelementptr inbounds i8,i8*%j5,i64 -4
%j7=bitcast i8*%j6 to i32*
store i32 1342177304,i32*%j7,align 4
store i8*%j5,i8**%d,align 8
%j8=bitcast i8*%j5 to i64*
store i64 0,i64*%j8,align 4
%j9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ka=getelementptr inbounds i8,i8*%j5,i64 8
%kb=bitcast i8*%ka to i8**
store i8*%j9,i8**%kb,align 8
%kc=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%kd=getelementptr inbounds i8,i8*%j5,i64 16
%ke=bitcast i8*%kd to i8**
store i8*%kc,i8**%ke,align 8
%kf=getelementptr inbounds i8,i8*%j5,i64 24
%kg=bitcast i8*%kf to i32*
store i32 6,i32*%kg,align 4
%kh=call i8*@sml_alloc(i32 inreg 20)#0
%ki=bitcast i8*%kh to i32*
%kj=getelementptr inbounds i8,i8*%kh,i64 -4
%kk=bitcast i8*%kj to i32*
store i32 1342177296,i32*%kk,align 4
%kl=getelementptr inbounds i8,i8*%kh,i64 4
%km=bitcast i8*%kl to i32*
store i32 0,i32*%km,align 1
store i32 9,i32*%ki,align 4
%kn=load i8*,i8**%d,align 8
%ko=getelementptr inbounds i8,i8*%kh,i64 8
%kp=bitcast i8*%ko to i8**
store i8*%kn,i8**%kp,align 8
%kq=getelementptr inbounds i8,i8*%kh,i64 16
%kr=bitcast i8*%kq to i32*
store i32 2,i32*%kr,align 4
ret i8*%kh
ks:
%kt=getelementptr inbounds i8,i8*%o,i64 8
%ku=bitcast i8*%kt to i8**
%kv=load i8*,i8**%ku,align 8
store i8*%kv,i8**%b,align 8
%kw=getelementptr inbounds i8,i8*%kv,i64 8
%kx=bitcast i8*%kw to i8**
%ky=load i8*,i8**%kx,align 8
store i8*%ky,i8**%c,align 8
%kz=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%kA=getelementptr inbounds i8,i8*%kz,i64 16
%kB=bitcast i8*%kA to i8*(i8*,i8*)**
%kC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kB,align 8
%kD=bitcast i8*%kz to i8**
%kE=load i8*,i8**%kD,align 8
%kF=call fastcc i8*%kC(i8*inreg%kE,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*))
%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=bitcast i8**%b to i8***
%kM=load i8**,i8***%kL,align 8
%kN=load i8*,i8**%kM,align 8
%kO=call fastcc i8*%kI(i8*inreg%kK,i8*inreg%kN)
%kP=getelementptr inbounds i8,i8*%kO,i64 16
%kQ=bitcast i8*%kP to i8*(i8*,i8*)**
%kR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kQ,align 8
%kS=bitcast i8*%kO to i8**
%kT=load i8*,i8**%kS,align 8
%kU=call fastcc i8*%kR(i8*inreg%kT,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*))
%kV=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%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
%k1=call fastcc i8*%kY(i8*inreg%k0,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*))
%k2=getelementptr inbounds i8,i8*%k1,i64 16
%k3=bitcast i8*%k2 to i8*(i8*,i8*)**
%k4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k3,align 8
%k5=bitcast i8*%k1 to i8**
%k6=load i8*,i8**%k5,align 8
%k7=load i8**,i8***%kL,align 8
%k8=load i8*,i8**%k7,align 8
%k9=call fastcc i8*%k4(i8*inreg%k6,i8*inreg%k8)
%la=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%lb=getelementptr inbounds i8,i8*%la,i64 16
%lc=bitcast i8*%lb to i8*(i8*,i8*)**
%ld=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lc,align 8
%le=bitcast i8*%la to i8**
%lf=load i8*,i8**%le,align 8
store i8*%lf,i8**%d,align 8
%lg=call i8*@sml_alloc(i32 inreg 12)#0
%lh=getelementptr inbounds i8,i8*%lg,i64 -4
%li=bitcast i8*%lh to i32*
store i32 1342177288,i32*%li,align 4
store i8*%lg,i8**%e,align 8
%lj=load i8*,i8**%c,align 8
%lk=bitcast i8*%lg to i8**
store i8*%lj,i8**%lk,align 8
%ll=getelementptr inbounds i8,i8*%lg,i64 8
%lm=bitcast i8*%ll to i32*
store i32 1,i32*%lm,align 4
%ln=call i8*@sml_alloc(i32 inreg 28)#0
%lo=getelementptr inbounds i8,i8*%ln,i64 -4
%lp=bitcast i8*%lo to i32*
store i32 1342177304,i32*%lp,align 4
%lq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lr=bitcast i8*%ln to i8**
store i8*%lq,i8**%lr,align 8
%ls=getelementptr inbounds i8,i8*%ln,i64 8
%lt=bitcast i8*%ls to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5specs_187 to void(...)*),void(...)**%lt,align 8
%lu=getelementptr inbounds i8,i8*%ln,i64 16
%lv=bitcast i8*%lu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5specs_187 to void(...)*),void(...)**%lv,align 8
%lw=getelementptr inbounds i8,i8*%ln,i64 24
%lx=bitcast i8*%lw to i32*
store i32 -2147483647,i32*%lx,align 4
%ly=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%lz=call fastcc i8*%ld(i8*inreg%ly,i8*inreg%ln)
%lA=getelementptr inbounds i8,i8*%lz,i64 16
%lB=bitcast i8*%lA to i8*(i8*,i8*)**
%lC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lB,align 8
%lD=bitcast i8*%lz to i8**
%lE=load i8*,i8**%lD,align 8
%lF=load i8**,i8***%kL,align 8
store i8*null,i8**%b,align 8
%lG=load i8*,i8**%lF,align 8
%lH=call fastcc i8*%lC(i8*inreg%lE,i8*inreg%lG)
store i8*%lH,i8**%b,align 8
%lI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lJ=call fastcc i8*@_SMLLN15ElaborateModule17specListToSpecSeqE_114(i8*inreg%lI)
%lK=getelementptr inbounds i8,i8*%lJ,i64 16
%lL=bitcast i8*%lK to i8*(i8*,i8*)**
%lM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lL,align 8
%lN=bitcast i8*%lJ to i8**
%lO=load i8*,i8**%lN,align 8
%lP=load i8*,i8**%b,align 8
%lQ=tail call fastcc i8*%lM(i8*inreg%lO,i8*inreg%lP)
ret i8*%lQ
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(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=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 0,label%aH
i32 1,label%ar
i32 2,label%G
]
o:
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%b,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**%c,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=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@M,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
%H=getelementptr inbounds i8,i8*%k,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%J,i64 16
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%d,align 8
%Q=bitcast i8*%J to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%R)
store i8*%S,i8**%b,align 8
%T=call i8*@sml_alloc(i32 inreg 28)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
store i8*%T,i8**%e,align 8
%W=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%T,i64 24
%af=bitcast i8*%ae to i32*
store i32 7,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=bitcast i8*%ag to i32*
%ai=getelementptr inbounds i8,i8*%ag,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ag,i64 4
%al=bitcast i8*%ak to i32*
store i32 0,i32*%al,align 1
store i32 2,i32*%ah,align 4
%am=load i8*,i8**%e,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 16
%aq=bitcast i8*%ap to i32*
store i32 2,i32*%aq,align 4
ret i8*%ag
ar:
%as=getelementptr inbounds i8,i8*%k,i64 8
%at=bitcast i8*%as to i8***
%au=load i8**,i8***%at,align 8
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%b,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=bitcast i8*%aw to i32*
%ay=getelementptr inbounds i8,i8*%aw,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177296,i32*%az,align 4
%aA=getelementptr inbounds i8,i8*%aw,i64 4
%aB=bitcast i8*%aA to i32*
store i32 0,i32*%aB,align 1
store i32 1,i32*%ax,align 4
%aC=load i8*,i8**%b,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 8
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aw,i64 16
%aG=bitcast i8*%aF to i32*
store i32 2,i32*%aG,align 4
ret i8*%aw
aH:
%aI=getelementptr inbounds i8,i8*%k,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 8
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%c,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_116(i8*inreg%aP)
store i8*%aQ,i8**%b,align 8
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
store i8*%aR,i8**%d,align 8
%aU=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aX=getelementptr inbounds i8,i8*%aR,i64 8
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aR,i64 16
%a0=bitcast i8*%aZ to i32*
store i32 3,i32*%a0,align 4
%a1=call i8*@sml_alloc(i32 inreg 20)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177296,i32*%a3,align 4
%a4=bitcast i8*%a1 to i64*
store i64 0,i64*%a4,align 4
%a5=load i8*,i8**%d,align 8
%a6=getelementptr inbounds i8,i8*%a1,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a1,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 2,i32*%a9,align 4
ret i8*%a1
}
define internal fastcc i8*@_SMLL6newenv_262(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_265(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN15ElaborateModule10elabStrDecE_243(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_266(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*)*@_SMLLN15ElaborateModule11elabStrDecsE_265 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*)*@_SMLLN15ElaborateModule11elabStrDecsE_265 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*@_SMLLN15ElaborateModule10elabStrDecE_268(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=bitcast i8*%r to i64*
store i64 0,i64*%u,align 4
%v=load i8*,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 2,i32*%z,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabStrDecE_269(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**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%i,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%n
l:
%m=bitcast i8*%a to i8**
br label%r
n:
call void@sml_check(i32 inreg%j)
%o=load i8*,i8**%i,align 8
%p=bitcast i8**%h to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8**[%q,%n],[%m,%l]
%t=phi i8*[%o,%n],[%b,%l]
%u=load i8*,i8**%s,align 8
%v=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
%x=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
%y=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%y)
%z=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z)
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*%u,i8**%c,align 8
store i8*%t,i8**%d,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**%d,align 8
br label%E
E:
%F=phi i8*[%D,%C],[%t,%r]
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
switch i32%H,label%I[
i32 2,label%bv
i32 1,label%aB
i32 0,label%aa
]
I:
call void@sml_matchcomp_bug()
%J=load i8*,i8**@_SMLZ5Match,align 8
store i8*%J,i8**%c,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**%d,align 8
%N=load i8*,i8**%c,align 8
store i8*null,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@S,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**%d,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:
%ab=getelementptr inbounds i8,i8*%F,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%d,align 8
%ag=getelementptr inbounds i8,i8*%ad,i64 16
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%e,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%an=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%am,i8*inreg%al)
store i8*%an,i8**%c,align 8
%ao=call i8*@sml_alloc(i32 inreg 28)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177304,i32*%aq,align 4
%ar=load i8*,i8**%d,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=load i8*,i8**%c,align 8
%au=getelementptr inbounds i8,i8*%ao,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=load i8*,i8**%e,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 16
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ao,i64 24
%aA=bitcast i8*%az to i32*
store i32 7,i32*%aA,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
br label%cp
aB:
%aC=getelementptr inbounds i8,i8*%F,i64 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%d,align 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%e,align 8
%aH=getelementptr inbounds i8,i8*%aE,i64 24
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%f,align 8
%aK=getelementptr inbounds i8,i8*%aE,i64 16
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
%aN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aO=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%aN,i8*inreg%aM)
store i8*%aO,i8**%c,align 8
%aP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
%aT=call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%aS)
store i8*%aT,i8**%d,align 8
%aU=call i8*@sml_alloc(i32 inreg 28)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177304,i32*%aW,align 4
store i8*%aU,i8**%g,align 8
%aX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a0=getelementptr inbounds i8,i8*%aU,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=load i8*,i8**%f,align 8
%a3=getelementptr inbounds i8,i8*%aU,i64 16
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aU,i64 24
%a6=bitcast i8*%a5 to i32*
store i32 7,i32*%a6,align 4
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177296,i32*%a9,align 4
store i8*%a7,i8**%c,align 8
%ba=getelementptr inbounds i8,i8*%a7,i64 4
%bb=bitcast i8*%ba to i32*
store i32 0,i32*%bb,align 1
%bc=bitcast i8*%a7 to i32*
store i32 3,i32*%bc,align 4
%bd=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 8
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a7,i64 16
%bh=bitcast i8*%bg to i32*
store i32 2,i32*%bh,align 4
%bi=call i8*@sml_alloc(i32 inreg 28)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177304,i32*%bk,align 4
%bl=load i8*,i8**%e,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%c,align 8
%bo=getelementptr inbounds i8,i8*%bi,i64 8
%bp=bitcast i8*%bo to i8**
store i8*%bn,i8**%bp,align 8
%bq=load i8*,i8**%f,align 8
%br=getelementptr inbounds i8,i8*%bi,i64 16
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bi,i64 24
%bu=bitcast i8*%bt to i32*
store i32 7,i32*%bu,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
br label%cp
bv:
%bw=getelementptr inbounds i8,i8*%F,i64 8
%bx=bitcast i8*%bw to i8**
%by=load i8*,i8**%bx,align 8
store i8*%by,i8**%d,align 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%e,align 8
%bB=getelementptr inbounds i8,i8*%by,i64 24
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%f,align 8
%bE=getelementptr inbounds i8,i8*%by,i64 16
%bF=bitcast i8*%bE to i8**
%bG=load i8*,i8**%bF,align 8
%bH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bI=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%bH,i8*inreg%bG)
store i8*%bI,i8**%c,align 8
%bJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bK=getelementptr inbounds i8,i8*%bJ,i64 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
%bN=call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%bM)
store i8*%bN,i8**%d,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
store i8*%bO,i8**%g,align 8
%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**%f,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=call i8*@sml_alloc(i32 inreg 20)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177296,i32*%b3,align 4
store i8*%b1,i8**%c,align 8
%b4=getelementptr inbounds i8,i8*%b1,i64 4
%b5=bitcast i8*%b4 to i32*
store i32 0,i32*%b5,align 1
%b6=bitcast i8*%b1 to i32*
store i32 4,i32*%b6,align 4
%b7=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 16
%cb=bitcast i8*%ca to i32*
store i32 2,i32*%cb,align 4
%cc=call i8*@sml_alloc(i32 inreg 28)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177304,i32*%ce,align 4
%cf=load i8*,i8**%e,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=load i8*,i8**%c,align 8
%ci=getelementptr inbounds i8,i8*%cc,i64 8
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=load i8*,i8**%f,align 8
%cl=getelementptr inbounds i8,i8*%cc,i64 16
%cm=bitcast i8*%cl to i8**
store i8*%ck,i8**%cm,align 8
%cn=getelementptr inbounds i8,i8*%cc,i64 24
%co=bitcast i8*%cn to i32*
store i32 7,i32*%co,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
br label%cp
cp:
%cq=phi i8*[%ao,%aa],[%bi,%aB],[%cc,%bv]
ret i8*%cq
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabStrDecE_270(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=bitcast i8*%n to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 1,label%fe
i32 2,label%eY
i32 4,label%ek
i32 3,label%dG
i32 0,label%a0
i32 5,label%J
]
r:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@O,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=getelementptr inbounds i8,i8*%n,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%e,align 8
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%f,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
%S=load i8*,i8**%h,align 8
%T=call fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_242(i8*inreg%S,i8*inreg%R)
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%T,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%d,align 8
%Z=call fastcc i8*@_SMLFN9SymbolEnv9unionWithE(i32 inreg 1,i32 inreg 8)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=call fastcc i8*%ac(i8*inreg%ae,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*))
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%g,align 8
%al=call i8*@sml_alloc(i32 inreg 20)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177296,i32*%an,align 4
%ao=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%al,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aw=call fastcc i8*%ai(i8*inreg%av,i8*inreg%al)
%ax=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%aw,i8*inreg%aA)
store i8*%aB,i8**%d,align 8
%aC=call i8*@sml_alloc(i32 inreg 28)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177304,i32*%aE,align 4
store i8*%aC,i8**%e,align 8
%aF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aI=getelementptr inbounds i8,i8*%aC,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*%aH,i8**%aJ,align 8
%aK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aL=getelementptr inbounds i8,i8*%aC,i64 16
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aC,i64 24
%aO=bitcast i8*%aN to i32*
store i32 7,i32*%aO,align 4
%aP=call i8*@sml_alloc(i32 inreg 20)#0
%aQ=bitcast i8*%aP to i32*
%aR=getelementptr inbounds i8,i8*%aP,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aP,i64 4
%aU=bitcast i8*%aT to i32*
store i32 0,i32*%aU,align 1
store i32 5,i32*%aQ,align 4
%aV=load i8*,i8**%e,align 8
%aW=getelementptr inbounds i8,i8*%aP,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aP,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 2,i32*%aZ,align 4
ret i8*%aP
a0:
%a1=getelementptr inbounds i8,i8*%n,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%e,align 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%f,align 8
%a6=getelementptr inbounds i8,i8*%a3,i64 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=bitcast i8*%a8 to i32*
%ba=load i32,i32*%a9,align 4
%bb=icmp eq i32%ba,2
br i1%bb,label%dc,label%bc
bc:
%bd=getelementptr inbounds i8,i8*%a3,i64 16
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%g,align 8
%bg=call fastcc i8*@_SMLFN6Symbol12mkLongsymbolE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@T,i64 0,i32 2)to i8*))
%bh=getelementptr inbounds i8,i8*%bg,i64 16
%bi=bitcast i8*%bh to i8*(i8*,i8*)**
%bj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bi,align 8
%bk=bitcast i8*%bg to i8**
%bl=load i8*,i8**%bk,align 8
%bm=load i8*,i8**%g,align 8
%bn=call fastcc i8*%bj(i8*inreg%bl,i8*inreg%bm)
store i8*%bn,i8**%c,align 8
%bo=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@a,i64 0,i32 2,i64 0))
%bp=getelementptr inbounds i8,i8*%bo,i64 16
%bq=bitcast i8*%bp to i8*(i8*,i8*)**
%br=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bq,align 8
%bs=bitcast i8*%bo to i8**
%bt=load i8*,i8**%bs,align 8
%bu=load i8*,i8**%g,align 8
%bv=call fastcc i8*%br(i8*inreg%bt,i8*inreg%bu)
store i8*%bv,i8**%d,align 8
%bw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bx=getelementptr inbounds i8,i8*%bw,i64 8
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
%bA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bB=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%bA,i8*inreg%bz)
store i8*%bB,i8**%e,align 8
%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
store i8*%bC,i8**%h,align 8
%bF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bG=bitcast i8*%bC to i8**
store i8*%bF,i8**%bG,align 8
%bH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bI=getelementptr inbounds i8,i8*%bC,i64 8
%bJ=bitcast i8*%bI to i8**
store i8*%bH,i8**%bJ,align 8
%bK=load i8*,i8**%g,align 8
%bL=getelementptr inbounds i8,i8*%bC,i64 16
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bC,i64 24
%bO=bitcast i8*%bN to i32*
store i32 7,i32*%bO,align 4
%bP=call i8*@sml_alloc(i32 inreg 20)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177296,i32*%bR,align 4
store i8*%bP,i8**%f,align 8
%bS=bitcast i8*%bP to i64*
store i64 0,i64*%bS,align 4
%bT=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bU=getelementptr inbounds i8,i8*%bP,i64 8
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bP,i64 16
%bX=bitcast i8*%bW to i32*
store i32 2,i32*%bX,align 4
%bY=call i8*@sml_alloc(i32 inreg 28)#0
%bZ=getelementptr inbounds i8,i8*%bY,i64 -4
%b0=bitcast i8*%bZ to i32*
store i32 1342177304,i32*%b0,align 4
store i8*%bY,i8**%c,align 8
%b1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b2=bitcast i8*%bY to i8**
store i8*%b1,i8**%b2,align 8
%b3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b4=getelementptr inbounds i8,i8*%bY,i64 8
%b5=bitcast i8*%b4 to i8**
store i8*%b3,i8**%b5,align 8
%b6=load i8*,i8**%g,align 8
%b7=getelementptr inbounds i8,i8*%bY,i64 16
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%bY,i64 24
%ca=bitcast i8*%b9 to i32*
store i32 7,i32*%ca,align 4
%cb=call i8*@sml_alloc(i32 inreg 20)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177296,i32*%cd,align 4
store i8*%cb,i8**%d,align 8
%ce=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cf=bitcast i8*%cb to i8**
store i8*%ce,i8**%cf,align 8
%cg=getelementptr inbounds i8,i8*%cb,i64 8
%ch=bitcast i8*%cg to i8**
store i8*null,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%cb,i64 16
%cj=bitcast i8*%ci to i32*
store i32 3,i32*%cj,align 4
%ck=call i8*@sml_alloc(i32 inreg 20)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177296,i32*%cm,align 4
store i8*%ck,i8**%c,align 8
%cn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%co=bitcast i8*%ck to i8**
store i8*%cn,i8**%co,align 8
%cp=load i8*,i8**%g,align 8
%cq=getelementptr inbounds i8,i8*%ck,i64 8
%cr=bitcast i8*%cq to i8**
store i8*%cp,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%ck,i64 16
%ct=bitcast i8*%cs to i32*
store i32 3,i32*%ct,align 4
%cu=call i8*@sml_alloc(i32 inreg 20)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177296,i32*%cw,align 4
store i8*%cu,i8**%d,align 8
%cx=getelementptr inbounds i8,i8*%cu,i64 4
%cy=bitcast i8*%cx to i32*
store i32 0,i32*%cy,align 1
%cz=bitcast i8*%cu to i32*
store i32 1,i32*%cz,align 4
%cA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cB=getelementptr inbounds i8,i8*%cu,i64 8
%cC=bitcast i8*%cB to i8**
store i8*%cA,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cu,i64 16
%cE=bitcast i8*%cD to i32*
store i32 2,i32*%cE,align 4
%cF=call i8*@sml_alloc(i32 inreg 20)#0
%cG=getelementptr inbounds i8,i8*%cF,i64 -4
%cH=bitcast i8*%cG to i32*
store i32 1342177296,i32*%cH,align 4
store i8*%cF,i8**%e,align 8
%cI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cJ=bitcast i8*%cF to i8**
store i8*%cI,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cF,i64 8
%cL=bitcast i8*%cK to i8**
store i8*null,i8**%cL,align 8
%cM=getelementptr inbounds i8,i8*%cF,i64 16
%cN=bitcast i8*%cM to i32*
store i32 3,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
store i8*%cO,i8**%c,align 8
%cR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cS=bitcast i8*%cO to i8**
store i8*%cR,i8**%cS,align 8
%cT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cU=getelementptr inbounds i8,i8*%cO,i64 8
%cV=bitcast i8*%cU to i8**
store i8*%cT,i8**%cV,align 8
%cW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cX=getelementptr inbounds i8,i8*%cO,i64 16
%cY=bitcast i8*%cX to i8**
store i8*%cW,i8**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cO,i64 24
%c0=bitcast i8*%cZ to i32*
store i32 7,i32*%c0,align 4
%c1=call i8*@sml_alloc(i32 inreg 20)#0
%c2=bitcast i8*%c1 to i32*
%c3=getelementptr inbounds i8,i8*%c1,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177296,i32*%c4,align 4
%c5=getelementptr inbounds i8,i8*%c1,i64 4
%c6=bitcast i8*%c5 to i32*
store i32 0,i32*%c6,align 1
store i32 5,i32*%c2,align 4
%c7=load i8*,i8**%c,align 8
%c8=getelementptr inbounds i8,i8*%c1,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*%c7,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c1,i64 16
%db=bitcast i8*%da to i32*
store i32 2,i32*%db,align 4
ret i8*%c1
dc:
store i8*null,i8**%h,align 8
%dd=getelementptr inbounds i8,i8*%a8,i64 8
%de=bitcast i8*%dd to i8***
%df=load i8**,i8***%de,align 8
%dg=load i8*,i8**%df,align 8
store i8*%dg,i8**%c,align 8
store i8*null,i8**%e,align 8
%dh=getelementptr inbounds i8,i8*%a3,i64 16
%di=bitcast i8*%dh to i8**
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%d,align 8
%dk=call i8*@sml_alloc(i32 inreg 28)#0
%dl=getelementptr inbounds i8,i8*%dk,i64 -4
%dm=bitcast i8*%dl to i32*
store i32 1342177304,i32*%dm,align 4
store i8*%dk,i8**%e,align 8
%dn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%do=bitcast i8*%dk to i8**
store i8*%dn,i8**%do,align 8
%dp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dq=getelementptr inbounds i8,i8*%dk,i64 8
%dr=bitcast i8*%dq to i8**
store i8*%dp,i8**%dr,align 8
%ds=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dt=getelementptr inbounds i8,i8*%dk,i64 16
%du=bitcast i8*%dt to i8**
store i8*%ds,i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%dk,i64 24
%dw=bitcast i8*%dv to i32*
store i32 7,i32*%dw,align 4
%dx=call i8*@sml_alloc(i32 inreg 20)#0
%dy=getelementptr inbounds i8,i8*%dx,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177296,i32*%dz,align 4
%dA=bitcast i8*%dx to i64*
store i64 0,i64*%dA,align 4
%dB=load i8*,i8**%e,align 8
%dC=getelementptr inbounds i8,i8*%dx,i64 8
%dD=bitcast i8*%dC to i8**
store i8*%dB,i8**%dD,align 8
%dE=getelementptr inbounds i8,i8*%dx,i64 16
%dF=bitcast i8*%dE to i32*
store i32 2,i32*%dF,align 4
ret i8*%dx
dG:
%dH=getelementptr inbounds i8,i8*%n,i64 8
%dI=bitcast i8*%dH to i8**
%dJ=load i8*,i8**%dI,align 8
store i8*%dJ,i8**%d,align 8
%dK=getelementptr inbounds i8,i8*%dJ,i64 16
%dL=bitcast i8*%dK to i8**
%dM=load i8*,i8**%dL,align 8
store i8*%dM,i8**%e,align 8
%dN=bitcast i8*%dJ to i8**
%dO=load i8*,i8**%dN,align 8
%dP=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dQ=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%dP,i8*inreg%dO)
store i8*%dQ,i8**%c,align 8
%dR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dS=getelementptr inbounds i8,i8*%dR,i64 8
%dT=bitcast i8*%dS to i8**
%dU=load i8*,i8**%dT,align 8
%dV=call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%dU)
store i8*%dV,i8**%d,align 8
%dW=call i8*@sml_alloc(i32 inreg 28)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177304,i32*%dY,align 4
store i8*%dW,i8**%f,align 8
%dZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d0=bitcast i8*%dW to i8**
store i8*%dZ,i8**%d0,align 8
%d1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%d2=getelementptr inbounds i8,i8*%dW,i64 8
%d3=bitcast i8*%d2 to i8**
store i8*%d1,i8**%d3,align 8
%d4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d5=getelementptr inbounds i8,i8*%dW,i64 16
%d6=bitcast i8*%d5 to i8**
store i8*%d4,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%dW,i64 24
%d8=bitcast i8*%d7 to i32*
store i32 7,i32*%d8,align 4
%d9=call i8*@sml_alloc(i32 inreg 20)#0
%ea=bitcast i8*%d9 to i32*
%eb=getelementptr inbounds i8,i8*%d9,i64 -4
%ec=bitcast i8*%eb to i32*
store i32 1342177296,i32*%ec,align 4
%ed=getelementptr inbounds i8,i8*%d9,i64 4
%ee=bitcast i8*%ed to i32*
store i32 0,i32*%ee,align 1
store i32 3,i32*%ea,align 4
%ef=load i8*,i8**%f,align 8
%eg=getelementptr inbounds i8,i8*%d9,i64 8
%eh=bitcast i8*%eg to i8**
store i8*%ef,i8**%eh,align 8
%ei=getelementptr inbounds i8,i8*%d9,i64 16
%ej=bitcast i8*%ei to i32*
store i32 2,i32*%ej,align 4
ret i8*%d9
ek:
%el=getelementptr inbounds i8,i8*%n,i64 8
%em=bitcast i8*%el to i8**
%en=load i8*,i8**%em,align 8
store i8*%en,i8**%d,align 8
%eo=getelementptr inbounds i8,i8*%en,i64 16
%ep=bitcast i8*%eo to i8**
%eq=load i8*,i8**%ep,align 8
store i8*%eq,i8**%e,align 8
%er=bitcast i8*%en to i8**
%es=load i8*,i8**%er,align 8
%et=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eu=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%et,i8*inreg%es)
store i8*%eu,i8**%c,align 8
%ev=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ew=getelementptr inbounds i8,i8*%ev,i64 8
%ex=bitcast i8*%ew to i8**
%ey=load i8*,i8**%ex,align 8
%ez=call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%ey)
store i8*%ez,i8**%d,align 8
%eA=call i8*@sml_alloc(i32 inreg 28)#0
%eB=getelementptr inbounds i8,i8*%eA,i64 -4
%eC=bitcast i8*%eB to i32*
store i32 1342177304,i32*%eC,align 4
store i8*%eA,i8**%f,align 8
%eD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eE=bitcast i8*%eA to i8**
store i8*%eD,i8**%eE,align 8
%eF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eG=getelementptr inbounds i8,i8*%eA,i64 8
%eH=bitcast i8*%eG to i8**
store i8*%eF,i8**%eH,align 8
%eI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eJ=getelementptr inbounds i8,i8*%eA,i64 16
%eK=bitcast i8*%eJ to i8**
store i8*%eI,i8**%eK,align 8
%eL=getelementptr inbounds i8,i8*%eA,i64 24
%eM=bitcast i8*%eL to i32*
store i32 7,i32*%eM,align 4
%eN=call i8*@sml_alloc(i32 inreg 20)#0
%eO=bitcast i8*%eN to i32*
%eP=getelementptr inbounds i8,i8*%eN,i64 -4
%eQ=bitcast i8*%eP to i32*
store i32 1342177296,i32*%eQ,align 4
%eR=getelementptr inbounds i8,i8*%eN,i64 4
%eS=bitcast i8*%eR to i32*
store i32 0,i32*%eS,align 1
store i32 4,i32*%eO,align 4
%eT=load i8*,i8**%f,align 8
%eU=getelementptr inbounds i8,i8*%eN,i64 8
%eV=bitcast i8*%eU to i8**
store i8*%eT,i8**%eV,align 8
%eW=getelementptr inbounds i8,i8*%eN,i64 16
%eX=bitcast i8*%eW to i32*
store i32 2,i32*%eX,align 4
ret i8*%eN
eY:
store i8*null,i8**%h,align 8
%eZ=getelementptr inbounds i8,i8*%n,i64 8
%e0=bitcast i8*%eZ to i8***
%e1=load i8**,i8***%e0,align 8
%e2=load i8*,i8**%e1,align 8
store i8*%e2,i8**%c,align 8
%e3=call i8*@sml_alloc(i32 inreg 20)#0
%e4=bitcast i8*%e3 to i32*
%e5=getelementptr inbounds i8,i8*%e3,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177296,i32*%e6,align 4
%e7=getelementptr inbounds i8,i8*%e3,i64 4
%e8=bitcast i8*%e7 to i32*
store i32 0,i32*%e8,align 1
store i32 2,i32*%e4,align 4
%e9=load i8*,i8**%c,align 8
%fa=getelementptr inbounds i8,i8*%e3,i64 8
%fb=bitcast i8*%fa to i8**
store i8*%e9,i8**%fb,align 8
%fc=getelementptr inbounds i8,i8*%e3,i64 16
%fd=bitcast i8*%fc to i32*
store i32 2,i32*%fd,align 4
ret i8*%e3
fe:
%ff=getelementptr inbounds i8,i8*%n,i64 8
%fg=bitcast i8*%ff to i8**
%fh=load i8*,i8**%fg,align 8
%fi=getelementptr inbounds i8,i8*%fh,i64 8
%fj=bitcast i8*%fi to i8**
%fk=load i8*,i8**%fj,align 8
store i8*%fk,i8**%d,align 8
%fl=bitcast i8*%fh to i8**
%fm=load i8*,i8**%fl,align 8
%fn=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fo=call fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_242(i8*inreg%fn,i8*inreg%fm)
%fp=bitcast i8*%fo to i8**
%fq=load i8*,i8**%fp,align 8
store i8*%fq,i8**%c,align 8
%fr=call i8*@sml_alloc(i32 inreg 20)#0
%fs=getelementptr inbounds i8,i8*%fr,i64 -4
%ft=bitcast i8*%fs to i32*
store i32 1342177296,i32*%ft,align 4
store i8*%fr,i8**%e,align 8
%fu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fv=bitcast i8*%fr to i8**
store i8*%fu,i8**%fv,align 8
%fw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fx=getelementptr inbounds i8,i8*%fr,i64 8
%fy=bitcast i8*%fx to i8**
store i8*%fw,i8**%fy,align 8
%fz=getelementptr inbounds i8,i8*%fr,i64 16
%fA=bitcast i8*%fz to i32*
store i32 3,i32*%fA,align 4
%fB=call i8*@sml_alloc(i32 inreg 20)#0
%fC=bitcast i8*%fB to i32*
%fD=getelementptr inbounds i8,i8*%fB,i64 -4
%fE=bitcast i8*%fD to i32*
store i32 1342177296,i32*%fE,align 4
%fF=getelementptr inbounds i8,i8*%fB,i64 4
%fG=bitcast i8*%fF to i32*
store i32 0,i32*%fG,align 1
store i32 1,i32*%fC,align 4
%fH=load i8*,i8**%e,align 8
%fI=getelementptr inbounds i8,i8*%fB,i64 8
%fJ=bitcast i8*%fI to i8**
store i8*%fH,i8**%fJ,align 8
%fK=getelementptr inbounds i8,i8*%fB,i64 16
%fL=bitcast i8*%fK to i32*
store i32 2,i32*%fL,align 4
ret i8*%fB
}
define internal fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_242(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=tail call fastcc i8*@_SMLLN15ElaborateModule12elabSequenceE_96(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*),i8*inreg%k,i8*inreg%m)
ret i8*%n
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabStrDecE_243(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=bitcast i8*%n to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 0,label%dj
i32 1,label%bo
i32 2,label%J
]
r:
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@R,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=getelementptr inbounds i8,i8*%n,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%e,align 8
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%f,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
%S=load i8*,i8**%g,align 8
%T=call fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_242(i8*inreg%S,i8*inreg%R)
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%T,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%d,align 8
%Z=call fastcc i8*@_SMLFN9SymbolEnv9unionWithE(i32 inreg 1,i32 inreg 8)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=call fastcc i8*%ac(i8*inreg%ae,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Q,i64 0,i32 2)to i8*))
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%h,align 8
%al=call i8*@sml_alloc(i32 inreg 20)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177296,i32*%an,align 4
%ao=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%al,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aw=call fastcc i8*%ai(i8*inreg%av,i8*inreg%al)
%ax=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=call fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_242(i8*inreg%aw,i8*inreg%aA)
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%d,align 8
%aE=getelementptr inbounds i8,i8*%aB,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%e,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
store i8*%aH,i8**%g,align 8
%aK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=load i8*,i8**%d,align 8
store i8*null,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**%f,align 8
store i8*null,i8**%f,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=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
store i8*%aU,i8**%c,align 8
%aX=getelementptr inbounds i8,i8*%aU,i64 4
%aY=bitcast i8*%aX to i32*
store i32 0,i32*%aY,align 1
%aZ=bitcast i8*%aU to i32*
store i32 2,i32*%aZ,align 4
%a0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aU,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 2,i32*%a4,align 4
%a5=call i8*@sml_alloc(i32 inreg 20)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177296,i32*%a7,align 4
store i8*%a5,i8**%d,align 8
%a8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a9=bitcast i8*%a5 to i8**
store i8*%a8,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i8**
store i8*null,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
%bh=load i8*,i8**%d,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=load i8*,i8**%e,align 8
%bk=getelementptr inbounds i8,i8*%be,i64 8
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%be,i64 16
%bn=bitcast i8*%bm to i32*
store i32 3,i32*%bn,align 4
ret i8*%be
bo:
%bp=getelementptr inbounds i8,i8*%n,i64 8
%bq=bitcast i8*%bp to i8**
%br=load i8*,i8**%bq,align 8
store i8*%br,i8**%c,align 8
%bs=getelementptr inbounds i8,i8*%br,i64 8
%bt=bitcast i8*%bs to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%d,align 8
%bv=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%e,align 8
%bB=call i8*@sml_alloc(i32 inreg 12)#0
%bC=getelementptr inbounds i8,i8*%bB,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177288,i32*%bD,align 4
store i8*%bB,i8**%f,align 8
%bE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bF=bitcast i8*%bB to i8**
store i8*%bE,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bB,i64 8
%bH=bitcast i8*%bG to i32*
store i32 1,i32*%bH,align 4
%bI=call i8*@sml_alloc(i32 inreg 28)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177304,i32*%bK,align 4
%bL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bI,i64 8
%bO=bitcast i8*%bN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabStrDecE_269 to void(...)*),void(...)**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bI,i64 16
%bQ=bitcast i8*%bP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabStrDecE_269 to void(...)*),void(...)**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bI,i64 24
%bS=bitcast i8*%bR to i32*
store i32 -2147483647,i32*%bS,align 4
%bT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bU=call fastcc i8*%by(i8*inreg%bT,i8*inreg%bI)
%bV=getelementptr inbounds i8,i8*%bU,i64 16
%bW=bitcast i8*%bV to i8*(i8*,i8*)**
%bX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bW,align 8
%bY=bitcast i8*%bU to i8**
%bZ=load i8*,i8**%bY,align 8
%b0=bitcast i8**%c to i8***
%b1=load i8**,i8***%b0,align 8
store i8*null,i8**%c,align 8
%b2=load i8*,i8**%b1,align 8
%b3=call fastcc i8*%bX(i8*inreg%bZ,i8*inreg%b2)
store i8*%b3,i8**%c,align 8
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
store i8*%b4,i8**%e,align 8
%b7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b4,i64 16
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
%ce=call i8*@sml_alloc(i32 inreg 20)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177296,i32*%cg,align 4
store i8*%ce,i8**%c,align 8
%ch=getelementptr inbounds i8,i8*%ce,i64 4
%ci=bitcast i8*%ch to i32*
store i32 0,i32*%ci,align 1
%cj=bitcast i8*%ce to i32*
store i32 1,i32*%cj,align 4
%ck=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cl=getelementptr inbounds i8,i8*%ce,i64 8
%cm=bitcast i8*%cl to i8**
store i8*%ck,i8**%cm,align 8
%cn=getelementptr inbounds i8,i8*%ce,i64 16
%co=bitcast i8*%cn to i32*
store i32 2,i32*%co,align 4
%cp=call i8*@sml_alloc(i32 inreg 20)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177296,i32*%cr,align 4
%cs=load i8*,i8**%c,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cp,i64 8
%cv=bitcast i8*%cu to i8**
store i8*null,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
store i8*null,i8**%d,align 8
%cy=call i8*@sml_alloc(i32 inreg 20)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177296,i32*%cA,align 4
store i8*%cy,i8**%e,align 8
%cB=load i8*,i8**%c,align 8
%cC=bitcast i8*%cy to i8**
store i8*%cB,i8**%cC,align 8
%cD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cE=getelementptr inbounds i8,i8*%cy,i64 8
%cF=bitcast i8*%cE to i8**
store i8*%cD,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cy,i64 16
%cH=bitcast i8*%cG to i32*
store i32 3,i32*%cH,align 4
%cI=load i8*,i8**@_SMLZN9SymbolEnv5emptyE,align 8
store i8*%cI,i8**%c,align 8
%cJ=call i8*@sml_alloc(i32 inreg 20)#0
%cK=getelementptr inbounds i8,i8*%cJ,i64 -4
%cL=bitcast i8*%cK to i32*
store i32 1342177296,i32*%cL,align 4
%cM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cN=bitcast i8*%cJ to i8**
store i8*%cM,i8**%cN,align 8
%cO=load i8*,i8**%c,align 8
%cP=getelementptr inbounds i8,i8*%cJ,i64 8
%cQ=bitcast i8*%cP to i8**
store i8*%cO,i8**%cQ,align 8
%cR=getelementptr inbounds i8,i8*%cJ,i64 16
%cS=bitcast i8*%cR to i32*
store i32 3,i32*%cS,align 4
store i8*%cM,i8**%c,align 8
%cT=getelementptr inbounds i8,i8*%cO,i64 16
%cU=bitcast i8*%cT to i8*(i8*,i8*,i8*)**
%cV=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%cU,align 8
%cW=bitcast i8*%cO to i8**
%cX=load i8*,i8**%cW,align 8
store i8*%cX,i8**%d,align 8
%cY=call i8*@sml_alloc(i32 inreg 4)#0
%cZ=bitcast i8*%cY to i32*
%c0=getelementptr inbounds i8,i8*%cY,i64 -4
%c1=bitcast i8*%c0 to i32*
store i32 4,i32*%c1,align 4
store i8*%cY,i8**%e,align 8
store i32 1,i32*%cZ,align 4
%c2=call i8*@sml_alloc(i32 inreg 4)#0
%c3=bitcast i8*%c2 to i32*
%c4=getelementptr inbounds i8,i8*%c2,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32 4,i32*%c5,align 4
store i32 8,i32*%c3,align 4
%c6=load i8*,i8**%d,align 8
%c7=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%c8=call fastcc i8*%cV(i8*inreg%c6,i8*inreg%c7,i8*inreg%c2)
store i8*%c8,i8**%d,align 8
%c9=call i8*@sml_alloc(i32 inreg 20)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177296,i32*%db,align 4
%dc=load i8*,i8**%c,align 8
%dd=bitcast i8*%c9 to i8**
store i8*%dc,i8**%dd,align 8
%de=load i8*,i8**%d,align 8
%df=getelementptr inbounds i8,i8*%c9,i64 8
%dg=bitcast i8*%df to i8**
store i8*%de,i8**%dg,align 8
%dh=getelementptr inbounds i8,i8*%c9,i64 16
%di=bitcast i8*%dh to i32*
store i32 3,i32*%di,align 4
ret i8*%c9
dj:
%dk=getelementptr inbounds i8,i8*%n,i64 8
%dl=bitcast i8*%dk to i8**
%dm=load i8*,i8**%dl,align 8
store i8*%dm,i8**%c,align 8
%dn=getelementptr inbounds i8,i8*%dm,i64 8
%do=bitcast i8*%dn to i8**
%dp=load i8*,i8**%do,align 8
store i8*%dp,i8**%e,align 8
%dq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dr=call fastcc i8*@_SMLFN13ElaborateCore7elabDecE(i8*inreg%dq)
%ds=getelementptr inbounds i8,i8*%dr,i64 16
%dt=bitcast i8*%ds to i8*(i8*,i8*)**
%du=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dt,align 8
%dv=bitcast i8*%dr to i8**
%dw=load i8*,i8**%dv,align 8
%dx=bitcast i8**%c to i8***
%dy=load i8**,i8***%dx,align 8
store i8*null,i8**%c,align 8
%dz=load i8*,i8**%dy,align 8
%dA=call fastcc i8*%du(i8*inreg%dw,i8*inreg%dz)
store i8*%dA,i8**%d,align 8
%dB=getelementptr inbounds i8,i8*%dA,i64 8
%dC=bitcast i8*%dB to i8**
%dD=load i8*,i8**%dC,align 8
store i8*%dD,i8**%c,align 8
%dE=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dF=getelementptr inbounds i8,i8*%dE,i64 16
%dG=bitcast i8*%dF to i8*(i8*,i8*)**
%dH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dG,align 8
%dI=bitcast i8*%dE to i8**
%dJ=load i8*,i8**%dI,align 8
store i8*%dJ,i8**%f,align 8
%dK=call i8*@sml_alloc(i32 inreg 12)#0
%dL=getelementptr inbounds i8,i8*%dK,i64 -4
%dM=bitcast i8*%dL to i32*
store i32 1342177288,i32*%dM,align 4
store i8*%dK,i8**%g,align 8
%dN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dO=bitcast i8*%dK to i8**
store i8*%dN,i8**%dO,align 8
%dP=getelementptr inbounds i8,i8*%dK,i64 8
%dQ=bitcast i8*%dP to i32*
store i32 1,i32*%dQ,align 4
%dR=call i8*@sml_alloc(i32 inreg 28)#0
%dS=getelementptr inbounds i8,i8*%dR,i64 -4
%dT=bitcast i8*%dS to i32*
store i32 1342177304,i32*%dT,align 4
%dU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dV=bitcast i8*%dR to i8**
store i8*%dU,i8**%dV,align 8
%dW=getelementptr inbounds i8,i8*%dR,i64 8
%dX=bitcast i8*%dW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabStrDecE_268 to void(...)*),void(...)**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dR,i64 16
%dZ=bitcast i8*%dY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabStrDecE_268 to void(...)*),void(...)**%dZ,align 8
%d0=getelementptr inbounds i8,i8*%dR,i64 24
%d1=bitcast i8*%d0 to i32*
store i32 -2147483647,i32*%d1,align 4
%d2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d3=call fastcc i8*%dH(i8*inreg%d2,i8*inreg%dR)
%d4=getelementptr inbounds i8,i8*%d3,i64 16
%d5=bitcast i8*%d4 to i8*(i8*,i8*)**
%d6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d5,align 8
%d7=bitcast i8*%d3 to i8**
%d8=load i8*,i8**%d7,align 8
%d9=bitcast i8**%d to i8***
%ea=load i8**,i8***%d9,align 8
store i8*null,i8**%d,align 8
%eb=load i8*,i8**%ea,align 8
%ec=call fastcc i8*%d6(i8*inreg%d8,i8*inreg%eb)
store i8*%ec,i8**%d,align 8
%ed=call i8*@sml_alloc(i32 inreg 20)#0
%ee=getelementptr inbounds i8,i8*%ed,i64 -4
%ef=bitcast i8*%ee to i32*
store i32 1342177296,i32*%ef,align 4
%eg=load i8*,i8**%d,align 8
%eh=bitcast i8*%ed to i8**
store i8*%eg,i8**%eh,align 8
%ei=load i8*,i8**%c,align 8
%ej=getelementptr inbounds i8,i8*%ed,i64 8
%ek=bitcast i8*%ej to i8**
store i8*%ei,i8**%ek,align 8
%el=getelementptr inbounds i8,i8*%ed,i64 16
%em=bitcast i8*%el to i32*
store i32 3,i32*%em,align 4
ret i8*%ed
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabTopDecE_284(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=bitcast i8*%r to i32*
%t=getelementptr inbounds i8,i8*%r,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
%v=getelementptr inbounds i8,i8*%r,i64 4
%w=bitcast i8*%v to i32*
store i32 0,i32*%w,align 1
store i32 2,i32*%s,align 4
%x=load i8*,i8**%e,align 8
%y=getelementptr inbounds i8,i8*%r,i64 8
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 16
%B=bitcast i8*%A to i32*
store i32 2,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL9plsigdecs_285(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLL10plfunbinds_287(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%l,align 8
store i8*%b,i8**%m,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%p,label%r
p:
%q=bitcast i8*%a to i8**
br label%v
r:
call void@sml_check(i32 inreg%n)
%s=load i8*,i8**%m,align 8
%t=bitcast i8**%l to i8***
%u=load i8**,i8***%t,align 8
br label%v
v:
%w=phi i8**[%u,%r],[%q,%p]
%x=phi i8*[%s,%r],[%b,%p]
%y=load i8*,i8**%w,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)
%B=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%B)
%C=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%C)
%D=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%D)
%E=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%E)
%F=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%F)
%G=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%G)
%H=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%H)
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*%y,i8**%k,align 8
store i8*%x,i8**%c,align 8
br label%I
I:
%J=phi i8*[%x,%v],[%mh,%mg]
%K=load atomic i32,i32*@sml_check_flag unordered,align 4
%L=icmp eq i32%K,0
br i1%L,label%O,label%M
M:
call void@sml_check(i32 inreg%K)
%N=load i8*,i8**%c,align 8
br label%O
O:
%P=phi i8*[%N,%M],[%J,%I]
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
switch i32%R,label%S[
i32 5,label%k5
i32 1,label%jU
i32 0,label%mi
i32 4,label%gz
i32 3,label%de
i32 2,label%ak
]
S:
store i8*null,i8**%k,align 8
call void@sml_matchcomp_bug()
%T=load i8*,i8**@_SMLZ5Match,align 8
store i8*%T,i8**%c,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
store i8*%U,i8**%d,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@U,i64 0,i32 2,i64 0),i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 60)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177336,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 56
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=getelementptr inbounds i8,i8*%P,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%e,align 8
%aq=getelementptr inbounds i8,i8*%an,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%f,align 8
%at=getelementptr inbounds i8,i8*%an,i64 16
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%g,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 24
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%h,align 8
%az=call fastcc i8*@_SMLFN6Symbol12mkLongsymbolE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@T,i64 0,i32 2)to i8*))
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8*(i8*,i8*)**
%aC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aB,align 8
%aD=bitcast i8*%az to i8**
%aE=load i8*,i8**%aD,align 8
%aF=load i8*,i8**%h,align 8
%aG=call fastcc i8*%aC(i8*inreg%aE,i8*inreg%aF)
store i8*%aG,i8**%c,align 8
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aH,i64 8
%aN=bitcast i8*%aM to i8**
store i8*null,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
store i8*null,i8**%d,align 8
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
store i8*%aQ,i8**%i,align 8
%aT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aQ,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 3,i32*%aZ,align 4
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
store i8*%a0,i8**%c,align 8
%a3=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%h,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
%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**%d,align 8
%bd=getelementptr inbounds i8,i8*%ba,i64 4
%be=bitcast i8*%bd to i32*
store i32 0,i32*%be,align 1
%bf=bitcast i8*%ba to i32*
store i32 8,i32*%bf,align 4
%bg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%ba,i64 16
%bk=bitcast i8*%bj to i32*
store i32 2,i32*%bk,align 4
%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**%c,align 8
%bo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%h,align 8
%br=getelementptr inbounds i8,i8*%bl,i64 8
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bl,i64 16
%bu=bitcast i8*%bt to i32*
store i32 3,i32*%bu,align 4
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
store i8*%bv,i8**%d,align 8
%by=bitcast i8*%bv to i64*
store i64 0,i64*%by,align 4
%bz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bA=getelementptr inbounds i8,i8*%bv,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 16
%bD=bitcast i8*%bC to i32*
store i32 2,i32*%bD,align 4
%bE=call i8*@sml_alloc(i32 inreg 20)#0
%bF=getelementptr inbounds i8,i8*%bE,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 1342177296,i32*%bG,align 4
%bH=load i8*,i8**%d,align 8
%bI=bitcast i8*%bE to i8**
store i8*%bH,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bE,i64 8
%bK=bitcast i8*%bJ to i8**
store i8*null,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bE,i64 16
%bM=bitcast i8*%bL to i32*
store i32 3,i32*%bM,align 4
store i8*%bH,i8**%c,align 8
store i8*null,i8**%d,align 8
%bN=call i8*@sml_alloc(i32 inreg 20)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177296,i32*%bP,align 4
store i8*%bN,i8**%i,align 8
%bQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bT=getelementptr inbounds i8,i8*%bN,i64 8
%bU=bitcast i8*%bT to i8**
store i8*%bS,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bN,i64 16
%bW=bitcast i8*%bV to i32*
store i32 3,i32*%bW,align 4
%bX=call i8*@sml_alloc(i32 inreg 28)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177304,i32*%bZ,align 4
store i8*%bX,i8**%c,align 8
%b0=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b1=bitcast i8*%bX to i8**
store i8*%b0,i8**%b1,align 8
%b2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b3=getelementptr inbounds i8,i8*%bX,i64 8
%b4=bitcast i8*%b3 to i8**
store i8*%b2,i8**%b4,align 8
%b5=load i8*,i8**%h,align 8
%b6=getelementptr inbounds i8,i8*%bX,i64 16
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%bX,i64 24
%b9=bitcast i8*%b8 to i32*
store i32 7,i32*%b9,align 4
%ca=call i8*@sml_alloc(i32 inreg 20)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177296,i32*%cc,align 4
store i8*%ca,i8**%g,align 8
%cd=getelementptr inbounds i8,i8*%ca,i64 4
%ce=bitcast i8*%cd to i32*
store i32 0,i32*%ce,align 1
%cf=bitcast i8*%ca to i32*
store i32 5,i32*%cf,align 4
%cg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ch=getelementptr inbounds i8,i8*%ca,i64 8
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ca,i64 16
%ck=bitcast i8*%cj to i32*
store i32 2,i32*%ck,align 4
%cl=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@a,i64 0,i32 2,i64 0))
%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
%cr=load i8*,i8**%h,align 8
%cs=call fastcc i8*%co(i8*inreg%cq,i8*inreg%cr)
store i8*%cs,i8**%c,align 8
%ct=call i8*@sml_alloc(i32 inreg 20)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177296,i32*%cv,align 4
store i8*%ct,i8**%d,align 8
%cw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cx=bitcast i8*%ct to i8**
store i8*%cw,i8**%cx,align 8
%cy=load i8*,i8**%h,align 8
%cz=getelementptr inbounds i8,i8*%ct,i64 8
%cA=bitcast i8*%cz to i8**
store i8*%cy,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%ct,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**%f,align 8
%cG=bitcast i8*%cD to i64*
store i64 0,i64*%cG,align 4
%cH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cI=getelementptr inbounds i8,i8*%cD,i64 8
%cJ=bitcast i8*%cI to i8**
store i8*%cH,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cD,i64 16
%cL=bitcast i8*%cK to i32*
store i32 2,i32*%cL,align 4
%cM=call i8*@sml_alloc(i32 inreg 44)#0
%cN=getelementptr inbounds i8,i8*%cM,i64 -4
%cO=bitcast i8*%cN to i32*
store i32 1342177320,i32*%cO,align 4
store i8*%cM,i8**%d,align 8
%cP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cQ=bitcast i8*%cM to i8**
store i8*%cP,i8**%cQ,align 8
%cR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cS=getelementptr inbounds i8,i8*%cM,i64 8
%cT=bitcast i8*%cS to i8**
store i8*%cR,i8**%cT,align 8
%cU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cV=getelementptr inbounds i8,i8*%cM,i64 16
%cW=bitcast i8*%cV to i8**
store i8*%cU,i8**%cW,align 8
%cX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cY=getelementptr inbounds i8,i8*%cM,i64 24
%cZ=bitcast i8*%cY to i8**
store i8*%cX,i8**%cZ,align 8
%c0=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%c1=getelementptr inbounds i8,i8*%cM,i64 32
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cM,i64 40
%c4=bitcast i8*%c3 to i32*
store i32 31,i32*%c4,align 4
%c5=call i8*@sml_alloc(i32 inreg 20)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177296,i32*%c7,align 4
%c8=bitcast i8*%c5 to i64*
store i64 0,i64*%c8,align 4
%c9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%da=getelementptr inbounds i8,i8*%c5,i64 8
%db=bitcast i8*%da to i8**
store i8*%c9,i8**%db,align 8
%dc=getelementptr inbounds i8,i8*%c5,i64 16
%dd=bitcast i8*%dc to i32*
store i32 2,i32*%dd,align 4
store i8*%c5,i8**%c,align 8
br label%mg
de:
%df=getelementptr inbounds i8,i8*%P,i64 8
%dg=bitcast i8*%df to i8**
%dh=load i8*,i8**%dg,align 8
%di=bitcast i8*%dh to i8**
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%e,align 8
%dk=getelementptr inbounds i8,i8*%dh,i64 8
%dl=bitcast i8*%dk to i8**
%dm=load i8*,i8**%dl,align 8
store i8*%dm,i8**%f,align 8
%dn=getelementptr inbounds i8,i8*%dh,i64 16
%do=bitcast i8*%dn to i8**
%dp=load i8*,i8**%do,align 8
store i8*%dp,i8**%g,align 8
%dq=getelementptr inbounds i8,i8*%dh,i64 24
%dr=bitcast i8*%dq to i8**
%ds=load i8*,i8**%dr,align 8
store i8*%ds,i8**%h,align 8
%dt=getelementptr inbounds i8,i8*%dh,i64 32
%du=bitcast i8*%dt to i8**
%dv=load i8*,i8**%du,align 8
store i8*%dv,i8**%i,align 8
%dw=call fastcc i8*@_SMLFN6Symbol12mkLongsymbolE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@T,i64 0,i32 2)to i8*))
%dx=getelementptr inbounds i8,i8*%dw,i64 16
%dy=bitcast i8*%dx to i8*(i8*,i8*)**
%dz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dy,align 8
%dA=bitcast i8*%dw to i8**
%dB=load i8*,i8**%dA,align 8
%dC=load i8*,i8**%i,align 8
%dD=call fastcc i8*%dz(i8*inreg%dB,i8*inreg%dC)
store i8*%dD,i8**%c,align 8
%dE=call i8*@sml_alloc(i32 inreg 20)#0
%dF=getelementptr inbounds i8,i8*%dE,i64 -4
%dG=bitcast i8*%dF to i32*
store i32 1342177296,i32*%dG,align 4
%dH=load i8*,i8**%c,align 8
%dI=bitcast i8*%dE to i8**
store i8*%dH,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dE,i64 8
%dK=bitcast i8*%dJ to i8**
store i8*null,i8**%dK,align 8
%dL=getelementptr inbounds i8,i8*%dE,i64 16
%dM=bitcast i8*%dL to i32*
store i32 3,i32*%dM,align 4
store i8*null,i8**%d,align 8
%dN=call i8*@sml_alloc(i32 inreg 20)#0
%dO=getelementptr inbounds i8,i8*%dN,i64 -4
%dP=bitcast i8*%dO to i32*
store i32 1342177296,i32*%dP,align 4
store i8*%dN,i8**%j,align 8
%dQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dR=bitcast i8*%dN to i8**
store i8*%dQ,i8**%dR,align 8
%dS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dT=getelementptr inbounds i8,i8*%dN,i64 8
%dU=bitcast i8*%dT to i8**
store i8*%dS,i8**%dU,align 8
%dV=getelementptr inbounds i8,i8*%dN,i64 16
%dW=bitcast i8*%dV to i32*
store i32 3,i32*%dW,align 4
%dX=call i8*@sml_alloc(i32 inreg 20)#0
%dY=getelementptr inbounds i8,i8*%dX,i64 -4
%dZ=bitcast i8*%dY to i32*
store i32 1342177296,i32*%dZ,align 4
store i8*%dX,i8**%c,align 8
%d0=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%d1=bitcast i8*%dX to i8**
store i8*%d0,i8**%d1,align 8
%d2=load i8*,i8**%i,align 8
%d3=getelementptr inbounds i8,i8*%dX,i64 8
%d4=bitcast i8*%d3 to i8**
store i8*%d2,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dX,i64 16
%d6=bitcast i8*%d5 to i32*
store i32 3,i32*%d6,align 4
%d7=call i8*@sml_alloc(i32 inreg 20)#0
%d8=getelementptr inbounds i8,i8*%d7,i64 -4
%d9=bitcast i8*%d8 to i32*
store i32 1342177296,i32*%d9,align 4
store i8*%d7,i8**%d,align 8
%ea=getelementptr inbounds i8,i8*%d7,i64 4
%eb=bitcast i8*%ea to i32*
store i32 0,i32*%eb,align 1
%ec=bitcast i8*%d7 to i32*
store i32 8,i32*%ec,align 4
%ed=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ee=getelementptr inbounds i8,i8*%d7,i64 8
%ef=bitcast i8*%ee to i8**
store i8*%ed,i8**%ef,align 8
%eg=getelementptr inbounds i8,i8*%d7,i64 16
%eh=bitcast i8*%eg to i32*
store i32 2,i32*%eh,align 4
%ei=call i8*@sml_alloc(i32 inreg 20)#0
%ej=getelementptr inbounds i8,i8*%ei,i64 -4
%ek=bitcast i8*%ej to i32*
store i32 1342177296,i32*%ek,align 4
store i8*%ei,i8**%c,align 8
%el=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%em=bitcast i8*%ei to i8**
store i8*%el,i8**%em,align 8
%en=load i8*,i8**%i,align 8
%eo=getelementptr inbounds i8,i8*%ei,i64 8
%ep=bitcast i8*%eo to i8**
store i8*%en,i8**%ep,align 8
%eq=getelementptr inbounds i8,i8*%ei,i64 16
%er=bitcast i8*%eq to i32*
store i32 3,i32*%er,align 4
%es=call i8*@sml_alloc(i32 inreg 20)#0
%et=getelementptr inbounds i8,i8*%es,i64 -4
%eu=bitcast i8*%et to i32*
store i32 1342177296,i32*%eu,align 4
store i8*%es,i8**%d,align 8
%ev=bitcast i8*%es to i64*
store i64 0,i64*%ev,align 4
%ew=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ex=getelementptr inbounds i8,i8*%es,i64 8
%ey=bitcast i8*%ex to i8**
store i8*%ew,i8**%ey,align 8
%ez=getelementptr inbounds i8,i8*%es,i64 16
%eA=bitcast i8*%ez to i32*
store i32 2,i32*%eA,align 4
%eB=call i8*@sml_alloc(i32 inreg 20)#0
%eC=getelementptr inbounds i8,i8*%eB,i64 -4
%eD=bitcast i8*%eC to i32*
store i32 1342177296,i32*%eD,align 4
%eE=load i8*,i8**%d,align 8
%eF=bitcast i8*%eB to i8**
store i8*%eE,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%eB,i64 8
%eH=bitcast i8*%eG to i8**
store i8*null,i8**%eH,align 8
%eI=getelementptr inbounds i8,i8*%eB,i64 16
%eJ=bitcast i8*%eI to i32*
store i32 3,i32*%eJ,align 4
store i8*%eE,i8**%c,align 8
store i8*null,i8**%d,align 8
%eK=call i8*@sml_alloc(i32 inreg 20)#0
%eL=getelementptr inbounds i8,i8*%eK,i64 -4
%eM=bitcast i8*%eL to i32*
store i32 1342177296,i32*%eM,align 4
store i8*%eK,i8**%j,align 8
%eN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eO=bitcast i8*%eK to i8**
store i8*%eN,i8**%eO,align 8
%eP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eQ=getelementptr inbounds i8,i8*%eK,i64 8
%eR=bitcast i8*%eQ to i8**
store i8*%eP,i8**%eR,align 8
%eS=getelementptr inbounds i8,i8*%eK,i64 16
%eT=bitcast i8*%eS to i32*
store i32 3,i32*%eT,align 4
%eU=call i8*@sml_alloc(i32 inreg 28)#0
%eV=getelementptr inbounds i8,i8*%eU,i64 -4
%eW=bitcast i8*%eV to i32*
store i32 1342177304,i32*%eW,align 4
store i8*%eU,i8**%c,align 8
%eX=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eY=bitcast i8*%eU to i8**
store i8*%eX,i8**%eY,align 8
%eZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%e0=getelementptr inbounds i8,i8*%eU,i64 8
%e1=bitcast i8*%e0 to i8**
store i8*%eZ,i8**%e1,align 8
%e2=load i8*,i8**%i,align 8
%e3=getelementptr inbounds i8,i8*%eU,i64 16
%e4=bitcast i8*%e3 to i8**
store i8*%e2,i8**%e4,align 8
%e5=getelementptr inbounds i8,i8*%eU,i64 24
%e6=bitcast i8*%e5 to i32*
store i32 7,i32*%e6,align 4
%e7=call i8*@sml_alloc(i32 inreg 20)#0
%e8=getelementptr inbounds i8,i8*%e7,i64 -4
%e9=bitcast i8*%e8 to i32*
store i32 1342177296,i32*%e9,align 4
store i8*%e7,i8**%d,align 8
%fa=getelementptr inbounds i8,i8*%e7,i64 4
%fb=bitcast i8*%fa to i32*
store i32 0,i32*%fb,align 1
%fc=bitcast i8*%e7 to i32*
store i32 3,i32*%fc,align 4
%fd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fe=getelementptr inbounds i8,i8*%e7,i64 8
%ff=bitcast i8*%fe to i8**
store i8*%fd,i8**%ff,align 8
%fg=getelementptr inbounds i8,i8*%e7,i64 16
%fh=bitcast i8*%fg to i32*
store i32 2,i32*%fh,align 4
%fi=call i8*@sml_alloc(i32 inreg 28)#0
%fj=getelementptr inbounds i8,i8*%fi,i64 -4
%fk=bitcast i8*%fj to i32*
store i32 1342177304,i32*%fk,align 4
store i8*%fi,i8**%c,align 8
%fl=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fm=bitcast i8*%fi to i8**
store i8*%fl,i8**%fm,align 8
%fn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fo=getelementptr inbounds i8,i8*%fi,i64 8
%fp=bitcast i8*%fo to i8**
store i8*%fn,i8**%fp,align 8
%fq=load i8*,i8**%i,align 8
%fr=getelementptr inbounds i8,i8*%fi,i64 16
%fs=bitcast i8*%fr to i8**
store i8*%fq,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%fi,i64 24
%fu=bitcast i8*%ft to i32*
store i32 7,i32*%fu,align 4
%fv=call i8*@sml_alloc(i32 inreg 20)#0
%fw=getelementptr inbounds i8,i8*%fv,i64 -4
%fx=bitcast i8*%fw to i32*
store i32 1342177296,i32*%fx,align 4
store i8*%fv,i8**%g,align 8
%fy=getelementptr inbounds i8,i8*%fv,i64 4
%fz=bitcast i8*%fy to i32*
store i32 0,i32*%fz,align 1
%fA=bitcast i8*%fv to i32*
store i32 5,i32*%fA,align 4
%fB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fC=getelementptr inbounds i8,i8*%fv,i64 8
%fD=bitcast i8*%fC to i8**
store i8*%fB,i8**%fD,align 8
%fE=getelementptr inbounds i8,i8*%fv,i64 16
%fF=bitcast i8*%fE to i32*
store i32 2,i32*%fF,align 4
%fG=call i8*@sml_alloc(i32 inreg 20)#0
%fH=getelementptr inbounds i8,i8*%fG,i64 -4
%fI=bitcast i8*%fH to i32*
store i32 1342177296,i32*%fI,align 4
store i8*%fG,i8**%c,align 8
%fJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fK=bitcast i8*%fG to i8**
store i8*%fJ,i8**%fK,align 8
%fL=load i8*,i8**%i,align 8
%fM=getelementptr inbounds i8,i8*%fG,i64 8
%fN=bitcast i8*%fM to i8**
store i8*%fL,i8**%fN,align 8
%fO=getelementptr inbounds i8,i8*%fG,i64 16
%fP=bitcast i8*%fO to i32*
store i32 3,i32*%fP,align 4
%fQ=call i8*@sml_alloc(i32 inreg 20)#0
%fR=getelementptr inbounds i8,i8*%fQ,i64 -4
%fS=bitcast i8*%fR to i32*
store i32 1342177296,i32*%fS,align 4
store i8*%fQ,i8**%f,align 8
%fT=bitcast i8*%fQ to i64*
store i64 0,i64*%fT,align 4
%fU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fV=getelementptr inbounds i8,i8*%fQ,i64 8
%fW=bitcast i8*%fV to i8**
store i8*%fU,i8**%fW,align 8
%fX=getelementptr inbounds i8,i8*%fQ,i64 16
%fY=bitcast i8*%fX to i32*
store i32 2,i32*%fY,align 4
%fZ=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@a,i64 0,i32 2,i64 0))
%f0=getelementptr inbounds i8,i8*%fZ,i64 16
%f1=bitcast i8*%f0 to i8*(i8*,i8*)**
%f2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f1,align 8
%f3=bitcast i8*%fZ to i8**
%f4=load i8*,i8**%f3,align 8
%f5=load i8*,i8**%i,align 8
%f6=call fastcc i8*%f2(i8*inreg%f4,i8*inreg%f5)
store i8*%f6,i8**%c,align 8
%f7=call i8*@sml_alloc(i32 inreg 44)#0
%f8=getelementptr inbounds i8,i8*%f7,i64 -4
%f9=bitcast i8*%f8 to i32*
store i32 1342177320,i32*%f9,align 4
store i8*%f7,i8**%d,align 8
%ga=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gb=bitcast i8*%f7 to i8**
store i8*%ga,i8**%gb,align 8
%gc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gd=getelementptr inbounds i8,i8*%f7,i64 8
%ge=bitcast i8*%gd to i8**
store i8*%gc,i8**%ge,align 8
%gf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gg=getelementptr inbounds i8,i8*%f7,i64 16
%gh=bitcast i8*%gg to i8**
store i8*%gf,i8**%gh,align 8
%gi=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gj=getelementptr inbounds i8,i8*%f7,i64 24
%gk=bitcast i8*%gj to i8**
store i8*%gi,i8**%gk,align 8
%gl=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%gm=getelementptr inbounds i8,i8*%f7,i64 32
%gn=bitcast i8*%gm to i8**
store i8*%gl,i8**%gn,align 8
%go=getelementptr inbounds i8,i8*%f7,i64 40
%gp=bitcast i8*%go to i32*
store i32 31,i32*%gp,align 4
%gq=call i8*@sml_alloc(i32 inreg 20)#0
%gr=getelementptr inbounds i8,i8*%gq,i64 -4
%gs=bitcast i8*%gr to i32*
store i32 1342177296,i32*%gs,align 4
%gt=bitcast i8*%gq to i64*
store i64 0,i64*%gt,align 4
%gu=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gv=getelementptr inbounds i8,i8*%gq,i64 8
%gw=bitcast i8*%gv to i8**
store i8*%gu,i8**%gw,align 8
%gx=getelementptr inbounds i8,i8*%gq,i64 16
%gy=bitcast i8*%gx to i32*
store i32 2,i32*%gy,align 4
store i8*%gq,i8**%c,align 8
br label%mg
gz:
%gA=getelementptr inbounds i8,i8*%P,i64 8
%gB=bitcast i8*%gA to i8**
%gC=load i8*,i8**%gB,align 8
%gD=bitcast i8*%gC to i8**
%gE=load i8*,i8**%gD,align 8
store i8*%gE,i8**%e,align 8
%gF=getelementptr inbounds i8,i8*%gC,i64 8
%gG=bitcast i8*%gF to i8**
%gH=load i8*,i8**%gG,align 8
store i8*%gH,i8**%f,align 8
%gI=getelementptr inbounds i8,i8*%gC,i64 16
%gJ=bitcast i8*%gI to i8**
%gK=load i8*,i8**%gJ,align 8
store i8*%gK,i8**%g,align 8
%gL=getelementptr inbounds i8,i8*%gC,i64 24
%gM=bitcast i8*%gL to i8**
%gN=load i8*,i8**%gM,align 8
store i8*%gN,i8**%h,align 8
%gO=getelementptr inbounds i8,i8*%gC,i64 32
%gP=bitcast i8*%gO to i8**
%gQ=load i8*,i8**%gP,align 8
store i8*%gQ,i8**%i,align 8
%gR=call fastcc i8*@_SMLFN6Symbol12mkLongsymbolE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@T,i64 0,i32 2)to i8*))
%gS=getelementptr inbounds i8,i8*%gR,i64 16
%gT=bitcast i8*%gS to i8*(i8*,i8*)**
%gU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gT,align 8
%gV=bitcast i8*%gR to i8**
%gW=load i8*,i8**%gV,align 8
%gX=load i8*,i8**%i,align 8
%gY=call fastcc i8*%gU(i8*inreg%gW,i8*inreg%gX)
store i8*%gY,i8**%c,align 8
%gZ=call i8*@sml_alloc(i32 inreg 20)#0
%g0=getelementptr inbounds i8,i8*%gZ,i64 -4
%g1=bitcast i8*%g0 to i32*
store i32 1342177296,i32*%g1,align 4
%g2=load i8*,i8**%c,align 8
%g3=bitcast i8*%gZ to i8**
store i8*%g2,i8**%g3,align 8
%g4=getelementptr inbounds i8,i8*%gZ,i64 8
%g5=bitcast i8*%g4 to i8**
store i8*null,i8**%g5,align 8
%g6=getelementptr inbounds i8,i8*%gZ,i64 16
%g7=bitcast i8*%g6 to i32*
store i32 3,i32*%g7,align 4
store i8*null,i8**%d,align 8
%g8=call i8*@sml_alloc(i32 inreg 20)#0
%g9=getelementptr inbounds i8,i8*%g8,i64 -4
%ha=bitcast i8*%g9 to i32*
store i32 1342177296,i32*%ha,align 4
store i8*%g8,i8**%j,align 8
%hb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hc=bitcast i8*%g8 to i8**
store i8*%hb,i8**%hc,align 8
%hd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%he=getelementptr inbounds i8,i8*%g8,i64 8
%hf=bitcast i8*%he to i8**
store i8*%hd,i8**%hf,align 8
%hg=getelementptr inbounds i8,i8*%g8,i64 16
%hh=bitcast i8*%hg to i32*
store i32 3,i32*%hh,align 4
%hi=call i8*@sml_alloc(i32 inreg 20)#0
%hj=getelementptr inbounds i8,i8*%hi,i64 -4
%hk=bitcast i8*%hj to i32*
store i32 1342177296,i32*%hk,align 4
store i8*%hi,i8**%c,align 8
%hl=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hm=bitcast i8*%hi to i8**
store i8*%hl,i8**%hm,align 8
%hn=load i8*,i8**%i,align 8
%ho=getelementptr inbounds i8,i8*%hi,i64 8
%hp=bitcast i8*%ho to i8**
store i8*%hn,i8**%hp,align 8
%hq=getelementptr inbounds i8,i8*%hi,i64 16
%hr=bitcast i8*%hq to i32*
store i32 3,i32*%hr,align 4
%hs=call i8*@sml_alloc(i32 inreg 20)#0
%ht=getelementptr inbounds i8,i8*%hs,i64 -4
%hu=bitcast i8*%ht to i32*
store i32 1342177296,i32*%hu,align 4
store i8*%hs,i8**%d,align 8
%hv=getelementptr inbounds i8,i8*%hs,i64 4
%hw=bitcast i8*%hv to i32*
store i32 0,i32*%hw,align 1
%hx=bitcast i8*%hs to i32*
store i32 8,i32*%hx,align 4
%hy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hz=getelementptr inbounds i8,i8*%hs,i64 8
%hA=bitcast i8*%hz to i8**
store i8*%hy,i8**%hA,align 8
%hB=getelementptr inbounds i8,i8*%hs,i64 16
%hC=bitcast i8*%hB to i32*
store i32 2,i32*%hC,align 4
%hD=call i8*@sml_alloc(i32 inreg 20)#0
%hE=getelementptr inbounds i8,i8*%hD,i64 -4
%hF=bitcast i8*%hE to i32*
store i32 1342177296,i32*%hF,align 4
store i8*%hD,i8**%c,align 8
%hG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hH=bitcast i8*%hD to i8**
store i8*%hG,i8**%hH,align 8
%hI=load i8*,i8**%i,align 8
%hJ=getelementptr inbounds i8,i8*%hD,i64 8
%hK=bitcast i8*%hJ to i8**
store i8*%hI,i8**%hK,align 8
%hL=getelementptr inbounds i8,i8*%hD,i64 16
%hM=bitcast i8*%hL to i32*
store i32 3,i32*%hM,align 4
%hN=call i8*@sml_alloc(i32 inreg 20)#0
%hO=getelementptr inbounds i8,i8*%hN,i64 -4
%hP=bitcast i8*%hO to i32*
store i32 1342177296,i32*%hP,align 4
store i8*%hN,i8**%d,align 8
%hQ=bitcast i8*%hN to i64*
store i64 0,i64*%hQ,align 4
%hR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hS=getelementptr inbounds i8,i8*%hN,i64 8
%hT=bitcast i8*%hS to i8**
store i8*%hR,i8**%hT,align 8
%hU=getelementptr inbounds i8,i8*%hN,i64 16
%hV=bitcast i8*%hU to i32*
store i32 2,i32*%hV,align 4
%hW=call i8*@sml_alloc(i32 inreg 20)#0
%hX=getelementptr inbounds i8,i8*%hW,i64 -4
%hY=bitcast i8*%hX to i32*
store i32 1342177296,i32*%hY,align 4
%hZ=load i8*,i8**%d,align 8
%h0=bitcast i8*%hW to i8**
store i8*%hZ,i8**%h0,align 8
%h1=getelementptr inbounds i8,i8*%hW,i64 8
%h2=bitcast i8*%h1 to i8**
store i8*null,i8**%h2,align 8
%h3=getelementptr inbounds i8,i8*%hW,i64 16
%h4=bitcast i8*%h3 to i32*
store i32 3,i32*%h4,align 4
store i8*%hZ,i8**%c,align 8
store i8*null,i8**%d,align 8
%h5=call i8*@sml_alloc(i32 inreg 20)#0
%h6=getelementptr inbounds i8,i8*%h5,i64 -4
%h7=bitcast i8*%h6 to i32*
store i32 1342177296,i32*%h7,align 4
store i8*%h5,i8**%j,align 8
%h8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%h9=bitcast i8*%h5 to i8**
store i8*%h8,i8**%h9,align 8
%ia=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ib=getelementptr inbounds i8,i8*%h5,i64 8
%ic=bitcast i8*%ib to i8**
store i8*%ia,i8**%ic,align 8
%id=getelementptr inbounds i8,i8*%h5,i64 16
%ie=bitcast i8*%id to i32*
store i32 3,i32*%ie,align 4
%if=call i8*@sml_alloc(i32 inreg 28)#0
%ig=getelementptr inbounds i8,i8*%if,i64 -4
%ih=bitcast i8*%ig to i32*
store i32 1342177304,i32*%ih,align 4
store i8*%if,i8**%c,align 8
%ii=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ij=bitcast i8*%if to i8**
store i8*%ii,i8**%ij,align 8
%ik=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%il=getelementptr inbounds i8,i8*%if,i64 8
%im=bitcast i8*%il to i8**
store i8*%ik,i8**%im,align 8
%in=load i8*,i8**%i,align 8
%io=getelementptr inbounds i8,i8*%if,i64 16
%ip=bitcast i8*%io to i8**
store i8*%in,i8**%ip,align 8
%iq=getelementptr inbounds i8,i8*%if,i64 24
%ir=bitcast i8*%iq to i32*
store i32 7,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
store i8*%is,i8**%d,align 8
%iv=getelementptr inbounds i8,i8*%is,i64 4
%iw=bitcast i8*%iv to i32*
store i32 0,i32*%iw,align 1
%ix=bitcast i8*%is to i32*
store i32 4,i32*%ix,align 4
%iy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iz=getelementptr inbounds i8,i8*%is,i64 8
%iA=bitcast i8*%iz to i8**
store i8*%iy,i8**%iA,align 8
%iB=getelementptr inbounds i8,i8*%is,i64 16
%iC=bitcast i8*%iB to i32*
store i32 2,i32*%iC,align 4
%iD=call i8*@sml_alloc(i32 inreg 28)#0
%iE=getelementptr inbounds i8,i8*%iD,i64 -4
%iF=bitcast i8*%iE to i32*
store i32 1342177304,i32*%iF,align 4
store i8*%iD,i8**%c,align 8
%iG=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%iH=bitcast i8*%iD to i8**
store i8*%iG,i8**%iH,align 8
%iI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%iJ=getelementptr inbounds i8,i8*%iD,i64 8
%iK=bitcast i8*%iJ to i8**
store i8*%iI,i8**%iK,align 8
%iL=load i8*,i8**%i,align 8
%iM=getelementptr inbounds i8,i8*%iD,i64 16
%iN=bitcast i8*%iM to i8**
store i8*%iL,i8**%iN,align 8
%iO=getelementptr inbounds i8,i8*%iD,i64 24
%iP=bitcast i8*%iO to i32*
store i32 7,i32*%iP,align 4
%iQ=call i8*@sml_alloc(i32 inreg 20)#0
%iR=getelementptr inbounds i8,i8*%iQ,i64 -4
%iS=bitcast i8*%iR to i32*
store i32 1342177296,i32*%iS,align 4
store i8*%iQ,i8**%g,align 8
%iT=getelementptr inbounds i8,i8*%iQ,i64 4
%iU=bitcast i8*%iT to i32*
store i32 0,i32*%iU,align 1
%iV=bitcast i8*%iQ to i32*
store i32 5,i32*%iV,align 4
%iW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iX=getelementptr inbounds i8,i8*%iQ,i64 8
%iY=bitcast i8*%iX to i8**
store i8*%iW,i8**%iY,align 8
%iZ=getelementptr inbounds i8,i8*%iQ,i64 16
%i0=bitcast i8*%iZ to i32*
store i32 2,i32*%i0,align 4
%i1=call i8*@sml_alloc(i32 inreg 20)#0
%i2=getelementptr inbounds i8,i8*%i1,i64 -4
%i3=bitcast i8*%i2 to i32*
store i32 1342177296,i32*%i3,align 4
store i8*%i1,i8**%c,align 8
%i4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%i5=bitcast i8*%i1 to i8**
store i8*%i4,i8**%i5,align 8
%i6=load i8*,i8**%i,align 8
%i7=getelementptr inbounds i8,i8*%i1,i64 8
%i8=bitcast i8*%i7 to i8**
store i8*%i6,i8**%i8,align 8
%i9=getelementptr inbounds i8,i8*%i1,i64 16
%ja=bitcast i8*%i9 to i32*
store i32 3,i32*%ja,align 4
%jb=call i8*@sml_alloc(i32 inreg 20)#0
%jc=getelementptr inbounds i8,i8*%jb,i64 -4
%jd=bitcast i8*%jc to i32*
store i32 1342177296,i32*%jd,align 4
store i8*%jb,i8**%f,align 8
%je=bitcast i8*%jb to i64*
store i64 0,i64*%je,align 4
%jf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jg=getelementptr inbounds i8,i8*%jb,i64 8
%jh=bitcast i8*%jg to i8**
store i8*%jf,i8**%jh,align 8
%ji=getelementptr inbounds i8,i8*%jb,i64 16
%jj=bitcast i8*%ji to i32*
store i32 2,i32*%jj,align 4
%jk=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@a,i64 0,i32 2,i64 0))
%jl=getelementptr inbounds i8,i8*%jk,i64 16
%jm=bitcast i8*%jl to i8*(i8*,i8*)**
%jn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jm,align 8
%jo=bitcast i8*%jk to i8**
%jp=load i8*,i8**%jo,align 8
%jq=load i8*,i8**%i,align 8
%jr=call fastcc i8*%jn(i8*inreg%jp,i8*inreg%jq)
store i8*%jr,i8**%c,align 8
%js=call i8*@sml_alloc(i32 inreg 44)#0
%jt=getelementptr inbounds i8,i8*%js,i64 -4
%ju=bitcast i8*%jt to i32*
store i32 1342177320,i32*%ju,align 4
store i8*%js,i8**%d,align 8
%jv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jw=bitcast i8*%js to i8**
store i8*%jv,i8**%jw,align 8
%jx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jy=getelementptr inbounds i8,i8*%js,i64 8
%jz=bitcast i8*%jy to i8**
store i8*%jx,i8**%jz,align 8
%jA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jB=getelementptr inbounds i8,i8*%js,i64 16
%jC=bitcast i8*%jB to i8**
store i8*%jA,i8**%jC,align 8
%jD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jE=getelementptr inbounds i8,i8*%js,i64 24
%jF=bitcast i8*%jE to i8**
store i8*%jD,i8**%jF,align 8
%jG=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%jH=getelementptr inbounds i8,i8*%js,i64 32
%jI=bitcast i8*%jH to i8**
store i8*%jG,i8**%jI,align 8
%jJ=getelementptr inbounds i8,i8*%js,i64 40
%jK=bitcast i8*%jJ to i32*
store i32 31,i32*%jK,align 4
%jL=call i8*@sml_alloc(i32 inreg 20)#0
%jM=getelementptr inbounds i8,i8*%jL,i64 -4
%jN=bitcast i8*%jM to i32*
store i32 1342177296,i32*%jN,align 4
%jO=bitcast i8*%jL to i64*
store i64 0,i64*%jO,align 4
%jP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jQ=getelementptr inbounds i8,i8*%jL,i64 8
%jR=bitcast i8*%jQ to i8**
store i8*%jP,i8**%jR,align 8
%jS=getelementptr inbounds i8,i8*%jL,i64 16
%jT=bitcast i8*%jS to i32*
store i32 2,i32*%jT,align 4
store i8*%jL,i8**%c,align 8
br label%mg
jU:
%jV=getelementptr inbounds i8,i8*%P,i64 8
%jW=bitcast i8*%jV to i8**
%jX=load i8*,i8**%jW,align 8
%jY=bitcast i8*%jX to i8**
%jZ=load i8*,i8**%jY,align 8
store i8*%jZ,i8**%c,align 8
%j0=getelementptr inbounds i8,i8*%jX,i64 8
%j1=bitcast i8*%j0 to i8**
%j2=load i8*,i8**%j1,align 8
store i8*%j2,i8**%d,align 8
%j3=getelementptr inbounds i8,i8*%jX,i64 16
%j4=bitcast i8*%j3 to i8**
%j5=load i8*,i8**%j4,align 8
store i8*%j5,i8**%e,align 8
%j6=getelementptr inbounds i8,i8*%jX,i64 24
%j7=bitcast i8*%j6 to i8**
%j8=load i8*,i8**%j7,align 8
store i8*%j8,i8**%f,align 8
%j9=getelementptr inbounds i8,i8*%jX,i64 32
%ka=bitcast i8*%j9 to i8**
%kb=load i8*,i8**%ka,align 8
store i8*%kb,i8**%g,align 8
%kc=getelementptr inbounds i8,i8*%jX,i64 40
%kd=bitcast i8*%kc to i8**
%ke=load i8*,i8**%kd,align 8
store i8*%ke,i8**%h,align 8
%kf=call i8*@sml_alloc(i32 inreg 28)#0
%kg=getelementptr inbounds i8,i8*%kf,i64 -4
%kh=bitcast i8*%kg to i32*
store i32 1342177304,i32*%kh,align 4
store i8*%kf,i8**%i,align 8
%ki=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kj=bitcast i8*%kf to i8**
store i8*%ki,i8**%kj,align 8
%kk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kl=getelementptr inbounds i8,i8*%kf,i64 8
%km=bitcast i8*%kl to i8**
store i8*%kk,i8**%km,align 8
%kn=load i8*,i8**%h,align 8
%ko=getelementptr inbounds i8,i8*%kf,i64 16
%kp=bitcast i8*%ko to i8**
store i8*%kn,i8**%kp,align 8
%kq=getelementptr inbounds i8,i8*%kf,i64 24
%kr=bitcast i8*%kq to i32*
store i32 7,i32*%kr,align 4
%ks=call i8*@sml_alloc(i32 inreg 20)#0
%kt=getelementptr inbounds i8,i8*%ks,i64 -4
%ku=bitcast i8*%kt to i32*
store i32 1342177296,i32*%ku,align 4
store i8*%ks,i8**%g,align 8
%kv=getelementptr inbounds i8,i8*%ks,i64 4
%kw=bitcast i8*%kv to i32*
store i32 0,i32*%kw,align 1
%kx=bitcast i8*%ks to i32*
store i32 3,i32*%kx,align 4
%ky=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%kz=getelementptr inbounds i8,i8*%ks,i64 8
%kA=bitcast i8*%kz to i8**
store i8*%ky,i8**%kA,align 8
%kB=getelementptr inbounds i8,i8*%ks,i64 16
%kC=bitcast i8*%kB to i32*
store i32 2,i32*%kC,align 4
%kD=call i8*@sml_alloc(i32 inreg 44)#0
%kE=getelementptr inbounds i8,i8*%kD,i64 -4
%kF=bitcast i8*%kE to i32*
store i32 1342177320,i32*%kF,align 4
store i8*%kD,i8**%f,align 8
%kG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kH=bitcast i8*%kD to i8**
store i8*%kG,i8**%kH,align 8
%kI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kJ=getelementptr inbounds i8,i8*%kD,i64 8
%kK=bitcast i8*%kJ to i8**
store i8*%kI,i8**%kK,align 8
%kL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kM=getelementptr inbounds i8,i8*%kD,i64 16
%kN=bitcast i8*%kM to i8**
store i8*%kL,i8**%kN,align 8
%kO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kP=getelementptr inbounds i8,i8*%kD,i64 24
%kQ=bitcast i8*%kP to i8**
store i8*%kO,i8**%kQ,align 8
%kR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kS=getelementptr inbounds i8,i8*%kD,i64 32
%kT=bitcast i8*%kS to i8**
store i8*%kR,i8**%kT,align 8
%kU=getelementptr inbounds i8,i8*%kD,i64 40
%kV=bitcast i8*%kU to i32*
store i32 31,i32*%kV,align 4
%kW=call i8*@sml_alloc(i32 inreg 20)#0
%kX=getelementptr inbounds i8,i8*%kW,i64 -4
%kY=bitcast i8*%kX to i32*
store i32 1342177296,i32*%kY,align 4
%kZ=bitcast i8*%kW to i64*
store i64 0,i64*%kZ,align 4
%k0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%k1=getelementptr inbounds i8,i8*%kW,i64 8
%k2=bitcast i8*%k1 to i8**
store i8*%k0,i8**%k2,align 8
%k3=getelementptr inbounds i8,i8*%kW,i64 16
%k4=bitcast i8*%k3 to i32*
store i32 2,i32*%k4,align 4
store i8*%kW,i8**%c,align 8
br label%mg
k5:
%k6=getelementptr inbounds i8,i8*%P,i64 8
%k7=bitcast i8*%k6 to i8**
%k8=load i8*,i8**%k7,align 8
%k9=bitcast i8*%k8 to i8**
%la=load i8*,i8**%k9,align 8
store i8*%la,i8**%c,align 8
%lb=getelementptr inbounds i8,i8*%k8,i64 8
%lc=bitcast i8*%lb to i8**
%ld=load i8*,i8**%lc,align 8
store i8*%ld,i8**%d,align 8
%le=getelementptr inbounds i8,i8*%k8,i64 16
%lf=bitcast i8*%le to i8**
%lg=load i8*,i8**%lf,align 8
store i8*%lg,i8**%e,align 8
%lh=getelementptr inbounds i8,i8*%k8,i64 24
%li=bitcast i8*%lh to i8**
%lj=load i8*,i8**%li,align 8
store i8*%lj,i8**%f,align 8
%lk=getelementptr inbounds i8,i8*%k8,i64 32
%ll=bitcast i8*%lk to i8**
%lm=load i8*,i8**%ll,align 8
store i8*%lm,i8**%g,align 8
%ln=getelementptr inbounds i8,i8*%k8,i64 40
%lo=bitcast i8*%ln to i8**
%lp=load i8*,i8**%lo,align 8
store i8*%lp,i8**%h,align 8
%lq=call i8*@sml_alloc(i32 inreg 28)#0
%lr=getelementptr inbounds i8,i8*%lq,i64 -4
%ls=bitcast i8*%lr to i32*
store i32 1342177304,i32*%ls,align 4
store i8*%lq,i8**%i,align 8
%lt=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lu=bitcast i8*%lq to i8**
store i8*%lt,i8**%lu,align 8
%lv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lw=getelementptr inbounds i8,i8*%lq,i64 8
%lx=bitcast i8*%lw to i8**
store i8*%lv,i8**%lx,align 8
%ly=load i8*,i8**%h,align 8
%lz=getelementptr inbounds i8,i8*%lq,i64 16
%lA=bitcast i8*%lz to i8**
store i8*%ly,i8**%lA,align 8
%lB=getelementptr inbounds i8,i8*%lq,i64 24
%lC=bitcast i8*%lB to i32*
store i32 7,i32*%lC,align 4
%lD=call i8*@sml_alloc(i32 inreg 20)#0
%lE=getelementptr inbounds i8,i8*%lD,i64 -4
%lF=bitcast i8*%lE to i32*
store i32 1342177296,i32*%lF,align 4
store i8*%lD,i8**%g,align 8
%lG=getelementptr inbounds i8,i8*%lD,i64 4
%lH=bitcast i8*%lG to i32*
store i32 0,i32*%lH,align 1
%lI=bitcast i8*%lD to i32*
store i32 4,i32*%lI,align 4
%lJ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%lK=getelementptr inbounds i8,i8*%lD,i64 8
%lL=bitcast i8*%lK to i8**
store i8*%lJ,i8**%lL,align 8
%lM=getelementptr inbounds i8,i8*%lD,i64 16
%lN=bitcast i8*%lM to i32*
store i32 2,i32*%lN,align 4
%lO=call i8*@sml_alloc(i32 inreg 44)#0
%lP=getelementptr inbounds i8,i8*%lO,i64 -4
%lQ=bitcast i8*%lP to i32*
store i32 1342177320,i32*%lQ,align 4
store i8*%lO,i8**%f,align 8
%lR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lS=bitcast i8*%lO to i8**
store i8*%lR,i8**%lS,align 8
%lT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%lU=getelementptr inbounds i8,i8*%lO,i64 8
%lV=bitcast i8*%lU to i8**
store i8*%lT,i8**%lV,align 8
%lW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lX=getelementptr inbounds i8,i8*%lO,i64 16
%lY=bitcast i8*%lX to i8**
store i8*%lW,i8**%lY,align 8
%lZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%l0=getelementptr inbounds i8,i8*%lO,i64 24
%l1=bitcast i8*%l0 to i8**
store i8*%lZ,i8**%l1,align 8
%l2=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%l3=getelementptr inbounds i8,i8*%lO,i64 32
%l4=bitcast i8*%l3 to i8**
store i8*%l2,i8**%l4,align 8
%l5=getelementptr inbounds i8,i8*%lO,i64 40
%l6=bitcast i8*%l5 to i32*
store i32 31,i32*%l6,align 4
%l7=call i8*@sml_alloc(i32 inreg 20)#0
%l8=getelementptr inbounds i8,i8*%l7,i64 -4
%l9=bitcast i8*%l8 to i32*
store i32 1342177296,i32*%l9,align 4
%ma=bitcast i8*%l7 to i64*
store i64 0,i64*%ma,align 4
%mb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mc=getelementptr inbounds i8,i8*%l7,i64 8
%md=bitcast i8*%mc to i8**
store i8*%mb,i8**%md,align 8
%me=getelementptr inbounds i8,i8*%l7,i64 16
%mf=bitcast i8*%me to i32*
store i32 2,i32*%mf,align 4
store i8*%l7,i8**%c,align 8
br label%mg
mg:
%mh=phi i8*[%c5,%ak],[%gq,%de],[%jL,%gz],[%kW,%jU],[%l7,%k5]
br label%I
mi:
%mj=getelementptr inbounds i8,i8*%P,i64 8
%mk=bitcast i8*%mj to i8**
%ml=load i8*,i8**%mk,align 8
store i8*%ml,i8**%d,align 8
%mm=bitcast i8*%ml to i8**
%mn=load i8*,i8**%mm,align 8
store i8*%mn,i8**%e,align 8
%mo=getelementptr inbounds i8,i8*%ml,i64 8
%mp=bitcast i8*%mo to i8**
%mq=load i8*,i8**%mp,align 8
store i8*%mq,i8**%f,align 8
%mr=getelementptr inbounds i8,i8*%ml,i64 32
%ms=bitcast i8*%mr to i8**
%mt=load i8*,i8**%ms,align 8
store i8*%mt,i8**%g,align 8
%mu=getelementptr inbounds i8,i8*%ml,i64 16
%mv=bitcast i8*%mu to i8**
%mw=load i8*,i8**%mv,align 8
%mx=call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%mw)
store i8*%mx,i8**%c,align 8
%my=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%mz=getelementptr inbounds i8,i8*%my,i64 24
%mA=bitcast i8*%mz to i8**
%mB=load i8*,i8**%mA,align 8
%mC=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%mD=call fastcc i8*@_SMLLN15ElaborateModule10elabStrExpE_241(i8*inreg%mC,i8*inreg%mB)
store i8*%mD,i8**%d,align 8
%mE=call i8*@sml_alloc(i32 inreg 44)#0
%mF=getelementptr inbounds i8,i8*%mE,i64 -4
%mG=bitcast i8*%mF to i32*
store i32 1342177320,i32*%mG,align 4
%mH=load i8*,i8**%c,align 8
%mI=bitcast i8*%mE to i8**
store i8*%mH,i8**%mI,align 8
%mJ=load i8*,i8**%f,align 8
%mK=getelementptr inbounds i8,i8*%mE,i64 8
%mL=bitcast i8*%mK to i8**
store i8*%mJ,i8**%mL,align 8
%mM=load i8*,i8**%d,align 8
%mN=getelementptr inbounds i8,i8*%mE,i64 16
%mO=bitcast i8*%mN to i8**
store i8*%mM,i8**%mO,align 8
%mP=load i8*,i8**%g,align 8
%mQ=getelementptr inbounds i8,i8*%mE,i64 24
%mR=bitcast i8*%mQ to i8**
store i8*%mP,i8**%mR,align 8
%mS=load i8*,i8**%e,align 8
%mT=getelementptr inbounds i8,i8*%mE,i64 32
%mU=bitcast i8*%mT to i8**
store i8*%mS,i8**%mU,align 8
%mV=getelementptr inbounds i8,i8*%mE,i64 40
%mW=bitcast i8*%mV to i32*
store i32 31,i32*%mW,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%B)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%C)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%F)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%G)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
ret i8*%mE
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabTopDecE_289(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 2,label%c0
i32 1,label%bE
i32 0,label%I
]
q:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%r=load i8*,i8**@_SMLZ5Match,align 8
store i8*%r,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@W,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 60)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177336,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 56
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
I:
%J=getelementptr inbounds i8,i8*%m,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%L,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%d,align 8
%P=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%g,align 8
%V=bitcast i8**%f to i8***
%W=load i8**,i8***%V,align 8
store i8*null,i8**%f,align 8
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%e,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**%f,align 8
%ab=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%f,align 8
store i8*null,i8**%f,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*)*@_SMLL10plfunbinds_287 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*)*@_SMLL10plfunbinds_287 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 24
%ap=bitcast i8*%ao to i32*
store i32 -2147483647,i32*%ap,align 4
%aq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ar=call fastcc i8*%S(i8*inreg%aq,i8*inreg%af)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=bitcast i8**%c to i8***
%ay=load i8**,i8***%ax,align 8
store i8*null,i8**%c,align 8
%az=load i8*,i8**%ay,align 8
%aA=call fastcc i8*%au(i8*inreg%aw,i8*inreg%az)
store i8*%aA,i8**%c,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
store i8*%aB,i8**%e,align 8
%aE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=getelementptr inbounds i8,i8*%aB,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aB,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
store i8*%aL,i8**%c,align 8
%aO=bitcast i8*%aL to i64*
store i64 0,i64*%aO,align 4
%aP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aQ=getelementptr inbounds i8,i8*%aL,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aL,i64 16
%aT=bitcast i8*%aS to i32*
store i32 2,i32*%aT,align 4
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
store i8*%aU,i8**%d,align 8
%aX=load i8*,i8**%c,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aU,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*null,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 16
%a2=bitcast i8*%a1 to i32*
store i32 3,i32*%a2,align 4
%a3=load i8*,i8**@_SMLZN9SymbolEnv5emptyE,align 8
store i8*%a3,i8**%c,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
%a7=load i8*,i8**%d,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=load i8*,i8**%c,align 8
%ba=getelementptr inbounds i8,i8*%a4,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a4,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
store i8*%a7,i8**%c,align 8
%be=getelementptr inbounds i8,i8*%a9,i64 16
%bf=bitcast i8*%be to i8*(i8*,i8*,i8*)**
%bg=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%bf,align 8
%bh=bitcast i8*%a9 to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%d,align 8
%bj=call i8*@sml_alloc(i32 inreg 4)#0
%bk=bitcast i8*%bj to i32*
%bl=getelementptr inbounds i8,i8*%bj,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 4,i32*%bm,align 4
store i8*%bj,i8**%e,align 8
store i32 1,i32*%bk,align 4
%bn=call i8*@sml_alloc(i32 inreg 4)#0
%bo=bitcast i8*%bn to i32*
%bp=getelementptr inbounds i8,i8*%bn,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 4,i32*%bq,align 4
store i32 8,i32*%bo,align 4
%br=load i8*,i8**%d,align 8
%bs=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%bt=call fastcc i8*%bg(i8*inreg%br,i8*inreg%bs,i8*inreg%bn)
store i8*%bt,i8**%d,align 8
%bu=call i8*@sml_alloc(i32 inreg 20)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177296,i32*%bw,align 4
%bx=load i8*,i8**%c,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%d,align 8
%bA=getelementptr inbounds i8,i8*%bu,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bu,i64 16
%bD=bitcast i8*%bC to i32*
store i32 3,i32*%bD,align 4
ret i8*%bu
bE:
store i8*null,i8**%f,align 8
%bF=getelementptr inbounds i8,i8*%m,i64 8
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
store i8*%bH,i8**%c,align 8
%bI=getelementptr inbounds i8,i8*%bH,i64 8
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%d,align 8
%bL=call fastcc i8*@_SMLLN15ElaborateModule9elabBindsE_108(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@V,i64 0,i32 2)to i8*))
%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=bitcast i8**%c to i8***
%bS=load i8**,i8***%bR,align 8
store i8*null,i8**%c,align 8
%bT=load i8*,i8**%bS,align 8
%bU=call fastcc i8*%bO(i8*inreg%bQ,i8*inreg%bT)
store i8*%bU,i8**%c,align 8
%bV=call i8*@sml_alloc(i32 inreg 20)#0
%bW=getelementptr inbounds i8,i8*%bV,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177296,i32*%bX,align 4
store i8*%bV,i8**%e,align 8
%bY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bZ=bitcast i8*%bV to i8**
store i8*%bY,i8**%bZ,align 8
%b0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b1=getelementptr inbounds i8,i8*%bV,i64 8
%b2=bitcast i8*%b1 to i8**
store i8*%b0,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bV,i64 16
%b4=bitcast i8*%b3 to i32*
store i32 3,i32*%b4,align 4
%b5=call i8*@sml_alloc(i32 inreg 20)#0
%b6=getelementptr inbounds i8,i8*%b5,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32 1342177296,i32*%b7,align 4
store i8*%b5,i8**%c,align 8
%b8=getelementptr inbounds i8,i8*%b5,i64 4
%b9=bitcast i8*%b8 to i32*
store i32 0,i32*%b9,align 1
%ca=bitcast i8*%b5 to i32*
store i32 1,i32*%ca,align 4
%cb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cc=getelementptr inbounds i8,i8*%b5,i64 8
%cd=bitcast i8*%cc to i8**
store i8*%cb,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b5,i64 16
%cf=bitcast i8*%ce to i32*
store i32 2,i32*%cf,align 4
%cg=call i8*@sml_alloc(i32 inreg 20)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177296,i32*%ci,align 4
store i8*%cg,i8**%d,align 8
%cj=load i8*,i8**%c,align 8
%ck=bitcast i8*%cg to i8**
store i8*%cj,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cg,i64 8
%cm=bitcast i8*%cl to i8**
store i8*null,i8**%cm,align 8
%cn=getelementptr inbounds i8,i8*%cg,i64 16
%co=bitcast i8*%cn to i32*
store i32 3,i32*%co,align 4
%cp=load i8*,i8**@_SMLZN9SymbolEnv5emptyE,align 8
store i8*%cp,i8**%c,align 8
%cq=call i8*@sml_alloc(i32 inreg 20)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
%ct=load i8*,i8**%d,align 8
%cu=bitcast i8*%cq to i8**
store i8*%ct,i8**%cu,align 8
%cv=load i8*,i8**%c,align 8
%cw=getelementptr inbounds i8,i8*%cq,i64 8
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cq,i64 16
%cz=bitcast i8*%cy to i32*
store i32 3,i32*%cz,align 4
store i8*%ct,i8**%c,align 8
%cA=getelementptr inbounds i8,i8*%cv,i64 16
%cB=bitcast i8*%cA to i8*(i8*,i8*,i8*)**
%cC=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%cB,align 8
%cD=bitcast i8*%cv to i8**
%cE=load i8*,i8**%cD,align 8
store i8*%cE,i8**%d,align 8
%cF=call i8*@sml_alloc(i32 inreg 4)#0
%cG=bitcast i8*%cF to i32*
%cH=getelementptr inbounds i8,i8*%cF,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 4,i32*%cI,align 4
store i8*%cF,i8**%e,align 8
store i32 1,i32*%cG,align 4
%cJ=call i8*@sml_alloc(i32 inreg 4)#0
%cK=bitcast i8*%cJ to i32*
%cL=getelementptr inbounds i8,i8*%cJ,i64 -4
%cM=bitcast i8*%cL to i32*
store i32 4,i32*%cM,align 4
store i32 8,i32*%cK,align 4
%cN=load i8*,i8**%d,align 8
%cO=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%cP=call fastcc i8*%cC(i8*inreg%cN,i8*inreg%cO,i8*inreg%cJ)
store i8*%cP,i8**%d,align 8
%cQ=call i8*@sml_alloc(i32 inreg 20)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177296,i32*%cS,align 4
%cT=load i8*,i8**%c,align 8
%cU=bitcast i8*%cQ to i8**
store i8*%cT,i8**%cU,align 8
%cV=load i8*,i8**%d,align 8
%cW=getelementptr inbounds i8,i8*%cQ,i64 8
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cQ,i64 16
%cZ=bitcast i8*%cY to i32*
store i32 3,i32*%cZ,align 4
ret i8*%cQ
c0:
%c1=getelementptr inbounds i8,i8*%m,i64 8
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
%c4=getelementptr inbounds i8,i8*%c3,i64 8
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%e,align 8
%c7=bitcast i8**%f to i8***
%c8=load i8**,i8***%c7,align 8
store i8*null,i8**%f,align 8
%c9=load i8*,i8**%c8,align 8
%da=bitcast i8*%c3 to i8**
%db=load i8*,i8**%da,align 8
%dc=call fastcc i8*@_SMLLN15ElaborateModule10elabStrDecE_243(i8*inreg%c9,i8*inreg%db)
store i8*%dc,i8**%d,align 8
%dd=getelementptr inbounds i8,i8*%dc,i64 8
%de=bitcast i8*%dd to i8**
%df=load i8*,i8**%de,align 8
store i8*%df,i8**%c,align 8
%dg=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dh=getelementptr inbounds i8,i8*%dg,i64 16
%di=bitcast i8*%dh to i8*(i8*,i8*)**
%dj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%di,align 8
%dk=bitcast i8*%dg to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%f,align 8
%dm=call i8*@sml_alloc(i32 inreg 12)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177288,i32*%do,align 4
store i8*%dm,i8**%g,align 8
%dp=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dq=bitcast i8*%dm to i8**
store i8*%dp,i8**%dq,align 8
%dr=getelementptr inbounds i8,i8*%dm,i64 8
%ds=bitcast i8*%dr to i32*
store i32 1,i32*%ds,align 4
%dt=call i8*@sml_alloc(i32 inreg 28)#0
%du=getelementptr inbounds i8,i8*%dt,i64 -4
%dv=bitcast i8*%du to i32*
store i32 1342177304,i32*%dv,align 4
%dw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dx=bitcast i8*%dt to i8**
store i8*%dw,i8**%dx,align 8
%dy=getelementptr inbounds i8,i8*%dt,i64 8
%dz=bitcast i8*%dy to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabTopDecE_284 to void(...)*),void(...)**%dz,align 8
%dA=getelementptr inbounds i8,i8*%dt,i64 16
%dB=bitcast i8*%dA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN15ElaborateModule10elabTopDecE_284 to void(...)*),void(...)**%dB,align 8
%dC=getelementptr inbounds i8,i8*%dt,i64 24
%dD=bitcast i8*%dC to i32*
store i32 -2147483647,i32*%dD,align 4
%dE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dF=call fastcc i8*%dj(i8*inreg%dE,i8*inreg%dt)
%dG=getelementptr inbounds i8,i8*%dF,i64 16
%dH=bitcast i8*%dG to i8*(i8*,i8*)**
%dI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dH,align 8
%dJ=bitcast i8*%dF to i8**
%dK=load i8*,i8**%dJ,align 8
%dL=bitcast i8**%d to i8***
%dM=load i8**,i8***%dL,align 8
store i8*null,i8**%d,align 8
%dN=load i8*,i8**%dM,align 8
%dO=call fastcc i8*%dI(i8*inreg%dK,i8*inreg%dN)
store i8*%dO,i8**%d,align 8
%dP=call i8*@sml_alloc(i32 inreg 20)#0
%dQ=getelementptr inbounds i8,i8*%dP,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177296,i32*%dR,align 4
%dS=load i8*,i8**%d,align 8
%dT=bitcast i8*%dP to i8**
store i8*%dS,i8**%dT,align 8
%dU=load i8*,i8**%c,align 8
%dV=getelementptr inbounds i8,i8*%dP,i64 8
%dW=bitcast i8*%dV to i8**
store i8*%dU,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dP,i64 16
%dY=bitcast i8*%dX to i32*
store i32 3,i32*%dY,align 4
ret i8*%dP
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabTopDecE_290(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*)*@_SMLLN15ElaborateModule10elabTopDecE_289 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*)*@_SMLLN15ElaborateModule10elabTopDecE_289 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define fastcc i8*@_SMLFN15ElaborateModule10elabSigExpE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_117(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN15ElaborateModule11elabTopDecsE_294(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN15ElaborateModule12elabSequenceE_96(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@X,i64 0,i32 2)to i8*),i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define fastcc i8*@_SMLFN15ElaborateModule11elabTopDecsE(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*)*@_SMLLN15ElaborateModule11elabTopDecsE_294 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*)*@_SMLLN15ElaborateModule11elabTopDecsE_294 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*@_SMLL3env_297(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule12elabSequenceE_298(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_302(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_303(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_183(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_304(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN15ElaborateModule8elabSpecE_185(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_305(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_306(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_191(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_307(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_308(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_196(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_309(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_310(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_202(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_311(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_312(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_207(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL5check_313(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL5check_314(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5check_212(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL5check_315(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL5check_214(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLL5check_316(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL5check_216(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_317(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_218(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_318(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_220(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_319(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_320(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_225(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_321(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN15ElaborateModule8elabSpecE_227(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLL8exnDescs_322(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL8exnDescs_229(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_323(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_324(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_234(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_325(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule8elabSpecE_236(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL6newenv_328(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_329(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule11elabStrDecsE_266(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabStrDecE_330(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL9plsigdecs_336(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL9plsigdecs_285(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabTopDecE_337(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN15ElaborateModule10elabTopDecE_290(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule10elabSigExpE_338(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN15ElaborateModule10elabSigExpE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN15ElaborateModule11elabTopDecsE_339(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN15ElaborateModule11elabTopDecsE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
