@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN12BuiltinTypes5exnTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes6unitTyE=external local_unnamed_addr global i8*
@_SMLZN12TypedCalcCon5TPVARE=external local_unnamed_addr global i8*
@_SMLZN13FFIAttributes20defaultFFIAttributesE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:23.6(487)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation11toSimpleExpE_212 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation11toSimpleExpE_443 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 7,i32 0,i32 0}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:111.32(3226)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:103.26(2923)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[14x i8]}><{[4x i8]zeroinitializer,i32 -2147483634,[14x i8]c"explodeRecord\00"}>,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*)*@_SMLLN14FFICompilation13explodeRecordE_233 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation13explodeRecordE_448 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*)*@_SMLLN14FFICompilation22recordLabelMapFromListE_239 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation22recordLabelMapFromListE_450 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN14FFICompilation8hasFunTyE_254 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation8hasFunTyE_454 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:138.6(4090)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:151.25(4539)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"zipApp\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10stubExportE_303 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_459 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:232.14(7660)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"stubExport: FFIFUNTY\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*)*@_SMLLN14FFICompilation10stubExportE_307 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_460 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*)*@_SMLLN14FFICompilation10stubExportE_309 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_461 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*)*@_SMLL5stubs_312 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5stubs_462 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*)*@_SMLL6retTys_314 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6retTys_463 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*)*@_SMLLN14FFICompilation10stubExportE_316 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_464 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10stubExportE_319 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_465 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:180.6(5459)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10stubImportE_322 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubImportE_466 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*)*@_SMLLN14FFICompilation10stubImportE_324 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubImportE_467 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10stubImportE_326 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubImportE_468 to void(...)*),i32 -2147483647}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*null,i8*null,i32 3}>,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*)*@_SMLL9ffiArgTys_329 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9ffiArgTys_469 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*)*@_SMLLN14FFICompilation10stubImportE_331 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubImportE_470 to void(...)*),i32 -2147483647}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:262.27(8932)\00"}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"stubImport: FFIFUNTY\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:237.33(7819)\00"}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[24x i8]}><{[4x i8]zeroinitializer,i32 -2147483624,[24x i8]c"stubImport: FFIRECORDTY\00"}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:235.6(7723)\00"}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:292.6(10042)\00"}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_386 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_473 to void(...)*),i32 -2147483647}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_388 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_474 to void(...)*),i32 -2147483647}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_390 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_475 to void(...)*),i32 -2147483647}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_392 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_476 to void(...)*),i32 -2147483647}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_394 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_477 to void(...)*),i32 -2147483647}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_396 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_478 to void(...)*),i32 -2147483647}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[80x i8]}><{[4x i8]zeroinitializer,i32 -2147483568,[80x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:389.15(13694)\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*)*@_SMLLN14FFICompilation10compileExpE_399 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_479 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*)*@_SMLLN14FFICompilation10compileExpE_401 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_480 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*)*@_SMLLN14FFICompilation10compileExpE_403 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_481 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*)*@_SMLLN14FFICompilation10compileExpE_405 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_482 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*)*@_SMLLN14FFICompilation10compileExpE_407 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_483 to void(...)*),i32 -2147483647}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_409 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_484 to void(...)*),i32 -2147483647}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation10compileExpE_411 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10compileExpE_485 to void(...)*),i32 -2147483647}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:340.6(11952)\00"}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation11compileDeclE_429 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation11compileDeclE_491 to void(...)*),i32 -2147483647}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation11compileDeclE_431 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation11compileDeclE_492 to void(...)*),i32 -2147483647}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/fficompilation/main/FFICompilation.sml:658.6(23421)\00"}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation15compileFunBindsE_434 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation15compileFunBindsE_493 to void(...)*),i32 -2147483647}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation15compileFunBindsE_436 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation15compileFunBindsE_494 to void(...)*),i32 -2147483647}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14FFICompilation7compileE_438 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation7compileE_500 to void(...)*),i32 -2147483647}>,align 8
@ad=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14FFICompilation7compileE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation7compileE_501 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14FFICompilation7compileE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ad,i64 0,i32 2)to i8*)
@_SML_ftab5230f2640e9ceb6f_FFICompilation=external global i8
@ae=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN10ReifyUtils11InstListVarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils4PairE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils6newVarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils7InstVarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map8listKeysE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map9mergeWithE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN11RecordLabel7compareE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel8tupleMapE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel9tupleListE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon10TPCONSTANTE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon11TPPRIMAPPLYE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon12TPCALLBACKFNE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon14TPFOREIGNAPPLYE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon15TPFOREIGNSYMBOLE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon5TPFNME(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon5TPLETE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon5TPVALE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon5TPVARE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon6TPAPPME(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon8TPRECORDE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TypedCalcCon8TPSELECTE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13ReifiedTyData7TyRepTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14TypedCalcUtils12newTCVarInfoE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive17REIFY__exInfo__nullE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive17REIFY__exInfo__voidE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive19REIFY__exInfo__extendE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive24REIFY__exInfo__naturalJoinE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive26REIFY__exInfo__toReifiedTermE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive27REIFY__exExnInfo__NaturalJoinE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__dynamicTypeCaseE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__reifiedTermToMLE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__viewTermGenericE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive29REIFY__exInfo__checkTermGenericE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive30REIFY__exInfo__coerceTermGenericE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive32REIFY__exExnInfo__RuntimeTypeErrorE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Bool3notE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List1_VE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List6existsE(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*@_SMLFN6Option3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Option6getOptE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair5unzipE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9ListUtils5splitE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()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_main3a60343781315c1e_Option()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main60e750412e2bb4fe_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina87fdf662616c39b_utils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main13f997e47c947049_FFIAttributes_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main24fddff04936f2e2_TypedCalcUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1d09938e346dcc6f_TypedCalcCon()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maincf60e58028aea790_BuiltinTypes()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main98b4898d5cf6911e_UserLevelPrimitive()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main0db119a0681ca7e6_ReifiedTyData()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main93b11342f6ec8a84_ReifyUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_loaddaa180c1799f3810_Bool(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load7aa263535439ee1c_ListPair(i8*)local_unnamed_addr
declare void@_SML_load3a60343781315c1e_Option(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load60e750412e2bb4fe_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loada87fdf662616c39b_utils(i8*)local_unnamed_addr
declare void@_SML_load13f997e47c947049_FFIAttributes_ppg(i8*)local_unnamed_addr
declare void@_SML_load24fddff04936f2e2_TypedCalcUtils(i8*)local_unnamed_addr
declare void@_SML_load1d09938e346dcc6f_TypedCalcCon(i8*)local_unnamed_addr
declare void@_SML_loadcf60e58028aea790_BuiltinTypes(i8*)local_unnamed_addr
declare void@_SML_load98b4898d5cf6911e_UserLevelPrimitive(i8*)local_unnamed_addr
declare void@_SML_load0db119a0681ca7e6_ReifiedTyData(i8*)local_unnamed_addr
declare void@_SML_load93b11342f6ec8a84_ReifyUtils(i8*)local_unnamed_addr
define private void@_SML_tabb5230f2640e9ceb6f_FFICompilation()#3{
unreachable
}
define void@_SML_load5230f2640e9ceb6f_FFICompilation(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@ae,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@ae,align 1
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load7aa263535439ee1c_ListPair(i8*%a)#0
tail call void@_SML_load3a60343781315c1e_Option(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load60e750412e2bb4fe_RecordLabel(i8*%a)#0
tail call void@_SML_loada87fdf662616c39b_utils(i8*%a)#0
tail call void@_SML_load13f997e47c947049_FFIAttributes_ppg(i8*%a)#0
tail call void@_SML_load24fddff04936f2e2_TypedCalcUtils(i8*%a)#0
tail call void@_SML_load1d09938e346dcc6f_TypedCalcCon(i8*%a)#0
tail call void@_SML_loadcf60e58028aea790_BuiltinTypes(i8*%a)#0
tail call void@_SML_load98b4898d5cf6911e_UserLevelPrimitive(i8*%a)#0
tail call void@_SML_load0db119a0681ca7e6_ReifiedTyData(i8*%a)#0
tail call void@_SML_load93b11342f6ec8a84_ReifyUtils(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb5230f2640e9ceb6f_FFICompilation,i8*@_SML_ftab5230f2640e9ceb6f_FFICompilation,i8*null)#0
ret void
}
define void@_SML_main5230f2640e9ceb6f_FFICompilation()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@ae,align 1
%b=and i8%a,2
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 3,i8*@ae,align 1
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main7aa263535439ee1c_ListPair()#2
tail call void@_SML_main3a60343781315c1e_Option()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main60e750412e2bb4fe_RecordLabel()#2
tail call void@_SML_maina87fdf662616c39b_utils()#2
tail call void@_SML_main13f997e47c947049_FFIAttributes_ppg()#2
tail call void@_SML_main24fddff04936f2e2_TypedCalcUtils()#2
tail call void@_SML_main1d09938e346dcc6f_TypedCalcCon()#2
tail call void@_SML_maincf60e58028aea790_BuiltinTypes()#2
tail call void@_SML_main98b4898d5cf6911e_UserLevelPrimitive()#2
tail call void@_SML_main0db119a0681ca7e6_ReifiedTyData()#2
tail call void@_SML_main93b11342f6ec8a84_ReifyUtils()#2
br label%d
}
define internal fastcc i8*@_SMLLN14FFICompilation11toSimpleExpE_211(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%j,label%l
j:
%k=bitcast i8*%a to i8**
br label%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%d to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%l],[%k,%j]
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%e,align 8
%r=getelementptr inbounds i8*,i8**%p,i64 2
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%f,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%g,align 8
%w=load i8*,i8**%e,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%z=getelementptr inbounds i8,i8*%t,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=load i8*,i8**%d,align 8
%E=getelementptr inbounds i8,i8*%D,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%e,align 8
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
store i8*%H,i8**%f,align 8
%K=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%H,i64 16
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 20)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177296,i32*%T,align 4
store i8*%R,i8**%e,align 8
%U=getelementptr inbounds i8,i8*%R,i64 4
%V=bitcast i8*%U to i32*
store i32 0,i32*%V,align 1
%W=bitcast i8*%R to i32*
store i32 9,i32*%W,align 4
%X=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 16
%ab=bitcast i8*%aa to i32*
store i32 2,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 20)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177296,i32*%ae,align 4
store i8*%ac,i8**%f,align 8
%af=load i8*,i8**%e,align 8
store i8*null,i8**%e,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*null,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=load i8*,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%al,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%d,align 8
%ap=call i8*@sml_alloc(i32 inreg 28)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177304,i32*%ar,align 4
%as=load i8*,i8**%c,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%f,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=load i8*,i8**%d,align 8
%ay=getelementptr inbounds i8,i8*%ap,i64 16
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%ap,i64 24
%aB=bitcast i8*%aA to i32*
store i32 7,i32*%aB,align 4
%aC=tail call fastcc i8*@_SMLFN12TypedCalcCon5TPLETE(i8*inreg%ap)
ret i8*%aC
}
define internal fastcc i8*@_SMLLN14FFICompilation11toSimpleExpE_212(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLN14FFICompilation11toSimpleExpE_214(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**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%e,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%g,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**%e,align 8
%v=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
br label%x
x:
%y=phi i8*[%ag,%ab],[%r,%n]
store i8*%y,i8**%c,align 8
%z=load atomic i32,i32*@sml_check_flag unordered,align 4
%A=icmp eq i32%z,0
br i1%A,label%D,label%B
B:
call void@sml_check(i32 inreg%z)
%C=load i8*,i8**%c,align 8
br label%D
D:
%E=phi i8*[%C,%B],[%y,%x]
%F=icmp eq i8*%E,null
br i1%F,label%ah,label%G
G:
%H=bitcast i8*%E to i32*
%I=load i32,i32*%H,align 4
switch i32%I,label%J[
i32 0,label%aB
i32 2,label%aB
i32 37,label%aB
i32 3,label%ab
i32 5,label%ah
i32 6,label%aB
i32 8,label%aB
i32 9,label%aB
i32 14,label%ah
i32 16,label%aB
i32 17,label%ah
i32 15,label%ah
i32 18,label%ah
i32 19,label%aB
i32 22,label%ah
i32 21,label%aB
i32 1,label%aB
i32 20,label%aB
i32 23,label%aB
i32 4,label%aB
i32 39,label%aB
i32 25,label%aB
i32 26,label%aB
i32 27,label%aB
i32 28,label%aB
i32 29,label%aB
i32 30,label%aB
i32 31,label%aB
i32 32,label%ah
i32 33,label%aB
i32 35,label%aB
i32 36,label%ah
i32 38,label%aB
i32 40,label%ah
i32 24,label%aB
i32 7,label%aB
i32 10,label%aB
i32 11,label%aB
i32 12,label%aB
i32 13,label%aB
i32 34,label%ah
]
J:
call void@sml_matchcomp_bug()
%K=load i8*,i8**@_SMLZ5Match,align 8
store i8*%K,i8**%c,align 8
%L=call i8*@sml_alloc(i32 inreg 20)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177296,i32*%N,align 4
store i8*%L,i8**%d,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%L,i64 8
%R=bitcast i8*%Q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@a,i64 0,i32 2,i64 0),i8**%R,align 8
%S=getelementptr inbounds i8,i8*%L,i64 16
%T=bitcast i8*%S to i32*
store i32 3,i32*%T,align 4
%U=call i8*@sml_alloc(i32 inreg 60)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177336,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%U,i64 56
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=load i8*,i8**%d,align 8
%aa=bitcast i8*%U to i8**
store i8*%Z,i8**%aa,align 8
call void@sml_raise(i8*inreg%U)#1
unreachable
ab:
%ac=getelementptr inbounds i8,i8*%E,i64 8
%ad=bitcast i8*%ac to i8****
%ae=load i8***,i8****%ad,align 8
%af=load i8**,i8***%ae,align 8
%ag=load i8*,i8**%af,align 8
br label%x
ah:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
store i8*null,i8**%h,align 8
%ai=call i8*@sml_alloc(i32 inreg 20)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177296,i32*%ak,align 4
store i8*%ai,i8**%f,align 8
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ai,i64 16
%ar=bitcast i8*%aq to i32*
store i32 3,i32*%ar,align 4
%as=call i8*@sml_alloc(i32 inreg 20)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177296,i32*%au,align 4
%av=bitcast i8*%as to i8**
store i8*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*),i8**%av,align 8
%aw=load i8*,i8**%f,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
ret i8*%as
aB:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
%aC=bitcast i8**%h to i8***
%aD=load i8**,i8***%aC,align 8
%aE=load i8*,i8**%aD,align 8
%aF=call fastcc i8*@_SMLFN14TypedCalcUtils12newTCVarInfoE(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**%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 fastcc i8*@_SMLFN12TypedCalcCon5TPVARE(i8*inreg%aM)
store i8*%aN,i8**%f,align 8
%aO=load i8**,i8***%aC,align 8
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%h,align 8
%aQ=call i8*@sml_alloc(i32 inreg 28)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177304,i32*%aS,align 4
store i8*%aQ,i8**%i,align 8
%aT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aZ=getelementptr inbounds i8,i8*%aQ,i64 16
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aQ,i64 24
%a2=bitcast i8*%a1 to i32*
store i32 7,i32*%a2,align 4
%a3=call i8*@sml_alloc(i32 inreg 28)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177304,i32*%a5,align 4
store i8*%a3,i8**%e,align 8
%a6=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a3,i64 8
%a9=bitcast i8*%a8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation11toSimpleExpE_211 to void(...)*),void(...)**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a3,i64 16
%bb=bitcast i8*%ba to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation11toSimpleExpE_211 to void(...)*),void(...)**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a3,i64 24
%bd=bitcast i8*%bc to i32*
store i32 -2147483647,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
%bh=load i8*,i8**%e,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=load i8*,i8**%f,align 8
%bk=getelementptr inbounds i8,i8*%be,i64 8
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%be,i64 16
%bn=bitcast i8*%bm to i32*
store i32 3,i32*%bn,align 4
ret i8*%be
}
define internal fastcc i8*@_SMLLN14FFICompilation7bitCastE_226(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%m,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
store i8*%w,i8**%g,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*null,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
store i8*%F,i8**%c,align 8
%I=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177296,i32*%R,align 4
store i8*%P,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%P,i64 4
%T=bitcast i8*%S to i32*
store i32 0,i32*%T,align 1
%U=bitcast i8*%P to i32*
store i32 6,i32*%U,align 4
%V=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%P,i64 8
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 16
%Z=bitcast i8*%Y to i32*
store i32 2,i32*%Z,align 4
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
store i8*%aa,i8**%c,align 8
%ad=bitcast i8*%aa to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@c,i64 0,i32 2)to i8*),i8**%ad,align 8
%ae=load i8*,i8**%e,align 8
%af=getelementptr inbounds i8,i8*%aa,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 16
%ai=bitcast i8*%ah to i32*
store i32 3,i32*%ai,align 4
%aj=bitcast i8**%f to i8***
%ak=load i8**,i8***%aj,align 8
store i8*null,i8**%f,align 8
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%e,align 8
%am=call i8*@sml_alloc(i32 inreg 36)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177312,i32*%ao,align 4
%ap=load i8*,i8**%d,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 i8**
store i8*null,i8**%as,align 8
%at=load i8*,i8**%e,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=load i8*,i8**%c,align 8
%ax=getelementptr inbounds i8,i8*%am,i64 24
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%am,i64 32
%aA=bitcast i8*%az to i32*
store i32 15,i32*%aA,align 4
%aB=tail call fastcc i8*@_SMLFN12TypedCalcCon11TPPRIMAPPLYE(i8*inreg%am)
ret i8*%aB
}
define internal fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_233(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
%g=icmp eq i8*%f,null
br i1%g,label%I,label%h
h:
%i=bitcast i8*%f to i8**
%j=load i8*,i8**%i,align 8
store i8*%j,i8**%b,align 8
%k=getelementptr inbounds i8,i8*%a,i64 8
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
%n=icmp eq i8*%m,null
br i1%n,label%I,label%o
o:
%p=bitcast i8*%m to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%d,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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177288,i32*%D,align 4
%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 i32*
store i32 1,i32*%H,align 4
ret i8*%B
I:
%J=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 28)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177304,i32*%M,align 4
store i8*%K,i8**%c,align 8
%N=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@e,i64 0,i32 2,i64 0),i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@f,i64 0,i32 2,i64 0),i8**%S,align 8
%T=getelementptr inbounds i8,i8*%K,i64 24
%U=bitcast i8*%T to i32*
store i32 7,i32*%U,align 4
%V=call i8*@sml_alloc(i32 inreg 60)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177336,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%V,i64 56
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
%aa=load i8*,i8**%c,align 8
%ab=bitcast i8*%V to i8**
store i8*%aa,i8**%ab,align 8
call void@sml_raise(i8*inreg%V)#1
unreachable
}
define internal fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_235(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=call fastcc i8*@_SMLFN12TypedCalcCon8TPSELECTE(i8*inreg null)
%l=getelementptr inbounds i8,i8*%k,i64 16
%m=bitcast i8*%l to i8*(i8*,i8*)**
%n=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m,align 8
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%f,align 8
%q=load i8*,i8**%d,align 8
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%e,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=load i8*,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%w,i64 24
%I=bitcast i8*%H to i32*
store i32 7,i32*%I,align 4
%J=load i8*,i8**%f,align 8
%K=tail call fastcc i8*%n(i8*inreg%J,i8*inreg%w)
ret i8*%K
}
define internal fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_236(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**%e,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%j,label%l
j:
%k=bitcast i8*%b to i8**
br label%p
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%n to i8*
br label%p
p:
%q=phi i8*[%o,%l],[%b,%j]
%r=phi i8**[%n,%l],[%k,%j]
%s=load i8*,i8**%r,align 8
%t=icmp eq i8*%s,null
br i1%t,label%y,label%u
u:
%v=bitcast i8*%s to i32*
%w=load i32,i32*%v,align 4
%x=icmp eq i32%w,33
br i1%x,label%aH,label%y
y:
%z=getelementptr inbounds i8,i8*%q,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=icmp eq i8*%B,null
br i1%C,label%H,label%D
D:
%E=bitcast i8*%B to i32*
%F=load i32,i32*%E,align 4
%G=icmp eq i32%F,8
br i1%G,label%I,label%H
H:
store i8*null,i8**%e,align 8
br label%bv
I:
%J=getelementptr inbounds i8,i8*%B,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%d,align 8
%M=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%f,align 8
%S=bitcast i8**%e to i8***
%T=load i8**,i8***%S,align 8
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%e,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**%g,align 8
%Y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%c,align 8
store i8*null,i8**%c,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=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation13explodeRecordE_235 to void(...)*),void(...)**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation13explodeRecordE_235 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 24
%ap=bitcast i8*%ao to i32*
store i32 -2147483647,i32*%ap,align 4
%aq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ar=call fastcc i8*%P(i8*inreg%aq,i8*inreg%af)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%c,align 8
%ax=call fastcc i8*@_SMLFN11RecordLabel3Map8listKeysE(i32 inreg 1,i32 inreg 8)
%ay=getelementptr inbounds i8,i8*%ax,i64 16
%az=bitcast i8*%ay to i8*(i8*,i8*)**
%aA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%az,align 8
%aB=bitcast i8*%ax to i8**
%aC=load i8*,i8**%aB,align 8
%aD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aE=call fastcc i8*%aA(i8*inreg%aC,i8*inreg%aD)
%aF=load i8*,i8**%c,align 8
%aG=tail call fastcc i8*%au(i8*inreg%aF,i8*inreg%aE)
ret i8*%aG
aH:
store i8*null,i8**%e,align 8
%aI=getelementptr inbounds i8,i8*%s,i64 8
%aJ=bitcast i8*%aI to i8***
%aK=load i8**,i8***%aJ,align 8
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%d,align 8
%aM=getelementptr inbounds i8,i8*%q,i64 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
%aP=icmp eq i8*%aO,null
br i1%aP,label%aU,label%aQ
aQ:
%aR=bitcast i8*%aO to i32*
%aS=load i32,i32*%aR,align 4
%aT=icmp eq i32%aS,8
br i1%aT,label%aV,label%aU
aU:
store i8*null,i8**%d,align 8
br label%bv
aV:
%aW=getelementptr inbounds i8,i8*%aO,i64 8
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%c,align 8
%aZ=call fastcc i8*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg 1,i32 inreg 8)
%a0=getelementptr inbounds i8,i8*%aZ,i64 16
%a1=bitcast i8*%a0 to i8*(i8*,i8*)**
%a2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a1,align 8
%a3=bitcast i8*%aZ to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%f,align 8
%a5=call fastcc i8*@_SMLFN11RecordLabel3Map9mergeWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a6=getelementptr inbounds i8,i8*%a5,i64 16
%a7=bitcast i8*%a6 to i8*(i8*,i8*)**
%a8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a7,align 8
%a9=bitcast i8*%a5 to i8**
%ba=load i8*,i8**%a9,align 8
%bb=call fastcc i8*%a8(i8*inreg%ba,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*))
%bc=getelementptr inbounds i8,i8*%bb,i64 16
%bd=bitcast i8*%bc to i8*(i8*,i8*)**
%be=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bd,align 8
%bf=bitcast i8*%bb to i8**
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%e,align 8
%bh=call i8*@sml_alloc(i32 inreg 20)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177296,i32*%bj,align 4
%bk=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bn=getelementptr inbounds i8,i8*%bh,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bh,i64 16
%bq=bitcast i8*%bp to i32*
store i32 3,i32*%bq,align 4
%br=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bs=call fastcc i8*%be(i8*inreg%br,i8*inreg%bh)
%bt=load i8*,i8**%f,align 8
%bu=tail call fastcc i8*%a2(i8*inreg%bt,i8*inreg%bs)
ret i8*%bu
bv:
%bw=load i8*,i8**@_SMLZN3Bug3BugE,align 8
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**%d,align 8
%bA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bx,i64 8
%bD=bitcast i8*%bC to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@d,i64 0,i32 2,i64 0),i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bx,i64 16
%bF=bitcast i8*%bE to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@f,i64 0,i32 2,i64 0),i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bx,i64 24
%bH=bitcast i8*%bG to i32*
store i32 7,i32*%bH,align 4
%bI=call i8*@sml_alloc(i32 inreg 60)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177336,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bI,i64 56
%bM=bitcast i8*%bL to i32*
store i32 1,i32*%bM,align 4
%bN=load i8*,i8**%d,align 8
%bO=bitcast i8*%bI to i8**
store i8*%bN,i8**%bO,align 8
call void@sml_raise(i8*inreg%bI)#1
unreachable
}
define internal fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_237(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation13explodeRecordE_236 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation13explodeRecordE_236 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN14FFICompilation22recordLabelMapFromListE_239(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=bitcast i8*%k to i8***
%o=load i8**,i8***%n,align 8
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=load i8*,i8**%m,align 8
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%k,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%d,align 8
%x=call fastcc i8*@_SMLFN11RecordLabel3Map6insertE(i32 inreg 1,i32 inreg 8)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%e,align 8
%D=call i8*@sml_alloc(i32 inreg 28)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177304,i32*%F,align 4
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%b,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=load i8*,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%D,i64 16
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%D,i64 24
%P=bitcast i8*%O to i32*
store i32 7,i32*%P,align 4
%Q=load i8*,i8**%e,align 8
%R=tail call fastcc i8*%A(i8*inreg%Q,i8*inreg%D)
ret i8*%R
}
define internal fastcc i8*@_SMLLN14FFICompilation22recordLabelMapFromListE_241(i8*inreg%a)unnamed_addr#2 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 atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%i=getelementptr inbounds i8,i8*%h,i64 16
%j=bitcast i8*%i to i8*(i8*,i8*)**
%k=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j,align 8
%l=bitcast i8*%h to i8**
%m=load i8*,i8**%l,align 8
%n=call fastcc i8*%k(i8*inreg%m,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*))
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=call fastcc i8*@_SMLFN11RecordLabel3Map5emptyE(i32 inreg 1,i32 inreg 8)
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=call fastcc i8*%q(i8*inreg%u,i8*inreg%t)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=load i8*,i8**%b,align 8
%C=tail call fastcc i8*%y(i8*inreg%A,i8*inreg%B)
ret i8*%C
}
define internal fastcc i8*@_SMLLN14FFICompilation10composeArgE_243(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%c,align 8
%l=call fastcc i8*@_SMLLN14FFICompilation22recordLabelMapFromListE_241(i8*inreg%j)
store i8*%l,i8**%c,align 8
%m=bitcast i8**%d to i8***
%n=load i8**,i8***%m,align 8
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=tail call fastcc i8*@_SMLFN12TypedCalcCon8TPRECORDE(i8*inreg%p)
ret i8*%z
}
define internal fastcc i8*@_SMLLN14FFICompilation10composeArgE_244(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=icmp eq i8*%k,null
br i1%m,label%n,label%F
n:
%o=bitcast i8**%d to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=load i8*,i8**@_SMLZN12BuiltinTypes6unitTyE,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
%v=bitcast i8*%s to i8**
store i8*null,i8**%v,align 8
%w=load i8*,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=load i8*,i8**%d,align 8
%A=getelementptr inbounds i8,i8*%s,i64 16
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%s,i64 24
%D=bitcast i8*%C to i32*
store i32 7,i32*%D,align 4
%E=tail call fastcc i8*@_SMLFN12TypedCalcCon10TPCONSTANTE(i8*inreg%s)
ret i8*%E
F:
%G=getelementptr inbounds i8,i8*%k,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=icmp eq i8*%I,null
br i1%J,label%K,label%N
K:
%L=bitcast i8*%k to i8**
%M=load i8*,i8**%L,align 8
ret i8*%M
N:
%O=bitcast i8**%d to i8***
%P=load i8**,i8***%O,align 8
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%d,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**%e,align 8
%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=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
%aa=bitcast i8*%Z to i32*
store i32 1342177304,i32*%aa,align 4
%ab=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10composeArgE_243 to void(...)*),void(...)**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 16
%ag=bitcast i8*%af to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10composeArgE_243 to void(...)*),void(...)**%ag,align 8
%ah=getelementptr inbounds i8,i8*%Y,i64 24
%ai=bitcast i8*%ah to i32*
store i32 -2147483647,i32*%ai,align 4
store i8*%ab,i8**%d,align 8
%aj=call fastcc i8*@_SMLFN11RecordLabel9tupleListE(i32 inreg 1,i32 inreg 8)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=call fastcc i8*%am(i8*inreg%ao,i8*inreg%ap)
%ar=load i8*,i8**%d,align 8
%as=tail call fastcc i8*@_SMLLN14FFICompilation10composeArgE_243(i8*inreg%ar,i8*inreg%aq)
ret i8*%as
}
define internal fastcc i8*@_SMLLN14FFICompilation10composeArgE_245(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10composeArgE_244 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10composeArgE_244 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN14FFICompilation12decomposeArgE_247(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**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=icmp eq i8*%l,null
br i1%n,label%o,label%T
o:
store i8*null,i8**%c,align 8
%p=bitcast i8**%d to i8***
%q=load i8**,i8***%p,align 8
store i8*null,i8**%d,align 8
%r=load i8*,i8**%q,align 8
%s=call fastcc i8*@_SMLFN14TypedCalcUtils12newTCVarInfoE(i8*inreg%r)
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
%y=load i8*,i8**@_SMLZN12BuiltinTypes6unitTyE,align 8
%z=call fastcc i8*%v(i8*inreg%x,i8*inreg%y)
store i8*%z,i8**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
%D=load i8*,i8**%c,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to i8**
store i8*null,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
store i8*null,i8**%d,align 8
%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
%M=load i8*,i8**%c,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
ret i8*%J
T:
%U=getelementptr inbounds i8,i8*%l,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=icmp eq i8*%W,null
%Y=load i8*,i8**%d,align 8
br i1%X,label%Z,label%aQ
Z:
store i8*null,i8**%d,align 8
%aa=bitcast i8*%Y to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*@_SMLFN14TypedCalcUtils12newTCVarInfoE(i8*inreg%ab)
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
%ai=bitcast i8**%c to i8***
%aj=load i8**,i8***%ai,align 8
store i8*null,i8**%c,align 8
%ak=load i8*,i8**%aj,align 8
%al=call fastcc i8*%af(i8*inreg%ah,i8*inreg%ak)
store i8*%al,i8**%c,align 8
%am=call fastcc i8*@_SMLFN12TypedCalcCon5TPVARE(i8*inreg%al)
store i8*%am,i8**%d,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
%aq=load i8*,i8**%d,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%an,i64 8
%at=bitcast i8*%as to i8**
store i8*null,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%an,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
store i8*null,i8**%e,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
store i8*%aw,i8**%f,align 8
%az=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aC=getelementptr inbounds i8,i8*%aw,i64 8
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%aw,i64 16
%aF=bitcast i8*%aE to i32*
store i32 3,i32*%aF,align 4
%aG=call i8*@sml_alloc(i32 inreg 20)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177296,i32*%aI,align 4
%aJ=load i8*,i8**%c,align 8
%aK=bitcast i8*%aG to i8**
store i8*%aJ,i8**%aK,align 8
%aL=load i8*,i8**%f,align 8
%aM=getelementptr inbounds i8,i8*%aG,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aG,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
ret i8*%aG
aQ:
%aR=bitcast i8*%Y to i8**
%aS=load i8*,i8**%aR,align 8
%aT=call fastcc i8*@_SMLFN14TypedCalcUtils12newTCVarInfoE(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
store i8*%aY,i8**%e,align 8
%aZ=call fastcc i8*@_SMLFN11RecordLabel8tupleMapE(i32 inreg 1,i32 inreg 8)
%a0=getelementptr inbounds i8,i8*%aZ,i64 16
%a1=bitcast i8*%a0 to i8*(i8*,i8*)**
%a2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a1,align 8
%a3=bitcast i8*%aZ to i8**
%a4=load i8*,i8**%a3,align 8
%a5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a6=call fastcc i8*%a2(i8*inreg%a4,i8*inreg%a5)
store i8*%a6,i8**%c,align 8
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=bitcast i8*%a7 to i32*
%a9=getelementptr inbounds i8,i8*%a7,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177296,i32*%ba,align 4
%bb=getelementptr inbounds i8,i8*%a7,i64 4
%bc=bitcast i8*%bb to i32*
store i32 0,i32*%bc,align 1
store i32 8,i32*%a8,align 4
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 8
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a7,i64 16
%bh=bitcast i8*%bg to i32*
store i32 2,i32*%bh,align 4
%bi=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bj=call fastcc i8*%aW(i8*inreg%bi,i8*inreg%a7)
store i8*%bj,i8**%c,align 8
%bk=bitcast i8**%d to i8***
%bl=load i8**,i8***%bk,align 8
store i8*null,i8**%d,align 8
%bm=load i8*,i8**%bl,align 8
%bn=call fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_237(i8*inreg%bm)
%bo=getelementptr inbounds i8,i8*%bn,i64 16
%bp=bitcast i8*%bo to i8*(i8*,i8*)**
%bq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bp,align 8
%br=bitcast i8*%bn to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%d,align 8
%bt=load i8*,i8**%c,align 8
%bu=call fastcc i8*@_SMLFN12TypedCalcCon5TPVARE(i8*inreg%bt)
%bv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bw=call fastcc i8*%bq(i8*inreg%bv,i8*inreg%bu)
store i8*%bw,i8**%d,align 8
%bx=call i8*@sml_alloc(i32 inreg 20)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177296,i32*%bz,align 4
%bA=load i8*,i8**%c,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=load i8*,i8**%d,align 8
%bD=getelementptr inbounds i8,i8*%bx,i64 8
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bx,i64 16
%bG=bitcast i8*%bF to i32*
store i32 3,i32*%bG,align 4
ret i8*%bx
}
define internal fastcc i8*@_SMLLN14FFICompilation12decomposeArgE_248(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation12decomposeArgE_247 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation12decomposeArgE_247 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i32@_SMLLN14FFICompilation8hasFunTyE_254(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=getelementptr inbounds i8,i8*%h,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
%m=tail call fastcc i32@_SMLLN14FFICompilation8hasFunTyE_250(i8*inreg%l)
ret i32%m
}
define internal fastcc i32@_SMLLN14FFICompilation8hasFunTyE_250(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32*
%l=load i32,i32*%k,align 4
switch i32%l,label%m[
i32 0,label%ac
i32 1,label%aa
i32 2,label%E
]
m:
call void@sml_matchcomp_bug()
%n=load i8*,i8**@_SMLZ5Match,align 8
store i8*%n,i8**%b,align 8
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177296,i32*%q,align 4
store i8*%o,i8**%c,align 8
%r=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=getelementptr inbounds i8,i8*%o,i64 8
%u=bitcast i8*%t to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@j,i64 0,i32 2,i64 0),i8**%u,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i32*
store i32 3,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 60)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177336,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%x,i64 56
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
%C=load i8*,i8**%c,align 8
%D=bitcast i8*%x to i8**
store i8*%C,i8**%D,align 8
call void@sml_raise(i8*inreg%x)#1
unreachable
E:
%F=getelementptr inbounds i8,i8*%i,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%b,align 8
%I=call fastcc i8*@_SMLFN4List6existsE(i32 inreg 1,i32 inreg 8)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%L(i8*inreg%N,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
%U=bitcast i8**%b to i8***
%V=load i8**,i8***%U,align 8
store i8*null,i8**%b,align 8
%W=load i8*,i8**%V,align 8
%X=call fastcc i8*%R(i8*inreg%T,i8*inreg%W)
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
ret i32%Z
aa:
%ab=phi i32[%l,%h],[0,%ac]
ret i32%ab
ac:
br label%aa
}
define internal fastcc i8*@_SMLLN14FFICompilation6zipAppE_259(i8*inreg%a,i8*inreg%b)unnamed_addr#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**%c,align 8
store i8*%b,i8**%d,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%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],[%a,%l]
store i8*%k,i8**%e,align 8
%m=icmp eq i8*%k,null
br i1%m,label%n,label%r
n:
store i8*null,i8**%e,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=icmp eq i8*%o,null
br i1%p,label%q,label%Z
q:
ret i8*null
r:
%s=load i8*,i8**%d,align 8
%t=icmp eq i8*%s,null
br i1%t,label%u,label%v
u:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
br label%Z
v:
%w=bitcast i8*%k to i8**
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=bitcast i8*%s to i8**
%E=load i8*,i8**%D,align 8
%F=call fastcc i8*%A(i8*inreg%C,i8*inreg%E)
store i8*%F,i8**%c,align 8
%G=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%H=getelementptr inbounds i8,i8*%G,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*@_SMLLN14FFICompilation6zipAppE_259(i8*inreg%J,i8*inreg%N)
store i8*%O,i8**%d,align 8
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177296,i32*%R,align 4
%S=load i8*,i8**%c,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=load i8*,i8**%d,align 8
%V=getelementptr inbounds i8,i8*%P,i64 8
%W=bitcast i8*%V to i8**
store i8*%U,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%P,i64 16
%Y=bitcast i8*%X to i32*
store i32 3,i32*%Y,align 4
ret i8*%P
Z:
%aa=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aa,i8**%c,align 8
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
store i8*%ab,i8**%d,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@k,i64 0,i32 2,i64 0),i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@l,i64 0,i32 2,i64 0),i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ab,i64 24
%al=bitcast i8*%ak to i32*
store i32 7,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 60)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177336,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%am,i64 56
%aq=bitcast i8*%ap to i32*
store i32 1,i32*%aq,align 4
%ar=load i8*,i8**%d,align 8
%as=bitcast i8*%am to i8**
store i8*%ar,i8**%as,align 8
call void@sml_raise(i8*inreg%am)#1
unreachable
}
define internal fastcc i8*@_SMLLN14FFICompilation16HandleAndReRaiseE_265(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
t:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%c,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%b,%t]
store i8*null,i8**%c,align 8
%u=bitcast i8*%s to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%s,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=load i8*,i8**@_SMLZN12BuiltinTypes5exnTyE,align 8
%A=call fastcc i8*@_SMLFN10ReifyUtils6newVarE(i8*inreg%z)
store i8*%A,i8**%c,align 8
%B=load i8*,i8**%g,align 8
%C=getelementptr inbounds i8,i8*%B,i64 8
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,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=call i8*@sml_alloc(i32 inreg 28)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177304,i32*%J,align 4
store i8*%H,i8**%i,align 8
%K=bitcast i8*%H to i8**
store i8*null,i8**%K,align 8
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%P=getelementptr inbounds i8,i8*%H,i64 16
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%H,i64 24
%S=bitcast i8*%R to i32*
store i32 7,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
store i8*%T,i8**%j,align 8
%W=getelementptr inbounds i8,i8*%T,i64 4
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
%Y=bitcast i8*%T to i32*
store i32 16,i32*%Y,align 4
%Z=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i32*
store i32 2,i32*%ad,align 4
%ae=bitcast i8**%g to i8***
%af=load i8**,i8***%ae,align 8
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%d,align 8
%ah=call i8*@sml_alloc(i32 inreg 28)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177304,i32*%aj,align 4
store i8*%ah,i8**%h,align 8
%ak=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=load i8*,i8**%f,align 8
%aq=getelementptr inbounds i8,i8*%ah,i64 16
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%ah,i64 24
%at=bitcast i8*%as to i32*
store i32 7,i32*%at,align 4
%au=call i8*@sml_alloc(i32 inreg 20)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177296,i32*%aw,align 4
store i8*%au,i8**%k,align 8
%ax=getelementptr inbounds i8,i8*%au,i64 4
%ay=bitcast i8*%ax to i32*
store i32 0,i32*%ay,align 1
%az=bitcast i8*%au to i32*
store i32 31,i32*%az,align 4
%aA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 16
%aE=bitcast i8*%aD to i32*
store i32 2,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
store i8*%aF,i8**%i,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 40,i32*%aK,align 4
%aL=load i8*,i8**%c,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
%aQ=load i8**,i8***%ae,align 8
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%d,align 8
%aS=call i8*@sml_alloc(i32 inreg 28)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177304,i32*%aU,align 4
store i8*%aS,i8**%h,align 8
%aV=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aY=getelementptr inbounds i8,i8*%aS,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=load i8*,i8**%f,align 8
%a1=getelementptr inbounds i8,i8*%aS,i64 16
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aS,i64 24
%a4=bitcast i8*%a3 to i32*
store i32 7,i32*%a4,align 4
%a5=call i8*@sml_alloc(i32 inreg 20)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177296,i32*%a7,align 4
store i8*%a5,i8**%l,align 8
%a8=getelementptr inbounds i8,i8*%a5,i64 4
%a9=bitcast i8*%a8 to i32*
store i32 0,i32*%a9,align 1
%ba=bitcast i8*%a5 to i32*
store i32 31,i32*%ba,align 4
%bb=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 8
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a5,i64 16
%bf=bitcast i8*%be to i32*
store i32 2,i32*%bf,align 4
%bg=call i8*@sml_alloc(i32 inreg 20)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177296,i32*%bi,align 4
store i8*%bg,i8**%m,align 8
%bj=getelementptr inbounds i8,i8*%bg,i64 4
%bk=bitcast i8*%bj to i32*
store i32 0,i32*%bk,align 1
%bl=bitcast i8*%bg to i32*
store i32 40,i32*%bl,align 4
%bm=load i8*,i8**%c,align 8
%bn=getelementptr inbounds i8,i8*%bg,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bg,i64 16
%bq=bitcast i8*%bp to i32*
store i32 2,i32*%bq,align 4
%br=load i8*,i8**@_SMLZN12BuiltinTypes5exnTyE,align 8
store i8*%br,i8**%h,align 8
%bs=load i8**,i8***%ae,align 8
%bt=load i8*,i8**%bs,align 8
store i8*%bt,i8**%i,align 8
%bu=getelementptr inbounds i8*,i8**%bs,i64 1
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%j,align 8
%bw=call i8*@sml_alloc(i32 inreg 28)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177304,i32*%by,align 4
store i8*%bw,i8**%d,align 8
%bz=bitcast i8*%bw to i8**
store i8*null,i8**%bz,align 8
%bA=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bB=getelementptr inbounds i8,i8*%bw,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bE=getelementptr inbounds i8,i8*%bw,i64 16
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bw,i64 24
%bH=bitcast i8*%bG to i32*
store i32 7,i32*%bH,align 4
%bI=call i8*@sml_alloc(i32 inreg 20)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177296,i32*%bK,align 4
store i8*%bI,i8**%j,align 8
%bL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bI,i64 8
%bO=bitcast i8*%bN to i8**
store i8*null,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bI,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
%bR=call i8*@sml_alloc(i32 inreg 20)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177296,i32*%bT,align 4
store i8*%bR,i8**%k,align 8
%bU=getelementptr inbounds i8,i8*%bR,i64 4
%bV=bitcast i8*%bU to i32*
store i32 0,i32*%bV,align 1
%bW=bitcast i8*%bR to i32*
store i32 2,i32*%bW,align 4
%bX=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bY=getelementptr inbounds i8,i8*%bR,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bR,i64 16
%b1=bitcast i8*%b0 to i32*
store i32 2,i32*%b1,align 4
%b2=call i8*@sml_alloc(i32 inreg 52)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177328,i32*%b4,align 4
store i8*%b2,i8**%d,align 8
%b5=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%b8=getelementptr inbounds i8,i8*%b2,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cb=getelementptr inbounds i8,i8*%b2,i64 16
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ce=getelementptr inbounds i8,i8*%b2,i64 24
%cf=bitcast i8*%ce to i8**
store i8*%cd,i8**%cf,align 8
%cg=load i8*,i8**%f,align 8
%ch=getelementptr inbounds i8,i8*%b2,i64 32
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%ck=getelementptr inbounds i8,i8*%b2,i64 40
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%b2,i64 48
%cn=bitcast i8*%cm to i32*
store i32 63,i32*%cn,align 4
%co=call i8*@sml_alloc(i32 inreg 20)#0
%cp=getelementptr inbounds i8,i8*%co,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
store i8*%co,i8**%h,align 8
%cr=getelementptr inbounds i8,i8*%co,i64 4
%cs=bitcast i8*%cr to i32*
store i32 0,i32*%cs,align 1
%ct=bitcast i8*%co to i32*
store i32 37,i32*%ct,align 4
%cu=load i8*,i8**%d,align 8
%cv=getelementptr inbounds i8,i8*%co,i64 8
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=getelementptr inbounds i8,i8*%co,i64 16
%cy=bitcast i8*%cx to i32*
store i32 2,i32*%cy,align 4
%cz=load i8**,i8***%ae,align 8
store i8*null,i8**%g,align 8
%cA=load i8*,i8**%cz,align 8
store i8*%cA,i8**%d,align 8
%cB=call i8*@sml_alloc(i32 inreg 44)#0
%cC=getelementptr inbounds i8,i8*%cB,i64 -4
%cD=bitcast i8*%cC to i32*
store i32 1342177320,i32*%cD,align 4
store i8*%cB,i8**%g,align 8
%cE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cF=bitcast i8*%cB to i8**
store i8*%cE,i8**%cF,align 8
%cG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cH=getelementptr inbounds i8,i8*%cB,i64 8
%cI=bitcast i8*%cH to i8**
store i8*%cG,i8**%cI,align 8
%cJ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cK=getelementptr inbounds i8,i8*%cB,i64 16
%cL=bitcast i8*%cK to i8**
store i8*%cJ,i8**%cL,align 8
%cM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cN=getelementptr inbounds i8,i8*%cB,i64 24
%cO=bitcast i8*%cN to i8**
store i8*%cM,i8**%cO,align 8
%cP=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cQ=getelementptr inbounds i8,i8*%cB,i64 32
%cR=bitcast i8*%cQ to i8**
store i8*%cP,i8**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cB,i64 40
%cT=bitcast i8*%cS to i32*
store i32 31,i32*%cT,align 4
%cU=call i8*@sml_alloc(i32 inreg 20)#0
%cV=bitcast i8*%cU to i32*
%cW=getelementptr inbounds i8,i8*%cU,i64 -4
%cX=bitcast i8*%cW to i32*
store i32 1342177296,i32*%cX,align 4
%cY=getelementptr inbounds i8,i8*%cU,i64 4
%cZ=bitcast i8*%cY to i32*
store i32 0,i32*%cZ,align 1
store i32 23,i32*%cV,align 4
%c0=load i8*,i8**%g,align 8
%c1=getelementptr inbounds i8,i8*%cU,i64 8
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cU,i64 16
%c4=bitcast i8*%c3 to i32*
store i32 2,i32*%c4,align 4
ret i8*%cU
}
define internal fastcc i8*@_SMLLN14FFICompilation16HandleAndReRaiseE_266(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation16HandleAndReRaiseE_265 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*)*@_SMLLN14FFICompilation16HandleAndReRaiseE_265 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN14FFICompilation16HandleAndReRaiseE_267(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation16HandleAndReRaiseE_266 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation16HandleAndReRaiseE_266 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_303(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_307(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10stubImportE_270(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_309(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10stubExportE_269(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_311(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**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 16
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,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**%f,align 8
%t=load i8*,i8**%d,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*null,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=load i8*,i8**%e,align 8
%A=getelementptr inbounds i8,i8*%z,i64 40
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%d,align 8
%D=call i8*@sml_alloc(i32 inreg 28)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177304,i32*%F,align 4
%G=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=getelementptr inbounds i8,i8*%D,i64 16
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%D,i64 24
%P=bitcast i8*%O to i32*
store i32 7,i32*%P,align 4
%Q=call fastcc i8*@_SMLFN12TypedCalcCon6TPAPPME(i8*inreg%D)
store i8*%Q,i8**%c,align 8
%R=load i8*,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%R,i64 24
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%f,align 8
%V=call i8*@sml_alloc(i32 inreg 20)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177296,i32*%X,align 4
store i8*%V,i8**%d,align 8
%Y=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%c,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**%e,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 40
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%c,align 8
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
%am=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ap=getelementptr inbounds i8,i8*%aj,i64 8
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%aj,i64 16
%as=bitcast i8*%ar to i32*
store i32 3,i32*%as,align 4
%at=call fastcc i8*@_SMLFN12TypedCalcCon5TPVALE(i8*inreg%aj)
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%c,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
%az=load i8*,i8**%c,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to i8**
store i8*null,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to i32*
store i32 3,i32*%aE,align 4
store i8*null,i8**%d,align 8
%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
store i8*%aF,i8**%f,align 8
%aI=load i8*,i8**%c,align 8
%aJ=bitcast i8*%aF to i8**
store i8*%aI,i8**%aJ,align 8
%aK=load i8*,i8**%d,align 8
%aL=getelementptr inbounds i8,i8*%aF,i64 8
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aF,i64 16
%aO=bitcast i8*%aN to i32*
store i32 3,i32*%aO,align 4
%aP=load i8*,i8**%e,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 32
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%c,align 8
%aT=getelementptr inbounds i8,i8*%aP,i64 40
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%d,align 8
%aW=call i8*@sml_alloc(i32 inreg 28)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177304,i32*%aY,align 4
%aZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a0=bitcast i8*%aW to i8**
store i8*%aZ,i8**%a0,align 8
%a1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a2=getelementptr inbounds i8,i8*%aW,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*%a1,i8**%a3,align 8
%a4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a5=getelementptr inbounds i8,i8*%aW,i64 16
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aW,i64 24
%a8=bitcast i8*%a7 to i32*
store i32 7,i32*%a8,align 4
%a9=call fastcc i8*@_SMLFN12TypedCalcCon5TPLETE(i8*inreg%aW)
store i8*%a9,i8**%c,align 8
%ba=load i8*,i8**%e,align 8
%bb=getelementptr inbounds i8,i8*%ba,i64 8
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%d,align 8
%be=bitcast i8*%ba to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%f,align 8
%bg=getelementptr inbounds i8,i8*%ba,i64 48
%bh=bitcast i8*%bg to i32*
%bi=load i32,i32*%bh,align 4
%bj=getelementptr inbounds i8,i8*%ba,i64 40
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%e,align 8
%bm=call i8*@sml_alloc(i32 inreg 44)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177320,i32*%bo,align 4
%bp=getelementptr inbounds i8,i8*%bm,i64 28
%bq=bitcast i8*%bp to i32*
store i32 0,i32*%bq,align 1
%br=load i8*,i8**%d,align 8
%bs=bitcast i8*%bm to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%f,align 8
%bu=getelementptr inbounds i8,i8*%bm,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=load i8*,i8**%c,align 8
%bx=getelementptr inbounds i8,i8*%bm,i64 16
%by=bitcast i8*%bx to i8**
store i8*%bw,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%bm,i64 24
%bA=bitcast i8*%bz to i32*
store i32%bi,i32*%bA,align 4
%bB=load i8*,i8**%e,align 8
%bC=getelementptr inbounds i8,i8*%bm,i64 32
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bm,i64 40
%bF=bitcast i8*%bE to i32*
store i32 23,i32*%bF,align 4
%bG=tail call fastcc i8*@_SMLFN12TypedCalcCon12TPCALLBACKFNE(i8*inreg%bm)
ret i8*%bG
}
define internal fastcc i8*@_SMLL5stubs_312(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN14FFICompilation10stubExportE_269(i8*inreg%o)
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
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLL6retTys_314(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
%d=bitcast i8*%a to i8**
%e=load i8*,i8**%d,align 8
store i8*%e,i8**%b,align 8
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8***
%h=load i8**,i8***%g,align 8
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%c,align 8
%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
%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
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_316(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
%e=getelementptr inbounds i8,i8*%d,i64 8
%f=bitcast i8*%e to i8**
%g=load i8*,i8**%f,align 8
ret i8*%g
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_318(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**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=call fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_237(i8*inreg%r)
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=call fastcc i8*%v(i8*inreg%x,i8*inreg%y)
store i8*%z,i8**%c,align 8
%A=call fastcc i8*@_SMLFN11RecordLabel9tupleListE(i32 inreg 1,i32 inreg 8)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%G to i8**
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*%J(i8*inreg%L,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*))
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
%S=bitcast i8**%d to i8***
%T=load i8**,i8***%S,align 8
%U=load i8*,i8**%T,align 8
%V=call fastcc i8*%P(i8*inreg%R,i8*inreg%U)
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=call fastcc i8*@_SMLLN14FFICompilation6zipAppE_259(i8*inreg%V,i8*inreg%W)
%Y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Z=call fastcc i8*%D(i8*inreg%Y,i8*inreg%X)
%aa=call fastcc i8*@_SMLLN14FFICompilation22recordLabelMapFromListE_241(i8*inreg%Z)
store i8*%aa,i8**%c,align 8
%ab=load i8*,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
%af=getelementptr inbounds i8,i8*%ae,i64 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%d,align 8
%ai=call i8*@sml_alloc(i32 inreg 20)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177296,i32*%ak,align 4
%al=load i8*,i8**%c,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=load i8*,i8**%d,align 8
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ai,i64 16
%ar=bitcast i8*%aq to i32*
store i32 3,i32*%ar,align 4
%as=tail call fastcc i8*@_SMLFN12TypedCalcCon8TPRECORDE(i8*inreg%ai)
ret i8*%as
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_319(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_322(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_324(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10stubExportE_269(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_326(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10stubExportE_269(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLL9ffiArgTys_329(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*@_SMLLN14FFICompilation10stubImportE_331(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10stubImportE_270(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_335(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**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%l,i64 32
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%f,align 8
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%t,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%C=getelementptr inbounds i8,i8*%t,i64 16
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%t,i64 24
%F=bitcast i8*%E to i32*
store i32 7,i32*%F,align 4
%G=call fastcc i8*@_SMLFN12TypedCalcCon14TPFOREIGNAPPLYE(i8*inreg%t)
store i8*%G,i8**%c,align 8
%H=load i8*,i8**%e,align 8
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%f,align 8
%L=call i8*@sml_alloc(i32 inreg 20)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177296,i32*%N,align 4
store i8*%L,i8**%d,align 8
%O=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%L,i64 8
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%L,i64 16
%U=bitcast i8*%T to i32*
store i32 3,i32*%U,align 4
%V=load i8*,i8**%e,align 8
%W=getelementptr inbounds i8,i8*%V,i64 32
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%c,align 8
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%Z,i64 16
%ai=bitcast i8*%ah to i32*
store i32 3,i32*%ai,align 4
%aj=call fastcc i8*@_SMLFN12TypedCalcCon5TPVALE(i8*inreg%Z)
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%c,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=load i8*,i8**%c,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 i8**
store i8*null,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%am,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
store i8*null,i8**%d,align 8
%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
store i8*%av,i8**%f,align 8
%ay=load i8*,i8**%c,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=load i8*,i8**%d,align 8
%aB=getelementptr inbounds i8,i8*%av,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%av,i64 16
%aE=bitcast i8*%aD to i32*
store i32 3,i32*%aE,align 4
%aF=load i8*,i8**%e,align 8
%aG=getelementptr inbounds i8,i8*%aF,i64 24
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%c,align 8
%aJ=getelementptr inbounds i8,i8*%aF,i64 32
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%d,align 8
%aM=call i8*@sml_alloc(i32 inreg 28)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177304,i32*%aO,align 4
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aS=getelementptr inbounds i8,i8*%aM,i64 8
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aV=getelementptr inbounds i8,i8*%aM,i64 16
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aM,i64 24
%aY=bitcast i8*%aX to i32*
store i32 7,i32*%aY,align 4
%aZ=call fastcc i8*@_SMLFN12TypedCalcCon5TPLETE(i8*inreg%aM)
store i8*%aZ,i8**%c,align 8
%a0=bitcast i8**%e to i8***
%a1=load i8**,i8***%a0,align 8
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%d,align 8
%a3=call i8*@sml_alloc(i32 inreg 20)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177296,i32*%a5,align 4
store i8*%a3,i8**%f,align 8
%a6=load i8*,i8**%d,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 i8**
store i8*null,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a3,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
%bc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64 32
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%d,align 8
%bg=call i8*@sml_alloc(i32 inreg 28)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177304,i32*%bi,align 4
%bj=load i8*,i8**%f,align 8
%bk=bitcast i8*%bg to i8**
store i8*%bj,i8**%bk,align 8
%bl=load i8*,i8**%c,align 8
%bm=getelementptr inbounds i8,i8*%bg,i64 8
%bn=bitcast i8*%bm to i8**
store i8*%bl,i8**%bn,align 8
%bo=load i8*,i8**%d,align 8
%bp=getelementptr inbounds i8,i8*%bg,i64 16
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bg,i64 24
%bs=bitcast i8*%br to i32*
store i32 7,i32*%bs,align 4
%bt=tail call fastcc i8*@_SMLFN12TypedCalcCon5TPFNME(i8*inreg%bg)
ret i8*%bt
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_269(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
t:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%e,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%e,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%a,%t]
store i8*%s,i8**%f,align 8
%u=bitcast i8*%s to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 0,label%gq
i32 1,label%b6
i32 2,label%O
]
w:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%e,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**%f,align 8
%B=load i8*,i8**%e,align 8
store i8*null,i8**%e,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,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@v,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**%f,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
%P=getelementptr inbounds i8,i8*%s,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%g,align 8
%S=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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
%Y=call fastcc i8*%V(i8*inreg%X,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*))
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
%ae=bitcast i8**%g to i8***
%af=load i8**,i8***%ae,align 8
%ag=load i8*,i8**%af,align 8
%ah=call fastcc i8*%ab(i8*inreg%ad,i8*inreg%ag)
store i8*%ah,i8**%e,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}>*@s,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**%e,align 8
%av=call fastcc i8*%ar(i8*inreg%at,i8*inreg%au)
%aw=call fastcc i8*@_SMLLN14FFICompilation22recordLabelMapFromListE_241(i8*inreg%av)
store i8*%aw,i8**%h,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**%i,align 8
%aA=getelementptr inbounds i8,i8*%ax,i64 4
%aB=bitcast i8*%aA to i32*
store i32 0,i32*%aB,align 1
%aC=bitcast i8*%ax to i32*
store i32 8,i32*%aC,align 4
%aD=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ax,i64 16
%aH=bitcast i8*%aG to i32*
store i32 2,i32*%aH,align 4
%aI=load i8**,i8***%ae,align 8
%aJ=load i8*,i8**%aI,align 8
%aK=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aK)
%aL=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aL)
%aM=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aM)
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
br label%aN
aN:
%aO=phi i8*[%bo,%bk],[%aJ,%O]
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,%aN]
%aV=icmp eq i8*%aU,null
br i1%aV,label%br,label%aW
aW:
%aX=bitcast i8*%aU to i8***
%aY=load i8**,i8***%aX,align 8
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%c,align 8
%a0=getelementptr inbounds i8,i8*%aU,i64 8
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
%a3=icmp eq i8*%a2,null
br i1%a3,label%bq,label%a4
a4:
%a5=bitcast i8*%a2 to i8***
%a6=load i8**,i8***%a5,align 8
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%d,align 8
%a8=call i8*@sml_alloc(i32 inreg 20)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177296,i32*%ba,align 4
%bb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bc=bitcast i8*%a8 to i8**
store i8*%bb,i8**%bc,align 8
%bd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%be=getelementptr inbounds i8,i8*%a8,i64 8
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a8,i64 16
%bh=bitcast i8*%bg to i32*
store i32 3,i32*%bh,align 4
%bi=call fastcc i32@_SMLFN11RecordLabel7compareE(i8*inreg%a8)
%bj=icmp eq i32%bi,2
br i1%bj,label%bk,label%bp
bk:
%bl=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bm=getelementptr inbounds i8,i8*%bl,i64 8
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
br label%aN
bp:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aL)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aM)
store i8*null,i8**%f,align 8
br label%by
bq:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aL)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aM)
br label%bs
br:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aL)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aM)
br label%bs
bs:
%bt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bu=call fastcc i32@_SMLLN14FFICompilation8hasFunTyE_250(i8*inreg%bt)
%bv=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%bu)
%bw=icmp eq i32%bv,0
br i1%bw,label%by,label%bx
bx:
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
br label%bU
by:
%bz=call i8*@sml_alloc(i32 inreg 20)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
store i8*%bz,i8**%f,align 8
%bC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bD=bitcast i8*%bz to i8**
store i8*%bC,i8**%bD,align 8
%bE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bF=getelementptr inbounds i8,i8*%bz,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bz,i64 16
%bI=bitcast i8*%bH to i32*
store i32 3,i32*%bI,align 4
%bJ=call i8*@sml_alloc(i32 inreg 28)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177304,i32*%bL,align 4
%bM=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bJ,i64 8
%bP=bitcast i8*%bO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_318 to void(...)*),void(...)**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bJ,i64 16
%bR=bitcast i8*%bQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_318 to void(...)*),void(...)**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bJ,i64 24
%bT=bitcast i8*%bS to i32*
store i32 -2147483647,i32*%bT,align 4
br label%bU
bU:
%bV=phi i8*[%bJ,%by],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*),%bx]
store i8*%bV,i8**%e,align 8
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
%bZ=load i8*,i8**%i,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=load i8*,i8**%e,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bW,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 3,i32*%b5,align 4
ret i8*%bW
b6:
store i8*null,i8**%f,align 8
%b7=getelementptr inbounds i8,i8*%s,i64 8
%b8=bitcast i8*%b7 to i8**
%b9=load i8*,i8**%b8,align 8
store i8*%b9,i8**%h,align 8
%ca=bitcast i8*%b9 to i8**
%cb=load i8*,i8**%ca,align 8
store i8*%cb,i8**%e,align 8
%cc=getelementptr inbounds i8,i8*%b9,i64 16
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
%cf=icmp eq i8*%ce,null
br i1%cf,label%cg,label%f6
cg:
%ch=getelementptr inbounds i8,i8*%b9,i64 32
%ci=bitcast i8*%ch to i8**
%cj=load i8*,i8**%ci,align 8
store i8*%cj,i8**%k,align 8
%ck=call fastcc i8*@_SMLFN6Option6getOptE(i32 inreg 1,i32 inreg 8)
%cl=getelementptr inbounds i8,i8*%ck,i64 16
%cm=bitcast i8*%cl to i8*(i8*,i8*)**
%cn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cm,align 8
%co=bitcast i8*%ck to i8**
%cp=load i8*,i8**%co,align 8
store i8*%cp,i8**%g,align 8
%cq=load i8*,i8**@_SMLZN13FFIAttributes20defaultFFIAttributesE,align 8
store i8*%cq,i8**%f,align 8
%cr=call i8*@sml_alloc(i32 inreg 20)#0
%cs=getelementptr inbounds i8,i8*%cr,i64 -4
%ct=bitcast i8*%cs to i32*
store i32 1342177296,i32*%ct,align 4
%cu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cv=bitcast i8*%cr to i8**
store i8*%cu,i8**%cv,align 8
%cw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cx=getelementptr inbounds i8,i8*%cr,i64 8
%cy=bitcast i8*%cx to i8**
store i8*%cw,i8**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cr,i64 16
%cA=bitcast i8*%cz to i32*
store i32 3,i32*%cA,align 4
%cB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cC=call fastcc i8*%cn(i8*inreg%cB,i8*inreg%cr)
store i8*%cC,i8**%e,align 8
%cD=call fastcc i8*@_SMLFN8ListPair5unzipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cE=getelementptr inbounds i8,i8*%cD,i64 16
%cF=bitcast i8*%cE to i8*(i8*,i8*)**
%cG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cF,align 8
%cH=bitcast i8*%cD to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%f,align 8
%cJ=call 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
%cP=call fastcc i8*%cM(i8*inreg%cO,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*))
%cQ=getelementptr inbounds i8,i8*%cP,i64 16
%cR=bitcast i8*%cQ to i8*(i8*,i8*)**
%cS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cR,align 8
%cT=bitcast i8*%cP to i8**
%cU=load i8*,i8**%cT,align 8
%cV=load i8*,i8**%h,align 8
%cW=getelementptr inbounds i8,i8*%cV,i64 8
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=call fastcc i8*%cS(i8*inreg%cU,i8*inreg%cY)
%c0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c1=call fastcc i8*%cG(i8*inreg%c0,i8*inreg%cZ)
store i8*%c1,i8**%g,align 8
%c2=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%c3=getelementptr inbounds i8,i8*%c2,i64 16
%c4=bitcast i8*%c3 to i8*(i8*,i8*)**
%c5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c4,align 8
%c6=bitcast i8*%c2 to i8**
%c7=load i8*,i8**%c6,align 8
store i8*%c7,i8**%f,align 8
%c8=load i8*,i8**%k,align 8
%c9=call fastcc i8*@_SMLFN14TypedCalcUtils12newTCVarInfoE(i8*inreg%c8)
%da=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%db=call fastcc i8*%c5(i8*inreg%da,i8*inreg%c9)
%dc=getelementptr inbounds i8,i8*%db,i64 16
%dd=bitcast i8*%dc to i8*(i8*,i8*)**
%de=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dd,align 8
%df=bitcast i8*%db to i8**
%dg=load i8*,i8**%df,align 8
%dh=bitcast i8**%g to i8***
%di=load i8**,i8***%dh,align 8
%dj=load i8*,i8**%di,align 8
%dk=call fastcc i8*%de(i8*inreg%dg,i8*inreg%dj)
store i8*%dk,i8**%f,align 8
%dl=load i8*,i8**%g,align 8
%dm=getelementptr inbounds i8,i8*%dl,i64 8
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%g,align 8
%dp=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dq=getelementptr inbounds i8,i8*%dp,i64 16
%dr=bitcast i8*%dq to i8*(i8*,i8*)**
%ds=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dr,align 8
%dt=bitcast i8*%dp to i8**
%du=load i8*,i8**%dt,align 8
%dv=load i8*,i8**@_SMLZN12TypedCalcCon5TPVARE,align 8
%dw=call fastcc i8*%ds(i8*inreg%du,i8*inreg%dv)
%dx=getelementptr inbounds i8,i8*%dw,i64 16
%dy=bitcast i8*%dx to i8*(i8*,i8*)**
%dz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dy,align 8
%dA=bitcast i8*%dw to i8**
%dB=load i8*,i8**%dA,align 8
%dC=load i8*,i8**%f,align 8
%dD=call fastcc i8*%dz(i8*inreg%dB,i8*inreg%dC)
%dE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dF=call fastcc i8*@_SMLLN14FFICompilation6zipAppE_259(i8*inreg%dE,i8*inreg%dD)
store i8*%dF,i8**%g,align 8
%dG=load i8*,i8**%k,align 8
%dH=call fastcc i8*@_SMLLN14FFICompilation10composeArgE_245(i8*inreg%dG)
%dI=getelementptr inbounds i8,i8*%dH,i64 16
%dJ=bitcast i8*%dI to i8*(i8*,i8*)**
%dK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dJ,align 8
%dL=bitcast i8*%dH to i8**
%dM=load i8*,i8**%dL,align 8
%dN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dO=call fastcc i8*%dK(i8*inreg%dM,i8*inreg%dN)
store i8*%dO,i8**%g,align 8
%dP=call fastcc i8*@_SMLFN8ListPair5unzipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dQ=getelementptr inbounds i8,i8*%dP,i64 16
%dR=bitcast i8*%dQ to i8*(i8*,i8*)**
%dS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dR,align 8
%dT=bitcast i8*%dP to i8**
%dU=load i8*,i8**%dT,align 8
store i8*%dU,i8**%i,align 8
%dV=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dW=getelementptr inbounds i8,i8*%dV,i64 16
%dX=bitcast i8*%dW to i8*(i8*,i8*)**
%dY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dX,align 8
%dZ=bitcast i8*%dV to i8**
%d0=load i8*,i8**%dZ,align 8
%d1=call fastcc i8*%dY(i8*inreg%d0,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*))
%d2=getelementptr inbounds i8,i8*%d1,i64 16
%d3=bitcast i8*%d2 to i8*(i8*,i8*)**
%d4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d3,align 8
%d5=bitcast i8*%d1 to i8**
%d6=load i8*,i8**%d5,align 8
%d7=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%d8=getelementptr inbounds i8,i8*%d7,i64 24
%d9=bitcast i8*%d8 to i8**
%ea=load i8*,i8**%d9,align 8
%eb=call fastcc i8*%d4(i8*inreg%d6,i8*inreg%ea)
%ec=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ed=call fastcc i8*%dS(i8*inreg%ec,i8*inreg%eb)
store i8*%ed,i8**%i,align 8
%ee=load i8*,i8**%k,align 8
%ef=call fastcc i8*@_SMLLN14FFICompilation12decomposeArgE_248(i8*inreg%ee)
%eg=getelementptr inbounds i8,i8*%ef,i64 16
%eh=bitcast i8*%eg to i8*(i8*,i8*)**
%ei=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eh,align 8
%ej=bitcast i8*%ef to i8**
%ek=load i8*,i8**%ej,align 8
%el=bitcast i8**%i to i8***
%em=load i8**,i8***%el,align 8
%en=load i8*,i8**%em,align 8
%eo=call fastcc i8*%ei(i8*inreg%ek,i8*inreg%en)
%ep=bitcast i8*%eo to i8**
%eq=load i8*,i8**%ep,align 8
store i8*%eq,i8**%h,align 8
%er=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%es=getelementptr inbounds i8,i8*%er,i64 8
%et=bitcast i8*%es to i8**
%eu=load i8*,i8**%et,align 8
%ev=getelementptr inbounds i8,i8*%eo,i64 8
%ew=bitcast i8*%ev to i8**
%ex=load i8*,i8**%ew,align 8
%ey=call fastcc i8*@_SMLLN14FFICompilation6zipAppE_259(i8*inreg%eu,i8*inreg%ex)
store i8*%ey,i8**%i,align 8
%ez=load i8*,i8**%k,align 8
%eA=call fastcc i8*@_SMLLN14FFICompilation10composeArgE_245(i8*inreg%ez)
%eB=getelementptr inbounds i8,i8*%eA,i64 16
%eC=bitcast i8*%eB to i8*(i8*,i8*)**
%eD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eC,align 8
%eE=bitcast i8*%eA to i8**
%eF=load i8*,i8**%eE,align 8
%eG=load i8*,i8**%i,align 8
%eH=call fastcc i8*%eD(i8*inreg%eF,i8*inreg%eG)
store i8*%eH,i8**%j,align 8
%eI=load i8*,i8**%i,align 8
%eJ=icmp eq i8*%eI,null
%eK=zext i1%eJ to i32
%eL=load i8*,i8**%g,align 8
%eM=getelementptr inbounds i8,i8*%eL,i64 8
%eN=bitcast i8*%eM to i8**
%eO=load i8*,i8**%eN,align 8
store i8*%eO,i8**%i,align 8
%eP=call i8*@sml_alloc(i32 inreg 20)#0
%eQ=getelementptr inbounds i8,i8*%eP,i64 -4
%eR=bitcast i8*%eQ to i32*
store i32 1342177296,i32*%eR,align 4
store i8*%eP,i8**%m,align 8
%eS=load i8*,i8**%i,align 8
%eT=bitcast i8*%eP to i8**
store i8*%eS,i8**%eT,align 8
%eU=getelementptr inbounds i8,i8*%eP,i64 8
%eV=bitcast i8*%eU to i8**
store i8*null,i8**%eV,align 8
%eW=getelementptr inbounds i8,i8*%eP,i64 16
%eX=bitcast i8*%eW to i32*
store i32 3,i32*%eX,align 4
%eY=load i8*,i8**%h,align 8
%eZ=getelementptr inbounds i8,i8*%eY,i64 16
%e0=bitcast i8*%eZ to i8**
%e1=load i8*,i8**%e0,align 8
store i8*%e1,i8**%i,align 8
%e2=call i8*@sml_alloc(i32 inreg 20)#0
%e3=getelementptr inbounds i8,i8*%e2,i64 -4
%e4=bitcast i8*%e3 to i32*
store i32 1342177296,i32*%e4,align 4
store i8*%e2,i8**%l,align 8
%e5=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%e6=bitcast i8*%e2 to i8**
store i8*%e5,i8**%e6,align 8
%e7=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%e8=getelementptr inbounds i8,i8*%e2,i64 8
%e9=bitcast i8*%e8 to i8**
store i8*%e7,i8**%e9,align 8
%fa=getelementptr inbounds i8,i8*%e2,i64 16
%fb=bitcast i8*%fa to i32*
store i32 3,i32*%fb,align 4
%fc=call i8*@sml_alloc(i32 inreg 20)#0
%fd=getelementptr inbounds i8,i8*%fc,i64 -4
%fe=bitcast i8*%fd to i32*
store i32 1342177296,i32*%fe,align 4
store i8*%fc,i8**%i,align 8
%ff=getelementptr inbounds i8,i8*%fc,i64 4
%fg=bitcast i8*%ff to i32*
store i32 0,i32*%fg,align 1
%fh=bitcast i8*%fc to i32*
store i32 6,i32*%fh,align 4
%fi=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%fj=getelementptr inbounds i8,i8*%fc,i64 8
%fk=bitcast i8*%fj to i8**
store i8*%fi,i8**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fc,i64 16
%fm=bitcast i8*%fl to i32*
store i32 2,i32*%fm,align 4
%fn=call i8*@sml_alloc(i32 inreg 60)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177336,i32*%fp,align 4
store i8*%fn,i8**%l,align 8
%fq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fr=bitcast i8*%fn to i8**
store i8*%fq,i8**%fr,align 8
%fs=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ft=getelementptr inbounds i8,i8*%fn,i64 8
%fu=bitcast i8*%ft to i8**
store i8*%fs,i8**%fu,align 8
%fv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fw=getelementptr inbounds i8,i8*%fn,i64 16
%fx=bitcast i8*%fw to i8**
store i8*%fv,i8**%fx,align 8
%fy=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fz=getelementptr inbounds i8,i8*%fn,i64 24
%fA=bitcast i8*%fz to i8**
store i8*%fy,i8**%fA,align 8
%fB=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fC=getelementptr inbounds i8,i8*%fn,i64 32
%fD=bitcast i8*%fC to i8**
store i8*%fB,i8**%fD,align 8
%fE=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fF=getelementptr inbounds i8,i8*%fn,i64 40
%fG=bitcast i8*%fF to i8**
store i8*%fE,i8**%fG,align 8
%fH=getelementptr inbounds i8,i8*%fn,i64 48
%fI=bitcast i8*%fH to i32*
store i32%eK,i32*%fI,align 4
%fJ=getelementptr inbounds i8,i8*%fn,i64 56
%fK=bitcast i8*%fJ to i32*
store i32 63,i32*%fK,align 4
%fL=call i8*@sml_alloc(i32 inreg 28)#0
%fM=getelementptr inbounds i8,i8*%fL,i64 -4
%fN=bitcast i8*%fM to i32*
store i32 1342177304,i32*%fN,align 4
store i8*%fL,i8**%e,align 8
%fO=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%fP=bitcast i8*%fL to i8**
store i8*%fO,i8**%fP,align 8
%fQ=getelementptr inbounds i8,i8*%fL,i64 8
%fR=bitcast i8*%fQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_311 to void(...)*),void(...)**%fR,align 8
%fS=getelementptr inbounds i8,i8*%fL,i64 16
%fT=bitcast i8*%fS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubExportE_311 to void(...)*),void(...)**%fT,align 8
%fU=getelementptr inbounds i8,i8*%fL,i64 24
%fV=bitcast i8*%fU to i32*
store i32 -2147483647,i32*%fV,align 4
%fW=call i8*@sml_alloc(i32 inreg 20)#0
%fX=getelementptr inbounds i8,i8*%fW,i64 -4
%fY=bitcast i8*%fX to i32*
store i32 1342177296,i32*%fY,align 4
%fZ=load i8*,i8**%i,align 8
%f0=bitcast i8*%fW to i8**
store i8*%fZ,i8**%f0,align 8
%f1=load i8*,i8**%e,align 8
%f2=getelementptr inbounds i8,i8*%fW,i64 8
%f3=bitcast i8*%f2 to i8**
store i8*%f1,i8**%f3,align 8
%f4=getelementptr inbounds i8,i8*%fW,i64 16
%f5=bitcast i8*%f4 to i32*
store i32 3,i32*%f5,align 4
ret i8*%fW
f6:
store i8*null,i8**%h,align 8
%f7=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%f7,i8**%e,align 8
%f8=call i8*@sml_alloc(i32 inreg 28)#0
%f9=getelementptr inbounds i8,i8*%f8,i64 -4
%ga=bitcast i8*%f9 to i32*
store i32 1342177304,i32*%ga,align 4
store i8*%f8,i8**%f,align 8
%gb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gc=bitcast i8*%f8 to i8**
store i8*%gb,i8**%gc,align 8
%gd=getelementptr inbounds i8,i8*%f8,i64 8
%ge=bitcast i8*%gd to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@n,i64 0,i32 2,i64 0),i8**%ge,align 8
%gf=getelementptr inbounds i8,i8*%f8,i64 16
%gg=bitcast i8*%gf to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@o,i64 0,i32 2,i64 0),i8**%gg,align 8
%gh=getelementptr inbounds i8,i8*%f8,i64 24
%gi=bitcast i8*%gh to i32*
store i32 7,i32*%gi,align 4
%gj=call i8*@sml_alloc(i32 inreg 60)#0
%gk=getelementptr inbounds i8,i8*%gj,i64 -4
%gl=bitcast i8*%gk to i32*
store i32 1342177336,i32*%gl,align 4
%gm=getelementptr inbounds i8,i8*%gj,i64 56
%gn=bitcast i8*%gm to i32*
store i32 1,i32*%gn,align 4
%go=load i8*,i8**%f,align 8
%gp=bitcast i8*%gj to i8**
store i8*%go,i8**%gp,align 8
call void@sml_raise(i8*inreg%gj)#1
unreachable
gq:
store i8*null,i8**%f,align 8
%gr=getelementptr inbounds i8,i8*%s,i64 8
%gs=bitcast i8*%gr to i8***
%gt=load i8**,i8***%gs,align 8
%gu=load i8*,i8**%gt,align 8
store i8*%gu,i8**%e,align 8
%gv=call i8*@sml_alloc(i32 inreg 20)#0
%gw=getelementptr inbounds i8,i8*%gv,i64 -4
%gx=bitcast i8*%gw to i32*
store i32 1342177296,i32*%gx,align 4
%gy=load i8*,i8**%e,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 i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*),i8**%gB,align 8
%gC=getelementptr inbounds i8,i8*%gv,i64 16
%gD=bitcast i8*%gC to i32*
store i32 3,i32*%gD,align 4
ret i8*%gv
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_270(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
r:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,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],[%a,%r]
%s=bitcast i8*%q to i32*
%t=load i32,i32*%s,align 4
switch i32%t,label%u[
i32 0,label%gt
i32 1,label%ag
i32 2,label%M
]
u:
call void@sml_matchcomp_bug()
%v=load i8*,i8**@_SMLZ5Match,align 8
store i8*%v,i8**%b,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
store i8*%w,i8**%c,align 8
%z=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@G,i64 0,i32 2,i64 0),i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%c,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%N,i8**%b,align 8
%O=call i8*@sml_alloc(i32 inreg 28)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177304,i32*%Q,align 4
store i8*%O,i8**%c,align 8
%R=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@E,i64 0,i32 2,i64 0),i8**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 16
%W=bitcast i8*%V to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[24x i8]}>,<{[4x i8],i32,[24x i8]}>*@F,i64 0,i32 2,i64 0),i8**%W,align 8
%X=getelementptr inbounds i8,i8*%O,i64 24
%Y=bitcast i8*%X to i32*
store i32 7,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 60)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177336,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%Z,i64 56
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=load i8*,i8**%c,align 8
%af=bitcast i8*%Z to i8**
store i8*%ae,i8**%af,align 8
call void@sml_raise(i8*inreg%Z)#1
unreachable
ag:
%ah=getelementptr inbounds i8,i8*%q,i64 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%h,align 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%b,align 8
%am=getelementptr inbounds i8,i8*%aj,i64 32
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%j,align 8
%ap=call fastcc i8*@_SMLFN6Option6getOptE(i32 inreg 1,i32 inreg 8)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%d,align 8
%av=load i8*,i8**@_SMLZN13FFIAttributes20defaultFFIAttributesE,align 8
store i8*%av,i8**%c,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
%az=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=getelementptr inbounds i8,i8*%aw,i64 8
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%aw,i64 16
%aF=bitcast i8*%aE to i32*
store i32 3,i32*%aF,align 4
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=call fastcc i8*%as(i8*inreg%aG,i8*inreg%aw)
store i8*%aH,i8**%b,align 8
%aI=call fastcc i8*@_SMLFN8ListPair5unzipE(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
store i8*%aN,i8**%c,align 8
%aO=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%aR(i8*inreg%aT,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*))
%aV=getelementptr inbounds i8,i8*%aU,i64 16
%aW=bitcast i8*%aV to i8*(i8*,i8*)**
%aX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aW,align 8
%aY=bitcast i8*%aU to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=load i8*,i8**%h,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=call fastcc i8*%aX(i8*inreg%aZ,i8*inreg%a3)
%a5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a6=call fastcc i8*%aL(i8*inreg%a5,i8*inreg%a4)
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%c,align 8
%a9=getelementptr inbounds i8,i8*%a6,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%d,align 8
%bc=load i8*,i8**%h,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
%bg=icmp eq i8*%bf,null
br i1%bg,label%bG,label%bh
bh:
%bi=bitcast i8*%bf to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%e,align 8
%bk=call fastcc i8*@_SMLFN8ListPair5unzipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bl=getelementptr inbounds i8,i8*%bk,i64 16
%bm=bitcast i8*%bl to i8*(i8*,i8*)**
%bn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bm,align 8
%bo=bitcast i8*%bk to i8**
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%f,align 8
%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
%bw=call fastcc i8*%bt(i8*inreg%bv,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*))
%bx=getelementptr inbounds i8,i8*%bw,i64 16
%by=bitcast i8*%bx to i8*(i8*,i8*)**
%bz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%by,align 8
%bA=bitcast i8*%bw to i8**
%bB=load i8*,i8**%bA,align 8
%bC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bD=call fastcc i8*%bz(i8*inreg%bB,i8*inreg%bC)
%bE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bF=call fastcc i8*%bn(i8*inreg%bE,i8*inreg%bD)
br label%bG
bG:
%bH=phi i8*[%bF,%bh],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@z,i64 0,i32 2)to i8*),%ag]
%bI=bitcast i8*%bH to i8**
%bJ=load i8*,i8**%bI,align 8
store i8*%bJ,i8**%e,align 8
%bK=getelementptr inbounds i8,i8*%bH,i64 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
store i8*%bM,i8**%f,align 8
%bN=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%bO=getelementptr inbounds i8,i8*%bN,i64 16
%bP=bitcast i8*%bO to i8*(i8*,i8*)**
%bQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bP,align 8
%bR=bitcast i8*%bN to i8**
%bS=load i8*,i8**%bR,align 8
store i8*%bS,i8**%g,align 8
%bT=call i8*@sml_alloc(i32 inreg 20)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177296,i32*%bV,align 4
%bW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bX=bitcast i8*%bT to i8**
store i8*%bW,i8**%bX,align 8
%bY=load i8*,i8**%e,align 8
%bZ=getelementptr inbounds i8,i8*%bT,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bT,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 3,i32*%b2,align 4
%b3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b4=call fastcc i8*%bQ(i8*inreg%b3,i8*inreg%bT)
store i8*%b4,i8**%c,align 8
%b5=load i8*,i8**%j,align 8
%b6=call fastcc i8*@_SMLLN14FFICompilation12decomposeArgE_248(i8*inreg%b5)
%b7=getelementptr inbounds i8,i8*%b6,i64 16
%b8=bitcast i8*%b7 to i8*(i8*,i8*)**
%b9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b8,align 8
%ca=bitcast i8*%b6 to i8**
%cb=load i8*,i8**%ca,align 8
%cc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cd=call fastcc i8*%b9(i8*inreg%cb,i8*inreg%cc)
store i8*%cd,i8**%g,align 8
%ce=bitcast i8*%cd to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%c,align 8
%cg=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%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**%i,align 8
%cm=call i8*@sml_alloc(i32 inreg 20)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177296,i32*%co,align 4
%cp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cs=getelementptr inbounds i8,i8*%cm,i64 8
%ct=bitcast i8*%cs to i8**
store i8*%cr,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cm,i64 16
%cv=bitcast i8*%cu to i32*
store i32 3,i32*%cv,align 4
%cw=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cx=call fastcc i8*%cj(i8*inreg%cw,i8*inreg%cm)
%cy=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cz=getelementptr inbounds i8,i8*%cy,i64 8
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
%cC=call fastcc i8*@_SMLLN14FFICompilation6zipAppE_259(i8*inreg%cx,i8*inreg%cB)
store i8*%cC,i8**%d,align 8
%cD=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cE=getelementptr inbounds i8,i8*%cD,i64 16
%cF=bitcast i8*%cE to i8*(i8*,i8*)**
%cG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cF,align 8
%cH=bitcast i8*%cD to i8**
%cI=load i8*,i8**%cH,align 8
%cJ=call fastcc i8*%cG(i8*inreg%cI,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*))
%cK=getelementptr inbounds i8,i8*%cJ,i64 16
%cL=bitcast i8*%cK to i8*(i8*,i8*)**
%cM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cL,align 8
%cN=bitcast i8*%cJ to i8**
%cO=load i8*,i8**%cN,align 8
%cP=load i8*,i8**%d,align 8
%cQ=call fastcc i8*%cM(i8*inreg%cO,i8*inreg%cP)
store i8*%cQ,i8**%f,align 8
%cR=load i8*,i8**%h,align 8
%cS=getelementptr inbounds i8,i8*%cR,i64 16
%cT=bitcast i8*%cS to i8**
%cU=load i8*,i8**%cT,align 8
%cV=icmp eq i8*%cU,null
br i1%cV,label%cW,label%c6
cW:
store i8*null,i8**%e,align 8
%cX=call i8*@sml_alloc(i32 inreg 20)#0
%cY=getelementptr inbounds i8,i8*%cX,i64 -4
%cZ=bitcast i8*%cY to i32*
store i32 1342177296,i32*%cZ,align 4
%c0=load i8*,i8**%f,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cX,i64 8
%c3=bitcast i8*%c2 to i8**
store i8*null,i8**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cX,i64 16
%c5=bitcast i8*%c4 to i32*
store i32 3,i32*%c5,align 4
br label%dF
c6:
%c7=call fastcc i8*@_SMLFN9ListUtils5splitE(i32 inreg 1,i32 inreg 8)
%c8=getelementptr inbounds i8,i8*%c7,i64 16
%c9=bitcast i8*%c8 to i8*(i8*,i8*)**
%da=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c9,align 8
%db=bitcast i8*%c7 to i8**
%dc=load i8*,i8**%db,align 8
%dd=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%de=call fastcc i8*%da(i8*inreg%dc,i8*inreg%dd)
%df=getelementptr inbounds i8,i8*%de,i64 16
%dg=bitcast i8*%df to i8*(i8*,i8*)**
%dh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dg,align 8
%di=bitcast i8*%de to i8**
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%f,align 8
%dk=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%dl=getelementptr inbounds i8,i8*%dk,i64 16
%dm=bitcast i8*%dl to i8*(i8*,i8*)**
%dn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dm,align 8
%do=bitcast i8*%dk to i8**
%dp=load i8*,i8**%do,align 8
%dq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dr=call fastcc i8*%dn(i8*inreg%dp,i8*inreg%dq)
%ds=bitcast i8*%dr to i32*
%dt=load i32,i32*%ds,align 4
%du=call i8*@sml_alloc(i32 inreg 4)#0
%dv=bitcast i8*%du to i32*
%dw=getelementptr inbounds i8,i8*%du,i64 -4
%dx=bitcast i8*%dw to i32*
store i32 4,i32*%dx,align 4
store i32%dt,i32*%dv,align 4
%dy=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dz=call fastcc i8*%dh(i8*inreg%dy,i8*inreg%du)
%dA=bitcast i8*%dz to i8**
%dB=load i8*,i8**%dA,align 8
%dC=getelementptr inbounds i8,i8*%dz,i64 8
%dD=bitcast i8*%dC to i8**
%dE=load i8*,i8**%dD,align 8
br label%dF
dF:
%dG=phi i8*[null,%cW],[%dE,%c6]
%dH=phi i8*[%c0,%cW],[%dB,%c6]
store i8*%dH,i8**%e,align 8
store i8*%dG,i8**%f,align 8
%dI=call fastcc i8*@_SMLFN8ListPair5unzipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dJ=getelementptr inbounds i8,i8*%dI,i64 16
%dK=bitcast i8*%dJ to i8*(i8*,i8*)**
%dL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dK,align 8
%dM=bitcast i8*%dI to i8**
%dN=load i8*,i8**%dM,align 8
store i8*%dN,i8**%g,align 8
%dO=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dP=getelementptr inbounds i8,i8*%dO,i64 16
%dQ=bitcast i8*%dP to i8*(i8*,i8*)**
%dR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dQ,align 8
%dS=bitcast i8*%dO to i8**
%dT=load i8*,i8**%dS,align 8
%dU=call fastcc i8*%dR(i8*inreg%dT,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*))
%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
%d0=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%d1=getelementptr inbounds i8,i8*%d0,i64 24
%d2=bitcast i8*%d1 to i8**
%d3=load i8*,i8**%d2,align 8
%d4=call fastcc i8*%dX(i8*inreg%dZ,i8*inreg%d3)
%d5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%d6=call fastcc i8*%dL(i8*inreg%d5,i8*inreg%d4)
store i8*%d6,i8**%i,align 8
%d7=bitcast i8*%d6 to i8**
%d8=load i8*,i8**%d7,align 8
%d9=icmp eq i8*%d8,null
br i1%d9,label%eJ,label%ea
ea:
%eb=getelementptr inbounds i8,i8*%d8,i64 8
%ec=bitcast i8*%eb to i8**
%ed=load i8*,i8**%ec,align 8
%ee=icmp eq i8*%ed,null
br i1%ee,label%ef,label%ep
ef:
%eg=bitcast i8*%d8 to i8**
%eh=load i8*,i8**%eg,align 8
store i8*%eh,i8**%g,align 8
%ei=call i8*@sml_alloc(i32 inreg 12)#0
%ej=getelementptr inbounds i8,i8*%ei,i64 -4
%ek=bitcast i8*%ej to i32*
store i32 1342177288,i32*%ek,align 4
%el=load i8*,i8**%g,align 8
%em=bitcast i8*%ei to i8**
store i8*%el,i8**%em,align 8
%en=getelementptr inbounds i8,i8*%ei,i64 8
%eo=bitcast i8*%en to i32*
store i32 1,i32*%eo,align 4
br label%eJ
ep:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
%eq=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%eq,i8**%b,align 8
%er=call i8*@sml_alloc(i32 inreg 28)#0
%es=getelementptr inbounds i8,i8*%er,i64 -4
%et=bitcast i8*%es to i32*
store i32 1342177304,i32*%et,align 4
store i8*%er,i8**%c,align 8
%eu=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ev=bitcast i8*%er to i8**
store i8*%eu,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%er,i64 8
%ex=bitcast i8*%ew to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@C,i64 0,i32 2,i64 0),i8**%ex,align 8
%ey=getelementptr inbounds i8,i8*%er,i64 16
%ez=bitcast i8*%ey to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@D,i64 0,i32 2,i64 0),i8**%ez,align 8
%eA=getelementptr inbounds i8,i8*%er,i64 24
%eB=bitcast i8*%eA to i32*
store i32 7,i32*%eB,align 4
%eC=call i8*@sml_alloc(i32 inreg 60)#0
%eD=getelementptr inbounds i8,i8*%eC,i64 -4
%eE=bitcast i8*%eD to i32*
store i32 1342177336,i32*%eE,align 4
%eF=getelementptr inbounds i8,i8*%eC,i64 56
%eG=bitcast i8*%eF to i32*
store i32 1,i32*%eG,align 4
%eH=load i8*,i8**%c,align 8
%eI=bitcast i8*%eC to i8**
store i8*%eH,i8**%eI,align 8
call void@sml_raise(i8*inreg%eC)#1
unreachable
eJ:
%eK=phi i8*[%ei,%ef],[null,%dF]
store i8*%eK,i8**%g,align 8
%eL=load i8*,i8**%j,align 8
%eM=call fastcc i8*@_SMLLN14FFICompilation12decomposeArgE_248(i8*inreg%eL)
%eN=getelementptr inbounds i8,i8*%eM,i64 16
%eO=bitcast i8*%eN to i8*(i8*,i8*)**
%eP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eO,align 8
%eQ=bitcast i8*%eM to i8**
%eR=load i8*,i8**%eQ,align 8
%eS=bitcast i8**%i to i8***
%eT=load i8**,i8***%eS,align 8
%eU=load i8*,i8**%eT,align 8
%eV=call fastcc i8*%eP(i8*inreg%eR,i8*inreg%eU)
%eW=bitcast i8*%eV to i8**
%eX=load i8*,i8**%eW,align 8
store i8*%eX,i8**%h,align 8
%eY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eZ=getelementptr inbounds i8,i8*%eY,i64 8
%e0=bitcast i8*%eZ to i8**
%e1=load i8*,i8**%e0,align 8
%e2=getelementptr inbounds i8,i8*%eV,i64 8
%e3=bitcast i8*%e2 to i8**
%e4=load i8*,i8**%e3,align 8
%e5=call fastcc i8*@_SMLLN14FFICompilation6zipAppE_259(i8*inreg%e1,i8*inreg%e4)
store i8*%e5,i8**%i,align 8
%e6=load i8*,i8**%j,align 8
%e7=call fastcc i8*@_SMLLN14FFICompilation10composeArgE_245(i8*inreg%e6)
%e8=getelementptr inbounds i8,i8*%e7,i64 16
%e9=bitcast i8*%e8 to i8*(i8*,i8*)**
%fa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e9,align 8
%fb=bitcast i8*%e7 to i8**
%fc=load i8*,i8**%fb,align 8
%fd=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fe=call fastcc i8*%fa(i8*inreg%fc,i8*inreg%fd)
store i8*%fe,i8**%i,align 8
%ff=call i8*@sml_alloc(i32 inreg 36)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177312,i32*%fh,align 4
store i8*%ff,i8**%k,align 8
%fi=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 8
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fo=getelementptr inbounds i8,i8*%ff,i64 16
%fp=bitcast i8*%fo to i8**
store i8*%fn,i8**%fp,align 8
%fq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fr=getelementptr inbounds i8,i8*%ff,i64 24
%fs=bitcast i8*%fr to i8**
store i8*%fq,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%ff,i64 32
%fu=bitcast i8*%ft to i32*
store i32 15,i32*%fu,align 4
%fv=call i8*@sml_alloc(i32 inreg 20)#0
%fw=getelementptr inbounds i8,i8*%fv,i64 -4
%fx=bitcast i8*%fw to i32*
store i32 1342177296,i32*%fx,align 4
store i8*%fv,i8**%b,align 8
%fy=getelementptr inbounds i8,i8*%fv,i64 4
%fz=bitcast i8*%fy to i32*
store i32 0,i32*%fz,align 1
%fA=bitcast i8*%fv to i32*
store i32 2,i32*%fA,align 4
%fB=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fC=getelementptr inbounds i8,i8*%fv,i64 8
%fD=bitcast i8*%fC to i8**
store i8*%fB,i8**%fD,align 8
%fE=getelementptr inbounds i8,i8*%fv,i64 16
%fF=bitcast i8*%fE to i32*
store i32 2,i32*%fF,align 4
%fG=call i8*@sml_alloc(i32 inreg 20)#0
%fH=getelementptr inbounds i8,i8*%fG,i64 -4
%fI=bitcast i8*%fH to i32*
store i32 1342177296,i32*%fI,align 4
store i8*%fG,i8**%e,align 8
%fJ=bitcast i8*%fG to i64*
store i64 0,i64*%fJ,align 4
%fK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fL=getelementptr inbounds i8,i8*%fG,i64 8
%fM=bitcast i8*%fL to i8**
store i8*%fK,i8**%fM,align 8
%fN=getelementptr inbounds i8,i8*%fG,i64 16
%fO=bitcast i8*%fN to i32*
store i32 2,i32*%fO,align 4
%fP=call i8*@sml_alloc(i32 inreg 44)#0
%fQ=getelementptr inbounds i8,i8*%fP,i64 -4
%fR=bitcast i8*%fQ to i32*
store i32 1342177320,i32*%fR,align 4
store i8*%fP,i8**%b,align 8
%fS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fT=bitcast i8*%fP to i8**
store i8*%fS,i8**%fT,align 8
%fU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fV=getelementptr inbounds i8,i8*%fP,i64 8
%fW=bitcast i8*%fV to i8**
store i8*%fU,i8**%fW,align 8
%fX=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fY=getelementptr inbounds i8,i8*%fP,i64 16
%fZ=bitcast i8*%fY to i8**
store i8*%fX,i8**%fZ,align 8
%f0=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%f1=getelementptr inbounds i8,i8*%fP,i64 24
%f2=bitcast i8*%f1 to i8**
store i8*%f0,i8**%f2,align 8
%f3=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%f4=getelementptr inbounds i8,i8*%fP,i64 32
%f5=bitcast i8*%f4 to i8**
store i8*%f3,i8**%f5,align 8
%f6=getelementptr inbounds i8,i8*%fP,i64 40
%f7=bitcast i8*%f6 to i32*
store i32 31,i32*%f7,align 4
%f8=call i8*@sml_alloc(i32 inreg 28)#0
%f9=getelementptr inbounds i8,i8*%f8,i64 -4
%ga=bitcast i8*%f9 to i32*
store i32 1342177304,i32*%ga,align 4
store i8*%f8,i8**%c,align 8
%gb=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gc=bitcast i8*%f8 to i8**
store i8*%gb,i8**%gc,align 8
%gd=getelementptr inbounds i8,i8*%f8,i64 8
%ge=bitcast i8*%gd to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubImportE_335 to void(...)*),void(...)**%ge,align 8
%gf=getelementptr inbounds i8,i8*%f8,i64 16
%gg=bitcast i8*%gf to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation10stubImportE_335 to void(...)*),void(...)**%gg,align 8
%gh=getelementptr inbounds i8,i8*%f8,i64 24
%gi=bitcast i8*%gh to i32*
store i32 -2147483647,i32*%gi,align 4
%gj=call i8*@sml_alloc(i32 inreg 20)#0
%gk=getelementptr inbounds i8,i8*%gj,i64 -4
%gl=bitcast i8*%gk to i32*
store i32 1342177296,i32*%gl,align 4
%gm=load i8*,i8**%e,align 8
%gn=bitcast i8*%gj to i8**
store i8*%gm,i8**%gn,align 8
%go=load i8*,i8**%c,align 8
%gp=getelementptr inbounds i8,i8*%gj,i64 8
%gq=bitcast i8*%gp to i8**
store i8*%go,i8**%gq,align 8
%gr=getelementptr inbounds i8,i8*%gj,i64 16
%gs=bitcast i8*%gr to i32*
store i32 3,i32*%gs,align 4
ret i8*%gj
gt:
%gu=getelementptr inbounds i8,i8*%q,i64 8
%gv=bitcast i8*%gu to i8***
%gw=load i8**,i8***%gv,align 8
%gx=load i8*,i8**%gw,align 8
store i8*%gx,i8**%b,align 8
%gy=call i8*@sml_alloc(i32 inreg 20)#0
%gz=getelementptr inbounds i8,i8*%gy,i64 -4
%gA=bitcast i8*%gz to i32*
store i32 1342177296,i32*%gA,align 4
%gB=load i8*,i8**%b,align 8
%gC=bitcast i8*%gy to i8**
store i8*%gB,i8**%gC,align 8
%gD=getelementptr inbounds i8,i8*%gy,i64 8
%gE=bitcast i8*%gD to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*),i8**%gE,align 8
%gF=getelementptr inbounds i8,i8*%gy,i64 16
%gG=bitcast i8*%gF to i32*
store i32 3,i32*%gG,align 4
ret i8*%gy
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_386(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_388(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_390(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%o)
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
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_392(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
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%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%b to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%n)
store i8*%o,i8**%c,align 8
%p=load i8*,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%p,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%b,align 8
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%c,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%d,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=load i8*,i8**%b,align 8
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%w,i64 24
%I=bitcast i8*%H to i32*
store i32 7,i32*%I,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_394(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%b to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8*,i8**%n,i64 1
%q=load i8*,i8**%p,align 8
%r=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%q)
store i8*%r,i8**%d,align 8
%s=load i8*,i8**%b,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%s,i64 24
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%b,align 8
%z=call i8*@sml_alloc(i32 inreg 36)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177312,i32*%B,align 4
%C=load i8*,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=load i8*,i8**%e,align 8
%I=getelementptr inbounds i8,i8*%z,i64 16
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=load i8*,i8**%b,align 8
%L=getelementptr inbounds i8,i8*%z,i64 24
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%z,i64 32
%O=bitcast i8*%N to i32*
store i32 15,i32*%O,align 4
ret i8*%z
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_396(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
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%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%b to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=getelementptr inbounds i8*,i8**%m,i64 1
%p=load i8*,i8**%o,align 8
%q=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%p)
store i8*%q,i8**%d,align 8
%r=load i8*,i8**%b,align 8
%s=getelementptr inbounds i8,i8*%r,i64 16
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%b,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
%y=load i8*,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=load i8*,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=load i8*,i8**%b,align 8
%E=getelementptr inbounds i8,i8*%v,i64 16
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%v,i64 24
%H=bitcast i8*%G to i32*
store i32 7,i32*%H,align 4
ret i8*%v
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_399(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_401(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_403(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_405(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_407(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation11compileDeclE_342(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_409(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%o)
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
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_411(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLL6TypeOf_413(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%n
k:
%l=bitcast i8*%a to i8**
%m=bitcast i8**%e to i8***
br label%r
n:
call void@sml_check(i32 inreg%i)
%o=load i8*,i8**%c,align 8
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8***[%m,%k],[%p,%n]
%t=phi i8**[%l,%k],[%q,%n]
%u=phi i8*[%b,%k],[%o,%n]
store i8*null,i8**%c,align 8
store i8*%u,i8**%d,align 8
%v=load i8*,i8**%t,align 8
%w=call fastcc i8*@_SMLFN13ReifiedTyData7TyRepTyE(i8*inreg%v)
store i8*%w,i8**%c,align 8
%x=load i8**,i8***%s,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,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**%g,align 8
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=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**%f,align 8
%M=getelementptr inbounds i8,i8*%J,i64 4
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 1
%O=bitcast i8*%J to i32*
store i32 34,i32*%O,align 4
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 16
%T=bitcast i8*%S to i32*
store i32 2,i32*%T,align 4
%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**%g,align 8
%X=getelementptr inbounds i8,i8*%U,i64 4
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 1
%Z=bitcast i8*%U to i32*
store i32 2,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i32*
store i32 2,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
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 9,i32*%ak,align 4
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,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
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8**,i8***%s,align 8
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%e,align 8
%aC=call i8*@sml_alloc(i32 inreg 28)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177304,i32*%aE,align 4
store i8*%aC,i8**%f,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%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**%e,align 8
store i8*null,i8**%e,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=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aP,i64 4
%aT=bitcast i8*%aS to i32*
store i32 0,i32*%aT,align 1
%aU=bitcast i8*%aP to i32*
store i32 3,i32*%aU,align 4
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%d,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLL6TypeOf_416(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%n
k:
%l=bitcast i8*%a to i8**
%m=bitcast i8**%e to i8***
br label%r
n:
call void@sml_check(i32 inreg%i)
%o=load i8*,i8**%c,align 8
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8***[%m,%k],[%p,%n]
%t=phi i8**[%l,%k],[%q,%n]
%u=phi i8*[%b,%k],[%o,%n]
store i8*null,i8**%c,align 8
store i8*%u,i8**%d,align 8
%v=load i8*,i8**%t,align 8
%w=call fastcc i8*@_SMLFN13ReifiedTyData7TyRepTyE(i8*inreg%v)
store i8*%w,i8**%c,align 8
%x=load i8**,i8***%s,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,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**%g,align 8
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=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**%f,align 8
%M=getelementptr inbounds i8,i8*%J,i64 4
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 1
%O=bitcast i8*%J to i32*
store i32 34,i32*%O,align 4
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 16
%T=bitcast i8*%S to i32*
store i32 2,i32*%T,align 4
%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**%g,align 8
%X=getelementptr inbounds i8,i8*%U,i64 4
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 1
%Z=bitcast i8*%U to i32*
store i32 2,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i32*
store i32 2,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
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 9,i32*%ak,align 4
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,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
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8**,i8***%s,align 8
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%e,align 8
%aC=call i8*@sml_alloc(i32 inreg 28)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177304,i32*%aE,align 4
store i8*%aC,i8**%f,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%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**%e,align 8
store i8*null,i8**%e,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=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aP,i64 4
%aT=bitcast i8*%aS to i32*
store i32 0,i32*%aT,align 1
%aU=bitcast i8*%aP to i32*
store i32 3,i32*%aU,align 4
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%d,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLL6TypeOf_419(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%n
k:
%l=bitcast i8*%a to i8**
%m=bitcast i8**%e to i8***
br label%r
n:
call void@sml_check(i32 inreg%i)
%o=load i8*,i8**%c,align 8
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8***[%m,%k],[%p,%n]
%t=phi i8**[%l,%k],[%q,%n]
%u=phi i8*[%b,%k],[%o,%n]
store i8*null,i8**%c,align 8
store i8*%u,i8**%d,align 8
%v=load i8*,i8**%t,align 8
%w=call fastcc i8*@_SMLFN13ReifiedTyData7TyRepTyE(i8*inreg%v)
store i8*%w,i8**%c,align 8
%x=load i8**,i8***%s,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,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**%g,align 8
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=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**%f,align 8
%M=getelementptr inbounds i8,i8*%J,i64 4
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 1
%O=bitcast i8*%J to i32*
store i32 34,i32*%O,align 4
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 16
%T=bitcast i8*%S to i32*
store i32 2,i32*%T,align 4
%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**%g,align 8
%X=getelementptr inbounds i8,i8*%U,i64 4
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 1
%Z=bitcast i8*%U to i32*
store i32 2,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i32*
store i32 2,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
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 9,i32*%ak,align 4
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,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
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8**,i8***%s,align 8
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%e,align 8
%aC=call i8*@sml_alloc(i32 inreg 28)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177304,i32*%aE,align 4
store i8*%aC,i8**%f,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%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**%e,align 8
store i8*null,i8**%e,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=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aP,i64 4
%aT=bitcast i8*%aS to i32*
store i32 0,i32*%aT,align 1
%aU=bitcast i8*%aP to i32*
store i32 3,i32*%aU,align 4
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%d,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLL6TypeOf_422(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%n
k:
%l=bitcast i8*%a to i8**
%m=bitcast i8**%e to i8***
br label%r
n:
call void@sml_check(i32 inreg%i)
%o=load i8*,i8**%c,align 8
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8***[%m,%k],[%p,%n]
%t=phi i8**[%l,%k],[%q,%n]
%u=phi i8*[%b,%k],[%o,%n]
store i8*null,i8**%c,align 8
store i8*%u,i8**%d,align 8
%v=load i8*,i8**%t,align 8
%w=call fastcc i8*@_SMLFN13ReifiedTyData7TyRepTyE(i8*inreg%v)
store i8*%w,i8**%c,align 8
%x=load i8**,i8***%s,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,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**%g,align 8
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=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**%f,align 8
%M=getelementptr inbounds i8,i8*%J,i64 4
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 1
%O=bitcast i8*%J to i32*
store i32 34,i32*%O,align 4
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 16
%T=bitcast i8*%S to i32*
store i32 2,i32*%T,align 4
%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**%g,align 8
%X=getelementptr inbounds i8,i8*%U,i64 4
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 1
%Z=bitcast i8*%U to i32*
store i32 2,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i32*
store i32 2,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
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 9,i32*%ak,align 4
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,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
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8**,i8***%s,align 8
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%e,align 8
%aC=call i8*@sml_alloc(i32 inreg 28)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177304,i32*%aE,align 4
store i8*%aC,i8**%f,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%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**%e,align 8
store i8*null,i8**%e,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=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aP,i64 4
%aT=bitcast i8*%aS to i32*
store i32 0,i32*%aT,align 1
%aU=bitcast i8*%aP to i32*
store i32 3,i32*%aU,align 4
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%d,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLL6TypeOf_425(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%n
k:
%l=bitcast i8*%a to i8**
%m=bitcast i8**%e to i8***
br label%r
n:
call void@sml_check(i32 inreg%i)
%o=load i8*,i8**%c,align 8
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8***[%m,%k],[%p,%n]
%t=phi i8**[%l,%k],[%q,%n]
%u=phi i8*[%b,%k],[%o,%n]
store i8*null,i8**%c,align 8
store i8*%u,i8**%d,align 8
%v=load i8*,i8**%t,align 8
%w=call fastcc i8*@_SMLFN13ReifiedTyData7TyRepTyE(i8*inreg%v)
store i8*%w,i8**%c,align 8
%x=load i8**,i8***%s,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,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**%g,align 8
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=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**%f,align 8
%M=getelementptr inbounds i8,i8*%J,i64 4
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 1
%O=bitcast i8*%J to i32*
store i32 34,i32*%O,align 4
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 16
%T=bitcast i8*%S to i32*
store i32 2,i32*%T,align 4
%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**%g,align 8
%X=getelementptr inbounds i8,i8*%U,i64 4
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 1
%Z=bitcast i8*%U to i32*
store i32 2,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i32*
store i32 2,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
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 9,i32*%ak,align 4
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,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
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8**,i8***%s,align 8
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%e,align 8
%aC=call i8*@sml_alloc(i32 inreg 28)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177304,i32*%aE,align 4
store i8*%aC,i8**%f,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%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**%e,align 8
store i8*null,i8**%e,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=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aP,i64 4
%aT=bitcast i8*%aS to i32*
store i32 0,i32*%aT,align 1
%aU=bitcast i8*%aP to i32*
store i32 3,i32*%aU,align 4
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%d,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLLN14FFICompilation11compileDeclE_429(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=getelementptr inbounds i8,i8*%i,i64 8
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=bitcast i8*%i to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%o)
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
%t=load i8*,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%c,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN14FFICompilation11compileDeclE_431(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=getelementptr inbounds i8,i8*%i,i64 8
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=bitcast i8*%i to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%o)
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
%t=load i8*,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%c,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_434(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%o)
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
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_436(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%b to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8*,i8**%n,i64 1
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
%r=getelementptr inbounds i8*,i8**%n,i64 2
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%e,align 8
%t=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%w(i8*inreg%y,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aa,i64 0,i32 2)to i8*))
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%G=getelementptr inbounds i8,i8*%F,i64 24
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%C(i8*inreg%E,i8*inreg%I)
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 36)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177312,i32*%M,align 4
%N=load i8*,i8**%c,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%d,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%e,align 8
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=load i8*,i8**%b,align 8
%W=getelementptr inbounds i8,i8*%K,i64 24
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%K,i64 32
%Z=bitcast i8*%Y to i32*
store i32 15,i32*%Z,align 4
ret i8*%K
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
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
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
%t=alloca i8*,align 8
%u=alloca i8*,align 8
%v=alloca i8*,align 8
%w=alloca i8*,align 8
%x=alloca i8*,align 8
%y=alloca i8*,align 8
%z=alloca i8*,align 8
%A=alloca i8*,align 8
%B=alloca i8*,align 8
%C=alloca i8*,align 8
%D=alloca i8*,align 8
%E=alloca i8*,align 8
%F=alloca i8*,align 8
call void@llvm.gcroot(i8**%v,i8*null)#0
call void@llvm.gcroot(i8**%w,i8*null)#0
call void@llvm.gcroot(i8**%x,i8*null)#0
call void@llvm.gcroot(i8**%y,i8*null)#0
call void@llvm.gcroot(i8**%z,i8*null)#0
call void@llvm.gcroot(i8**%A,i8*null)#0
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**%v,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**%v,align 8
br label%K
K:
%L=phi i8*[%J,%I],[%a,%M]
%N=icmp eq i8*%L,null
br i1%N,label%aj,label%O
O:
%P=bitcast i8*%L to i32*
%Q=load i32,i32*%P,align 4
switch i32%Q,label%R[
i32 0,label%Mh
i32 2,label%KW
i32 37,label%Ii
i32 3,label%Hr
i32 5,label%aj
i32 6,label%Gx
i32 8,label%D9
i32 9,label%Dk
i32 14,label%aj
i32 16,label%Cw
i32 17,label%aj
i32 15,label%aj
i32 18,label%aj
i32 19,label%zy
i32 22,label%aj
i32 21,label%yx
i32 1,label%xK
i32 20,label%w3
i32 23,label%we
i32 4,label%vj
i32 39,label%up
i32 25,label%tz
i32 26,label%sE
i32 27,label%rO
i32 28,label%q7
i32 29,label%qk
i32 30,label%pD
i32 31,label%o2
i32 32,label%aj
i32 33,label%oe
i32 35,label%nr
i32 36,label%aj
i32 38,label%mK
i32 40,label%aj
i32 24,label%le
i32 7,label%iv
i32 10,label%fW
i32 11,label%ev
i32 12,label%c4
i32 13,label%al
i32 34,label%aj
]
R:
call void@sml_matchcomp_bug()
%S=load i8*,i8**@_SMLZ5Match,align 8
store i8*%S,i8**%v,align 8
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
store i8*%T,i8**%w,align 8
%W=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%T,i64 8
%Z=bitcast i8*%Y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@W,i64 0,i32 2,i64 0),i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 16
%ab=bitcast i8*%aa to i32*
store i32 3,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**%w,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=phi i8*[null,%K],[%L,%O],[%L,%O],[%L,%O],[%L,%O],[%L,%O],[%L,%O],[%L,%O],[%L,%O],[%L,%O],[%L,%O],[%AM,%Ae],[%Cv,%AN]
ret i8*%ak
al:
%am=getelementptr inbounds i8,i8*%L,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%x,align 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%y,align 8
%ar=getelementptr inbounds i8,i8*%ao,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
store i8*%at,i8**%z,align 8
%au=getelementptr inbounds i8,i8*%ao,i64 32
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%A,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 16
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
%aA=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%az)
store i8*%aA,i8**%v,align 8
%aB=load i8*,i8**%x,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 24
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
%aF=call fastcc i8*@_SMLFN18UserLevelPrimitive32REIFY__exExnInfo__RuntimeTypeErrorE(i8*inreg%aE)
store i8*%aF,i8**%w,align 8
%aG=call i8*@sml_alloc(i32 inreg 20)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177296,i32*%aI,align 4
store i8*%aG,i8**%D,align 8
%aJ=bitcast i8*%aG to i64*
store i64 0,i64*%aJ,align 4
%aK=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%aL=getelementptr inbounds i8,i8*%aG,i64 8
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 16
%aO=bitcast i8*%aN to i32*
store i32 2,i32*%aO,align 4
%aP=load i8*,i8**%x,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 24
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
%aT=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(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
store i8*%aY,i8**%C,align 8
%aZ=load i8*,i8**%x,align 8
%a0=getelementptr inbounds i8,i8*%aZ,i64 24
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
%a3=call fastcc i8*@_SMLFN10ReifyUtils11InstListVarE(i8*inreg%a2)
%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**%B,align 8
%a9=load i8*,i8**%x,align 8
%ba=getelementptr inbounds i8,i8*%a9,i64 24
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
%bd=call fastcc i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__viewTermGenericE(i8*inreg%bc)
store i8*%bd,i8**%w,align 8
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
store i8*%be,i8**%E,align 8
%bh=load i8*,i8**%y,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%be,i64 8
%bk=bitcast i8*%bj to i8**
store i8*null,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 16
%bm=bitcast i8*%bl to i32*
store i32 3,i32*%bm,align 4
%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**%F,align 8
%bq=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%E,align 8
store i8*null,i8**%E,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=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177296,i32*%bz,align 4
%bA=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%bD=getelementptr inbounds i8,i8*%bx,i64 8
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bx,i64 16
%bG=bitcast i8*%bF to i32*
store i32 3,i32*%bG,align 4
%bH=load i8*,i8**%B,align 8
store i8*null,i8**%B,align 8
%bI=call fastcc i8*%a6(i8*inreg%bH,i8*inreg%bx)
%bJ=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%bK=call fastcc i8*%aW(i8*inreg%bJ,i8*inreg%bI)
%bL=getelementptr inbounds i8,i8*%bK,i64 16
%bM=bitcast i8*%bL to i8*(i8*,i8*)**
%bN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bM,align 8
%bO=bitcast i8*%bK to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%z,align 8
%bQ=load i8*,i8**%x,align 8
%bR=getelementptr inbounds i8,i8*%bQ,i64 24
%bS=bitcast i8*%bR to i8**
%bT=load i8*,i8**%bS,align 8
%bU=call fastcc i8*@_SMLFN10ReifyUtils4PairE(i8*inreg%bT)
%bV=getelementptr inbounds i8,i8*%bU,i64 16
%bW=bitcast i8*%bV to i8*(i8*,i8*)**
%bX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bW,align 8
%bY=bitcast i8*%bU to i8**
%bZ=load i8*,i8**%bY,align 8
store i8*%bZ,i8**%w,align 8
%b0=call i8*@sml_alloc(i32 inreg 20)#0
%b1=getelementptr inbounds i8,i8*%b0,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177296,i32*%b2,align 4
%b3=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%b4=bitcast i8*%b0 to i8**
store i8*%b3,i8**%b4,align 8
%b5=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%b6=getelementptr inbounds i8,i8*%b0,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b0,i64 16
%b9=bitcast i8*%b8 to i32*
store i32 3,i32*%b9,align 4
%ca=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%cb=call fastcc i8*%bX(i8*inreg%ca,i8*inreg%b0)
%cc=getelementptr inbounds i8,i8*%cb,i64 16
%cd=bitcast i8*%cc to i8*(i8*,i8*)**
%ce=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cd,align 8
%cf=bitcast i8*%cb to i8**
%cg=load i8*,i8**%cf,align 8
store i8*%cg,i8**%v,align 8
%ch=load i8*,i8**%x,align 8
%ci=getelementptr inbounds i8,i8*%ch,i64 24
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
%cl=bitcast i8**%t to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cl)
%cm=bitcast i8**%u to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cm)
call void@llvm.gcroot(i8**%t,i8*null)#0
call void@llvm.gcroot(i8**%u,i8*null)#0
store i8*%ck,i8**%t,align 8
%cn=call i8*@sml_alloc(i32 inreg 12)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177288,i32*%cp,align 4
store i8*%cn,i8**%u,align 8
%cq=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cn,i64 8
%ct=bitcast i8*%cs to i32*
store i32 1,i32*%ct,align 4
%cu=call i8*@sml_alloc(i32 inreg 28)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177304,i32*%cw,align 4
%cx=load i8*,i8**%u,align 8
%cy=bitcast i8*%cu to i8**
store i8*%cx,i8**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cu,i64 8
%cA=bitcast i8*%cz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_425 to void(...)*),void(...)**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cu,i64 16
%cC=bitcast i8*%cB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_425 to void(...)*),void(...)**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cu,i64 24
%cE=bitcast i8*%cD to i32*
store i32 -2147483647,i32*%cE,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cl)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cm)
%cF=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%cG=call fastcc i8*@_SMLL6TypeOf_425(i8*inreg%cx,i8*inreg%cF)
%cH=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%cI=call fastcc i8*%ce(i8*inreg%cH,i8*inreg%cG)
%cJ=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%cK=call fastcc i8*%bN(i8*inreg%cJ,i8*inreg%cI)
store i8*%cK,i8**%v,align 8
%cL=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%cM=getelementptr inbounds i8,i8*%cL,i64 24
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
%cP=call fastcc i8*@_SMLLN14FFICompilation16HandleAndReRaiseE_267(i8*inreg%cO)
%cQ=getelementptr inbounds i8,i8*%cP,i64 16
%cR=bitcast i8*%cQ to i8*(i8*,i8*)**
%cS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cR,align 8
%cT=bitcast i8*%cP to i8**
%cU=load i8*,i8**%cT,align 8
%cV=load i8*,i8**%D,align 8
store i8*null,i8**%D,align 8
%cW=call fastcc i8*%cS(i8*inreg%cU,i8*inreg%cV)
%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
%c0=bitcast i8*%cW to i8**
%c1=load i8*,i8**%c0,align 8
%c2=load i8*,i8**%v,align 8
%c3=tail call fastcc i8*%cZ(i8*inreg%c1,i8*inreg%c2)
ret i8*%c3
c4:
%c5=getelementptr inbounds i8,i8*%L,i64 8
%c6=bitcast i8*%c5 to i8**
%c7=load i8*,i8**%c6,align 8
store i8*%c7,i8**%w,align 8
%c8=getelementptr inbounds i8,i8*%c7,i64 16
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
store i8*%da,i8**%x,align 8
%db=getelementptr inbounds i8,i8*%c7,i64 8
%dc=bitcast i8*%db to i8**
%dd=load i8*,i8**%dc,align 8
%de=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%dd)
%df=getelementptr inbounds i8,i8*%de,i64 16
%dg=bitcast i8*%df to i8*(i8*,i8*)**
%dh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dg,align 8
%di=bitcast i8*%de to i8**
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%z,align 8
%dk=load i8*,i8**%w,align 8
%dl=getelementptr inbounds i8,i8*%dk,i64 8
%dm=bitcast i8*%dl to i8**
%dn=load i8*,i8**%dm,align 8
%do=call fastcc i8*@_SMLFN10ReifyUtils11InstListVarE(i8*inreg%dn)
%dp=getelementptr inbounds i8,i8*%do,i64 16
%dq=bitcast i8*%dp to i8*(i8*,i8*)**
%dr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dq,align 8
%ds=bitcast i8*%do to i8**
%dt=load i8*,i8**%ds,align 8
store i8*%dt,i8**%y,align 8
%du=load i8*,i8**%w,align 8
%dv=getelementptr inbounds i8,i8*%du,i64 8
%dw=bitcast i8*%dv to i8**
%dx=load i8*,i8**%dw,align 8
%dy=call fastcc i8*@_SMLFN18UserLevelPrimitive17REIFY__exInfo__voidE(i8*inreg%dx)
store i8*%dy,i8**%v,align 8
%dz=call i8*@sml_alloc(i32 inreg 20)#0
%dA=getelementptr inbounds i8,i8*%dz,i64 -4
%dB=bitcast i8*%dA to i32*
store i32 1342177296,i32*%dB,align 4
store i8*%dz,i8**%A,align 8
%dC=load i8*,i8**%x,align 8
%dD=bitcast i8*%dz to i8**
store i8*%dC,i8**%dD,align 8
%dE=getelementptr inbounds i8,i8*%dz,i64 8
%dF=bitcast i8*%dE to i8**
store i8*null,i8**%dF,align 8
%dG=getelementptr inbounds i8,i8*%dz,i64 16
%dH=bitcast i8*%dG to i32*
store i32 3,i32*%dH,align 4
%dI=call i8*@sml_alloc(i32 inreg 20)#0
%dJ=getelementptr inbounds i8,i8*%dI,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32 1342177296,i32*%dK,align 4
%dL=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%dM=bitcast i8*%dI to i8**
store i8*%dL,i8**%dM,align 8
%dN=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%dO=getelementptr inbounds i8,i8*%dI,i64 8
%dP=bitcast i8*%dO to i8**
store i8*%dN,i8**%dP,align 8
%dQ=getelementptr inbounds i8,i8*%dI,i64 16
%dR=bitcast i8*%dQ to i32*
store i32 3,i32*%dR,align 4
%dS=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%dT=call fastcc i8*%dr(i8*inreg%dS,i8*inreg%dI)
%dU=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%dV=call fastcc i8*%dh(i8*inreg%dU,i8*inreg%dT)
%dW=getelementptr inbounds i8,i8*%dV,i64 16
%dX=bitcast i8*%dW to i8*(i8*,i8*)**
%dY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dX,align 8
%dZ=bitcast i8*%dV to i8**
%d0=load i8*,i8**%dZ,align 8
store i8*%d0,i8**%v,align 8
%d1=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%d2=getelementptr inbounds i8,i8*%d1,i64 8
%d3=bitcast i8*%d2 to i8**
%d4=load i8*,i8**%d3,align 8
%d5=bitcast i8**%r to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%d5)
%d6=bitcast i8**%s to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%d6)
call void@llvm.gcroot(i8**%r,i8*null)#0
call void@llvm.gcroot(i8**%s,i8*null)#0
store i8*%d4,i8**%r,align 8
%d7=call i8*@sml_alloc(i32 inreg 12)#0
%d8=getelementptr inbounds i8,i8*%d7,i64 -4
%d9=bitcast i8*%d8 to i32*
store i32 1342177288,i32*%d9,align 4
store i8*%d7,i8**%s,align 8
%ea=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%eb=bitcast i8*%d7 to i8**
store i8*%ea,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d7,i64 8
%ed=bitcast i8*%ec to i32*
store i32 1,i32*%ed,align 4
%ee=call i8*@sml_alloc(i32 inreg 28)#0
%ef=getelementptr inbounds i8,i8*%ee,i64 -4
%eg=bitcast i8*%ef to i32*
store i32 1342177304,i32*%eg,align 4
%eh=load i8*,i8**%s,align 8
%ei=bitcast i8*%ee to i8**
store i8*%eh,i8**%ei,align 8
%ej=getelementptr inbounds i8,i8*%ee,i64 8
%ek=bitcast i8*%ej to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_422 to void(...)*),void(...)**%ek,align 8
%el=getelementptr inbounds i8,i8*%ee,i64 16
%em=bitcast i8*%el to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_422 to void(...)*),void(...)**%em,align 8
%en=getelementptr inbounds i8,i8*%ee,i64 24
%eo=bitcast i8*%en to i32*
store i32 -2147483647,i32*%eo,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%d5)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%d6)
%ep=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%eq=call fastcc i8*@_SMLL6TypeOf_422(i8*inreg%eh,i8*inreg%ep)
%er=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%es=call fastcc i8*%dY(i8*inreg%er,i8*inreg%eq)
%et=bitcast i8*%es to i8**
%eu=load i8*,i8**%et,align 8
ret i8*%eu
ev:
%ew=getelementptr inbounds i8,i8*%L,i64 8
%ex=bitcast i8*%ew to i8**
%ey=load i8*,i8**%ex,align 8
store i8*%ey,i8**%w,align 8
%ez=getelementptr inbounds i8,i8*%ey,i64 16
%eA=bitcast i8*%ez to i8**
%eB=load i8*,i8**%eA,align 8
store i8*%eB,i8**%x,align 8
%eC=getelementptr inbounds i8,i8*%ey,i64 8
%eD=bitcast i8*%eC to i8**
%eE=load i8*,i8**%eD,align 8
%eF=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%eE)
%eG=getelementptr inbounds i8,i8*%eF,i64 16
%eH=bitcast i8*%eG to i8*(i8*,i8*)**
%eI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eH,align 8
%eJ=bitcast i8*%eF to i8**
%eK=load i8*,i8**%eJ,align 8
store i8*%eK,i8**%z,align 8
%eL=load i8*,i8**%w,align 8
%eM=getelementptr inbounds i8,i8*%eL,i64 8
%eN=bitcast i8*%eM to i8**
%eO=load i8*,i8**%eN,align 8
%eP=call fastcc i8*@_SMLFN10ReifyUtils11InstListVarE(i8*inreg%eO)
%eQ=getelementptr inbounds i8,i8*%eP,i64 16
%eR=bitcast i8*%eQ to i8*(i8*,i8*)**
%eS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eR,align 8
%eT=bitcast i8*%eP to i8**
%eU=load i8*,i8**%eT,align 8
store i8*%eU,i8**%y,align 8
%eV=load i8*,i8**%w,align 8
%eW=getelementptr inbounds i8,i8*%eV,i64 8
%eX=bitcast i8*%eW to i8**
%eY=load i8*,i8**%eX,align 8
%eZ=call fastcc i8*@_SMLFN18UserLevelPrimitive17REIFY__exInfo__nullE(i8*inreg%eY)
store i8*%eZ,i8**%v,align 8
%e0=call i8*@sml_alloc(i32 inreg 20)#0
%e1=getelementptr inbounds i8,i8*%e0,i64 -4
%e2=bitcast i8*%e1 to i32*
store i32 1342177296,i32*%e2,align 4
store i8*%e0,i8**%A,align 8
%e3=load i8*,i8**%x,align 8
%e4=bitcast i8*%e0 to i8**
store i8*%e3,i8**%e4,align 8
%e5=getelementptr inbounds i8,i8*%e0,i64 8
%e6=bitcast i8*%e5 to i8**
store i8*null,i8**%e6,align 8
%e7=getelementptr inbounds i8,i8*%e0,i64 16
%e8=bitcast i8*%e7 to i32*
store i32 3,i32*%e8,align 4
%e9=call i8*@sml_alloc(i32 inreg 20)#0
%fa=getelementptr inbounds i8,i8*%e9,i64 -4
%fb=bitcast i8*%fa to i32*
store i32 1342177296,i32*%fb,align 4
%fc=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%fd=bitcast i8*%e9 to i8**
store i8*%fc,i8**%fd,align 8
%fe=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%ff=getelementptr inbounds i8,i8*%e9,i64 8
%fg=bitcast i8*%ff to i8**
store i8*%fe,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%e9,i64 16
%fi=bitcast i8*%fh to i32*
store i32 3,i32*%fi,align 4
%fj=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%fk=call fastcc i8*%eS(i8*inreg%fj,i8*inreg%e9)
%fl=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%fm=call fastcc i8*%eI(i8*inreg%fl,i8*inreg%fk)
%fn=getelementptr inbounds i8,i8*%fm,i64 16
%fo=bitcast i8*%fn to i8*(i8*,i8*)**
%fp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fo,align 8
%fq=bitcast i8*%fm to i8**
%fr=load i8*,i8**%fq,align 8
store i8*%fr,i8**%v,align 8
%fs=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%ft=getelementptr inbounds i8,i8*%fs,i64 8
%fu=bitcast i8*%ft to i8**
%fv=load i8*,i8**%fu,align 8
%fw=bitcast i8**%p to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%fw)
%fx=bitcast i8**%q to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%fx)
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
store i8*%fv,i8**%p,align 8
%fy=call i8*@sml_alloc(i32 inreg 12)#0
%fz=getelementptr inbounds i8,i8*%fy,i64 -4
%fA=bitcast i8*%fz to i32*
store i32 1342177288,i32*%fA,align 4
store i8*%fy,i8**%q,align 8
%fB=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%fC=bitcast i8*%fy to i8**
store i8*%fB,i8**%fC,align 8
%fD=getelementptr inbounds i8,i8*%fy,i64 8
%fE=bitcast i8*%fD to i32*
store i32 1,i32*%fE,align 4
%fF=call i8*@sml_alloc(i32 inreg 28)#0
%fG=getelementptr inbounds i8,i8*%fF,i64 -4
%fH=bitcast i8*%fG to i32*
store i32 1342177304,i32*%fH,align 4
%fI=load i8*,i8**%q,align 8
%fJ=bitcast i8*%fF to i8**
store i8*%fI,i8**%fJ,align 8
%fK=getelementptr inbounds i8,i8*%fF,i64 8
%fL=bitcast i8*%fK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_419 to void(...)*),void(...)**%fL,align 8
%fM=getelementptr inbounds i8,i8*%fF,i64 16
%fN=bitcast i8*%fM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_419 to void(...)*),void(...)**%fN,align 8
%fO=getelementptr inbounds i8,i8*%fF,i64 24
%fP=bitcast i8*%fO to i32*
store i32 -2147483647,i32*%fP,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%fw)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%fx)
%fQ=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%fR=call fastcc i8*@_SMLL6TypeOf_419(i8*inreg%fI,i8*inreg%fQ)
%fS=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%fT=call fastcc i8*%fp(i8*inreg%fS,i8*inreg%fR)
%fU=bitcast i8*%fT to i8**
%fV=load i8*,i8**%fU,align 8
ret i8*%fV
fW:
%fX=getelementptr inbounds i8,i8*%L,i64 8
%fY=bitcast i8*%fX to i8**
%fZ=load i8*,i8**%fY,align 8
store i8*%fZ,i8**%x,align 8
%f0=getelementptr inbounds i8,i8*%fZ,i64 8
%f1=bitcast i8*%f0 to i8**
%f2=load i8*,i8**%f1,align 8
store i8*%f2,i8**%y,align 8
%f3=getelementptr inbounds i8,i8*%fZ,i64 32
%f4=bitcast i8*%f3 to i8**
%f5=load i8*,i8**%f4,align 8
store i8*%f5,i8**%z,align 8
%f6=getelementptr inbounds i8,i8*%fZ,i64 16
%f7=bitcast i8*%f6 to i8**
%f8=load i8*,i8**%f7,align 8
%f9=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%f8)
store i8*%f9,i8**%v,align 8
%ga=load i8*,i8**%x,align 8
%gb=getelementptr inbounds i8,i8*%ga,i64 24
%gc=bitcast i8*%gb to i8**
%gd=load i8*,i8**%gc,align 8
%ge=call fastcc i8*@_SMLFN18UserLevelPrimitive32REIFY__exExnInfo__RuntimeTypeErrorE(i8*inreg%gd)
store i8*%ge,i8**%w,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**%C,align 8
%gi=bitcast i8*%gf to i64*
store i64 0,i64*%gi,align 4
%gj=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%gk=getelementptr inbounds i8,i8*%gf,i64 8
%gl=bitcast i8*%gk to i8**
store i8*%gj,i8**%gl,align 8
%gm=getelementptr inbounds i8,i8*%gf,i64 16
%gn=bitcast i8*%gm to i32*
store i32 2,i32*%gn,align 4
%go=load i8*,i8**%x,align 8
%gp=getelementptr inbounds i8,i8*%go,i64 24
%gq=bitcast i8*%gp to i8**
%gr=load i8*,i8**%gq,align 8
%gs=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%gr)
%gt=getelementptr inbounds i8,i8*%gs,i64 16
%gu=bitcast i8*%gt to i8*(i8*,i8*)**
%gv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gu,align 8
%gw=bitcast i8*%gs to i8**
%gx=load i8*,i8**%gw,align 8
store i8*%gx,i8**%B,align 8
%gy=load i8*,i8**%x,align 8
%gz=getelementptr inbounds i8,i8*%gy,i64 24
%gA=bitcast i8*%gz to i8**
%gB=load i8*,i8**%gA,align 8
%gC=call fastcc i8*@_SMLFN10ReifyUtils11InstListVarE(i8*inreg%gB)
%gD=getelementptr inbounds i8,i8*%gC,i64 16
%gE=bitcast i8*%gD to i8*(i8*,i8*)**
%gF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gE,align 8
%gG=bitcast i8*%gC to i8**
%gH=load i8*,i8**%gG,align 8
store i8*%gH,i8**%A,align 8
%gI=load i8*,i8**%x,align 8
%gJ=getelementptr inbounds i8,i8*%gI,i64 24
%gK=bitcast i8*%gJ to i8**
%gL=load i8*,i8**%gK,align 8
%gM=call fastcc i8*@_SMLFN18UserLevelPrimitive29REIFY__exInfo__checkTermGenericE(i8*inreg%gL)
store i8*%gM,i8**%w,align 8
%gN=call i8*@sml_alloc(i32 inreg 20)#0
%gO=getelementptr inbounds i8,i8*%gN,i64 -4
%gP=bitcast i8*%gO to i32*
store i32 1342177296,i32*%gP,align 4
store i8*%gN,i8**%D,align 8
%gQ=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%gR=bitcast i8*%gN to i8**
store i8*%gQ,i8**%gR,align 8
%gS=getelementptr inbounds i8,i8*%gN,i64 8
%gT=bitcast i8*%gS to i8**
store i8*null,i8**%gT,align 8
%gU=getelementptr inbounds i8,i8*%gN,i64 16
%gV=bitcast i8*%gU to i32*
store i32 3,i32*%gV,align 4
%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
%gZ=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%g0=bitcast i8*%gW to i8**
store i8*%gZ,i8**%g0,align 8
%g1=load i8*,i8**%D,align 8
store i8*null,i8**%D,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=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%g7=call fastcc i8*%gF(i8*inreg%g6,i8*inreg%gW)
%g8=load i8*,i8**%B,align 8
store i8*null,i8**%B,align 8
%g9=call fastcc i8*%gv(i8*inreg%g8,i8*inreg%g7)
%ha=getelementptr inbounds i8,i8*%g9,i64 16
%hb=bitcast i8*%ha to i8*(i8*,i8*)**
%hc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hb,align 8
%hd=bitcast i8*%g9 to i8**
%he=load i8*,i8**%hd,align 8
store i8*%he,i8**%y,align 8
%hf=load i8*,i8**%x,align 8
%hg=getelementptr inbounds i8,i8*%hf,i64 24
%hh=bitcast i8*%hg to i8**
%hi=load i8*,i8**%hh,align 8
%hj=call fastcc i8*@_SMLFN10ReifyUtils4PairE(i8*inreg%hi)
%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**%w,align 8
%hp=call i8*@sml_alloc(i32 inreg 20)#0
%hq=getelementptr inbounds i8,i8*%hp,i64 -4
%hr=bitcast i8*%hq to i32*
store i32 1342177296,i32*%hr,align 4
%hs=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%ht=bitcast i8*%hp to i8**
store i8*%hs,i8**%ht,align 8
%hu=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%hv=getelementptr inbounds i8,i8*%hp,i64 8
%hw=bitcast i8*%hv to i8**
store i8*%hu,i8**%hw,align 8
%hx=getelementptr inbounds i8,i8*%hp,i64 16
%hy=bitcast i8*%hx to i32*
store i32 3,i32*%hy,align 4
%hz=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%hA=call fastcc i8*%hm(i8*inreg%hz,i8*inreg%hp)
%hB=getelementptr inbounds i8,i8*%hA,i64 16
%hC=bitcast i8*%hB to i8*(i8*,i8*)**
%hD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hC,align 8
%hE=bitcast i8*%hA to i8**
%hF=load i8*,i8**%hE,align 8
store i8*%hF,i8**%v,align 8
%hG=load i8*,i8**%x,align 8
%hH=getelementptr inbounds i8,i8*%hG,i64 24
%hI=bitcast i8*%hH to i8**
%hJ=load i8*,i8**%hI,align 8
%hK=bitcast i8**%n to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hK)
%hL=bitcast i8**%o to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hL)
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
store i8*%hJ,i8**%n,align 8
%hM=call i8*@sml_alloc(i32 inreg 12)#0
%hN=getelementptr inbounds i8,i8*%hM,i64 -4
%hO=bitcast i8*%hN to i32*
store i32 1342177288,i32*%hO,align 4
store i8*%hM,i8**%o,align 8
%hP=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%hQ=bitcast i8*%hM to i8**
store i8*%hP,i8**%hQ,align 8
%hR=getelementptr inbounds i8,i8*%hM,i64 8
%hS=bitcast i8*%hR to i32*
store i32 1,i32*%hS,align 4
%hT=call i8*@sml_alloc(i32 inreg 28)#0
%hU=getelementptr inbounds i8,i8*%hT,i64 -4
%hV=bitcast i8*%hU to i32*
store i32 1342177304,i32*%hV,align 4
%hW=load i8*,i8**%o,align 8
%hX=bitcast i8*%hT to i8**
store i8*%hW,i8**%hX,align 8
%hY=getelementptr inbounds i8,i8*%hT,i64 8
%hZ=bitcast i8*%hY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_416 to void(...)*),void(...)**%hZ,align 8
%h0=getelementptr inbounds i8,i8*%hT,i64 16
%h1=bitcast i8*%h0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_416 to void(...)*),void(...)**%h1,align 8
%h2=getelementptr inbounds i8,i8*%hT,i64 24
%h3=bitcast i8*%h2 to i32*
store i32 -2147483647,i32*%h3,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hL)
%h4=bitcast i8**%x to i8***
%h5=load i8**,i8***%h4,align 8
%h6=load i8*,i8**%h5,align 8
%h7=call fastcc i8*@_SMLL6TypeOf_416(i8*inreg%hW,i8*inreg%h6)
%h8=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%h9=call fastcc i8*%hD(i8*inreg%h8,i8*inreg%h7)
%ia=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%ib=call fastcc i8*%hc(i8*inreg%ia,i8*inreg%h9)
store i8*%ib,i8**%v,align 8
%ic=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%id=getelementptr inbounds i8,i8*%ic,i64 24
%ie=bitcast i8*%id to i8**
%if=load i8*,i8**%ie,align 8
%ig=call fastcc i8*@_SMLLN14FFICompilation16HandleAndReRaiseE_267(i8*inreg%if)
%ih=getelementptr inbounds i8,i8*%ig,i64 16
%ii=bitcast i8*%ih to i8*(i8*,i8*)**
%ij=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ii,align 8
%ik=bitcast i8*%ig to i8**
%il=load i8*,i8**%ik,align 8
%im=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%in=call fastcc i8*%ij(i8*inreg%il,i8*inreg%im)
%io=getelementptr inbounds i8,i8*%in,i64 16
%ip=bitcast i8*%io to i8*(i8*,i8*)**
%iq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ip,align 8
%ir=bitcast i8*%in to i8**
%is=load i8*,i8**%ir,align 8
%it=load i8*,i8**%v,align 8
%iu=tail call fastcc i8*%iq(i8*inreg%is,i8*inreg%it)
ret i8*%iu
iv:
%iw=getelementptr inbounds i8,i8*%L,i64 8
%ix=bitcast i8*%iw to i8**
%iy=load i8*,i8**%ix,align 8
store i8*%iy,i8**%x,align 8
%iz=bitcast i8*%iy to i8**
%iA=load i8*,i8**%iz,align 8
store i8*%iA,i8**%y,align 8
%iB=getelementptr inbounds i8,i8*%iy,i64 8
%iC=bitcast i8*%iB to i8**
%iD=load i8*,i8**%iC,align 8
store i8*%iD,i8**%z,align 8
%iE=getelementptr inbounds i8,i8*%iy,i64 32
%iF=bitcast i8*%iE to i8**
%iG=load i8*,i8**%iF,align 8
store i8*%iG,i8**%A,align 8
%iH=getelementptr inbounds i8,i8*%iy,i64 16
%iI=bitcast i8*%iH to i8**
%iJ=load i8*,i8**%iI,align 8
%iK=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%iJ)
store i8*%iK,i8**%v,align 8
%iL=load i8*,i8**%x,align 8
%iM=getelementptr inbounds i8,i8*%iL,i64 24
%iN=bitcast i8*%iM to i8**
%iO=load i8*,i8**%iN,align 8
%iP=call fastcc i8*@_SMLFN18UserLevelPrimitive32REIFY__exExnInfo__RuntimeTypeErrorE(i8*inreg%iO)
store i8*%iP,i8**%w,align 8
%iQ=call i8*@sml_alloc(i32 inreg 20)#0
%iR=getelementptr inbounds i8,i8*%iQ,i64 -4
%iS=bitcast i8*%iR to i32*
store i32 1342177296,i32*%iS,align 4
store i8*%iQ,i8**%D,align 8
%iT=bitcast i8*%iQ to i64*
store i64 0,i64*%iT,align 4
%iU=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%iV=getelementptr inbounds i8,i8*%iQ,i64 8
%iW=bitcast i8*%iV to i8**
store i8*%iU,i8**%iW,align 8
%iX=getelementptr inbounds i8,i8*%iQ,i64 16
%iY=bitcast i8*%iX to i32*
store i32 2,i32*%iY,align 4
%iZ=load i8*,i8**%x,align 8
%i0=getelementptr inbounds i8,i8*%iZ,i64 24
%i1=bitcast i8*%i0 to i8**
%i2=load i8*,i8**%i1,align 8
%i3=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%i2)
%i4=getelementptr inbounds i8,i8*%i3,i64 16
%i5=bitcast i8*%i4 to i8*(i8*,i8*)**
%i6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i5,align 8
%i7=bitcast i8*%i3 to i8**
%i8=load i8*,i8**%i7,align 8
store i8*%i8,i8**%C,align 8
%i9=load i8*,i8**%x,align 8
%ja=getelementptr inbounds i8,i8*%i9,i64 24
%jb=bitcast i8*%ja to i8**
%jc=load i8*,i8**%jb,align 8
%jd=call fastcc i8*@_SMLFN10ReifyUtils11InstListVarE(i8*inreg%jc)
%je=getelementptr inbounds i8,i8*%jd,i64 16
%jf=bitcast i8*%je to i8*(i8*,i8*)**
%jg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jf,align 8
%jh=bitcast i8*%jd to i8**
%ji=load i8*,i8**%jh,align 8
store i8*%ji,i8**%B,align 8
%jj=load i8*,i8**%x,align 8
%jk=getelementptr inbounds i8,i8*%jj,i64 24
%jl=bitcast i8*%jk to i8**
%jm=load i8*,i8**%jl,align 8
%jn=call fastcc i8*@_SMLFN18UserLevelPrimitive30REIFY__exInfo__coerceTermGenericE(i8*inreg%jm)
store i8*%jn,i8**%w,align 8
%jo=call i8*@sml_alloc(i32 inreg 20)#0
%jp=getelementptr inbounds i8,i8*%jo,i64 -4
%jq=bitcast i8*%jp to i32*
store i32 1342177296,i32*%jq,align 4
store i8*%jo,i8**%E,align 8
%jr=load i8*,i8**%y,align 8
%js=bitcast i8*%jo to i8**
store i8*%jr,i8**%js,align 8
%jt=getelementptr inbounds i8,i8*%jo,i64 8
%ju=bitcast i8*%jt to i8**
store i8*null,i8**%ju,align 8
%jv=getelementptr inbounds i8,i8*%jo,i64 16
%jw=bitcast i8*%jv to i32*
store i32 3,i32*%jw,align 4
%jx=call i8*@sml_alloc(i32 inreg 20)#0
%jy=getelementptr inbounds i8,i8*%jx,i64 -4
%jz=bitcast i8*%jy to i32*
store i32 1342177296,i32*%jz,align 4
store i8*%jx,i8**%F,align 8
%jA=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%jB=bitcast i8*%jx to i8**
store i8*%jA,i8**%jB,align 8
%jC=load i8*,i8**%E,align 8
store i8*null,i8**%E,align 8
%jD=getelementptr inbounds i8,i8*%jx,i64 8
%jE=bitcast i8*%jD to i8**
store i8*%jC,i8**%jE,align 8
%jF=getelementptr inbounds i8,i8*%jx,i64 16
%jG=bitcast i8*%jF to i32*
store i32 3,i32*%jG,align 4
%jH=call i8*@sml_alloc(i32 inreg 20)#0
%jI=getelementptr inbounds i8,i8*%jH,i64 -4
%jJ=bitcast i8*%jI to i32*
store i32 1342177296,i32*%jJ,align 4
%jK=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%jL=bitcast i8*%jH to i8**
store i8*%jK,i8**%jL,align 8
%jM=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%jN=getelementptr inbounds i8,i8*%jH,i64 8
%jO=bitcast i8*%jN to i8**
store i8*%jM,i8**%jO,align 8
%jP=getelementptr inbounds i8,i8*%jH,i64 16
%jQ=bitcast i8*%jP to i32*
store i32 3,i32*%jQ,align 4
%jR=load i8*,i8**%B,align 8
store i8*null,i8**%B,align 8
%jS=call fastcc i8*%jg(i8*inreg%jR,i8*inreg%jH)
%jT=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%jU=call fastcc i8*%i6(i8*inreg%jT,i8*inreg%jS)
%jV=getelementptr inbounds i8,i8*%jU,i64 16
%jW=bitcast i8*%jV to i8*(i8*,i8*)**
%jX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jW,align 8
%jY=bitcast i8*%jU to i8**
%jZ=load i8*,i8**%jY,align 8
store i8*%jZ,i8**%z,align 8
%j0=load i8*,i8**%x,align 8
%j1=getelementptr inbounds i8,i8*%j0,i64 24
%j2=bitcast i8*%j1 to i8**
%j3=load i8*,i8**%j2,align 8
%j4=call fastcc i8*@_SMLFN10ReifyUtils4PairE(i8*inreg%j3)
%j5=getelementptr inbounds i8,i8*%j4,i64 16
%j6=bitcast i8*%j5 to i8*(i8*,i8*)**
%j7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j6,align 8
%j8=bitcast i8*%j4 to i8**
%j9=load i8*,i8**%j8,align 8
store i8*%j9,i8**%w,align 8
%ka=call i8*@sml_alloc(i32 inreg 20)#0
%kb=getelementptr inbounds i8,i8*%ka,i64 -4
%kc=bitcast i8*%kb to i32*
store i32 1342177296,i32*%kc,align 4
%kd=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%ke=bitcast i8*%ka to i8**
store i8*%kd,i8**%ke,align 8
%kf=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%kg=getelementptr inbounds i8,i8*%ka,i64 8
%kh=bitcast i8*%kg to i8**
store i8*%kf,i8**%kh,align 8
%ki=getelementptr inbounds i8,i8*%ka,i64 16
%kj=bitcast i8*%ki to i32*
store i32 3,i32*%kj,align 4
%kk=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%kl=call fastcc i8*%j7(i8*inreg%kk,i8*inreg%ka)
%km=getelementptr inbounds i8,i8*%kl,i64 16
%kn=bitcast i8*%km to i8*(i8*,i8*)**
%ko=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kn,align 8
%kp=bitcast i8*%kl to i8**
%kq=load i8*,i8**%kp,align 8
store i8*%kq,i8**%v,align 8
%kr=load i8*,i8**%x,align 8
%ks=getelementptr inbounds i8,i8*%kr,i64 24
%kt=bitcast i8*%ks to i8**
%ku=load i8*,i8**%kt,align 8
%kv=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%kv)
%kw=bitcast i8**%m to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%kw)
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%ku,i8**%l,align 8
%kx=call i8*@sml_alloc(i32 inreg 12)#0
%ky=getelementptr inbounds i8,i8*%kx,i64 -4
%kz=bitcast i8*%ky to i32*
store i32 1342177288,i32*%kz,align 4
store i8*%kx,i8**%m,align 8
%kA=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%kB=bitcast i8*%kx to i8**
store i8*%kA,i8**%kB,align 8
%kC=getelementptr inbounds i8,i8*%kx,i64 8
%kD=bitcast i8*%kC to i32*
store i32 1,i32*%kD,align 4
%kE=call i8*@sml_alloc(i32 inreg 28)#0
%kF=getelementptr inbounds i8,i8*%kE,i64 -4
%kG=bitcast i8*%kF to i32*
store i32 1342177304,i32*%kG,align 4
%kH=load i8*,i8**%m,align 8
%kI=bitcast i8*%kE to i8**
store i8*%kH,i8**%kI,align 8
%kJ=getelementptr inbounds i8,i8*%kE,i64 8
%kK=bitcast i8*%kJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_413 to void(...)*),void(...)**%kK,align 8
%kL=getelementptr inbounds i8,i8*%kE,i64 16
%kM=bitcast i8*%kL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6TypeOf_413 to void(...)*),void(...)**%kM,align 8
%kN=getelementptr inbounds i8,i8*%kE,i64 24
%kO=bitcast i8*%kN to i32*
store i32 -2147483647,i32*%kO,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%kv)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%kw)
%kP=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%kQ=call fastcc i8*@_SMLL6TypeOf_413(i8*inreg%kH,i8*inreg%kP)
%kR=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%kS=call fastcc i8*%ko(i8*inreg%kR,i8*inreg%kQ)
%kT=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%kU=call fastcc i8*%jX(i8*inreg%kT,i8*inreg%kS)
store i8*%kU,i8**%v,align 8
%kV=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%kW=getelementptr inbounds i8,i8*%kV,i64 24
%kX=bitcast i8*%kW to i8**
%kY=load i8*,i8**%kX,align 8
%kZ=call fastcc i8*@_SMLLN14FFICompilation16HandleAndReRaiseE_267(i8*inreg%kY)
%k0=getelementptr inbounds i8,i8*%kZ,i64 16
%k1=bitcast i8*%k0 to i8*(i8*,i8*)**
%k2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k1,align 8
%k3=bitcast i8*%kZ to i8**
%k4=load i8*,i8**%k3,align 8
%k5=load i8*,i8**%D,align 8
store i8*null,i8**%D,align 8
%k6=call fastcc i8*%k2(i8*inreg%k4,i8*inreg%k5)
%k7=getelementptr inbounds i8,i8*%k6,i64 16
%k8=bitcast i8*%k7 to i8*(i8*,i8*)**
%k9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k8,align 8
%la=bitcast i8*%k6 to i8**
%lb=load i8*,i8**%la,align 8
%lc=load i8*,i8**%v,align 8
%ld=tail call fastcc i8*%k9(i8*inreg%lb,i8*inreg%lc)
ret i8*%ld
le:
%lf=getelementptr inbounds i8,i8*%L,i64 8
%lg=bitcast i8*%lf to i8**
%lh=load i8*,i8**%lg,align 8
store i8*%lh,i8**%x,align 8
%li=bitcast i8*%lh to i8**
%lj=load i8*,i8**%li,align 8
store i8*%lj,i8**%v,align 8
%lk=getelementptr inbounds i8,i8*%lh,i64 8
%ll=bitcast i8*%lk to i8**
%lm=load i8*,i8**%ll,align 8
store i8*%lm,i8**%w,align 8
%ln=getelementptr inbounds i8,i8*%lh,i64 32
%lo=bitcast i8*%ln to i8**
%lp=load i8*,i8**%lo,align 8
store i8*%lp,i8**%y,align 8
%lq=getelementptr inbounds i8,i8*%lh,i64 16
%lr=bitcast i8*%lq to i32*
%ls=load i32,i32*%lr,align 4
%lt=icmp eq i32%ls,0
%lu=getelementptr inbounds i8,i8*%lh,i64 24
%lv=bitcast i8*%lu to i8**
%lw=load i8*,i8**%lv,align 8
br i1%lt,label%mu,label%lx
lx:
store i8*%lw,i8**%z,align 8
%ly=call i8*@sml_alloc(i32 inreg 28)#0
%lz=getelementptr inbounds i8,i8*%ly,i64 -4
%lA=bitcast i8*%lz to i32*
store i32 1342177304,i32*%lA,align 4
%lB=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%lC=bitcast i8*%ly to i8**
store i8*%lB,i8**%lC,align 8
%lD=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%lE=getelementptr inbounds i8,i8*%ly,i64 8
%lF=bitcast i8*%lE to i8**
store i8*%lD,i8**%lF,align 8
%lG=load i8*,i8**%y,align 8
%lH=getelementptr inbounds i8,i8*%ly,i64 16
%lI=bitcast i8*%lH to i8**
store i8*%lG,i8**%lI,align 8
%lJ=getelementptr inbounds i8,i8*%ly,i64 24
%lK=bitcast i8*%lJ to i32*
store i32 7,i32*%lK,align 4
%lL=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%lM=call fastcc i8*@_SMLLN14FFICompilation14compileJoinExpE_341(i32 inreg%ls,i8*inreg%lL,i8*inreg%ly)
store i8*%lM,i8**%w,align 8
%lN=call i8*@sml_alloc(i32 inreg 20)#0
%lO=getelementptr inbounds i8,i8*%lN,i64 -4
%lP=bitcast i8*%lO to i32*
store i32 1342177296,i32*%lP,align 4
store i8*%lN,i8**%v,align 8
%lQ=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%lR=bitcast i8*%lN to i8**
store i8*%lQ,i8**%lR,align 8
%lS=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%lT=getelementptr inbounds i8,i8*%lN,i64 8
%lU=bitcast i8*%lT to i8**
store i8*%lS,i8**%lU,align 8
%lV=getelementptr inbounds i8,i8*%lN,i64 16
%lW=bitcast i8*%lV to i32*
store i32 3,i32*%lW,align 4
%lX=load i8*,i8**%x,align 8
%lY=getelementptr inbounds i8,i8*%lX,i64 24
%lZ=bitcast i8*%lY to i8**
%l0=load i8*,i8**%lZ,align 8
%l1=call fastcc i8*@_SMLFN18UserLevelPrimitive27REIFY__exExnInfo__NaturalJoinE(i8*inreg%l0)
store i8*%l1,i8**%w,align 8
%l2=call i8*@sml_alloc(i32 inreg 20)#0
%l3=getelementptr inbounds i8,i8*%l2,i64 -4
%l4=bitcast i8*%l3 to i32*
store i32 1342177296,i32*%l4,align 4
store i8*%l2,i8**%y,align 8
%l5=bitcast i8*%l2 to i64*
store i64 0,i64*%l5,align 4
%l6=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%l7=getelementptr inbounds i8,i8*%l2,i64 8
%l8=bitcast i8*%l7 to i8**
store i8*%l6,i8**%l8,align 8
%l9=getelementptr inbounds i8,i8*%l2,i64 16
%ma=bitcast i8*%l9 to i32*
store i32 2,i32*%ma,align 4
%mb=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%mc=getelementptr inbounds i8,i8*%mb,i64 24
%md=bitcast i8*%mc to i8**
%me=load i8*,i8**%md,align 8
%mf=call fastcc i8*@_SMLLN14FFICompilation16HandleAndReRaiseE_267(i8*inreg%me)
%mg=getelementptr inbounds i8,i8*%mf,i64 16
%mh=bitcast i8*%mg to i8*(i8*,i8*)**
%mi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mh,align 8
%mj=bitcast i8*%mf to i8**
%mk=load i8*,i8**%mj,align 8
%ml=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%mm=call fastcc i8*%mi(i8*inreg%mk,i8*inreg%ml)
%mn=getelementptr inbounds i8,i8*%mm,i64 16
%mo=bitcast i8*%mn to i8*(i8*,i8*)**
%mp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mo,align 8
%mq=bitcast i8*%mm to i8**
%mr=load i8*,i8**%mq,align 8
%ms=load i8*,i8**%v,align 8
%mt=tail call fastcc i8*%mp(i8*inreg%mr,i8*inreg%ms)
ret i8*%mt
mu:
store i8*%lw,i8**%x,align 8
%mv=call i8*@sml_alloc(i32 inreg 28)#0
%mw=getelementptr inbounds i8,i8*%mv,i64 -4
%mx=bitcast i8*%mw to i32*
store i32 1342177304,i32*%mx,align 4
%my=load i8*,i8**%w,align 8
%mz=bitcast i8*%mv to i8**
store i8*%my,i8**%mz,align 8
%mA=load i8*,i8**%v,align 8
%mB=getelementptr inbounds i8,i8*%mv,i64 8
%mC=bitcast i8*%mB to i8**
store i8*%mA,i8**%mC,align 8
%mD=load i8*,i8**%y,align 8
%mE=getelementptr inbounds i8,i8*%mv,i64 16
%mF=bitcast i8*%mE to i8**
store i8*%mD,i8**%mF,align 8
%mG=getelementptr inbounds i8,i8*%mv,i64 24
%mH=bitcast i8*%mG to i32*
store i32 7,i32*%mH,align 4
%mI=load i8*,i8**%x,align 8
%mJ=tail call fastcc i8*@_SMLLN14FFICompilation14compileJoinExpE_341(i32 inreg 0,i8*inreg%mI,i8*inreg%mv)
ret i8*%mJ
mK:
%mL=getelementptr inbounds i8,i8*%L,i64 8
%mM=bitcast i8*%mL to i8**
%mN=load i8*,i8**%mM,align 8
%mO=getelementptr inbounds i8,i8*%mN,i64 8
%mP=bitcast i8*%mO to i8**
%mQ=load i8*,i8**%mP,align 8
store i8*%mQ,i8**%w,align 8
%mR=getelementptr inbounds i8,i8*%mN,i64 16
%mS=bitcast i8*%mR to i8**
%mT=load i8*,i8**%mS,align 8
store i8*%mT,i8**%x,align 8
%mU=getelementptr inbounds i8,i8*%mN,i64 24
%mV=bitcast i8*%mU to i8**
%mW=load i8*,i8**%mV,align 8
store i8*%mW,i8**%y,align 8
%mX=bitcast i8*%mN to i8**
%mY=load i8*,i8**%mX,align 8
%mZ=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%mY)
store i8*%mZ,i8**%v,align 8
%m0=call i8*@sml_alloc(i32 inreg 36)#0
%m1=getelementptr inbounds i8,i8*%m0,i64 -4
%m2=bitcast i8*%m1 to i32*
store i32 1342177312,i32*%m2,align 4
store i8*%m0,i8**%z,align 8
%m3=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%m4=bitcast i8*%m0 to i8**
store i8*%m3,i8**%m4,align 8
%m5=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%m6=getelementptr inbounds i8,i8*%m0,i64 8
%m7=bitcast i8*%m6 to i8**
store i8*%m5,i8**%m7,align 8
%m8=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%m9=getelementptr inbounds i8,i8*%m0,i64 16
%na=bitcast i8*%m9 to i8**
store i8*%m8,i8**%na,align 8
%nb=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%nc=getelementptr inbounds i8,i8*%m0,i64 24
%nd=bitcast i8*%nc to i8**
store i8*%nb,i8**%nd,align 8
%ne=getelementptr inbounds i8,i8*%m0,i64 32
%nf=bitcast i8*%ne to i32*
store i32 15,i32*%nf,align 4
%ng=call i8*@sml_alloc(i32 inreg 20)#0
%nh=bitcast i8*%ng to i32*
%ni=getelementptr inbounds i8,i8*%ng,i64 -4
%nj=bitcast i8*%ni to i32*
store i32 1342177296,i32*%nj,align 4
%nk=getelementptr inbounds i8,i8*%ng,i64 4
%nl=bitcast i8*%nk to i32*
store i32 0,i32*%nl,align 1
store i32 38,i32*%nh,align 4
%nm=load i8*,i8**%z,align 8
%nn=getelementptr inbounds i8,i8*%ng,i64 8
%no=bitcast i8*%nn to i8**
store i8*%nm,i8**%no,align 8
%np=getelementptr inbounds i8,i8*%ng,i64 16
%nq=bitcast i8*%np to i32*
store i32 2,i32*%nq,align 4
ret i8*%ng
nr:
%ns=getelementptr inbounds i8,i8*%L,i64 8
%nt=bitcast i8*%ns to i8**
%nu=load i8*,i8**%nt,align 8
%nv=getelementptr inbounds i8,i8*%nu,i64 8
%nw=bitcast i8*%nv to i8**
%nx=load i8*,i8**%nw,align 8
store i8*%nx,i8**%w,align 8
%ny=getelementptr inbounds i8,i8*%nu,i64 16
%nz=bitcast i8*%ny to i8**
%nA=load i8*,i8**%nz,align 8
store i8*%nA,i8**%x,align 8
%nB=getelementptr inbounds i8,i8*%nu,i64 24
%nC=bitcast i8*%nB to i8**
%nD=load i8*,i8**%nC,align 8
store i8*%nD,i8**%y,align 8
%nE=getelementptr inbounds i8,i8*%nu,i64 32
%nF=bitcast i8*%nE to i8**
%nG=load i8*,i8**%nF,align 8
store i8*%nG,i8**%z,align 8
%nH=bitcast i8*%nu to i8**
%nI=load i8*,i8**%nH,align 8
%nJ=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%nI)
store i8*%nJ,i8**%v,align 8
%nK=call i8*@sml_alloc(i32 inreg 44)#0
%nL=getelementptr inbounds i8,i8*%nK,i64 -4
%nM=bitcast i8*%nL to i32*
store i32 1342177320,i32*%nM,align 4
store i8*%nK,i8**%A,align 8
%nN=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%nO=bitcast i8*%nK to i8**
store i8*%nN,i8**%nO,align 8
%nP=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%nQ=getelementptr inbounds i8,i8*%nK,i64 8
%nR=bitcast i8*%nQ to i8**
store i8*%nP,i8**%nR,align 8
%nS=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%nT=getelementptr inbounds i8,i8*%nK,i64 16
%nU=bitcast i8*%nT to i8**
store i8*%nS,i8**%nU,align 8
%nV=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%nW=getelementptr inbounds i8,i8*%nK,i64 24
%nX=bitcast i8*%nW to i8**
store i8*%nV,i8**%nX,align 8
%nY=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%nZ=getelementptr inbounds i8,i8*%nK,i64 32
%n0=bitcast i8*%nZ to i8**
store i8*%nY,i8**%n0,align 8
%n1=getelementptr inbounds i8,i8*%nK,i64 40
%n2=bitcast i8*%n1 to i32*
store i32 31,i32*%n2,align 4
%n3=call i8*@sml_alloc(i32 inreg 20)#0
%n4=bitcast i8*%n3 to i32*
%n5=getelementptr inbounds i8,i8*%n3,i64 -4
%n6=bitcast i8*%n5 to i32*
store i32 1342177296,i32*%n6,align 4
%n7=getelementptr inbounds i8,i8*%n3,i64 4
%n8=bitcast i8*%n7 to i32*
store i32 0,i32*%n8,align 1
store i32 35,i32*%n4,align 4
%n9=load i8*,i8**%A,align 8
%oa=getelementptr inbounds i8,i8*%n3,i64 8
%ob=bitcast i8*%oa to i8**
store i8*%n9,i8**%ob,align 8
%oc=getelementptr inbounds i8,i8*%n3,i64 16
%od=bitcast i8*%oc to i32*
store i32 2,i32*%od,align 4
ret i8*%n3
oe:
%of=getelementptr inbounds i8,i8*%L,i64 8
%og=bitcast i8*%of to i8**
%oh=load i8*,i8**%og,align 8
store i8*%oh,i8**%v,align 8
%oi=getelementptr inbounds i8,i8*%oh,i64 8
%oj=bitcast i8*%oi to i8**
%ok=load i8*,i8**%oj,align 8
store i8*%ok,i8**%w,align 8
%ol=getelementptr inbounds i8,i8*%oh,i64 16
%om=bitcast i8*%ol to i8**
%on=load i8*,i8**%om,align 8
store i8*%on,i8**%x,align 8
%oo=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%op=getelementptr inbounds i8,i8*%oo,i64 16
%oq=bitcast i8*%op to i8*(i8*,i8*)**
%or=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oq,align 8
%os=bitcast i8*%oo to i8**
%ot=load i8*,i8**%os,align 8
%ou=call fastcc i8*%or(i8*inreg%ot,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*))
%ov=getelementptr inbounds i8,i8*%ou,i64 16
%ow=bitcast i8*%ov to i8*(i8*,i8*)**
%ox=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ow,align 8
%oy=bitcast i8*%ou to i8**
%oz=load i8*,i8**%oy,align 8
%oA=bitcast i8**%v to i8***
%oB=load i8**,i8***%oA,align 8
store i8*null,i8**%v,align 8
%oC=load i8*,i8**%oB,align 8
%oD=call fastcc i8*%ox(i8*inreg%oz,i8*inreg%oC)
store i8*%oD,i8**%v,align 8
%oE=call i8*@sml_alloc(i32 inreg 28)#0
%oF=getelementptr inbounds i8,i8*%oE,i64 -4
%oG=bitcast i8*%oF to i32*
store i32 1342177304,i32*%oG,align 4
store i8*%oE,i8**%y,align 8
%oH=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%oI=bitcast i8*%oE to i8**
store i8*%oH,i8**%oI,align 8
%oJ=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%oK=getelementptr inbounds i8,i8*%oE,i64 8
%oL=bitcast i8*%oK to i8**
store i8*%oJ,i8**%oL,align 8
%oM=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%oN=getelementptr inbounds i8,i8*%oE,i64 16
%oO=bitcast i8*%oN to i8**
store i8*%oM,i8**%oO,align 8
%oP=getelementptr inbounds i8,i8*%oE,i64 24
%oQ=bitcast i8*%oP to i32*
store i32 7,i32*%oQ,align 4
%oR=call i8*@sml_alloc(i32 inreg 20)#0
%oS=bitcast i8*%oR to i32*
%oT=getelementptr inbounds i8,i8*%oR,i64 -4
%oU=bitcast i8*%oT to i32*
store i32 1342177296,i32*%oU,align 4
%oV=getelementptr inbounds i8,i8*%oR,i64 4
%oW=bitcast i8*%oV to i32*
store i32 0,i32*%oW,align 1
store i32 33,i32*%oS,align 4
%oX=load i8*,i8**%y,align 8
%oY=getelementptr inbounds i8,i8*%oR,i64 8
%oZ=bitcast i8*%oY to i8**
store i8*%oX,i8**%oZ,align 8
%o0=getelementptr inbounds i8,i8*%oR,i64 16
%o1=bitcast i8*%o0 to i32*
store i32 2,i32*%o1,align 4
ret i8*%oR
o2:
%o3=getelementptr inbounds i8,i8*%L,i64 8
%o4=bitcast i8*%o3 to i8**
%o5=load i8*,i8**%o4,align 8
%o6=getelementptr inbounds i8,i8*%o5,i64 8
%o7=bitcast i8*%o6 to i8**
%o8=load i8*,i8**%o7,align 8
store i8*%o8,i8**%w,align 8
%o9=getelementptr inbounds i8,i8*%o5,i64 16
%pa=bitcast i8*%o9 to i8**
%pb=load i8*,i8**%pa,align 8
store i8*%pb,i8**%x,align 8
%pc=bitcast i8*%o5 to i8**
%pd=load i8*,i8**%pc,align 8
%pe=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%pd)
store i8*%pe,i8**%v,align 8
%pf=call i8*@sml_alloc(i32 inreg 28)#0
%pg=getelementptr inbounds i8,i8*%pf,i64 -4
%ph=bitcast i8*%pg to i32*
store i32 1342177304,i32*%ph,align 4
store i8*%pf,i8**%y,align 8
%pi=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%pj=bitcast i8*%pf to i8**
store i8*%pi,i8**%pj,align 8
%pk=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%pl=getelementptr inbounds i8,i8*%pf,i64 8
%pm=bitcast i8*%pl to i8**
store i8*%pk,i8**%pm,align 8
%pn=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%po=getelementptr inbounds i8,i8*%pf,i64 16
%pp=bitcast i8*%po to i8**
store i8*%pn,i8**%pp,align 8
%pq=getelementptr inbounds i8,i8*%pf,i64 24
%pr=bitcast i8*%pq to i32*
store i32 7,i32*%pr,align 4
%ps=call i8*@sml_alloc(i32 inreg 20)#0
%pt=bitcast i8*%ps to i32*
%pu=getelementptr inbounds i8,i8*%ps,i64 -4
%pv=bitcast i8*%pu to i32*
store i32 1342177296,i32*%pv,align 4
%pw=getelementptr inbounds i8,i8*%ps,i64 4
%px=bitcast i8*%pw to i32*
store i32 0,i32*%px,align 1
store i32 31,i32*%pt,align 4
%py=load i8*,i8**%y,align 8
%pz=getelementptr inbounds i8,i8*%ps,i64 8
%pA=bitcast i8*%pz to i8**
store i8*%py,i8**%pA,align 8
%pB=getelementptr inbounds i8,i8*%ps,i64 16
%pC=bitcast i8*%pB to i32*
store i32 2,i32*%pC,align 4
ret i8*%ps
pD:
%pE=getelementptr inbounds i8,i8*%L,i64 8
%pF=bitcast i8*%pE to i8**
%pG=load i8*,i8**%pF,align 8
%pH=getelementptr inbounds i8,i8*%pG,i64 8
%pI=bitcast i8*%pH to i8**
%pJ=load i8*,i8**%pI,align 8
store i8*%pJ,i8**%w,align 8
%pK=getelementptr inbounds i8,i8*%pG,i64 16
%pL=bitcast i8*%pK to i8**
%pM=load i8*,i8**%pL,align 8
store i8*%pM,i8**%x,align 8
%pN=getelementptr inbounds i8,i8*%pG,i64 24
%pO=bitcast i8*%pN to i8**
%pP=load i8*,i8**%pO,align 8
store i8*%pP,i8**%y,align 8
%pQ=bitcast i8*%pG to i8**
%pR=load i8*,i8**%pQ,align 8
%pS=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%pR)
store i8*%pS,i8**%v,align 8
%pT=call i8*@sml_alloc(i32 inreg 36)#0
%pU=getelementptr inbounds i8,i8*%pT,i64 -4
%pV=bitcast i8*%pU to i32*
store i32 1342177312,i32*%pV,align 4
store i8*%pT,i8**%z,align 8
%pW=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%pX=bitcast i8*%pT to i8**
store i8*%pW,i8**%pX,align 8
%pY=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%pZ=getelementptr inbounds i8,i8*%pT,i64 8
%p0=bitcast i8*%pZ to i8**
store i8*%pY,i8**%p0,align 8
%p1=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%p2=getelementptr inbounds i8,i8*%pT,i64 16
%p3=bitcast i8*%p2 to i8**
store i8*%p1,i8**%p3,align 8
%p4=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%p5=getelementptr inbounds i8,i8*%pT,i64 24
%p6=bitcast i8*%p5 to i8**
store i8*%p4,i8**%p6,align 8
%p7=getelementptr inbounds i8,i8*%pT,i64 32
%p8=bitcast i8*%p7 to i32*
store i32 15,i32*%p8,align 4
%p9=call i8*@sml_alloc(i32 inreg 20)#0
%qa=bitcast i8*%p9 to i32*
%qb=getelementptr inbounds i8,i8*%p9,i64 -4
%qc=bitcast i8*%qb to i32*
store i32 1342177296,i32*%qc,align 4
%qd=getelementptr inbounds i8,i8*%p9,i64 4
%qe=bitcast i8*%qd to i32*
store i32 0,i32*%qe,align 1
store i32 30,i32*%qa,align 4
%qf=load i8*,i8**%z,align 8
%qg=getelementptr inbounds i8,i8*%p9,i64 8
%qh=bitcast i8*%qg to i8**
store i8*%qf,i8**%qh,align 8
%qi=getelementptr inbounds i8,i8*%p9,i64 16
%qj=bitcast i8*%qi to i32*
store i32 2,i32*%qj,align 4
ret i8*%p9
qk:
%ql=getelementptr inbounds i8,i8*%L,i64 8
%qm=bitcast i8*%ql to i8**
%qn=load i8*,i8**%qm,align 8
%qo=bitcast i8*%qn to i8**
%qp=load i8*,i8**%qo,align 8
store i8*%qp,i8**%w,align 8
%qq=getelementptr inbounds i8,i8*%qn,i64 8
%qr=bitcast i8*%qq to i8**
%qs=load i8*,i8**%qr,align 8
store i8*%qs,i8**%x,align 8
%qt=getelementptr inbounds i8,i8*%qn,i64 24
%qu=bitcast i8*%qt to i8**
%qv=load i8*,i8**%qu,align 8
store i8*%qv,i8**%y,align 8
%qw=getelementptr inbounds i8,i8*%qn,i64 32
%qx=bitcast i8*%qw to i8**
%qy=load i8*,i8**%qx,align 8
store i8*%qy,i8**%z,align 8
%qz=getelementptr inbounds i8,i8*%qn,i64 16
%qA=bitcast i8*%qz to i8**
%qB=load i8*,i8**%qA,align 8
%qC=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%qB)
store i8*%qC,i8**%v,align 8
%qD=call i8*@sml_alloc(i32 inreg 44)#0
%qE=getelementptr inbounds i8,i8*%qD,i64 -4
%qF=bitcast i8*%qE to i32*
store i32 1342177320,i32*%qF,align 4
store i8*%qD,i8**%A,align 8
%qG=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%qH=bitcast i8*%qD to i8**
store i8*%qG,i8**%qH,align 8
%qI=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%qJ=getelementptr inbounds i8,i8*%qD,i64 8
%qK=bitcast i8*%qJ to i8**
store i8*%qI,i8**%qK,align 8
%qL=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%qM=getelementptr inbounds i8,i8*%qD,i64 16
%qN=bitcast i8*%qM to i8**
store i8*%qL,i8**%qN,align 8
%qO=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%qP=getelementptr inbounds i8,i8*%qD,i64 24
%qQ=bitcast i8*%qP to i8**
store i8*%qO,i8**%qQ,align 8
%qR=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%qS=getelementptr inbounds i8,i8*%qD,i64 32
%qT=bitcast i8*%qS to i8**
store i8*%qR,i8**%qT,align 8
%qU=getelementptr inbounds i8,i8*%qD,i64 40
%qV=bitcast i8*%qU to i32*
store i32 31,i32*%qV,align 4
%qW=call i8*@sml_alloc(i32 inreg 20)#0
%qX=bitcast i8*%qW to i32*
%qY=getelementptr inbounds i8,i8*%qW,i64 -4
%qZ=bitcast i8*%qY to i32*
store i32 1342177296,i32*%qZ,align 4
%q0=getelementptr inbounds i8,i8*%qW,i64 4
%q1=bitcast i8*%q0 to i32*
store i32 0,i32*%q1,align 1
store i32 29,i32*%qX,align 4
%q2=load i8*,i8**%A,align 8
%q3=getelementptr inbounds i8,i8*%qW,i64 8
%q4=bitcast i8*%q3 to i8**
store i8*%q2,i8**%q4,align 8
%q5=getelementptr inbounds i8,i8*%qW,i64 16
%q6=bitcast i8*%q5 to i32*
store i32 2,i32*%q6,align 4
ret i8*%qW
q7:
%q8=getelementptr inbounds i8,i8*%L,i64 8
%q9=bitcast i8*%q8 to i8**
%ra=load i8*,i8**%q9,align 8
%rb=getelementptr inbounds i8,i8*%ra,i64 8
%rc=bitcast i8*%rb to i8**
%rd=load i8*,i8**%rc,align 8
store i8*%rd,i8**%w,align 8
%re=getelementptr inbounds i8,i8*%ra,i64 16
%rf=bitcast i8*%re to i8**
%rg=load i8*,i8**%rf,align 8
store i8*%rg,i8**%x,align 8
%rh=getelementptr inbounds i8,i8*%ra,i64 24
%ri=bitcast i8*%rh to i8**
%rj=load i8*,i8**%ri,align 8
store i8*%rj,i8**%y,align 8
%rk=bitcast i8*%ra to i8**
%rl=load i8*,i8**%rk,align 8
%rm=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%rl)
store i8*%rm,i8**%v,align 8
%rn=call i8*@sml_alloc(i32 inreg 36)#0
%ro=getelementptr inbounds i8,i8*%rn,i64 -4
%rp=bitcast i8*%ro to i32*
store i32 1342177312,i32*%rp,align 4
store i8*%rn,i8**%z,align 8
%rq=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%rr=bitcast i8*%rn to i8**
store i8*%rq,i8**%rr,align 8
%rs=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%rt=getelementptr inbounds i8,i8*%rn,i64 8
%ru=bitcast i8*%rt to i8**
store i8*%rs,i8**%ru,align 8
%rv=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%rw=getelementptr inbounds i8,i8*%rn,i64 16
%rx=bitcast i8*%rw to i8**
store i8*%rv,i8**%rx,align 8
%ry=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%rz=getelementptr inbounds i8,i8*%rn,i64 24
%rA=bitcast i8*%rz to i8**
store i8*%ry,i8**%rA,align 8
%rB=getelementptr inbounds i8,i8*%rn,i64 32
%rC=bitcast i8*%rB to i32*
store i32 15,i32*%rC,align 4
%rD=call i8*@sml_alloc(i32 inreg 20)#0
%rE=bitcast i8*%rD to i32*
%rF=getelementptr inbounds i8,i8*%rD,i64 -4
%rG=bitcast i8*%rF to i32*
store i32 1342177296,i32*%rG,align 4
%rH=getelementptr inbounds i8,i8*%rD,i64 4
%rI=bitcast i8*%rH to i32*
store i32 0,i32*%rI,align 1
store i32 28,i32*%rE,align 4
%rJ=load i8*,i8**%z,align 8
%rK=getelementptr inbounds i8,i8*%rD,i64 8
%rL=bitcast i8*%rK to i8**
store i8*%rJ,i8**%rL,align 8
%rM=getelementptr inbounds i8,i8*%rD,i64 16
%rN=bitcast i8*%rM to i32*
store i32 2,i32*%rN,align 4
ret i8*%rD
rO:
%rP=getelementptr inbounds i8,i8*%L,i64 8
%rQ=bitcast i8*%rP to i8**
%rR=load i8*,i8**%rQ,align 8
store i8*%rR,i8**%w,align 8
%rS=getelementptr inbounds i8,i8*%rR,i64 16
%rT=bitcast i8*%rS to i8**
%rU=load i8*,i8**%rT,align 8
store i8*%rU,i8**%x,align 8
%rV=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%rW=getelementptr inbounds i8,i8*%rV,i64 16
%rX=bitcast i8*%rW to i8*(i8*,i8*)**
%rY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rX,align 8
%rZ=bitcast i8*%rV to i8**
%r0=load i8*,i8**%rZ,align 8
%r1=call fastcc i8*%rY(i8*inreg%r0,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@U,i64 0,i32 2)to i8*))
%r2=getelementptr inbounds i8,i8*%r1,i64 16
%r3=bitcast i8*%r2 to i8*(i8*,i8*)**
%r4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r3,align 8
%r5=bitcast i8*%r1 to i8**
%r6=load i8*,i8**%r5,align 8
%r7=bitcast i8**%w to i8***
%r8=load i8**,i8***%r7,align 8
%r9=load i8*,i8**%r8,align 8
%sa=call fastcc i8*%r4(i8*inreg%r6,i8*inreg%r9)
store i8*%sa,i8**%v,align 8
%sb=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%sc=getelementptr inbounds i8,i8*%sb,i64 8
%sd=bitcast i8*%sc to i8**
%se=load i8*,i8**%sd,align 8
%sf=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%se)
store i8*%sf,i8**%w,align 8
%sg=call i8*@sml_alloc(i32 inreg 28)#0
%sh=getelementptr inbounds i8,i8*%sg,i64 -4
%si=bitcast i8*%sh to i32*
store i32 1342177304,i32*%si,align 4
store i8*%sg,i8**%y,align 8
%sj=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%sk=bitcast i8*%sg to i8**
store i8*%sj,i8**%sk,align 8
%sl=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%sm=getelementptr inbounds i8,i8*%sg,i64 8
%sn=bitcast i8*%sm to i8**
store i8*%sl,i8**%sn,align 8
%so=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%sp=getelementptr inbounds i8,i8*%sg,i64 16
%sq=bitcast i8*%sp to i8**
store i8*%so,i8**%sq,align 8
%sr=getelementptr inbounds i8,i8*%sg,i64 24
%ss=bitcast i8*%sr to i32*
store i32 7,i32*%ss,align 4
%st=call i8*@sml_alloc(i32 inreg 20)#0
%su=bitcast i8*%st to i32*
%sv=getelementptr inbounds i8,i8*%st,i64 -4
%sw=bitcast i8*%sv to i32*
store i32 1342177296,i32*%sw,align 4
%sx=getelementptr inbounds i8,i8*%st,i64 4
%sy=bitcast i8*%sx to i32*
store i32 0,i32*%sy,align 1
store i32 27,i32*%su,align 4
%sz=load i8*,i8**%y,align 8
%sA=getelementptr inbounds i8,i8*%st,i64 8
%sB=bitcast i8*%sA to i8**
store i8*%sz,i8**%sB,align 8
%sC=getelementptr inbounds i8,i8*%st,i64 16
%sD=bitcast i8*%sC to i32*
store i32 2,i32*%sD,align 4
ret i8*%st
sE:
%sF=getelementptr inbounds i8,i8*%L,i64 8
%sG=bitcast i8*%sF to i8**
%sH=load i8*,i8**%sG,align 8
store i8*%sH,i8**%w,align 8
%sI=getelementptr inbounds i8,i8*%sH,i64 8
%sJ=bitcast i8*%sI to i8**
%sK=load i8*,i8**%sJ,align 8
store i8*%sK,i8**%x,align 8
%sL=getelementptr inbounds i8,i8*%sH,i64 16
%sM=bitcast i8*%sL to i8**
%sN=load i8*,i8**%sM,align 8
store i8*%sN,i8**%y,align 8
%sO=getelementptr inbounds i8,i8*%sH,i64 24
%sP=bitcast i8*%sO to i8**
%sQ=load i8*,i8**%sP,align 8
store i8*%sQ,i8**%z,align 8
%sR=getelementptr inbounds i8,i8*%sH,i64 40
%sS=bitcast i8*%sR to i8**
%sT=load i8*,i8**%sS,align 8
store i8*%sT,i8**%A,align 8
%sU=getelementptr inbounds i8,i8*%sH,i64 32
%sV=bitcast i8*%sU to i8**
%sW=load i8*,i8**%sV,align 8
%sX=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%sW)
store i8*%sX,i8**%v,align 8
%sY=bitcast i8**%w to i8***
%sZ=load i8**,i8***%sY,align 8
store i8*null,i8**%w,align 8
%s0=load i8*,i8**%sZ,align 8
%s1=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%s0)
store i8*%s1,i8**%w,align 8
%s2=call i8*@sml_alloc(i32 inreg 52)#0
%s3=getelementptr inbounds i8,i8*%s2,i64 -4
%s4=bitcast i8*%s3 to i32*
store i32 1342177328,i32*%s4,align 4
store i8*%s2,i8**%B,align 8
%s5=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%s6=bitcast i8*%s2 to i8**
store i8*%s5,i8**%s6,align 8
%s7=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%s8=getelementptr inbounds i8,i8*%s2,i64 8
%s9=bitcast i8*%s8 to i8**
store i8*%s7,i8**%s9,align 8
%ta=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%tb=getelementptr inbounds i8,i8*%s2,i64 16
%tc=bitcast i8*%tb to i8**
store i8*%ta,i8**%tc,align 8
%td=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%te=getelementptr inbounds i8,i8*%s2,i64 24
%tf=bitcast i8*%te to i8**
store i8*%td,i8**%tf,align 8
%tg=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%th=getelementptr inbounds i8,i8*%s2,i64 32
%ti=bitcast i8*%th to i8**
store i8*%tg,i8**%ti,align 8
%tj=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%tk=getelementptr inbounds i8,i8*%s2,i64 40
%tl=bitcast i8*%tk to i8**
store i8*%tj,i8**%tl,align 8
%tm=getelementptr inbounds i8,i8*%s2,i64 48
%tn=bitcast i8*%tm to i32*
store i32 63,i32*%tn,align 4
%to=call i8*@sml_alloc(i32 inreg 20)#0
%tp=bitcast i8*%to to i32*
%tq=getelementptr inbounds i8,i8*%to,i64 -4
%tr=bitcast i8*%tq to i32*
store i32 1342177296,i32*%tr,align 4
%ts=getelementptr inbounds i8,i8*%to,i64 4
%tt=bitcast i8*%ts to i32*
store i32 0,i32*%tt,align 1
store i32 26,i32*%tp,align 4
%tu=load i8*,i8**%B,align 8
%tv=getelementptr inbounds i8,i8*%to,i64 8
%tw=bitcast i8*%tv to i8**
store i8*%tu,i8**%tw,align 8
%tx=getelementptr inbounds i8,i8*%to,i64 16
%ty=bitcast i8*%tx to i32*
store i32 2,i32*%ty,align 4
ret i8*%to
tz:
%tA=getelementptr inbounds i8,i8*%L,i64 8
%tB=bitcast i8*%tA to i8**
%tC=load i8*,i8**%tB,align 8
store i8*%tC,i8**%w,align 8
%tD=getelementptr inbounds i8,i8*%tC,i64 16
%tE=bitcast i8*%tD to i8**
%tF=load i8*,i8**%tE,align 8
store i8*%tF,i8**%x,align 8
%tG=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%tH=getelementptr inbounds i8,i8*%tG,i64 16
%tI=bitcast i8*%tH to i8*(i8*,i8*)**
%tJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tI,align 8
%tK=bitcast i8*%tG to i8**
%tL=load i8*,i8**%tK,align 8
%tM=call fastcc i8*%tJ(i8*inreg%tL,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*))
%tN=getelementptr inbounds i8,i8*%tM,i64 16
%tO=bitcast i8*%tN to i8*(i8*,i8*)**
%tP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tO,align 8
%tQ=bitcast i8*%tM to i8**
%tR=load i8*,i8**%tQ,align 8
%tS=load i8*,i8**%w,align 8
%tT=getelementptr inbounds i8,i8*%tS,i64 8
%tU=bitcast i8*%tT to i8**
%tV=load i8*,i8**%tU,align 8
%tW=call fastcc i8*%tP(i8*inreg%tR,i8*inreg%tV)
store i8*%tW,i8**%v,align 8
%tX=bitcast i8**%w to i8***
%tY=load i8**,i8***%tX,align 8
store i8*null,i8**%w,align 8
%tZ=load i8*,i8**%tY,align 8
%t0=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%tZ)
store i8*%t0,i8**%w,align 8
%t1=call i8*@sml_alloc(i32 inreg 28)#0
%t2=getelementptr inbounds i8,i8*%t1,i64 -4
%t3=bitcast i8*%t2 to i32*
store i32 1342177304,i32*%t3,align 4
store i8*%t1,i8**%y,align 8
%t4=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%t5=bitcast i8*%t1 to i8**
store i8*%t4,i8**%t5,align 8
%t6=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%t7=getelementptr inbounds i8,i8*%t1,i64 8
%t8=bitcast i8*%t7 to i8**
store i8*%t6,i8**%t8,align 8
%t9=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%ua=getelementptr inbounds i8,i8*%t1,i64 16
%ub=bitcast i8*%ua to i8**
store i8*%t9,i8**%ub,align 8
%uc=getelementptr inbounds i8,i8*%t1,i64 24
%ud=bitcast i8*%uc to i32*
store i32 7,i32*%ud,align 4
%ue=call i8*@sml_alloc(i32 inreg 20)#0
%uf=bitcast i8*%ue to i32*
%ug=getelementptr inbounds i8,i8*%ue,i64 -4
%uh=bitcast i8*%ug to i32*
store i32 1342177296,i32*%uh,align 4
%ui=getelementptr inbounds i8,i8*%ue,i64 4
%uj=bitcast i8*%ui to i32*
store i32 0,i32*%uj,align 1
store i32 25,i32*%uf,align 4
%uk=load i8*,i8**%y,align 8
%ul=getelementptr inbounds i8,i8*%ue,i64 8
%um=bitcast i8*%ul to i8**
store i8*%uk,i8**%um,align 8
%un=getelementptr inbounds i8,i8*%ue,i64 16
%uo=bitcast i8*%un to i32*
store i32 2,i32*%uo,align 4
ret i8*%ue
up:
%uq=getelementptr inbounds i8,i8*%L,i64 8
%ur=bitcast i8*%uq to i8**
%us=load i8*,i8**%ur,align 8
store i8*%us,i8**%v,align 8
%ut=getelementptr inbounds i8,i8*%us,i64 8
%uu=bitcast i8*%ut to i8**
%uv=load i8*,i8**%uu,align 8
store i8*%uv,i8**%w,align 8
%uw=getelementptr inbounds i8,i8*%us,i64 16
%ux=bitcast i8*%uw to i8**
%uy=load i8*,i8**%ux,align 8
store i8*%uy,i8**%x,align 8
%uz=getelementptr inbounds i8,i8*%us,i64 24
%uA=bitcast i8*%uz to i8**
%uB=load i8*,i8**%uA,align 8
store i8*%uB,i8**%y,align 8
%uC=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%uD=getelementptr inbounds i8,i8*%uC,i64 16
%uE=bitcast i8*%uD to i8*(i8*,i8*)**
%uF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uE,align 8
%uG=bitcast i8*%uC to i8**
%uH=load i8*,i8**%uG,align 8
%uI=call fastcc i8*%uF(i8*inreg%uH,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*))
%uJ=getelementptr inbounds i8,i8*%uI,i64 16
%uK=bitcast i8*%uJ to i8*(i8*,i8*)**
%uL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uK,align 8
%uM=bitcast i8*%uI to i8**
%uN=load i8*,i8**%uM,align 8
%uO=bitcast i8**%v to i8***
%uP=load i8**,i8***%uO,align 8
store i8*null,i8**%v,align 8
%uQ=load i8*,i8**%uP,align 8
%uR=call fastcc i8*%uL(i8*inreg%uN,i8*inreg%uQ)
store i8*%uR,i8**%v,align 8
%uS=call i8*@sml_alloc(i32 inreg 36)#0
%uT=getelementptr inbounds i8,i8*%uS,i64 -4
%uU=bitcast i8*%uT to i32*
store i32 1342177312,i32*%uU,align 4
store i8*%uS,i8**%z,align 8
%uV=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%uW=bitcast i8*%uS to i8**
store i8*%uV,i8**%uW,align 8
%uX=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%uY=getelementptr inbounds i8,i8*%uS,i64 8
%uZ=bitcast i8*%uY to i8**
store i8*%uX,i8**%uZ,align 8
%u0=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%u1=getelementptr inbounds i8,i8*%uS,i64 16
%u2=bitcast i8*%u1 to i8**
store i8*%u0,i8**%u2,align 8
%u3=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%u4=getelementptr inbounds i8,i8*%uS,i64 24
%u5=bitcast i8*%u4 to i8**
store i8*%u3,i8**%u5,align 8
%u6=getelementptr inbounds i8,i8*%uS,i64 32
%u7=bitcast i8*%u6 to i32*
store i32 15,i32*%u7,align 4
%u8=call i8*@sml_alloc(i32 inreg 20)#0
%u9=bitcast i8*%u8 to i32*
%va=getelementptr inbounds i8,i8*%u8,i64 -4
%vb=bitcast i8*%va to i32*
store i32 1342177296,i32*%vb,align 4
%vc=getelementptr inbounds i8,i8*%u8,i64 4
%vd=bitcast i8*%vc to i32*
store i32 0,i32*%vd,align 1
store i32 39,i32*%u9,align 4
%ve=load i8*,i8**%z,align 8
%vf=getelementptr inbounds i8,i8*%u8,i64 8
%vg=bitcast i8*%vf to i8**
store i8*%ve,i8**%vg,align 8
%vh=getelementptr inbounds i8,i8*%u8,i64 16
%vi=bitcast i8*%vh to i32*
store i32 2,i32*%vi,align 4
ret i8*%u8
vj:
%vk=getelementptr inbounds i8,i8*%L,i64 8
%vl=bitcast i8*%vk to i8**
%vm=load i8*,i8**%vl,align 8
store i8*%vm,i8**%w,align 8
%vn=bitcast i8*%vm to i8**
%vo=load i8*,i8**%vn,align 8
store i8*%vo,i8**%x,align 8
%vp=getelementptr inbounds i8,i8*%vm,i64 16
%vq=bitcast i8*%vp to i8**
%vr=load i8*,i8**%vq,align 8
store i8*%vr,i8**%y,align 8
%vs=getelementptr inbounds i8,i8*%vm,i64 24
%vt=bitcast i8*%vs to i8**
%vu=load i8*,i8**%vt,align 8
store i8*%vu,i8**%z,align 8
%vv=getelementptr inbounds i8,i8*%vm,i64 32
%vw=bitcast i8*%vv to i8**
%vx=load i8*,i8**%vw,align 8
store i8*%vx,i8**%A,align 8
%vy=getelementptr inbounds i8,i8*%vm,i64 40
%vz=bitcast i8*%vy to i8**
%vA=load i8*,i8**%vz,align 8
%vB=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%vA)
store i8*%vB,i8**%v,align 8
%vC=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%vD=getelementptr inbounds i8,i8*%vC,i64 8
%vE=bitcast i8*%vD to i8**
%vF=load i8*,i8**%vE,align 8
%vG=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%vF)
store i8*%vG,i8**%w,align 8
%vH=call i8*@sml_alloc(i32 inreg 52)#0
%vI=getelementptr inbounds i8,i8*%vH,i64 -4
%vJ=bitcast i8*%vI to i32*
store i32 1342177328,i32*%vJ,align 4
store i8*%vH,i8**%B,align 8
%vK=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%vL=bitcast i8*%vH to i8**
store i8*%vK,i8**%vL,align 8
%vM=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%vN=getelementptr inbounds i8,i8*%vH,i64 8
%vO=bitcast i8*%vN to i8**
store i8*%vM,i8**%vO,align 8
%vP=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%vQ=getelementptr inbounds i8,i8*%vH,i64 16
%vR=bitcast i8*%vQ to i8**
store i8*%vP,i8**%vR,align 8
%vS=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%vT=getelementptr inbounds i8,i8*%vH,i64 24
%vU=bitcast i8*%vT to i8**
store i8*%vS,i8**%vU,align 8
%vV=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%vW=getelementptr inbounds i8,i8*%vH,i64 32
%vX=bitcast i8*%vW to i8**
store i8*%vV,i8**%vX,align 8
%vY=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%vZ=getelementptr inbounds i8,i8*%vH,i64 40
%v0=bitcast i8*%vZ to i8**
store i8*%vY,i8**%v0,align 8
%v1=getelementptr inbounds i8,i8*%vH,i64 48
%v2=bitcast i8*%v1 to i32*
store i32 63,i32*%v2,align 4
%v3=call i8*@sml_alloc(i32 inreg 20)#0
%v4=bitcast i8*%v3 to i32*
%v5=getelementptr inbounds i8,i8*%v3,i64 -4
%v6=bitcast i8*%v5 to i32*
store i32 1342177296,i32*%v6,align 4
%v7=getelementptr inbounds i8,i8*%v3,i64 4
%v8=bitcast i8*%v7 to i32*
store i32 0,i32*%v8,align 1
store i32 4,i32*%v4,align 4
%v9=load i8*,i8**%B,align 8
%wa=getelementptr inbounds i8,i8*%v3,i64 8
%wb=bitcast i8*%wa to i8**
store i8*%v9,i8**%wb,align 8
%wc=getelementptr inbounds i8,i8*%v3,i64 16
%wd=bitcast i8*%wc to i32*
store i32 2,i32*%wd,align 4
ret i8*%v3
we:
%wf=getelementptr inbounds i8,i8*%L,i64 8
%wg=bitcast i8*%wf to i8**
%wh=load i8*,i8**%wg,align 8
store i8*%wh,i8**%w,align 8
%wi=bitcast i8*%wh to i8**
%wj=load i8*,i8**%wi,align 8
store i8*%wj,i8**%x,align 8
%wk=getelementptr inbounds i8,i8*%wh,i64 24
%wl=bitcast i8*%wk to i8**
%wm=load i8*,i8**%wl,align 8
store i8*%wm,i8**%y,align 8
%wn=getelementptr inbounds i8,i8*%wh,i64 32
%wo=bitcast i8*%wn to i8**
%wp=load i8*,i8**%wo,align 8
store i8*%wp,i8**%z,align 8
%wq=getelementptr inbounds i8,i8*%wh,i64 8
%wr=bitcast i8*%wq to i8**
%ws=load i8*,i8**%wr,align 8
%wt=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%ws)
store i8*%wt,i8**%v,align 8
%wu=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%wv=getelementptr inbounds i8,i8*%wu,i64 16
%ww=bitcast i8*%wv to i8**
%wx=load i8*,i8**%ww,align 8
%wy=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%wx)
store i8*%wy,i8**%w,align 8
%wz=call i8*@sml_alloc(i32 inreg 44)#0
%wA=getelementptr inbounds i8,i8*%wz,i64 -4
%wB=bitcast i8*%wA to i32*
store i32 1342177320,i32*%wB,align 4
store i8*%wz,i8**%A,align 8
%wC=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%wD=bitcast i8*%wz to i8**
store i8*%wC,i8**%wD,align 8
%wE=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%wF=getelementptr inbounds i8,i8*%wz,i64 8
%wG=bitcast i8*%wF to i8**
store i8*%wE,i8**%wG,align 8
%wH=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%wI=getelementptr inbounds i8,i8*%wz,i64 16
%wJ=bitcast i8*%wI to i8**
store i8*%wH,i8**%wJ,align 8
%wK=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%wL=getelementptr inbounds i8,i8*%wz,i64 24
%wM=bitcast i8*%wL to i8**
store i8*%wK,i8**%wM,align 8
%wN=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%wO=getelementptr inbounds i8,i8*%wz,i64 32
%wP=bitcast i8*%wO to i8**
store i8*%wN,i8**%wP,align 8
%wQ=getelementptr inbounds i8,i8*%wz,i64 40
%wR=bitcast i8*%wQ to i32*
store i32 31,i32*%wR,align 4
%wS=call i8*@sml_alloc(i32 inreg 20)#0
%wT=bitcast i8*%wS to i32*
%wU=getelementptr inbounds i8,i8*%wS,i64 -4
%wV=bitcast i8*%wU to i32*
store i32 1342177296,i32*%wV,align 4
%wW=getelementptr inbounds i8,i8*%wS,i64 4
%wX=bitcast i8*%wW to i32*
store i32 0,i32*%wX,align 1
store i32 23,i32*%wT,align 4
%wY=load i8*,i8**%A,align 8
%wZ=getelementptr inbounds i8,i8*%wS,i64 8
%w0=bitcast i8*%wZ to i8**
store i8*%wY,i8**%w0,align 8
%w1=getelementptr inbounds i8,i8*%wS,i64 16
%w2=bitcast i8*%w1 to i32*
store i32 2,i32*%w2,align 4
ret i8*%wS
w3:
%w4=getelementptr inbounds i8,i8*%L,i64 8
%w5=bitcast i8*%w4 to i8**
%w6=load i8*,i8**%w5,align 8
%w7=bitcast i8*%w6 to i8**
%w8=load i8*,i8**%w7,align 8
store i8*%w8,i8**%w,align 8
%w9=getelementptr inbounds i8,i8*%w6,i64 16
%xa=bitcast i8*%w9 to i8**
%xb=load i8*,i8**%xa,align 8
store i8*%xb,i8**%x,align 8
%xc=getelementptr inbounds i8,i8*%w6,i64 24
%xd=bitcast i8*%xc to i8**
%xe=load i8*,i8**%xd,align 8
store i8*%xe,i8**%y,align 8
%xf=getelementptr inbounds i8,i8*%w6,i64 8
%xg=bitcast i8*%xf to i8**
%xh=load i8*,i8**%xg,align 8
%xi=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%xh)
store i8*%xi,i8**%v,align 8
%xj=call i8*@sml_alloc(i32 inreg 36)#0
%xk=getelementptr inbounds i8,i8*%xj,i64 -4
%xl=bitcast i8*%xk to i32*
store i32 1342177312,i32*%xl,align 4
store i8*%xj,i8**%z,align 8
%xm=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%xn=bitcast i8*%xj to i8**
store i8*%xm,i8**%xn,align 8
%xo=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%xp=getelementptr inbounds i8,i8*%xj,i64 8
%xq=bitcast i8*%xp to i8**
store i8*%xo,i8**%xq,align 8
%xr=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%xs=getelementptr inbounds i8,i8*%xj,i64 16
%xt=bitcast i8*%xs to i8**
store i8*%xr,i8**%xt,align 8
%xu=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%xv=getelementptr inbounds i8,i8*%xj,i64 24
%xw=bitcast i8*%xv to i8**
store i8*%xu,i8**%xw,align 8
%xx=getelementptr inbounds i8,i8*%xj,i64 32
%xy=bitcast i8*%xx to i32*
store i32 15,i32*%xy,align 4
%xz=call i8*@sml_alloc(i32 inreg 20)#0
%xA=bitcast i8*%xz to i32*
%xB=getelementptr inbounds i8,i8*%xz,i64 -4
%xC=bitcast i8*%xB to i32*
store i32 1342177296,i32*%xC,align 4
%xD=getelementptr inbounds i8,i8*%xz,i64 4
%xE=bitcast i8*%xD to i32*
store i32 0,i32*%xE,align 1
store i32 20,i32*%xA,align 4
%xF=load i8*,i8**%z,align 8
%xG=getelementptr inbounds i8,i8*%xz,i64 8
%xH=bitcast i8*%xG to i8**
store i8*%xF,i8**%xH,align 8
%xI=getelementptr inbounds i8,i8*%xz,i64 16
%xJ=bitcast i8*%xI to i32*
store i32 2,i32*%xJ,align 4
ret i8*%xz
xK:
%xL=getelementptr inbounds i8,i8*%L,i64 8
%xM=bitcast i8*%xL to i8**
%xN=load i8*,i8**%xM,align 8
%xO=bitcast i8*%xN to i8**
%xP=load i8*,i8**%xO,align 8
store i8*%xP,i8**%w,align 8
%xQ=getelementptr inbounds i8,i8*%xN,i64 8
%xR=bitcast i8*%xQ to i8**
%xS=load i8*,i8**%xR,align 8
store i8*%xS,i8**%x,align 8
%xT=getelementptr inbounds i8,i8*%xN,i64 24
%xU=bitcast i8*%xT to i8**
%xV=load i8*,i8**%xU,align 8
store i8*%xV,i8**%y,align 8
%xW=getelementptr inbounds i8,i8*%xN,i64 32
%xX=bitcast i8*%xW to i8**
%xY=load i8*,i8**%xX,align 8
store i8*%xY,i8**%z,align 8
%xZ=getelementptr inbounds i8,i8*%xN,i64 16
%x0=bitcast i8*%xZ to i8**
%x1=load i8*,i8**%x0,align 8
%x2=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%x1)
store i8*%x2,i8**%v,align 8
%x3=call i8*@sml_alloc(i32 inreg 44)#0
%x4=getelementptr inbounds i8,i8*%x3,i64 -4
%x5=bitcast i8*%x4 to i32*
store i32 1342177320,i32*%x5,align 4
store i8*%x3,i8**%A,align 8
%x6=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%x7=bitcast i8*%x3 to i8**
store i8*%x6,i8**%x7,align 8
%x8=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%x9=getelementptr inbounds i8,i8*%x3,i64 8
%ya=bitcast i8*%x9 to i8**
store i8*%x8,i8**%ya,align 8
%yb=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%yc=getelementptr inbounds i8,i8*%x3,i64 16
%yd=bitcast i8*%yc to i8**
store i8*%yb,i8**%yd,align 8
%ye=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%yf=getelementptr inbounds i8,i8*%x3,i64 24
%yg=bitcast i8*%yf to i8**
store i8*%ye,i8**%yg,align 8
%yh=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%yi=getelementptr inbounds i8,i8*%x3,i64 32
%yj=bitcast i8*%yi to i8**
store i8*%yh,i8**%yj,align 8
%yk=getelementptr inbounds i8,i8*%x3,i64 40
%yl=bitcast i8*%yk to i32*
store i32 31,i32*%yl,align 4
%ym=call i8*@sml_alloc(i32 inreg 20)#0
%yn=bitcast i8*%ym to i32*
%yo=getelementptr inbounds i8,i8*%ym,i64 -4
%yp=bitcast i8*%yo to i32*
store i32 1342177296,i32*%yp,align 4
%yq=getelementptr inbounds i8,i8*%ym,i64 4
%yr=bitcast i8*%yq to i32*
store i32 0,i32*%yr,align 1
store i32 1,i32*%yn,align 4
%ys=load i8*,i8**%A,align 8
%yt=getelementptr inbounds i8,i8*%ym,i64 8
%yu=bitcast i8*%yt to i8**
store i8*%ys,i8**%yu,align 8
%yv=getelementptr inbounds i8,i8*%ym,i64 16
%yw=bitcast i8*%yv to i32*
store i32 2,i32*%yw,align 4
ret i8*%ym
yx:
%yy=getelementptr inbounds i8,i8*%L,i64 8
%yz=bitcast i8*%yy to i8**
%yA=load i8*,i8**%yz,align 8
store i8*%yA,i8**%w,align 8
%yB=getelementptr inbounds i8,i8*%yA,i64 8
%yC=bitcast i8*%yB to i8**
%yD=load i8*,i8**%yC,align 8
store i8*%yD,i8**%x,align 8
%yE=getelementptr inbounds i8,i8*%yA,i64 24
%yF=bitcast i8*%yE to i8**
%yG=load i8*,i8**%yF,align 8
store i8*%yG,i8**%y,align 8
%yH=getelementptr inbounds i8,i8*%yA,i64 32
%yI=bitcast i8*%yH to i8**
%yJ=load i8*,i8**%yI,align 8
store i8*%yJ,i8**%z,align 8
%yK=getelementptr inbounds i8,i8*%yA,i64 16
%yL=bitcast i8*%yK to i8**
%yM=load i8*,i8**%yL,align 8
%yN=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%yM)
store i8*%yN,i8**%v,align 8
%yO=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%yP=getelementptr inbounds i8,i8*%yO,i64 16
%yQ=bitcast i8*%yP to i8*(i8*,i8*)**
%yR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%yQ,align 8
%yS=bitcast i8*%yO to i8**
%yT=load i8*,i8**%yS,align 8
%yU=call fastcc i8*%yR(i8*inreg%yT,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*))
%yV=getelementptr inbounds i8,i8*%yU,i64 16
%yW=bitcast i8*%yV to i8*(i8*,i8*)**
%yX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%yW,align 8
%yY=bitcast i8*%yU to i8**
%yZ=load i8*,i8**%yY,align 8
%y0=bitcast i8**%w to i8***
%y1=load i8**,i8***%y0,align 8
store i8*null,i8**%w,align 8
%y2=load i8*,i8**%y1,align 8
%y3=call fastcc i8*%yX(i8*inreg%yZ,i8*inreg%y2)
store i8*%y3,i8**%w,align 8
%y4=call i8*@sml_alloc(i32 inreg 44)#0
%y5=getelementptr inbounds i8,i8*%y4,i64 -4
%y6=bitcast i8*%y5 to i32*
store i32 1342177320,i32*%y6,align 4
store i8*%y4,i8**%A,align 8
%y7=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%y8=bitcast i8*%y4 to i8**
store i8*%y7,i8**%y8,align 8
%y9=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%za=getelementptr inbounds i8,i8*%y4,i64 8
%zb=bitcast i8*%za to i8**
store i8*%y9,i8**%zb,align 8
%zc=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%zd=getelementptr inbounds i8,i8*%y4,i64 16
%ze=bitcast i8*%zd to i8**
store i8*%zc,i8**%ze,align 8
%zf=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%zg=getelementptr inbounds i8,i8*%y4,i64 24
%zh=bitcast i8*%zg to i8**
store i8*%zf,i8**%zh,align 8
%zi=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%zj=getelementptr inbounds i8,i8*%y4,i64 32
%zk=bitcast i8*%zj to i8**
store i8*%zi,i8**%zk,align 8
%zl=getelementptr inbounds i8,i8*%y4,i64 40
%zm=bitcast i8*%zl to i32*
store i32 31,i32*%zm,align 4
%zn=call i8*@sml_alloc(i32 inreg 20)#0
%zo=bitcast i8*%zn to i32*
%zp=getelementptr inbounds i8,i8*%zn,i64 -4
%zq=bitcast i8*%zp to i32*
store i32 1342177296,i32*%zq,align 4
%zr=getelementptr inbounds i8,i8*%zn,i64 4
%zs=bitcast i8*%zr to i32*
store i32 0,i32*%zs,align 1
store i32 21,i32*%zo,align 4
%zt=load i8*,i8**%A,align 8
%zu=getelementptr inbounds i8,i8*%zn,i64 8
%zv=bitcast i8*%zu to i8**
store i8*%zt,i8**%zv,align 8
%zw=getelementptr inbounds i8,i8*%zn,i64 16
%zx=bitcast i8*%zw to i32*
store i32 2,i32*%zx,align 4
ret i8*%zn
zy:
%zz=getelementptr inbounds i8,i8*%L,i64 8
%zA=bitcast i8*%zz to i8**
%zB=load i8*,i8**%zA,align 8
%zC=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zC)
%zD=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zD)
%zE=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zE)
%zF=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zF)
%zG=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zG)
%zH=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zH)
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*%zB,i8**%f,align 8
%zI=load atomic i32,i32*@sml_check_flag unordered,align 4
%zJ=icmp eq i32%zI,0
br i1%zJ,label%zM,label%zK
zK:
call void@sml_check(i32 inreg%zI)
%zL=load i8*,i8**%f,align 8
br label%zM
zM:
%zN=phi i8*[%zL,%zK],[%zB,%zy]
store i8*%zN,i8**%i,align 8
%zO=getelementptr inbounds i8,i8*%zN,i64 16
%zP=bitcast i8*%zO to i8**
%zQ=load i8*,i8**%zP,align 8
store i8*%zQ,i8**%j,align 8
%zR=getelementptr inbounds i8,i8*%zN,i64 8
%zS=bitcast i8*%zR to i8**
%zT=load i8*,i8**%zS,align 8
%zU=bitcast i8*%zT to i32*
%zV=load i32,i32*%zU,align 4
switch i32%zV,label%zW[
i32 1,label%AN
i32 0,label%Ae
]
zW:
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%zX=load i8*,i8**@_SMLZ5Match,align 8
store i8*%zX,i8**%f,align 8
%zY=call i8*@sml_alloc(i32 inreg 20)#0
%zZ=getelementptr inbounds i8,i8*%zY,i64 -4
%z0=bitcast i8*%zZ to i32*
store i32 1342177296,i32*%z0,align 4
store i8*%zY,i8**%g,align 8
%z1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%z2=bitcast i8*%zY to i8**
store i8*%z1,i8**%z2,align 8
%z3=getelementptr inbounds i8,i8*%zY,i64 8
%z4=bitcast i8*%z3 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@H,i64 0,i32 2,i64 0),i8**%z4,align 8
%z5=getelementptr inbounds i8,i8*%zY,i64 16
%z6=bitcast i8*%z5 to i32*
store i32 3,i32*%z6,align 4
%z7=call i8*@sml_alloc(i32 inreg 60)#0
%z8=getelementptr inbounds i8,i8*%z7,i64 -4
%z9=bitcast i8*%z8 to i32*
store i32 1342177336,i32*%z9,align 4
%Aa=getelementptr inbounds i8,i8*%z7,i64 56
%Ab=bitcast i8*%Aa to i32*
store i32 1,i32*%Ab,align 4
%Ac=load i8*,i8**%g,align 8
%Ad=bitcast i8*%z7 to i8**
store i8*%Ac,i8**%Ad,align 8
call void@sml_raise(i8*inreg%z7)#1
unreachable
Ae:
%Af=bitcast i8*%zN to i8**
%Ag=getelementptr inbounds i8,i8*%zT,i64 8
%Ah=bitcast i8*%Ag to i8**
%Ai=load i8*,i8**%Ah,align 8
store i8*%Ai,i8**%h,align 8
store i8*null,i8**%i,align 8
%Aj=load i8*,i8**%Af,align 8
%Ak=call fastcc i8*@_SMLLN14FFICompilation10stubImportE_270(i8*inreg%Aj)
store i8*%Ak,i8**%g,align 8
%Al=bitcast i8*%Ak to i8**
%Am=load i8*,i8**%Al,align 8
store i8*%Am,i8**%f,align 8
%An=call i8*@sml_alloc(i32 inreg 28)#0
%Ao=getelementptr inbounds i8,i8*%An,i64 -4
%Ap=bitcast i8*%Ao to i32*
store i32 1342177304,i32*%Ap,align 4
%Aq=load i8*,i8**%j,align 8
store i8*null,i8**%j,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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Aw=getelementptr inbounds i8,i8*%An,i64 16
%Ax=bitcast i8*%Aw to i8**
store i8*%Av,i8**%Ax,align 8
%Ay=getelementptr inbounds i8,i8*%An,i64 24
%Az=bitcast i8*%Ay to i32*
store i32 7,i32*%Az,align 4
%AA=call fastcc i8*@_SMLFN12TypedCalcCon15TPFOREIGNSYMBOLE(i8*inreg%An)
%AB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%AC=getelementptr inbounds i8,i8*%AB,i64 8
%AD=bitcast i8*%AC to i8**
%AE=load i8*,i8**%AD,align 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%AA)
%AL=bitcast i8*%AK to i8**
%AM=load i8*,i8**%AL,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zG)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zH)
br label%aj
AN:
%AO=getelementptr inbounds i8,i8*%zT,i64 8
%AP=bitcast i8*%AO to i8**
%AQ=load i8*,i8**%AP,align 8
%AR=getelementptr inbounds i8,i8*%AQ,i64 8
%AS=bitcast i8*%AR to i8**
%AT=load i8*,i8**%AS,align 8
store i8*%AT,i8**%h,align 8
%AU=bitcast i8*%AQ to i8**
%AV=load i8*,i8**%AU,align 8
%AW=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%AV)
store i8*%AW,i8**%g,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**%f,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**%h,align 8
store i8*null,i8**%h,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=load i8*,i8**%j,align 8
%A8=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%A8)
%A9=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%A9)
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%A7,i8**%d,align 8
%Ba=call i8*@sml_alloc(i32 inreg 12)#0
%Bb=getelementptr inbounds i8,i8*%Ba,i64 -4
%Bc=bitcast i8*%Bb to i32*
store i32 1342177288,i32*%Bc,align 4
store i8*%Ba,i8**%e,align 8
%Bd=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i32*
store i32 1,i32*%Bg,align 4
%Bh=call i8*@sml_alloc(i32 inreg 28)#0
%Bi=getelementptr inbounds i8,i8*%Bh,i64 -4
%Bj=bitcast i8*%Bi to i32*
store i32 1342177304,i32*%Bj,align 4
%Bk=load i8*,i8**%e,align 8
%Bl=bitcast i8*%Bh to i8**
store i8*%Bk,i8**%Bl,align 8
%Bm=getelementptr inbounds i8,i8*%Bh,i64 8
%Bn=bitcast i8*%Bm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation11toSimpleExpE_214 to void(...)*),void(...)**%Bn,align 8
%Bo=getelementptr inbounds i8,i8*%Bh,i64 16
%Bp=bitcast i8*%Bo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation11toSimpleExpE_214 to void(...)*),void(...)**%Bp,align 8
%Bq=getelementptr inbounds i8,i8*%Bh,i64 24
%Br=bitcast i8*%Bq to i32*
store i32 -2147483647,i32*%Br,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A8)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A9)
%Bs=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Bt=call fastcc i8*@_SMLLN14FFICompilation11toSimpleExpE_214(i8*inreg%Bk,i8*inreg%Bs)
store i8*%Bt,i8**%h,align 8
%Bu=getelementptr inbounds i8,i8*%Bt,i64 8
%Bv=bitcast i8*%Bu to i8**
%Bw=load i8*,i8**%Bv,align 8
store i8*%Bw,i8**%f,align 8
%Bx=bitcast i8**%i to i8***
%By=load i8**,i8***%Bx,align 8
store i8*null,i8**%i,align 8
%Bz=load i8*,i8**%By,align 8
%BA=call fastcc i8*@_SMLLN14FFICompilation10stubImportE_270(i8*inreg%Bz)
%BB=bitcast i8*%BA to i8**
%BC=load i8*,i8**%BB,align 8
store i8*%BC,i8**%g,align 8
%BD=bitcast i8**%h to i8***
%BE=load i8**,i8***%BD,align 8
store i8*null,i8**%h,align 8
%BF=load i8*,i8**%BE,align 8
%BG=getelementptr inbounds i8,i8*%BF,i64 16
%BH=bitcast i8*%BG to i8*(i8*,i8*)**
%BI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%BH,align 8
%BJ=bitcast i8*%BF to i8**
%BK=load i8*,i8**%BJ,align 8
store i8*%BK,i8**%k,align 8
%BL=getelementptr inbounds i8,i8*%BA,i64 8
%BM=bitcast i8*%BL to i8**
%BN=load i8*,i8**%BM,align 8
%BO=getelementptr inbounds i8,i8*%BN,i64 16
%BP=bitcast i8*%BO to i8*(i8*,i8*)**
%BQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%BP,align 8
%BR=bitcast i8*%BN to i8**
%BS=load i8*,i8**%BR,align 8
store i8*%BS,i8**%i,align 8
%BT=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%BU=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%BU)
%BV=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%BV)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%BT,i8**%b,align 8
%BW=call i8*@sml_alloc(i32 inreg 12)#0
%BX=getelementptr inbounds i8,i8*%BW,i64 -4
%BY=bitcast i8*%BX to i32*
store i32 1342177288,i32*%BY,align 4
store i8*%BW,i8**%c,align 8
%BZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B0=bitcast i8*%BW to i8**
store i8*%BZ,i8**%B0,align 8
%B1=getelementptr inbounds i8,i8*%BW,i64 8
%B2=bitcast i8*%B1 to i32*
store i32 1,i32*%B2,align 4
%B3=call i8*@sml_alloc(i32 inreg 28)#0
%B4=getelementptr inbounds i8,i8*%B3,i64 -4
%B5=bitcast i8*%B4 to i32*
store i32 1342177304,i32*%B5,align 4
%B6=load i8*,i8**%c,align 8
%B7=bitcast i8*%B3 to i8**
store i8*%B6,i8**%B7,align 8
%B8=getelementptr inbounds i8,i8*%B3,i64 8
%B9=bitcast i8*%B8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation7bitCastE_226 to void(...)*),void(...)**%B9,align 8
%Ca=getelementptr inbounds i8,i8*%B3,i64 16
%Cb=bitcast i8*%Ca to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14FFICompilation7bitCastE_226 to void(...)*),void(...)**%Cb,align 8
%Cc=getelementptr inbounds i8,i8*%B3,i64 24
%Cd=bitcast i8*%Cc to i32*
store i32 -2147483647,i32*%Cd,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%BU)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%BV)
store i8*%B6,i8**%h,align 8
%Ce=call i8*@sml_alloc(i32 inreg 20)#0
%Cf=getelementptr inbounds i8,i8*%Ce,i64 -4
%Cg=bitcast i8*%Cf to i32*
store i32 1342177296,i32*%Cg,align 4
%Ch=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Ci=bitcast i8*%Ce to i8**
store i8*%Ch,i8**%Ci,align 8
%Cj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Ck=getelementptr inbounds i8,i8*%Ce,i64 8
%Cl=bitcast i8*%Ck to i8**
store i8*%Cj,i8**%Cl,align 8
%Cm=getelementptr inbounds i8,i8*%Ce,i64 16
%Cn=bitcast i8*%Cm to i32*
store i32 3,i32*%Cn,align 4
%Co=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%Cp=call fastcc i8*@_SMLLN14FFICompilation7bitCastE_226(i8*inreg%Co,i8*inreg%Ce)
%Cq=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%Cr=call fastcc i8*%BQ(i8*inreg%Cq,i8*inreg%Cp)
%Cs=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%Ct=call fastcc i8*%BI(i8*inreg%Cs,i8*inreg%Cr)
%Cu=bitcast i8*%Ct to i8**
%Cv=load i8*,i8**%Cu,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zG)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zH)
br label%aj
Cw:
%Cx=getelementptr inbounds i8,i8*%L,i64 8
%Cy=bitcast i8*%Cx to i8**
%Cz=load i8*,i8**%Cy,align 8
store i8*%Cz,i8**%v,align 8
%CA=getelementptr inbounds i8,i8*%Cz,i64 8
%CB=bitcast i8*%CA to i8**
%CC=load i8*,i8**%CB,align 8
store i8*%CC,i8**%w,align 8
%CD=getelementptr inbounds i8,i8*%Cz,i64 16
%CE=bitcast i8*%CD to i8**
%CF=load i8*,i8**%CE,align 8
store i8*%CF,i8**%x,align 8
%CG=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
%CM=call fastcc i8*%CJ(i8*inreg%CL,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*))
%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
%CS=bitcast i8**%v to i8***
%CT=load i8**,i8***%CS,align 8
store i8*null,i8**%v,align 8
%CU=load i8*,i8**%CT,align 8
%CV=call fastcc i8*%CP(i8*inreg%CR,i8*inreg%CU)
store i8*%CV,i8**%v,align 8
%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
store i8*%CW,i8**%y,align 8
%CZ=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%C0=bitcast i8*%CW to i8**
store i8*%CZ,i8**%C0,align 8
%C1=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%C2=getelementptr inbounds i8,i8*%CW,i64 8
%C3=bitcast i8*%C2 to i8**
store i8*%C1,i8**%C3,align 8
%C4=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%C5=getelementptr inbounds i8,i8*%CW,i64 16
%C6=bitcast i8*%C5 to i8**
store i8*%C4,i8**%C6,align 8
%C7=getelementptr inbounds i8,i8*%CW,i64 24
%C8=bitcast i8*%C7 to i32*
store i32 7,i32*%C8,align 4
%C9=call i8*@sml_alloc(i32 inreg 20)#0
%Da=bitcast i8*%C9 to i32*
%Db=getelementptr inbounds i8,i8*%C9,i64 -4
%Dc=bitcast i8*%Db to i32*
store i32 1342177296,i32*%Dc,align 4
%Dd=getelementptr inbounds i8,i8*%C9,i64 4
%De=bitcast i8*%Dd to i32*
store i32 0,i32*%De,align 1
store i32 16,i32*%Da,align 4
%Df=load i8*,i8**%y,align 8
%Dg=getelementptr inbounds i8,i8*%C9,i64 8
%Dh=bitcast i8*%Dg to i8**
store i8*%Df,i8**%Dh,align 8
%Di=getelementptr inbounds i8,i8*%C9,i64 16
%Dj=bitcast i8*%Di to i32*
store i32 2,i32*%Dj,align 4
ret i8*%C9
Dk:
%Dl=getelementptr inbounds i8,i8*%L,i64 8
%Dm=bitcast i8*%Dl to i8**
%Dn=load i8*,i8**%Dm,align 8
store i8*%Dn,i8**%w,align 8
%Do=getelementptr inbounds i8,i8*%Dn,i64 16
%Dp=bitcast i8*%Do to i8**
%Dq=load i8*,i8**%Dp,align 8
store i8*%Dq,i8**%x,align 8
%Dr=getelementptr inbounds i8,i8*%Dn,i64 24
%Ds=bitcast i8*%Dr to i8**
%Dt=load i8*,i8**%Ds,align 8
store i8*%Dt,i8**%y,align 8
%Du=getelementptr inbounds i8,i8*%Dn,i64 32
%Dv=bitcast i8*%Du to i8**
%Dw=load i8*,i8**%Dv,align 8
store i8*%Dw,i8**%z,align 8
%Dx=bitcast i8*%Dn to i8**
%Dy=load i8*,i8**%Dx,align 8
%Dz=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%Dy)
store i8*%Dz,i8**%v,align 8
%DA=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%DB=getelementptr inbounds i8,i8*%DA,i64 8
%DC=bitcast i8*%DB to i8**
%DD=load i8*,i8**%DC,align 8
%DE=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%DD)
store i8*%DE,i8**%w,align 8
%DF=call i8*@sml_alloc(i32 inreg 44)#0
%DG=getelementptr inbounds i8,i8*%DF,i64 -4
%DH=bitcast i8*%DG to i32*
store i32 1342177320,i32*%DH,align 4
store i8*%DF,i8**%A,align 8
%DI=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%DJ=bitcast i8*%DF to i8**
store i8*%DI,i8**%DJ,align 8
%DK=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%DL=getelementptr inbounds i8,i8*%DF,i64 8
%DM=bitcast i8*%DL to i8**
store i8*%DK,i8**%DM,align 8
%DN=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%DO=getelementptr inbounds i8,i8*%DF,i64 16
%DP=bitcast i8*%DO to i8**
store i8*%DN,i8**%DP,align 8
%DQ=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%DR=getelementptr inbounds i8,i8*%DF,i64 24
%DS=bitcast i8*%DR to i8**
store i8*%DQ,i8**%DS,align 8
%DT=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%DU=getelementptr inbounds i8,i8*%DF,i64 32
%DV=bitcast i8*%DU to i8**
store i8*%DT,i8**%DV,align 8
%DW=getelementptr inbounds i8,i8*%DF,i64 40
%DX=bitcast i8*%DW to i32*
store i32 31,i32*%DX,align 4
%DY=call i8*@sml_alloc(i32 inreg 20)#0
%DZ=bitcast i8*%DY to i32*
%D0=getelementptr inbounds i8,i8*%DY,i64 -4
%D1=bitcast i8*%D0 to i32*
store i32 1342177296,i32*%D1,align 4
%D2=getelementptr inbounds i8,i8*%DY,i64 4
%D3=bitcast i8*%D2 to i32*
store i32 0,i32*%D3,align 1
store i32 9,i32*%DZ,align 4
%D4=load i8*,i8**%A,align 8
%D5=getelementptr inbounds i8,i8*%DY,i64 8
%D6=bitcast i8*%D5 to i8**
store i8*%D4,i8**%D6,align 8
%D7=getelementptr inbounds i8,i8*%DY,i64 16
%D8=bitcast i8*%D7 to i32*
store i32 2,i32*%D8,align 4
ret i8*%DY
D9:
%Ea=getelementptr inbounds i8,i8*%L,i64 8
%Eb=bitcast i8*%Ea to i8**
%Ec=load i8*,i8**%Eb,align 8
store i8*%Ec,i8**%x,align 8
%Ed=getelementptr inbounds i8,i8*%Ec,i64 8
%Ee=bitcast i8*%Ed to i8**
%Ef=load i8*,i8**%Ee,align 8
store i8*%Ef,i8**%y,align 8
%Eg=getelementptr inbounds i8,i8*%Ec,i64 16
%Eh=bitcast i8*%Eg to i8**
%Ei=load i8*,i8**%Eh,align 8
store i8*%Ei,i8**%z,align 8
%Ej=getelementptr inbounds i8,i8*%Ec,i64 32
%Ek=bitcast i8*%Ej to i8**
%El=load i8*,i8**%Ek,align 8
store i8*%El,i8**%A,align 8
%Em=getelementptr inbounds i8,i8*%Ec,i64 48
%En=bitcast i8*%Em to i8**
%Eo=load i8*,i8**%En,align 8
store i8*%Eo,i8**%B,align 8
%Ep=getelementptr inbounds i8,i8*%Ec,i64 24
%Eq=bitcast i8*%Ep to i8**
%Er=load i8*,i8**%Eq,align 8
%Es=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%Er)
store i8*%Es,i8**%v,align 8
%Et=bitcast i8**%x to i8***
%Eu=load i8**,i8***%Et,align 8
%Ev=load i8*,i8**%Eu,align 8
%Ew=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%Ev)
store i8*%Ew,i8**%w,align 8
%Ex=load i8*,i8**%x,align 8
%Ey=getelementptr inbounds i8,i8*%Ex,i64 40
%Ez=bitcast i8*%Ey to i8**
%EA=load i8*,i8**%Ez,align 8
%EB=invoke fastcc i8*@_SMLFN10ReifyUtils9ApplyListE(i8*inreg%EA)
to label%EC unwind label%Gi
EC:
%ED=getelementptr inbounds i8,i8*%EB,i64 16
%EE=bitcast i8*%ED to i8*(i8*,i8*)**
%EF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%EE,align 8
%EG=bitcast i8*%EB to i8**
%EH=load i8*,i8**%EG,align 8
store i8*%EH,i8**%D,align 8
%EI=load i8*,i8**%x,align 8
%EJ=getelementptr inbounds i8,i8*%EI,i64 40
%EK=bitcast i8*%EJ to i8**
%EL=load i8*,i8**%EK,align 8
%EM=invoke fastcc i8*@_SMLFN10ReifyUtils11InstListVarE(i8*inreg%EL)
to label%EN unwind label%Gi
EN:
%EO=getelementptr inbounds i8,i8*%EM,i64 16
%EP=bitcast i8*%EO to i8*(i8*,i8*)**
%EQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%EP,align 8
%ER=bitcast i8*%EM to i8**
%ES=load i8*,i8**%ER,align 8
store i8*%ES,i8**%C,align 8
%ET=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%EU=getelementptr inbounds i8,i8*%ET,i64 40
%EV=bitcast i8*%EU to i8**
%EW=load i8*,i8**%EV,align 8
%EX=invoke fastcc i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__dynamicTypeCaseE(i8*inreg%EW)
to label%EY unwind label%Gi
EY:
store i8*%EX,i8**%x,align 8
%EZ=call i8*@sml_alloc(i32 inreg 20)#0
%E0=getelementptr inbounds i8,i8*%EZ,i64 -4
%E1=bitcast i8*%E0 to i32*
store i32 1342177296,i32*%E1,align 4
store i8*%EZ,i8**%E,align 8
%E2=load i8*,i8**%B,align 8
store i8*null,i8**%B,align 8
%E3=bitcast i8*%EZ to i8**
store i8*%E2,i8**%E3,align 8
%E4=getelementptr inbounds i8,i8*%EZ,i64 8
%E5=bitcast i8*%E4 to i8**
store i8*null,i8**%E5,align 8
%E6=getelementptr inbounds i8,i8*%EZ,i64 16
%E7=bitcast i8*%E6 to i32*
store i32 3,i32*%E7,align 4
%E8=call i8*@sml_alloc(i32 inreg 20)#0
%E9=getelementptr inbounds i8,i8*%E8,i64 -4
%Fa=bitcast i8*%E9 to i32*
store i32 1342177296,i32*%Fa,align 4
store i8*%E8,i8**%B,align 8
%Fb=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%Fc=bitcast i8*%E8 to i8**
store i8*%Fb,i8**%Fc,align 8
%Fd=load i8*,i8**%E,align 8
store i8*null,i8**%E,align 8
%Fe=getelementptr inbounds i8,i8*%E8,i64 8
%Ff=bitcast i8*%Fe to i8**
store i8*%Fd,i8**%Ff,align 8
%Fg=getelementptr inbounds i8,i8*%E8,i64 16
%Fh=bitcast i8*%Fg to i32*
store i32 3,i32*%Fh,align 4
%Fi=call i8*@sml_alloc(i32 inreg 20)#0
%Fj=getelementptr inbounds i8,i8*%Fi,i64 -4
%Fk=bitcast i8*%Fj to i32*
store i32 1342177296,i32*%Fk,align 4
%Fl=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%Fm=bitcast i8*%Fi to i8**
store i8*%Fl,i8**%Fm,align 8
%Fn=load i8*,i8**%B,align 8
store i8*null,i8**%B,align 8
%Fo=getelementptr inbounds i8,i8*%Fi,i64 8
%Fp=bitcast i8*%Fo to i8**
store i8*%Fn,i8**%Fp,align 8
%Fq=getelementptr inbounds i8,i8*%Fi,i64 16
%Fr=bitcast i8*%Fq to i32*
store i32 3,i32*%Fr,align 4
%Fs=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%Ft=invoke fastcc i8*%EQ(i8*inreg%Fs,i8*inreg%Fi)
to label%Fu unwind label%Gi
Fu:
%Fv=load i8*,i8**%D,align 8
store i8*null,i8**%D,align 8
%Fw=invoke fastcc i8*%EF(i8*inreg%Fv,i8*inreg%Ft)
to label%Fx unwind label%Gi
Fx:
%Fy=getelementptr inbounds i8,i8*%Fw,i64 16
%Fz=bitcast i8*%Fy to i8*(i8*,i8*)**
%FA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Fz,align 8
%FB=bitcast i8*%Fw to i8**
%FC=load i8*,i8**%FB,align 8
store i8*%FC,i8**%z,align 8
%FD=call i8*@sml_alloc(i32 inreg 20)#0
%FE=getelementptr inbounds i8,i8*%FD,i64 -4
%FF=bitcast i8*%FE to i32*
store i32 1342177296,i32*%FF,align 4
store i8*%FD,i8**%x,align 8
%FG=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%FH=bitcast i8*%FD to i8**
store i8*%FG,i8**%FH,align 8
%FI=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%FJ=getelementptr inbounds i8,i8*%FD,i64 8
%FK=bitcast i8*%FJ to i8**
store i8*%FI,i8**%FK,align 8
%FL=getelementptr inbounds i8,i8*%FD,i64 16
%FM=bitcast i8*%FL to i32*
store i32 3,i32*%FM,align 4
%FN=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**%w,align 8
%FQ=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%FR=bitcast i8*%FN to i8**
store i8*%FQ,i8**%FR,align 8
%FS=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%FT=getelementptr inbounds i8,i8*%FN,i64 8
%FU=bitcast i8*%FT to i8**
store i8*%FS,i8**%FU,align 8
%FV=getelementptr inbounds i8,i8*%FN,i64 16
%FW=bitcast i8*%FV to i32*
store i32 3,i32*%FW,align 4
%FX=call i8*@sml_alloc(i32 inreg 20)#0
%FY=getelementptr inbounds i8,i8*%FX,i64 -4
%FZ=bitcast i8*%FY to i32*
store i32 1342177296,i32*%FZ,align 4
store i8*%FX,i8**%v,align 8
%F0=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%F1=bitcast i8*%FX to i8**
store i8*%F0,i8**%F1,align 8
%F2=getelementptr inbounds i8,i8*%FX,i64 8
%F3=bitcast i8*%F2 to i8**
store i8*null,i8**%F3,align 8
%F4=getelementptr inbounds i8,i8*%FX,i64 16
%F5=bitcast i8*%F4 to i32*
store i32 3,i32*%F5,align 4
%F6=call i8*@sml_alloc(i32 inreg 20)#0
%F7=getelementptr inbounds i8,i8*%F6,i64 -4
%F8=bitcast i8*%F7 to i32*
store i32 1342177296,i32*%F8,align 4
%F9=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%Ga=bitcast i8*%F6 to i8**
store i8*%F9,i8**%Ga,align 8
%Gb=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%Gc=getelementptr inbounds i8,i8*%F6,i64 8
%Gd=bitcast i8*%Gc to i8**
store i8*%Gb,i8**%Gd,align 8
%Ge=getelementptr inbounds i8,i8*%F6,i64 16
%Gf=bitcast i8*%Ge to i32*
store i32 3,i32*%Gf,align 4
%Gg=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%Gh=invoke fastcc i8*%FA(i8*inreg%Gg,i8*inreg%F6)
to label%Gu unwind label%Gi
Gi:
%Gj=landingpad{i8*,i8*}
catch i8*null
%Gk=extractvalue{i8*,i8*}%Gj,1
%Gl=bitcast i8*%Gk to i8**
%Gm=load i8*,i8**%Gl,align 8
store i8*null,i8**%w,align 8
store i8*null,i8**%x,align 8
store i8*null,i8**%y,align 8
store i8*null,i8**%z,align 8
store i8*null,i8**%A,align 8
store i8*null,i8**%B,align 8
store i8*null,i8**%C,align 8
store i8*null,i8**%D,align 8
store i8*%Gm,i8**%v,align 8
%Gn=call i8*@sml_alloc(i32 inreg 60)#0
%Go=getelementptr inbounds i8,i8*%Gn,i64 -4
%Gp=bitcast i8*%Go to i32*
store i32 1342177336,i32*%Gp,align 4
%Gq=getelementptr inbounds i8,i8*%Gn,i64 56
%Gr=bitcast i8*%Gq to i32*
store i32 1,i32*%Gr,align 4
%Gs=load i8*,i8**%v,align 8
%Gt=bitcast i8*%Gn to i8**
store i8*%Gs,i8**%Gt,align 8
call void@sml_raise(i8*inreg%Gn)#1
unreachable
Gu:
%Gv=bitcast i8*%Gh to i8**
%Gw=load i8*,i8**%Gv,align 8
ret i8*%Gw
Gx:
%Gy=getelementptr inbounds i8,i8*%L,i64 8
%Gz=bitcast i8*%Gy to i8**
%GA=load i8*,i8**%Gz,align 8
store i8*%GA,i8**%v,align 8
%GB=getelementptr inbounds i8,i8*%GA,i64 8
%GC=bitcast i8*%GB to i8**
%GD=load i8*,i8**%GC,align 8
store i8*%GD,i8**%w,align 8
%GE=getelementptr inbounds i8,i8*%GA,i64 16
%GF=bitcast i8*%GE to i8**
%GG=load i8*,i8**%GF,align 8
store i8*%GG,i8**%x,align 8
%GH=getelementptr inbounds i8,i8*%GA,i64 24
%GI=bitcast i8*%GH to i8**
%GJ=load i8*,i8**%GI,align 8
store i8*%GJ,i8**%y,align 8
%GK=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%GL=getelementptr inbounds i8,i8*%GK,i64 16
%GM=bitcast i8*%GL to i8*(i8*,i8*)**
%GN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%GM,align 8
%GO=bitcast i8*%GK to i8**
%GP=load i8*,i8**%GO,align 8
%GQ=call fastcc i8*%GN(i8*inreg%GP,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*))
%GR=getelementptr inbounds i8,i8*%GQ,i64 16
%GS=bitcast i8*%GR to i8*(i8*,i8*)**
%GT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%GS,align 8
%GU=bitcast i8*%GQ to i8**
%GV=load i8*,i8**%GU,align 8
%GW=bitcast i8**%v to i8***
%GX=load i8**,i8***%GW,align 8
store i8*null,i8**%v,align 8
%GY=load i8*,i8**%GX,align 8
%GZ=call fastcc i8*%GT(i8*inreg%GV,i8*inreg%GY)
store i8*%GZ,i8**%v,align 8
%G0=call i8*@sml_alloc(i32 inreg 36)#0
%G1=getelementptr inbounds i8,i8*%G0,i64 -4
%G2=bitcast i8*%G1 to i32*
store i32 1342177312,i32*%G2,align 4
store i8*%G0,i8**%z,align 8
%G3=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%G4=bitcast i8*%G0 to i8**
store i8*%G3,i8**%G4,align 8
%G5=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%G6=getelementptr inbounds i8,i8*%G0,i64 8
%G7=bitcast i8*%G6 to i8**
store i8*%G5,i8**%G7,align 8
%G8=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%G9=getelementptr inbounds i8,i8*%G0,i64 16
%Ha=bitcast i8*%G9 to i8**
store i8*%G8,i8**%Ha,align 8
%Hb=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%Hc=getelementptr inbounds i8,i8*%G0,i64 24
%Hd=bitcast i8*%Hc to i8**
store i8*%Hb,i8**%Hd,align 8
%He=getelementptr inbounds i8,i8*%G0,i64 32
%Hf=bitcast i8*%He to i32*
store i32 15,i32*%Hf,align 4
%Hg=call i8*@sml_alloc(i32 inreg 20)#0
%Hh=bitcast i8*%Hg to i32*
%Hi=getelementptr inbounds i8,i8*%Hg,i64 -4
%Hj=bitcast i8*%Hi to i32*
store i32 1342177296,i32*%Hj,align 4
%Hk=getelementptr inbounds i8,i8*%Hg,i64 4
%Hl=bitcast i8*%Hk to i32*
store i32 0,i32*%Hl,align 1
store i32 6,i32*%Hh,align 4
%Hm=load i8*,i8**%z,align 8
%Hn=getelementptr inbounds i8,i8*%Hg,i64 8
%Ho=bitcast i8*%Hn to i8**
store i8*%Hm,i8**%Ho,align 8
%Hp=getelementptr inbounds i8,i8*%Hg,i64 16
%Hq=bitcast i8*%Hp to i32*
store i32 2,i32*%Hq,align 4
ret i8*%Hg
Hr:
%Hs=getelementptr inbounds i8,i8*%L,i64 8
%Ht=bitcast i8*%Hs to i8**
%Hu=load i8*,i8**%Ht,align 8
%Hv=bitcast i8*%Hu to i8**
%Hw=load i8*,i8**%Hv,align 8
%Hx=getelementptr inbounds i8,i8*%Hw,i64 8
%Hy=bitcast i8*%Hx to i8**
%Hz=load i8*,i8**%Hy,align 8
store i8*%Hz,i8**%x,align 8
%HA=getelementptr inbounds i8,i8*%Hu,i64 8
%HB=bitcast i8*%HA to i8**
%HC=load i8*,i8**%HB,align 8
store i8*%HC,i8**%y,align 8
%HD=getelementptr inbounds i8,i8*%Hu,i64 16
%HE=bitcast i8*%HD to i8**
%HF=load i8*,i8**%HE,align 8
store i8*%HF,i8**%z,align 8
%HG=bitcast i8*%Hu to i8***
%HH=load i8**,i8***%HG,align 8
%HI=load i8*,i8**%HH,align 8
%HJ=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%HI)
store i8*%HJ,i8**%v,align 8
%HK=call i8*@sml_alloc(i32 inreg 20)#0
%HL=getelementptr inbounds i8,i8*%HK,i64 -4
%HM=bitcast i8*%HL to i32*
store i32 1342177296,i32*%HM,align 4
store i8*%HK,i8**%w,align 8
%HN=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%HO=bitcast i8*%HK to i8**
store i8*%HN,i8**%HO,align 8
%HP=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%HQ=getelementptr inbounds i8,i8*%HK,i64 8
%HR=bitcast i8*%HQ to i8**
store i8*%HP,i8**%HR,align 8
%HS=getelementptr inbounds i8,i8*%HK,i64 16
%HT=bitcast i8*%HS to i32*
store i32 3,i32*%HT,align 4
%HU=call i8*@sml_alloc(i32 inreg 28)#0
%HV=getelementptr inbounds i8,i8*%HU,i64 -4
%HW=bitcast i8*%HV to i32*
store i32 1342177304,i32*%HW,align 4
store i8*%HU,i8**%v,align 8
%HX=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%HY=bitcast i8*%HU to i8**
store i8*%HX,i8**%HY,align 8
%HZ=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%H0=getelementptr inbounds i8,i8*%HU,i64 8
%H1=bitcast i8*%H0 to i8**
store i8*%HZ,i8**%H1,align 8
%H2=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%H3=getelementptr inbounds i8,i8*%HU,i64 16
%H4=bitcast i8*%H3 to i8**
store i8*%H2,i8**%H4,align 8
%H5=getelementptr inbounds i8,i8*%HU,i64 24
%H6=bitcast i8*%H5 to i32*
store i32 7,i32*%H6,align 4
%H7=call i8*@sml_alloc(i32 inreg 20)#0
%H8=bitcast i8*%H7 to i32*
%H9=getelementptr inbounds i8,i8*%H7,i64 -4
%Ia=bitcast i8*%H9 to i32*
store i32 1342177296,i32*%Ia,align 4
%Ib=getelementptr inbounds i8,i8*%H7,i64 4
%Ic=bitcast i8*%Ib to i32*
store i32 0,i32*%Ic,align 1
store i32 3,i32*%H8,align 4
%Id=load i8*,i8**%v,align 8
%Ie=getelementptr inbounds i8,i8*%H7,i64 8
%If=bitcast i8*%Ie to i8**
store i8*%Id,i8**%If,align 8
%Ig=getelementptr inbounds i8,i8*%H7,i64 16
%Ih=bitcast i8*%Ig to i32*
store i32 2,i32*%Ih,align 4
ret i8*%H7
Ii:
%Ij=getelementptr inbounds i8,i8*%L,i64 8
%Ik=bitcast i8*%Ij to i8**
%Il=load i8*,i8**%Ik,align 8
store i8*%Il,i8**%x,align 8
%Im=getelementptr inbounds i8,i8*%Il,i64 16
%In=bitcast i8*%Im to i8**
%Io=load i8*,i8**%In,align 8
store i8*%Io,i8**%y,align 8
%Ip=getelementptr inbounds i8,i8*%Il,i64 24
%Iq=bitcast i8*%Ip to i8**
%Ir=load i8*,i8**%Iq,align 8
store i8*%Ir,i8**%z,align 8
%Is=getelementptr inbounds i8,i8*%Il,i64 32
%It=bitcast i8*%Is to i8**
%Iu=load i8*,i8**%It,align 8
store i8*%Iu,i8**%A,align 8
%Iv=getelementptr inbounds i8,i8*%Il,i64 8
%Iw=bitcast i8*%Iv to i8**
%Ix=load i8*,i8**%Iw,align 8
%Iy=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%Ix)
store i8*%Iy,i8**%v,align 8
%Iz=load i8*,i8**%x,align 8
%IA=getelementptr inbounds i8,i8*%Iz,i64 40
%IB=bitcast i8*%IA to i8**
%IC=load i8*,i8**%IB,align 8
%ID=bitcast i8*%IC to i32*
%IE=load i32,i32*%ID,align 4
switch i32%IE,label%IF[
i32 1,label%JR
i32 0,label%Jq
i32 2,label%IX
]
IF:
store i8*null,i8**%x,align 8
store i8*null,i8**%y,align 8
store i8*null,i8**%z,align 8
store i8*null,i8**%A,align 8
call void@sml_matchcomp_bug()
%IG=load i8*,i8**@_SMLZ5Match,align 8
store i8*%IG,i8**%v,align 8
%IH=call i8*@sml_alloc(i32 inreg 20)#0
%II=getelementptr inbounds i8,i8*%IH,i64 -4
%IJ=bitcast i8*%II to i32*
store i32 1342177296,i32*%IJ,align 4
store i8*%IH,i8**%w,align 8
%IK=load i8*,i8**%v,align 8
store i8*null,i8**%v,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,[80x i8]}>,<{[4x i8],i32,[80x i8]}>*@O,i64 0,i32 2,i64 0),i8**%IN,align 8
%IO=getelementptr inbounds i8,i8*%IH,i64 16
%IP=bitcast i8*%IO to i32*
store i32 3,i32*%IP,align 4
%IQ=call i8*@sml_alloc(i32 inreg 60)#0
%IR=getelementptr inbounds i8,i8*%IQ,i64 -4
%IS=bitcast i8*%IR to i32*
store i32 1342177336,i32*%IS,align 4
%IT=getelementptr inbounds i8,i8*%IQ,i64 56
%IU=bitcast i8*%IT to i32*
store i32 1,i32*%IU,align 4
%IV=load i8*,i8**%w,align 8
%IW=bitcast i8*%IQ to i8**
store i8*%IV,i8**%IW,align 8
call void@sml_raise(i8*inreg%IQ)#1
unreachable
IX:
%IY=getelementptr inbounds i8,i8*%IC,i64 8
%IZ=bitcast i8*%IY to i8**
%I0=load i8*,i8**%IZ,align 8
store i8*%I0,i8**%w,align 8
%I1=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%I2=getelementptr inbounds i8,i8*%I1,i64 16
%I3=bitcast i8*%I2 to i8*(i8*,i8*)**
%I4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I3,align 8
%I5=bitcast i8*%I1 to i8**
%I6=load i8*,i8**%I5,align 8
%I7=call fastcc i8*%I4(i8*inreg%I6,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*))
%I8=getelementptr inbounds i8,i8*%I7,i64 16
%I9=bitcast i8*%I8 to i8*(i8*,i8*)**
%Ja=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I9,align 8
%Jb=bitcast i8*%I7 to i8**
%Jc=load i8*,i8**%Jb,align 8
%Jd=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%Je=call fastcc i8*%Ja(i8*inreg%Jc,i8*inreg%Jd)
store i8*%Je,i8**%w,align 8
%Jf=call i8*@sml_alloc(i32 inreg 20)#0
%Jg=bitcast i8*%Jf to i32*
%Jh=getelementptr inbounds i8,i8*%Jf,i64 -4
%Ji=bitcast i8*%Jh to i32*
store i32 1342177296,i32*%Ji,align 4
%Jj=getelementptr inbounds i8,i8*%Jf,i64 4
%Jk=bitcast i8*%Jj to i32*
store i32 0,i32*%Jk,align 1
store i32 2,i32*%Jg,align 4
%Jl=load i8*,i8**%w,align 8
%Jm=getelementptr inbounds i8,i8*%Jf,i64 8
%Jn=bitcast i8*%Jm to i8**
store i8*%Jl,i8**%Jn,align 8
%Jo=getelementptr inbounds i8,i8*%Jf,i64 16
%Jp=bitcast i8*%Jo to i32*
store i32 2,i32*%Jp,align 4
store i8*%Jf,i8**%w,align 8
br label%Kk
Jq:
%Jr=getelementptr inbounds i8,i8*%IC,i64 8
%Js=bitcast i8*%Jr to i8**
%Jt=load i8*,i8**%Js,align 8
store i8*%Jt,i8**%w,align 8
%Ju=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Jv=getelementptr inbounds i8,i8*%Ju,i64 16
%Jw=bitcast i8*%Jv to i8*(i8*,i8*)**
%Jx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Jw,align 8
%Jy=bitcast i8*%Ju to i8**
%Jz=load i8*,i8**%Jy,align 8
%JA=call fastcc i8*%Jx(i8*inreg%Jz,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@M,i64 0,i32 2)to i8*))
%JB=getelementptr inbounds i8,i8*%JA,i64 16
%JC=bitcast i8*%JB to i8*(i8*,i8*)**
%JD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%JC,align 8
%JE=bitcast i8*%JA to i8**
%JF=load i8*,i8**%JE,align 8
%JG=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%JH=call fastcc i8*%JD(i8*inreg%JF,i8*inreg%JG)
store i8*%JH,i8**%w,align 8
%JI=call i8*@sml_alloc(i32 inreg 20)#0
%JJ=getelementptr inbounds i8,i8*%JI,i64 -4
%JK=bitcast i8*%JJ to i32*
store i32 1342177296,i32*%JK,align 4
%JL=bitcast i8*%JI to i64*
store i64 0,i64*%JL,align 4
%JM=load i8*,i8**%w,align 8
%JN=getelementptr inbounds i8,i8*%JI,i64 8
%JO=bitcast i8*%JN to i8**
store i8*%JM,i8**%JO,align 8
%JP=getelementptr inbounds i8,i8*%JI,i64 16
%JQ=bitcast i8*%JP to i32*
store i32 2,i32*%JQ,align 4
store i8*%JI,i8**%w,align 8
br label%Kk
JR:
%JS=getelementptr inbounds i8,i8*%IC,i64 8
%JT=bitcast i8*%JS to i8**
%JU=load i8*,i8**%JT,align 8
store i8*%JU,i8**%w,align 8
%JV=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%JW=getelementptr inbounds i8,i8*%JV,i64 16
%JX=bitcast i8*%JW to i8*(i8*,i8*)**
%JY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%JX,align 8
%JZ=bitcast i8*%JV to i8**
%J0=load i8*,i8**%JZ,align 8
%J1=call fastcc i8*%JY(i8*inreg%J0,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@L,i64 0,i32 2)to i8*))
%J2=getelementptr inbounds i8,i8*%J1,i64 16
%J3=bitcast i8*%J2 to i8*(i8*,i8*)**
%J4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J3,align 8
%J5=bitcast i8*%J1 to i8**
%J6=load i8*,i8**%J5,align 8
%J7=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%J8=call fastcc i8*%J4(i8*inreg%J6,i8*inreg%J7)
store i8*%J8,i8**%w,align 8
%J9=call i8*@sml_alloc(i32 inreg 20)#0
%Ka=bitcast i8*%J9 to i32*
%Kb=getelementptr inbounds i8,i8*%J9,i64 -4
%Kc=bitcast i8*%Kb to i32*
store i32 1342177296,i32*%Kc,align 4
%Kd=getelementptr inbounds i8,i8*%J9,i64 4
%Ke=bitcast i8*%Kd to i32*
store i32 0,i32*%Ke,align 1
store i32 1,i32*%Ka,align 4
%Kf=load i8*,i8**%w,align 8
%Kg=getelementptr inbounds i8,i8*%J9,i64 8
%Kh=bitcast i8*%Kg to i8**
store i8*%Kf,i8**%Kh,align 8
%Ki=getelementptr inbounds i8,i8*%J9,i64 16
%Kj=bitcast i8*%Ki to i32*
store i32 2,i32*%Kj,align 4
store i8*%J9,i8**%w,align 8
br label%Kk
Kk:
%Kl=bitcast i8**%x to i8***
%Km=load i8**,i8***%Kl,align 8
store i8*null,i8**%x,align 8
%Kn=load i8*,i8**%Km,align 8
%Ko=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%Kn)
store i8*%Ko,i8**%x,align 8
%Kp=call i8*@sml_alloc(i32 inreg 52)#0
%Kq=getelementptr inbounds i8,i8*%Kp,i64 -4
%Kr=bitcast i8*%Kq to i32*
store i32 1342177328,i32*%Kr,align 4
store i8*%Kp,i8**%B,align 8
%Ks=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%Kt=bitcast i8*%Kp to i8**
store i8*%Ks,i8**%Kt,align 8
%Ku=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%Kv=getelementptr inbounds i8,i8*%Kp,i64 8
%Kw=bitcast i8*%Kv to i8**
store i8*%Ku,i8**%Kw,align 8
%Kx=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%Ky=getelementptr inbounds i8,i8*%Kp,i64 16
%Kz=bitcast i8*%Ky to i8**
store i8*%Kx,i8**%Kz,align 8
%KA=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%KB=getelementptr inbounds i8,i8*%Kp,i64 24
%KC=bitcast i8*%KB to i8**
store i8*%KA,i8**%KC,align 8
%KD=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%KE=getelementptr inbounds i8,i8*%Kp,i64 32
%KF=bitcast i8*%KE to i8**
store i8*%KD,i8**%KF,align 8
%KG=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%KH=getelementptr inbounds i8,i8*%Kp,i64 40
%KI=bitcast i8*%KH to i8**
store i8*%KG,i8**%KI,align 8
%KJ=getelementptr inbounds i8,i8*%Kp,i64 48
%KK=bitcast i8*%KJ to i32*
store i32 63,i32*%KK,align 4
%KL=call i8*@sml_alloc(i32 inreg 20)#0
%KM=bitcast i8*%KL to i32*
%KN=getelementptr inbounds i8,i8*%KL,i64 -4
%KO=bitcast i8*%KN to i32*
store i32 1342177296,i32*%KO,align 4
%KP=getelementptr inbounds i8,i8*%KL,i64 4
%KQ=bitcast i8*%KP to i32*
store i32 0,i32*%KQ,align 1
store i32 37,i32*%KM,align 4
%KR=load i8*,i8**%B,align 8
%KS=getelementptr inbounds i8,i8*%KL,i64 8
%KT=bitcast i8*%KS to i8**
store i8*%KR,i8**%KT,align 8
%KU=getelementptr inbounds i8,i8*%KL,i64 16
%KV=bitcast i8*%KU to i32*
store i32 2,i32*%KV,align 4
ret i8*%KL
KW:
%KX=getelementptr inbounds i8,i8*%L,i64 8
%KY=bitcast i8*%KX to i8**
%KZ=load i8*,i8**%KY,align 8
store i8*%KZ,i8**%w,align 8
%K0=bitcast i8*%KZ to i32*
%K1=load i32,i32*%K0,align 4
%K2=getelementptr inbounds i8,i8*%KZ,i64 16
%K3=bitcast i8*%K2 to i8**
%K4=load i8*,i8**%K3,align 8
store i8*%K4,i8**%x,align 8
%K5=getelementptr inbounds i8,i8*%KZ,i64 24
%K6=bitcast i8*%K5 to i8**
%K7=load i8*,i8**%K6,align 8
store i8*%K7,i8**%y,align 8
%K8=getelementptr inbounds i8,i8*%KZ,i64 32
%K9=bitcast i8*%K8 to i8**
%La=load i8*,i8**%K9,align 8
store i8*%La,i8**%z,align 8
%Lb=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Lc=getelementptr inbounds i8,i8*%Lb,i64 16
%Ld=bitcast i8*%Lc to i8*(i8*,i8*)**
%Le=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Ld,align 8
%Lf=bitcast i8*%Lb to i8**
%Lg=load i8*,i8**%Lf,align 8
%Lh=call fastcc i8*%Le(i8*inreg%Lg,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@J,i64 0,i32 2)to i8*))
%Li=getelementptr inbounds i8,i8*%Lh,i64 16
%Lj=bitcast i8*%Li to i8*(i8*,i8*)**
%Lk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Lj,align 8
%Ll=bitcast i8*%Lh to i8**
%Lm=load i8*,i8**%Ll,align 8
%Ln=load i8*,i8**%w,align 8
%Lo=getelementptr inbounds i8,i8*%Ln,i64 8
%Lp=bitcast i8*%Lo to i8**
%Lq=load i8*,i8**%Lp,align 8
%Lr=call fastcc i8*%Lk(i8*inreg%Lm,i8*inreg%Lq)
store i8*%Lr,i8**%v,align 8
%Ls=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Lt=getelementptr inbounds i8,i8*%Ls,i64 16
%Lu=bitcast i8*%Lt to i8*(i8*,i8*)**
%Lv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Lu,align 8
%Lw=bitcast i8*%Ls to i8**
%Lx=load i8*,i8**%Lw,align 8
%Ly=call fastcc i8*%Lv(i8*inreg%Lx,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*))
%Lz=getelementptr inbounds i8,i8*%Ly,i64 16
%LA=bitcast i8*%Lz to i8*(i8*,i8*)**
%LB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%LA,align 8
%LC=bitcast i8*%Ly to i8**
%LD=load i8*,i8**%LC,align 8
%LE=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%LF=getelementptr inbounds i8,i8*%LE,i64 40
%LG=bitcast i8*%LF to i8**
%LH=load i8*,i8**%LG,align 8
%LI=call fastcc i8*%LB(i8*inreg%LD,i8*inreg%LH)
store i8*%LI,i8**%w,align 8
%LJ=call i8*@sml_alloc(i32 inreg 52)#0
%LK=getelementptr inbounds i8,i8*%LJ,i64 -4
%LL=bitcast i8*%LK to i32*
store i32 1342177328,i32*%LL,align 4
store i8*%LJ,i8**%A,align 8
%LM=getelementptr inbounds i8,i8*%LJ,i64 4
%LN=bitcast i8*%LM to i32*
store i32 0,i32*%LN,align 1
%LO=bitcast i8*%LJ to i32*
store i32%K1,i32*%LO,align 4
%LP=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%LQ=getelementptr inbounds i8,i8*%LJ,i64 8
%LR=bitcast i8*%LQ to i8**
store i8*%LP,i8**%LR,align 8
%LS=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%LT=getelementptr inbounds i8,i8*%LJ,i64 16
%LU=bitcast i8*%LT to i8**
store i8*%LS,i8**%LU,align 8
%LV=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%LW=getelementptr inbounds i8,i8*%LJ,i64 24
%LX=bitcast i8*%LW to i8**
store i8*%LV,i8**%LX,align 8
%LY=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%LZ=getelementptr inbounds i8,i8*%LJ,i64 32
%L0=bitcast i8*%LZ to i8**
store i8*%LY,i8**%L0,align 8
%L1=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%L2=getelementptr inbounds i8,i8*%LJ,i64 40
%L3=bitcast i8*%L2 to i8**
store i8*%L1,i8**%L3,align 8
%L4=getelementptr inbounds i8,i8*%LJ,i64 48
%L5=bitcast i8*%L4 to i32*
store i32 62,i32*%L5,align 4
%L6=call i8*@sml_alloc(i32 inreg 20)#0
%L7=bitcast i8*%L6 to i32*
%L8=getelementptr inbounds i8,i8*%L6,i64 -4
%L9=bitcast i8*%L8 to i32*
store i32 1342177296,i32*%L9,align 4
%Ma=getelementptr inbounds i8,i8*%L6,i64 4
%Mb=bitcast i8*%Ma to i32*
store i32 0,i32*%Mb,align 1
store i32 2,i32*%L7,align 4
%Mc=load i8*,i8**%A,align 8
%Md=getelementptr inbounds i8,i8*%L6,i64 8
%Me=bitcast i8*%Md to i8**
store i8*%Mc,i8**%Me,align 8
%Mf=getelementptr inbounds i8,i8*%L6,i64 16
%Mg=bitcast i8*%Mf to i32*
store i32 2,i32*%Mg,align 4
ret i8*%L6
Mh:
%Mi=getelementptr inbounds i8,i8*%L,i64 8
%Mj=bitcast i8*%Mi to i8**
%Mk=load i8*,i8**%Mj,align 8
store i8*%Mk,i8**%w,align 8
%Ml=getelementptr inbounds i8,i8*%Mk,i64 16
%Mm=bitcast i8*%Ml to i8**
%Mn=load i8*,i8**%Mm,align 8
store i8*%Mn,i8**%x,align 8
%Mo=getelementptr inbounds i8,i8*%Mk,i64 24
%Mp=bitcast i8*%Mo to i8**
%Mq=load i8*,i8**%Mp,align 8
store i8*%Mq,i8**%y,align 8
%Mr=getelementptr inbounds i8,i8*%Mk,i64 8
%Ms=bitcast i8*%Mr to i8**
%Mt=load i8*,i8**%Ms,align 8
%Mu=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%Mt)
store i8*%Mu,i8**%v,align 8
%Mv=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Mw=getelementptr inbounds i8,i8*%Mv,i64 16
%Mx=bitcast i8*%Mw to i8*(i8*,i8*)**
%My=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Mx,align 8
%Mz=bitcast i8*%Mv to i8**
%MA=load i8*,i8**%Mz,align 8
%MB=call fastcc i8*%My(i8*inreg%MA,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@I,i64 0,i32 2)to i8*))
%MC=getelementptr inbounds i8,i8*%MB,i64 16
%MD=bitcast i8*%MC to i8*(i8*,i8*)**
%ME=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%MD,align 8
%MF=bitcast i8*%MB to i8**
%MG=load i8*,i8**%MF,align 8
%MH=bitcast i8**%w to i8***
%MI=load i8**,i8***%MH,align 8
store i8*null,i8**%w,align 8
%MJ=load i8*,i8**%MI,align 8
%MK=call fastcc i8*%ME(i8*inreg%MG,i8*inreg%MJ)
store i8*%MK,i8**%w,align 8
%ML=call i8*@sml_alloc(i32 inreg 36)#0
%MM=getelementptr inbounds i8,i8*%ML,i64 -4
%MN=bitcast i8*%MM to i32*
store i32 1342177312,i32*%MN,align 4
store i8*%ML,i8**%z,align 8
%MO=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%MP=bitcast i8*%ML to i8**
store i8*%MO,i8**%MP,align 8
%MQ=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%MR=getelementptr inbounds i8,i8*%ML,i64 8
%MS=bitcast i8*%MR to i8**
store i8*%MQ,i8**%MS,align 8
%MT=load i8*,i8**%x,align 8
store i8*null,i8**%x,align 8
%MU=getelementptr inbounds i8,i8*%ML,i64 16
%MV=bitcast i8*%MU to i8**
store i8*%MT,i8**%MV,align 8
%MW=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%MX=getelementptr inbounds i8,i8*%ML,i64 24
%MY=bitcast i8*%MX to i8**
store i8*%MW,i8**%MY,align 8
%MZ=getelementptr inbounds i8,i8*%ML,i64 32
%M0=bitcast i8*%MZ to i32*
store i32 15,i32*%M0,align 4
%M1=call i8*@sml_alloc(i32 inreg 20)#0
%M2=getelementptr inbounds i8,i8*%M1,i64 -4
%M3=bitcast i8*%M2 to i32*
store i32 1342177296,i32*%M3,align 4
%M4=bitcast i8*%M1 to i64*
store i64 0,i64*%M4,align 4
%M5=load i8*,i8**%z,align 8
%M6=getelementptr inbounds i8,i8*%M1,i64 8
%M7=bitcast i8*%M6 to i8**
store i8*%M5,i8**%M7,align 8
%M8=getelementptr inbounds i8,i8*%M1,i64 16
%M9=bitcast i8*%M8 to i32*
store i32 2,i32*%M9,align 4
ret i8*%M1
}
define internal fastcc i8*@_SMLLN14FFICompilation14compileJoinExpE_341(i32 inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
u:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%s,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%e,align 8
%r=load i8*,i8**%d,align 8
br label%s
s:
%t=phi i8*[%r,%p],[%b,%u]
%v=phi i8*[%q,%p],[%c,%u]
store i8*null,i8**%e,align 8
store i8*%v,i8**%g,align 8
store i8*null,i8**%d,align 8
store i8*%t,i8**%h,align 8
%w=bitcast i8*%v to i8***
%x=load i8**,i8***%w,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%i,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%j,align 8
%E=getelementptr inbounds i8,i8*%v,i64 16
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%k,align 8
%H=icmp eq i32%a,0
%I=call fastcc i8*@_SMLFN10ReifyUtils7MonoVarE(i8*inreg%t)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to void(...)**
%L=load void(...)*,void(...)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%d,align 8
%O=load i8*,i8**%h,align 8
br i1%H,label%U,label%P
P:
%Q=call fastcc i8*@_SMLFN18UserLevelPrimitive24REIFY__exInfo__naturalJoinE(i8*inreg%O)
%R=bitcast void(...)*%L to i8*(i8*,i8*)*
%S=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%T=call fastcc i8*%R(i8*inreg%S,i8*inreg%Q)
br label%Z
U:
%V=call fastcc i8*@_SMLFN18UserLevelPrimitive19REIFY__exInfo__extendE(i8*inreg%O)
%W=bitcast void(...)*%L to i8*(i8*,i8*)*
%X=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Y=call fastcc i8*%W(i8*inreg%X,i8*inreg%V)
br label%Z
Z:
%aa=phi i8*[%Y,%U],[%T,%P]
store i8*%aa,i8**%d,align 8
%ab=load i8*,i8**%g,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 8
%ad=bitcast i8*%ac to i8***
%ae=load i8**,i8***%ad,align 8
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%af)
store i8*%ag,i8**%f,align 8
%ah=call i8*@sml_alloc(i32 inreg 20)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
store i8*%ah,i8**%e,align 8
%ak=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=load i8*,i8**%i,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ah,i64 16
%aq=bitcast i8*%ap to i32*
store i32 3,i32*%aq,align 4
%ar=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
%av=getelementptr inbounds i8,i8*%au,i64 8
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
%ay=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%ax)
store i8*%ay,i8**%g,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**%f,align 8
%aC=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=load i8*,i8**%j,align 8
%aF=getelementptr inbounds i8,i8*%az,i64 8
%aG=bitcast i8*%aF to i8**
store i8*%aE,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%az,i64 16
%aI=bitcast i8*%aH to i32*
store i32 3,i32*%aI,align 4
%aJ=load i8*,i8**%h,align 8
%aK=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%aJ)
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*)**
%aN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%m,align 8
%aQ=load i8*,i8**%h,align 8
%aR=call fastcc i8*@_SMLFN10ReifyUtils7InstVarE(i8*inreg%aQ)
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%l,align 8
%aX=load i8*,i8**%h,align 8
%aY=call fastcc i8*@_SMLFN18UserLevelPrimitive26REIFY__exInfo__toReifiedTermE(i8*inreg%aX)
store i8*%aY,i8**%g,align 8
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a5=getelementptr inbounds i8,i8*%aZ,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aZ,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
%a9=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ba=call fastcc i8*%aU(i8*inreg%a9,i8*inreg%aZ)
%bb=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%bc=call fastcc i8*%aN(i8*inreg%bb,i8*inreg%ba)
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8*(i8*,i8*)**
%bf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%be,align 8
%bg=bitcast i8*%bc to i8**
%bh=load i8*,i8**%bg,align 8
%bi=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bj=call fastcc i8*%bf(i8*inreg%bh,i8*inreg%bi)
store i8*%bj,i8**%e,align 8
%bk=load i8*,i8**%h,align 8
%bl=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%bk)
%bm=getelementptr inbounds i8,i8*%bl,i64 16
%bn=bitcast i8*%bm to i8*(i8*,i8*)**
%bo=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bn,align 8
%bp=bitcast i8*%bl to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%l,align 8
%br=load i8*,i8**%h,align 8
%bs=call fastcc i8*@_SMLFN10ReifyUtils7InstVarE(i8*inreg%br)
%bt=getelementptr inbounds i8,i8*%bs,i64 16
%bu=bitcast i8*%bt to i8*(i8*,i8*)**
%bv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bu,align 8
%bw=bitcast i8*%bs to i8**
%bx=load i8*,i8**%bw,align 8
store i8*%bx,i8**%i,align 8
%by=load i8*,i8**%h,align 8
%bz=call fastcc i8*@_SMLFN18UserLevelPrimitive26REIFY__exInfo__toReifiedTermE(i8*inreg%by)
store i8*%bz,i8**%g,align 8
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177296,i32*%bC,align 4
%bD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bE=bitcast i8*%bA to i8**
store i8*%bD,i8**%bE,align 8
%bF=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bG=getelementptr inbounds i8,i8*%bA,i64 8
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bA,i64 16
%bJ=bitcast i8*%bI to i32*
store i32 3,i32*%bJ,align 4
%bK=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bL=call fastcc i8*%bv(i8*inreg%bK,i8*inreg%bA)
%bM=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bN=call fastcc i8*%bo(i8*inreg%bM,i8*inreg%bL)
%bO=getelementptr inbounds i8,i8*%bN,i64 16
%bP=bitcast i8*%bO to i8*(i8*,i8*)**
%bQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bP,align 8
%bR=bitcast i8*%bN to i8**
%bS=load i8*,i8**%bR,align 8
%bT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bU=call fastcc i8*%bQ(i8*inreg%bS,i8*inreg%bT)
store i8*%bU,i8**%f,align 8
%bV=load i8*,i8**%h,align 8
%bW=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%bV)
%bX=getelementptr inbounds i8,i8*%bW,i64 16
%bY=bitcast i8*%bX to i8*(i8*,i8*)**
%bZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bY,align 8
%b0=bitcast i8*%bW to i8**
%b1=load i8*,i8**%b0,align 8
%b2=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b3=call fastcc i8*%bZ(i8*inreg%b1,i8*inreg%b2)
%b4=getelementptr inbounds i8,i8*%b3,i64 16
%b5=bitcast i8*%b4 to i8*(i8*,i8*)**
%b6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b5,align 8
%b7=bitcast i8*%b3 to i8**
%b8=load i8*,i8**%b7,align 8
store i8*%b8,i8**%d,align 8
%b9=load i8*,i8**%h,align 8
%ca=call fastcc i8*@_SMLFN10ReifyUtils4PairE(i8*inreg%b9)
%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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ch=call fastcc i8*%cd(i8*inreg%cf,i8*inreg%cg)
%ci=getelementptr inbounds i8,i8*%ch,i64 16
%cj=bitcast i8*%ci to i8*(i8*,i8*)**
%ck=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cj,align 8
%cl=bitcast i8*%ch to i8**
%cm=load i8*,i8**%cl,align 8
%cn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%co=call fastcc i8*%ck(i8*inreg%cm,i8*inreg%cn)
%cp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cq=call fastcc i8*%b6(i8*inreg%cp,i8*inreg%co)
store i8*%cq,i8**%d,align 8
%cr=load i8*,i8**%h,align 8
%cs=call fastcc i8*@_SMLFN10ReifyUtils7InstVarE(i8*inreg%cr)
%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
store i8*%cx,i8**%f,align 8
%cy=load i8*,i8**%h,align 8
%cz=call fastcc i8*@_SMLFN18UserLevelPrimitive28REIFY__exInfo__reifiedTermToMLE(i8*inreg%cy)
store i8*%cz,i8**%e,align 8
%cA=call i8*@sml_alloc(i32 inreg 20)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177296,i32*%cC,align 4
%cD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cE=bitcast i8*%cA to i8**
store i8*%cD,i8**%cE,align 8
%cF=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cG=getelementptr inbounds i8,i8*%cA,i64 8
%cH=bitcast i8*%cG to i8**
store i8*%cF,i8**%cH,align 8
%cI=getelementptr inbounds i8,i8*%cA,i64 16
%cJ=bitcast i8*%cI to i32*
store i32 3,i32*%cJ,align 4
%cK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cL=call fastcc i8*%cv(i8*inreg%cK,i8*inreg%cA)
store i8*%cL,i8**%e,align 8
%cM=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cN=call fastcc i8*@_SMLFN10ReifyUtils5ApplyE(i8*inreg%cM)
%cO=getelementptr inbounds i8,i8*%cN,i64 16
%cP=bitcast i8*%cO to i8*(i8*,i8*)**
%cQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cP,align 8
%cR=bitcast i8*%cN to i8**
%cS=load i8*,i8**%cR,align 8
%cT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cU=call fastcc i8*%cQ(i8*inreg%cS,i8*inreg%cT)
%cV=getelementptr inbounds i8,i8*%cU,i64 16
%cW=bitcast i8*%cV to i8*(i8*,i8*)**
%cX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cW,align 8
%cY=bitcast i8*%cU to i8**
%cZ=load i8*,i8**%cY,align 8
%c0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c1=call fastcc i8*%cX(i8*inreg%cZ,i8*inreg%c0)
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
ret i8*%c3
}
define internal fastcc i8*@_SMLLN14FFICompilation11compileDeclE_342(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%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%dq
i32 2,label%dq
i32 3,label%dq
i32 4,label%dr
i32 5,label%dq
i32 0,label%dq
i32 6,label%dq
i32 7,label%cV
i32 8,label%ce
i32 9,label%bt
i32 10,label%az
i32 11,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,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@Z,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
store i8*%K,i8**%b,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%c,align 8
%O=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
%U=call fastcc i8*%R(i8*inreg%T,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Y,i64 0,i32 2)to i8*))
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8*(i8*,i8*)**
%X=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%W,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
%aa=bitcast i8**%b to i8***
%ab=load i8**,i8***%aa,align 8
store i8*null,i8**%b,align 8
%ac=load i8*,i8**%ab,align 8
%ad=call fastcc i8*%X(i8*inreg%Z,i8*inreg%ac)
store i8*%ad,i8**%b,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
store i8*%ae,i8**%d,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=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=bitcast i8*%ao to i32*
%aq=getelementptr inbounds i8,i8*%ao,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
%as=getelementptr inbounds i8,i8*%ao,i64 4
%at=bitcast i8*%as to i32*
store i32 0,i32*%at,align 1
store i32 11,i32*%ap,align 4
%au=load i8*,i8**%d,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 16
%ay=bitcast i8*%ax to i32*
store i32 2,i32*%ay,align 4
ret i8*%ao
az:
%aA=getelementptr inbounds i8,i8*%l,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%b,align 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%c,align 8
%aF=getelementptr inbounds i8,i8*%aC,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%d,align 8
%aI=getelementptr inbounds i8,i8*%aC,i64 16
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%e,align 8
%aL=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i8*(i8*,i8*)**
%aO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aN,align 8
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
%aR=call fastcc i8*%aO(i8*inreg%aQ,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*))
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
%aX=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 24
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=call fastcc i8*%aU(i8*inreg%aW,i8*inreg%a0)
store i8*%a1,i8**%b,align 8
%a2=call i8*@sml_alloc(i32 inreg 36)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177312,i32*%a4,align 4
store i8*%a2,i8**%f,align 8
%a5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a8=getelementptr inbounds i8,i8*%a2,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 16
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%be=getelementptr inbounds i8,i8*%a2,i64 24
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a2,i64 32
%bh=bitcast i8*%bg to i32*
store i32 15,i32*%bh,align 4
%bi=call i8*@sml_alloc(i32 inreg 20)#0
%bj=bitcast i8*%bi to i32*
%bk=getelementptr inbounds i8,i8*%bi,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177296,i32*%bl,align 4
%bm=getelementptr inbounds i8,i8*%bi,i64 4
%bn=bitcast i8*%bm to i32*
store i32 0,i32*%bn,align 1
store i32 10,i32*%bj,align 4
%bo=load i8*,i8**%f,align 8
%bp=getelementptr inbounds i8,i8*%bi,i64 8
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bi,i64 16
%bs=bitcast i8*%br to i32*
store i32 2,i32*%bs,align 4
ret i8*%bi
bt:
%bu=getelementptr inbounds i8,i8*%l,i64 8
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
%bx=bitcast i8*%bw to i8**
%by=bitcast i8*%bw to i8***
%bz=load i8**,i8***%by,align 8
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%d,align 8
%bB=getelementptr inbounds i8,i8*%bw,i64 8
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%e,align 8
%bE=load i8*,i8**%bx,align 8
%bF=getelementptr inbounds i8,i8*%bE,i64 8
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
%bI=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%bH)
store i8*%bI,i8**%b,align 8
%bJ=call i8*@sml_alloc(i32 inreg 20)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177296,i32*%bL,align 4
store i8*%bJ,i8**%c,align 8
%bM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bP=getelementptr inbounds i8,i8*%bJ,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bJ,i64 16
%bS=bitcast i8*%bR to i32*
store i32 3,i32*%bS,align 4
%bT=call i8*@sml_alloc(i32 inreg 20)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177296,i32*%bV,align 4
store i8*%bT,i8**%b,align 8
%bW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bX=bitcast i8*%bT to i8**
store i8*%bW,i8**%bX,align 8
%bY=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bZ=getelementptr inbounds i8,i8*%bT,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bT,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 3,i32*%b2,align 4
%b3=call i8*@sml_alloc(i32 inreg 20)#0
%b4=bitcast i8*%b3 to i32*
%b5=getelementptr inbounds i8,i8*%b3,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=getelementptr inbounds i8,i8*%b3,i64 4
%b8=bitcast i8*%b7 to i32*
store i32 0,i32*%b8,align 1
store i32 9,i32*%b4,align 4
%b9=load i8*,i8**%b,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 16
%cd=bitcast i8*%cc to i32*
store i32 2,i32*%cd,align 4
ret i8*%b3
ce:
%cf=getelementptr inbounds i8,i8*%l,i64 8
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
%ci=bitcast i8*%ch to i8**
%cj=load i8*,i8**%ci,align 8
store i8*%cj,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%ch,i64 8
%cl=bitcast i8*%ck to i8**
%cm=load i8*,i8**%cl,align 8
store i8*%cm,i8**%d,align 8
%cn=getelementptr inbounds i8,i8*%ch,i64 16
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,align 8
store i8*%cp,i8**%e,align 8
%cq=getelementptr inbounds i8,i8*%ch,i64 24
%cr=bitcast i8*%cq to i8**
%cs=load i8*,i8**%cr,align 8
%ct=call fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_343(i8*inreg%cs)
store i8*%ct,i8**%b,align 8
%cu=call i8*@sml_alloc(i32 inreg 36)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177312,i32*%cw,align 4
store i8*%cu,i8**%f,align 8
%cx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cy=bitcast i8*%cu to i8**
store i8*%cx,i8**%cy,align 8
%cz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cA=getelementptr inbounds i8,i8*%cu,i64 8
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cD=getelementptr inbounds i8,i8*%cu,i64 16
%cE=bitcast i8*%cD to i8**
store i8*%cC,i8**%cE,align 8
%cF=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cG=getelementptr inbounds i8,i8*%cu,i64 24
%cH=bitcast i8*%cG to i8**
store i8*%cF,i8**%cH,align 8
%cI=getelementptr inbounds i8,i8*%cu,i64 32
%cJ=bitcast i8*%cI to i32*
store i32 15,i32*%cJ,align 4
%cK=call i8*@sml_alloc(i32 inreg 20)#0
%cL=bitcast i8*%cK to i32*
%cM=getelementptr inbounds i8,i8*%cK,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177296,i32*%cN,align 4
%cO=getelementptr inbounds i8,i8*%cK,i64 4
%cP=bitcast i8*%cO to i32*
store i32 0,i32*%cP,align 1
store i32 8,i32*%cL,align 4
%cQ=load i8*,i8**%f,align 8
%cR=getelementptr inbounds i8,i8*%cK,i64 8
%cS=bitcast i8*%cR to i8**
store i8*%cQ,i8**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cK,i64 16
%cU=bitcast i8*%cT to i32*
store i32 2,i32*%cU,align 4
ret i8*%cK
cV:
%cW=getelementptr inbounds i8,i8*%l,i64 8
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=getelementptr inbounds i8,i8*%cY,i64 8
%c0=bitcast i8*%cZ to i8**
%c1=load i8*,i8**%c0,align 8
store i8*%c1,i8**%c,align 8
%c2=bitcast i8*%cY to i8**
%c3=load i8*,i8**%c2,align 8
%c4=call fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_343(i8*inreg%c3)
store i8*%c4,i8**%b,align 8
%c5=call i8*@sml_alloc(i32 inreg 20)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177296,i32*%c7,align 4
store i8*%c5,i8**%d,align 8
%c8=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%db=getelementptr inbounds i8,i8*%c5,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64 16
%de=bitcast i8*%dd to i32*
store i32 3,i32*%de,align 4
%df=call i8*@sml_alloc(i32 inreg 20)#0
%dg=bitcast i8*%df to i32*
%dh=getelementptr inbounds i8,i8*%df,i64 -4
%di=bitcast i8*%dh to i32*
store i32 1342177296,i32*%di,align 4
%dj=getelementptr inbounds i8,i8*%df,i64 4
%dk=bitcast i8*%dj to i32*
store i32 0,i32*%dk,align 1
store i32 7,i32*%dg,align 4
%dl=load i8*,i8**%d,align 8
%dm=getelementptr inbounds i8,i8*%df,i64 8
%dn=bitcast i8*%dm to i8**
store i8*%dl,i8**%dn,align 8
%do=getelementptr inbounds i8,i8*%df,i64 16
%dp=bitcast i8*%do to i32*
store i32 2,i32*%dp,align 4
ret i8*%df
dq:
ret i8*%l
dr:
%ds=getelementptr inbounds i8,i8*%l,i64 8
%dt=bitcast i8*%ds to i8**
%du=load i8*,i8**%dt,align 8
%dv=getelementptr inbounds i8,i8*%du,i64 8
%dw=bitcast i8*%dv to i8**
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%c,align 8
%dy=bitcast i8*%du to i8**
%dz=load i8*,i8**%dy,align 8
%dA=call fastcc i8*@_SMLLN14FFICompilation10compileExpE_340(i8*inreg%dz)
store i8*%dA,i8**%b,align 8
%dB=call i8*@sml_alloc(i32 inreg 20)#0
%dC=getelementptr inbounds i8,i8*%dB,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177296,i32*%dD,align 4
store i8*%dB,i8**%d,align 8
%dE=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dF=bitcast i8*%dB to i8**
store i8*%dE,i8**%dF,align 8
%dG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dH=getelementptr inbounds i8,i8*%dB,i64 8
%dI=bitcast i8*%dH to i8**
store i8*%dG,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dB,i64 16
%dK=bitcast i8*%dJ to i32*
store i32 3,i32*%dK,align 4
%dL=call i8*@sml_alloc(i32 inreg 20)#0
%dM=bitcast i8*%dL to i32*
%dN=getelementptr inbounds i8,i8*%dL,i64 -4
%dO=bitcast i8*%dN to i32*
store i32 1342177296,i32*%dO,align 4
%dP=getelementptr inbounds i8,i8*%dL,i64 4
%dQ=bitcast i8*%dP to i32*
store i32 0,i32*%dQ,align 1
store i32 4,i32*%dM,align 4
%dR=load i8*,i8**%d,align 8
%dS=getelementptr inbounds i8,i8*%dL,i64 8
%dT=bitcast i8*%dS to i8**
store i8*%dR,i8**%dT,align 8
%dU=getelementptr inbounds i8,i8*%dL,i64 16
%dV=bitcast i8*%dU to i32*
store i32 2,i32*%dV,align 4
ret i8*%dL
}
define internal fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_343(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%h=getelementptr inbounds i8,i8*%g,i64 16
%i=bitcast i8*%h to i8*(i8*,i8*)**
%j=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i,align 8
%k=bitcast i8*%g to i8**
%l=load i8*,i8**%k,align 8
%m=call fastcc i8*%j(i8*inreg%l,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ab,i64 0,i32 2)to i8*))
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
%s=load i8*,i8**%b,align 8
%t=tail call fastcc i8*%p(i8*inreg%r,i8*inreg%s)
ret i8*%t
}
define internal fastcc i8*@_SMLLN14FFICompilation7compileE_438(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14FFICompilation11compileDeclE_342(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN14FFICompilation7compileE(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%h=getelementptr inbounds i8,i8*%g,i64 16
%i=bitcast i8*%h to i8*(i8*,i8*)**
%j=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i,align 8
%k=bitcast i8*%g to i8**
%l=load i8*,i8**%k,align 8
%m=call fastcc i8*%j(i8*inreg%l,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ac,i64 0,i32 2)to i8*))
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
%s=load i8*,i8**%b,align 8
%t=tail call fastcc i8*%p(i8*inreg%r,i8*inreg%s)
ret i8*%t
}
define internal fastcc i8*@_SMLLN14FFICompilation11toSimpleExpE_443(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_448(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation13explodeRecordE_233(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation22recordLabelMapFromListE_450(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation22recordLabelMapFromListE_239(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation8hasFunTyE_454(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN14FFICompilation8hasFunTyE_254(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_459(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_460(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10stubExportE_307(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_461(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10stubExportE_309(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL5stubs_462(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5stubs_312(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL6retTys_463(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL6retTys_314(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_464(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
%f=getelementptr inbounds i8,i8*%e,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
ret i8*%h
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubExportE_465(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_466(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_467(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10stubImportE_324(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10stubImportE_468(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10stubImportE_326(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL9ffiArgTys_469(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*@_SMLLN14FFICompilation10stubImportE_470(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10stubImportE_331(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_473(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_386(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_474(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_388(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_475(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_390(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_476(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_392(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_477(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_394(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_478(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_396(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_479(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_399(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_480(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_401(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_481(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_403(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_482(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_405(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_483(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_407(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_484(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_409(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation10compileExpE_485(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation10compileExpE_411(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation11compileDeclE_491(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation11compileDeclE_429(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation11compileDeclE_492(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation11compileDeclE_431(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_493(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_434(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_494(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation15compileFunBindsE_436(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation7compileE_500(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14FFICompilation7compileE_438(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14FFICompilation7compileE_501(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14FFICompilation7compileE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
