@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN13ElaborateCore27checkReservedNameForValBindE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError17DerivedFormFunArgE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError21SigIDFoundInInterfaceE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError24MultipleInfixInInterfaceE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError27DuplicateTypeNameInDatatypeE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError30ArityMismatchInTypeDeclarationE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError34DuplicateConstructorNameInDatatypeE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN8ListPair14UnequalLengthsE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN18ElaborateInterface11unionFixEnvE_116 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface11unionFixEnvE_272 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*)*@_SMLLLN18ElaborateInterface11unionFixEnvE_118 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface11unionFixEnvE_273 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:75.31(2206)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"FREE_TYID to substTy in ElaborateInterface\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:88.33(2848)\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*)*@_SMLLLN18ElaborateInterface7substTyE_144 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_274 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*)*@_SMLLLN18ElaborateInterface7substTyE_148 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_275 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*)*@_SMLLL5subst_150 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5subst_276 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:116.6(3853)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:69.6(1972)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLLLN18ElaborateInterface9checkSpecE_166 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface9checkSpecE_278 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:144.6(4777)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:236.6(7953)\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*)*@_SMLLLN18ElaborateInterface10elabExbindE_172 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface10elabExbindE_280 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:245.6(8356)\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*)*@_SMLLLN18ElaborateInterface11elabTypbindE_175 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface11elabTypbindE_281 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*)*@_SMLLLN18ElaborateInterface7elabDecE_177 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_292 to void(...)*),i32 -2147483647}>,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*)*@_SMLLLN18ElaborateInterface7elabDecE_209 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_282 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*)*@_SMLLLN18ElaborateInterface7elabDecE_211 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_283 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN18ElaborateInterface7elabDecE_213 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_284 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:260.11(8960)\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*)*@_SMLLLN18ElaborateInterface7elabDecE_216 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_285 to void(...)*),i32 -2147483647}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN18ElaborateInterface7elabDecE_218 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_286 to void(...)*),i32 -2147483647}>,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*)*@_SMLLLN18ElaborateInterface7elabDecE_220 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_287 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:264.11(9135)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN18ElaborateInterface7elabDecE_224 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_288 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*)*@_SMLLLN18ElaborateInterface7elabDecE_226 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_289 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*)*@_SMLLL5subst_229 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5subst_290 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*)*@_SMLLLN18ElaborateInterface7elabDecE_233 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_291 to void(...)*),i32 -2147483647}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:253.6(8668)\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:284.6(10021)\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*)*@_SMLLLN18ElaborateInterface14elabTopdecListE_238 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface14elabTopdecListE_294 to void(...)*),i32 -2147483647}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:140.11(4647)\00"}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:135.6(4481)\00"}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:303.25(10820)\00"}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:295.12(10515)\00"}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 0,i32 0,i32 0}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,i32 0,i32 0}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:323.12(11409)\00"}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:315.6(11164)\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*)*@_SMLLL6fixEnv_251 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fixEnv_295 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*)*@_SMLLLN18ElaborateInterface14elabTopdecListE_253 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface14elabTopdecListE_296 to void(...)*),i32 -2147483647}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:370.26(13151)\00"}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[23x i8]}><{[4x i8]zeroinitializer,i32 -2147483625,[23x i8]c"duplicate interface id\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_258 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_297 to void(...)*),i32 -2147483647}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:36.38(916)\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*)*@_SMLLLN18ElaborateInterface9elaborateE_261 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface9elaborateE_298 to void(...)*),i32 -2147483647}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN18ElaborateInterface9elaborateE_263 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface9elaborateE_299 to void(...)*),i32 -2147483647}>,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*)*@_SMLLL13requireFixEnv_265 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL13requireFixEnv_300 to void(...)*),i32 -2147483647}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/elaborate/main/ElaborateInterface.sml:399.34(14220)\00"}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,[24x i8]}><{[4x i8]zeroinitializer,i32 -2147483624,[24x i8]c"elaborate: id not found\00"}>,align 8
@_SML_gvarc1a1cd5431cf96e9_ElaborateInterface=private global<{[4x i8],i32,[1x i8*]}><{[4x i8]zeroinitializer,i32 -1342177272,[1x i8*]zeroinitializer}>,align 8
@aa=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarc1a1cd5431cf96e9_ElaborateInterface,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@aa to i64))]
@_SML_ftabc1a1cd5431cf96e9_ElaborateInterface=external global i8
@ab=private unnamed_addr global i8 0
@_SMLZN18ElaborateInterface9elaborateE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarc1a1cd5431cf96e9_ElaborateInterface,i32 0,i32 2,i32 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_end()local_unnamed_addr#0
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_save_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN11InterfaceID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11InterfaceID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11InterfaceID3Map5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11InterfaceID3Map9singletonE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11InterfaceID3Map9unionWithE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN13ElaborateCore13elabInfixPrecE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13ElaborateCore27checkReservedNameForValBindE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13ElaborateCore35checkReservedNameForConstructorBindE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15ElaborateModule10elabSigExpE(i8*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*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List6concatE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List6lengthE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair5zipEqE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv10mergeWithiE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6removeE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv8inDomainE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv9singletonE(i32 inreg,i32 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_main7aa263535439ee1c_ListPair()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main22c101bff228a4a9_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main89b8631430c545af_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainc86a8a57f9dc856e_UserErrorUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind0c024bd2a6395e7_ElaborateError_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1066718a9c78fedc_ElaborateCore()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main2d75301891d3037b_ElaborateModule()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load7aa263535439ee1c_ListPair(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load22c101bff228a4a9_LocalID(i8*)local_unnamed_addr
declare void@_SML_load89b8631430c545af_Symbol(i8*)local_unnamed_addr
declare void@_SML_loadc86a8a57f9dc856e_UserErrorUtils(i8*)local_unnamed_addr
declare void@_SML_loadd0c024bd2a6395e7_ElaborateError_ppg(i8*)local_unnamed_addr
declare void@_SML_load1066718a9c78fedc_ElaborateCore(i8*)local_unnamed_addr
declare void@_SML_load2d75301891d3037b_ElaborateModule(i8*)local_unnamed_addr
define private void@_SML_tabbc1a1cd5431cf96e9_ElaborateInterface()#3{
unreachable
}
define void@_SML_loadc1a1cd5431cf96e9_ElaborateInterface(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@ab,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@ab,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load7aa263535439ee1c_ListPair(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load22c101bff228a4a9_LocalID(i8*%a)#0
tail call void@_SML_load89b8631430c545af_Symbol(i8*%a)#0
tail call void@_SML_loadc86a8a57f9dc856e_UserErrorUtils(i8*%a)#0
tail call void@_SML_loadd0c024bd2a6395e7_ElaborateError_ppg(i8*%a)#0
tail call void@_SML_load1066718a9c78fedc_ElaborateCore(i8*%a)#0
tail call void@_SML_load2d75301891d3037b_ElaborateModule(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbc1a1cd5431cf96e9_ElaborateInterface,i8*@_SML_ftabc1a1cd5431cf96e9_ElaborateInterface,i8*bitcast([2x i64]*@aa to i8*))#0
ret void
}
define void@_SML_mainc1a1cd5431cf96e9_ElaborateInterface()local_unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=load i8,i8*@ab,align 1
%g=and i8%f,2
%h=icmp eq i8%g,0
br i1%h,label%j,label%i
i:
ret void
j:
store i8 3,i8*@ab,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main7aa263535439ee1c_ListPair()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main22c101bff228a4a9_LocalID()#2
tail call void@_SML_main89b8631430c545af_Symbol()#2
tail call void@_SML_mainc86a8a57f9dc856e_UserErrorUtils()#2
tail call void@_SML_maind0c024bd2a6395e7_ElaborateError_ppg()#2
tail call void@_SML_main1066718a9c78fedc_ElaborateCore()#2
tail call void@_SML_main2d75301891d3037b_ElaborateModule()#2
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%k=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%k)#0
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%o,label%n
n:
invoke void@sml_check(i32 inreg%l)
to label%o unwind label%aC
o:
%p=invoke fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
to label%q unwind label%aC
q:
store i8*%p,i8**%b,align 8
%r=call i8*@sml_alloc(i32 inreg 12)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177288,i32*%t,align 4
store i8*%r,i8**%c,align 8
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
%B=load i8*,i8**%c,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLLN18ElaborateInterface14elabTopdecListE_237 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLLN18ElaborateInterface14elabTopdecListE_237 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
store i8*%J,i8**%d,align 8
%M=load i8*,i8**%b,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%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
%W=load i8*,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_255 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 16
%ab=bitcast i8*%aa to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_255 to void(...)*),void(...)**%ab,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 24
%ad=bitcast i8*%ac to i32*
store i32 -2147483647,i32*%ad,align 4
%ae=call i8*@sml_alloc(i32 inreg 28)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177304,i32*%ag,align 4
store i8*%ae,i8**%e,align 8
%ah=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 16
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ae,i64 24
%aq=bitcast i8*%ap to i32*
store i32 7,i32*%aq,align 4
%ar=call i8*@sml_alloc(i32 inreg 28)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177304,i32*%at,align 4
%au=load i8*,i8**%e,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ar,i64 8
%ax=bitcast i8*%aw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface9elaborateE_270 to void(...)*),void(...)**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 16
%az=bitcast i8*%ay to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface9elaborateE_270 to void(...)*),void(...)**%az,align 8
%aA=getelementptr inbounds i8,i8*%ar,i64 24
%aB=bitcast i8*%aA to i32*
store i32 -2147483647,i32*%aB,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarc1a1cd5431cf96e9_ElaborateInterface,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarc1a1cd5431cf96e9_ElaborateInterface,i64 0,i32 2,i64 0),i8*inreg%ar)#0
call void@sml_end()#0
ret void
aC:
%aD=landingpad{i8*,i8*}
cleanup
%aE=extractvalue{i8*,i8*}%aD,1
call void@sml_save_exn(i8*inreg%aE)#0
call void@sml_end()#0
resume{i8*,i8*}%aD
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface11unionFixEnvE_116(i8*inreg%a)#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=icmp eq i8*%r,null
%t=getelementptr inbounds i8,i8*%l,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
br i1%s,label%w,label%A
w:
%x=icmp eq i8*%v,null
br i1%x,label%ac,label%y
y:
%z=phi i8*[%v,%w],[%r,%ac]
ret i8*%z
A:
store i8*%v,i8**%c,align 8
%B=icmp eq i8*%v,null
br i1%B,label%ac,label%C
C:
%D=call fastcc i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg%o)
store i8*%D,i8**%d,align 8
%E=load i8*,i8**@_SMLZN14ElaborateError24MultipleInfixInInterfaceE,align 8
store i8*%E,i8**%e,align 8
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
store i8*%F,i8**%f,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@U,i64 0,i32 2,i64 0),i8**%L,align 8
%M=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%F,i64 24
%Q=bitcast i8*%P to i32*
store i32 7,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%R,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%R)
%ab=load i8*,i8**%c,align 8
ret i8*%ab
ac:
br label%y
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface11unionFixEnvE_118(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=call fastcc i8*@_SMLFN9SymbolEnv10mergeWithiE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%t(i8*inreg%v,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*))
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,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**%b,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=tail call fastcc i8*%z(i8*inreg%M,i8*inreg%C)
ret i8*%N
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_139(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*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_142(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
store i8*null,i8**%c,align 8
%r=load i8*,i8**%n,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%r,i8*inreg%u)
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%w,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_144(i8*inreg%a)#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%n,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%k,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=call fastcc i8*@_SMLFN9SymbolEnv6insertE(i32 inreg 1,i32 inreg 8)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%e,align 8
%C=load i8*,i8**%b,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%b,align 8
%G=call i8*@sml_alloc(i32 inreg 28)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177304,i32*%I,align 4
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=load i8*,i8**%b,align 8
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=load i8*,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%G,i64 16
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%G,i64 24
%S=bitcast i8*%R to i32*
store i32 7,i32*%S,align 4
%T=load i8*,i8**%e,align 8
%U=tail call fastcc i8*%z(i8*inreg%T,i8*inreg%G)
ret i8*%U
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_146(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*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_147(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*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_148(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*@_SMLLL5subst_150(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%m,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%j,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=call fastcc i8*@_SMLFN9SymbolEnv8inDomainE(i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
%C=load i8*,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%b,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%K=call fastcc i8*%w(i8*inreg%J,i8*inreg%z)
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=icmp eq i32%M,0
br i1%N,label%aj,label%O
O:
%P=call fastcc i8*@_SMLFN9SymbolEnv6removeE(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**%d,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
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%af=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ag=call fastcc i8*%S(i8*inreg%af,i8*inreg%V)
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
ret i8*%ai
aj:
%ak=load i8*,i8**%c,align 8
ret i8*%ak
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_152(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
store i8*null,i8**%c,align 8
%r=load i8*,i8**%n,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%r,i8*inreg%u)
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%w,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_154(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
switch i32%w,label%x[
i32 1,label%bg
i32 0,label%P
]
x:
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%y=load i8*,i8**@_SMLZ5Match,align 8
store i8*%y,i8**%c,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
store i8*%z,i8**%d,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@i,i64 0,i32 2,i64 0),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 60)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177336,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%I,i64 56
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%d,align 8
%O=bitcast i8*%I to i8**
store i8*%N,i8**%O,align 8
call void@sml_raise(i8*inreg%I)#1
unreachable
P:
%Q=getelementptr inbounds i8,i8*%u,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%d,align 8
%X=getelementptr inbounds i8,i8*%U,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%e,align 8
%aa=getelementptr inbounds i8,i8*%S,i64 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%f,align 8
%ad=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%h,align 8
%aj=bitcast i8**%g to i8***
%ak=load i8**,i8***%aj,align 8
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%g,align 8
%am=call i8*@sml_alloc(i32 inreg 12)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177288,i32*%ao,align 4
store i8*%am,i8**%i,align 8
%ap=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to i32*
store i32 1,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 28)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177304,i32*%av,align 4
%aw=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%at,i64 8
%az=bitcast i8*%ay to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_152 to void(...)*),void(...)**%az,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 16
%aB=bitcast i8*%aA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_152 to void(...)*),void(...)**%aB,align 8
%aC=getelementptr inbounds i8,i8*%at,i64 24
%aD=bitcast i8*%aC to i32*
store i32 -2147483647,i32*%aD,align 4
%aE=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aF=call fastcc i8*%ag(i8*inreg%aE,i8*inreg%at)
%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
%aL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aM=call fastcc i8*%aI(i8*inreg%aK,i8*inreg%aL)
store i8*%aM,i8**%e,align 8
%aN=call i8*@sml_alloc(i32 inreg 20)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177296,i32*%aP,align 4
store i8*%aN,i8**%g,align 8
%aQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aR=bitcast i8*%aN to i8**
store i8*%aQ,i8**%aR,align 8
%aS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aT=getelementptr inbounds i8,i8*%aN,i64 8
%aU=bitcast i8*%aT to i8**
store i8*%aS,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aN,i64 16
%aW=bitcast i8*%aV to i32*
store i32 3,i32*%aW,align 4
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177296,i32*%aZ,align 4
store i8*%aX,i8**%d,align 8
%a0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i32*
store i32 3,i32*%a6,align 4
%a7=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
%ba=bitcast i8*%a7 to i64*
store i64 0,i64*%ba,align 4
%bb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bc=getelementptr inbounds i8,i8*%a7,i64 8
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 16
%bf=bitcast i8*%be to i32*
store i32 2,i32*%bf,align 4
br label%bh
bg:
store i8*null,i8**%g,align 8
br label%bh
bh:
%bi=phi i8*[%u,%bg],[%a7,%P]
store i8*%bi,i8**%d,align 8
%bj=call i8*@sml_alloc(i32 inreg 20)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177296,i32*%bl,align 4
%bm=load i8*,i8**%c,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=load i8*,i8**%d,align 8
%bp=getelementptr inbounds i8,i8*%bj,i64 8
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bj,i64 16
%bs=bitcast i8*%br to i32*
store i32 3,i32*%bs,align 4
ret i8*%bj
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
%j=bitcast i8**%c to i8***
br label%k
k:
%l=phi i8*[%a,%m],[%hl,%gW]
%n=phi i8*[%b,%m],[%hv,%gW]
store i8*%l,i8**%c,align 8
store i8*%n,i8**%d,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%s,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%d,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%n,%k]
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 7,label%jX
i32 3,label%iZ
i32 0,label%iF
i32 5,label%hx
i32 1,label%dB
i32 6,label%cA
i32 2,label%bV
i32 4,label%O
]
w:
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@j,i64 0,i32 2,i64 0),i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 60)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177336,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 56
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
%P=getelementptr inbounds i8,i8*%t,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,align 8
%U=getelementptr inbounds i8,i8*%R,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%R,i64 16
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%f,align 8
%aa=load i8**,i8***%j,align 8
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%g,align 8
%ac=getelementptr inbounds i8*,i8**%aa,i64 1
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%c,align 8
%ae=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%af=getelementptr inbounds i8,i8*%ae,i64 16
%ag=bitcast i8*%af to i8*(i8*,i8*)**
%ah=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ag,align 8
%ai=bitcast i8*%ae to i8**
%aj=load i8*,i8**%ai,align 8
%ak=call fastcc i8*%ah(i8*inreg%aj,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@g,i64 0,i32 2)to i8*))
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
%aq=load i8*,i8**%d,align 8
%ar=call fastcc i8*%an(i8*inreg%ap,i8*inreg%aq)
store i8*%ar,i8**%h,align 8
%as=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
%ay=call fastcc i8*%av(i8*inreg%ax,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*))
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
%aE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aF=call fastcc i8*%aB(i8*inreg%aD,i8*inreg%aE)
%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
%aL=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aM=call fastcc i8*%aI(i8*inreg%aK,i8*inreg%aL)
store i8*%aM,i8**%h,align 8
%aN=call i8*@sml_alloc(i32 inreg 20)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177296,i32*%aP,align 4
store i8*%aN,i8**%c,align 8
%aQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aR=bitcast i8*%aN to i8**
store i8*%aQ,i8**%aR,align 8
%aS=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aT=getelementptr inbounds i8,i8*%aN,i64 8
%aU=bitcast i8*%aT to i8**
store i8*%aS,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aN,i64 16
%aW=bitcast i8*%aV to i32*
store i32 3,i32*%aW,align 4
%aX=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aY=getelementptr inbounds i8,i8*%aX,i64 16
%aZ=bitcast i8*%aY to i8*(i8*,i8*)**
%a0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aZ,align 8
%a1=bitcast i8*%aX to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%g,align 8
%a3=call i8*@sml_alloc(i32 inreg 12)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177288,i32*%a5,align 4
store i8*%a3,i8**%h,align 8
%a6=load i8*,i8**%c,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a3,i64 8
%a9=bitcast i8*%a8 to i32*
store i32 1,i32*%a9,align 4
%ba=call i8*@sml_alloc(i32 inreg 28)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177304,i32*%bc,align 4
%bd=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%be=bitcast i8*%ba to i8**
store i8*%bd,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%ba,i64 8
%bg=bitcast i8*%bf to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_154 to void(...)*),void(...)**%bg,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 16
%bi=bitcast i8*%bh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_154 to void(...)*),void(...)**%bi,align 8
%bj=getelementptr inbounds i8,i8*%ba,i64 24
%bk=bitcast i8*%bj to i32*
store i32 -2147483647,i32*%bk,align 4
%bl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bm=call fastcc i8*%a0(i8*inreg%bl,i8*inreg%ba)
%bn=getelementptr inbounds i8,i8*%bm,i64 16
%bo=bitcast i8*%bn to i8*(i8*,i8*)**
%bp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bo,align 8
%bq=bitcast i8*%bm to i8**
%br=load i8*,i8**%bq,align 8
%bs=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bt=call fastcc i8*%bp(i8*inreg%br,i8*inreg%bs)
store i8*%bt,i8**%d,align 8
%bu=load i8*,i8**%e,align 8
%bv=load i8*,i8**%c,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%c,align 8
%bw=call fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%bv,i8*inreg%bu)
store i8*%bw,i8**%c,align 8
%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**%e,align 8
%bA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bD=getelementptr inbounds i8,i8*%bx,i64 8
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bG=getelementptr inbounds i8,i8*%bx,i64 16
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bx,i64 24
%bJ=bitcast i8*%bI to i32*
store i32 7,i32*%bJ,align 4
%bK=call i8*@sml_alloc(i32 inreg 20)#0
%bL=bitcast i8*%bK to i32*
%bM=getelementptr inbounds i8,i8*%bK,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177296,i32*%bN,align 4
%bO=getelementptr inbounds i8,i8*%bK,i64 4
%bP=bitcast i8*%bO to i32*
store i32 0,i32*%bP,align 1
store i32 4,i32*%bL,align 4
%bQ=load i8*,i8**%e,align 8
%bR=getelementptr inbounds i8,i8*%bK,i64 8
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 16
%bU=bitcast i8*%bT to i32*
store i32 2,i32*%bU,align 4
ret i8*%bK
bV:
%bW=getelementptr inbounds i8,i8*%t,i64 8
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
%bZ=bitcast i8*%bY to i8**
%b0=load i8*,i8**%bZ,align 8
%b1=getelementptr inbounds i8,i8*%bY,i64 8
%b2=bitcast i8*%b1 to i8**
%b3=load i8*,i8**%b2,align 8
store i8*%b3,i8**%d,align 8
%b4=getelementptr inbounds i8,i8*%bY,i64 16
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%e,align 8
%b7=load i8*,i8**%c,align 8
%b8=call fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%b7,i8*inreg%b0)
store i8*%b8,i8**%f,align 8
%b9=load i8*,i8**%c,align 8
%ca=load i8*,i8**%d,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%cb=call fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%b9,i8*inreg%ca)
store i8*%cb,i8**%c,align 8
%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
store i8*%cc,i8**%d,align 8
%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=load i8*,i8**%c,align 8
store i8*null,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**%e,align 8
store i8*null,i8**%e,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
%cp=call i8*@sml_alloc(i32 inreg 20)#0
%cq=bitcast i8*%cp to i32*
%cr=getelementptr inbounds i8,i8*%cp,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
%ct=getelementptr inbounds i8,i8*%cp,i64 4
%cu=bitcast i8*%ct to i32*
store i32 0,i32*%cu,align 1
store i32 2,i32*%cq,align 4
%cv=load i8*,i8**%d,align 8
%cw=getelementptr inbounds i8,i8*%cp,i64 8
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cp,i64 16
%cz=bitcast i8*%cy to i32*
store i32 2,i32*%cz,align 4
ret i8*%cp
cA:
%cB=getelementptr inbounds i8,i8*%t,i64 8
%cC=bitcast i8*%cB to i8**
%cD=load i8*,i8**%cC,align 8
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
store i8*%cF,i8**%d,align 8
%cG=getelementptr inbounds i8,i8*%cD,i64 8
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%e,align 8
%cJ=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cK=getelementptr inbounds i8,i8*%cJ,i64 16
%cL=bitcast i8*%cK to i8*(i8*,i8*)**
%cM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cL,align 8
%cN=bitcast i8*%cJ to i8**
%cO=load i8*,i8**%cN,align 8
store i8*%cO,i8**%f,align 8
%cP=call i8*@sml_alloc(i32 inreg 12)#0
%cQ=getelementptr inbounds i8,i8*%cP,i64 -4
%cR=bitcast i8*%cQ to i32*
store i32 1342177288,i32*%cR,align 4
store i8*%cP,i8**%g,align 8
%cS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cT=bitcast i8*%cP to i8**
store i8*%cS,i8**%cT,align 8
%cU=getelementptr inbounds i8,i8*%cP,i64 8
%cV=bitcast i8*%cU to i32*
store i32 1,i32*%cV,align 4
%cW=call i8*@sml_alloc(i32 inreg 28)#0
%cX=getelementptr inbounds i8,i8*%cW,i64 -4
%cY=bitcast i8*%cX to i32*
store i32 1342177304,i32*%cY,align 4
%cZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c0=bitcast i8*%cW to i8**
store i8*%cZ,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cW,i64 8
%c2=bitcast i8*%c1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_147 to void(...)*),void(...)**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cW,i64 16
%c4=bitcast i8*%c3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_147 to void(...)*),void(...)**%c4,align 8
%c5=getelementptr inbounds i8,i8*%cW,i64 24
%c6=bitcast i8*%c5 to i32*
store i32 -2147483647,i32*%c6,align 4
%c7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c8=call fastcc i8*%cM(i8*inreg%c7,i8*inreg%cW)
%c9=getelementptr inbounds i8,i8*%c8,i64 16
%da=bitcast i8*%c9 to i8*(i8*,i8*)**
%db=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%da,align 8
%dc=bitcast i8*%c8 to i8**
%dd=load i8*,i8**%dc,align 8
%de=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%df=call fastcc i8*%db(i8*inreg%dd,i8*inreg%de)
store i8*%df,i8**%c,align 8
%dg=call i8*@sml_alloc(i32 inreg 20)#0
%dh=getelementptr inbounds i8,i8*%dg,i64 -4
%di=bitcast i8*%dh to i32*
store i32 1342177296,i32*%di,align 4
store i8*%dg,i8**%d,align 8
%dj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dk=bitcast i8*%dg to i8**
store i8*%dj,i8**%dk,align 8
%dl=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dm=getelementptr inbounds i8,i8*%dg,i64 8
%dn=bitcast i8*%dm to i8**
store i8*%dl,i8**%dn,align 8
%do=getelementptr inbounds i8,i8*%dg,i64 16
%dp=bitcast i8*%do to i32*
store i32 3,i32*%dp,align 4
%dq=call i8*@sml_alloc(i32 inreg 20)#0
%dr=bitcast i8*%dq to i32*
%ds=getelementptr inbounds i8,i8*%dq,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177296,i32*%dt,align 4
%du=getelementptr inbounds i8,i8*%dq,i64 4
%dv=bitcast i8*%du to i32*
store i32 0,i32*%dv,align 1
store i32 6,i32*%dr,align 4
%dw=load i8*,i8**%d,align 8
%dx=getelementptr inbounds i8,i8*%dq,i64 8
%dy=bitcast i8*%dx to i8**
store i8*%dw,i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%dq,i64 16
%dA=bitcast i8*%dz to i32*
store i32 2,i32*%dA,align 4
ret i8*%dq
dB:
%dC=getelementptr inbounds i8,i8*%t,i64 8
%dD=bitcast i8*%dC to i8**
%dE=load i8*,i8**%dD,align 8
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
store i8*%dG,i8**%d,align 8
%dH=getelementptr inbounds i8,i8*%dE,i64 8
%dI=bitcast i8*%dH to i8**
%dJ=load i8*,i8**%dI,align 8
store i8*%dJ,i8**%e,align 8
%dK=icmp eq i8*%dJ,null
br i1%dK,label%jY,label%dL
dL:
%dM=bitcast i8*%dJ to i8**
%dN=load i8*,i8**%dM,align 8
store i8*%dN,i8**%f,align 8
%dO=getelementptr inbounds i8,i8*%dJ,i64 8
%dP=bitcast i8*%dO to i8**
%dQ=load i8*,i8**%dP,align 8
%dR=icmp eq i8*%dQ,null
br i1%dR,label%dS,label%hw
dS:
%dT=getelementptr inbounds i8,i8*%dE,i64 16
%dU=bitcast i8*%dT to i8**
%dV=load i8*,i8**%dU,align 8
store i8*%dV,i8**%g,align 8
%dW=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%dX=getelementptr inbounds i8,i8*%dW,i64 16
%dY=bitcast i8*%dX to i8*(i8*,i8*)**
%dZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dY,align 8
%d0=bitcast i8*%dW to i8**
%d1=load i8*,i8**%d0,align 8
store i8*%d1,i8**%i,align 8
%d2=load i8**,i8***%j,align 8
%d3=load i8*,i8**%d2,align 8
store i8*%d3,i8**%h,align 8
%d4=call i8*@sml_alloc(i32 inreg 20)#0
%d5=getelementptr inbounds i8,i8*%d4,i64 -4
%d6=bitcast i8*%d5 to i32*
store i32 1342177296,i32*%d6,align 4
%d7=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%d8=bitcast i8*%d4 to i8**
store i8*%d7,i8**%d8,align 8
%d9=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ea=getelementptr inbounds i8,i8*%d4,i64 8
%eb=bitcast i8*%ea to i8**
store i8*%d9,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d4,i64 16
%ed=bitcast i8*%ec to i32*
store i32 3,i32*%ed,align 4
%ee=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ef=call fastcc i8*%dZ(i8*inreg%ee,i8*inreg%d4)
%eg=icmp eq i8*%ef,null
br i1%eg,label%eh,label%fd
eh:
%ei=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ej=getelementptr inbounds i8,i8*%ei,i64 16
%ek=bitcast i8*%ej to i8*(i8*,i8*)**
%el=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ek,align 8
%em=bitcast i8*%ei to i8**
%en=load i8*,i8**%em,align 8
store i8*%en,i8**%f,align 8
%eo=call i8*@sml_alloc(i32 inreg 12)#0
%ep=getelementptr inbounds i8,i8*%eo,i64 -4
%eq=bitcast i8*%ep to i32*
store i32 1342177288,i32*%eq,align 4
store i8*%eo,i8**%h,align 8
%er=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%es=bitcast i8*%eo to i8**
store i8*%er,i8**%es,align 8
%et=getelementptr inbounds i8,i8*%eo,i64 8
%eu=bitcast i8*%et to i32*
store i32 1,i32*%eu,align 4
%ev=call i8*@sml_alloc(i32 inreg 28)#0
%ew=getelementptr inbounds i8,i8*%ev,i64 -4
%ex=bitcast i8*%ew to i32*
store i32 1342177304,i32*%ex,align 4
%ey=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ez=bitcast i8*%ev to i8**
store i8*%ey,i8**%ez,align 8
%eA=getelementptr inbounds i8,i8*%ev,i64 8
%eB=bitcast i8*%eA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_146 to void(...)*),void(...)**%eB,align 8
%eC=getelementptr inbounds i8,i8*%ev,i64 16
%eD=bitcast i8*%eC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_146 to void(...)*),void(...)**%eD,align 8
%eE=getelementptr inbounds i8,i8*%ev,i64 24
%eF=bitcast i8*%eE to i32*
store i32 -2147483647,i32*%eF,align 4
%eG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eH=call fastcc i8*%el(i8*inreg%eG,i8*inreg%ev)
%eI=getelementptr inbounds i8,i8*%eH,i64 16
%eJ=bitcast i8*%eI to i8*(i8*,i8*)**
%eK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eJ,align 8
%eL=bitcast i8*%eH to i8**
%eM=load i8*,i8**%eL,align 8
%eN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eO=call fastcc i8*%eK(i8*inreg%eM,i8*inreg%eN)
store i8*%eO,i8**%c,align 8
%eP=call i8*@sml_alloc(i32 inreg 28)#0
%eQ=getelementptr inbounds i8,i8*%eP,i64 -4
%eR=bitcast i8*%eQ to i32*
store i32 1342177304,i32*%eR,align 4
store i8*%eP,i8**%d,align 8
%eS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eT=bitcast i8*%eP to i8**
store i8*%eS,i8**%eT,align 8
%eU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eV=getelementptr inbounds i8,i8*%eP,i64 8
%eW=bitcast i8*%eV to i8**
store i8*%eU,i8**%eW,align 8
%eX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eY=getelementptr inbounds i8,i8*%eP,i64 16
%eZ=bitcast i8*%eY to i8**
store i8*%eX,i8**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eP,i64 24
%e1=bitcast i8*%e0 to i32*
store i32 7,i32*%e1,align 4
%e2=call i8*@sml_alloc(i32 inreg 20)#0
%e3=bitcast i8*%e2 to i32*
%e4=getelementptr inbounds i8,i8*%e2,i64 -4
%e5=bitcast i8*%e4 to i32*
store i32 1342177296,i32*%e5,align 4
%e6=getelementptr inbounds i8,i8*%e2,i64 4
%e7=bitcast i8*%e6 to i32*
store i32 0,i32*%e7,align 1
store i32 1,i32*%e3,align 4
%e8=load i8*,i8**%d,align 8
%e9=getelementptr inbounds i8,i8*%e2,i64 8
%fa=bitcast i8*%e9 to i8**
store i8*%e8,i8**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e2,i64 16
%fc=bitcast i8*%fb to i32*
store i32 2,i32*%fc,align 4
ret i8*%e2
fd:
%fe=bitcast i8*%ef to i8**
%ff=load i8*,i8**%fe,align 8
%fg=bitcast i8*%ff to i8**
%fh=load i8*,i8**%fg,align 8
store i8*%fh,i8**%c,align 8
%fi=getelementptr inbounds i8,i8*%ff,i64 8
%fj=bitcast i8*%fi to i8**
%fk=load i8*,i8**%fj,align 8
store i8*%fk,i8**%e,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 16
%fm=bitcast i8*%fl to i8**
%fn=load i8*,i8**%fm,align 8
store i8*%fn,i8**%f,align 8
%fo=getelementptr inbounds i8,i8*%ff,i64 24
%fp=bitcast i8*%fo to i8**
%fq=load i8*,i8**%fp,align 8
store i8*%fq,i8**%g,align 8
%fr=invoke fastcc i8*@_SMLFN8ListPair5zipEqE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%fs unwind label%fL
fs:
%ft=getelementptr inbounds i8,i8*%fr,i64 16
%fu=bitcast i8*%ft to i8*(i8*,i8*)**
%fv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fu,align 8
%fw=bitcast i8*%fr to i8**
%fx=load i8*,i8**%fw,align 8
store i8*%fx,i8**%h,align 8
%fy=call i8*@sml_alloc(i32 inreg 20)#0
%fz=getelementptr inbounds i8,i8*%fy,i64 -4
%fA=bitcast i8*%fz to i32*
store i32 1342177296,i32*%fA,align 4
%fB=load i8*,i8**%g,align 8
%fC=bitcast i8*%fy to i8**
store i8*%fB,i8**%fC,align 8
%fD=load i8*,i8**%d,align 8
%fE=getelementptr inbounds i8,i8*%fy,i64 8
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=getelementptr inbounds i8,i8*%fy,i64 16
%fH=bitcast i8*%fG to i32*
store i32 3,i32*%fH,align 4
%fI=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fJ=invoke fastcc i8*%fv(i8*inreg%fI,i8*inreg%fy)
to label%fK unwind label%fL
fK:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
br label%gW
fL:
%fM=landingpad{i8*,i8*}
catch i8*null
%fN=extractvalue{i8*,i8*}%fM,1
%fO=bitcast i8*%fN to i8**
%fP=load i8*,i8**%fO,align 8
store i8*%fP,i8**%h,align 8
%fQ=bitcast i8*%fP to i8**
%fR=load i8*,i8**%fQ,align 8
%fS=load i8*,i8**@_SMLZN8ListPair14UnequalLengthsE,align 8
%fT=icmp eq i8*%fR,%fS
br i1%fT,label%fU,label%gO
fU:
store i8*null,i8**%h,align 8
%fV=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%fW=getelementptr inbounds i8,i8*%fV,i64 16
%fX=bitcast i8*%fW to i8*(i8*,i8*)**
%fY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fX,align 8
%fZ=bitcast i8*%fV to i8**
%f0=load i8*,i8**%fZ,align 8
%f1=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%f2=call fastcc i8*%fY(i8*inreg%f0,i8*inreg%f1)
%f3=bitcast i8*%f2 to i32*
%f4=load i32,i32*%f3,align 4
%f5=load i8*,i8**@_SMLZN14ElaborateError30ArityMismatchInTypeDeclarationE,align 8
store i8*%f5,i8**%g,align 8
%f6=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%f7=getelementptr inbounds i8,i8*%f6,i64 16
%f8=bitcast i8*%f7 to i8*(i8*,i8*)**
%f9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f8,align 8
%ga=bitcast i8*%f6 to i8**
%gb=load i8*,i8**%ga,align 8
%gc=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gd=call fastcc i8*%f9(i8*inreg%gb,i8*inreg%gc)
%ge=bitcast i8*%gd to i32*
%gf=load i32,i32*%ge,align 4
%gg=call i8*@sml_alloc(i32 inreg 28)#0
%gh=getelementptr inbounds i8,i8*%gg,i64 -4
%gi=bitcast i8*%gh to i32*
store i32 1342177304,i32*%gi,align 4
store i8*%gg,i8**%d,align 8
%gj=getelementptr inbounds i8,i8*%gg,i64 4
call void@llvm.memset.p0i8.i32(i8*%gj,i8 0,i32 20,i1 false)
%gk=bitcast i8*%gg to i32*
store i32%gf,i32*%gk,align 4
%gl=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gm=getelementptr inbounds i8,i8*%gg,i64 8
%gn=bitcast i8*%gm to i8**
store i8*%gl,i8**%gn,align 8
%go=getelementptr inbounds i8,i8*%gg,i64 16
%gp=bitcast i8*%go to i32*
store i32%f4,i32*%gp,align 4
%gq=getelementptr inbounds i8,i8*%gg,i64 24
%gr=bitcast i8*%gq to i32*
store i32 2,i32*%gr,align 4
%gs=call i8*@sml_alloc(i32 inreg 28)#0
%gt=getelementptr inbounds i8,i8*%gs,i64 -4
%gu=bitcast i8*%gt to i32*
store i32 1342177304,i32*%gu,align 4
store i8*%gs,i8**%e,align 8
%gv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gw=bitcast i8*%gs to i8**
store i8*%gv,i8**%gw,align 8
%gx=getelementptr inbounds i8,i8*%gs,i64 8
%gy=bitcast i8*%gx to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@e,i64 0,i32 2,i64 0),i8**%gy,align 8
%gz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gA=getelementptr inbounds i8,i8*%gs,i64 16
%gB=bitcast i8*%gA to i8**
store i8*%gz,i8**%gB,align 8
%gC=getelementptr inbounds i8,i8*%gs,i64 24
%gD=bitcast i8*%gC to i32*
store i32 7,i32*%gD,align 4
%gE=call i8*@sml_alloc(i32 inreg 20)#0
%gF=getelementptr inbounds i8,i8*%gE,i64 -4
%gG=bitcast i8*%gF to i32*
store i32 1342177296,i32*%gG,align 4
%gH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gI=bitcast i8*%gE to i8**
store i8*%gH,i8**%gI,align 8
%gJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gK=getelementptr inbounds i8,i8*%gE,i64 8
%gL=bitcast i8*%gK to i8**
store i8*%gJ,i8**%gL,align 8
%gM=getelementptr inbounds i8,i8*%gE,i64 16
%gN=bitcast i8*%gM to i32*
store i32 3,i32*%gN,align 4
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%gE)
br label%gW
gO:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%gP=call i8*@sml_alloc(i32 inreg 60)#0
%gQ=getelementptr inbounds i8,i8*%gP,i64 -4
%gR=bitcast i8*%gQ to i32*
store i32 1342177336,i32*%gR,align 4
%gS=getelementptr inbounds i8,i8*%gP,i64 56
%gT=bitcast i8*%gS to i32*
store i32 1,i32*%gT,align 4
%gU=load i8*,i8**%h,align 8
%gV=bitcast i8*%gP to i8**
store i8*%gU,i8**%gV,align 8
call void@sml_raise(i8*inreg%gP)#1
unreachable
gW:
%gX=phi i8*[%fJ,%fK],[null,%fU]
store i8*%gX,i8**%d,align 8
%gY=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gZ=getelementptr inbounds i8,i8*%gY,i64 16
%g0=bitcast i8*%gZ to i8*(i8*,i8*)**
%g1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g0,align 8
%g2=bitcast i8*%gY to i8**
%g3=load i8*,i8**%g2,align 8
%g4=call fastcc i8*%g1(i8*inreg%g3,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*))
%g5=getelementptr inbounds i8,i8*%g4,i64 16
%g6=bitcast i8*%g5 to i8*(i8*,i8*)**
%g7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g6,align 8
%g8=bitcast i8*%g4 to i8**
%g9=load i8*,i8**%g8,align 8
store i8*%g9,i8**%c,align 8
%ha=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%hb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hc=call fastcc i8*%g7(i8*inreg%hb,i8*inreg%ha)
%hd=getelementptr inbounds i8,i8*%hc,i64 16
%he=bitcast i8*%hd to i8*(i8*,i8*)**
%hf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%he,align 8
%hg=bitcast i8*%hc to i8**
%hh=load i8*,i8**%hg,align 8
%hi=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hj=call fastcc i8*%hf(i8*inreg%hh,i8*inreg%hi)
store i8*%hj,i8**%c,align 8
%hk=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%hk,i8**%d,align 8
%hl=call i8*@sml_alloc(i32 inreg 20)#0
%hm=getelementptr inbounds i8,i8*%hl,i64 -4
%hn=bitcast i8*%hm to i32*
store i32 1342177296,i32*%hn,align 4
%ho=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hp=bitcast i8*%hl to i8**
store i8*%ho,i8**%hp,align 8
%hq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hr=getelementptr inbounds i8,i8*%hl,i64 8
%hs=bitcast i8*%hr to i8**
store i8*%hq,i8**%hs,align 8
%ht=getelementptr inbounds i8,i8*%hl,i64 16
%hu=bitcast i8*%ht to i32*
store i32 3,i32*%hu,align 4
%hv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
br label%k
hw:
store i8*null,i8**%f,align 8
br label%jY
hx:
%hy=getelementptr inbounds i8,i8*%t,i64 8
%hz=bitcast i8*%hy to i8**
%hA=load i8*,i8**%hz,align 8
%hB=bitcast i8*%hA to i8**
%hC=load i8*,i8**%hB,align 8
store i8*%hC,i8**%d,align 8
%hD=getelementptr inbounds i8,i8*%hA,i64 8
%hE=bitcast i8*%hD to i32*
%hF=load i32,i32*%hE,align 4
%hG=getelementptr inbounds i8,i8*%hA,i64 16
%hH=bitcast i8*%hG to i8**
%hI=load i8*,i8**%hH,align 8
store i8*%hI,i8**%e,align 8
%hJ=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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
store i8*%hO,i8**%f,align 8
%hP=call i8*@sml_alloc(i32 inreg 12)#0
%hQ=getelementptr inbounds i8,i8*%hP,i64 -4
%hR=bitcast i8*%hQ to i32*
store i32 1342177288,i32*%hR,align 4
store i8*%hP,i8**%g,align 8
%hS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hT=bitcast i8*%hP to i8**
store i8*%hS,i8**%hT,align 8
%hU=getelementptr inbounds i8,i8*%hP,i64 8
%hV=bitcast i8*%hU to i32*
store i32 1,i32*%hV,align 4
%hW=call i8*@sml_alloc(i32 inreg 28)#0
%hX=getelementptr inbounds i8,i8*%hW,i64 -4
%hY=bitcast i8*%hX to i32*
store i32 1342177304,i32*%hY,align 4
%hZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_142 to void(...)*),void(...)**%h2,align 8
%h3=getelementptr inbounds i8,i8*%hW,i64 16
%h4=bitcast i8*%h3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_142 to void(...)*),void(...)**%h4,align 8
%h5=getelementptr inbounds i8,i8*%hW,i64 24
%h6=bitcast i8*%h5 to i32*
store i32 -2147483647,i32*%h6,align 4
%h7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%h8=call fastcc i8*%hM(i8*inreg%h7,i8*inreg%hW)
%h9=getelementptr inbounds i8,i8*%h8,i64 16
%ia=bitcast i8*%h9 to i8*(i8*,i8*)**
%ib=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ia,align 8
%ic=bitcast i8*%h8 to i8**
%id=load i8*,i8**%ic,align 8
%ie=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%if=call fastcc i8*%ib(i8*inreg%id,i8*inreg%ie)
store i8*%if,i8**%c,align 8
%ig=call i8*@sml_alloc(i32 inreg 28)#0
%ih=getelementptr inbounds i8,i8*%ig,i64 -4
%ii=bitcast i8*%ih to i32*
store i32 1342177304,i32*%ii,align 4
store i8*%ig,i8**%d,align 8
%ij=getelementptr inbounds i8,i8*%ig,i64 12
%ik=bitcast i8*%ij to i32*
store i32 0,i32*%ik,align 1
%il=load i8*,i8**%c,align 8
%im=bitcast i8*%ig to i8**
store i8*null,i8**%c,align 8
store i8*%il,i8**%im,align 8
%in=getelementptr inbounds i8,i8*%ig,i64 8
%io=bitcast i8*%in to i32*
store i32%hF,i32*%io,align 4
%ip=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iq=getelementptr inbounds i8,i8*%ig,i64 16
%ir=bitcast i8*%iq to i8**
store i8*%ip,i8**%ir,align 8
%is=getelementptr inbounds i8,i8*%ig,i64 24
%it=bitcast i8*%is to i32*
store i32 5,i32*%it,align 4
%iu=call i8*@sml_alloc(i32 inreg 20)#0
%iv=bitcast i8*%iu to i32*
%iw=getelementptr inbounds i8,i8*%iu,i64 -4
%ix=bitcast i8*%iw to i32*
store i32 1342177296,i32*%ix,align 4
%iy=getelementptr inbounds i8,i8*%iu,i64 4
%iz=bitcast i8*%iy to i32*
store i32 0,i32*%iz,align 1
store i32 5,i32*%iv,align 4
%iA=load i8*,i8**%d,align 8
%iB=getelementptr inbounds i8,i8*%iu,i64 8
%iC=bitcast i8*%iB to i8**
store i8*%iA,i8**%iC,align 8
%iD=getelementptr inbounds i8,i8*%iu,i64 16
%iE=bitcast i8*%iD to i32*
store i32 2,i32*%iE,align 4
ret i8*%iu
iF:
store i8*null,i8**%d,align 8
%iG=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%iG,i8**%c,align 8
%iH=call i8*@sml_alloc(i32 inreg 28)#0
%iI=getelementptr inbounds i8,i8*%iH,i64 -4
%iJ=bitcast i8*%iI to i32*
store i32 1342177304,i32*%iJ,align 4
store i8*%iH,i8**%d,align 8
%iK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iL=bitcast i8*%iH to i8**
store i8*%iK,i8**%iL,align 8
%iM=getelementptr inbounds i8,i8*%iH,i64 8
%iN=bitcast i8*%iM to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@c,i64 0,i32 2,i64 0),i8**%iN,align 8
%iO=getelementptr inbounds i8,i8*%iH,i64 16
%iP=bitcast i8*%iO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@d,i64 0,i32 2,i64 0),i8**%iP,align 8
%iQ=getelementptr inbounds i8,i8*%iH,i64 24
%iR=bitcast i8*%iQ to i32*
store i32 7,i32*%iR,align 4
%iS=call i8*@sml_alloc(i32 inreg 60)#0
%iT=getelementptr inbounds i8,i8*%iS,i64 -4
%iU=bitcast i8*%iT to i32*
store i32 1342177336,i32*%iU,align 4
%iV=getelementptr inbounds i8,i8*%iS,i64 56
%iW=bitcast i8*%iV to i32*
store i32 1,i32*%iW,align 4
%iX=load i8*,i8**%d,align 8
%iY=bitcast i8*%iS to i8**
store i8*%iX,i8**%iY,align 8
call void@sml_raise(i8*inreg%iS)#1
unreachable
iZ:
%i0=getelementptr inbounds i8,i8*%t,i64 8
%i1=bitcast i8*%i0 to i8**
%i2=load i8*,i8**%i1,align 8
%i3=bitcast i8*%i2 to i8**
%i4=load i8*,i8**%i3,align 8
store i8*%i4,i8**%d,align 8
%i5=getelementptr inbounds i8,i8*%i4,i64 8
%i6=bitcast i8*%i5 to i8**
%i7=load i8*,i8**%i6,align 8
store i8*%i7,i8**%e,align 8
%i8=getelementptr inbounds i8,i8*%i2,i64 8
%i9=bitcast i8*%i8 to i8**
%ja=load i8*,i8**%i9,align 8
store i8*%ja,i8**%f,align 8
%jb=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%jc=getelementptr inbounds i8,i8*%jb,i64 16
%jd=bitcast i8*%jc to i8*(i8*,i8*)**
%je=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jd,align 8
%jf=bitcast i8*%jb to i8**
%jg=load i8*,i8**%jf,align 8
store i8*%jg,i8**%g,align 8
%jh=load i8*,i8**%c,align 8
%ji=getelementptr inbounds i8,i8*%jh,i64 8
%jj=bitcast i8*%ji to i8**
%jk=load i8*,i8**%jj,align 8
store i8*%jk,i8**%c,align 8
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jp=bitcast i8*%jl to i8**
store i8*%jo,i8**%jp,align 8
%jq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jr=getelementptr inbounds i8,i8*%jl,i64 8
%js=bitcast i8*%jr to i8**
store i8*%jq,i8**%js,align 8
%jt=getelementptr inbounds i8,i8*%jl,i64 16
%ju=bitcast i8*%jt to i32*
store i32 3,i32*%ju,align 4
%jv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jw=call fastcc i8*%je(i8*inreg%jv,i8*inreg%jl)
%jx=icmp eq i8*%jw,null
br i1%jx,label%jy,label%jU
jy:
%jz=call i8*@sml_alloc(i32 inreg 20)#0
%jA=getelementptr inbounds i8,i8*%jz,i64 -4
%jB=bitcast i8*%jA to i32*
store i32 1342177296,i32*%jB,align 4
store i8*%jz,i8**%c,align 8
%jC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jD=bitcast i8*%jz to i8**
store i8*%jC,i8**%jD,align 8
%jE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jF=getelementptr inbounds i8,i8*%jz,i64 8
%jG=bitcast i8*%jF to i8**
store i8*%jE,i8**%jG,align 8
%jH=getelementptr inbounds i8,i8*%jz,i64 16
%jI=bitcast i8*%jH to i32*
store i32 3,i32*%jI,align 4
%jJ=call i8*@sml_alloc(i32 inreg 20)#0
%jK=bitcast i8*%jJ to i32*
%jL=getelementptr inbounds i8,i8*%jJ,i64 -4
%jM=bitcast i8*%jL to i32*
store i32 1342177296,i32*%jM,align 4
%jN=getelementptr inbounds i8,i8*%jJ,i64 4
%jO=bitcast i8*%jN to i32*
store i32 0,i32*%jO,align 1
store i32 3,i32*%jK,align 4
%jP=load i8*,i8**%c,align 8
%jQ=getelementptr inbounds i8,i8*%jJ,i64 8
%jR=bitcast i8*%jQ to i8**
store i8*%jP,i8**%jR,align 8
%jS=getelementptr inbounds i8,i8*%jJ,i64 16
%jT=bitcast i8*%jS to i32*
store i32 2,i32*%jT,align 4
ret i8*%jJ
jU:
%jV=bitcast i8*%jw to i8**
%jW=load i8*,i8**%jV,align 8
ret i8*%jW
jX:
ret i8*%t
jY:
%jZ=getelementptr inbounds i8,i8*%dE,i64 16
%j0=bitcast i8*%jZ to i8**
%j1=load i8*,i8**%j0,align 8
store i8*%dG,i8**%d,align 8
store i8*%dJ,i8**%e,align 8
store i8*%j1,i8**%f,align 8
%j2=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%j3=getelementptr inbounds i8,i8*%j2,i64 16
%j4=bitcast i8*%j3 to i8*(i8*,i8*)**
%j5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j4,align 8
%j6=bitcast i8*%j2 to i8**
%j7=load i8*,i8**%j6,align 8
store i8*%j7,i8**%g,align 8
%j8=call i8*@sml_alloc(i32 inreg 12)#0
%j9=getelementptr inbounds i8,i8*%j8,i64 -4
%ka=bitcast i8*%j9 to i32*
store i32 1342177288,i32*%ka,align 4
store i8*%j8,i8**%h,align 8
%kb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kc=bitcast i8*%j8 to i8**
store i8*%kb,i8**%kc,align 8
%kd=getelementptr inbounds i8,i8*%j8,i64 8
%ke=bitcast i8*%kd to i32*
store i32 1,i32*%ke,align 4
%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
%ki=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kj=bitcast i8*%kf to i8**
store i8*%ki,i8**%kj,align 8
%kk=getelementptr inbounds i8,i8*%kf,i64 8
%kl=bitcast i8*%kk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_139 to void(...)*),void(...)**%kl,align 8
%km=getelementptr inbounds i8,i8*%kf,i64 16
%kn=bitcast i8*%km to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7substTyE_139 to void(...)*),void(...)**%kn,align 8
%ko=getelementptr inbounds i8,i8*%kf,i64 24
%kp=bitcast i8*%ko to i32*
store i32 -2147483647,i32*%kp,align 4
%kq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kr=call fastcc i8*%j5(i8*inreg%kq,i8*inreg%kf)
%ks=getelementptr inbounds i8,i8*%kr,i64 16
%kt=bitcast i8*%ks to i8*(i8*,i8*)**
%ku=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kt,align 8
%kv=bitcast i8*%kr to i8**
%kw=load i8*,i8**%kv,align 8
%kx=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ky=call fastcc i8*%ku(i8*inreg%kw,i8*inreg%kx)
store i8*%ky,i8**%c,align 8
%kz=call i8*@sml_alloc(i32 inreg 28)#0
%kA=getelementptr inbounds i8,i8*%kz,i64 -4
%kB=bitcast i8*%kA to i32*
store i32 1342177304,i32*%kB,align 4
store i8*%kz,i8**%d,align 8
%kC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kD=bitcast i8*%kz to i8**
store i8*%kC,i8**%kD,align 8
%kE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kF=getelementptr inbounds i8,i8*%kz,i64 8
%kG=bitcast i8*%kF to i8**
store i8*%kE,i8**%kG,align 8
%kH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kI=getelementptr inbounds i8,i8*%kz,i64 16
%kJ=bitcast i8*%kI to i8**
store i8*%kH,i8**%kJ,align 8
%kK=getelementptr inbounds i8,i8*%kz,i64 24
%kL=bitcast i8*%kK to i32*
store i32 7,i32*%kL,align 4
%kM=call i8*@sml_alloc(i32 inreg 20)#0
%kN=bitcast i8*%kM to i32*
%kO=getelementptr inbounds i8,i8*%kM,i64 -4
%kP=bitcast i8*%kO to i32*
store i32 1342177296,i32*%kP,align 4
%kQ=getelementptr inbounds i8,i8*%kM,i64 4
%kR=bitcast i8*%kQ to i32*
store i32 0,i32*%kR,align 1
store i32 1,i32*%kN,align 4
%kS=load i8*,i8**%d,align 8
%kT=getelementptr inbounds i8,i8*%kM,i64 8
%kU=bitcast i8*%kT to i8**
store i8*%kS,i8**%kU,align 8
%kV=getelementptr inbounds i8,i8*%kM,i64 16
%kW=bitcast i8*%kV to i32*
store i32 2,i32*%kW,align 4
ret i8*%kM
}
define internal fastcc void@_SMLLLN18ElaborateInterface9checkSpecE_166(i8*inreg%a)#2 gc"smlsharp"{
j:
%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
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
br label%h
h:
%i=phi i8**[%O,%L],[%g,%j]
%k=load i8*,i8**%i,align 8
store i8*%k,i8**%b,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%b,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%k,%h]
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 0,label%ar
i32 1,label%P
i32 2,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,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@H,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:
store i8*null,i8**%b,align 8
%M=getelementptr inbounds i8,i8*%q,i64 8
%N=bitcast i8*%M to i8***
%O=load i8**,i8***%N,align 8
br label%h
P:
%Q=getelementptr inbounds i8,i8*%q,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%b,align 8
%T=call fastcc i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg%S)
store i8*%T,i8**%c,align 8
%U=load i8*,i8**@_SMLZN14ElaborateError21SigIDFoundInInterfaceE,align 8
store i8*%U,i8**%d,align 8
%V=call i8*@sml_alloc(i32 inreg 28)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177304,i32*%X,align 4
store i8*%V,i8**%e,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%V,i64 8
%ab=bitcast i8*%aa to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@G,i64 0,i32 2,i64 0),i8**%ab,align 8
%ac=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%V,i64 24
%ag=bitcast i8*%af to i32*
store i32 7,i32*%ag,align 4
%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=load i8*,i8**%e,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ah,i64 16
%aq=bitcast i8*%ap to i32*
store i32 3,i32*%aq,align 4
tail call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%ah)
ret void
ar:
%as=getelementptr inbounds i8,i8*%q,i64 8
%at=bitcast i8*%as to i8***
%au=load i8**,i8***%at,align 8
%av=load i8*,i8**%au,align 8
tail call fastcc void@_SMLLLN18ElaborateInterface9checkSpecE_156(i8*inreg%av)
ret void
}
define internal fastcc void@_SMLLLN18ElaborateInterface9checkSpecE_156(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
h:
%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
br label%f
f:
%g=phi i8*[%bl,%bh],[%a,%h]
store i8*%g,i8**%b,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
br label%m
m:
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%q,label%p
p:
call void@sml_check(i32 inreg%n)
br label%q
q:
%r=load i8*,i8**%b,align 8
%s=icmp eq i8*%r,null
br i1%s,label%O,label%t
t:
%u=bitcast i8*%r to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 11,label%O
i32 9,label%O
i32 10,label%O
i32 0,label%O
i32 4,label%O
i32 2,label%O
i32 8,label%bm
i32 3,label%aj
i32 5,label%aa
i32 6,label%V
i32 7,label%P
i32 1,label%O
]
w:
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%b,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%c,align 8
%B=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@l,i64 0,i32 2,i64 0),i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 60)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177336,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 56
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%c,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
ret void
P:
store i8*null,i8**%b,align 8
%Q=getelementptr inbounds i8,i8*%r,i64 8
%R=bitcast i8*%Q to i8***
%S=load i8**,i8***%R,align 8
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%b,align 8
br label%U
U:
br label%m
V:
store i8*null,i8**%b,align 8
%W=getelementptr inbounds i8,i8*%r,i64 8
%X=bitcast i8*%W to i8***
%Y=load i8**,i8***%X,align 8
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%b,align 8
br label%U
aa:
%ab=getelementptr inbounds i8,i8*%r,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
%ag=getelementptr inbounds i8,i8*%ad,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%b,align 8
call fastcc void@_SMLLLN18ElaborateInterface9checkSpecE_156(i8*inreg%af)
br label%U
aj:
%ak=phi i8*[%au,%at],[%r,%t]
store i8*null,i8**%b,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8***
%an=load i8**,i8***%am,align 8
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%b,align 8
%ap=load atomic i32,i32*@sml_check_flag unordered,align 4
%aq=icmp eq i32%ap,0
br i1%aq,label%at,label%ar
ar:
call void@sml_check(i32 inreg%ap)
%as=load i8*,i8**%b,align 8
br label%at
at:
%au=phi i8*[%as,%ar],[%ao,%aj]
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
switch i32%aw,label%ax[
i32 0,label%bh
i32 1,label%aP
i32 2,label%aj
]
ax:
call void@sml_matchcomp_bug()
%ay=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ay,i8**%b,align 8
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
store i8*%az,i8**%c,align 8
%aC=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@H,i64 0,i32 2,i64 0),i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=call i8*@sml_alloc(i32 inreg 60)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177336,i32*%aK,align 4
%aL=getelementptr inbounds i8,i8*%aI,i64 56
%aM=bitcast i8*%aL to i32*
store i32 1,i32*%aM,align 4
%aN=load i8*,i8**%c,align 8
%aO=bitcast i8*%aI to i8**
store i8*%aN,i8**%aO,align 8
call void@sml_raise(i8*inreg%aI)#1
unreachable
aP:
%aQ=getelementptr inbounds i8,i8*%au,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%b,align 8
%aT=call fastcc i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg%aS)
store i8*%aT,i8**%c,align 8
%aU=load i8*,i8**@_SMLZN14ElaborateError21SigIDFoundInInterfaceE,align 8
store i8*%aU,i8**%d,align 8
%aV=call i8*@sml_alloc(i32 inreg 28)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177304,i32*%aX,align 4
store i8*%aV,i8**%e,align 8
%aY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aV,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@G,i64 0,i32 2,i64 0),i8**%a1,align 8
%a2=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a3=getelementptr inbounds i8,i8*%aV,i64 16
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aV,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
%ba=load i8*,i8**%c,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=load i8*,i8**%e,align 8
%bd=getelementptr inbounds i8,i8*%a7,i64 8
%be=bitcast i8*%bd to i8**
store i8*%bc,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%a7,i64 16
%bg=bitcast i8*%bf to i32*
store i32 3,i32*%bg,align 4
tail call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%a7)
ret void
bh:
store i8*null,i8**%b,align 8
%bi=getelementptr inbounds i8,i8*%au,i64 8
%bj=bitcast i8*%bi to i8***
%bk=load i8**,i8***%bj,align 8
%bl=load i8*,i8**%bk,align 8
br label%f
bm:
%bn=getelementptr inbounds i8,i8*%r,i64 8
%bo=bitcast i8*%bn to i8***
%bp=load i8**,i8***%bo,align 8
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%b,align 8
%br=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%bs=getelementptr inbounds i8,i8*%br,i64 16
%bt=bitcast i8*%bs to i8*(i8*,i8*)**
%bu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bt,align 8
%bv=bitcast i8*%br to i8**
%bw=load i8*,i8**%bv,align 8
%bx=call fastcc i8*%bu(i8*inreg%bw,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*))
%by=getelementptr inbounds i8,i8*%bx,i64 16
%bz=bitcast i8*%by to i8*(i8*,i8*)**
%bA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bz,align 8
%bB=bitcast i8*%bx to i8**
%bC=load i8*,i8**%bB,align 8
%bD=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bE=call fastcc i8*%bA(i8*inreg%bC,i8*inreg%bD)
ret void
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface10elabExbindE_172(i8*inreg%a)#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 0,label%aq
i32 1,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,[77x i8]}>,<{[4x i8],i32,[77x 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=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%b,align 8
%M=getelementptr inbounds i8,i8*%J,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%J,i64 16
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%d,align 8
call fastcc void@_SMLFN13ElaborateCore35checkReservedNameForConstructorBindE(i8*inreg%R)
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,i32*%U,align 4
store i8*%S,i8**%e,align 8
%V=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 16
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%S,i64 24
%ae=bitcast i8*%ad to i32*
store i32 7,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 20)#0
%ag=bitcast i8*%af to i32*
%ah=getelementptr inbounds i8,i8*%af,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%af,i64 4
%ak=bitcast i8*%aj to i32*
store i32 0,i32*%ak,align 1
store i32 2,i32*%ag,align 4
%al=load i8*,i8**%e,align 8
%am=getelementptr inbounds i8,i8*%af,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 16
%ap=bitcast i8*%ao to i32*
store i32 2,i32*%ap,align 4
ret i8*%af
aq:
%ar=getelementptr inbounds i8,i8*%k,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%b,align 8
%aw=getelementptr inbounds i8,i8*%at,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%c,align 8
%az=getelementptr inbounds i8,i8*%at,i64 16
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%d,align 8
call fastcc void@_SMLFN13ElaborateCore35checkReservedNameForConstructorBindE(i8*inreg%ay)
%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**%b,align 8
store i8*null,i8**%b,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%c,align 8
store i8*null,i8**%c,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**%d,align 8
store i8*null,i8**%d,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 1,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
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface11elabTypbindE_175(i8*inreg%a)#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i32*
%o=load i32,i32*%n,align 4
switch i32%o,label%p[
i32 1,label%aE
i32 0,label%H
]
p:
call void@sml_matchcomp_bug()
%q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%q,i8**%b,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%c,align 8
%u=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@o,i64 0,i32 2,i64 0),i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 60)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177336,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 56
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
call void@sml_raise(i8*inreg%A)#1
unreachable
H:
%I=getelementptr inbounds i8,i8*%l,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=getelementptr inbounds i8,i8*%K,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%b,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 16
%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*%K,i64 24
%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*%K,i64 32
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%e,align 8
%Z=call i8*@sml_alloc(i32 inreg 44)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177320,i32*%ab,align 4
store i8*%Z,i8**%f,align 8
%ac=getelementptr inbounds i8,i8*%Z,i64 4
%ad=bitcast i8*%ac to i32*
store i32 0,i32*%ad,align 1
%ae=bitcast i8*%Z to i32*
store i32%M,i32*%ae,align 4
%af=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=getelementptr inbounds i8,i8*%Z,i64 16
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%Z,i64 24
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ap=getelementptr inbounds i8,i8*%Z,i64 32
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%Z,i64 40
%as=bitcast i8*%ar to i32*
store i32 30,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=bitcast i8*%at to i32*
%av=getelementptr inbounds i8,i8*%at,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177296,i32*%aw,align 4
%ax=getelementptr inbounds i8,i8*%at,i64 4
%ay=bitcast i8*%ax to i32*
store i32 0,i32*%ay,align 1
store i32 3,i32*%au,align 4
%az=load i8*,i8**%f,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%at,i64 16
%aD=bitcast i8*%aC to i32*
store i32 2,i32*%aD,align 4
ret i8*%at
aE:
%aF=getelementptr inbounds i8,i8*%l,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%b,align 8
%aK=getelementptr inbounds i8,i8*%aH,i64 8
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
store i8*%aM,i8**%c,align 8
%aN=getelementptr inbounds i8,i8*%aH,i64 16
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%d,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 24
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%e,align 8
%aT=call i8*@sml_alloc(i32 inreg 36)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177312,i32*%aV,align 4
store i8*%aT,i8**%f,align 8
%aW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aZ=getelementptr inbounds i8,i8*%aT,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a2=getelementptr inbounds i8,i8*%aT,i64 16
%a3=bitcast i8*%a2 to i8**
store i8*%a1,i8**%a3,align 8
%a4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a5=getelementptr inbounds i8,i8*%aT,i64 24
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aT,i64 32
%a8=bitcast i8*%a7 to i32*
store i32 15,i32*%a8,align 4
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=bitcast i8*%a9 to i32*
%bb=getelementptr inbounds i8,i8*%a9,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177296,i32*%bc,align 4
%bd=getelementptr inbounds i8,i8*%a9,i64 4
%be=bitcast i8*%bd to i32*
store i32 0,i32*%be,align 1
store i32 5,i32*%ba,align 4
%bf=load i8*,i8**%f,align 8
%bg=getelementptr inbounds i8,i8*%a9,i64 8
%bh=bitcast i8*%bg to i8**
store i8*%bf,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%a9,i64 16
%bj=bitcast i8*%bi to i32*
store i32 2,i32*%bj,align 4
ret i8*%a9
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_209(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_211(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_213(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*@_SMLLLN18ElaborateInterface7elabDecE_216(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**@_SMLZN14ElaborateError27DuplicateTypeNameInDatatypeE,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,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@u,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*@_SMLLLN18ElaborateInterface7elabDecE_218(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_220(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*@_SMLLLN18ElaborateInterface7elabDecE_222(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%j
g:
%h=bitcast i8*%a to i8**
%i=bitcast i8*%b to i8**
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%j],[%h,%g]
%q=phi i8**[%l,%j],[%i,%g]
%r=load i8*,i8**%p,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
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
%x=load i8*,i8**%q,align 8
%y=tail call fastcc i8*%u(i8*inreg%w,i8*inreg%x)
ret i8*%y
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_224(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,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@y,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*@_SMLLLN18ElaborateInterface7elabDecE_226(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*@_SMLLLN18ElaborateInterface7elabDecE_228(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%j
g:
%h=bitcast i8*%a to i8**
%i=bitcast i8*%b to i8**
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%j],[%h,%g]
%q=phi i8**[%l,%j],[%i,%g]
%r=load i8*,i8**%p,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
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
%x=load i8*,i8**%q,align 8
%y=tail call fastcc i8*%u(i8*inreg%w,i8*inreg%x)
ret i8*%y
}
define internal fastcc i8*@_SMLLL5subst_229(i8*inreg%a)#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%b,align 8
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call fastcc i8*@_SMLFN9SymbolEnv6insertE(i32 inreg 1,i32 inreg 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
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=load i8*,i8**%b,align 8
%y=getelementptr inbounds i8,i8*%x,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%d,align 8
%B=call i8*@sml_alloc(i32 inreg 28)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177304,i32*%D,align 4
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=load i8*,i8**%b,align 8
%K=getelementptr inbounds i8,i8*%B,i64 16
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%B,i64 24
%N=bitcast i8*%M to i32*
store i32 7,i32*%N,align 4
%O=load i8*,i8**%e,align 8
%P=tail call fastcc i8*%u(i8*inreg%O,i8*inreg%B)
ret i8*%P
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_231(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=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=icmp eq i8*%u,null
br i1%v,label%w,label%x
w:
ret i8*%l
x:
%y=bitcast i8**%e to i8***
%z=load i8**,i8***%y,align 8
store i8*null,i8**%e,align 8
%A=load i8*,i8**%z,align 8
%B=bitcast i8*%u to i8**
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_120(i8*inreg%A,i8*inreg%C)
store i8*%D,i8**%e,align 8
%E=call i8*@sml_alloc(i32 inreg 12)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177288,i32*%G,align 4
store i8*%E,i8**%f,align 8
%H=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i32*
store i32 1,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 28)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177304,i32*%N,align 4
%O=load i8*,i8**%c,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=load i8*,i8**%d,align 8
%R=getelementptr inbounds i8,i8*%L,i64 8
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=load i8*,i8**%f,align 8
%U=getelementptr inbounds i8,i8*%L,i64 16
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%L,i64 24
%X=bitcast i8*%W to i32*
store i32 7,i32*%X,align 4
ret i8*%L
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_232(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=getelementptr inbounds i8,i8*%o,i64 24
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%f,align 8
%B=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%h,align 8
%H=bitcast i8**%g to i8***
%I=load i8**,i8***%H,align 8
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%g,align 8
%K=call i8*@sml_alloc(i32 inreg 12)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177288,i32*%M,align 4
store i8*%K,i8**%i,align 8
%N=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 i32*
store i32 1,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_231 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_231 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 -2147483647,i32*%ab,align 4
%ac=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ad=call fastcc i8*%E(i8*inreg%ac,i8*inreg%R)
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=call fastcc i8*%ag(i8*inreg%ai,i8*inreg%aj)
store i8*%ak,i8**%c,align 8
%al=call i8*@sml_alloc(i32 inreg 36)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177312,i32*%an,align 4
%ao=load i8*,i8**%c,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%d,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=load i8*,i8**%e,align 8
%au=getelementptr inbounds i8,i8*%al,i64 16
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=load i8*,i8**%f,align 8
%ax=getelementptr inbounds i8,i8*%al,i64 24
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%al,i64 32
%aA=bitcast i8*%az to i32*
store i32 15,i32*%aA,align 4
ret i8*%al
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_233(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%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 5,i32*%d,align 4
%i=load i8*,i8**%b,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*@_SMLLLN18ElaborateInterface7elabDecE_177(i8*inreg%a)#2 gc"smlsharp"{
p:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%b,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%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],[%a,%p]
%q=bitcast i8*%o to i32*
%r=load i32,i32*%q,align 4
switch i32%r,label%s[
i32 6,label%hV
i32 3,label%hD
i32 0,label%co
i32 5,label%bF
i32 4,label%aW
i32 1,label%aE
i32 2,label%K
]
s:
call void@sml_matchcomp_bug()
%t=load i8*,i8**@_SMLZ5Match,align 8
store i8*%t,i8**%b,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**%c,align 8
%x=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@D,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%c,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=getelementptr inbounds i8,i8*%o,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%b,align 8
%Q=getelementptr inbounds i8,i8*%N,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=getelementptr inbounds i8,i8*%N,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%c,align 8
%W=call fastcc i8*@_SMLLLN18ElaborateInterface10elabStrexpE_178(i8*inreg%S)
store i8*%W,i8**%d,align 8
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
store i8*%X,i8**%e,align 8
%aa=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 16
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%X,i64 24
%aj=bitcast i8*%ai to i32*
store i32 7,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
store i8*%ak,i8**%b,align 8
%an=getelementptr inbounds i8,i8*%ak,i64 4
%ao=bitcast i8*%an to i32*
store i32 0,i32*%ao,align 1
%ap=bitcast i8*%ak to i32*
store i32 4,i32*%ap,align 4
%aq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 16
%au=bitcast i8*%at to i32*
store i32 2,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 20)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177296,i32*%ax,align 4
%ay=load i8*,i8**%b,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to i8**
store i8*null,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to i32*
store i32 3,i32*%aD,align 4
ret i8*%av
aE:
%aF=getelementptr inbounds i8,i8*%o,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%b,align 8
%aI=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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
%aO=call fastcc i8*%aL(i8*inreg%aN,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*))
%aP=getelementptr inbounds i8,i8*%aO,i64 16
%aQ=bitcast i8*%aP to i8*(i8*,i8*)**
%aR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aQ,align 8
%aS=bitcast i8*%aO to i8**
%aT=load i8*,i8**%aS,align 8
%aU=load i8*,i8**%b,align 8
%aV=tail call fastcc i8*%aR(i8*inreg%aT,i8*inreg%aU)
ret i8*%aV
aW:
%aX=getelementptr inbounds i8,i8*%o,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
store i8*%a1,i8**%b,align 8
%a2=getelementptr inbounds i8,i8*%aZ,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%c,align 8
%a5=getelementptr inbounds i8,i8*%aZ,i64 16
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%d,align 8
%a8=call i8*@sml_alloc(i32 inreg 28)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177304,i32*%ba,align 4
store i8*%a8,i8**%e,align 8
%bb=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bc=bitcast i8*%a8 to i8**
store i8*%bb,i8**%bc,align 8
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%be=getelementptr inbounds i8,i8*%a8,i64 8
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bh=getelementptr inbounds i8,i8*%a8,i64 16
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%a8,i64 24
%bk=bitcast i8*%bj to i32*
store i32 7,i32*%bk,align 4
%bl=call i8*@sml_alloc(i32 inreg 20)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177296,i32*%bn,align 4
store i8*%bl,i8**%b,align 8
%bo=getelementptr inbounds i8,i8*%bl,i64 4
%bp=bitcast i8*%bo to i32*
store i32 0,i32*%bp,align 1
%bq=bitcast i8*%bl to i32*
store i32 6,i32*%bq,align 4
%br=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 16
%bv=bitcast i8*%bu to i32*
store i32 2,i32*%bv,align 4
%bw=call i8*@sml_alloc(i32 inreg 20)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177296,i32*%by,align 4
%bz=load i8*,i8**%b,align 8
%bA=bitcast i8*%bw to i8**
store i8*%bz,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bw,i64 8
%bC=bitcast i8*%bB to i8**
store i8*null,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bw,i64 16
%bE=bitcast i8*%bD to i32*
store i32 3,i32*%bE,align 4
ret i8*%bw
bF:
%bG=getelementptr inbounds i8,i8*%o,i64 8
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%b,align 8
%bL=getelementptr inbounds i8,i8*%bI,i64 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
store i8*%bN,i8**%c,align 8
%bO=getelementptr inbounds i8,i8*%bI,i64 16
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%d,align 8
%bR=call i8*@sml_alloc(i32 inreg 28)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177304,i32*%bT,align 4
store i8*%bR,i8**%e,align 8
%bU=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bX=getelementptr inbounds i8,i8*%bR,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=getelementptr inbounds i8,i8*%bR,i64 16
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bR,i64 24
%b3=bitcast i8*%b2 to i32*
store i32 7,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
store i8*%b4,i8**%b,align 8
%b7=getelementptr inbounds i8,i8*%b4,i64 4
%b8=bitcast i8*%b7 to i32*
store i32 0,i32*%b8,align 1
%b9=bitcast i8*%b4 to i32*
store i32 7,i32*%b9,align 4
%ca=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 8
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b4,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
%ci=load i8*,i8**%b,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
ret i8*%cf
co:
%cp=getelementptr inbounds i8,i8*%o,i64 8
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
%cs=bitcast i8*%cr to i8**
%ct=load i8*,i8**%cs,align 8
store i8*%ct,i8**%b,align 8
%cu=getelementptr inbounds i8,i8*%cr,i64 8
%cv=bitcast i8*%cu to i8**
%cw=load i8*,i8**%cv,align 8
store i8*%cw,i8**%c,align 8
%cx=getelementptr inbounds i8,i8*%cr,i64 16
%cy=bitcast i8*%cx to i8**
%cz=load i8*,i8**%cy,align 8
store i8*%cz,i8**%d,align 8
%cA=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(i32 inreg 1,i32 inreg 8)
%cB=getelementptr inbounds i8,i8*%cA,i64 16
%cC=bitcast i8*%cB to i8*(i8*,i8*)**
%cD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cC,align 8
%cE=bitcast i8*%cA to i8**
%cF=load i8*,i8**%cE,align 8
%cG=call fastcc i8*%cD(i8*inreg%cF,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*))
%cH=getelementptr inbounds i8,i8*%cG,i64 16
%cI=bitcast i8*%cH to i8*(i8*,i8*)**
%cJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cI,align 8
%cK=bitcast i8*%cG to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%h,align 8
%cM=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%cN=getelementptr inbounds i8,i8*%cM,i64 16
%cO=bitcast i8*%cN to i8*(i8*,i8*)**
%cP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cO,align 8
%cQ=bitcast i8*%cM to i8**
%cR=load i8*,i8**%cQ,align 8
store i8*%cR,i8**%g,align 8
%cS=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cT=getelementptr inbounds i8,i8*%cS,i64 16
%cU=bitcast i8*%cT to i8*(i8*,i8*)**
%cV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cU,align 8
%cW=bitcast i8*%cS to i8**
%cX=load i8*,i8**%cW,align 8
%cY=call fastcc i8*%cV(i8*inreg%cX,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*))
%cZ=getelementptr inbounds i8,i8*%cY,i64 16
%c0=bitcast i8*%cZ to i8*(i8*,i8*)**
%c1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c0,align 8
%c2=bitcast i8*%cY to i8**
%c3=load i8*,i8**%c2,align 8
%c4=load i8*,i8**%b,align 8
%c5=call fastcc i8*%c1(i8*inreg%c3,i8*inreg%c4)
store i8*%c5,i8**%e,align 8
%c6=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%c7=getelementptr inbounds i8,i8*%c6,i64 16
%c8=bitcast i8*%c7 to i8*(i8*,i8*)**
%c9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c8,align 8
%da=bitcast i8*%c6 to i8**
%db=load i8*,i8**%da,align 8
%dc=call fastcc i8*%c9(i8*inreg%db,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*))
%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=load i8*,i8**%d,align 8
%dj=call fastcc i8*%df(i8*inreg%dh,i8*inreg%di)
store i8*%dj,i8**%f,align 8
%dk=call i8*@sml_alloc(i32 inreg 20)#0
%dl=getelementptr inbounds i8,i8*%dk,i64 -4
%dm=bitcast i8*%dl to i32*
store i32 1342177296,i32*%dm,align 4
%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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dq=getelementptr inbounds i8,i8*%dk,i64 8
%dr=bitcast i8*%dq to i8**
store i8*%dp,i8**%dr,align 8
%ds=getelementptr inbounds i8,i8*%dk,i64 16
%dt=bitcast i8*%ds to i32*
store i32 3,i32*%dt,align 4
%du=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dv=call fastcc i8*%cP(i8*inreg%du,i8*inreg%dk)
%dw=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dx=call fastcc i8*%cJ(i8*inreg%dw,i8*inreg%dv)
%dy=getelementptr inbounds i8,i8*%dx,i64 16
%dz=bitcast i8*%dy to i8*(i8*,i8*)**
%dA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dz,align 8
%dB=bitcast i8*%dx to i8**
%dC=load i8*,i8**%dB,align 8
%dD=call fastcc i8*%dA(i8*inreg%dC,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*))
%dE=call fastcc i8*@_SMLFN14UserErrorUtils22checkSymbolDuplicationE(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
%dK=call fastcc i8*%dH(i8*inreg%dJ,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*))
store i8*%dK,i8**%e,align 8
%dL=call fastcc i8*@_SMLFN4List6concatE(i32 inreg 1,i32 inreg 8)
store i8*%dL,i8**%f,align 8
%dM=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
store i8*%dM,i8**%g,align 8
%dN=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dO=getelementptr inbounds i8,i8*%dN,i64 16
%dP=bitcast i8*%dO to i8*(i8*,i8*)**
%dQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dP,align 8
%dR=bitcast i8*%dN to i8**
%dS=load i8*,i8**%dR,align 8
%dT=call fastcc i8*%dQ(i8*inreg%dS,i8*inreg 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*))
store i8*%dT,i8**%h,align 8
%dU=load i8*,i8**%e,align 8
%dV=getelementptr inbounds i8,i8*%dU,i64 16
%dW=bitcast i8*%dV to i8*(i8*,i8*)**
%dX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dW,align 8
%dY=bitcast i8*%dU to i8**
%dZ=load i8*,i8**%dY,align 8
store i8*%dZ,i8**%i,align 8
%d0=load i8*,i8**%f,align 8
%d1=getelementptr inbounds i8,i8*%d0,i64 16
%d2=bitcast i8*%d1 to i8*(i8*,i8*)**
%d3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d2,align 8
%d4=bitcast i8*%d0 to i8**
%d5=load i8*,i8**%d4,align 8
store i8*%d5,i8**%f,align 8
%d6=load i8*,i8**%g,align 8
%d7=getelementptr inbounds i8,i8*%d6,i64 16
%d8=bitcast i8*%d7 to i8*(i8*,i8*)**
%d9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d8,align 8
store i8*null,i8**%g,align 8
%ea=bitcast i8*%d6 to i8**
%eb=load i8*,i8**%ea,align 8
store i8*%eb,i8**%e,align 8
%ec=call i8*@sml_alloc(i32 inreg 12)#0
%ed=getelementptr inbounds i8,i8*%ec,i64 -4
%ee=bitcast i8*%ed to i32*
store i32 1342177288,i32*%ee,align 4
store i8*%ec,i8**%g,align 8
%ef=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eg=bitcast i8*%ec to i8**
store i8*%ef,i8**%eg,align 8
%eh=getelementptr inbounds i8,i8*%ec,i64 8
%ei=bitcast i8*%eh to i32*
store i32 1,i32*%ei,align 4
%ej=call i8*@sml_alloc(i32 inreg 28)#0
%ek=getelementptr inbounds i8,i8*%ej,i64 -4
%el=bitcast i8*%ek to i32*
store i32 1342177304,i32*%el,align 4
%em=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%en=bitcast i8*%ej to i8**
store i8*%em,i8**%en,align 8
%eo=getelementptr inbounds i8,i8*%ej,i64 8
%ep=bitcast i8*%eo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_222 to void(...)*),void(...)**%ep,align 8
%eq=getelementptr inbounds i8,i8*%ej,i64 16
%er=bitcast i8*%eq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_222 to void(...)*),void(...)**%er,align 8
%es=getelementptr inbounds i8,i8*%ej,i64 24
%et=bitcast i8*%es to i32*
store i32 -2147483647,i32*%et,align 4
%eu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ev=call fastcc i8*%d9(i8*inreg%eu,i8*inreg%ej)
%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**
%eA=load i8*,i8**%ez,align 8
%eB=load i8*,i8**%b,align 8
%eC=call fastcc i8*%ey(i8*inreg%eA,i8*inreg%eB)
%eD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eE=call fastcc i8*%d3(i8*inreg%eD,i8*inreg%eC)
%eF=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eG=call fastcc i8*%dX(i8*inreg%eF,i8*inreg%eE)
%eH=getelementptr inbounds i8,i8*%eG,i64 16
%eI=bitcast i8*%eH to i8*(i8*,i8*)**
%eJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eI,align 8
%eK=bitcast i8*%eG to i8**
%eL=load i8*,i8**%eK,align 8
%eM=call fastcc i8*%eJ(i8*inreg%eL,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*))
%eN=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%eO=getelementptr inbounds i8,i8*%eN,i64 16
%eP=bitcast i8*%eO to i8*(i8*,i8*)**
%eQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eP,align 8
%eR=bitcast i8*%eN to i8**
%eS=load i8*,i8**%eR,align 8
%eT=load i8*,i8**@_SMLZN13ElaborateCore27checkReservedNameForValBindE,align 8
%eU=call fastcc i8*%eQ(i8*inreg%eS,i8*inreg%eT)
store i8*%eU,i8**%e,align 8
%eV=call fastcc i8*@_SMLFN4List6concatE(i32 inreg 1,i32 inreg 8)
store i8*%eV,i8**%f,align 8
%eW=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
store i8*%eW,i8**%g,align 8
%eX=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%eY=getelementptr inbounds i8,i8*%eX,i64 16
%eZ=bitcast i8*%eY to i8*(i8*,i8*)**
%e0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eZ,align 8
%e1=bitcast i8*%eX to i8**
%e2=load i8*,i8**%e1,align 8
%e3=call fastcc i8*%e0(i8*inreg%e2,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*))
store i8*%e3,i8**%h,align 8
%e4=load i8*,i8**%e,align 8
%e5=getelementptr inbounds i8,i8*%e4,i64 16
%e6=bitcast i8*%e5 to i8*(i8*,i8*)**
%e7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e6,align 8
%e8=bitcast i8*%e4 to i8**
%e9=load i8*,i8**%e8,align 8
store i8*%e9,i8**%i,align 8
%fa=load i8*,i8**%f,align 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
store i8*%ff,i8**%f,align 8
%fg=load i8*,i8**%g,align 8
%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
store i8*null,i8**%g,align 8
%fk=bitcast i8*%fg to i8**
%fl=load i8*,i8**%fk,align 8
store i8*%fl,i8**%e,align 8
%fm=call i8*@sml_alloc(i32 inreg 12)#0
%fn=getelementptr inbounds i8,i8*%fm,i64 -4
%fo=bitcast i8*%fn to i32*
store i32 1342177288,i32*%fo,align 4
store i8*%fm,i8**%g,align 8
%fp=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fq=bitcast i8*%fm to i8**
store i8*%fp,i8**%fq,align 8
%fr=getelementptr inbounds i8,i8*%fm,i64 8
%fs=bitcast i8*%fr to i32*
store i32 1,i32*%fs,align 4
%ft=call i8*@sml_alloc(i32 inreg 28)#0
%fu=getelementptr inbounds i8,i8*%ft,i64 -4
%fv=bitcast i8*%fu to i32*
store i32 1342177304,i32*%fv,align 4
%fw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fx=bitcast i8*%ft to i8**
store i8*%fw,i8**%fx,align 8
%fy=getelementptr inbounds i8,i8*%ft,i64 8
%fz=bitcast i8*%fy to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_228 to void(...)*),void(...)**%fz,align 8
%fA=getelementptr inbounds i8,i8*%ft,i64 16
%fB=bitcast i8*%fA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_228 to void(...)*),void(...)**%fB,align 8
%fC=getelementptr inbounds i8,i8*%ft,i64 24
%fD=bitcast i8*%fC to i32*
store i32 -2147483647,i32*%fD,align 4
%fE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fF=call fastcc i8*%fj(i8*inreg%fE,i8*inreg%ft)
%fG=getelementptr inbounds i8,i8*%fF,i64 16
%fH=bitcast i8*%fG to i8*(i8*,i8*)**
%fI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fH,align 8
%fJ=bitcast i8*%fF to i8**
%fK=load i8*,i8**%fJ,align 8
%fL=load i8*,i8**%b,align 8
%fM=call fastcc i8*%fI(i8*inreg%fK,i8*inreg%fL)
%fN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fO=call fastcc i8*%fd(i8*inreg%fN,i8*inreg%fM)
%fP=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fQ=call fastcc i8*%e7(i8*inreg%fP,i8*inreg%fO)
%fR=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
store i8*%fR,i8**%e,align 8
%fS=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fT=getelementptr inbounds i8,i8*%fS,i64 16
%fU=bitcast i8*%fT to i8*(i8*,i8*)**
%fV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fU,align 8
%fW=bitcast i8*%fS to i8**
%fX=load i8*,i8**%fW,align 8
%fY=call fastcc i8*%fV(i8*inreg%fX,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*))
%fZ=getelementptr inbounds i8,i8*%fY,i64 16
%f0=bitcast i8*%fZ to i8*(i8*,i8*)**
%f1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f0,align 8
%f2=bitcast i8*%fY to i8**
%f3=load i8*,i8**%f2,align 8
store i8*%f3,i8**%f,align 8
%f4=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%f5=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%f6=call fastcc i8*%f1(i8*inreg%f5,i8*inreg%f4)
%f7=getelementptr inbounds i8,i8*%f6,i64 16
%f8=bitcast i8*%f7 to i8*(i8*,i8*)**
%f9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f8,align 8
%ga=bitcast i8*%f6 to i8**
%gb=load i8*,i8**%ga,align 8
%gc=load i8*,i8**%d,align 8
%gd=call fastcc i8*%f9(i8*inreg%gb,i8*inreg%gc)
store i8*%gd,i8**%g,align 8
%ge=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%ge,i8**%h,align 8
%gf=call i8*@sml_alloc(i32 inreg 20)#0
%gg=getelementptr inbounds i8,i8*%gf,i64 -4
%gh=bitcast i8*%gg to i32*
store i32 1342177296,i32*%gh,align 4
store i8*%gf,i8**%f,align 8
%gi=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gj=bitcast i8*%gf to i8**
store i8*%gi,i8**%gj,align 8
%gk=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gl=getelementptr inbounds i8,i8*%gf,i64 8
%gm=bitcast i8*%gl to i8**
store i8*%gk,i8**%gm,align 8
%gn=getelementptr inbounds i8,i8*%gf,i64 16
%go=bitcast i8*%gn to i32*
store i32 3,i32*%go,align 4
%gp=load i8*,i8**%e,align 8
%gq=getelementptr inbounds i8,i8*%gp,i64 16
%gr=bitcast i8*%gq to i8*(i8*,i8*)**
%gs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gr,align 8
%gt=bitcast i8*%gp to i8**
%gu=load i8*,i8**%gt,align 8
store i8*%gu,i8**%e,align 8
%gv=call i8*@sml_alloc(i32 inreg 12)#0
%gw=getelementptr inbounds i8,i8*%gv,i64 -4
%gx=bitcast i8*%gw to i32*
store i32 1342177288,i32*%gx,align 4
store i8*%gv,i8**%g,align 8
%gy=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gz=bitcast i8*%gv to i8**
store i8*%gy,i8**%gz,align 8
%gA=getelementptr inbounds i8,i8*%gv,i64 8
%gB=bitcast i8*%gA to i32*
store i32 1,i32*%gB,align 4
%gC=call i8*@sml_alloc(i32 inreg 28)#0
%gD=getelementptr inbounds i8,i8*%gC,i64 -4
%gE=bitcast i8*%gD to i32*
store i32 1342177304,i32*%gE,align 4
%gF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gG=bitcast i8*%gC to i8**
store i8*%gF,i8**%gG,align 8
%gH=getelementptr inbounds i8,i8*%gC,i64 8
%gI=bitcast i8*%gH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_232 to void(...)*),void(...)**%gI,align 8
%gJ=getelementptr inbounds i8,i8*%gC,i64 16
%gK=bitcast i8*%gJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN18ElaborateInterface7elabDecE_232 to void(...)*),void(...)**%gK,align 8
%gL=getelementptr inbounds i8,i8*%gC,i64 24
%gM=bitcast i8*%gL to i32*
store i32 -2147483647,i32*%gM,align 4
%gN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gO=call fastcc i8*%gs(i8*inreg%gN,i8*inreg%gC)
%gP=getelementptr inbounds i8,i8*%gO,i64 16
%gQ=bitcast i8*%gP to i8*(i8*,i8*)**
%gR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gQ,align 8
%gS=bitcast i8*%gO to i8**
%gT=load i8*,i8**%gS,align 8
%gU=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gV=call fastcc i8*%gR(i8*inreg%gT,i8*inreg%gU)
store i8*%gV,i8**%b,align 8
%gW=call i8*@sml_alloc(i32 inreg 20)#0
%gX=getelementptr inbounds i8,i8*%gW,i64 -4
%gY=bitcast i8*%gX to i32*
store i32 1342177296,i32*%gY,align 4
store i8*%gW,i8**%e,align 8
%gZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%g0=bitcast i8*%gW to i8**
store i8*%gZ,i8**%g0,align 8
%g1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%g2=getelementptr inbounds i8,i8*%gW,i64 8
%g3=bitcast i8*%g2 to i8**
store i8*%g1,i8**%g3,align 8
%g4=getelementptr inbounds i8,i8*%gW,i64 16
%g5=bitcast i8*%g4 to i32*
store i32 3,i32*%g5,align 4
%g6=call i8*@sml_alloc(i32 inreg 20)#0
%g7=getelementptr inbounds i8,i8*%g6,i64 -4
%g8=bitcast i8*%g7 to i32*
store i32 1342177296,i32*%g8,align 4
store i8*%g6,i8**%c,align 8
%g9=bitcast i8*%g6 to i64*
store i64 0,i64*%g9,align 4
%ha=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hb=getelementptr inbounds i8,i8*%g6,i64 8
%hc=bitcast i8*%hb to i8**
store i8*%ha,i8**%hc,align 8
%hd=getelementptr inbounds i8,i8*%g6,i64 16
%he=bitcast i8*%hd to i32*
store i32 2,i32*%he,align 4
%hf=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%hg=getelementptr inbounds i8,i8*%hf,i64 16
%hh=bitcast i8*%hg to i8*(i8*,i8*)**
%hi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hh,align 8
%hj=bitcast i8*%hf to i8**
%hk=load i8*,i8**%hj,align 8
%hl=call fastcc i8*%hi(i8*inreg%hk,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*))
%hm=getelementptr inbounds i8,i8*%hl,i64 16
%hn=bitcast i8*%hm to i8*(i8*,i8*)**
%ho=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hn,align 8
%hp=bitcast i8*%hl to i8**
%hq=load i8*,i8**%hp,align 8
%hr=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hs=call fastcc i8*%ho(i8*inreg%hq,i8*inreg%hr)
store i8*%hs,i8**%b,align 8
%ht=call i8*@sml_alloc(i32 inreg 20)#0
%hu=getelementptr inbounds i8,i8*%ht,i64 -4
%hv=bitcast i8*%hu to i32*
store i32 1342177296,i32*%hv,align 4
%hw=load i8*,i8**%c,align 8
%hx=bitcast i8*%ht to i8**
store i8*%hw,i8**%hx,align 8
%hy=load i8*,i8**%b,align 8
%hz=getelementptr inbounds i8,i8*%ht,i64 8
%hA=bitcast i8*%hz to i8**
store i8*%hy,i8**%hA,align 8
%hB=getelementptr inbounds i8,i8*%ht,i64 16
%hC=bitcast i8*%hB to i32*
store i32 3,i32*%hC,align 4
ret i8*%ht
hD:
%hE=getelementptr inbounds i8,i8*%o,i64 8
%hF=bitcast i8*%hE to i8**
%hG=load i8*,i8**%hF,align 8
store i8*%hG,i8**%b,align 8
%hH=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%hI=getelementptr inbounds i8,i8*%hH,i64 16
%hJ=bitcast i8*%hI to i8*(i8*,i8*)**
%hK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hJ,align 8
%hL=bitcast i8*%hH to i8**
%hM=load i8*,i8**%hL,align 8
%hN=call fastcc i8*%hK(i8*inreg%hM,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*))
%hO=getelementptr inbounds i8,i8*%hN,i64 16
%hP=bitcast i8*%hO to i8*(i8*,i8*)**
%hQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hP,align 8
%hR=bitcast i8*%hN to i8**
%hS=load i8*,i8**%hR,align 8
%hT=load i8*,i8**%b,align 8
%hU=tail call fastcc i8*%hQ(i8*inreg%hS,i8*inreg%hT)
ret i8*%hU
hV:
%hW=getelementptr inbounds i8,i8*%o,i64 8
%hX=bitcast i8*%hW to i8**
%hY=load i8*,i8**%hX,align 8
%hZ=bitcast i8*%hY to i8**
%h0=load i8*,i8**%hZ,align 8
store i8*%h0,i8**%b,align 8
%h1=getelementptr inbounds i8,i8*%hY,i64 8
%h2=bitcast i8*%h1 to i8**
%h3=load i8*,i8**%h2,align 8
store i8*%h3,i8**%c,align 8
%h4=getelementptr inbounds i8,i8*%hY,i64 16
%h5=bitcast i8*%h4 to i8**
%h6=load i8*,i8**%h5,align 8
store i8*%h6,i8**%d,align 8
call fastcc void@_SMLFN13ElaborateCore27checkReservedNameForValBindE(i8*inreg%h6)
%h7=call i8*@sml_alloc(i32 inreg 36)#0
%h8=getelementptr inbounds i8,i8*%h7,i64 -4
%h9=bitcast i8*%h8 to i32*
store i32 1342177312,i32*%h9,align 4
store i8*%h7,i8**%e,align 8
%ia=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ib=bitcast i8*%h7 to i8**
store i8*%ia,i8**%ib,align 8
%ic=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%id=getelementptr inbounds i8,i8*%h7,i64 8
%ie=bitcast i8*%id to i8**
store i8*%ic,i8**%ie,align 8
%if=getelementptr inbounds i8,i8*%h7,i64 16
%ig=bitcast i8*%if to i8**
store i8*null,i8**%ig,align 8
%ih=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ii=getelementptr inbounds i8,i8*%h7,i64 24
%ij=bitcast i8*%ii to i8**
store i8*%ih,i8**%ij,align 8
%ik=getelementptr inbounds i8,i8*%h7,i64 32
%il=bitcast i8*%ik to i32*
store i32 15,i32*%il,align 4
%im=call i8*@sml_alloc(i32 inreg 20)#0
%in=getelementptr inbounds i8,i8*%im,i64 -4
%io=bitcast i8*%in to i32*
store i32 1342177296,i32*%io,align 4
store i8*%im,i8**%b,align 8
%ip=getelementptr inbounds i8,i8*%im,i64 4
%iq=bitcast i8*%ip to i32*
store i32 0,i32*%iq,align 1
%ir=bitcast i8*%im to i32*
store i32 8,i32*%ir,align 4
%is=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%it=getelementptr inbounds i8,i8*%im,i64 8
%iu=bitcast i8*%it to i8**
store i8*%is,i8**%iu,align 8
%iv=getelementptr inbounds i8,i8*%im,i64 16
%iw=bitcast i8*%iv to i32*
store i32 2,i32*%iw,align 4
%ix=call i8*@sml_alloc(i32 inreg 20)#0
%iy=getelementptr inbounds i8,i8*%ix,i64 -4
%iz=bitcast i8*%iy to i32*
store i32 1342177296,i32*%iz,align 4
%iA=load i8*,i8**%b,align 8
%iB=bitcast i8*%ix to i8**
store i8*%iA,i8**%iB,align 8
%iC=getelementptr inbounds i8,i8*%ix,i64 8
%iD=bitcast i8*%iC to i8**
store i8*null,i8**%iD,align 8
%iE=getelementptr inbounds i8,i8*%ix,i64 16
%iF=bitcast i8*%iE to i32*
store i32 3,i32*%iF,align 4
ret i8*%ix
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface10elabStrexpE_178(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 1,label%aS
i32 2,label%ao
i32 0,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,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@E,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=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%b,align 8
%M=getelementptr inbounds i8,i8*%J,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%J,i64 16
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%d,align 8
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,i32*%U,align 4
store i8*%S,i8**%e,align 8
%V=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 16
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%S,i64 24
%ae=bitcast i8*%ad to i32*
store i32 7,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 20)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
%ai=bitcast i8*%af to i64*
store i64 0,i64*%ai,align 4
%aj=load i8*,i8**%e,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to i32*
store i32 2,i32*%an,align 4
ret i8*%af
ao:
%ap=getelementptr inbounds i8,i8*%k,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
store i8*%at,i8**%b,align 8
%au=getelementptr inbounds i8,i8*%ar,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%c,align 8
%ax=call i8*@sml_alloc(i32 inreg 20)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177296,i32*%az,align 4
store i8*%ax,i8**%d,align 8
%aA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aB=bitcast i8*%ax to i8**
store i8*%aA,i8**%aB,align 8
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=getelementptr inbounds i8,i8*%ax,i64 8
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%ax,i64 16
%aG=bitcast i8*%aF to i32*
store i32 3,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=bitcast i8*%aH to i32*
%aJ=getelementptr inbounds i8,i8*%aH,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177296,i32*%aK,align 4
%aL=getelementptr inbounds i8,i8*%aH,i64 4
%aM=bitcast i8*%aL to i32*
store i32 0,i32*%aM,align 1
store i32 2,i32*%aI,align 4
%aN=load i8*,i8**%d,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 2,i32*%aR,align 4
ret i8*%aH
aS:
%aT=getelementptr inbounds i8,i8*%k,i64 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%b,align 8
%aY=getelementptr inbounds i8,i8*%aV,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%c,align 8
%a1=call fastcc i8*@_SMLFN4List6concatE(i32 inreg 1,i32 inreg 8)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%d,align 8
%a7=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
%bd=call fastcc i8*%ba(i8*inreg%bc,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*))
%be=getelementptr inbounds i8,i8*%bd,i64 16
%bf=bitcast i8*%be to i8*(i8*,i8*)**
%bg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bf,align 8
%bh=bitcast i8*%bd to i8**
%bi=load i8*,i8**%bh,align 8
%bj=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bk=call fastcc i8*%bg(i8*inreg%bi,i8*inreg%bj)
%bl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bm=call fastcc i8*%a4(i8*inreg%bl,i8*inreg%bk)
store i8*%bm,i8**%b,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**%d,align 8
%bq=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 20)#0
%by=bitcast i8*%bx to i32*
%bz=getelementptr inbounds i8,i8*%bx,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
%bB=getelementptr inbounds i8,i8*%bx,i64 4
%bC=bitcast i8*%bB to i32*
store i32 0,i32*%bC,align 1
store i32 1,i32*%by,align 4
%bD=load i8*,i8**%d,align 8
%bE=getelementptr inbounds i8,i8*%bx,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bx,i64 16
%bH=bitcast i8*%bG to i32*
store i32 2,i32*%bH,align 4
ret i8*%bx
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_238(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,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=bitcast i8*%c to i64*
store i64 0,i64*%f,align 4
%g=load i8*,i8**%b,align 8
%h=getelementptr inbounds i8,i8*%c,i64 8
%i=bitcast i8*%h to i8**
store i8*%g,i8**%i,align 8
%j=getelementptr inbounds i8,i8*%c,i64 16
%k=bitcast i8*%j to i32*
store i32 2,i32*%k,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLL7fixEnvs_248(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%k,label%j
j:
call void@sml_check(i32 inreg%h)
br label%k
k:
%l=call fastcc i8*@_SMLFN9SymbolEnv9singletonE(i32 inreg 1,i32 inreg 8)
%m=getelementptr inbounds i8,i8*%l,i64 16
%n=bitcast i8*%m to i8*(i8*,i8*)**
%o=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n,align 8
%p=bitcast i8*%l to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%g,align 8
%r=load i8*,i8**%d,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%d,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%f,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%x,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
%K=load i8*,i8**%c,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=load i8*,i8**%f,align 8
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%H,i64 16
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=load i8*,i8**%g,align 8
%S=tail call fastcc i8*%o(i8*inreg%R,i8*inreg%H)
ret i8*%S
}
define internal fastcc i8*@_SMLLL6fixEnv_251(i8*inreg%a)#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=icmp eq i8*%r,null
%t=getelementptr inbounds i8,i8*%l,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
br i1%s,label%w,label%A
w:
%x=icmp eq i8*%v,null
br i1%x,label%ac,label%y
y:
%z=phi i8*[%v,%w],[%r,%ac]
ret i8*%z
A:
store i8*%v,i8**%c,align 8
%B=icmp eq i8*%v,null
br i1%B,label%ac,label%C
C:
%D=call fastcc i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg%o)
store i8*%D,i8**%d,align 8
%E=load i8*,i8**@_SMLZN14ElaborateError24MultipleInfixInInterfaceE,align 8
store i8*%E,i8**%e,align 8
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
store i8*%F,i8**%f,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@U,i64 0,i32 2,i64 0),i8**%L,align 8
%M=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%F,i64 24
%Q=bitcast i8*%P to i32*
store i32 7,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%R,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%R)
%ab=load i8*,i8**%c,align 8
ret i8*%ab
ac:
br label%y
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_253(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*@_SMLLLN18ElaborateInterface14elabTopdecListE_237(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
v:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
store i8*%a,i8**%k,align 8
store i8*%b,i8**%l,align 8
store i8*%c,i8**%d,align 8
%p=load atomic i32,i32*@sml_check_flag unordered,align 4
%q=icmp eq i32%p,0
br i1%q,label%t,label%r
r:
call void@sml_check(i32 inreg%p)
%s=load i8*,i8**%d,align 8
br label%t
t:
%u=phi i8*[%s,%r],[%c,%v]
%w=icmp eq i8*%u,null
br i1%w,label%x,label%K
x:
store i8*null,i8**%l,align 8
%y=bitcast i8**%k to i8***
%z=load i8**,i8***%y,align 8
store i8*null,i8**%k,align 8
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%d,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%d,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i8**
store i8*null,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
ret i8*%B
K:
%L=bitcast i8*%u to i8**
%M=load i8*,i8**%L,align 8
%N=getelementptr inbounds i8,i8*%u,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%d,align 8
%Q=bitcast i8*%M to i32*
%R=load i32,i32*%Q,align 4
switch i32%R,label%S[
i32 0,label%ge
i32 1,label%cS
i32 2,label%ak
]
S:
store i8*null,i8**%k,align 8
store i8*null,i8**%l,align 8
call void@sml_matchcomp_bug()
%T=load i8*,i8**@_SMLZ5Match,align 8
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
store i8*%U,i8**%e,align 8
%X=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@O,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**%e,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=getelementptr inbounds i8,i8*%M,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
%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**%e,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**%f,align 8
%aw=icmp eq i8*%ap,null
br i1%aw,label%aS,label%ax
ax:
%ay=bitcast i8*%ap to i32*
%az=load i32,i32*%ay,align 4
switch i32%az,label%aA[
i32 0,label%bm
i32 1,label%aT
i32 2,label%aS
]
aA:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%k,align 8
store i8*null,i8**%l,align 8
call void@sml_matchcomp_bug()
%aB=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aB,i8**%d,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
store i8*%aC,i8**%e,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aC,i64 8
%aI=bitcast i8*%aH to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@N,i64 0,i32 2,i64 0),i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aC,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
%aL=call i8*@sml_alloc(i32 inreg 60)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177336,i32*%aN,align 4
%aO=getelementptr inbounds i8,i8*%aL,i64 56
%aP=bitcast i8*%aO to i32*
store i32 1,i32*%aP,align 4
%aQ=load i8*,i8**%e,align 8
%aR=bitcast i8*%aL to i8**
store i8*%aQ,i8**%aR,align 8
call void@sml_raise(i8*inreg%aL)#1
unreachable
aS:
store i8*null,i8**%g,align 8
br label%bP
aT:
%aU=getelementptr inbounds i8,i8*%ap,i64 8
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
%aX=icmp eq i8*%aW,null
br i1%aX,label%bk,label%aY
aY:
%aZ=bitcast i8*%aW to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%g,align 8
%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=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a5=bitcast i8*%a1 to i8**
store i8*%a4,i8**%a5,align 8
%a6=load i8*,i8**%e,align 8
%a7=getelementptr inbounds i8,i8*%a1,i64 8
%a8=bitcast i8*%a7 to i8**
store i8*%a6,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a1,i64 16
%ba=bitcast i8*%a9 to i32*
store i32 3,i32*%ba,align 4
%bb=call fastcc i32@_SMLFN13ElaborateCore13elabInfixPrecE(i8*inreg%a1)
%bc=call i8*@sml_alloc(i32 inreg 12)#0
%bd=bitcast i8*%bc to i32*
%be=getelementptr inbounds i8,i8*%bc,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177288,i32*%bf,align 4
store i32 1,i32*%bd,align 4
%bg=getelementptr inbounds i8,i8*%bc,i64 4
%bh=bitcast i8*%bg to i32*
store i32%bb,i32*%bh,align 4
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i32*
store i32 0,i32*%bj,align 4
br label%bk
bk:
%bl=phi i8*[%bc,%aY],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@M,i64 0,i32 2)to i8*),%aT]
store i8*%bl,i8**%g,align 8
br label%bP
bm:
%bn=getelementptr inbounds i8,i8*%ap,i64 8
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
%bq=icmp eq i8*%bp,null
br i1%bq,label%bN,label%br
br:
%bs=bitcast i8*%bp to i8**
%bt=load i8*,i8**%bs,align 8
store i8*%bt,i8**%g,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**%g,align 8
store i8*null,i8**%g,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%e,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
%bE=call fastcc i32@_SMLFN13ElaborateCore13elabInfixPrecE(i8*inreg%bu)
%bF=call i8*@sml_alloc(i32 inreg 12)#0
%bG=bitcast i8*%bF to i32*
%bH=getelementptr inbounds i8,i8*%bF,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177288,i32*%bI,align 4
store i32 0,i32*%bG,align 4
%bJ=getelementptr inbounds i8,i8*%bF,i64 4
%bK=bitcast i8*%bJ to i32*
store i32%bE,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bF,i64 8
%bM=bitcast i8*%bL to i32*
store i32 0,i32*%bM,align 4
br label%bN
bN:
%bO=phi i8*[%bF,%br],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@L,i64 0,i32 2)to i8*),%bm]
store i8*%bO,i8**%g,align 8
br label%bP
bP:
%bQ=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bR=getelementptr inbounds i8,i8*%bQ,i64 16
%bS=bitcast i8*%bR to i8*(i8*,i8*)**
%bT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bS,align 8
%bU=bitcast i8*%bQ to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%h,align 8
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
store i8*%bW,i8**%i,align 8
%bZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bW,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 3,i32*%b5,align 4
%b6=call i8*@sml_alloc(i32 inreg 28)#0
%b7=getelementptr inbounds i8,i8*%b6,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177304,i32*%b8,align 4
%b9=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ca=bitcast i8*%b6 to i8**
store i8*%b9,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b6,i64 8
%cc=bitcast i8*%cb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7fixEnvs_248 to void(...)*),void(...)**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b6,i64 16
%ce=bitcast i8*%cd to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7fixEnvs_248 to void(...)*),void(...)**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b6,i64 24
%cg=bitcast i8*%cf to i32*
store i32 -2147483647,i32*%cg,align 4
%ch=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ci=call fastcc i8*%bT(i8*inreg%ch,i8*inreg%b6)
%cj=getelementptr inbounds i8,i8*%ci,i64 16
%ck=bitcast i8*%cj to i8*(i8*,i8*)**
%cl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ck,align 8
%cm=bitcast i8*%ci to i8**
%cn=load i8*,i8**%cm,align 8
%co=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cp=call fastcc i8*%cl(i8*inreg%cn,i8*inreg%co)
store i8*%cp,i8**%e,align 8
%cq=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cr=getelementptr inbounds i8,i8*%cq,i64 16
%cs=bitcast i8*%cr to i8*(i8*,i8*)**
%ct=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cs,align 8
%cu=bitcast i8*%cq to i8**
%cv=load i8*,i8**%cu,align 8
%cw=call fastcc i8*%ct(i8*inreg%cv,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*))
%cx=getelementptr inbounds i8,i8*%cw,i64 16
%cy=bitcast i8*%cx to i8*(i8*,i8*)**
%cz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cy,align 8
%cA=bitcast i8*%cw to i8**
%cB=load i8*,i8**%cA,align 8
%cC=bitcast i8**%k to i8***
%cD=load i8**,i8***%cC,align 8
%cE=load i8*,i8**%cD,align 8
%cF=call fastcc i8*%cz(i8*inreg%cB,i8*inreg%cE)
%cG=getelementptr inbounds i8,i8*%cF,i64 16
%cH=bitcast i8*%cG to i8*(i8*,i8*)**
%cI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cH,align 8
%cJ=bitcast i8*%cF to i8**
%cK=load i8*,i8**%cJ,align 8
%cL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cM=call fastcc i8*%cI(i8*inreg%cK,i8*inreg%cL)
store i8*%cM,i8**%e,align 8
%cN=call i8*@sml_alloc(i32 inreg 20)#0
%cO=getelementptr inbounds i8,i8*%cN,i64 -4
%cP=bitcast i8*%cO to i32*
store i32 1342177296,i32*%cP,align 4
%cQ=load i8*,i8**%e,align 8
%cR=bitcast i8*%cN to i8**
store i8*%cQ,i8**%cR,align 8
br label%gF
cS:
%cT=getelementptr inbounds i8,i8*%M,i64 8
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
%cW=bitcast i8*%cV to i8**
%cX=load i8*,i8**%cW,align 8
store i8*%cX,i8**%e,align 8
%cY=getelementptr inbounds i8,i8*%cV,i64 8
%cZ=bitcast i8*%cY to i8**
%c0=load i8*,i8**%cZ,align 8
store i8*%c0,i8**%f,align 8
%c1=getelementptr inbounds i8,i8*%cV,i64 16
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
store i8*%c3,i8**%g,align 8
%c4=getelementptr inbounds i8,i8*%cV,i64 24
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
%c7=call fastcc i8*@_SMLLLN18ElaborateInterface10elabStrexpE_178(i8*inreg%c6)
store i8*%c7,i8**%h,align 8
%c8=load i8*,i8**%g,align 8
%c9=bitcast i8*%c8 to i32*
%da=load i32,i32*%c9,align 4
switch i32%da,label%db[
i32 0,label%ec
i32 1,label%dt
]
db:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%k,align 8
store i8*null,i8**%l,align 8
call void@sml_matchcomp_bug()
%dc=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dc,i8**%d,align 8
%dd=call i8*@sml_alloc(i32 inreg 20)#0
%de=getelementptr inbounds i8,i8*%dd,i64 -4
%df=bitcast i8*%de to i32*
store i32 1342177296,i32*%df,align 4
store i8*%dd,i8**%e,align 8
%dg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dh=bitcast i8*%dd to i8**
store i8*%dg,i8**%dh,align 8
%di=getelementptr inbounds i8,i8*%dd,i64 8
%dj=bitcast i8*%di to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@K,i64 0,i32 2,i64 0),i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%dd,i64 16
%dl=bitcast i8*%dk to i32*
store i32 3,i32*%dl,align 4
%dm=call i8*@sml_alloc(i32 inreg 60)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177336,i32*%do,align 4
%dp=getelementptr inbounds i8,i8*%dm,i64 56
%dq=bitcast i8*%dp to i32*
store i32 1,i32*%dq,align 4
%dr=load i8*,i8**%e,align 8
%ds=bitcast i8*%dm to i8**
store i8*%dr,i8**%ds,align 8
call void@sml_raise(i8*inreg%dm)#1
unreachable
dt:
store i8*null,i8**%g,align 8
%du=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@I,i64 0,i32 2,i64 0))
%dv=getelementptr inbounds i8,i8*%du,i64 16
%dw=bitcast i8*%dv to i8*(i8*,i8*)**
%dx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dw,align 8
%dy=bitcast i8*%du to i8**
%dz=load i8*,i8**%dy,align 8
%dA=load i8*,i8**%f,align 8
%dB=call fastcc i8*%dx(i8*inreg%dz,i8*inreg%dA)
store i8*%dB,i8**%g,align 8
%dC=load i8*,i8**@_SMLZN14ElaborateError17DerivedFormFunArgE,align 8
store i8*%dC,i8**%i,align 8
%dD=call i8*@sml_alloc(i32 inreg 20)#0
%dE=getelementptr inbounds i8,i8*%dD,i64 -4
%dF=bitcast i8*%dE to i32*
store i32 1342177296,i32*%dF,align 4
store i8*%dD,i8**%j,align 8
%dG=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dH=bitcast i8*%dD to i8**
store i8*%dG,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dD,i64 8
%dJ=bitcast i8*%dI to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@J,i64 0,i32 2,i64 0),i8**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%dD,i64 16
%dL=bitcast i8*%dK to i32*
store i32 3,i32*%dL,align 4
%dM=call i8*@sml_alloc(i32 inreg 20)#0
%dN=getelementptr inbounds i8,i8*%dM,i64 -4
%dO=bitcast i8*%dN to i32*
store i32 1342177296,i32*%dO,align 4
%dP=load i8*,i8**%f,align 8
%dQ=bitcast i8*%dM to i8**
store i8*%dP,i8**%dQ,align 8
%dR=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dS=getelementptr inbounds i8,i8*%dM,i64 8
%dT=bitcast i8*%dS to i8**
store i8*%dR,i8**%dT,align 8
%dU=getelementptr inbounds i8,i8*%dM,i64 16
%dV=bitcast i8*%dU to i32*
store i32 3,i32*%dV,align 4
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%dM)
%dW=call i8*@sml_alloc(i32 inreg 20)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177296,i32*%dY,align 4
store i8*%dW,i8**%i,align 8
%dZ=getelementptr inbounds i8,i8*%dW,i64 4
%d0=bitcast i8*%dZ to i32*
store i32 0,i32*%d0,align 1
%d1=bitcast i8*%dW to i32*
store i32 1,i32*%d1,align 4
%d2=load i8*,i8**%g,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 8
%d4=bitcast i8*%d3 to i8**
store i8*%d2,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dW,i64 16
%d6=bitcast i8*%d5 to i32*
store i32 2,i32*%d6,align 4
%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
%ea=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eb=bitcast i8*%d7 to i8**
store i8*%ea,i8**%eb,align 8
br label%fq
ec:
%ed=getelementptr inbounds i8,i8*%c8,i64 8
%ee=bitcast i8*%ed to i8**
%ef=load i8*,i8**%ee,align 8
%eg=bitcast i8*%ef to i8**
%eh=load i8*,i8**%eg,align 8
%ei=getelementptr inbounds i8,i8*%ef,i64 8
%ej=bitcast i8*%ei to i8**
%ek=load i8*,i8**%ej,align 8
store i8*%ek,i8**%g,align 8
%el=call fastcc i8*@_SMLFN15ElaborateModule10elabSigExpE(i8*inreg%eh)
store i8*%el,i8**%i,align 8
br label%em
em:
%en=phi i8*[%el,%ec],[%eM,%eI]
%eo=bitcast i8*%en to i32*
%ep=load i32,i32*%eo,align 4
switch i32%ep,label%eq[
i32 0,label%ff
i32 1,label%eN
i32 2,label%eI
]
eq:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%k,align 8
store i8*null,i8**%l,align 8
call void@sml_matchcomp_bug()
%er=load i8*,i8**@_SMLZ5Match,align 8
store i8*%er,i8**%d,align 8
%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**%e,align 8
%ev=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ew=bitcast i8*%es to i8**
store i8*%ev,i8**%ew,align 8
%ex=getelementptr inbounds i8,i8*%es,i64 8
%ey=bitcast i8*%ex to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@H,i64 0,i32 2,i64 0),i8**%ey,align 8
%ez=getelementptr inbounds i8,i8*%es,i64 16
%eA=bitcast i8*%ez to i32*
store i32 3,i32*%eA,align 4
%eB=call i8*@sml_alloc(i32 inreg 60)#0
%eC=getelementptr inbounds i8,i8*%eB,i64 -4
%eD=bitcast i8*%eC to i32*
store i32 1342177336,i32*%eD,align 4
%eE=getelementptr inbounds i8,i8*%eB,i64 56
%eF=bitcast i8*%eE to i32*
store i32 1,i32*%eF,align 4
%eG=load i8*,i8**%e,align 8
%eH=bitcast i8*%eB to i8**
store i8*%eG,i8**%eH,align 8
call void@sml_raise(i8*inreg%eB)#1
unreachable
eI:
%eJ=getelementptr inbounds i8,i8*%en,i64 8
%eK=bitcast i8*%eJ to i8***
%eL=load i8**,i8***%eK,align 8
%eM=load i8*,i8**%eL,align 8
br label%em
eN:
%eO=getelementptr inbounds i8,i8*%en,i64 8
%eP=bitcast i8*%eO to i8**
%eQ=load i8*,i8**%eP,align 8
store i8*%eQ,i8**%j,align 8
%eR=call fastcc i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg%eQ)
store i8*%eR,i8**%m,align 8
%eS=load i8*,i8**@_SMLZN14ElaborateError21SigIDFoundInInterfaceE,align 8
store i8*%eS,i8**%n,align 8
%eT=call i8*@sml_alloc(i32 inreg 28)#0
%eU=getelementptr inbounds i8,i8*%eT,i64 -4
%eV=bitcast i8*%eU to i32*
store i32 1342177304,i32*%eV,align 4
store i8*%eT,i8**%o,align 8
%eW=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%eX=bitcast i8*%eT to i8**
store i8*%eW,i8**%eX,align 8
%eY=getelementptr inbounds i8,i8*%eT,i64 8
%eZ=bitcast i8*%eY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@G,i64 0,i32 2,i64 0),i8**%eZ,align 8
%e0=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%e1=getelementptr inbounds i8,i8*%eT,i64 16
%e2=bitcast i8*%e1 to i8**
store i8*%e0,i8**%e2,align 8
%e3=getelementptr inbounds i8,i8*%eT,i64 24
%e4=bitcast i8*%e3 to i32*
store i32 7,i32*%e4,align 4
%e5=call i8*@sml_alloc(i32 inreg 20)#0
%e6=getelementptr inbounds i8,i8*%e5,i64 -4
%e7=bitcast i8*%e6 to i32*
store i32 1342177296,i32*%e7,align 4
%e8=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%e9=bitcast i8*%e5 to i8**
store i8*%e8,i8**%e9,align 8
%fa=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%fb=getelementptr inbounds i8,i8*%e5,i64 8
%fc=bitcast i8*%fb to i8**
store i8*%fa,i8**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e5,i64 16
%fe=bitcast i8*%fd to i32*
store i32 3,i32*%fe,align 4
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%e5)
br label%fk
ff:
%fg=getelementptr inbounds i8,i8*%en,i64 8
%fh=bitcast i8*%fg to i8***
%fi=load i8**,i8***%fh,align 8
%fj=load i8*,i8**%fi,align 8
call fastcc void@_SMLLLN18ElaborateInterface9checkSpecE_156(i8*inreg%fj)
br label%fk
fk:
%fl=call i8*@sml_alloc(i32 inreg 20)#0
%fm=getelementptr inbounds i8,i8*%fl,i64 -4
%fn=bitcast i8*%fm to i32*
store i32 1342177296,i32*%fn,align 4
%fo=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fp=bitcast i8*%fl to i8**
store i8*%fo,i8**%fp,align 8
br label%fq
fq:
%fr=phi i8*[%fl,%fk],[%d7,%dt]
%fs=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ft=getelementptr inbounds i8,i8*%fr,i64 8
%fu=bitcast i8*%ft to i8**
store i8*%fs,i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fr,i64 16
%fw=bitcast i8*%fv to i32*
store i32 3,i32*%fw,align 4
store i8*%fr,i8**%g,align 8
%fx=call i8*@sml_alloc(i32 inreg 36)#0
%fy=getelementptr inbounds i8,i8*%fx,i64 -4
%fz=bitcast i8*%fy to i32*
store i32 1342177312,i32*%fz,align 4
store i8*%fx,i8**%i,align 8
%fA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fB=bitcast i8*%fx to i8**
store i8*%fA,i8**%fB,align 8
%fC=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fD=getelementptr inbounds i8,i8*%fx,i64 8
%fE=bitcast i8*%fD to i8**
store i8*%fC,i8**%fE,align 8
%fF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fG=getelementptr inbounds i8,i8*%fx,i64 16
%fH=bitcast i8*%fG to i8**
store i8*%fF,i8**%fH,align 8
%fI=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fJ=getelementptr inbounds i8,i8*%fx,i64 24
%fK=bitcast i8*%fJ to i8**
store i8*%fI,i8**%fK,align 8
%fL=getelementptr inbounds i8,i8*%fx,i64 32
%fM=bitcast i8*%fL to i32*
store i32 15,i32*%fM,align 4
%fN=call i8*@sml_alloc(i32 inreg 20)#0
%fO=getelementptr inbounds i8,i8*%fN,i64 -4
%fP=bitcast i8*%fO to i32*
store i32 1342177296,i32*%fP,align 4
store i8*%fN,i8**%f,align 8
%fQ=getelementptr inbounds i8,i8*%fN,i64 4
%fR=bitcast i8*%fQ to i32*
store i32 0,i32*%fR,align 1
%fS=bitcast i8*%fN to i32*
store i32 1,i32*%fS,align 4
%fT=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fU=getelementptr inbounds i8,i8*%fN,i64 8
%fV=bitcast i8*%fU to i8**
store i8*%fT,i8**%fV,align 8
%fW=getelementptr inbounds i8,i8*%fN,i64 16
%fX=bitcast i8*%fW to i32*
store i32 2,i32*%fX,align 4
%fY=call i8*@sml_alloc(i32 inreg 20)#0
%fZ=getelementptr inbounds i8,i8*%fY,i64 -4
%f0=bitcast i8*%fZ to i32*
store i32 1342177296,i32*%f0,align 4
store i8*%fY,i8**%e,align 8
%f1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%f2=bitcast i8*%fY to i8**
store i8*%f1,i8**%f2,align 8
%f3=getelementptr inbounds i8,i8*%fY,i64 8
%f4=bitcast i8*%f3 to i8**
store i8*null,i8**%f4,align 8
%f5=getelementptr inbounds i8,i8*%fY,i64 16
%f6=bitcast i8*%f5 to i32*
store i32 3,i32*%f6,align 4
%f7=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%f7,i8**%f,align 8
%f8=call i8*@sml_alloc(i32 inreg 20)#0
%f9=getelementptr inbounds i8,i8*%f8,i64 -4
%ga=bitcast i8*%f9 to i32*
store i32 1342177296,i32*%ga,align 4
%gb=load i8*,i8**%f,align 8
%gc=bitcast i8*%f8 to i8**
store i8*%gb,i8**%gc,align 8
%gd=load i8*,i8**%e,align 8
br label%gF
ge:
%gf=getelementptr inbounds i8,i8*%M,i64 8
%gg=bitcast i8*%gf to i8**
%gh=load i8*,i8**%gg,align 8
store i8*%gh,i8**%e,align 8
%gi=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gj=getelementptr inbounds i8,i8*%gi,i64 16
%gk=bitcast i8*%gj to i8*(i8*,i8*)**
%gl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gk,align 8
%gm=bitcast i8*%gi to i8**
%gn=load i8*,i8**%gm,align 8
%go=call fastcc i8*%gl(i8*inreg%gn,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*))
%gp=getelementptr inbounds i8,i8*%go,i64 16
%gq=bitcast i8*%gp to i8*(i8*,i8*)**
%gr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gq,align 8
%gs=bitcast i8*%go to i8**
%gt=load i8*,i8**%gs,align 8
store i8*%gt,i8**%f,align 8
%gu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gv=call fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_177(i8*inreg%gu)
%gw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gx=call fastcc i8*%gr(i8*inreg%gw,i8*inreg%gv)
store i8*%gx,i8**%e,align 8
%gy=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%gy,i8**%f,align 8
%gz=call i8*@sml_alloc(i32 inreg 20)#0
%gA=getelementptr inbounds i8,i8*%gz,i64 -4
%gB=bitcast i8*%gA to i32*
store i32 1342177296,i32*%gB,align 4
%gC=load i8*,i8**%f,align 8
%gD=bitcast i8*%gz to i8**
store i8*%gC,i8**%gD,align 8
%gE=load i8*,i8**%e,align 8
br label%gF
gF:
%gG=phi i8*[%gz,%ge],[%f8,%fq],[%cN,%bP]
%gH=phi i8*[%gE,%ge],[%gd,%fq],[null,%bP]
%gI=phi i8*[%gC,%ge],[%gb,%fq],[%cQ,%bP]
%gJ=getelementptr inbounds i8,i8*%gG,i64 8
%gK=bitcast i8*%gJ to i8**
store i8*%gH,i8**%gK,align 8
%gL=getelementptr inbounds i8,i8*%gG,i64 16
%gM=bitcast i8*%gL to i32*
store i32 3,i32*%gM,align 4
store i8*%gI,i8**%e,align 8
store i8*%gH,i8**%f,align 8
%gN=call fastcc i8*@_SMLFN9SymbolEnv10mergeWithiE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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}>*@P,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
store i8*%gY,i8**%g,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**%l,align 8
store i8*null,i8**%l,align 8
%g3=bitcast i8*%gZ to i8**
store i8*%g2,i8**%g3,align 8
%g4=load i8*,i8**%e,align 8
%g5=getelementptr inbounds i8,i8*%gZ,i64 8
%g6=bitcast i8*%g5 to i8**
store i8*%g4,i8**%g6,align 8
%g7=getelementptr inbounds i8,i8*%gZ,i64 16
%g8=bitcast i8*%g7 to i32*
store i32 3,i32*%g8,align 4
%g9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ha=call fastcc i8*%gW(i8*inreg%g9,i8*inreg%gZ)
%hb=load i8*,i8**%d,align 8
%hc=load i8*,i8**%k,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%k,align 8
%hd=call fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_237(i8*inreg%hc,i8*inreg%ha,i8*inreg%hb)
%he=bitcast i8*%hd to i8**
%hf=load i8*,i8**%he,align 8
store i8*%hf,i8**%d,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**%g,align 8
%hj=call fastcc i8*@_SMLFN9SymbolEnv9unionWithE(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}>*@Q,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
store i8*%hu,i8**%h,align 8
%hv=call i8*@sml_alloc(i32 inreg 20)#0
%hw=getelementptr inbounds i8,i8*%hv,i64 -4
%hx=bitcast i8*%hw to i32*
store i32 1342177296,i32*%hx,align 4
%hy=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hz=bitcast i8*%hv to i8**
store i8*%hy,i8**%hz,align 8
%hA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hB=getelementptr inbounds i8,i8*%hv,i64 8
%hC=bitcast i8*%hB to i8**
store i8*%hA,i8**%hC,align 8
%hD=getelementptr inbounds i8,i8*%hv,i64 16
%hE=bitcast i8*%hD to i32*
store i32 3,i32*%hE,align 4
%hF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hG=call fastcc i8*%hs(i8*inreg%hF,i8*inreg%hv)
store i8*%hG,i8**%d,align 8
%hH=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%hI=getelementptr inbounds i8,i8*%hH,i64 16
%hJ=bitcast i8*%hI to i8*(i8*,i8*)**
%hK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hJ,align 8
%hL=bitcast i8*%hH to i8**
%hM=load i8*,i8**%hL,align 8
store i8*%hM,i8**%e,align 8
%hN=call i8*@sml_alloc(i32 inreg 20)#0
%hO=getelementptr inbounds i8,i8*%hN,i64 -4
%hP=bitcast i8*%hO to i32*
store i32 1342177296,i32*%hP,align 4
%hQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hR=bitcast i8*%hN to i8**
store i8*%hQ,i8**%hR,align 8
%hS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hT=getelementptr inbounds i8,i8*%hN,i64 8
%hU=bitcast i8*%hT to i8**
store i8*%hS,i8**%hU,align 8
%hV=getelementptr inbounds i8,i8*%hN,i64 16
%hW=bitcast i8*%hV to i32*
store i32 3,i32*%hW,align 4
%hX=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hY=call fastcc i8*%hK(i8*inreg%hX,i8*inreg%hN)
store i8*%hY,i8**%e,align 8
%hZ=call i8*@sml_alloc(i32 inreg 20)#0
%h0=getelementptr inbounds i8,i8*%hZ,i64 -4
%h1=bitcast i8*%h0 to i32*
store i32 1342177296,i32*%h1,align 4
%h2=load i8*,i8**%d,align 8
%h3=bitcast i8*%hZ to i8**
store i8*%h2,i8**%h3,align 8
%h4=load i8*,i8**%e,align 8
%h5=getelementptr inbounds i8,i8*%hZ,i64 8
%h6=bitcast i8*%h5 to i8**
store i8*%h4,i8**%h6,align 8
%h7=getelementptr inbounds i8,i8*%hZ,i64 16
%h8=bitcast i8*%h7 to i32*
store i32 3,i32*%h8,align 4
ret i8*%hZ
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_258(i8*inreg%a)#5 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
%d=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%d,i8**%b,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
store i8*%e,i8**%c,align 8
%h=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@R,i64 0,i32 2,i64 0),i8**%k,align 8
%l=getelementptr inbounds i8,i8*%e,i64 16
%m=bitcast i8*%l to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[23x i8]}>,<{[4x i8],i32,[23x i8]}>*@S,i64 0,i32 2,i64 0),i8**%m,align 8
%n=getelementptr inbounds i8,i8*%e,i64 24
%o=bitcast i8*%n to i32*
store i32 7,i32*%o,align 4
%p=call i8*@sml_alloc(i32 inreg 60)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177336,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%p,i64 56
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=load i8*,i8**%c,align 8
%v=bitcast i8*%p to i8**
store i8*%u,i8**%v,align 8
call void@sml_raise(i8*inreg%p)#1
unreachable
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_255(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
store i8*null,i8**%c,align 8
%q=icmp eq i8*%o,null
br i1%q,label%r,label%C
r:
store i8*null,i8**%i,align 8
%s=call fastcc i8*@_SMLFN11InterfaceID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=load i8*,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*null,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
ret i8*%t
C:
%D=bitcast i8*%o to i8**
%E=load i8*,i8**%D,align 8
%F=getelementptr inbounds i8,i8*%o,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
%I=bitcast i8*%E to i32*
%J=load i32,i32*%I,align 4
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%E,i64 16
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=getelementptr inbounds i8,i8*%E,i64 24
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%e,align 8
%T=load i8*,i8**%i,align 8
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
%Z=call fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_237(i8*inreg%W,i8*inreg%Y,i8*inreg%P)
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%f,align 8
%ac=getelementptr inbounds i8,i8*%Z,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%g,align 8
%af=call i8*@sml_alloc(i32 inreg 36)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177312,i32*%ah,align 4
store i8*%af,i8**%h,align 8
%ai=getelementptr inbounds i8,i8*%af,i64 4
%aj=bitcast i8*%ai to i32*
store i32 0,i32*%aj,align 1
%ak=bitcast i8*%af to i32*
store i32%J,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%af,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ap=getelementptr inbounds i8,i8*%af,i64 16
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%as=getelementptr inbounds i8,i8*%af,i64 24
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%af,i64 32
%av=bitcast i8*%au to i32*
store i32 14,i32*%av,align 4
%aw=call fastcc i8*@_SMLFN11InterfaceID3Map9singletonE(i32 inreg 1,i32 inreg 8)
%ax=getelementptr inbounds i8,i8*%aw,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%d,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=bitcast i8*%aC to i32*
%aE=getelementptr inbounds i8,i8*%aC,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
%aG=getelementptr inbounds i8,i8*%aC,i64 4
%aH=bitcast i8*%aG to i32*
store i32 0,i32*%aH,align 1
store i32%J,i32*%aD,align 4
%aI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aJ=getelementptr inbounds i8,i8*%aC,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aC,i64 16
%aM=bitcast i8*%aL to i32*
store i32 2,i32*%aM,align 4
%aN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aO=call fastcc i8*%az(i8*inreg%aN,i8*inreg%aC)
store i8*%aO,i8**%d,align 8
%aP=load i8*,i8**%c,align 8
%aQ=load i8*,i8**%i,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%i,align 8
%aR=call fastcc i8*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_255(i8*inreg%aQ,i8*inreg%aP)
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
store i8*%aT,i8**%c,align 8
%aU=getelementptr inbounds i8,i8*%aR,i64 8
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%e,align 8
%aX=call fastcc i8*@_SMLFN11InterfaceID3Map9unionWithE(i32 inreg 1,i32 inreg 8)
%aY=getelementptr inbounds i8,i8*%aX,i64 16
%aZ=bitcast i8*%aY to i8*(i8*,i8*)**
%a0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aZ,align 8
%a1=bitcast i8*%aX to i8**
%a2=load i8*,i8**%a1,align 8
%a3=call fastcc i8*%a0(i8*inreg%a2,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@T,i64 0,i32 2)to i8*))
%a4=getelementptr inbounds i8,i8*%a3,i64 16
%a5=bitcast i8*%a4 to i8*(i8*,i8*)**
%a6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a5,align 8
%a7=bitcast i8*%a3 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%f,align 8
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
%bc=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bf=getelementptr inbounds i8,i8*%a9,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a9,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
%bj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bk=call fastcc i8*%a6(i8*inreg%bj,i8*inreg%a9)
store i8*%bk,i8**%c,align 8
%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**%d,align 8
%bo=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%e,align 8
store i8*null,i8**%e,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
%by=load i8*,i8**%c,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=load i8*,i8**%d,align 8
%bB=getelementptr inbounds i8,i8*%bv,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bv,i64 16
%bE=bitcast i8*%bD to i32*
store i32 3,i32*%bE,align 4
ret i8*%bv
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_261(i8*inreg%a)#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=icmp eq i8*%r,null
%t=getelementptr inbounds i8,i8*%l,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
br i1%s,label%w,label%A
w:
%x=icmp eq i8*%v,null
br i1%x,label%ac,label%y
y:
%z=phi i8*[%v,%w],[%r,%ac]
ret i8*%z
A:
store i8*%v,i8**%c,align 8
%B=icmp eq i8*%v,null
br i1%B,label%ac,label%C
C:
%D=call fastcc i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg%o)
store i8*%D,i8**%d,align 8
%E=load i8*,i8**@_SMLZN14ElaborateError24MultipleInfixInInterfaceE,align 8
store i8*%E,i8**%e,align 8
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
store i8*%F,i8**%f,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@U,i64 0,i32 2,i64 0),i8**%L,align 8
%M=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%F,i64 24
%Q=bitcast i8*%P to i32*
store i32 7,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%R,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%R)
%ab=load i8*,i8**%c,align 8
ret i8*%ab
ac:
br label%y
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_263(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=call fastcc i8*@_SMLFN9SymbolEnv10mergeWithiE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%t(i8*inreg%v,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*))
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,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**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%b,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=tail call fastcc i8*%z(i8*inreg%M,i8*inreg%C)
ret i8*%N
}
define internal fastcc i8*@_SMLLL13requireFixEnv_265(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*@_SMLLL13requireFixEnv_269(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=bitcast i8*%k to i32**
%n=load i32*,i32**%m,align 8
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=call fastcc i8*@_SMLFN11InterfaceID3Map4findE(i32 inreg 1,i32 inreg 8)
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=bitcast i8**%d to i8***
%z=load i8**,i8***%y,align 8
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%d,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 12
%F=bitcast i8*%E to i32*
store i32 0,i32*%F,align 1
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 8
%J=bitcast i8*%I to i32*
store i32%o,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%B,i64 16
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=call fastcc i8*%v(i8*inreg%M,i8*inreg%B)
%O=icmp eq i8*%N,null
br i1%O,label%P,label%aj
P:
%Q=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%Q,i8**%c,align 8
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
store i8*%R,i8**%d,align 8
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@Y,i64 0,i32 2,i64 0),i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[24x i8]}>,<{[4x i8],i32,[24x i8]}>*@Z,i64 0,i32 2,i64 0),i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 7,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 60)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177336,i32*%ae,align 4
%af=getelementptr inbounds i8,i8*%ac,i64 56
%ag=bitcast i8*%af to i32*
store i32 1,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
%ai=bitcast i8*%ac to i8**
store i8*%ah,i8**%ai,align 8
call void@sml_raise(i8*inreg%ac)#1
unreachable
aj:
%ak=bitcast i8*%N to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%d,align 8
%am=call fastcc i8*@_SMLFN9SymbolEnv9unionWithE(i32 inreg 1,i32 inreg 8)
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
%as=call fastcc i8*%ap(i8*inreg%ar,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*))
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%e,align 8
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
%aB=load i8*,i8**%c,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%d,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=load i8*,i8**%e,align 8
%aJ=tail call fastcc i8*%av(i8*inreg%aI,i8*inreg%ay)
ret i8*%aJ
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_270(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%k,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
%p=load i8*,i8**%k,align 8
br label%q
q:
%r=phi i8*[%p,%n],[%a,%s]
%t=phi i8*[%o,%n],[%b,%s]
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=getelementptr inbounds i8,i8*%t,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%c,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%d,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%e,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%f,align 8
%K=getelementptr inbounds i8,i8*%r,i64 16
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=call fastcc i8*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_255(i8*inreg%M,i8*inreg%v)
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%N,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%h,align 8
%T=load i8*,i8**%k,align 8
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
%Z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aa=call fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_237(i8*inreg%W,i8*inreg%Y,i8*inreg%Z)
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%e,align 8
%ad=getelementptr inbounds i8,i8*%aa,i64 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%i,align 8
%ag=call fastcc i8*@_SMLFN11InterfaceID3Map5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
%am=call fastcc i8*%aj(i8*inreg%al,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@W,i64 0,i32 2)to i8*))
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
%as=load i8*,i8**%e,align 8
%at=call fastcc i8*%ap(i8*inreg%ar,i8*inreg%as)
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%at to i8**
%ay=load i8*,i8**%ax,align 8
%az=load i8*,i8**%g,align 8
%aA=call fastcc i8*%aw(i8*inreg%ay,i8*inreg%az)
%aB=call i8*@sml_alloc(i32 inreg 36)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177312,i32*%aD,align 4
store i8*%aB,i8**%j,align 8
%aE=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=load i8*,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=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aK=getelementptr inbounds i8,i8*%aB,i64 16
%aL=bitcast i8*%aK to i8**
store i8*%aJ,i8**%aL,align 8
%aM=load i8*,i8**%c,align 8
%aN=getelementptr inbounds i8,i8*%aB,i64 24
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aB,i64 32
%aQ=bitcast i8*%aP to i32*
store i32 15,i32*%aQ,align 4
%aR=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%h,align 8
%aX=call i8*@sml_alloc(i32 inreg 12)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177288,i32*%aZ,align 4
store i8*%aX,i8**%i,align 8
%a0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to i32*
store i32 1,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 28)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177304,i32*%a6,align 4
%a7=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL13requireFixEnv_269 to void(...)*),void(...)**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL13requireFixEnv_269 to void(...)*),void(...)**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a4,i64 24
%be=bitcast i8*%bd to i32*
store i32 -2147483647,i32*%be,align 4
%bf=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bg=call fastcc i8*%aU(i8*inreg%bf,i8*inreg%a4)
%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=bitcast i8**%k to i8***
%bn=load i8**,i8***%bm,align 8
store i8*null,i8**%k,align 8
%bo=load i8*,i8**%bn,align 8
%bp=call fastcc i8*%bj(i8*inreg%bl,i8*inreg%bo)
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%h,align 8
%bv=call fastcc i8*@_SMLFN4List1_VE(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**%g,align 8
%bB=call i8*@sml_alloc(i32 inreg 20)#0
%bC=getelementptr inbounds i8,i8*%bB,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bF=bitcast i8*%bB to i8**
store i8*%bE,i8**%bF,align 8
%bG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bH=getelementptr inbounds i8,i8*%bB,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bB,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 3,i32*%bK,align 4
%bL=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bM=call fastcc i8*%by(i8*inreg%bL,i8*inreg%bB)
%bN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bO=call fastcc i8*%bs(i8*inreg%bN,i8*inreg%bM)
store i8*%bO,i8**%c,align 8
%bP=call i8*@sml_alloc(i32 inreg 36)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177312,i32*%bR,align 4
%bS=load i8*,i8**%j,align 8
%bT=bitcast i8*%bP to i8**
store i8*%bS,i8**%bT,align 8
%bU=load i8*,i8**%e,align 8
%bV=getelementptr inbounds i8,i8*%bP,i64 8
%bW=bitcast i8*%bV to i8**
store i8*%bU,i8**%bW,align 8
%bX=load i8*,i8**%c,align 8
%bY=getelementptr inbounds i8,i8*%bP,i64 16
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=load i8*,i8**%f,align 8
%b1=getelementptr inbounds i8,i8*%bP,i64 24
%b2=bitcast i8*%b1 to i8**
store i8*%b0,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bP,i64 32
%b4=bitcast i8*%b3 to i32*
store i32 15,i32*%b4,align 4
ret i8*%bP
}
define fastcc i8*@_SMLFN18ElaborateInterface9elaborateE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarc1a1cd5431cf96e9_ElaborateInterface,i64 0,i32 2,i64 0)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_270(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface11unionFixEnvE_272(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface11unionFixEnvE_116(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface11unionFixEnvE_273(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface11unionFixEnvE_118(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_274(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_144(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7substTyE_275(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*@_SMLLL5subst_276(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL5subst_150(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface9checkSpecE_278(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN18ElaborateInterface9checkSpecE_166(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*@_SMLLLN18ElaborateInterface10elabExbindE_280(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface10elabExbindE_172(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface11elabTypbindE_281(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface11elabTypbindE_175(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_282(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_283(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_284(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*@_SMLLLN18ElaborateInterface7elabDecE_285(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_216(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_286(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_287(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*@_SMLLLN18ElaborateInterface7elabDecE_288(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_224(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_289(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*@_SMLLL5subst_290(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL5subst_229(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_291(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_233(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_292(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface7elabDecE_177(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_294(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_238(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL6fixEnv_295(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL6fixEnv_251(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface14elabTopdecListE_296(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*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_297(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface20elabInterfaceDecListE_258(i8*inreg%b)
unreachable
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_298(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_261(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_299(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN18ElaborateInterface9elaborateE_263(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL13requireFixEnv_300(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
}
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
attributes#5={noreturn uwtable}
