@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN14ElaborateError17DuplicateUserTvarE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError21DifferentEqOfSameTvarE=external local_unnamed_addr global i8*
@_SMLZN14ElaborateError25UserTvarScopedAtOuterDeclE=external local_unnamed_addr global i8*
@_SMLZN3Loc5nolocE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:33.19(887)\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*)*@_SMLLN13UserTvarScope10toTvarListE_297 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10toTvarListE_632 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:59.30(1806)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope15bindKindedTvarsE_305 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope15bindKindedTvarsE_635 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope9bindTvarsE_311 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9bindTvarsE_637 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope6extendE_317 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope6extendE_639 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN13UserTvarScope10sortTyrowsE_321 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10sortTyrowsE_641 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:93.6(2946)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:118.6(3875)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:125.6(4145)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:147.6(5118)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:152.6(5274)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:245.6(9118)\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:183.6(6394)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:238.6(8856)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:289.37(10843)\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:315.6(11746)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:372.6(14329)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:400.6(15251)\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope12decideValDecE_519 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideValDecE_664 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*)*@_SMLLN13UserTvarScope13decideFvalDecE_523 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope13decideFvalDecE_665 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:428.6(16403)\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*)*@_SMLLN13UserTvarScope10decideSpecE_539 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideSpecE_678 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*)*@_SMLLN13UserTvarScope10decideSpecE_541 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideSpecE_679 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:436.6(16672)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope12decideStrexpE_555 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideStrexpE_682 to void(...)*),i32 -2147483647}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope12decideStrexpE_557 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideStrexpE_683 to void(...)*),i32 -2147483647}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:464.6(17687)\00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope12decideStrdecE_560 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideStrdecE_684 to void(...)*),i32 -2147483647}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope12decideStrdecE_562 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideStrdecE_685 to void(...)*),i32 -2147483647}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope12decideStrdecE_564 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideStrdecE_686 to void(...)*),i32 -2147483647}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:478.6(18347)\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*)*@_SMLLN13UserTvarScope12decideTopdecE_567 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideTopdecE_689 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*)*@_SMLLN13UserTvarScope12decideTopdecE_569 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideTopdecE_690 to void(...)*),i32 -2147483647}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:491.6(18821)\00"}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope12decideTopdecE_572 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideTopdecE_691 to void(...)*),i32 -2147483647}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:513.6(19543)\00"}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_583 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_692 to void(...)*),i32 -2147483647}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:523.6(20004)\00"}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:535.26(20472)\00"}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[74x i8]}><{[4x i8]zeroinitializer,i32 -2147483574,[74x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:542.16(20725)\00"}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:549.6(20924)\00"}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:561.6(21256)\00"}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope11decidePistrE_607 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11decidePistrE_700 to void(...)*),i32 -2147483647}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:582.6(22095)\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilePhases/elaborate/main/UserTvarScope.sml:589.6(22358)\00"}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN13UserTvarScope14decidePitopdecE_611 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14decidePitopdecE_703 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*)*@_SMLLN13UserTvarScope18decideInterfaceDecE_613 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope18decideInterfaceDecE_704 to void(...)*),i32 -2147483647}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN13UserTvarScope15decideInterfaceE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope15decideInterfaceE_705 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*)*@_SMLFN13UserTvarScope6decideE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope6decideE_706 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN13UserTvarScope6decideE=local_unnamed_addr constant i8*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*)
@Y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN13UserTvarScope12decideSigexpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideSigexpE_707 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN13UserTvarScope12decideSigexpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Y,i64 0,i32 2)to i8*)
@_SMLZN13UserTvarScope15decideInterfaceE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@W,i64 0,i32 2)to i8*)
@Z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN13UserTvarScope15decidePitopdecsE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope15decidePitopdecsE_708 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN13UserTvarScope15decidePitopdecsE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Z,i64 0,i32 2)to i8*)
@_SML_ftab74d3e1f884542a97_UserTvarScope=external global i8
@aa=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN10ListSorter4sortE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN11RecordLabel7compareE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN14UserErrorUtils12enqueueErrorE(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*@_SMLFN4List3appE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3revE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List4findE(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*@_SMLFN4List5foldrE(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*@_SMLFN4List6filterE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6Symbol8eqSymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv8inDomainE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv9unionWithE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main67a5b28ff146c353_Loc()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main44ca35c4c731682b_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main60e750412e2bb4fe_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main92a9fd50084b022c_ListSorter()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main872d7bd4cbb24e12_UserErrorUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf1ae86f5f6e7b5ce_ElaborateError_ppg()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_load67a5b28ff146c353_Loc(i8*)local_unnamed_addr
declare void@_SML_load44ca35c4c731682b_Symbol(i8*)local_unnamed_addr
declare void@_SML_load60e750412e2bb4fe_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_load92a9fd50084b022c_ListSorter(i8*)local_unnamed_addr
declare void@_SML_load872d7bd4cbb24e12_UserErrorUtils(i8*)local_unnamed_addr
declare void@_SML_loadf1ae86f5f6e7b5ce_ElaborateError_ppg(i8*)local_unnamed_addr
define private void@_SML_tabb74d3e1f884542a97_UserTvarScope()#3{
unreachable
}
define void@_SML_load74d3e1f884542a97_UserTvarScope(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@aa,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@aa,align 1
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load67a5b28ff146c353_Loc(i8*%a)#0
tail call void@_SML_load44ca35c4c731682b_Symbol(i8*%a)#0
tail call void@_SML_load60e750412e2bb4fe_RecordLabel(i8*%a)#0
tail call void@_SML_load92a9fd50084b022c_ListSorter(i8*%a)#0
tail call void@_SML_load872d7bd4cbb24e12_UserErrorUtils(i8*%a)#0
tail call void@_SML_loadf1ae86f5f6e7b5ce_ElaborateError_ppg(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb74d3e1f884542a97_UserTvarScope,i8*@_SML_ftab74d3e1f884542a97_UserTvarScope,i8*null)#0
ret void
}
define void@_SML_main74d3e1f884542a97_UserTvarScope()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@aa,align 1
%b=and i8%a,2
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 3,i8*@aa,align 1
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main67a5b28ff146c353_Loc()#2
tail call void@_SML_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_main60e750412e2bb4fe_RecordLabel()#2
tail call void@_SML_main92a9fd50084b022c_ListSorter()#2
tail call void@_SML_main872d7bd4cbb24e12_UserErrorUtils()#2
tail call void@_SML_mainf1ae86f5f6e7b5ce_ElaborateError_ppg()#2
br label%d
}
define internal fastcc i32@_SMLLN13UserTvarScope6memberE_281(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%a to i8**
%i=bitcast i8*%b to i8**
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
%m=bitcast i8**%d to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%j],[%h,%g]
%q=phi i8**[%l,%j],[%i,%g]
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=load i8*,i8**%p,align 8
store i8*%v,i8**%d,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%w,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=tail call fastcc i32@_SMLFN6Symbol8eqSymbolE(i8*inreg%w)
ret i32%G
}
define internal fastcc i8*@_SMLLN13UserTvarScope9singletonE_284(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%c,align 8
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%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
store i8*%j,i8**%b,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=load i8*,i8**%d,align 8
store i8*null,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
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=load i8*,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*null,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
ret i8*%t
}
define internal fastcc void@_SMLLN13UserTvarScope7checkEqE_287(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%b,align 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%k,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=icmp eq i32%p,%s
br i1%w,label%x,label%y
x:
ret void
y:
%z=load i8*,i8**@_SMLZN14ElaborateError21DifferentEqOfSameTvarE,align 8
store i8*%z,i8**%d,align 8
%A=call i8*@sml_alloc(i32 inreg 12)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177288,i32*%C,align 4
store i8*%A,i8**%e,align 8
%D=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i32*
store i32 1,i32*%G,align 4
%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**%b,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=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@a,i64 0,i32 2,i64 0),i8**%N,align 8
%O=load i8*,i8**%e,align 8
store i8*null,i8**%e,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
%W=load i8*,i8**%c,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%b,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
tail call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%T)
ret void
}
define internal fastcc i32@_SMLLN13UserTvarScope5unionE_289(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%a to i8**
%i=bitcast i8*%b to i8**
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
%m=bitcast i8**%d to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%j],[%h,%g]
%q=phi i8**[%l,%j],[%i,%g]
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=load i8*,i8**%p,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
%C=load i8*,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%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=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=tail call fastcc i32@_SMLFN6Symbol8eqSymbolE(i8*inreg%z)
ret i32%J
}
define internal fastcc i8*@_SMLLN13UserTvarScope5unionE_290(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%r,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=getelementptr inbounds i8,i8*%o,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%f,align 8
%A=call fastcc i8*@_SMLFN4List4findE(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**%h,align 8
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177288,i32*%I,align 4
store i8*%G,i8**%i,align 8
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177304,i32*%P,align 4
%Q=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%N,i64 8
%T=bitcast i8*%S to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN13UserTvarScope5unionE_289 to void(...)*),void(...)**%T,align 8
%U=getelementptr inbounds i8,i8*%N,i64 16
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope5unionE_627 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%N,i64 24
%X=bitcast i8*%W to i32*
store i32 -2147483647,i32*%X,align 4
%Y=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%Z=call fastcc i8*%D(i8*inreg%Y,i8*inreg%N)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=bitcast i8**%g to i8****
%ag=load i8***,i8****%af,align 8
store i8*null,i8**%g,align 8
%ah=load i8**,i8***%ag,align 8
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*%ac(i8*inreg%ae,i8*inreg%ai)
%ak=icmp eq i8*%aj,null
br i1%ak,label%al,label%aw
al:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,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=load i8*,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=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
ret i8*%am
aw:
store i8*null,i8**%c,align 8
%ax=bitcast i8*%aj to i32***
%ay=load i32**,i32***%ax,align 8
%az=load i32*,i32**%ay,align 8
%aA=load i32,i32*%az,align 4
%aB=call i8*@sml_alloc(i32 inreg 28)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177304,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%aB,i64 12
%aF=bitcast i8*%aE to i32*
store i32 0,i32*%aF,align 1
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=bitcast i8*%aB to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 8
%aJ=bitcast i8*%aI to i32*
store i32%aA,i32*%aJ,align 4
%aK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aL=getelementptr inbounds i8,i8*%aB,i64 16
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aB,i64 24
%aO=bitcast i8*%aN to i32*
store i32 5,i32*%aO,align 4
call fastcc void@_SMLLN13UserTvarScope7checkEqE_287(i8*inreg%aB)
%aP=load i8*,i8**%f,align 8
ret i8*%aP
}
define internal fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%a)unnamed_addr#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%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,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
store i8*%n,i8**%c,align 8
%o=call i8*@sml_alloc(i32 inreg 12)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177288,i32*%q,align 4
store i8*%o,i8**%d,align 8
%r=load i8*,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 i32*
store i32 1,i32*%u,align 4
%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**%d,align 8
store i8*null,i8**%d,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope5unionE_290 to void(...)*),void(...)**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope5unionE_290 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%v,i64 24
%F=bitcast i8*%E to i32*
store i32 -2147483647,i32*%F,align 4
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=call fastcc i8*%l(i8*inreg%G,i8*inreg%v)
%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=bitcast i8**%b to i8***
%O=load i8**,i8***%N,align 8
%P=load i8*,i8**%O,align 8
%Q=call fastcc i8*%K(i8*inreg%M,i8*inreg%P)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
%W=load i8*,i8**%b,align 8
%X=getelementptr inbounds i8,i8*%W,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
%aa=tail call fastcc i8*%T(i8*inreg%V,i8*inreg%Z)
ret i8*%aa
}
define internal fastcc i32@_SMLLN13UserTvarScope8setminusE_293(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%a to i8***
%i=bitcast i8*%b to i8**
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
%m=bitcast i8**%d to i8****
%n=load i8***,i8****%m,align 8
br label%o
o:
%p=phi i8***[%n,%j],[%h,%g]
%q=phi i8**[%l,%j],[%i,%g]
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=load i8**,i8***%p,align 8
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%w,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,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=load i8*,i8**%d,align 8
%G=getelementptr inbounds i8,i8*%A,i64 8
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%A,i64 16
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
%K=tail call fastcc i32@_SMLFN6Symbol8eqSymbolE(i8*inreg%A)
ret i32%K
}
define internal fastcc i32@_SMLLN13UserTvarScope8setminusE_294(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*@_SMLFN4List6existsE(i32 inreg 1,i32 inreg 8)
%l=getelementptr inbounds i8,i8*%k,i64 16
%m=bitcast i8*%l to i8*(i8*,i8*)**
%n=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m,align 8
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%e,align 8
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
store i8*%q,i8**%f,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
%A=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN13UserTvarScope8setminusE_293 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8setminusE_629 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=call fastcc i8*%n(i8*inreg%I,i8*inreg%x)
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
%P=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=getelementptr inbounds i8,i8*%R,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=call fastcc i8*%M(i8*inreg%O,i8*inreg%U)
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=tail call fastcc i32@_SMLFN4Bool3notE(i32 inreg%X)
ret i32%Y
}
define internal fastcc i8*@_SMLLN13UserTvarScope10toTvarListE_297(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%b,align 8
%g=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%g,i8**%c,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**%d,align 8
%k=bitcast i8*%h to i8**
store i8*null,i8**%k,align 8
%l=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%h,i64 16
%p=bitcast i8*%o to i32*
store i32 3,i32*%p,align 4
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
store i8*%q,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%q,i64 4
%u=bitcast i8*%t to i32*
store i32 0,i32*%u,align 1
%v=bitcast i8*%q to i32*
store i32 1,i32*%v,align 4
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%q,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%q,i64 16
%A=bitcast i8*%z to i32*
store i32 2,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%b,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
ret i8*%B
}
define internal fastcc i8*@_SMLLN13UserTvarScope10toTvarListE_299(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*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%i=getelementptr inbounds i8,i8*%h,i64 16
%j=bitcast i8*%i to i8*(i8*,i8*)**
%k=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j,align 8
%l=bitcast i8*%h to i8**
%m=load i8*,i8**%l,align 8
%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}>*@b,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*@_SMLFN4List3revE(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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
%B=load i8*,i8**%c,align 8
%C=tail call fastcc i8*%q(i8*inreg%B,i8*inreg%A)
ret i8*%C
}
define internal fastcc i8*@_SMLLN13UserTvarScope8toBtvEnvE_302(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=bitcast i8*%o to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=getelementptr inbounds i8,i8*%t,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=load i8*,i8**%q,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%e,align 8
%D=getelementptr inbounds i8,i8*%o,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%f,align 8
%G=call fastcc i8*@_SMLFN9SymbolEnv8inDomainE(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
store i8*%L,i8**%h,align 8
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
%P=load i8*,i8**%f,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=load i8*,i8**%d,align 8
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i8**
store i8*%R,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
%W=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%X=call fastcc i8*%J(i8*inreg%W,i8*inreg%M)
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
%aa=icmp eq i32%Z,0
br i1%aa,label%aJ,label%ab
ab:
%ac=bitcast i8**%g to i8***
%ad=load i8**,i8***%ac,align 8
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%g,align 8
%af=load i8*,i8**@_SMLZN14ElaborateError17DuplicateUserTvarE,align 8
store i8*%af,i8**%h,align 8
%ag=call i8*@sml_alloc(i32 inreg 12)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177288,i32*%ai,align 4
store i8*%ag,i8**%i,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i32*
store i32 1,i32*%am,align 4
%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
store i8*%an,i8**%c,align 8
%aq=load i8*,i8**%h,align 8
store i8*null,i8**%h,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*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@c,i64 0,i32 2,i64 0),i8**%at,align 8
%au=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%av=getelementptr inbounds i8,i8*%an,i64 16
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%an,i64 24
%ay=bitcast i8*%ax to i32*
store i32 7,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
%aC=load i8*,i8**%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**%c,align 8
store i8*null,i8**%c,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
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%az)
br label%aK
aJ:
store i8*null,i8**%c,align 8
store i8*null,i8**%g,align 8
br label%aK
aK:
%aL=call fastcc i8*@_SMLFN9SymbolEnv6insertE(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
store i8*%aQ,i8**%g,align 8
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
store i8*%aR,i8**%c,align 8
%aU=getelementptr inbounds i8,i8*%aR,i64 4
%aV=bitcast i8*%aU to i32*
store i32 0,i32*%aV,align 1
%aW=bitcast i8*%aR to i32*
store i32%v,i32*%aW,align 4
%aX=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 2,i32*%a1,align 4
%a2=call i8*@sml_alloc(i32 inreg 28)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177304,i32*%a4,align 4
%a5=load i8*,i8**%f,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,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**%c,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 16
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a2,i64 24
%be=bitcast i8*%bd to i32*
store i32 7,i32*%be,align 4
%bf=load i8*,i8**%g,align 8
%bg=tail call fastcc i8*%aO(i8*inreg%bf,i8*inreg%a2)
ret i8*%bg
}
define internal fastcc i8*@_SMLLN13UserTvarScope15bindKindedTvarsE_305(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*@_SMLLN13UserTvarScope15bindKindedTvarsE_307(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%g,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%n,label%m
m:
call void@sml_check(i32 inreg%k)
br label%n
n:
%o=call fastcc i8*@_SMLFN9SymbolEnv9unionWithE(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}>*@d,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
store i8*%z,i8**%j,align 8
%A=load i8*,i8**%h,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**%i,align 8
%E=call i8*@sml_alloc(i32 inreg 20)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
%H=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%O)
%P=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%P)
%Q=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
%R=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%R)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%E,i8**%c,align 8
%S=load atomic i32,i32*@sml_check_flag unordered,align 4
%T=icmp eq i32%S,0
br i1%T,label%Z,label%U
U:
call void@sml_check(i32 inreg%S)
%V=load i8*,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%V,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
br label%Z
Z:
%aa=phi i8*[%Y,%U],[%J,%n]
store i8*%aa,i8**%d,align 8
%ab=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8*(i8*,i8*)**
%ae=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ad,align 8
%af=bitcast i8*%ab to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%e,align 8
%ah=call i8*@sml_alloc(i32 inreg 12)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177288,i32*%aj,align 4
store i8*%ah,i8**%f,align 8
%ak=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to i32*
store i32 1,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 28)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177304,i32*%aq,align 4
%ar=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8toBtvEnvE_302 to void(...)*),void(...)**%au,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 16
%aw=bitcast i8*%av to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8toBtvEnvE_302 to void(...)*),void(...)**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 24
%ay=bitcast i8*%ax to i32*
store i32 -2147483647,i32*%ay,align 4
%az=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aA=call fastcc i8*%ae(i8*inreg%az,i8*inreg%ao)
%aB=getelementptr inbounds i8,i8*%aA,i64 16
%aC=bitcast i8*%aB to i8*(i8*,i8*)**
%aD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aC,align 8
%aE=bitcast i8*%aA to i8**
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%d,align 8
%aG=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%aH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aI=call fastcc i8*%aD(i8*inreg%aH,i8*inreg%aG)
%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=bitcast i8**%c to i8***
%aP=load i8**,i8***%aO,align 8
%aQ=load i8*,i8**%aP,align 8
%aR=call fastcc i8*%aL(i8*inreg%aN,i8*inreg%aQ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%O)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%P)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%R)
store i8*%aR,i8**%g,align 8
%aS=bitcast i8**%h to i8***
%aT=load i8**,i8***%aS,align 8
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%h,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
%aY=load i8*,i8**%h,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=load i8*,i8**%g,align 8
%a1=getelementptr inbounds i8,i8*%aV,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aV,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%a5=load i8*,i8**%j,align 8
%a6=tail call fastcc i8*%x(i8*inreg%a5,i8*inreg%aV)
ret i8*%a6
}
define internal fastcc i8*@_SMLLN13UserTvarScope15bindKindedTvarsE_308(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*)*@_SMLLN13UserTvarScope15bindKindedTvarsE_307 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*)*@_SMLLN13UserTvarScope15bindKindedTvarsE_307 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*@_SMLLN13UserTvarScope15bindKindedTvarsE_309(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*)*@_SMLLN13UserTvarScope15bindKindedTvarsE_308 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*)*@_SMLLN13UserTvarScope15bindKindedTvarsE_308 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*@_SMLLN13UserTvarScope9bindTvarsE_311(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%e,i8**%c,align 8
%f=call i8*@sml_alloc(i32 inreg 20)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177296,i32*%h,align 4
store i8*%f,i8**%d,align 8
%i=bitcast i8*%f to i8**
store i8*null,i8**%i,align 8
%j=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k=getelementptr inbounds i8,i8*%f,i64 8
%l=bitcast i8*%k to i8**
store i8*%j,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%f,i64 16
%n=bitcast i8*%m to i32*
store i32 3,i32*%n,align 4
%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=getelementptr inbounds i8,i8*%o,i64 4
%s=bitcast i8*%r to i32*
store i32 0,i32*%s,align 1
%t=bitcast i8*%o to i32*
store i32 1,i32*%t,align 4
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%o,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%o,i64 16
%y=bitcast i8*%x to i32*
store i32 2,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
%C=load i8*,i8**%b,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%c,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
ret i8*%z
}
define internal fastcc i8*@_SMLLN13UserTvarScope9bindTvarsE_313(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d 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*@_SMLLN13UserTvarScope15bindKindedTvarsE_309(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*%r(i8*inreg%t,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%d,align 8
%E=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*%H(i8*inreg%J,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*))
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8*(i8*,i8*)**
%N=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%M,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
%Q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%R=call fastcc i8*%N(i8*inreg%P,i8*inreg%Q)
%S=load i8*,i8**%d,align 8
%T=tail call fastcc i8*%B(i8*inreg%S,i8*inreg%R)
ret i8*%T
}
define internal fastcc i8*@_SMLLN13UserTvarScope9bindTvarsE_314(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*)*@_SMLLN13UserTvarScope9bindTvarsE_313 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*)*@_SMLLN13UserTvarScope9bindTvarsE_313 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*@_SMLLN13UserTvarScope9bindTvarsE_315(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*)*@_SMLLN13UserTvarScope9bindTvarsE_314 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*)*@_SMLLN13UserTvarScope9bindTvarsE_314 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*@_SMLLN13UserTvarScope6extendE_317(i8*inreg%a)#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%q,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%m,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%c,align 8
%z=call fastcc i8*@_SMLFN9SymbolEnv6insertE(i32 inreg 1,i32 inreg 8)
%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
store i8*%E,i8**%f,align 8
%F=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%F,i8**%d,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
store i8*%G,i8**%e,align 8
%J=bitcast i8*%G to i8**
store i8*null,i8**%J,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%G,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**%g,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 1,i32*%U,align 4
%V=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%d,align 8
%ad=getelementptr inbounds i8,i8*%aa,i64 4
%ae=bitcast i8*%ad to i32*
store i32 0,i32*%ae,align 1
%af=bitcast i8*%aa to i32*
store i32%s,i32*%af,align 4
%ag=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%aa,i64 16
%ak=bitcast i8*%aj to i32*
store i32 2,i32*%ak,align 4
%al=call i8*@sml_alloc(i32 inreg 28)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177304,i32*%an,align 4
%ao=load i8*,i8**%c,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%b,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=load i8*,i8**%d,align 8
%au=getelementptr inbounds i8,i8*%al,i64 16
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%al,i64 24
%ax=bitcast i8*%aw to i32*
store i32 7,i32*%ax,align 4
%ay=load i8*,i8**%f,align 8
%az=tail call fastcc i8*%C(i8*inreg%ay,i8*inreg%al)
ret i8*%az
}
define internal fastcc i32@_SMLLN13UserTvarScope10sortTyrowsE_321(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=tail call fastcc i32@_SMLFN11RecordLabel7compareE(i8*inreg%r)
ret i32%B
}
define internal fastcc i8*@_SMLLN13UserTvarScope10sortTyrowsE_323(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*@_SMLFN10ListSorter4sortE(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}>*@g,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*@_SMLLN13UserTvarScope10tyvarsListE_325(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=load i8*,i8**%n,align 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
store i8*null,i8**%c,align 8
%w=bitcast i8**%n to i8***
%x=load i8**,i8***%w,align 8
%y=load i8*,i8**%x,align 8
%z=bitcast i8*%o to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*%v(i8*inreg%y,i8*inreg%A)
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%C)
ret i8*%M
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_326(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*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%l=getelementptr inbounds i8,i8*%k,i64 16
%m=bitcast i8*%l to i8*(i8*,i8*)**
%n=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m,align 8
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%e,align 8
%q=bitcast i8**%d to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call i8*@sml_alloc(i32 inreg 12)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
store i8*%t,i8**%f,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
%D=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsListE_325 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsListE_325 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 24
%K=bitcast i8*%J to i32*
store i32 -2147483647,i32*%K,align 4
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*%n(i8*inreg%L,i8*inreg%A)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*%P(i8*inreg%R,i8*inreg null)
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%S to i8**
%X=load i8*,i8**%W,align 8
%Y=load i8*,i8**%c,align 8
%Z=tail call fastcc i8*%V(i8*inreg%X,i8*inreg%Y)
ret i8*%Z
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(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*)*@_SMLLN13UserTvarScope10tyvarsListE_326 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*)*@_SMLLN13UserTvarScope10tyvarsListE_326 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*@_SMLLN13UserTvarScope10tyvarsTvarE_329(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**%c,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*%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 fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%g,align 8
%C=bitcast i8**%f to i8***
%D=load i8**,i8***%C,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%f,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,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=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=call fastcc i8*%z(i8*inreg%P,i8*inreg%F)
%R=icmp eq i8*%Q,null
br i1%R,label%S,label%ae
S:
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
%W=load i8*,i8**%c,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%e,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=tail call fastcc i8*@_SMLLN13UserTvarScope9singletonE_284(i8*inreg%T)
ret i8*%ad
ae:
%af=bitcast i8*%Q to i32**
%ag=load i32*,i32**%af,align 8
%ah=load i32,i32*%ag,align 4
%ai=call i8*@sml_alloc(i32 inreg 28)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177304,i32*%ak,align 4
%al=getelementptr inbounds i8,i8*%ai,i64 12
%am=bitcast i8*%al to i32*
store i32 0,i32*%am,align 1
%an=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ao=bitcast i8*%ai to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 8
%aq=bitcast i8*%ap to i32*
store i32%ah,i32*%aq,align 4
%ar=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%as=getelementptr inbounds i8,i8*%ai,i64 16
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ai,i64 24
%av=bitcast i8*%au to i32*
store i32 5,i32*%av,align 4
call fastcc void@_SMLLN13UserTvarScope7checkEqE_287(i8*inreg%ai)
ret i8*null
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsTvarE_330(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*)*@_SMLLN13UserTvarScope10tyvarsTvarE_329 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*)*@_SMLLN13UserTvarScope10tyvarsTvarE_329 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*@_SMLLN13UserTvarScope8tyvarsTyE_345(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%p,i8*inreg%s)
ret i8*%t
}
define internal fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_346(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_347(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_348(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope16tyvarsKindedTvarE_333(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope14tyvarsTvarKindE_350(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%p,i8*inreg%s)
ret i8*%t
}
define internal fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%a,i8*inreg%b)unnamed_addr#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**%f,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=bitcast i8*%l to i32*
%o=load i32,i32*%n,align 4
switch i32%o,label%p[
i32 7,label%cX
i32 3,label%cY
i32 0,label%cX
i32 5,label%cp
i32 1,label%bT
i32 6,label%bn
i32 2,label%aY
i32 4,label%H
]
p:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%q=load i8*,i8**@_SMLZ5Match,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**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@h,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**%d,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**%e,align 8
%L=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%M=call fastcc i8*@_SMLLN13UserTvarScope15bindKindedTvarsE_309(i8*inreg%L)
%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**%e,align 8
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*%P(i8*inreg%R,i8*inreg%V)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
%ac=bitcast i8**%e to i8***
%ad=load i8**,i8***%ac,align 8
%ae=load i8*,i8**%ad,align 8
%af=call fastcc i8*%Z(i8*inreg%ab,i8*inreg%ae)
store i8*%af,i8**%c,align 8
%ag=call i8*@sml_alloc(i32 inreg 12)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177288,i32*%ai,align 4
store i8*%ag,i8**%d,align 8
%aj=load i8*,i8**%c,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i32*
store i32 1,i32*%am,align 4
%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**%d,align 8
store i8*null,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_348 to void(...)*),void(...)**%at,align 8
%au=getelementptr inbounds i8,i8*%an,i64 16
%av=bitcast i8*%au to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_348 to void(...)*),void(...)**%av,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 24
%ax=bitcast i8*%aw to i32*
store i32 -2147483647,i32*%ax,align 4
%ay=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%an)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
%aE=load i8**,i8***%ac,align 8
%aF=load i8*,i8**%aE,align 8
%aG=call fastcc i8*%aB(i8*inreg%aD,i8*inreg%aF)
store i8*%aG,i8**%d,align 8
%aH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aM=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%aL,i8*inreg%aK)
store i8*%aM,i8**%c,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=load i8*,i8**%c,align 8
%aT=getelementptr inbounds i8,i8*%aN,i64 8
%aU=bitcast i8*%aT to i8**
store i8*%aS,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aN,i64 16
%aW=bitcast i8*%aV to i32*
store i32 3,i32*%aW,align 4
%aX=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%aN)
ret i8*%aX
aY:
%aZ=getelementptr inbounds i8,i8*%l,i64 8
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
store i8*%a1,i8**%d,align 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=load i8*,i8**%f,align 8
%a5=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%a4,i8*inreg%a3)
store i8*%a5,i8**%c,align 8
%a6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a7=getelementptr inbounds i8,i8*%a6,i64 8
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bb=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%ba,i8*inreg%a9)
store i8*%bb,i8**%d,align 8
%bc=call i8*@sml_alloc(i32 inreg 20)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177296,i32*%be,align 4
%bf=load i8*,i8**%c,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=load i8*,i8**%d,align 8
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bc,i64 16
%bl=bitcast i8*%bk to i32*
store i32 3,i32*%bl,align 4
%bm=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%bc)
ret i8*%bm
bn:
%bo=getelementptr inbounds i8,i8*%l,i64 8
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%c,align 8
%br=call i8*@sml_alloc(i32 inreg 12)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177288,i32*%bt,align 4
store i8*%br,i8**%d,align 8
%bu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%br,i64 8
%bx=bitcast i8*%bw to i32*
store i32 1,i32*%bx,align 4
%by=call i8*@sml_alloc(i32 inreg 28)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177304,i32*%bA,align 4
%bB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%by,i64 8
%bE=bitcast i8*%bD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_347 to void(...)*),void(...)**%bE,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 16
%bG=bitcast i8*%bF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_347 to void(...)*),void(...)**%bG,align 8
%bH=getelementptr inbounds i8,i8*%by,i64 24
%bI=bitcast i8*%bH to i32*
store i32 -2147483647,i32*%bI,align 4
%bJ=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%by)
%bK=getelementptr inbounds i8,i8*%bJ,i64 16
%bL=bitcast i8*%bK to i8*(i8*,i8*)**
%bM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bL,align 8
%bN=bitcast i8*%bJ to i8**
%bO=load i8*,i8**%bN,align 8
%bP=bitcast i8**%c to i8***
%bQ=load i8**,i8***%bP,align 8
%bR=load i8*,i8**%bQ,align 8
%bS=tail call fastcc i8*%bM(i8*inreg%bO,i8*inreg%bR)
ret i8*%bS
bT:
%bU=getelementptr inbounds i8,i8*%l,i64 8
%bV=bitcast i8*%bU to i8**
%bW=load i8*,i8**%bV,align 8
store i8*%bW,i8**%c,align 8
%bX=call i8*@sml_alloc(i32 inreg 12)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177288,i32*%bZ,align 4
store i8*%bX,i8**%d,align 8
%b0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b1=bitcast i8*%bX to i8**
store i8*%b0,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bX,i64 8
%b3=bitcast i8*%b2 to i32*
store i32 1,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 28)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177304,i32*%b6,align 4
%b7=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b4,i64 8
%ca=bitcast i8*%b9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_346 to void(...)*),void(...)**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 16
%cc=bitcast i8*%cb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_346 to void(...)*),void(...)**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b4,i64 24
%ce=bitcast i8*%cd to i32*
store i32 -2147483647,i32*%ce,align 4
%cf=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%b4)
%cg=getelementptr inbounds i8,i8*%cf,i64 16
%ch=bitcast i8*%cg to i8*(i8*,i8*)**
%ci=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ch,align 8
%cj=bitcast i8*%cf to i8**
%ck=load i8*,i8**%cj,align 8
%cl=bitcast i8**%c to i8***
%cm=load i8**,i8***%cl,align 8
%cn=load i8*,i8**%cm,align 8
%co=tail call fastcc i8*%ci(i8*inreg%ck,i8*inreg%cn)
ret i8*%co
cp:
%cq=getelementptr inbounds i8,i8*%l,i64 8
%cr=bitcast i8*%cq to i8**
%cs=load i8*,i8**%cr,align 8
store i8*%cs,i8**%c,align 8
%ct=call i8*@sml_alloc(i32 inreg 12)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177288,i32*%cv,align 4
store i8*%ct,i8**%d,align 8
%cw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cx=bitcast i8*%ct to i8**
store i8*%cw,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%ct,i64 8
%cz=bitcast i8*%cy to i32*
store i32 1,i32*%cz,align 4
%cA=call i8*@sml_alloc(i32 inreg 28)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177304,i32*%cC,align 4
%cD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cE=bitcast i8*%cA to i8**
store i8*%cD,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cA,i64 8
%cG=bitcast i8*%cF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_345 to void(...)*),void(...)**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cA,i64 16
%cI=bitcast i8*%cH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8tyvarsTyE_345 to void(...)*),void(...)**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cA,i64 24
%cK=bitcast i8*%cJ to i32*
store i32 -2147483647,i32*%cK,align 4
%cL=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%cA)
%cM=getelementptr inbounds i8,i8*%cL,i64 16
%cN=bitcast i8*%cM to i8*(i8*,i8*)**
%cO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cN,align 8
%cP=bitcast i8*%cL to i8**
%cQ=load i8*,i8**%cP,align 8
store i8*%cQ,i8**%d,align 8
%cR=bitcast i8**%c to i8***
%cS=load i8**,i8***%cR,align 8
store i8*null,i8**%c,align 8
%cT=load i8*,i8**%cS,align 8
%cU=call fastcc i8*@_SMLLN13UserTvarScope10sortTyrowsE_323(i8*inreg%cT)
%cV=load i8*,i8**%d,align 8
%cW=tail call fastcc i8*%cO(i8*inreg%cV,i8*inreg%cU)
ret i8*%cW
cX:
ret i8*null
cY:
%cZ=getelementptr inbounds i8,i8*%l,i64 8
%c0=bitcast i8*%cZ to i8**
%c1=load i8*,i8**%c0,align 8
store i8*%c1,i8**%c,align 8
%c2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c3=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsTvarE_330(i8*inreg%c2)
%c4=getelementptr inbounds i8,i8*%c3,i64 16
%c5=bitcast i8*%c4 to i8*(i8*,i8*)**
%c6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c5,align 8
%c7=bitcast i8*%c3 to i8**
%c8=load i8*,i8**%c7,align 8
%c9=load i8*,i8**%c,align 8
%da=tail call fastcc i8*%c6(i8*inreg%c8,i8*inreg%c9)
ret i8*%da
}
define internal fastcc i8*@_SMLLN13UserTvarScope16tyvarsKindedTvarE_333(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
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**%g,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%m,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%g,align 8
%l=load i8*,i8**%f,align 8
br label%m
m:
%n=phi i8*[%l,%j],[%a,%o]
%p=phi i8*[%k,%j],[%b,%o]
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t)
%u=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
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*%n,i8**%d,align 8
store i8*%s,i8**%c,align 8
%w=load atomic i32,i32*@sml_check_flag unordered,align 4
%x=icmp eq i32%w,0
br i1%x,label%A,label%y
y:
call void@sml_check(i32 inreg%w)
%z=load i8*,i8**%c,align 8
br label%A
A:
%B=phi i8*[%z,%y],[%s,%m]
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
switch i32%D,label%E[
i32 1,label%aH
i32 0,label%W
]
E:
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%F=load i8*,i8**@_SMLZ5Match,align 8
store i8*%F,i8**%c,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
store i8*%G,i8**%d,align 8
%J=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@i,i64 0,i32 2,i64 0),i8**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 60)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177336,i32*%R,align 4
%S=getelementptr inbounds i8,i8*%P,i64 56
%T=bitcast i8*%S to i32*
store i32 1,i32*%T,align 4
%U=load i8*,i8**%d,align 8
%V=bitcast i8*%P to i8**
store i8*%U,i8**%V,align 8
call void@sml_raise(i8*inreg%P)#1
unreachable
W:
%X=getelementptr inbounds i8,i8*%B,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%c,align 8
%aa=call i8*@sml_alloc(i32 inreg 12)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177288,i32*%ac,align 4
store i8*%aa,i8**%e,align 8
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%aa,i64 8
%ag=bitcast i8*%af to i32*
store i32 1,i32*%ag,align 4
%ah=call i8*@sml_alloc(i32 inreg 28)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177304,i32*%aj,align 4
%ak=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14tyvarsTvarKindE_350 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%ah,i64 16
%ap=bitcast i8*%ao to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14tyvarsTvarKindE_350 to void(...)*),void(...)**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ah,i64 24
%ar=bitcast i8*%aq to i32*
store i32 -2147483647,i32*%ar,align 4
%as=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%ah)
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%d,align 8
%ay=bitcast i8**%c to i8***
%az=load i8**,i8***%ay,align 8
store i8*null,i8**%c,align 8
%aA=load i8*,i8**%az,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=call fastcc i8*@_SMLLN13UserTvarScope10sortTyrowsE_323(i8*inreg%aD)
%aF=load i8*,i8**%d,align 8
%aG=tail call fastcc i8*%av(i8*inreg%aF,i8*inreg%aE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
br label%aI
aH:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
br label%aI
aI:
%aJ=phi i8*[%aG,%W],[null,%aH]
ret i8*%aJ
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_361(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_352(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_362(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_352(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_363(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**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
%l=icmp eq i8*%j,null
br i1%l,label%m,label%n
m:
ret i8*null
n:
%o=bitcast i8*%j to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8**%c to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 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=tail call fastcc i8*%v(i8*inreg%x,i8*inreg%p)
ret i8*%y
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_364(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_352(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_365(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_352(i8*inreg%p,i8*inreg%s)
ret i8*%t
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_366(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_352(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_352(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 1,label%a9
i32 3,label%aW
i32 2,label%ao
i32 0,label%I
]
q:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%r=load i8*,i8**@_SMLZ5Match,align 8
store i8*%r,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@j,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 60)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177336,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 56
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
I:
%J=getelementptr inbounds i8,i8*%m,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%c,align 8
%M=call i8*@sml_alloc(i32 inreg 12)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177288,i32*%O,align 4
store i8*%M,i8**%d,align 8
%P=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 28)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%T,i64 8
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_366 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 16
%ab=bitcast i8*%aa to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_366 to void(...)*),void(...)**%ab,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 24
%ad=bitcast i8*%ac to i32*
store i32 -2147483647,i32*%ad,align 4
%ae=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%T)
%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=bitcast i8**%c to i8***
%al=load i8**,i8***%ak,align 8
%am=load i8*,i8**%al,align 8
%an=tail call fastcc i8*%ah(i8*inreg%aj,i8*inreg%am)
ret i8*%an
ao:
%ap=getelementptr inbounds i8,i8*%m,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%c,align 8
%as=call i8*@sml_alloc(i32 inreg 12)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177288,i32*%au,align 4
store i8*%as,i8**%d,align 8
%av=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to i32*
store i32 1,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 28)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177304,i32*%aB,align 4
%aC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_365 to void(...)*),void(...)**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 16
%aH=bitcast i8*%aG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_365 to void(...)*),void(...)**%aH,align 8
%aI=getelementptr inbounds i8,i8*%az,i64 24
%aJ=bitcast i8*%aI to i32*
store i32 -2147483647,i32*%aJ,align 4
%aK=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%az)
%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**%d,align 8
%aQ=bitcast i8**%c to i8***
%aR=load i8**,i8***%aQ,align 8
store i8*null,i8**%c,align 8
%aS=load i8*,i8**%aR,align 8
%aT=call fastcc i8*@_SMLLN13UserTvarScope10sortTyrowsE_323(i8*inreg%aS)
%aU=load i8*,i8**%d,align 8
%aV=tail call fastcc i8*%aN(i8*inreg%aU,i8*inreg%aT)
ret i8*%aV
aW:
%aX=getelementptr inbounds i8,i8*%m,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%c,align 8
%a0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a1=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsTvarE_330(i8*inreg%a0)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
%a7=load i8*,i8**%c,align 8
%a8=tail call fastcc i8*%a4(i8*inreg%a6,i8*inreg%a7)
ret i8*%a8
a9:
%ba=getelementptr inbounds i8,i8*%m,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%e,align 8
%bd=call i8*@sml_alloc(i32 inreg 12)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177288,i32*%bf,align 4
store i8*%bd,i8**%c,align 8
%bg=load i8*,i8**%f,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%bd,i64 8
%bj=bitcast i8*%bi to i32*
store i32 1,i32*%bj,align 4
%bk=call i8*@sml_alloc(i32 inreg 28)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177304,i32*%bm,align 4
%bn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_361 to void(...)*),void(...)**%bq,align 8
%br=getelementptr inbounds i8,i8*%bk,i64 16
%bs=bitcast i8*%br to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_361 to void(...)*),void(...)**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bk,i64 24
%bu=bitcast i8*%bt to i32*
store i32 -2147483647,i32*%bu,align 4
%bv=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%bk)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
%bB=load i8*,i8**%e,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 8
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
%bF=call fastcc i8*%by(i8*inreg%bA,i8*inreg%bE)
store i8*%bF,i8**%c,align 8
%bG=call i8*@sml_alloc(i32 inreg 12)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177288,i32*%bI,align 4
store i8*%bG,i8**%d,align 8
%bJ=load i8*,i8**%f,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bG,i64 8
%bM=bitcast i8*%bL to i32*
store i32 1,i32*%bM,align 4
%bN=call i8*@sml_alloc(i32 inreg 28)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177304,i32*%bP,align 4
%bQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bN,i64 8
%bT=bitcast i8*%bS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_362 to void(...)*),void(...)**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bN,i64 16
%bV=bitcast i8*%bU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_362 to void(...)*),void(...)**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bN,i64 24
%bX=bitcast i8*%bW to i32*
store i32 -2147483647,i32*%bX,align 4
%bY=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%bN)
store i8*%bY,i8**%d,align 8
%bZ=call i8*@sml_alloc(i32 inreg 12)#0
%b0=getelementptr inbounds i8,i8*%bZ,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177288,i32*%b1,align 4
store i8*%bZ,i8**%g,align 8
%b2=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b3=bitcast i8*%bZ to i8**
store i8*%b2,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bZ,i64 8
%b5=bitcast i8*%b4 to i32*
store i32 1,i32*%b5,align 4
%b6=call i8*@sml_alloc(i32 inreg 28)#0
%b7=getelementptr inbounds i8,i8*%b6,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177304,i32*%b8,align 4
%b9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ca=bitcast i8*%b6 to i8**
store i8*%b9,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b6,i64 8
%cc=bitcast i8*%cb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_363 to void(...)*),void(...)**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b6,i64 16
%ce=bitcast i8*%cd to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_363 to void(...)*),void(...)**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b6,i64 24
%cg=bitcast i8*%cf to i32*
store i32 -2147483647,i32*%cg,align 4
%ch=load i8*,i8**%e,align 8
%ci=getelementptr inbounds i8,i8*%ch,i64 16
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
%cl=call fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_363(i8*inreg%b9,i8*inreg%ck)
store i8*%cl,i8**%d,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**%c,align 8
store i8*null,i8**%c,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=load i8*,i8**%d,align 8
store i8*null,i8**%d,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=call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%cm)
store i8*%cw,i8**%c,align 8
%cx=call i8*@sml_alloc(i32 inreg 12)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177288,i32*%cz,align 4
store i8*%cx,i8**%d,align 8
%cA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cx,i64 8
%cD=bitcast i8*%cC to i32*
store i32 1,i32*%cD,align 4
%cE=call i8*@sml_alloc(i32 inreg 28)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177304,i32*%cG,align 4
%cH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cI=bitcast i8*%cE to i8**
store i8*%cH,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cE,i64 8
%cK=bitcast i8*%cJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_364 to void(...)*),void(...)**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cE,i64 16
%cM=bitcast i8*%cL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsFFItyE_364 to void(...)*),void(...)**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cE,i64 24
%cO=bitcast i8*%cN to i32*
store i32 -2147483647,i32*%cO,align 4
%cP=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%cE)
%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**%e,align 8
store i8*null,i8**%e,align 8
%cW=getelementptr inbounds i8,i8*%cV,i64 24
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=call fastcc i8*%cS(i8*inreg%cU,i8*inreg%cY)
store i8*%cZ,i8**%d,align 8
%c0=call i8*@sml_alloc(i32 inreg 20)#0
%c1=getelementptr inbounds i8,i8*%c0,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32 1342177296,i32*%c2,align 4
%c3=load i8*,i8**%c,align 8
%c4=bitcast i8*%c0 to i8**
store i8*%c3,i8**%c4,align 8
%c5=load i8*,i8**%d,align 8
%c6=getelementptr inbounds i8,i8*%c0,i64 8
%c7=bitcast i8*%c6 to i8**
store i8*%c5,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%c0,i64 16
%c9=bitcast i8*%c8 to i32*
store i32 3,i32*%c9,align 4
%da=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%c0)
ret i8*%da
}
define internal fastcc i8*@_SMLLN13UserTvarScope13tyvarsDatbindE_368(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**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
%l=getelementptr inbounds i8,i8*%j,i64 16
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
%o=icmp eq i8*%n,null
br i1%o,label%p,label%q
p:
ret i8*null
q:
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
%t=bitcast i8**%c to i8***
%u=load i8**,i8***%t,align 8
%v=load i8*,i8**%u,align 8
%w=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%v,i8*inreg%s)
ret i8*%w
}
define internal fastcc i8*@_SMLLN13UserTvarScope13tyvarsDatbindE_369(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN13UserTvarScope9bindTvarsE_315(i8*inreg%o)
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%s(i8*inreg%u,i8*inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%c,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**%d,align 8
%K=call i8*@sml_alloc(i32 inreg 12)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177288,i32*%M,align 4
store i8*%K,i8**%e,align 8
%N=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i32*
store i32 1,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=load i8*,i8**%e,align 8
store i8*null,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*)*@_SMLLN13UserTvarScope13tyvarsDatbindE_368 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*)*@_SMLLN13UserTvarScope13tyvarsDatbindE_368 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 -2147483647,i32*%ab,align 4
%ac=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%R)
%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
%ak=load i8*,i8**%aj,align 8
%al=tail call fastcc i8*%af(i8*inreg%ah,i8*inreg%ak)
ret i8*%al
}
define internal fastcc i8*@_SMLLN13UserTvarScope13tyvarsDatbindE_370(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*)*@_SMLLN13UserTvarScope13tyvarsDatbindE_369 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*)*@_SMLLN13UserTvarScope13tyvarsDatbindE_369 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*@_SMLLN13UserTvarScope13tyvarsDatbindE_371(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*)*@_SMLLN13UserTvarScope13tyvarsDatbindE_370 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*)*@_SMLLN13UserTvarScope13tyvarsDatbindE_370 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*@_SMLLN13UserTvarScope12tyvarsExbindE_374(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**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%d,align 8
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 0,label%G
i32 1,label%F
]
n:
call void@sml_matchcomp_bug()
%o=load i8*,i8**@_SMLZ5Match,align 8
store i8*%o,i8**%c,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
store i8*%p,i8**%d,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@k,i64 0,i32 2,i64 0),i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 60)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177336,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%y,i64 56
%C=bitcast i8*%B to i32*
store i32 1,i32*%C,align 4
%D=load i8*,i8**%d,align 8
%E=bitcast i8*%y to i8**
store i8*%D,i8**%E,align 8
call void@sml_raise(i8*inreg%y)#1
unreachable
F:
ret i8*null
G:
%H=getelementptr inbounds i8,i8*%j,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=icmp eq i8*%M,null
br i1%N,label%F,label%O
O:
%P=bitcast i8*%M to i8**
%Q=load i8*,i8**%P,align 8
%R=bitcast i8**%c to i8***
%S=load i8**,i8***%R,align 8
%T=load i8*,i8**%S,align 8
%U=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%T,i8*inreg%Q)
ret i8*%U
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_381(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%p,i8*inreg%s)
ret i8*%t
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(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**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 6,label%bI
i32 2,label%bI
i32 0,label%bI
i32 1,label%bj
i32 4,label%aM
i32 3,label%af
i32 5,label%G
]
o:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%c,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
store i8*%q,i8**%d,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@l,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%d,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
%H=getelementptr inbounds i8,i8*%k,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
%M=load i8*,i8**%e,align 8
%N=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%M,i8*inreg%L)
store i8*%N,i8**%c,align 8
%O=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%T=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%S,i8*inreg%R)
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%U)
ret i8*%ae
af:
%ag=getelementptr inbounds i8,i8*%k,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%d,align 8
%aj=getelementptr inbounds i8,i8*%ai,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=icmp eq i8*%al,null
br i1%am,label%at,label%an
an:
%ao=bitcast i8*%al to i8**
%ap=load i8*,i8**%ao,align 8
%aq=load i8*,i8**%e,align 8
%ar=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%aq,i8*inreg%ap)
%as=load i8*,i8**%d,align 8
br label%at
at:
%au=phi i8*[%as,%an],[%ai,%af]
%av=phi i8*[%ar,%an],[null,%af]
store i8*%av,i8**%c,align 8
store i8*null,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%au,i64 16
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aA=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%az,i8*inreg%ay)
store i8*%aA,i8**%d,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
%aE=load i8*,i8**%c,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=load i8*,i8**%d,align 8
%aH=getelementptr inbounds i8,i8*%aB,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aB,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
%aL=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%aB)
ret i8*%aL
aM:
%aN=getelementptr inbounds i8,i8*%k,i64 8
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%c,align 8
%aQ=call i8*@sml_alloc(i32 inreg 12)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177288,i32*%aS,align 4
store i8*%aQ,i8**%d,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=getelementptr inbounds i8,i8*%aQ,i64 8
%aW=bitcast i8*%aV to i32*
store i32 1,i32*%aW,align 4
%aX=call i8*@sml_alloc(i32 inreg 28)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177304,i32*%aZ,align 4
%a0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsPatE_381 to void(...)*),void(...)**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 16
%a5=bitcast i8*%a4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsPatE_381 to void(...)*),void(...)**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aX,i64 24
%a7=bitcast i8*%a6 to i32*
store i32 -2147483647,i32*%a7,align 4
%a8=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%aX)
%a9=getelementptr inbounds i8,i8*%a8,i64 16
%ba=bitcast i8*%a9 to i8*(i8*,i8*)**
%bb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ba,align 8
%bc=bitcast i8*%a8 to i8**
%bd=load i8*,i8**%bc,align 8
%be=load i8*,i8**%c,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 8
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
%bi=tail call fastcc i8*%bb(i8*inreg%bd,i8*inreg%bh)
ret i8*%bi
bj:
%bk=getelementptr inbounds i8,i8*%k,i64 8
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
store i8*%bm,i8**%d,align 8
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
%bp=load i8*,i8**%e,align 8
%bq=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%bp,i8*inreg%bo)
store i8*%bq,i8**%c,align 8
%br=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bs=getelementptr inbounds i8,i8*%br,i64 8
%bt=bitcast i8*%bs to i8**
%bu=load i8*,i8**%bt,align 8
%bv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bw=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(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
%bH=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%bx)
ret i8*%bH
bI:
ret i8*null
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_390(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d 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*@_SMLLN13UserTvarScope9bindTvarsE_315(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%x,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*%r(i8*inreg%t,i8*inreg%A)
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
%H=bitcast i8**%c to i8***
%I=load i8**,i8***%H,align 8
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*%E(i8*inreg%G,i8*inreg%J)
%L=load i8*,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%K,i8*inreg%O)
ret i8*%P
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_391(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_383(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_392(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_383(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_393(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_383(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_383(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%e,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%e,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=icmp eq i8*%n,null
br i1%p,label%L,label%q
q:
%r=bitcast i8*%n to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 12,label%L
i32 2,label%L
i32 14,label%L
i32 13,label%L
i32 11,label%c9
i32 1,label%cJ
i32 10,label%L
i32 0,label%bF
i32 4,label%a6
i32 7,label%M
i32 9,label%L
i32 5,label%L
i32 6,label%L
i32 8,label%L
i32 3,label%L
]
t:
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,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**%f,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
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@m,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%f,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
ret i8*null
M:
%N=getelementptr inbounds i8,i8*%n,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%f,align 8
%Q=call i8*@sml_alloc(i32 inreg 12)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177288,i32*%S,align 4
store i8*%Q,i8**%e,align 8
%T=load i8*,i8**%g,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 i32*
store i32 1,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_392 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_392 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 -2147483647,i32*%ah,align 4
%ai=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%X)
%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=bitcast i8**%f to i8***
%ap=load i8**,i8***%ao,align 8
%aq=load i8*,i8**%ap,align 8
%ar=call fastcc i8*%al(i8*inreg%an,i8*inreg%aq)
store i8*%ar,i8**%e,align 8
%as=call i8*@sml_alloc(i32 inreg 12)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177288,i32*%au,align 4
store i8*%as,i8**%h,align 8
%av=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to i32*
store i32 1,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 28)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177304,i32*%aB,align 4
%aC=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_393 to void(...)*),void(...)**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 16
%aH=bitcast i8*%aG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_393 to void(...)*),void(...)**%aH,align 8
%aI=getelementptr inbounds i8,i8*%az,i64 24
%aJ=bitcast i8*%aI to i32*
store i32 -2147483647,i32*%aJ,align 4
%aK=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%az)
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*)**
%aN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aR=getelementptr inbounds i8,i8*%aQ,i64 8
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
%aU=call fastcc i8*%aN(i8*inreg%aP,i8*inreg%aT)
store i8*%aU,i8**%f,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
%aY=load i8*,i8**%e,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=load i8*,i8**%f,align 8
%a1=getelementptr inbounds i8,i8*%aV,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aV,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%a5=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%aV)
ret i8*%a5
a6:
%a7=getelementptr inbounds i8,i8*%n,i64 8
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%e,align 8
%ba=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bb=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bb)
%bc=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bc)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%ba,i8**%c,align 8
%bd=call i8*@sml_alloc(i32 inreg 12)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177288,i32*%bf,align 4
store i8*%bd,i8**%d,align 8
%bg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%bd,i64 8
%bj=bitcast i8*%bi to i32*
store i32 1,i32*%bj,align 4
%bk=call i8*@sml_alloc(i32 inreg 28)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177304,i32*%bm,align 4
%bn=load i8*,i8**%d,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12tyvarsExbindE_374 to void(...)*),void(...)**%bq,align 8
%br=getelementptr inbounds i8,i8*%bk,i64 16
%bs=bitcast i8*%br to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12tyvarsExbindE_374 to void(...)*),void(...)**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bk,i64 24
%bu=bitcast i8*%bt to i32*
store i32 -2147483647,i32*%bu,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bb)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bc)
%bv=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%bk)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
%bB=bitcast i8**%e to i8***
%bC=load i8**,i8***%bB,align 8
%bD=load i8*,i8**%bC,align 8
%bE=tail call fastcc i8*%by(i8*inreg%bA,i8*inreg%bD)
ret i8*%bE
bF:
%bG=getelementptr inbounds i8,i8*%n,i64 8
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%f,align 8
%bJ=load i8*,i8**%g,align 8
%bK=call fastcc i8*@_SMLLN13UserTvarScope13tyvarsDatbindE_371(i8*inreg%bJ)
%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
%bQ=load i8*,i8**%f,align 8
%bR=getelementptr inbounds i8,i8*%bQ,i64 16
%bS=bitcast i8*%bR to i8**
%bT=load i8*,i8**%bS,align 8
%bU=call fastcc i8*%bN(i8*inreg%bP,i8*inreg%bT)
%bV=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%bU)
%bW=getelementptr inbounds i8,i8*%bV,i64 16
%bX=bitcast i8*%bW to i8*(i8*,i8*)**
%bY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bX,align 8
%bZ=bitcast i8*%bV to i8**
%b0=load i8*,i8**%bZ,align 8
%b1=bitcast i8**%f to i8***
%b2=load i8**,i8***%b1,align 8
%b3=load i8*,i8**%b2,align 8
%b4=call fastcc i8*%bY(i8*inreg%b0,i8*inreg%b3)
store i8*%b4,i8**%e,align 8
%b5=call i8*@sml_alloc(i32 inreg 12)#0
%b6=getelementptr inbounds i8,i8*%b5,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32 1342177288,i32*%b7,align 4
store i8*%b5,i8**%h,align 8
%b8=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b9=bitcast i8*%b5 to i8**
store i8*%b8,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b5,i64 8
%cb=bitcast i8*%ca to i32*
store i32 1,i32*%cb,align 4
%cc=call i8*@sml_alloc(i32 inreg 28)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177304,i32*%ce,align 4
%cf=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%cc,i64 8
%ci=bitcast i8*%ch to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_391 to void(...)*),void(...)**%ci,align 8
%cj=getelementptr inbounds i8,i8*%cc,i64 16
%ck=bitcast i8*%cj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_391 to void(...)*),void(...)**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cc,i64 24
%cm=bitcast i8*%cl to i32*
store i32 -2147483647,i32*%cm,align 4
%cn=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%cc)
%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**%f,align 8
store i8*null,i8**%f,align 8
%cu=getelementptr inbounds i8,i8*%ct,i64 8
%cv=bitcast i8*%cu to i8**
%cw=load i8*,i8**%cv,align 8
%cx=call fastcc i8*%cq(i8*inreg%cs,i8*inreg%cw)
store i8*%cx,i8**%f,align 8
%cy=call i8*@sml_alloc(i32 inreg 20)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177296,i32*%cA,align 4
%cB=load i8*,i8**%e,align 8
%cC=bitcast i8*%cy to i8**
store i8*%cB,i8**%cC,align 8
%cD=load i8*,i8**%f,align 8
%cE=getelementptr inbounds i8,i8*%cy,i64 8
%cF=bitcast i8*%cE to i8**
store i8*%cD,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cy,i64 16
%cH=bitcast i8*%cG to i32*
store i32 3,i32*%cH,align 4
%cI=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%cy)
ret i8*%cI
cJ:
%cK=getelementptr inbounds i8,i8*%n,i64 8
%cL=bitcast i8*%cK to i8**
%cM=load i8*,i8**%cL,align 8
store i8*%cM,i8**%e,align 8
%cN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cO=call fastcc i8*@_SMLLN13UserTvarScope13tyvarsDatbindE_371(i8*inreg%cN)
%cP=getelementptr inbounds i8,i8*%cO,i64 16
%cQ=bitcast i8*%cP to i8*(i8*,i8*)**
%cR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cQ,align 8
%cS=bitcast i8*%cO to i8**
%cT=load i8*,i8**%cS,align 8
%cU=load i8*,i8**%e,align 8
%cV=getelementptr inbounds i8,i8*%cU,i64 8
%cW=bitcast i8*%cV to i8**
%cX=load i8*,i8**%cW,align 8
%cY=call fastcc i8*%cR(i8*inreg%cT,i8*inreg%cX)
%cZ=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%cY)
%c0=getelementptr inbounds i8,i8*%cZ,i64 16
%c1=bitcast i8*%c0 to i8*(i8*,i8*)**
%c2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c1,align 8
%c3=bitcast i8*%cZ to i8**
%c4=load i8*,i8**%c3,align 8
%c5=bitcast i8**%e to i8***
%c6=load i8**,i8***%c5,align 8
%c7=load i8*,i8**%c6,align 8
%c8=tail call fastcc i8*%c2(i8*inreg%c4,i8*inreg%c7)
ret i8*%c8
c9:
%da=getelementptr inbounds i8,i8*%n,i64 8
%db=bitcast i8*%da to i8**
%dc=load i8*,i8**%db,align 8
store i8*%dc,i8**%e,align 8
%dd=call i8*@sml_alloc(i32 inreg 20)#0
%de=getelementptr inbounds i8,i8*%dd,i64 -4
%df=bitcast i8*%de to i32*
store i32 1342177296,i32*%df,align 4
store i8*%dd,i8**%f,align 8
%dg=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dh=bitcast i8*%dd to i8**
store i8*%dg,i8**%dh,align 8
%di=load i8*,i8**%e,align 8
%dj=getelementptr inbounds i8,i8*%dd,i64 8
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dd,i64 16
%dm=bitcast i8*%dl to i32*
store i32 3,i32*%dm,align 4
%dn=call i8*@sml_alloc(i32 inreg 28)#0
%do=getelementptr inbounds i8,i8*%dn,i64 -4
%dp=bitcast i8*%do to i32*
store i32 1342177304,i32*%dp,align 4
%dq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dr=bitcast i8*%dn to i8**
store i8*%dq,i8**%dr,align 8
%ds=getelementptr inbounds i8,i8*%dn,i64 8
%dt=bitcast i8*%ds to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_390 to void(...)*),void(...)**%dt,align 8
%du=getelementptr inbounds i8,i8*%dn,i64 16
%dv=bitcast i8*%du to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsDeclE_390 to void(...)*),void(...)**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dn,i64 24
%dx=bitcast i8*%dw to i32*
store i32 -2147483647,i32*%dx,align 4
%dy=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%dn)
%dz=getelementptr inbounds i8,i8*%dy,i64 16
%dA=bitcast i8*%dz to i8*(i8*,i8*)**
%dB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dA,align 8
%dC=bitcast i8*%dy to i8**
%dD=load i8*,i8**%dC,align 8
%dE=bitcast i8**%e to i8***
%dF=load i8**,i8***%dE,align 8
%dG=load i8*,i8**%dF,align 8
%dH=tail call fastcc i8*%dB(i8*inreg%dD,i8*inreg%dG)
ret i8*%dH
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsMatchE_420(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_421(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_422(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10tyvarsDeclE_383(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_423(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsRowE_399(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_424(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsRowE_399(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_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
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**%g,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%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%g,align 8
%n=bitcast i8**%f to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%l],[%k,%j]
%r=phi i8*[%m,%l],[%b,%j]
%s=load i8*,i8**%q,align 8
%t=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t)
%u=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
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*%s,i8**%e,align 8
store i8*%r,i8**%c,align 8
%w=load atomic i32,i32*@sml_check_flag unordered,align 4
%x=icmp eq i32%w,0
br i1%x,label%B,label%y
y:
call void@sml_check(i32 inreg%w)
%z=load i8*,i8**%c,align 8
%A=load i8*,i8**%e,align 8
br label%B
B:
%C=phi i8*[%A,%y],[%s,%p]
%D=phi i8*[%z,%y],[%r,%p]
store i8*null,i8**%c,align 8
store i8*%D,i8**%d,align 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%C,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%H,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%L,i8*inreg%K)
store i8*%M,i8**%d,align 8
%N=call i8*@sml_alloc(i32 inreg 20)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177296,i32*%P,align 4
%Q=load i8*,i8**%c,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=load i8*,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%N,i64 8
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%N,i64 16
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%N)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
ret i8*%X
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_426(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsMatchE_395(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_427(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_428(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsMatchE_395(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_429(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_430(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%k,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%n,label%p
n:
%o=bitcast i8*%a to i8**
br label%t
p:
call void@sml_check(i32 inreg%l)
%q=load i8*,i8**%k,align 8
%r=bitcast i8**%j to i8***
%s=load i8**,i8***%r,align 8
br label%t
t:
%u=phi i8**[%s,%p],[%o,%n]
%v=phi i8*[%q,%p],[%b,%n]
%w=load i8*,i8**%u,align 8
%x=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
%y=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%y)
%z=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z)
%A=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%A)
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*%w,i8**%i,align 8
store i8*%v,i8**%f,align 8
%B=load atomic i32,i32*@sml_check_flag unordered,align 4
%C=icmp eq i32%B,0
br i1%C,label%G,label%D
D:
call void@sml_check(i32 inreg%B)
%E=load i8*,i8**%f,align 8
%F=load i8*,i8**%i,align 8
br label%G
G:
%H=phi i8*[%F,%D],[%w,%t]
%I=phi i8*[%E,%D],[%v,%t]
store i8*null,i8**%f,align 8
store i8*%I,i8**%g,align 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%h,align 8
%L=getelementptr inbounds i8,i8*%I,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%H,i8*inreg%N)
store i8*%O,i8**%f,align 8
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%U=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%T,i8*inreg%S)
store i8*%U,i8**%g,align 8
%V=call i8*@sml_alloc(i32 inreg 20)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177296,i32*%X,align 4
%Y=load i8*,i8**%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**%g,align 8
store i8*null,i8**%g,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 fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%V)
store i8*%af,i8**%f,align 8
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
%aj=load i8*,i8**%f,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%h,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ag,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,i32*%ap,align 4
%aq=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aq)
%ar=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ar)
%as=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%as)
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*%ag,i8**%c,align 8
%at=load atomic i32,i32*@sml_check_flag unordered,align 4
%au=icmp eq i32%at,0
br i1%au,label%aw,label%av
av:
call void@sml_check(i32 inreg%at)
br label%aw
aw:
%ax=call fastcc i8*@_SMLFN4List6filterE(i32 inreg 1,i32 inreg 8)
%ay=getelementptr inbounds i8,i8*%ax,i64 16
%az=bitcast i8*%ay to i8*(i8*,i8*)**
%aA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%az,align 8
%aB=bitcast i8*%ax to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%d,align 8
%aD=call i8*@sml_alloc(i32 inreg 12)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177288,i32*%aF,align 4
store i8*%aD,i8**%e,align 8
%aG=load i8*,i8**%c,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 28)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177304,i32*%aM,align 4
%aN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aK,i64 8
%aQ=bitcast i8*%aP to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN13UserTvarScope8setminusE_294 to void(...)*),void(...)**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 16
%aS=bitcast i8*%aR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope8setminusE_630 to void(...)*),void(...)**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aK,i64 24
%aU=bitcast i8*%aT to i32*
store i32 -2147483647,i32*%aU,align 4
%aV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aW=call fastcc i8*%aA(i8*inreg%aV,i8*inreg%aK)
%aX=getelementptr inbounds i8,i8*%aW,i64 16
%aY=bitcast i8*%aX to i8*(i8*,i8*)**
%aZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aY,align 8
%a0=bitcast i8*%aW to i8**
%a1=load i8*,i8**%a0,align 8
%a2=bitcast i8**%c to i8***
%a3=load i8**,i8***%a2,align 8
%a4=load i8*,i8**%a3,align 8
%a5=tail call fastcc i8*%aZ(i8*inreg%a1,i8*inreg%a4)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aq)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ar)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%as)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A)
ret i8*%a5
}
define internal fastcc i8*@_SMLLN13UserTvarScope11tyvarsMatchE_395(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**%e,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]
store i8*null,i8**%c,align 8
store i8*%k,i8**%d,align 8
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=load i8*,i8**%e,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%m,i64 8
%s=bitcast i8*%r to i32*
store i32 1,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsMatchE_420 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11tyvarsMatchE_420 to void(...)*),void(...)**%B,align 8
%C=getelementptr inbounds i8,i8*%t,i64 24
%D=bitcast i8*%C to i32*
store i32 -2147483647,i32*%D,align 4
%E=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%t)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=bitcast i8**%d to i8***
%L=load i8**,i8***%K,align 8
%M=load i8*,i8**%L,align 8
%N=call fastcc i8*%H(i8*inreg%J,i8*inreg%M)
store i8*%N,i8**%c,align 8
%O=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%T=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%S,i8*inreg%R)
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%U)
ret i8*%ae
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
k:
%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**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%h,align 8
br label%i
i:
%j=phi i8*[%eI,%eG],[%b,%k]
store i8*%j,i8**%e,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%e,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%j,%i]
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 2,label%eJ
i32 22,label%kV
i32 25,label%eJ
i32 24,label%kw
i32 0,label%jK
i32 13,label%iX
i32 15,label%ir
i32 17,label%hF
i32 18,label%hg
i32 14,label%hc
i32 11,label%gq
i32 10,label%fU
i32 1,label%eK
i32 16,label%eJ
i32 20,label%eA
i32 21,label%d4
i32 9,label%c5
i32 23,label%cF
i32 12,label%cf
i32 3,label%bQ
i32 5,label%br
i32 6,label%bk
i32 7,label%bd
i32 8,label%aO
i32 4,label%S
i32 19,label%L
]
t:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,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**%f,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
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@n,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%f,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=getelementptr inbounds i8,i8*%q,i64 8
%N=bitcast i8*%M to i8***
%O=load i8**,i8***%N,align 8
%P=load i8*,i8**%O,align 8
%Q=load i8*,i8**%h,align 8
%R=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%Q,i8*inreg%P)
ret i8*%R
S:
%T=getelementptr inbounds i8,i8*%q,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%f,align 8
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
%Y=load i8*,i8**%h,align 8
%Z=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%Y,i8*inreg%X)
store i8*%Z,i8**%e,align 8
%aa=call i8*@sml_alloc(i32 inreg 12)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177288,i32*%ac,align 4
store i8*%aa,i8**%g,align 8
%ad=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%aa,i64 8
%ag=bitcast i8*%af to i32*
store i32 1,i32*%ag,align 4
%ah=call i8*@sml_alloc(i32 inreg 28)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177304,i32*%aj,align 4
%ak=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_430 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%ah,i64 16
%ap=bitcast i8*%ao to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_430 to void(...)*),void(...)**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ah,i64 24
%ar=bitcast i8*%aq to i32*
store i32 -2147483647,i32*%ar,align 4
%as=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%ah)
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
%ay=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%az=getelementptr inbounds i8,i8*%ay,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
%aC=call fastcc i8*%av(i8*inreg%ax,i8*inreg%aB)
store i8*%aC,i8**%f,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
%aG=load i8*,i8**%e,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%f,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aD,i64 16
%aM=bitcast i8*%aL to i32*
store i32 3,i32*%aM,align 4
%aN=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%aD)
ret i8*%aN
aO:
%aP=getelementptr inbounds i8,i8*%q,i64 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%f,align 8
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
%aU=load i8*,i8**%h,align 8
%aV=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%aU,i8*inreg%aT)
store i8*%aV,i8**%e,align 8
%aW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aX=getelementptr inbounds i8,i8*%aW,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a1=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%a0,i8*inreg%aZ)
store i8*%a1,i8**%f,align 8
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=load i8*,i8**%e,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%f,align 8
%a8=getelementptr inbounds i8,i8*%a2,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a2,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
%bc=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%a2)
ret i8*%bc
bd:
%be=getelementptr inbounds i8,i8*%q,i64 8
%bf=bitcast i8*%be to i8***
%bg=load i8**,i8***%bf,align 8
%bh=load i8*,i8**%bg,align 8
%bi=load i8*,i8**%h,align 8
%bj=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%bi,i8*inreg%bh)
ret i8*%bj
bk:
%bl=getelementptr inbounds i8,i8*%q,i64 8
%bm=bitcast i8*%bl to i8***
%bn=load i8**,i8***%bm,align 8
%bo=load i8*,i8**%bn,align 8
%bp=load i8*,i8**%h,align 8
%bq=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%bp,i8*inreg%bo)
ret i8*%bq
br:
%bs=getelementptr inbounds i8,i8*%q,i64 8
%bt=bitcast i8*%bs to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%f,align 8
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
%bx=load i8*,i8**%h,align 8
%by=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%bx,i8*inreg%bw)
store i8*%by,i8**%e,align 8
%bz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bA=getelementptr inbounds i8,i8*%bz,i64 8
%bB=bitcast i8*%bA to i8**
%bC=load i8*,i8**%bB,align 8
%bD=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bE=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%bD,i8*inreg%bC)
store i8*%bE,i8**%f,align 8
%bF=call i8*@sml_alloc(i32 inreg 20)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177296,i32*%bH,align 4
%bI=load i8*,i8**%e,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=load i8*,i8**%f,align 8
%bL=getelementptr inbounds i8,i8*%bF,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bF,i64 16
%bO=bitcast i8*%bN to i32*
store i32 3,i32*%bO,align 4
%bP=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%bF)
ret i8*%bP
bQ:
%bR=getelementptr inbounds i8,i8*%q,i64 8
%bS=bitcast i8*%bR to i8**
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%f,align 8
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
%bW=load i8*,i8**%h,align 8
%bX=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%bW,i8*inreg%bV)
store i8*%bX,i8**%e,align 8
%bY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bZ=getelementptr inbounds i8,i8*%bY,i64 8
%b0=bitcast i8*%bZ to i8**
%b1=load i8*,i8**%b0,align 8
%b2=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b3=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%b2,i8*inreg%b1)
store i8*%b3,i8**%f,align 8
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=load i8*,i8**%e,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%f,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b4,i64 16
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
%ce=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%b4)
ret i8*%ce
cf:
%cg=getelementptr inbounds i8,i8*%q,i64 8
%ch=bitcast i8*%cg to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%f,align 8
%cj=getelementptr inbounds i8,i8*%ci,i64 8
%ck=bitcast i8*%cj to i8**
%cl=load i8*,i8**%ck,align 8
%cm=load i8*,i8**%h,align 8
%cn=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%cm,i8*inreg%cl)
store i8*%cn,i8**%e,align 8
%co=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cp=getelementptr inbounds i8,i8*%co,i64 16
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
%cs=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ct=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%cs,i8*inreg%cr)
store i8*%ct,i8**%f,align 8
%cu=call i8*@sml_alloc(i32 inreg 20)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177296,i32*%cw,align 4
%cx=load i8*,i8**%e,align 8
%cy=bitcast i8*%cu to i8**
store i8*%cx,i8**%cy,align 8
%cz=load i8*,i8**%f,align 8
%cA=getelementptr inbounds i8,i8*%cu,i64 8
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cu,i64 16
%cD=bitcast i8*%cC to i32*
store i32 3,i32*%cD,align 4
%cE=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%cu)
ret i8*%cE
cF:
%cG=getelementptr inbounds i8,i8*%q,i64 8
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%f,align 8
%cJ=getelementptr inbounds i8,i8*%cI,i64 16
%cK=bitcast i8*%cJ to i8**
%cL=load i8*,i8**%cK,align 8
%cM=load i8*,i8**%h,align 8
%cN=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%cM,i8*inreg%cL)
store i8*%cN,i8**%e,align 8
%cO=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cP=getelementptr inbounds i8,i8*%cO,i64 8
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
%cS=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cT=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%cS,i8*inreg%cR)
store i8*%cT,i8**%f,align 8
%cU=call i8*@sml_alloc(i32 inreg 20)#0
%cV=getelementptr inbounds i8,i8*%cU,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177296,i32*%cW,align 4
%cX=load i8*,i8**%e,align 8
%cY=bitcast i8*%cU to i8**
store i8*%cX,i8**%cY,align 8
%cZ=load i8*,i8**%f,align 8
%c0=getelementptr inbounds i8,i8*%cU,i64 8
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cU,i64 16
%c3=bitcast i8*%c2 to i32*
store i32 3,i32*%c3,align 4
%c4=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%cU)
ret i8*%c4
c5:
%c6=getelementptr inbounds i8,i8*%q,i64 8
%c7=bitcast i8*%c6 to i8**
%c8=load i8*,i8**%c7,align 8
store i8*%c8,i8**%f,align 8
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
%db=load i8*,i8**%h,align 8
%dc=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dc)
%dd=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dd)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%db,i8**%c,align 8
store i8*%da,i8**%d,align 8
%de=load atomic i32,i32*@sml_check_flag unordered,align 4
%df=icmp eq i32%de,0
br i1%df,label%di,label%dg
dg:
call void@sml_check(i32 inreg%de)
%dh=load i8*,i8**%d,align 8
br label%di
di:
%dj=phi i8*[%dh,%dg],[%da,%c5]
store i8*null,i8**%d,align 8
%dk=bitcast i8*%dj to i32*
%dl=load i32,i32*%dk,align 4
switch i32%dl,label%dm[
i32 1,label%dF
i32 0,label%dE
]
dm:
call void@sml_matchcomp_bug()
%dn=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dn,i8**%c,align 8
%do=call i8*@sml_alloc(i32 inreg 20)#0
%dp=getelementptr inbounds i8,i8*%do,i64 -4
%dq=bitcast i8*%dp to i32*
store i32 1342177296,i32*%dq,align 4
store i8*%do,i8**%d,align 8
%dr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ds=bitcast i8*%do to i8**
store i8*%dr,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%do,i64 8
%du=bitcast i8*%dt to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@o,i64 0,i32 2,i64 0),i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%do,i64 16
%dw=bitcast i8*%dv to i32*
store i32 3,i32*%dw,align 4
%dx=call i8*@sml_alloc(i32 inreg 60)#0
%dy=getelementptr inbounds i8,i8*%dx,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177336,i32*%dz,align 4
%dA=getelementptr inbounds i8,i8*%dx,i64 56
%dB=bitcast i8*%dA to i32*
store i32 1,i32*%dB,align 4
%dC=load i8*,i8**%d,align 8
%dD=bitcast i8*%dx to i8**
store i8*%dC,i8**%dD,align 8
call void@sml_raise(i8*inreg%dx)#1
unreachable
dE:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dc)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dd)
br label%dL
dF:
%dG=getelementptr inbounds i8,i8*%dj,i64 8
%dH=bitcast i8*%dG to i8**
%dI=load i8*,i8**%dH,align 8
%dJ=load i8*,i8**%c,align 8
%dK=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%dJ,i8*inreg%dI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dc)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dd)
br label%dL
dL:
%dM=phi i8*[null,%dE],[%dK,%dF]
store i8*%dM,i8**%e,align 8
%dN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dO=getelementptr inbounds i8,i8*%dN,i64 8
%dP=bitcast i8*%dO to i8**
%dQ=load i8*,i8**%dP,align 8
%dR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dS=call fastcc i8*@_SMLLN13UserTvarScope11tyvarsFFItyE_352(i8*inreg%dR,i8*inreg%dQ)
store i8*%dS,i8**%f,align 8
%dT=call i8*@sml_alloc(i32 inreg 20)#0
%dU=getelementptr inbounds i8,i8*%dT,i64 -4
%dV=bitcast i8*%dU to i32*
store i32 1342177296,i32*%dV,align 4
%dW=load i8*,i8**%e,align 8
%dX=bitcast i8*%dT to i8**
store i8*%dW,i8**%dX,align 8
%dY=load i8*,i8**%f,align 8
%dZ=getelementptr inbounds i8,i8*%dT,i64 8
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dT,i64 16
%d2=bitcast i8*%d1 to i32*
store i32 3,i32*%d2,align 4
%d3=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%dT)
ret i8*%d3
d4:
%d5=getelementptr inbounds i8,i8*%q,i64 8
%d6=bitcast i8*%d5 to i8**
%d7=load i8*,i8**%d6,align 8
store i8*%d7,i8**%e,align 8
%d8=call i8*@sml_alloc(i32 inreg 12)#0
%d9=getelementptr inbounds i8,i8*%d8,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 1342177288,i32*%ea,align 4
store i8*%d8,i8**%f,align 8
%eb=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ec=bitcast i8*%d8 to i8**
store i8*%eb,i8**%ec,align 8
%ed=getelementptr inbounds i8,i8*%d8,i64 8
%ee=bitcast i8*%ed to i32*
store i32 1,i32*%ee,align 4
%ef=call i8*@sml_alloc(i32 inreg 28)#0
%eg=getelementptr inbounds i8,i8*%ef,i64 -4
%eh=bitcast i8*%eg to i32*
store i32 1342177304,i32*%eh,align 4
%ei=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ej=bitcast i8*%ef to i8**
store i8*%ei,i8**%ej,align 8
%ek=getelementptr inbounds i8,i8*%ef,i64 8
%el=bitcast i8*%ek to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_429 to void(...)*),void(...)**%el,align 8
%em=getelementptr inbounds i8,i8*%ef,i64 16
%en=bitcast i8*%em to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_429 to void(...)*),void(...)**%en,align 8
%eo=getelementptr inbounds i8,i8*%ef,i64 24
%ep=bitcast i8*%eo to i32*
store i32 -2147483647,i32*%ep,align 4
%eq=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%ef)
%er=getelementptr inbounds i8,i8*%eq,i64 16
%es=bitcast i8*%er to i8*(i8*,i8*)**
%et=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%es,align 8
%eu=bitcast i8*%eq to i8**
%ev=load i8*,i8**%eu,align 8
%ew=bitcast i8**%e to i8***
%ex=load i8**,i8***%ew,align 8
%ey=load i8*,i8**%ex,align 8
%ez=tail call fastcc i8*%et(i8*inreg%ev,i8*inreg%ey)
ret i8*%ez
eA:
%eB=getelementptr inbounds i8,i8*%q,i64 8
%eC=bitcast i8*%eB to i8**
%eD=load i8*,i8**%eC,align 8
%eE=getelementptr inbounds i8,i8*%eD,i64 8
%eF=bitcast i8*%eE to i8**
br label%eG
eG:
%eH=phi i8**[%eF,%eA],[%hf,%hc]
%eI=load i8*,i8**%eH,align 8
br label%i
eJ:
ret i8*null
eK:
%eL=getelementptr inbounds i8,i8*%q,i64 8
%eM=bitcast i8*%eL to i8**
%eN=load i8*,i8**%eM,align 8
store i8*%eN,i8**%f,align 8
%eO=call i8*@sml_alloc(i32 inreg 12)#0
%eP=getelementptr inbounds i8,i8*%eO,i64 -4
%eQ=bitcast i8*%eP to i32*
store i32 1342177288,i32*%eQ,align 4
store i8*%eO,i8**%e,align 8
%eR=load i8*,i8**%h,align 8
%eS=bitcast i8*%eO to i8**
store i8*%eR,i8**%eS,align 8
%eT=getelementptr inbounds i8,i8*%eO,i64 8
%eU=bitcast i8*%eT to i32*
store i32 1,i32*%eU,align 4
%eV=call i8*@sml_alloc(i32 inreg 28)#0
%eW=getelementptr inbounds i8,i8*%eV,i64 -4
%eX=bitcast i8*%eW to i32*
store i32 1342177304,i32*%eX,align 4
%eY=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eZ=bitcast i8*%eV to i8**
store i8*%eY,i8**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eV,i64 8
%e1=bitcast i8*%e0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_427 to void(...)*),void(...)**%e1,align 8
%e2=getelementptr inbounds i8,i8*%eV,i64 16
%e3=bitcast i8*%e2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_427 to void(...)*),void(...)**%e3,align 8
%e4=getelementptr inbounds i8,i8*%eV,i64 24
%e5=bitcast i8*%e4 to i32*
store i32 -2147483647,i32*%e5,align 4
%e6=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%eV)
%e7=getelementptr inbounds i8,i8*%e6,i64 16
%e8=bitcast i8*%e7 to i8*(i8*,i8*)**
%e9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e8,align 8
%fa=bitcast i8*%e6 to i8**
%fb=load i8*,i8**%fa,align 8
%fc=bitcast i8**%f to i8***
%fd=load i8**,i8***%fc,align 8
%fe=load i8*,i8**%fd,align 8
%ff=call fastcc i8*%e9(i8*inreg%fb,i8*inreg%fe)
store i8*%ff,i8**%e,align 8
%fg=call i8*@sml_alloc(i32 inreg 12)#0
%fh=getelementptr inbounds i8,i8*%fg,i64 -4
%fi=bitcast i8*%fh to i32*
store i32 1342177288,i32*%fi,align 4
store i8*%fg,i8**%g,align 8
%fj=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fk=bitcast i8*%fg to i8**
store i8*%fj,i8**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fg,i64 8
%fm=bitcast i8*%fl to i32*
store i32 1,i32*%fm,align 4
%fn=call i8*@sml_alloc(i32 inreg 28)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177304,i32*%fp,align 4
%fq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fr=bitcast i8*%fn to i8**
store i8*%fq,i8**%fr,align 8
%fs=getelementptr inbounds i8,i8*%fn,i64 8
%ft=bitcast i8*%fs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_428 to void(...)*),void(...)**%ft,align 8
%fu=getelementptr inbounds i8,i8*%fn,i64 16
%fv=bitcast i8*%fu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_428 to void(...)*),void(...)**%fv,align 8
%fw=getelementptr inbounds i8,i8*%fn,i64 24
%fx=bitcast i8*%fw to i32*
store i32 -2147483647,i32*%fx,align 4
%fy=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%fn)
%fz=getelementptr inbounds i8,i8*%fy,i64 16
%fA=bitcast i8*%fz to i8*(i8*,i8*)**
%fB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fA,align 8
%fC=bitcast i8*%fy to i8**
%fD=load i8*,i8**%fC,align 8
%fE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fF=getelementptr inbounds i8,i8*%fE,i64 8
%fG=bitcast i8*%fF to i8**
%fH=load i8*,i8**%fG,align 8
%fI=call fastcc i8*%fB(i8*inreg%fD,i8*inreg%fH)
store i8*%fI,i8**%f,align 8
%fJ=call i8*@sml_alloc(i32 inreg 20)#0
%fK=getelementptr inbounds i8,i8*%fJ,i64 -4
%fL=bitcast i8*%fK to i32*
store i32 1342177296,i32*%fL,align 4
%fM=load i8*,i8**%e,align 8
%fN=bitcast i8*%fJ to i8**
store i8*%fM,i8**%fN,align 8
%fO=load i8*,i8**%f,align 8
%fP=getelementptr inbounds i8,i8*%fJ,i64 8
%fQ=bitcast i8*%fP to i8**
store i8*%fO,i8**%fQ,align 8
%fR=getelementptr inbounds i8,i8*%fJ,i64 16
%fS=bitcast i8*%fR to i32*
store i32 3,i32*%fS,align 4
%fT=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%fJ)
ret i8*%fT
fU:
%fV=getelementptr inbounds i8,i8*%q,i64 8
%fW=bitcast i8*%fV to i8**
%fX=load i8*,i8**%fW,align 8
store i8*%fX,i8**%e,align 8
%fY=call i8*@sml_alloc(i32 inreg 12)#0
%fZ=getelementptr inbounds i8,i8*%fY,i64 -4
%f0=bitcast i8*%fZ to i32*
store i32 1342177288,i32*%f0,align 4
store i8*%fY,i8**%f,align 8
%f1=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%f2=bitcast i8*%fY to i8**
store i8*%f1,i8**%f2,align 8
%f3=getelementptr inbounds i8,i8*%fY,i64 8
%f4=bitcast i8*%f3 to i32*
store i32 1,i32*%f4,align 4
%f5=call i8*@sml_alloc(i32 inreg 28)#0
%f6=getelementptr inbounds i8,i8*%f5,i64 -4
%f7=bitcast i8*%f6 to i32*
store i32 1342177304,i32*%f7,align 4
%f8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%f9=bitcast i8*%f5 to i8**
store i8*%f8,i8**%f9,align 8
%ga=getelementptr inbounds i8,i8*%f5,i64 8
%gb=bitcast i8*%ga to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_426 to void(...)*),void(...)**%gb,align 8
%gc=getelementptr inbounds i8,i8*%f5,i64 16
%gd=bitcast i8*%gc to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_426 to void(...)*),void(...)**%gd,align 8
%ge=getelementptr inbounds i8,i8*%f5,i64 24
%gf=bitcast i8*%ge to i32*
store i32 -2147483647,i32*%gf,align 4
%gg=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%f5)
%gh=getelementptr inbounds i8,i8*%gg,i64 16
%gi=bitcast i8*%gh to i8*(i8*,i8*)**
%gj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gi,align 8
%gk=bitcast i8*%gg to i8**
%gl=load i8*,i8**%gk,align 8
%gm=bitcast i8**%e to i8***
%gn=load i8**,i8***%gm,align 8
%go=load i8*,i8**%gn,align 8
%gp=tail call fastcc i8*%gj(i8*inreg%gl,i8*inreg%go)
ret i8*%gp
gq:
%gr=getelementptr inbounds i8,i8*%q,i64 8
%gs=bitcast i8*%gr to i8**
%gt=load i8*,i8**%gs,align 8
store i8*%gt,i8**%f,align 8
%gu=bitcast i8*%gt to i8**
%gv=load i8*,i8**%gu,align 8
%gw=load i8*,i8**%h,align 8
%gx=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%gw,i8*inreg%gv)
store i8*%gx,i8**%e,align 8
%gy=call i8*@sml_alloc(i32 inreg 12)#0
%gz=getelementptr inbounds i8,i8*%gy,i64 -4
%gA=bitcast i8*%gz to i32*
store i32 1342177288,i32*%gA,align 4
store i8*%gy,i8**%g,align 8
%gB=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 i32*
store i32 1,i32*%gE,align 4
%gF=call i8*@sml_alloc(i32 inreg 28)#0
%gG=getelementptr inbounds i8,i8*%gF,i64 -4
%gH=bitcast i8*%gG to i32*
store i32 1342177304,i32*%gH,align 4
%gI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gJ=bitcast i8*%gF to i8**
store i8*%gI,i8**%gJ,align 8
%gK=getelementptr inbounds i8,i8*%gF,i64 8
%gL=bitcast i8*%gK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_425 to void(...)*),void(...)**%gL,align 8
%gM=getelementptr inbounds i8,i8*%gF,i64 16
%gN=bitcast i8*%gM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_425 to void(...)*),void(...)**%gN,align 8
%gO=getelementptr inbounds i8,i8*%gF,i64 24
%gP=bitcast i8*%gO to i32*
store i32 -2147483647,i32*%gP,align 4
%gQ=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%gF)
%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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gX=getelementptr inbounds i8,i8*%gW,i64 8
%gY=bitcast i8*%gX to i8**
%gZ=load i8*,i8**%gY,align 8
%g0=call fastcc i8*%gT(i8*inreg%gV,i8*inreg%gZ)
store i8*%g0,i8**%f,align 8
%g1=call i8*@sml_alloc(i32 inreg 20)#0
%g2=getelementptr inbounds i8,i8*%g1,i64 -4
%g3=bitcast i8*%g2 to i32*
store i32 1342177296,i32*%g3,align 4
%g4=load i8*,i8**%e,align 8
%g5=bitcast i8*%g1 to i8**
store i8*%g4,i8**%g5,align 8
%g6=load i8*,i8**%f,align 8
%g7=getelementptr inbounds i8,i8*%g1,i64 8
%g8=bitcast i8*%g7 to i8**
store i8*%g6,i8**%g8,align 8
%g9=getelementptr inbounds i8,i8*%g1,i64 16
%ha=bitcast i8*%g9 to i32*
store i32 3,i32*%ha,align 4
%hb=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%g1)
ret i8*%hb
hc:
%hd=getelementptr inbounds i8,i8*%q,i64 8
%he=bitcast i8*%hd to i8***
%hf=load i8**,i8***%he,align 8
br label%eG
hg:
%hh=getelementptr inbounds i8,i8*%q,i64 8
%hi=bitcast i8*%hh to i8**
%hj=load i8*,i8**%hi,align 8
store i8*%hj,i8**%f,align 8
%hk=bitcast i8*%hj to i8**
%hl=load i8*,i8**%hk,align 8
%hm=load i8*,i8**%h,align 8
%hn=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%hm,i8*inreg%hl)
store i8*%hn,i8**%e,align 8
%ho=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hp=getelementptr inbounds i8,i8*%ho,i64 8
%hq=bitcast i8*%hp to i8**
%hr=load i8*,i8**%hq,align 8
%hs=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ht=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%hs,i8*inreg%hr)
store i8*%ht,i8**%f,align 8
%hu=call i8*@sml_alloc(i32 inreg 20)#0
%hv=getelementptr inbounds i8,i8*%hu,i64 -4
%hw=bitcast i8*%hv to i32*
store i32 1342177296,i32*%hw,align 4
%hx=load i8*,i8**%e,align 8
%hy=bitcast i8*%hu to i8**
store i8*%hx,i8**%hy,align 8
%hz=load i8*,i8**%f,align 8
%hA=getelementptr inbounds i8,i8*%hu,i64 8
%hB=bitcast i8*%hA to i8**
store i8*%hz,i8**%hB,align 8
%hC=getelementptr inbounds i8,i8*%hu,i64 16
%hD=bitcast i8*%hC to i32*
store i32 3,i32*%hD,align 4
%hE=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%hu)
ret i8*%hE
hF:
%hG=getelementptr inbounds i8,i8*%q,i64 8
%hH=bitcast i8*%hG to i8**
%hI=load i8*,i8**%hH,align 8
store i8*%hI,i8**%f,align 8
%hJ=bitcast i8*%hI to i8**
%hK=load i8*,i8**%hJ,align 8
%hL=load i8*,i8**%h,align 8
%hM=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%hL,i8*inreg%hK)
store i8*%hM,i8**%e,align 8
%hN=call i8*@sml_alloc(i32 inreg 12)#0
%hO=getelementptr inbounds i8,i8*%hN,i64 -4
%hP=bitcast i8*%hO to i32*
store i32 1342177288,i32*%hP,align 4
store i8*%hN,i8**%g,align 8
%hQ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hR=bitcast i8*%hN to i8**
store i8*%hQ,i8**%hR,align 8
%hS=getelementptr inbounds i8,i8*%hN,i64 8
%hT=bitcast i8*%hS to i32*
store i32 1,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
%hX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hY=bitcast i8*%hU to i8**
store i8*%hX,i8**%hY,align 8
%hZ=getelementptr inbounds i8,i8*%hU,i64 8
%h0=bitcast i8*%hZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_424 to void(...)*),void(...)**%h0,align 8
%h1=getelementptr inbounds i8,i8*%hU,i64 16
%h2=bitcast i8*%h1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_424 to void(...)*),void(...)**%h2,align 8
%h3=getelementptr inbounds i8,i8*%hU,i64 24
%h4=bitcast i8*%h3 to i32*
store i32 -2147483647,i32*%h4,align 4
%h5=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%hU)
%h6=getelementptr inbounds i8,i8*%h5,i64 16
%h7=bitcast i8*%h6 to i8*(i8*,i8*)**
%h8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h7,align 8
%h9=bitcast i8*%h5 to i8**
%ia=load i8*,i8**%h9,align 8
%ib=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ic=getelementptr inbounds i8,i8*%ib,i64 8
%id=bitcast i8*%ic to i8**
%ie=load i8*,i8**%id,align 8
%if=call fastcc i8*%h8(i8*inreg%ia,i8*inreg%ie)
store i8*%if,i8**%f,align 8
%ig=call i8*@sml_alloc(i32 inreg 20)#0
%ih=getelementptr inbounds i8,i8*%ig,i64 -4
%ii=bitcast i8*%ih to i32*
store i32 1342177296,i32*%ii,align 4
%ij=load i8*,i8**%e,align 8
%ik=bitcast i8*%ig to i8**
store i8*%ij,i8**%ik,align 8
%il=load i8*,i8**%f,align 8
%im=getelementptr inbounds i8,i8*%ig,i64 8
%in=bitcast i8*%im to i8**
store i8*%il,i8**%in,align 8
%io=getelementptr inbounds i8,i8*%ig,i64 16
%ip=bitcast i8*%io to i32*
store i32 3,i32*%ip,align 4
%iq=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%ig)
ret i8*%iq
ir:
%is=getelementptr inbounds i8,i8*%q,i64 8
%it=bitcast i8*%is to i8**
%iu=load i8*,i8**%it,align 8
store i8*%iu,i8**%e,align 8
%iv=call i8*@sml_alloc(i32 inreg 12)#0
%iw=getelementptr inbounds i8,i8*%iv,i64 -4
%ix=bitcast i8*%iw to i32*
store i32 1342177288,i32*%ix,align 4
store i8*%iv,i8**%f,align 8
%iy=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%iz=bitcast i8*%iv to i8**
store i8*%iy,i8**%iz,align 8
%iA=getelementptr inbounds i8,i8*%iv,i64 8
%iB=bitcast i8*%iA to i32*
store i32 1,i32*%iB,align 4
%iC=call i8*@sml_alloc(i32 inreg 28)#0
%iD=getelementptr inbounds i8,i8*%iC,i64 -4
%iE=bitcast i8*%iD to i32*
store i32 1342177304,i32*%iE,align 4
%iF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iG=bitcast i8*%iC to i8**
store i8*%iF,i8**%iG,align 8
%iH=getelementptr inbounds i8,i8*%iC,i64 8
%iI=bitcast i8*%iH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_423 to void(...)*),void(...)**%iI,align 8
%iJ=getelementptr inbounds i8,i8*%iC,i64 16
%iK=bitcast i8*%iJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_423 to void(...)*),void(...)**%iK,align 8
%iL=getelementptr inbounds i8,i8*%iC,i64 24
%iM=bitcast i8*%iL to i32*
store i32 -2147483647,i32*%iM,align 4
%iN=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%iC)
%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=bitcast i8**%e to i8***
%iU=load i8**,i8***%iT,align 8
%iV=load i8*,i8**%iU,align 8
%iW=tail call fastcc i8*%iQ(i8*inreg%iS,i8*inreg%iV)
ret i8*%iW
iX:
%iY=getelementptr inbounds i8,i8*%q,i64 8
%iZ=bitcast i8*%iY to i8**
%i0=load i8*,i8**%iZ,align 8
store i8*%i0,i8**%f,align 8
%i1=call i8*@sml_alloc(i32 inreg 12)#0
%i2=getelementptr inbounds i8,i8*%i1,i64 -4
%i3=bitcast i8*%i2 to i32*
store i32 1342177288,i32*%i3,align 4
store i8*%i1,i8**%e,align 8
%i4=load i8*,i8**%h,align 8
%i5=bitcast i8*%i1 to i8**
store i8*%i4,i8**%i5,align 8
%i6=getelementptr inbounds i8,i8*%i1,i64 8
%i7=bitcast i8*%i6 to i32*
store i32 1,i32*%i7,align 4
%i8=call i8*@sml_alloc(i32 inreg 28)#0
%i9=getelementptr inbounds i8,i8*%i8,i64 -4
%ja=bitcast i8*%i9 to i32*
store i32 1342177304,i32*%ja,align 4
%jb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jc=bitcast i8*%i8 to i8**
store i8*%jb,i8**%jc,align 8
%jd=getelementptr inbounds i8,i8*%i8,i64 8
%je=bitcast i8*%jd to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_422 to void(...)*),void(...)**%je,align 8
%jf=getelementptr inbounds i8,i8*%i8,i64 16
%jg=bitcast i8*%jf to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_422 to void(...)*),void(...)**%jg,align 8
%jh=getelementptr inbounds i8,i8*%i8,i64 24
%ji=bitcast i8*%jh to i32*
store i32 -2147483647,i32*%ji,align 4
%jj=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%i8)
%jk=getelementptr inbounds i8,i8*%jj,i64 16
%jl=bitcast i8*%jk to i8*(i8*,i8*)**
%jm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jl,align 8
%jn=bitcast i8*%jj to i8**
%jo=load i8*,i8**%jn,align 8
%jp=bitcast i8**%f to i8***
%jq=load i8**,i8***%jp,align 8
%jr=load i8*,i8**%jq,align 8
%js=call fastcc i8*%jm(i8*inreg%jo,i8*inreg%jr)
store i8*%js,i8**%e,align 8
%jt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ju=getelementptr inbounds i8,i8*%jt,i64 8
%jv=bitcast i8*%ju to i8**
%jw=load i8*,i8**%jv,align 8
%jx=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jy=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%jx,i8*inreg%jw)
store i8*%jy,i8**%f,align 8
%jz=call i8*@sml_alloc(i32 inreg 20)#0
%jA=getelementptr inbounds i8,i8*%jz,i64 -4
%jB=bitcast i8*%jA to i32*
store i32 1342177296,i32*%jB,align 4
%jC=load i8*,i8**%e,align 8
%jD=bitcast i8*%jz to i8**
store i8*%jC,i8**%jD,align 8
%jE=load i8*,i8**%f,align 8
%jF=getelementptr inbounds i8,i8*%jz,i64 8
%jG=bitcast i8*%jF to i8**
store i8*%jE,i8**%jG,align 8
%jH=getelementptr inbounds i8,i8*%jz,i64 16
%jI=bitcast i8*%jH to i32*
store i32 3,i32*%jI,align 4
%jJ=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%jz)
ret i8*%jJ
jK:
%jL=getelementptr inbounds i8,i8*%q,i64 8
%jM=bitcast i8*%jL to i8**
%jN=load i8*,i8**%jM,align 8
store i8*%jN,i8**%f,align 8
%jO=bitcast i8*%jN to i8**
%jP=load i8*,i8**%jO,align 8
%jQ=load i8*,i8**%h,align 8
%jR=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%jQ,i8*inreg%jP)
store i8*%jR,i8**%e,align 8
%jS=call i8*@sml_alloc(i32 inreg 12)#0
%jT=getelementptr inbounds i8,i8*%jS,i64 -4
%jU=bitcast i8*%jT to i32*
store i32 1342177288,i32*%jU,align 4
store i8*%jS,i8**%g,align 8
%jV=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jW=bitcast i8*%jS to i8**
store i8*%jV,i8**%jW,align 8
%jX=getelementptr inbounds i8,i8*%jS,i64 8
%jY=bitcast i8*%jX to i32*
store i32 1,i32*%jY,align 4
%jZ=call i8*@sml_alloc(i32 inreg 28)#0
%j0=getelementptr inbounds i8,i8*%jZ,i64 -4
%j1=bitcast i8*%j0 to i32*
store i32 1342177304,i32*%j1,align 4
%j2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%j3=bitcast i8*%jZ to i8**
store i8*%j2,i8**%j3,align 8
%j4=getelementptr inbounds i8,i8*%jZ,i64 8
%j5=bitcast i8*%j4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_421 to void(...)*),void(...)**%j5,align 8
%j6=getelementptr inbounds i8,i8*%jZ,i64 16
%j7=bitcast i8*%j6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9tyvarsExpE_421 to void(...)*),void(...)**%j7,align 8
%j8=getelementptr inbounds i8,i8*%jZ,i64 24
%j9=bitcast i8*%j8 to i32*
store i32 -2147483647,i32*%j9,align 4
%ka=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%jZ)
%kb=getelementptr inbounds i8,i8*%ka,i64 16
%kc=bitcast i8*%kb to i8*(i8*,i8*)**
%kd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kc,align 8
%ke=bitcast i8*%ka to i8**
%kf=load i8*,i8**%ke,align 8
%kg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kh=getelementptr inbounds i8,i8*%kg,i64 8
%ki=bitcast i8*%kh to i8**
%kj=load i8*,i8**%ki,align 8
%kk=call fastcc i8*%kd(i8*inreg%kf,i8*inreg%kj)
store i8*%kk,i8**%f,align 8
%kl=call i8*@sml_alloc(i32 inreg 20)#0
%km=getelementptr inbounds i8,i8*%kl,i64 -4
%kn=bitcast i8*%km to i32*
store i32 1342177296,i32*%kn,align 4
%ko=load i8*,i8**%e,align 8
%kp=bitcast i8*%kl to i8**
store i8*%ko,i8**%kp,align 8
%kq=load i8*,i8**%f,align 8
%kr=getelementptr inbounds i8,i8*%kl,i64 8
%ks=bitcast i8*%kr to i8**
store i8*%kq,i8**%ks,align 8
%kt=getelementptr inbounds i8,i8*%kl,i64 16
%ku=bitcast i8*%kt to i32*
store i32 3,i32*%ku,align 4
%kv=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%kl)
ret i8*%kv
kw:
%kx=getelementptr inbounds i8,i8*%q,i64 8
%ky=bitcast i8*%kx to i8**
%kz=load i8*,i8**%ky,align 8
store i8*%kz,i8**%f,align 8
%kA=bitcast i8*%kz to i8**
%kB=load i8*,i8**%kA,align 8
%kC=load i8*,i8**%h,align 8
%kD=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%kC,i8*inreg%kB)
store i8*%kD,i8**%e,align 8
%kE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kF=getelementptr inbounds i8,i8*%kE,i64 8
%kG=bitcast i8*%kF to i8**
%kH=load i8*,i8**%kG,align 8
%kI=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kJ=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%kI,i8*inreg%kH)
store i8*%kJ,i8**%f,align 8
%kK=call i8*@sml_alloc(i32 inreg 20)#0
%kL=getelementptr inbounds i8,i8*%kK,i64 -4
%kM=bitcast i8*%kL to i32*
store i32 1342177296,i32*%kM,align 4
%kN=load i8*,i8**%e,align 8
%kO=bitcast i8*%kK to i8**
store i8*%kN,i8**%kO,align 8
%kP=load i8*,i8**%f,align 8
%kQ=getelementptr inbounds i8,i8*%kK,i64 8
%kR=bitcast i8*%kQ to i8**
store i8*%kP,i8**%kR,align 8
%kS=getelementptr inbounds i8,i8*%kK,i64 16
%kT=bitcast i8*%kS to i32*
store i32 3,i32*%kT,align 4
%kU=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%kK)
ret i8*%kU
kV:
%kW=getelementptr inbounds i8,i8*%q,i64 8
%kX=bitcast i8*%kW to i8***
%kY=load i8**,i8***%kX,align 8
%kZ=load i8*,i8**%kY,align 8
%k0=load i8*,i8**%h,align 8
%k1=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%k0,i8*inreg%kZ)
ret i8*%k1
}
define internal fastcc i8*@_SMLLN13UserTvarScope9tyvarsRowE_399(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%m,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%k,i8*inreg%p)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope10tyvarsBindE_433(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%l
h:
%i=bitcast i8*%a to i8**
%j=bitcast i8*%b to i8**
%k=bitcast i8**%e to i8***
br label%q
l:
call void@sml_check(i32 inreg%f)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%e to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8***[%k,%h],[%o,%l]
%s=phi i8**[%i,%h],[%p,%l]
%t=phi i8**[%j,%h],[%n,%l]
%u=load i8*,i8**%s,align 8
%v=load i8*,i8**%t,align 8
%w=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%u,i8*inreg%v)
store i8*%w,i8**%d,align 8
%x=load i8**,i8***%r,align 8
store i8*null,i8**%e,align 8
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsExpE_396(i8*inreg%y,i8*inreg%C)
store i8*%D,i8**%c,align 8
%E=call i8*@sml_alloc(i32 inreg 20)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%E)
ret i8*%O
}
define internal fastcc i8*@_SMLLN13UserTvarScope14tyvarsFvalbindE_440(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11tyvarsMatchE_395(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope14tyvarsFvalbindE_441(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**%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%i,label%m
i:
%j=bitcast i8*%a to i8**
%k=bitcast i8*%b to i8***
%l=bitcast i8**%e to i8***
br label%r
m:
call void@sml_check(i32 inreg%g)
%n=bitcast i8**%c to i8****
%o=load i8***,i8****%n,align 8
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
br label%r
r:
%s=phi i8***[%l,%i],[%p,%m]
%t=phi i8**[%j,%i],[%q,%m]
%u=phi i8***[%k,%i],[%o,%m]
%v=load i8*,i8**%t,align 8
%w=load i8**,i8***%u,align 8
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*@_SMLLN13UserTvarScope9tyvarsPatE_377(i8*inreg%v,i8*inreg%x)
store i8*%y,i8**%d,align 8
%z=load i8**,i8***%s,align 8
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%e,align 8
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177288,i32*%D,align 4
store i8*%B,i8**%f,align 8
%E=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14tyvarsFvalbindE_440 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14tyvarsFvalbindE_440 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 -2147483647,i32*%S,align 4
%T=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%I)
%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=bitcast i8**%c to i8***
%aa=load i8**,i8***%Z,align 8
store i8*null,i8**%c,align 8
%ab=load i8*,i8**%aa,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
%af=call fastcc i8*%W(i8*inreg%Y,i8*inreg%ae)
store i8*%af,i8**%c,align 8
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
%aj=load i8*,i8**%d,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%c,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ag,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,i32*%ap,align 4
%aq=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%ag)
ret i8*%aq
}
define internal fastcc void@_SMLLN13UserTvarScope11decideScopeE_445(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%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c 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**%c,align 8
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=call fastcc i8*@_SMLFN9SymbolEnv8inDomainE(i32 inreg 1,i32 inreg 8)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%g,align 8
%A=bitcast i8**%e to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%f,align 8
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,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**%d,align 8
store i8*null,i8**%d,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%D,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%O=call fastcc i8*%x(i8*inreg%N,i8*inreg%D)
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=icmp eq i32%Q,0
br i1%R,label%aB,label%S
S:
%T=load i8*,i8**%e,align 8
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%d,align 8
%X=load i8*,i8**@_SMLZN14ElaborateError25UserTvarScopedAtOuterDeclE,align 8
store i8*%X,i8**%e,align 8
%Y=call i8*@sml_alloc(i32 inreg 12)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177288,i32*%aa,align 4
store i8*%Y,i8**%f,align 8
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i32*
store i32 1,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
store i8*%af,i8**%c,align 8
%ai=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@p,i64 0,i32 2,i64 0),i8**%al,align 8
%am=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%af,i64 24
%aq=bitcast i8*%ap to i32*
store i32 7,i32*%aq,align 4
%ar=call i8*@sml_alloc(i32 inreg 20)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177296,i32*%at,align 4
%au=load i8*,i8**%d,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=load i8*,i8**%c,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ar,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
tail call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%ar)
ret void
aB:
ret void
}
define internal fastcc i8*@_SMLL10unguarded1_446(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope16tyvarsKindedTvarE_333(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope11decideScopeE_447(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%d,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%d,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
store i8*%p,i8**%f,align 8
%r=bitcast i8*%p to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%g,align 8
%t=getelementptr inbounds i8,i8*%p,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%i,align 8
%C=load i8*,i8**%h,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
store i8*%G,i8**%j,align 8
%J=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=load i8*,i8**%d,align 8
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%G,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
%Q=call i8*@sml_alloc(i32 inreg 28)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177304,i32*%S,align 4
%T=load i8*,i8**%j,align 8
store i8*null,i8**%j,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN13UserTvarScope11decideScopeE_445 to void(...)*),void(...)**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope11decideScopeE_662 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%Q,i64 24
%aa=bitcast i8*%Z to i32*
store i32 -2147483647,i32*%aa,align 4
%ab=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ac=call fastcc i8*%z(i8*inreg%ab,i8*inreg%Q)
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
%ai=load i8*,i8**%g,align 8
%aj=call fastcc i8*%af(i8*inreg%ah,i8*inreg%ai)
%ak=load i8*,i8**%h,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=call fastcc i8*@_SMLLN13UserTvarScope15bindKindedTvarsE_309(i8*inreg%an)
%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**%d,align 8
store i8*null,i8**%d,align 8
%av=call fastcc i8*%ar(i8*inreg%at,i8*inreg%au)
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%g,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
store i8*%aC,i8**%d,align 8
%aD=call i8*@sml_alloc(i32 inreg 12)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177288,i32*%aF,align 4
store i8*%aD,i8**%e,align 8
%aG=load i8*,i8**%d,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 28)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177304,i32*%aM,align 4
%aN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aK,i64 8
%aQ=bitcast i8*%aP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10unguarded1_446 to void(...)*),void(...)**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 16
%aS=bitcast i8*%aR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10unguarded1_446 to void(...)*),void(...)**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aK,i64 24
%aU=bitcast i8*%aT to i32*
store i32 -2147483647,i32*%aU,align 4
%aV=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%aK)
%aW=getelementptr inbounds i8,i8*%aV,i64 16
%aX=bitcast i8*%aW to i8*(i8*,i8*)**
%aY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aX,align 8
%aZ=bitcast i8*%aV to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=load i8*,i8**%g,align 8
%a2=call fastcc i8*%aY(i8*inreg%a0,i8*inreg%a1)
store i8*%a2,i8**%e,align 8
%a3=bitcast i8**%h to i8***
%a4=load i8**,i8***%a3,align 8
%a5=load i8*,i8**%a4,align 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
store i8*null,i8**%h,align 8
%a9=bitcast i8**%a4 to i8***
%ba=load i8**,i8***%a9,align 8
%bb=load i8*,i8**%ba,align 8
%bc=load i8*,i8**%d,align 8
%bd=call fastcc i8*%a8(i8*inreg%bb,i8*inreg%bc)
%be=getelementptr inbounds i8,i8*%bd,i64 16
%bf=bitcast i8*%be to i8*(i8*,i8*)**
%bg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bf,align 8
%bh=bitcast i8*%bd to i8**
%bi=load i8*,i8**%bh,align 8
%bj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bk=getelementptr inbounds i8,i8*%bj,i64 8
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
%bn=call fastcc i8*%bg(i8*inreg%bi,i8*inreg%bm)
store i8*%bn,i8**%f,align 8
%bo=call i8*@sml_alloc(i32 inreg 20)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177296,i32*%bq,align 4
%br=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bu=getelementptr inbounds i8,i8*%bo,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bo,i64 16
%bx=bitcast i8*%bw to i32*
store i32 3,i32*%bx,align 4
%by=call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%bo)
store i8*%by,i8**%e,align 8
%bz=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%bA=getelementptr inbounds i8,i8*%bz,i64 16
%bB=bitcast i8*%bA to i8*(i8*,i8*)**
%bC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bB,align 8
%bD=bitcast i8*%bz to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%h,align 8
%bF=load i8*,i8**%e,align 8
%bG=call fastcc i8*@_SMLLN13UserTvarScope10toTvarListE_299(i8*inreg%bF)
store i8*%bG,i8**%f,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**%g,align 8
store i8*null,i8**%g,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bN=getelementptr inbounds i8,i8*%bH,i64 8
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
%bR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bS=call fastcc i8*%bC(i8*inreg%bR,i8*inreg%bH)
store i8*%bS,i8**%f,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**%d,align 8
store i8*null,i8**%d,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=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%b3)
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%bT,i8**%c,align 8
%b4=load atomic i32,i32*@sml_check_flag unordered,align 4
%b5=icmp eq i32%b4,0
br i1%b5,label%b7,label%b6
b6:
call void@sml_check(i32 inreg%b4)
br label%b7
b7:
%b8=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%b9=getelementptr inbounds i8,i8*%b8,i64 16
%ca=bitcast i8*%b9 to i8*(i8*,i8*)**
%cb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ca,align 8
%cc=bitcast i8*%b8 to i8**
%cd=load i8*,i8**%cc,align 8
%ce=call fastcc i8*%cb(i8*inreg%cd,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*))
%cf=getelementptr inbounds i8,i8*%ce,i64 16
%cg=bitcast i8*%cf to i8*(i8*,i8*)**
%ch=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cg,align 8
%ci=bitcast i8*%ce to i8**
%cj=load i8*,i8**%ci,align 8
%ck=bitcast i8**%c to i8***
%cl=load i8**,i8***%ck,align 8
%cm=load i8*,i8**%cl,align 8
%cn=call fastcc i8*%ch(i8*inreg%cj,i8*inreg%cm)
%co=getelementptr inbounds i8,i8*%cn,i64 16
%cp=bitcast i8*%co to i8*(i8*,i8*)**
%cq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cp,align 8
%cr=bitcast i8*%cn to i8**
%cs=load i8*,i8**%cr,align 8
%ct=load i8*,i8**%c,align 8
%cu=getelementptr inbounds i8,i8*%ct,i64 8
%cv=bitcast i8*%cu to i8**
%cw=load i8*,i8**%cv,align 8
%cx=call fastcc i8*%cq(i8*inreg%cs,i8*inreg%cw)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b3)
store i8*%cx,i8**%d,align 8
%cy=call i8*@sml_alloc(i32 inreg 20)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177296,i32*%cA,align 4
%cB=load i8*,i8**%d,align 8
%cC=bitcast i8*%cy to i8**
store i8*%cB,i8**%cC,align 8
%cD=load i8*,i8**%f,align 8
%cE=getelementptr inbounds i8,i8*%cy,i64 8
%cF=bitcast i8*%cE to i8**
store i8*%cD,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cy,i64 16
%cH=bitcast i8*%cG to i32*
store i32 3,i32*%cH,align 4
ret i8*%cy
}
define internal fastcc i8*@_SMLLN13UserTvarScope11decideScopeE_448(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*)*@_SMLLN13UserTvarScope11decideScopeE_447 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*)*@_SMLLN13UserTvarScope11decideScopeE_447 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*@_SMLLN13UserTvarScope11decideScopeE_449(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*)*@_SMLLN13UserTvarScope11decideScopeE_448 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*)*@_SMLLN13UserTvarScope11decideScopeE_448 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*@_SMLLN13UserTvarScope9decideExpE_501(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_502(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_457(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_503(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9decideRowE_451(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_504(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9decideRowE_451(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_505(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**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%g,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%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%g,align 8
%n=bitcast i8**%f to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%l],[%k,%j]
%r=phi i8*[%m,%l],[%b,%j]
%s=load i8*,i8**%q,align 8
%t=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t)
%u=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
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*%s,i8**%c,align 8
store i8*%r,i8**%d,align 8
%w=load atomic i32,i32*@sml_check_flag unordered,align 4
%x=icmp eq i32%w,0
br i1%x,label%B,label%y
y:
call void@sml_check(i32 inreg%w)
%z=load i8*,i8**%d,align 8
%A=load i8*,i8**%c,align 8
br label%B
B:
%C=phi i8*[%A,%y],[%s,%p]
%D=phi i8*[%z,%y],[%r,%p]
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%d,align 8
%G=getelementptr inbounds i8,i8*%D,i64 16
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*null,i8**%c,align 8
%M=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%C,i8*inreg%L)
store i8*%M,i8**%c,align 8
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177304,i32*%P,align 4
%Q=load i8*,i8**%d,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=load i8*,i8**%c,align 8
%T=getelementptr inbounds i8,i8*%N,i64 8
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=load i8*,i8**%e,align 8
%W=getelementptr inbounds i8,i8*%N,i64 16
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%N,i64 24
%Z=bitcast i8*%Y to i32*
store i32 7,i32*%Z,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
ret i8*%N
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_506(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11decideMatchE_454(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_507(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_508(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11decideMatchE_454(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_509(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_510(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**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%h,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%a to i8**
br label%q
m:
call void@sml_check(i32 inreg%i)
%n=load i8*,i8**%h,align 8
%o=bitcast i8**%g to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%m],[%l,%k]
%s=phi i8*[%n,%m],[%b,%k]
%t=load i8*,i8**%r,align 8
%u=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
%x=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
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*%t,i8**%c,align 8
store i8*%s,i8**%d,align 8
%y=load atomic i32,i32*@sml_check_flag unordered,align 4
%z=icmp eq i32%y,0
br i1%z,label%D,label%A
A:
call void@sml_check(i32 inreg%y)
%B=load i8*,i8**%d,align 8
%C=load i8*,i8**%c,align 8
br label%D
D:
%E=phi i8*[%C,%A],[%t,%q]
%F=phi i8*[%B,%A],[%s,%q]
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%F,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%e,align 8
%L=getelementptr inbounds i8,i8*%F,i64 24
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%f,align 8
%O=getelementptr inbounds i8,i8*%F,i64 16
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*null,i8**%c,align 8
%R=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%E,i8*inreg%Q)
store i8*%R,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 36)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177312,i32*%U,align 4
%V=load i8*,i8**%d,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%e,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=load i8*,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 16
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=load i8*,i8**%f,align 8
%ae=getelementptr inbounds i8,i8*%S,i64 24
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%S,i64 32
%ah=bitcast i8*%ag to i32*
store i32 15,i32*%ah,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
ret i8*%S
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_513(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**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%h,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%a to i8**
br label%q
m:
call void@sml_check(i32 inreg%i)
%n=load i8*,i8**%h,align 8
%o=bitcast i8**%g to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%m],[%l,%k]
%s=phi i8*[%n,%m],[%b,%k]
%t=load i8*,i8**%r,align 8
%u=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
%x=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
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*%t,i8**%c,align 8
store i8*%s,i8**%d,align 8
%y=load atomic i32,i32*@sml_check_flag unordered,align 4
%z=icmp eq i32%y,0
br i1%z,label%D,label%A
A:
call void@sml_check(i32 inreg%y)
%B=load i8*,i8**%d,align 8
%C=load i8*,i8**%c,align 8
br label%D
D:
%E=phi i8*[%C,%A],[%t,%q]
%F=phi i8*[%B,%A],[%s,%q]
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%F,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%e,align 8
%L=getelementptr inbounds i8,i8*%F,i64 24
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%f,align 8
%O=getelementptr inbounds i8,i8*%F,i64 16
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*null,i8**%c,align 8
%R=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%E,i8*inreg%Q)
store i8*%R,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 36)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177312,i32*%U,align 4
%V=load i8*,i8**%d,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%e,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=load i8*,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 16
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=load i8*,i8**%f,align 8
%ae=getelementptr inbounds i8,i8*%S,i64 24
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%S,i64 32
%ah=bitcast i8*%ag to i32*
store i32 15,i32*%ah,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
ret i8*%S
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_514(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_457(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_515(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_457(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_516(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_457(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideValDecE_518(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**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%f to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%k],[%j,%i]
store i8*null,i8**%f,align 8
%p=load i8*,i8**%o,align 8
%q=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%q)
%r=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%r)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%p,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 12)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177288,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i32*
store i32 1,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 28)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsBindE_433 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10tyvarsBindE_433 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%z,i64 24
%J=bitcast i8*%I to i32*
store i32 -2147483647,i32*%J,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
%K=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%z)
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8*(i8*,i8*)**
%N=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%M,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
%Q=load i8*,i8**%e,align 8
%R=tail call fastcc i8*%N(i8*inreg%P,i8*inreg%Q)
ret i8*%R
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideValDecE_519(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideValDecE_518 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*)*@_SMLLN13UserTvarScope12decideValDecE_518 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*@_SMLLN13UserTvarScope12decideValDecE_521(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**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%g,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%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%g,align 8
%n=bitcast i8**%f to i8****
%o=load i8***,i8****%n,align 8
br label%p
p:
%q=phi i8***[%o,%l],[%k,%j]
%r=phi i8*[%m,%l],[%b,%j]
%s=load i8**,i8***%q,align 8
%t=load i8*,i8**%s,align 8
%u=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%e 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
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%t,i8**%c,align 8
store i8*%r,i8**%d,align 8
%x=load atomic i32,i32*@sml_check_flag unordered,align 4
%y=icmp eq i32%x,0
br i1%y,label%C,label%z
z:
call void@sml_check(i32 inreg%x)
%A=load i8*,i8**%d,align 8
%B=load i8*,i8**%c,align 8
br label%C
C:
%D=phi i8*[%B,%z],[%t,%p]
%E=phi i8*[%A,%z],[%r,%p]
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%E,i64 16
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%e,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*null,i8**%c,align 8
%N=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%D,i8*inreg%M)
store i8*%N,i8**%c,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
%R=load i8*,i8**%d,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=load i8*,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%O,i64 8
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=load i8*,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%O,i64 16
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%O,i64 24
%aa=bitcast i8*%Z to i32*
store i32 7,i32*%aa,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
ret i8*%O
}
define internal fastcc i8*@_SMLLN13UserTvarScope13decideFvalDecE_522(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**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%f to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%k],[%j,%i]
store i8*null,i8**%f,align 8
%p=load i8*,i8**%o,align 8
%q=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%q)
%r=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%r)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%p,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 12)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177288,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i32*
store i32 1,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 28)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14tyvarsFvalbindE_441 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14tyvarsFvalbindE_441 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%z,i64 24
%J=bitcast i8*%I to i32*
store i32 -2147483647,i32*%J,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
%K=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(i8*inreg%z)
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8*(i8*,i8*)**
%N=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%M,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
%Q=load i8*,i8**%e,align 8
%R=tail call fastcc i8*%N(i8*inreg%P,i8*inreg%Q)
ret i8*%R
}
define internal fastcc i8*@_SMLLN13UserTvarScope13decideFvalDecE_523(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope13decideFvalDecE_522 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*)*@_SMLLN13UserTvarScope13decideFvalDecE_522 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*@_SMLLN13UserTvarScope13decideFvalDecE_525(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%j,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%m,label%o
m:
%n=bitcast i8*%a to i8***
br label%s
o:
call void@sml_check(i32 inreg%k)
%p=load i8*,i8**%j,align 8
%q=bitcast i8**%i to i8****
%r=load i8***,i8****%q,align 8
br label%s
s:
%t=phi i8***[%r,%o],[%n,%m]
%u=phi i8*[%p,%o],[%b,%m]
%v=load i8**,i8***%t,align 8
%w=load i8*,i8**%v,align 8
%x=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
%y=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%y)
%z=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z)
%A=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%A)
%B=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%B)
%C=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%C)
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*%w,i8**%d,align 8
store i8*%u,i8**%c,align 8
%D=load atomic i32,i32*@sml_check_flag unordered,align 4
%E=icmp eq i32%D,0
br i1%E,label%F,label%H
F:
%G=bitcast i8*%u to i8***
br label%K
H:
call void@sml_check(i32 inreg%D)
%I=bitcast i8**%c to i8****
%J=load i8***,i8****%I,align 8
br label%K
K:
%L=phi i8***[%J,%H],[%G,%F]
%M=load i8**,i8***%L,align 8
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%e,align 8
%O=getelementptr inbounds i8**,i8***%L,i64 1
%P=bitcast i8***%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%f,align 8
%R=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8*(i8*,i8*)**
%U=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%T,align 8
%V=bitcast i8*%R to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%g,align 8
%X=call i8*@sml_alloc(i32 inreg 12)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177288,i32*%Z,align 4
store i8*%X,i8**%h,align 8
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=call i8*@sml_alloc(i32 inreg 28)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177304,i32*%ag,align 4
%ah=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ae,i64 8
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14decideFvalbindE_526 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 16
%am=bitcast i8*%al to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope14decideFvalbindE_526 to void(...)*),void(...)**%am,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 24
%ao=bitcast i8*%an to i32*
store i32 -2147483647,i32*%ao,align 4
%ap=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aq=call fastcc i8*%U(i8*inreg%ap,i8*inreg%ae)
%ar=getelementptr inbounds i8,i8*%aq,i64 16
%as=bitcast i8*%ar to i8*(i8*,i8*)**
%at=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%as,align 8
%au=bitcast i8*%aq to i8**
%av=load i8*,i8**%au,align 8
%aw=bitcast i8**%c to i8***
%ax=load i8**,i8***%aw,align 8
store i8*null,i8**%c,align 8
%ay=load i8*,i8**%ax,align 8
%az=getelementptr inbounds i8,i8*%ay,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
%aC=call fastcc i8*%at(i8*inreg%av,i8*inreg%aB)
store i8*%aC,i8**%c,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
store i8*%aD,i8**%d,align 8
%aG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aD,i64 16
%aM=bitcast i8*%aL to i32*
store i32 3,i32*%aM,align 4
%aN=call i8*@sml_alloc(i32 inreg 20)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177296,i32*%aP,align 4
%aQ=load i8*,i8**%d,align 8
%aR=bitcast i8*%aN to i8**
store i8*%aQ,i8**%aR,align 8
%aS=load i8*,i8**%f,align 8
%aT=getelementptr inbounds i8,i8*%aN,i64 8
%aU=bitcast i8*%aT to i8**
store i8*%aS,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aN,i64 16
%aW=bitcast i8*%aV to i32*
store i32 3,i32*%aW,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%B)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%C)
ret i8*%aN
}
define internal fastcc i8*@_SMLLN13UserTvarScope14decideFvalbindE_526(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope11decideMatchE_454(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideRowE_451(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%m,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*null,i8**%c,align 8
%s=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%k,i8*inreg%r)
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=load i8*,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=load i8*,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%t,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
ret i8*%t
}
define internal fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%e,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%e,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 2,label%ca
i32 22,label%ca
i32 25,label%ca
i32 24,label%rk
i32 0,label%qd
i32 13,label%o3
i32 15,label%n2
i32 17,label%mT
i32 18,label%me
i32 14,label%lI
i32 11,label%kz
i32 10,label%jy
i32 1,label%hN
i32 16,label%ca
i32 20,label%hb
i32 21,label%ga
i32 9,label%eN
i32 23,label%eb
i32 12,label%dp
i32 3,label%cN
i32 5,label%cb
i32 6,label%ca
i32 7,label%ca
i32 8,label%by
i32 4,label%ap
i32 19,label%L
]
t:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,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**%f,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
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@q,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%f,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
store i8*null,i8**%h,align 8
%M=getelementptr inbounds i8,i8*%p,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%e,align 8
%R=getelementptr inbounds i8,i8*%O,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
store i8*%U,i8**%g,align 8
%X=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=bitcast i8*%ae to i32*
%ag=getelementptr inbounds i8,i8*%ae,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
%ai=getelementptr inbounds i8,i8*%ae,i64 4
%aj=bitcast i8*%ai to i32*
store i32 0,i32*%aj,align 1
store i32 19,i32*%af,align 4
%ak=load i8*,i8**%g,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 16
%ao=bitcast i8*%an to i32*
store i32 2,i32*%ao,align 4
ret i8*%ae
ap:
%aq=getelementptr inbounds i8,i8*%p,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%f,align 8
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%g,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
%ay=load i8*,i8**%h,align 8
%az=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%ay,i8*inreg%ax)
store i8*%az,i8**%e,align 8
%aA=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aB=getelementptr inbounds i8,i8*%aA,i64 16
%aC=bitcast i8*%aB to i8*(i8*,i8*)**
%aD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aC,align 8
%aE=bitcast i8*%aA to i8**
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%i,align 8
%aG=call i8*@sml_alloc(i32 inreg 12)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177288,i32*%aI,align 4
store i8*%aG,i8**%j,align 8
%aJ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aK=bitcast i8*%aG to i8**
store i8*%aJ,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aG,i64 8
%aM=bitcast i8*%aL to i32*
store i32 1,i32*%aM,align 4
%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=getelementptr inbounds i8,i8*%aN,i64 8
%aT=bitcast i8*%aS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_510 to void(...)*),void(...)**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aN,i64 16
%aV=bitcast i8*%aU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_510 to void(...)*),void(...)**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aN,i64 24
%aX=bitcast i8*%aW to i32*
store i32 -2147483647,i32*%aX,align 4
%aY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aZ=call fastcc i8*%aD(i8*inreg%aY,i8*inreg%aN)
%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**%f,align 8
store i8*null,i8**%f,align 8
%a6=getelementptr inbounds i8,i8*%a5,i64 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=call fastcc i8*%a2(i8*inreg%a4,i8*inreg%a8)
store i8*%a9,i8**%f,align 8
%ba=call i8*@sml_alloc(i32 inreg 28)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177304,i32*%bc,align 4
store i8*%ba,i8**%h,align 8
%bd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%be=bitcast i8*%ba to i8**
store i8*%bd,i8**%be,align 8
%bf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bg=getelementptr inbounds i8,i8*%ba,i64 8
%bh=bitcast i8*%bg to i8**
store i8*%bf,i8**%bh,align 8
%bi=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bj=getelementptr inbounds i8,i8*%ba,i64 16
%bk=bitcast i8*%bj to i8**
store i8*%bi,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%ba,i64 24
%bm=bitcast i8*%bl to i32*
store i32 7,i32*%bm,align 4
%bn=call i8*@sml_alloc(i32 inreg 20)#0
%bo=bitcast i8*%bn to i32*
%bp=getelementptr inbounds i8,i8*%bn,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177296,i32*%bq,align 4
%br=getelementptr inbounds i8,i8*%bn,i64 4
%bs=bitcast i8*%br to i32*
store i32 0,i32*%bs,align 1
store i32 4,i32*%bo,align 4
%bt=load i8*,i8**%h,align 8
%bu=getelementptr inbounds i8,i8*%bn,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bn,i64 16
%bx=bitcast i8*%bw to i32*
store i32 2,i32*%bx,align 4
ret i8*%bn
by:
%bz=getelementptr inbounds i8,i8*%p,i64 8
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 8
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%f,align 8
%bF=getelementptr inbounds i8,i8*%bB,i64 16
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
store i8*%bH,i8**%g,align 8
%bI=bitcast i8*%bB to i8**
%bJ=load i8*,i8**%bI,align 8
%bK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bL=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%bK,i8*inreg%bJ)
store i8*%bL,i8**%e,align 8
%bM=call i8*@sml_alloc(i32 inreg 28)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32 1342177304,i32*%bO,align 4
store i8*%bM,i8**%h,align 8
%bP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bQ=bitcast i8*%bM to i8**
store i8*%bP,i8**%bQ,align 8
%bR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bS=getelementptr inbounds i8,i8*%bM,i64 8
%bT=bitcast i8*%bS to i8**
store i8*%bR,i8**%bT,align 8
%bU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bV=getelementptr inbounds i8,i8*%bM,i64 16
%bW=bitcast i8*%bV to i8**
store i8*%bU,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bM,i64 24
%bY=bitcast i8*%bX to i32*
store i32 7,i32*%bY,align 4
%bZ=call i8*@sml_alloc(i32 inreg 20)#0
%b0=bitcast i8*%bZ to i32*
%b1=getelementptr inbounds i8,i8*%bZ,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177296,i32*%b2,align 4
%b3=getelementptr inbounds i8,i8*%bZ,i64 4
%b4=bitcast i8*%b3 to i32*
store i32 0,i32*%b4,align 1
store i32 8,i32*%b0,align 4
%b5=load i8*,i8**%h,align 8
%b6=getelementptr inbounds i8,i8*%bZ,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%bZ,i64 16
%b9=bitcast i8*%b8 to i32*
store i32 2,i32*%b9,align 4
ret i8*%bZ
ca:
ret i8*%p
cb:
%cc=getelementptr inbounds i8,i8*%p,i64 8
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
%cf=getelementptr inbounds i8,i8*%ce,i64 8
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
store i8*%ch,i8**%f,align 8
%ci=getelementptr inbounds i8,i8*%ce,i64 16
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%g,align 8
%cl=bitcast i8*%ce to i8**
%cm=load i8*,i8**%cl,align 8
%cn=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%co=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%cn,i8*inreg%cm)
store i8*%co,i8**%e,align 8
%cp=call i8*@sml_alloc(i32 inreg 28)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177304,i32*%cr,align 4
store i8*%cp,i8**%h,align 8
%cs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
%cu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cv=getelementptr inbounds i8,i8*%cp,i64 8
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cy=getelementptr inbounds i8,i8*%cp,i64 16
%cz=bitcast i8*%cy to i8**
store i8*%cx,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cp,i64 24
%cB=bitcast i8*%cA to i32*
store i32 7,i32*%cB,align 4
%cC=call i8*@sml_alloc(i32 inreg 20)#0
%cD=bitcast i8*%cC to i32*
%cE=getelementptr inbounds i8,i8*%cC,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177296,i32*%cF,align 4
%cG=getelementptr inbounds i8,i8*%cC,i64 4
%cH=bitcast i8*%cG to i32*
store i32 0,i32*%cH,align 1
store i32 5,i32*%cD,align 4
%cI=load i8*,i8**%h,align 8
%cJ=getelementptr inbounds i8,i8*%cC,i64 8
%cK=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cC,i64 16
%cM=bitcast i8*%cL to i32*
store i32 2,i32*%cM,align 4
ret i8*%cC
cN:
%cO=getelementptr inbounds i8,i8*%p,i64 8
%cP=bitcast i8*%cO to i8**
%cQ=load i8*,i8**%cP,align 8
%cR=getelementptr inbounds i8,i8*%cQ,i64 8
%cS=bitcast i8*%cR to i8**
%cT=load i8*,i8**%cS,align 8
store i8*%cT,i8**%f,align 8
%cU=getelementptr inbounds i8,i8*%cQ,i64 16
%cV=bitcast i8*%cU to i8**
%cW=load i8*,i8**%cV,align 8
store i8*%cW,i8**%g,align 8
%cX=bitcast i8*%cQ to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%c0=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%cZ,i8*inreg%cY)
store i8*%c0,i8**%e,align 8
%c1=call i8*@sml_alloc(i32 inreg 28)#0
%c2=getelementptr inbounds i8,i8*%c1,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32 1342177304,i32*%c3,align 4
store i8*%c1,i8**%h,align 8
%c4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c5=bitcast i8*%c1 to i8**
store i8*%c4,i8**%c5,align 8
%c6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c7=getelementptr inbounds i8,i8*%c1,i64 8
%c8=bitcast i8*%c7 to i8**
store i8*%c6,i8**%c8,align 8
%c9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%da=getelementptr inbounds i8,i8*%c1,i64 16
%db=bitcast i8*%da to i8**
store i8*%c9,i8**%db,align 8
%dc=getelementptr inbounds i8,i8*%c1,i64 24
%dd=bitcast i8*%dc to i32*
store i32 7,i32*%dd,align 4
%de=call i8*@sml_alloc(i32 inreg 20)#0
%df=bitcast i8*%de to i32*
%dg=getelementptr inbounds i8,i8*%de,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177296,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%de,i64 4
%dj=bitcast i8*%di to i32*
store i32 0,i32*%dj,align 1
store i32 3,i32*%df,align 4
%dk=load i8*,i8**%h,align 8
%dl=getelementptr inbounds i8,i8*%de,i64 8
%dm=bitcast i8*%dl to i8**
store i8*%dk,i8**%dm,align 8
%dn=getelementptr inbounds i8,i8*%de,i64 16
%do=bitcast i8*%dn to i32*
store i32 2,i32*%do,align 4
ret i8*%de
dp:
%dq=getelementptr inbounds i8,i8*%p,i64 8
%dr=bitcast i8*%dq to i8**
%ds=load i8*,i8**%dr,align 8
store i8*%ds,i8**%f,align 8
%dt=bitcast i8*%ds to i32*
%du=load i32,i32*%dt,align 4
%dv=getelementptr inbounds i8,i8*%ds,i64 24
%dw=bitcast i8*%dv to i8**
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%g,align 8
%dy=getelementptr inbounds i8,i8*%ds,i64 8
%dz=bitcast i8*%dy to i8**
%dA=load i8*,i8**%dz,align 8
%dB=load i8*,i8**%h,align 8
%dC=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%dB,i8*inreg%dA)
store i8*%dC,i8**%e,align 8
%dD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dE=getelementptr inbounds i8,i8*%dD,i64 16
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
%dH=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dI=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%dH,i8*inreg%dG)
store i8*%dI,i8**%f,align 8
%dJ=call i8*@sml_alloc(i32 inreg 36)#0
%dK=getelementptr inbounds i8,i8*%dJ,i64 -4
%dL=bitcast i8*%dK to i32*
store i32 1342177312,i32*%dL,align 4
store i8*%dJ,i8**%h,align 8
%dM=getelementptr inbounds i8,i8*%dJ,i64 4
%dN=bitcast i8*%dM to i32*
store i32 0,i32*%dN,align 1
%dO=bitcast i8*%dJ to i32*
store i32%du,i32*%dO,align 4
%dP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dQ=getelementptr inbounds i8,i8*%dJ,i64 8
%dR=bitcast i8*%dQ to i8**
store i8*%dP,i8**%dR,align 8
%dS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dT=getelementptr inbounds i8,i8*%dJ,i64 16
%dU=bitcast i8*%dT to i8**
store i8*%dS,i8**%dU,align 8
%dV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dW=getelementptr inbounds i8,i8*%dJ,i64 24
%dX=bitcast i8*%dW to i8**
store i8*%dV,i8**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dJ,i64 32
%dZ=bitcast i8*%dY to i32*
store i32 14,i32*%dZ,align 4
%d0=call i8*@sml_alloc(i32 inreg 20)#0
%d1=bitcast i8*%d0 to i32*
%d2=getelementptr inbounds i8,i8*%d0,i64 -4
%d3=bitcast i8*%d2 to i32*
store i32 1342177296,i32*%d3,align 4
%d4=getelementptr inbounds i8,i8*%d0,i64 4
%d5=bitcast i8*%d4 to i32*
store i32 0,i32*%d5,align 1
store i32 12,i32*%d1,align 4
%d6=load i8*,i8**%h,align 8
%d7=getelementptr inbounds i8,i8*%d0,i64 8
%d8=bitcast i8*%d7 to i8**
store i8*%d6,i8**%d8,align 8
%d9=getelementptr inbounds i8,i8*%d0,i64 16
%ea=bitcast i8*%d9 to i32*
store i32 2,i32*%ea,align 4
ret i8*%d0
eb:
%ec=getelementptr inbounds i8,i8*%p,i64 8
%ed=bitcast i8*%ec to i8**
%ee=load i8*,i8**%ed,align 8
%ef=bitcast i8*%ee to i8**
%eg=load i8*,i8**%ef,align 8
store i8*%eg,i8**%f,align 8
%eh=getelementptr inbounds i8,i8*%ee,i64 8
%ei=bitcast i8*%eh to i8**
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%g,align 8
%ek=getelementptr inbounds i8,i8*%ee,i64 16
%el=bitcast i8*%ek to i8**
%em=load i8*,i8**%el,align 8
%en=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eo=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%en,i8*inreg%em)
store i8*%eo,i8**%e,align 8
%ep=call i8*@sml_alloc(i32 inreg 28)#0
%eq=getelementptr inbounds i8,i8*%ep,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177304,i32*%er,align 4
store i8*%ep,i8**%h,align 8
%es=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%et=bitcast i8*%ep to i8**
store i8*%es,i8**%et,align 8
%eu=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ev=getelementptr inbounds i8,i8*%ep,i64 8
%ew=bitcast i8*%ev to i8**
store i8*%eu,i8**%ew,align 8
%ex=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ey=getelementptr inbounds i8,i8*%ep,i64 16
%ez=bitcast i8*%ey to i8**
store i8*%ex,i8**%ez,align 8
%eA=getelementptr inbounds i8,i8*%ep,i64 24
%eB=bitcast i8*%eA to i32*
store i32 7,i32*%eB,align 4
%eC=call i8*@sml_alloc(i32 inreg 20)#0
%eD=bitcast i8*%eC to i32*
%eE=getelementptr inbounds i8,i8*%eC,i64 -4
%eF=bitcast i8*%eE to i32*
store i32 1342177296,i32*%eF,align 4
%eG=getelementptr inbounds i8,i8*%eC,i64 4
%eH=bitcast i8*%eG to i32*
store i32 0,i32*%eH,align 1
store i32 23,i32*%eD,align 4
%eI=load i8*,i8**%h,align 8
%eJ=getelementptr inbounds i8,i8*%eC,i64 8
%eK=bitcast i8*%eJ to i8**
store i8*%eI,i8**%eK,align 8
%eL=getelementptr inbounds i8,i8*%eC,i64 16
%eM=bitcast i8*%eL to i32*
store i32 2,i32*%eM,align 4
ret i8*%eC
eN:
%eO=getelementptr inbounds i8,i8*%p,i64 8
%eP=bitcast i8*%eO to i8**
%eQ=load i8*,i8**%eP,align 8
%eR=getelementptr inbounds i8,i8*%eQ,i64 8
%eS=bitcast i8*%eR to i8**
%eT=load i8*,i8**%eS,align 8
store i8*%eT,i8**%f,align 8
%eU=getelementptr inbounds i8,i8*%eQ,i64 16
%eV=bitcast i8*%eU to i8**
%eW=load i8*,i8**%eV,align 8
store i8*%eW,i8**%g,align 8
%eX=bitcast i8*%eQ to i8**
%eY=load i8*,i8**%eX,align 8
%eZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%e0=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%e0)
%e1=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%e1)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%eZ,i8**%c,align 8
store i8*%eY,i8**%d,align 8
%e2=load atomic i32,i32*@sml_check_flag unordered,align 4
%e3=icmp eq i32%e2,0
br i1%e3,label%e6,label%e4
e4:
call void@sml_check(i32 inreg%e2)
%e5=load i8*,i8**%d,align 8
br label%e6
e6:
%e7=phi i8*[%e5,%e4],[%eY,%eN]
store i8*null,i8**%d,align 8
%e8=bitcast i8*%e7 to i32*
%e9=load i32,i32*%e8,align 4
switch i32%e9,label%fa[
i32 1,label%ft
i32 0,label%fs
]
fa:
call void@sml_matchcomp_bug()
%fb=load i8*,i8**@_SMLZ5Match,align 8
store i8*%fb,i8**%c,align 8
%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**%d,align 8
%ff=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fg=bitcast i8*%fc to i8**
store i8*%ff,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%fc,i64 8
%fi=bitcast i8*%fh to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@r,i64 0,i32 2,i64 0),i8**%fi,align 8
%fj=getelementptr inbounds i8,i8*%fc,i64 16
%fk=bitcast i8*%fj to i32*
store i32 3,i32*%fk,align 4
%fl=call i8*@sml_alloc(i32 inreg 60)#0
%fm=getelementptr inbounds i8,i8*%fl,i64 -4
%fn=bitcast i8*%fm to i32*
store i32 1342177336,i32*%fn,align 4
%fo=getelementptr inbounds i8,i8*%fl,i64 56
%fp=bitcast i8*%fo to i32*
store i32 1,i32*%fp,align 4
%fq=load i8*,i8**%d,align 8
%fr=bitcast i8*%fl to i8**
store i8*%fq,i8**%fr,align 8
call void@sml_raise(i8*inreg%fl)#1
unreachable
fs:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%e0)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%e1)
br label%fK
ft:
%fu=getelementptr inbounds i8,i8*%e7,i64 8
%fv=bitcast i8*%fu to i8**
%fw=load i8*,i8**%fv,align 8
%fx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fy=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%fx,i8*inreg%fw)
store i8*%fy,i8**%c,align 8
%fz=call i8*@sml_alloc(i32 inreg 20)#0
%fA=bitcast i8*%fz to i32*
%fB=getelementptr inbounds i8,i8*%fz,i64 -4
%fC=bitcast i8*%fB to i32*
store i32 1342177296,i32*%fC,align 4
%fD=getelementptr inbounds i8,i8*%fz,i64 4
%fE=bitcast i8*%fD to i32*
store i32 0,i32*%fE,align 1
store i32 1,i32*%fA,align 4
%fF=load i8*,i8**%c,align 8
%fG=getelementptr inbounds i8,i8*%fz,i64 8
%fH=bitcast i8*%fG to i8**
store i8*%fF,i8**%fH,align 8
%fI=getelementptr inbounds i8,i8*%fz,i64 16
%fJ=bitcast i8*%fI to i32*
store i32 2,i32*%fJ,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%e0)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%e1)
br label%fK
fK:
%fL=phi i8*[%e7,%fs],[%fz,%ft]
store i8*%fL,i8**%e,align 8
%fM=call i8*@sml_alloc(i32 inreg 28)#0
%fN=getelementptr inbounds i8,i8*%fM,i64 -4
%fO=bitcast i8*%fN to i32*
store i32 1342177304,i32*%fO,align 4
store i8*%fM,i8**%h,align 8
%fP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fQ=bitcast i8*%fM to i8**
store i8*%fP,i8**%fQ,align 8
%fR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fS=getelementptr inbounds i8,i8*%fM,i64 8
%fT=bitcast i8*%fS to i8**
store i8*%fR,i8**%fT,align 8
%fU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fV=getelementptr inbounds i8,i8*%fM,i64 16
%fW=bitcast i8*%fV to i8**
store i8*%fU,i8**%fW,align 8
%fX=getelementptr inbounds i8,i8*%fM,i64 24
%fY=bitcast i8*%fX to i32*
store i32 7,i32*%fY,align 4
%fZ=call i8*@sml_alloc(i32 inreg 20)#0
%f0=bitcast i8*%fZ to i32*
%f1=getelementptr inbounds i8,i8*%fZ,i64 -4
%f2=bitcast i8*%f1 to i32*
store i32 1342177296,i32*%f2,align 4
%f3=getelementptr inbounds i8,i8*%fZ,i64 4
%f4=bitcast i8*%f3 to i32*
store i32 0,i32*%f4,align 1
store i32 9,i32*%f0,align 4
%f5=load i8*,i8**%h,align 8
%f6=getelementptr inbounds i8,i8*%fZ,i64 8
%f7=bitcast i8*%f6 to i8**
store i8*%f5,i8**%f7,align 8
%f8=getelementptr inbounds i8,i8*%fZ,i64 16
%f9=bitcast i8*%f8 to i32*
store i32 2,i32*%f9,align 4
ret i8*%fZ
ga:
%gb=getelementptr inbounds i8,i8*%p,i64 8
%gc=bitcast i8*%gb to i8**
%gd=load i8*,i8**%gc,align 8
store i8*%gd,i8**%e,align 8
%ge=getelementptr inbounds i8,i8*%gd,i64 8
%gf=bitcast i8*%ge to i8**
%gg=load i8*,i8**%gf,align 8
store i8*%gg,i8**%f,align 8
%gh=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gi=getelementptr inbounds i8,i8*%gh,i64 16
%gj=bitcast i8*%gi to i8*(i8*,i8*)**
%gk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gj,align 8
%gl=bitcast i8*%gh to i8**
%gm=load i8*,i8**%gl,align 8
store i8*%gm,i8**%g,align 8
%gn=call i8*@sml_alloc(i32 inreg 12)#0
%go=getelementptr inbounds i8,i8*%gn,i64 -4
%gp=bitcast i8*%go to i32*
store i32 1342177288,i32*%gp,align 4
store i8*%gn,i8**%i,align 8
%gq=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 i32*
store i32 1,i32*%gt,align 4
%gu=call i8*@sml_alloc(i32 inreg 28)#0
%gv=getelementptr inbounds i8,i8*%gu,i64 -4
%gw=bitcast i8*%gv to i32*
store i32 1342177304,i32*%gw,align 4
%gx=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%gy=bitcast i8*%gu to i8**
store i8*%gx,i8**%gy,align 8
%gz=getelementptr inbounds i8,i8*%gu,i64 8
%gA=bitcast i8*%gz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_509 to void(...)*),void(...)**%gA,align 8
%gB=getelementptr inbounds i8,i8*%gu,i64 16
%gC=bitcast i8*%gB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_509 to void(...)*),void(...)**%gC,align 8
%gD=getelementptr inbounds i8,i8*%gu,i64 24
%gE=bitcast i8*%gD to i32*
store i32 -2147483647,i32*%gE,align 4
%gF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gG=call fastcc i8*%gk(i8*inreg%gF,i8*inreg%gu)
%gH=getelementptr inbounds i8,i8*%gG,i64 16
%gI=bitcast i8*%gH to i8*(i8*,i8*)**
%gJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gI,align 8
%gK=bitcast i8*%gG to i8**
%gL=load i8*,i8**%gK,align 8
%gM=bitcast i8**%e to i8***
%gN=load i8**,i8***%gM,align 8
store i8*null,i8**%e,align 8
%gO=load i8*,i8**%gN,align 8
%gP=call fastcc i8*%gJ(i8*inreg%gL,i8*inreg%gO)
store i8*%gP,i8**%e,align 8
%gQ=call i8*@sml_alloc(i32 inreg 20)#0
%gR=getelementptr inbounds i8,i8*%gQ,i64 -4
%gS=bitcast i8*%gR to i32*
store i32 1342177296,i32*%gS,align 4
store i8*%gQ,i8**%g,align 8
%gT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gU=bitcast i8*%gQ to i8**
store i8*%gT,i8**%gU,align 8
%gV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gW=getelementptr inbounds i8,i8*%gQ,i64 8
%gX=bitcast i8*%gW to i8**
store i8*%gV,i8**%gX,align 8
%gY=getelementptr inbounds i8,i8*%gQ,i64 16
%gZ=bitcast i8*%gY to i32*
store i32 3,i32*%gZ,align 4
%g0=call i8*@sml_alloc(i32 inreg 20)#0
%g1=bitcast i8*%g0 to i32*
%g2=getelementptr inbounds i8,i8*%g0,i64 -4
%g3=bitcast i8*%g2 to i32*
store i32 1342177296,i32*%g3,align 4
%g4=getelementptr inbounds i8,i8*%g0,i64 4
%g5=bitcast i8*%g4 to i32*
store i32 0,i32*%g5,align 1
store i32 21,i32*%g1,align 4
%g6=load i8*,i8**%g,align 8
%g7=getelementptr inbounds i8,i8*%g0,i64 8
%g8=bitcast i8*%g7 to i8**
store i8*%g6,i8**%g8,align 8
%g9=getelementptr inbounds i8,i8*%g0,i64 16
%ha=bitcast i8*%g9 to i32*
store i32 2,i32*%ha,align 4
ret i8*%g0
hb:
%hc=getelementptr inbounds i8,i8*%p,i64 8
%hd=bitcast i8*%hc to i8**
%he=load i8*,i8**%hd,align 8
%hf=bitcast i8*%he to i8**
%hg=load i8*,i8**%hf,align 8
store i8*%hg,i8**%f,align 8
%hh=getelementptr inbounds i8,i8*%he,i64 16
%hi=bitcast i8*%hh to i8**
%hj=load i8*,i8**%hi,align 8
store i8*%hj,i8**%g,align 8
%hk=getelementptr inbounds i8,i8*%he,i64 8
%hl=bitcast i8*%hk to i8**
%hm=load i8*,i8**%hl,align 8
%hn=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ho=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%hn,i8*inreg%hm)
store i8*%ho,i8**%e,align 8
%hp=call i8*@sml_alloc(i32 inreg 28)#0
%hq=getelementptr inbounds i8,i8*%hp,i64 -4
%hr=bitcast i8*%hq to i32*
store i32 1342177304,i32*%hr,align 4
store i8*%hp,i8**%h,align 8
%hs=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ht=bitcast i8*%hp to i8**
store i8*%hs,i8**%ht,align 8
%hu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hv=getelementptr inbounds i8,i8*%hp,i64 8
%hw=bitcast i8*%hv to i8**
store i8*%hu,i8**%hw,align 8
%hx=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hy=getelementptr inbounds i8,i8*%hp,i64 16
%hz=bitcast i8*%hy to i8**
store i8*%hx,i8**%hz,align 8
%hA=getelementptr inbounds i8,i8*%hp,i64 24
%hB=bitcast i8*%hA to i32*
store i32 7,i32*%hB,align 4
%hC=call i8*@sml_alloc(i32 inreg 20)#0
%hD=bitcast i8*%hC to i32*
%hE=getelementptr inbounds i8,i8*%hC,i64 -4
%hF=bitcast i8*%hE to i32*
store i32 1342177296,i32*%hF,align 4
%hG=getelementptr inbounds i8,i8*%hC,i64 4
%hH=bitcast i8*%hG to i32*
store i32 0,i32*%hH,align 1
store i32 20,i32*%hD,align 4
%hI=load i8*,i8**%h,align 8
%hJ=getelementptr inbounds i8,i8*%hC,i64 8
%hK=bitcast i8*%hJ to i8**
store i8*%hI,i8**%hK,align 8
%hL=getelementptr inbounds i8,i8*%hC,i64 16
%hM=bitcast i8*%hL to i32*
store i32 2,i32*%hM,align 4
ret i8*%hC
hN:
%hO=getelementptr inbounds i8,i8*%p,i64 8
%hP=bitcast i8*%hO to i8**
%hQ=load i8*,i8**%hP,align 8
store i8*%hQ,i8**%f,align 8
%hR=getelementptr inbounds i8,i8*%hQ,i64 16
%hS=bitcast i8*%hR to i32*
%hT=load i32,i32*%hS,align 4
%hU=getelementptr inbounds i8,i8*%hQ,i64 24
%hV=bitcast i8*%hU to i8**
%hW=load i8*,i8**%hV,align 8
store i8*%hW,i8**%g,align 8
%hX=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%hY=getelementptr inbounds i8,i8*%hX,i64 16
%hZ=bitcast i8*%hY to i8*(i8*,i8*)**
%h0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hZ,align 8
%h1=bitcast i8*%hX to i8**
%h2=load i8*,i8**%h1,align 8
store i8*%h2,i8**%e,align 8
%h3=call i8*@sml_alloc(i32 inreg 12)#0
%h4=getelementptr inbounds i8,i8*%h3,i64 -4
%h5=bitcast i8*%h4 to i32*
store i32 1342177288,i32*%h5,align 4
store i8*%h3,i8**%i,align 8
%h6=load i8*,i8**%h,align 8
%h7=bitcast i8*%h3 to i8**
store i8*%h6,i8**%h7,align 8
%h8=getelementptr inbounds i8,i8*%h3,i64 8
%h9=bitcast i8*%h8 to i32*
store i32 1,i32*%h9,align 4
%ia=call i8*@sml_alloc(i32 inreg 28)#0
%ib=getelementptr inbounds i8,i8*%ia,i64 -4
%ic=bitcast i8*%ib to i32*
store i32 1342177304,i32*%ic,align 4
%id=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ie=bitcast i8*%ia to i8**
store i8*%id,i8**%ie,align 8
%if=getelementptr inbounds i8,i8*%ia,i64 8
%ig=bitcast i8*%if to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_507 to void(...)*),void(...)**%ig,align 8
%ih=getelementptr inbounds i8,i8*%ia,i64 16
%ii=bitcast i8*%ih to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_507 to void(...)*),void(...)**%ii,align 8
%ij=getelementptr inbounds i8,i8*%ia,i64 24
%ik=bitcast i8*%ij to i32*
store i32 -2147483647,i32*%ik,align 4
%il=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%im=call fastcc i8*%h0(i8*inreg%il,i8*inreg%ia)
%in=getelementptr inbounds i8,i8*%im,i64 16
%io=bitcast i8*%in to i8*(i8*,i8*)**
%ip=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%io,align 8
%iq=bitcast i8*%im to i8**
%ir=load i8*,i8**%iq,align 8
%is=bitcast i8**%f to i8***
%it=load i8**,i8***%is,align 8
%iu=load i8*,i8**%it,align 8
%iv=call fastcc i8*%ip(i8*inreg%ir,i8*inreg%iu)
store i8*%iv,i8**%e,align 8
%iw=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ix=getelementptr inbounds i8,i8*%iw,i64 16
%iy=bitcast i8*%ix to i8*(i8*,i8*)**
%iz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iy,align 8
%iA=bitcast i8*%iw to i8**
%iB=load i8*,i8**%iA,align 8
store i8*%iB,i8**%i,align 8
%iC=call i8*@sml_alloc(i32 inreg 12)#0
%iD=getelementptr inbounds i8,i8*%iC,i64 -4
%iE=bitcast i8*%iD to i32*
store i32 1342177288,i32*%iE,align 4
store i8*%iC,i8**%j,align 8
%iF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%iG=bitcast i8*%iC to i8**
store i8*%iF,i8**%iG,align 8
%iH=getelementptr inbounds i8,i8*%iC,i64 8
%iI=bitcast i8*%iH to i32*
store i32 1,i32*%iI,align 4
%iJ=call i8*@sml_alloc(i32 inreg 28)#0
%iK=getelementptr inbounds i8,i8*%iJ,i64 -4
%iL=bitcast i8*%iK to i32*
store i32 1342177304,i32*%iL,align 4
%iM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%iN=bitcast i8*%iJ to i8**
store i8*%iM,i8**%iN,align 8
%iO=getelementptr inbounds i8,i8*%iJ,i64 8
%iP=bitcast i8*%iO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_508 to void(...)*),void(...)**%iP,align 8
%iQ=getelementptr inbounds i8,i8*%iJ,i64 16
%iR=bitcast i8*%iQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_508 to void(...)*),void(...)**%iR,align 8
%iS=getelementptr inbounds i8,i8*%iJ,i64 24
%iT=bitcast i8*%iS to i32*
store i32 -2147483647,i32*%iT,align 4
%iU=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%iV=call fastcc i8*%iz(i8*inreg%iU,i8*inreg%iJ)
%iW=getelementptr inbounds i8,i8*%iV,i64 16
%iX=bitcast i8*%iW to i8*(i8*,i8*)**
%iY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iX,align 8
%iZ=bitcast i8*%iV to i8**
%i0=load i8*,i8**%iZ,align 8
%i1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%i2=getelementptr inbounds i8,i8*%i1,i64 8
%i3=bitcast i8*%i2 to i8**
%i4=load i8*,i8**%i3,align 8
%i5=call fastcc i8*%iY(i8*inreg%i0,i8*inreg%i4)
store i8*%i5,i8**%f,align 8
%i6=call i8*@sml_alloc(i32 inreg 36)#0
%i7=getelementptr inbounds i8,i8*%i6,i64 -4
%i8=bitcast i8*%i7 to i32*
store i32 1342177312,i32*%i8,align 4
store i8*%i6,i8**%h,align 8
%i9=getelementptr inbounds i8,i8*%i6,i64 20
%ja=bitcast i8*%i9 to i32*
store i32 0,i32*%ja,align 1
%jb=load i8*,i8**%e,align 8
%jc=bitcast i8*%i6 to i8**
store i8*null,i8**%e,align 8
store i8*%jb,i8**%jc,align 8
%jd=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%je=getelementptr inbounds i8,i8*%i6,i64 8
%jf=bitcast i8*%je to i8**
store i8*%jd,i8**%jf,align 8
%jg=getelementptr inbounds i8,i8*%i6,i64 16
%jh=bitcast i8*%jg to i32*
store i32%hT,i32*%jh,align 4
%ji=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jj=getelementptr inbounds i8,i8*%i6,i64 24
%jk=bitcast i8*%jj to i8**
store i8*%ji,i8**%jk,align 8
%jl=getelementptr inbounds i8,i8*%i6,i64 32
%jm=bitcast i8*%jl to i32*
store i32 11,i32*%jm,align 4
%jn=call i8*@sml_alloc(i32 inreg 20)#0
%jo=bitcast i8*%jn to i32*
%jp=getelementptr inbounds i8,i8*%jn,i64 -4
%jq=bitcast i8*%jp to i32*
store i32 1342177296,i32*%jq,align 4
%jr=getelementptr inbounds i8,i8*%jn,i64 4
%js=bitcast i8*%jr to i32*
store i32 0,i32*%js,align 1
store i32 1,i32*%jo,align 4
%jt=load i8*,i8**%h,align 8
%ju=getelementptr inbounds i8,i8*%jn,i64 8
%jv=bitcast i8*%ju to i8**
store i8*%jt,i8**%jv,align 8
%jw=getelementptr inbounds i8,i8*%jn,i64 16
%jx=bitcast i8*%jw to i32*
store i32 2,i32*%jx,align 4
ret i8*%jn
jy:
%jz=getelementptr inbounds i8,i8*%p,i64 8
%jA=bitcast i8*%jz to i8**
%jB=load i8*,i8**%jA,align 8
store i8*%jB,i8**%e,align 8
%jC=getelementptr inbounds i8,i8*%jB,i64 8
%jD=bitcast i8*%jC to i8**
%jE=load i8*,i8**%jD,align 8
store i8*%jE,i8**%f,align 8
%jF=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%jG=getelementptr inbounds i8,i8*%jF,i64 16
%jH=bitcast i8*%jG to i8*(i8*,i8*)**
%jI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jH,align 8
%jJ=bitcast i8*%jF to i8**
%jK=load i8*,i8**%jJ,align 8
store i8*%jK,i8**%g,align 8
%jL=call i8*@sml_alloc(i32 inreg 12)#0
%jM=getelementptr inbounds i8,i8*%jL,i64 -4
%jN=bitcast i8*%jM to i32*
store i32 1342177288,i32*%jN,align 4
store i8*%jL,i8**%i,align 8
%jO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jP=bitcast i8*%jL to i8**
store i8*%jO,i8**%jP,align 8
%jQ=getelementptr inbounds i8,i8*%jL,i64 8
%jR=bitcast i8*%jQ to i32*
store i32 1,i32*%jR,align 4
%jS=call i8*@sml_alloc(i32 inreg 28)#0
%jT=getelementptr inbounds i8,i8*%jS,i64 -4
%jU=bitcast i8*%jT to i32*
store i32 1342177304,i32*%jU,align 4
%jV=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%jW=bitcast i8*%jS to i8**
store i8*%jV,i8**%jW,align 8
%jX=getelementptr inbounds i8,i8*%jS,i64 8
%jY=bitcast i8*%jX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_506 to void(...)*),void(...)**%jY,align 8
%jZ=getelementptr inbounds i8,i8*%jS,i64 16
%j0=bitcast i8*%jZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_506 to void(...)*),void(...)**%j0,align 8
%j1=getelementptr inbounds i8,i8*%jS,i64 24
%j2=bitcast i8*%j1 to i32*
store i32 -2147483647,i32*%j2,align 4
%j3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%j4=call fastcc i8*%jI(i8*inreg%j3,i8*inreg%jS)
%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
%ka=bitcast i8**%e to i8***
%kb=load i8**,i8***%ka,align 8
store i8*null,i8**%e,align 8
%kc=load i8*,i8**%kb,align 8
%kd=call fastcc i8*%j7(i8*inreg%j9,i8*inreg%kc)
store i8*%kd,i8**%e,align 8
%ke=call i8*@sml_alloc(i32 inreg 20)#0
%kf=getelementptr inbounds i8,i8*%ke,i64 -4
%kg=bitcast i8*%kf to i32*
store i32 1342177296,i32*%kg,align 4
store i8*%ke,i8**%g,align 8
%kh=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ki=bitcast i8*%ke to i8**
store i8*%kh,i8**%ki,align 8
%kj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kk=getelementptr inbounds i8,i8*%ke,i64 8
%kl=bitcast i8*%kk to i8**
store i8*%kj,i8**%kl,align 8
%km=getelementptr inbounds i8,i8*%ke,i64 16
%kn=bitcast i8*%km to i32*
store i32 3,i32*%kn,align 4
%ko=call i8*@sml_alloc(i32 inreg 20)#0
%kp=bitcast i8*%ko to i32*
%kq=getelementptr inbounds i8,i8*%ko,i64 -4
%kr=bitcast i8*%kq to i32*
store i32 1342177296,i32*%kr,align 4
%ks=getelementptr inbounds i8,i8*%ko,i64 4
%kt=bitcast i8*%ks to i32*
store i32 0,i32*%kt,align 1
store i32 10,i32*%kp,align 4
%ku=load i8*,i8**%g,align 8
%kv=getelementptr inbounds i8,i8*%ko,i64 8
%kw=bitcast i8*%kv to i8**
store i8*%ku,i8**%kw,align 8
%kx=getelementptr inbounds i8,i8*%ko,i64 16
%ky=bitcast i8*%kx to i32*
store i32 2,i32*%ky,align 4
ret i8*%ko
kz:
%kA=getelementptr inbounds i8,i8*%p,i64 8
%kB=bitcast i8*%kA to i8**
%kC=load i8*,i8**%kB,align 8
store i8*%kC,i8**%f,align 8
%kD=getelementptr inbounds i8,i8*%kC,i64 16
%kE=bitcast i8*%kD to i8**
%kF=load i8*,i8**%kE,align 8
store i8*%kF,i8**%g,align 8
%kG=bitcast i8*%kC to i8**
%kH=load i8*,i8**%kG,align 8
%kI=load i8*,i8**%h,align 8
%kJ=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%kI,i8*inreg%kH)
store i8*%kJ,i8**%e,align 8
%kK=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%kL=getelementptr inbounds i8,i8*%kK,i64 16
%kM=bitcast i8*%kL to i8*(i8*,i8*)**
%kN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kM,align 8
%kO=bitcast i8*%kK to i8**
%kP=load i8*,i8**%kO,align 8
store i8*%kP,i8**%i,align 8
%kQ=call i8*@sml_alloc(i32 inreg 12)#0
%kR=getelementptr inbounds i8,i8*%kQ,i64 -4
%kS=bitcast i8*%kR to i32*
store i32 1342177288,i32*%kS,align 4
store i8*%kQ,i8**%j,align 8
%kT=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kU=bitcast i8*%kQ to i8**
store i8*%kT,i8**%kU,align 8
%kV=getelementptr inbounds i8,i8*%kQ,i64 8
%kW=bitcast i8*%kV to i32*
store i32 1,i32*%kW,align 4
%kX=call i8*@sml_alloc(i32 inreg 28)#0
%kY=getelementptr inbounds i8,i8*%kX,i64 -4
%kZ=bitcast i8*%kY to i32*
store i32 1342177304,i32*%kZ,align 4
%k0=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%k1=bitcast i8*%kX to i8**
store i8*%k0,i8**%k1,align 8
%k2=getelementptr inbounds i8,i8*%kX,i64 8
%k3=bitcast i8*%k2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_505 to void(...)*),void(...)**%k3,align 8
%k4=getelementptr inbounds i8,i8*%kX,i64 16
%k5=bitcast i8*%k4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_505 to void(...)*),void(...)**%k5,align 8
%k6=getelementptr inbounds i8,i8*%kX,i64 24
%k7=bitcast i8*%k6 to i32*
store i32 -2147483647,i32*%k7,align 4
%k8=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%k9=call fastcc i8*%kN(i8*inreg%k8,i8*inreg%kX)
%la=getelementptr inbounds i8,i8*%k9,i64 16
%lb=bitcast i8*%la to i8*(i8*,i8*)**
%lc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lb,align 8
%ld=bitcast i8*%k9 to i8**
%le=load i8*,i8**%ld,align 8
%lf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lg=getelementptr inbounds i8,i8*%lf,i64 8
%lh=bitcast i8*%lg to i8**
%li=load i8*,i8**%lh,align 8
%lj=call fastcc i8*%lc(i8*inreg%le,i8*inreg%li)
store i8*%lj,i8**%f,align 8
%lk=call i8*@sml_alloc(i32 inreg 28)#0
%ll=getelementptr inbounds i8,i8*%lk,i64 -4
%lm=bitcast i8*%ll to i32*
store i32 1342177304,i32*%lm,align 4
store i8*%lk,i8**%h,align 8
%ln=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lo=bitcast i8*%lk to i8**
store i8*%ln,i8**%lo,align 8
%lp=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lq=getelementptr inbounds i8,i8*%lk,i64 8
%lr=bitcast i8*%lq to i8**
store i8*%lp,i8**%lr,align 8
%ls=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lt=getelementptr inbounds i8,i8*%lk,i64 16
%lu=bitcast i8*%lt to i8**
store i8*%ls,i8**%lu,align 8
%lv=getelementptr inbounds i8,i8*%lk,i64 24
%lw=bitcast i8*%lv to i32*
store i32 7,i32*%lw,align 4
%lx=call i8*@sml_alloc(i32 inreg 20)#0
%ly=bitcast i8*%lx to i32*
%lz=getelementptr inbounds i8,i8*%lx,i64 -4
%lA=bitcast i8*%lz to i32*
store i32 1342177296,i32*%lA,align 4
%lB=getelementptr inbounds i8,i8*%lx,i64 4
%lC=bitcast i8*%lB to i32*
store i32 0,i32*%lC,align 1
store i32 11,i32*%ly,align 4
%lD=load i8*,i8**%h,align 8
%lE=getelementptr inbounds i8,i8*%lx,i64 8
%lF=bitcast i8*%lE to i8**
store i8*%lD,i8**%lF,align 8
%lG=getelementptr inbounds i8,i8*%lx,i64 16
%lH=bitcast i8*%lG to i32*
store i32 2,i32*%lH,align 4
ret i8*%lx
lI:
%lJ=getelementptr inbounds i8,i8*%p,i64 8
%lK=bitcast i8*%lJ to i8**
%lL=load i8*,i8**%lK,align 8
%lM=getelementptr inbounds i8,i8*%lL,i64 8
%lN=bitcast i8*%lM to i8**
%lO=load i8*,i8**%lN,align 8
store i8*%lO,i8**%f,align 8
%lP=bitcast i8*%lL to i8**
%lQ=load i8*,i8**%lP,align 8
%lR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%lS=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%lR,i8*inreg%lQ)
store i8*%lS,i8**%e,align 8
%lT=call i8*@sml_alloc(i32 inreg 20)#0
%lU=getelementptr inbounds i8,i8*%lT,i64 -4
%lV=bitcast i8*%lU to i32*
store i32 1342177296,i32*%lV,align 4
store i8*%lT,i8**%g,align 8
%lW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lX=bitcast i8*%lT to i8**
store i8*%lW,i8**%lX,align 8
%lY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lZ=getelementptr inbounds i8,i8*%lT,i64 8
%l0=bitcast i8*%lZ to i8**
store i8*%lY,i8**%l0,align 8
%l1=getelementptr inbounds i8,i8*%lT,i64 16
%l2=bitcast i8*%l1 to i32*
store i32 3,i32*%l2,align 4
%l3=call i8*@sml_alloc(i32 inreg 20)#0
%l4=bitcast i8*%l3 to i32*
%l5=getelementptr inbounds i8,i8*%l3,i64 -4
%l6=bitcast i8*%l5 to i32*
store i32 1342177296,i32*%l6,align 4
%l7=getelementptr inbounds i8,i8*%l3,i64 4
%l8=bitcast i8*%l7 to i32*
store i32 0,i32*%l8,align 1
store i32 14,i32*%l4,align 4
%l9=load i8*,i8**%g,align 8
%ma=getelementptr inbounds i8,i8*%l3,i64 8
%mb=bitcast i8*%ma to i8**
store i8*%l9,i8**%mb,align 8
%mc=getelementptr inbounds i8,i8*%l3,i64 16
%md=bitcast i8*%mc to i32*
store i32 2,i32*%md,align 4
ret i8*%l3
me:
%mf=getelementptr inbounds i8,i8*%p,i64 8
%mg=bitcast i8*%mf to i8**
%mh=load i8*,i8**%mg,align 8
store i8*%mh,i8**%f,align 8
%mi=getelementptr inbounds i8,i8*%mh,i64 16
%mj=bitcast i8*%mi to i8**
%mk=load i8*,i8**%mj,align 8
store i8*%mk,i8**%g,align 8
%ml=bitcast i8*%mh to i8**
%mm=load i8*,i8**%ml,align 8
%mn=load i8*,i8**%h,align 8
%mo=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%mn,i8*inreg%mm)
store i8*%mo,i8**%e,align 8
%mp=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mq=getelementptr inbounds i8,i8*%mp,i64 8
%mr=bitcast i8*%mq to i8**
%ms=load i8*,i8**%mr,align 8
%mt=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%mu=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%mt,i8*inreg%ms)
store i8*%mu,i8**%f,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
store i8*%mv,i8**%h,align 8
%my=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%mz=bitcast i8*%mv to i8**
store i8*%my,i8**%mz,align 8
%mA=load i8*,i8**%f,align 8
store i8*null,i8**%f,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**%g,align 8
store i8*null,i8**%g,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=call i8*@sml_alloc(i32 inreg 20)#0
%mJ=bitcast i8*%mI to i32*
%mK=getelementptr inbounds i8,i8*%mI,i64 -4
%mL=bitcast i8*%mK to i32*
store i32 1342177296,i32*%mL,align 4
%mM=getelementptr inbounds i8,i8*%mI,i64 4
%mN=bitcast i8*%mM to i32*
store i32 0,i32*%mN,align 1
store i32 18,i32*%mJ,align 4
%mO=load i8*,i8**%h,align 8
%mP=getelementptr inbounds i8,i8*%mI,i64 8
%mQ=bitcast i8*%mP to i8**
store i8*%mO,i8**%mQ,align 8
%mR=getelementptr inbounds i8,i8*%mI,i64 16
%mS=bitcast i8*%mR to i32*
store i32 2,i32*%mS,align 4
ret i8*%mI
mT:
%mU=getelementptr inbounds i8,i8*%p,i64 8
%mV=bitcast i8*%mU to i8**
%mW=load i8*,i8**%mV,align 8
store i8*%mW,i8**%f,align 8
%mX=getelementptr inbounds i8,i8*%mW,i64 16
%mY=bitcast i8*%mX to i8**
%mZ=load i8*,i8**%mY,align 8
store i8*%mZ,i8**%g,align 8
%m0=bitcast i8*%mW to i8**
%m1=load i8*,i8**%m0,align 8
%m2=load i8*,i8**%h,align 8
%m3=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%m2,i8*inreg%m1)
store i8*%m3,i8**%e,align 8
%m4=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%m5=getelementptr inbounds i8,i8*%m4,i64 16
%m6=bitcast i8*%m5 to i8*(i8*,i8*)**
%m7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m6,align 8
%m8=bitcast i8*%m4 to i8**
%m9=load i8*,i8**%m8,align 8
store i8*%m9,i8**%i,align 8
%na=call i8*@sml_alloc(i32 inreg 12)#0
%nb=getelementptr inbounds i8,i8*%na,i64 -4
%nc=bitcast i8*%nb to i32*
store i32 1342177288,i32*%nc,align 4
store i8*%na,i8**%j,align 8
%nd=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ne=bitcast i8*%na to i8**
store i8*%nd,i8**%ne,align 8
%nf=getelementptr inbounds i8,i8*%na,i64 8
%ng=bitcast i8*%nf to i32*
store i32 1,i32*%ng,align 4
%nh=call i8*@sml_alloc(i32 inreg 28)#0
%ni=getelementptr inbounds i8,i8*%nh,i64 -4
%nj=bitcast i8*%ni to i32*
store i32 1342177304,i32*%nj,align 4
%nk=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%nl=bitcast i8*%nh to i8**
store i8*%nk,i8**%nl,align 8
%nm=getelementptr inbounds i8,i8*%nh,i64 8
%nn=bitcast i8*%nm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_504 to void(...)*),void(...)**%nn,align 8
%no=getelementptr inbounds i8,i8*%nh,i64 16
%np=bitcast i8*%no to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_504 to void(...)*),void(...)**%np,align 8
%nq=getelementptr inbounds i8,i8*%nh,i64 24
%nr=bitcast i8*%nq to i32*
store i32 -2147483647,i32*%nr,align 4
%ns=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%nt=call fastcc i8*%m7(i8*inreg%ns,i8*inreg%nh)
%nu=getelementptr inbounds i8,i8*%nt,i64 16
%nv=bitcast i8*%nu to i8*(i8*,i8*)**
%nw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nv,align 8
%nx=bitcast i8*%nt to i8**
%ny=load i8*,i8**%nx,align 8
%nz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%nA=getelementptr inbounds i8,i8*%nz,i64 8
%nB=bitcast i8*%nA to i8**
%nC=load i8*,i8**%nB,align 8
%nD=call fastcc i8*%nw(i8*inreg%ny,i8*inreg%nC)
store i8*%nD,i8**%f,align 8
%nE=call i8*@sml_alloc(i32 inreg 28)#0
%nF=getelementptr inbounds i8,i8*%nE,i64 -4
%nG=bitcast i8*%nF to i32*
store i32 1342177304,i32*%nG,align 4
store i8*%nE,i8**%h,align 8
%nH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%nI=bitcast i8*%nE to i8**
store i8*%nH,i8**%nI,align 8
%nJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%nK=getelementptr inbounds i8,i8*%nE,i64 8
%nL=bitcast i8*%nK to i8**
store i8*%nJ,i8**%nL,align 8
%nM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%nN=getelementptr inbounds i8,i8*%nE,i64 16
%nO=bitcast i8*%nN to i8**
store i8*%nM,i8**%nO,align 8
%nP=getelementptr inbounds i8,i8*%nE,i64 24
%nQ=bitcast i8*%nP to i32*
store i32 7,i32*%nQ,align 4
%nR=call i8*@sml_alloc(i32 inreg 20)#0
%nS=bitcast i8*%nR to i32*
%nT=getelementptr inbounds i8,i8*%nR,i64 -4
%nU=bitcast i8*%nT to i32*
store i32 1342177296,i32*%nU,align 4
%nV=getelementptr inbounds i8,i8*%nR,i64 4
%nW=bitcast i8*%nV to i32*
store i32 0,i32*%nW,align 1
store i32 17,i32*%nS,align 4
%nX=load i8*,i8**%h,align 8
%nY=getelementptr inbounds i8,i8*%nR,i64 8
%nZ=bitcast i8*%nY to i8**
store i8*%nX,i8**%nZ,align 8
%n0=getelementptr inbounds i8,i8*%nR,i64 16
%n1=bitcast i8*%n0 to i32*
store i32 2,i32*%n1,align 4
ret i8*%nR
n2:
%n3=getelementptr inbounds i8,i8*%p,i64 8
%n4=bitcast i8*%n3 to i8**
%n5=load i8*,i8**%n4,align 8
store i8*%n5,i8**%e,align 8
%n6=getelementptr inbounds i8,i8*%n5,i64 8
%n7=bitcast i8*%n6 to i8**
%n8=load i8*,i8**%n7,align 8
store i8*%n8,i8**%f,align 8
%n9=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%oa=getelementptr inbounds i8,i8*%n9,i64 16
%ob=bitcast i8*%oa to i8*(i8*,i8*)**
%oc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ob,align 8
%od=bitcast i8*%n9 to i8**
%oe=load i8*,i8**%od,align 8
store i8*%oe,i8**%g,align 8
%of=call i8*@sml_alloc(i32 inreg 12)#0
%og=getelementptr inbounds i8,i8*%of,i64 -4
%oh=bitcast i8*%og to i32*
store i32 1342177288,i32*%oh,align 4
store i8*%of,i8**%i,align 8
%oi=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%oj=bitcast i8*%of to i8**
store i8*%oi,i8**%oj,align 8
%ok=getelementptr inbounds i8,i8*%of,i64 8
%ol=bitcast i8*%ok to i32*
store i32 1,i32*%ol,align 4
%om=call i8*@sml_alloc(i32 inreg 28)#0
%on=getelementptr inbounds i8,i8*%om,i64 -4
%oo=bitcast i8*%on to i32*
store i32 1342177304,i32*%oo,align 4
%op=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%oq=bitcast i8*%om to i8**
store i8*%op,i8**%oq,align 8
%or=getelementptr inbounds i8,i8*%om,i64 8
%os=bitcast i8*%or to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_503 to void(...)*),void(...)**%os,align 8
%ot=getelementptr inbounds i8,i8*%om,i64 16
%ou=bitcast i8*%ot to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_503 to void(...)*),void(...)**%ou,align 8
%ov=getelementptr inbounds i8,i8*%om,i64 24
%ow=bitcast i8*%ov to i32*
store i32 -2147483647,i32*%ow,align 4
%ox=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%oy=call fastcc i8*%oc(i8*inreg%ox,i8*inreg%om)
%oz=getelementptr inbounds i8,i8*%oy,i64 16
%oA=bitcast i8*%oz to i8*(i8*,i8*)**
%oB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oA,align 8
%oC=bitcast i8*%oy to i8**
%oD=load i8*,i8**%oC,align 8
%oE=bitcast i8**%e to i8***
%oF=load i8**,i8***%oE,align 8
store i8*null,i8**%e,align 8
%oG=load i8*,i8**%oF,align 8
%oH=call fastcc i8*%oB(i8*inreg%oD,i8*inreg%oG)
store i8*%oH,i8**%e,align 8
%oI=call i8*@sml_alloc(i32 inreg 20)#0
%oJ=getelementptr inbounds i8,i8*%oI,i64 -4
%oK=bitcast i8*%oJ to i32*
store i32 1342177296,i32*%oK,align 4
store i8*%oI,i8**%g,align 8
%oL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%oM=bitcast i8*%oI to i8**
store i8*%oL,i8**%oM,align 8
%oN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%oO=getelementptr inbounds i8,i8*%oI,i64 8
%oP=bitcast i8*%oO to i8**
store i8*%oN,i8**%oP,align 8
%oQ=getelementptr inbounds i8,i8*%oI,i64 16
%oR=bitcast i8*%oQ to i32*
store i32 3,i32*%oR,align 4
%oS=call i8*@sml_alloc(i32 inreg 20)#0
%oT=bitcast i8*%oS to i32*
%oU=getelementptr inbounds i8,i8*%oS,i64 -4
%oV=bitcast i8*%oU to i32*
store i32 1342177296,i32*%oV,align 4
%oW=getelementptr inbounds i8,i8*%oS,i64 4
%oX=bitcast i8*%oW to i32*
store i32 0,i32*%oX,align 1
store i32 15,i32*%oT,align 4
%oY=load i8*,i8**%g,align 8
%oZ=getelementptr inbounds i8,i8*%oS,i64 8
%o0=bitcast i8*%oZ to i8**
store i8*%oY,i8**%o0,align 8
%o1=getelementptr inbounds i8,i8*%oS,i64 16
%o2=bitcast i8*%o1 to i32*
store i32 2,i32*%o2,align 4
ret i8*%oS
o3:
%o4=getelementptr inbounds i8,i8*%p,i64 8
%o5=bitcast i8*%o4 to i8**
%o6=load i8*,i8**%o5,align 8
store i8*%o6,i8**%f,align 8
%o7=getelementptr inbounds i8,i8*%o6,i64 16
%o8=bitcast i8*%o7 to i8**
%o9=load i8*,i8**%o8,align 8
store i8*%o9,i8**%g,align 8
%pa=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%pb=getelementptr inbounds i8,i8*%pa,i64 16
%pc=bitcast i8*%pb to i8*(i8*,i8*)**
%pd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pc,align 8
%pe=bitcast i8*%pa to i8**
%pf=load i8*,i8**%pe,align 8
store i8*%pf,i8**%e,align 8
%pg=call i8*@sml_alloc(i32 inreg 12)#0
%ph=getelementptr inbounds i8,i8*%pg,i64 -4
%pi=bitcast i8*%ph to i32*
store i32 1342177288,i32*%pi,align 4
store i8*%pg,i8**%i,align 8
%pj=load i8*,i8**%h,align 8
%pk=bitcast i8*%pg to i8**
store i8*%pj,i8**%pk,align 8
%pl=getelementptr inbounds i8,i8*%pg,i64 8
%pm=bitcast i8*%pl to i32*
store i32 1,i32*%pm,align 4
%pn=call i8*@sml_alloc(i32 inreg 28)#0
%po=getelementptr inbounds i8,i8*%pn,i64 -4
%pp=bitcast i8*%po to i32*
store i32 1342177304,i32*%pp,align 4
%pq=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%pr=bitcast i8*%pn to i8**
store i8*%pq,i8**%pr,align 8
%ps=getelementptr inbounds i8,i8*%pn,i64 8
%pt=bitcast i8*%ps to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_502 to void(...)*),void(...)**%pt,align 8
%pu=getelementptr inbounds i8,i8*%pn,i64 16
%pv=bitcast i8*%pu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_502 to void(...)*),void(...)**%pv,align 8
%pw=getelementptr inbounds i8,i8*%pn,i64 24
%px=bitcast i8*%pw to i32*
store i32 -2147483647,i32*%px,align 4
%py=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pz=call fastcc i8*%pd(i8*inreg%py,i8*inreg%pn)
%pA=getelementptr inbounds i8,i8*%pz,i64 16
%pB=bitcast i8*%pA to i8*(i8*,i8*)**
%pC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pB,align 8
%pD=bitcast i8*%pz to i8**
%pE=load i8*,i8**%pD,align 8
%pF=bitcast i8**%f to i8***
%pG=load i8**,i8***%pF,align 8
%pH=load i8*,i8**%pG,align 8
%pI=call fastcc i8*%pC(i8*inreg%pE,i8*inreg%pH)
store i8*%pI,i8**%e,align 8
%pJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pK=getelementptr inbounds i8,i8*%pJ,i64 8
%pL=bitcast i8*%pK to i8**
%pM=load i8*,i8**%pL,align 8
%pN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%pO=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%pN,i8*inreg%pM)
store i8*%pO,i8**%f,align 8
%pP=call i8*@sml_alloc(i32 inreg 28)#0
%pQ=getelementptr inbounds i8,i8*%pP,i64 -4
%pR=bitcast i8*%pQ to i32*
store i32 1342177304,i32*%pR,align 4
store i8*%pP,i8**%h,align 8
%pS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pT=bitcast i8*%pP to i8**
store i8*%pS,i8**%pT,align 8
%pU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pV=getelementptr inbounds i8,i8*%pP,i64 8
%pW=bitcast i8*%pV to i8**
store i8*%pU,i8**%pW,align 8
%pX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%pY=getelementptr inbounds i8,i8*%pP,i64 16
%pZ=bitcast i8*%pY to i8**
store i8*%pX,i8**%pZ,align 8
%p0=getelementptr inbounds i8,i8*%pP,i64 24
%p1=bitcast i8*%p0 to i32*
store i32 7,i32*%p1,align 4
%p2=call i8*@sml_alloc(i32 inreg 20)#0
%p3=bitcast i8*%p2 to i32*
%p4=getelementptr inbounds i8,i8*%p2,i64 -4
%p5=bitcast i8*%p4 to i32*
store i32 1342177296,i32*%p5,align 4
%p6=getelementptr inbounds i8,i8*%p2,i64 4
%p7=bitcast i8*%p6 to i32*
store i32 0,i32*%p7,align 1
store i32 13,i32*%p3,align 4
%p8=load i8*,i8**%h,align 8
%p9=getelementptr inbounds i8,i8*%p2,i64 8
%qa=bitcast i8*%p9 to i8**
store i8*%p8,i8**%qa,align 8
%qb=getelementptr inbounds i8,i8*%p2,i64 16
%qc=bitcast i8*%qb to i32*
store i32 2,i32*%qc,align 4
ret i8*%p2
qd:
%qe=getelementptr inbounds i8,i8*%p,i64 8
%qf=bitcast i8*%qe to i8**
%qg=load i8*,i8**%qf,align 8
store i8*%qg,i8**%f,align 8
%qh=getelementptr inbounds i8,i8*%qg,i64 16
%qi=bitcast i8*%qh to i8**
%qj=load i8*,i8**%qi,align 8
store i8*%qj,i8**%g,align 8
%qk=bitcast i8*%qg to i8**
%ql=load i8*,i8**%qk,align 8
%qm=load i8*,i8**%h,align 8
%qn=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%qm,i8*inreg%ql)
store i8*%qn,i8**%e,align 8
%qo=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%qp=getelementptr inbounds i8,i8*%qo,i64 16
%qq=bitcast i8*%qp to i8*(i8*,i8*)**
%qr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qq,align 8
%qs=bitcast i8*%qo to i8**
%qt=load i8*,i8**%qs,align 8
store i8*%qt,i8**%i,align 8
%qu=call i8*@sml_alloc(i32 inreg 12)#0
%qv=getelementptr inbounds i8,i8*%qu,i64 -4
%qw=bitcast i8*%qv to i32*
store i32 1342177288,i32*%qw,align 4
store i8*%qu,i8**%j,align 8
%qx=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%qy=bitcast i8*%qu to i8**
store i8*%qx,i8**%qy,align 8
%qz=getelementptr inbounds i8,i8*%qu,i64 8
%qA=bitcast i8*%qz to i32*
store i32 1,i32*%qA,align 4
%qB=call i8*@sml_alloc(i32 inreg 28)#0
%qC=getelementptr inbounds i8,i8*%qB,i64 -4
%qD=bitcast i8*%qC to i32*
store i32 1342177304,i32*%qD,align 4
%qE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%qF=bitcast i8*%qB to i8**
store i8*%qE,i8**%qF,align 8
%qG=getelementptr inbounds i8,i8*%qB,i64 8
%qH=bitcast i8*%qG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_501 to void(...)*),void(...)**%qH,align 8
%qI=getelementptr inbounds i8,i8*%qB,i64 16
%qJ=bitcast i8*%qI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope9decideExpE_501 to void(...)*),void(...)**%qJ,align 8
%qK=getelementptr inbounds i8,i8*%qB,i64 24
%qL=bitcast i8*%qK to i32*
store i32 -2147483647,i32*%qL,align 4
%qM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%qN=call fastcc i8*%qr(i8*inreg%qM,i8*inreg%qB)
%qO=getelementptr inbounds i8,i8*%qN,i64 16
%qP=bitcast i8*%qO to i8*(i8*,i8*)**
%qQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qP,align 8
%qR=bitcast i8*%qN to i8**
%qS=load i8*,i8**%qR,align 8
%qT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qU=getelementptr inbounds i8,i8*%qT,i64 8
%qV=bitcast i8*%qU to i8**
%qW=load i8*,i8**%qV,align 8
%qX=call fastcc i8*%qQ(i8*inreg%qS,i8*inreg%qW)
store i8*%qX,i8**%f,align 8
%qY=call i8*@sml_alloc(i32 inreg 28)#0
%qZ=getelementptr inbounds i8,i8*%qY,i64 -4
%q0=bitcast i8*%qZ to i32*
store i32 1342177304,i32*%q0,align 4
store i8*%qY,i8**%h,align 8
%q1=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%q2=bitcast i8*%qY to i8**
store i8*%q1,i8**%q2,align 8
%q3=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%q4=getelementptr inbounds i8,i8*%qY,i64 8
%q5=bitcast i8*%q4 to i8**
store i8*%q3,i8**%q5,align 8
%q6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%q7=getelementptr inbounds i8,i8*%qY,i64 16
%q8=bitcast i8*%q7 to i8**
store i8*%q6,i8**%q8,align 8
%q9=getelementptr inbounds i8,i8*%qY,i64 24
%ra=bitcast i8*%q9 to i32*
store i32 7,i32*%ra,align 4
%rb=call i8*@sml_alloc(i32 inreg 20)#0
%rc=getelementptr inbounds i8,i8*%rb,i64 -4
%rd=bitcast i8*%rc to i32*
store i32 1342177296,i32*%rd,align 4
%re=bitcast i8*%rb to i64*
store i64 0,i64*%re,align 4
%rf=load i8*,i8**%h,align 8
%rg=getelementptr inbounds i8,i8*%rb,i64 8
%rh=bitcast i8*%rg to i8**
store i8*%rf,i8**%rh,align 8
%ri=getelementptr inbounds i8,i8*%rb,i64 16
%rj=bitcast i8*%ri to i32*
store i32 2,i32*%rj,align 4
ret i8*%rb
rk:
%rl=getelementptr inbounds i8,i8*%p,i64 8
%rm=bitcast i8*%rl to i8**
%rn=load i8*,i8**%rm,align 8
%ro=getelementptr inbounds i8,i8*%rn,i64 8
%rp=bitcast i8*%ro to i8**
%rq=load i8*,i8**%rp,align 8
store i8*%rq,i8**%f,align 8
%rr=getelementptr inbounds i8,i8*%rn,i64 16
%rs=bitcast i8*%rr to i8**
%rt=load i8*,i8**%rs,align 8
store i8*%rt,i8**%g,align 8
%ru=bitcast i8*%rn to i8**
%rv=load i8*,i8**%ru,align 8
%rw=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%rx=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%rw,i8*inreg%rv)
store i8*%rx,i8**%e,align 8
%ry=call i8*@sml_alloc(i32 inreg 28)#0
%rz=getelementptr inbounds i8,i8*%ry,i64 -4
%rA=bitcast i8*%rz to i32*
store i32 1342177304,i32*%rA,align 4
store i8*%ry,i8**%h,align 8
%rB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%rC=bitcast i8*%ry to i8**
store i8*%rB,i8**%rC,align 8
%rD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%rE=getelementptr inbounds i8,i8*%ry,i64 8
%rF=bitcast i8*%rE to i8**
store i8*%rD,i8**%rF,align 8
%rG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%rH=getelementptr inbounds i8,i8*%ry,i64 16
%rI=bitcast i8*%rH to i8**
store i8*%rG,i8**%rI,align 8
%rJ=getelementptr inbounds i8,i8*%ry,i64 24
%rK=bitcast i8*%rJ to i32*
store i32 7,i32*%rK,align 4
%rL=call i8*@sml_alloc(i32 inreg 20)#0
%rM=bitcast i8*%rL to i32*
%rN=getelementptr inbounds i8,i8*%rL,i64 -4
%rO=bitcast i8*%rN to i32*
store i32 1342177296,i32*%rO,align 4
%rP=getelementptr inbounds i8,i8*%rL,i64 4
%rQ=bitcast i8*%rP to i32*
store i32 0,i32*%rQ,align 1
store i32 24,i32*%rM,align 4
%rR=load i8*,i8**%h,align 8
%rS=getelementptr inbounds i8,i8*%rL,i64 8
%rT=bitcast i8*%rS to i8**
store i8*%rR,i8**%rT,align 8
%rU=getelementptr inbounds i8,i8*%rL,i64 16
%rV=bitcast i8*%rU to i32*
store i32 2,i32*%rV,align 4
ret i8*%rL
}
define internal fastcc i8*@_SMLLN13UserTvarScope11decideMatchE_454(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
m:
%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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%a,%m]
%n=phi i8*[%i,%h],[%b,%m]
%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*%n,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%e,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*null,i8**%c,align 8
%w=call fastcc i8*@_SMLLN13UserTvarScope9decideExpE_452(i8*inreg%l,i8*inreg%v)
store i8*%w,i8**%c,align 8
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
%A=load i8*,i8**%d,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%c,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=load i8*,i8**%e,align 8
%G=getelementptr inbounds i8,i8*%x,i64 16
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%x,i64 24
%J=bitcast i8*%I to i32*
store i32 7,i32*%J,align 4
ret i8*%x
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_457(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
u:
%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
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%a,i8**%l,align 8
store i8*%b,i8**%i,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%s,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%i,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%b,%u]
%v=icmp eq i8*%t,null
br i1%v,label%R,label%w
w:
%x=bitcast i8*%t to i32*
%y=load i32,i32*%x,align 4
switch i32%y,label%z[
i32 12,label%fD
i32 2,label%d3
i32 14,label%dM
i32 13,label%cL
i32 11,label%R
i32 1,label%R
i32 10,label%R
i32 0,label%bG
i32 4,label%R
i32 7,label%S
i32 9,label%R
i32 5,label%R
i32 6,label%R
i32 8,label%R
i32 3,label%R
]
z:
store i8*null,i8**%l,align 8
call void@sml_matchcomp_bug()
%A=load i8*,i8**@_SMLZ5Match,align 8
store i8*%A,i8**%i,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
store i8*%B,i8**%j,align 8
%E=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@s,i64 0,i32 2,i64 0),i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
%K=call i8*@sml_alloc(i32 inreg 60)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177336,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%K,i64 56
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
%P=load i8*,i8**%j,align 8
%Q=bitcast i8*%K to i8**
store i8*%P,i8**%Q,align 8
call void@sml_raise(i8*inreg%K)#1
unreachable
R:
ret i8*%t
S:
%T=getelementptr inbounds i8,i8*%t,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%j,align 8
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%k,align 8
%Z=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%i,align 8
%af=call i8*@sml_alloc(i32 inreg 12)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177288,i32*%ah,align 4
store i8*%af,i8**%m,align 8
%ai=load i8*,i8**%l,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 i32*
store i32 1,i32*%al,align 4
%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**%m,align 8
store i8*null,i8**%m,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_515 to void(...)*),void(...)**%as,align 8
%at=getelementptr inbounds i8,i8*%am,i64 16
%au=bitcast i8*%at to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_515 to void(...)*),void(...)**%au,align 8
%av=getelementptr inbounds i8,i8*%am,i64 24
%aw=bitcast i8*%av to i32*
store i32 -2147483647,i32*%aw,align 4
%ax=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ay=call fastcc i8*%ac(i8*inreg%ax,i8*inreg%am)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
%aE=bitcast i8**%j 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**%i,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
store i8*%aN,i8**%m,align 8
%aO=call i8*@sml_alloc(i32 inreg 12)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177288,i32*%aQ,align 4
store i8*%aO,i8**%n,align 8
%aR=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aO,i64 8
%aU=bitcast i8*%aT to i32*
store i32 1,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 28)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177304,i32*%aX,align 4
%aY=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aV,i64 8
%a1=bitcast i8*%a0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_516 to void(...)*),void(...)**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 16
%a3=bitcast i8*%a2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_516 to void(...)*),void(...)**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aV,i64 24
%a5=bitcast i8*%a4 to i32*
store i32 -2147483647,i32*%a5,align 4
%a6=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%a7=call fastcc i8*%aL(i8*inreg%a6,i8*inreg%aV)
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
%bd=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%be=getelementptr inbounds i8,i8*%bd,i64 8
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
%bh=call fastcc i8*%ba(i8*inreg%bc,i8*inreg%bg)
store i8*%bh,i8**%j,align 8
%bi=call i8*@sml_alloc(i32 inreg 28)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177304,i32*%bk,align 4
store i8*%bi,i8**%l,align 8
%bl=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bo=getelementptr inbounds i8,i8*%bi,i64 8
%bp=bitcast i8*%bo to i8**
store i8*%bn,i8**%bp,align 8
%bq=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%br=getelementptr inbounds i8,i8*%bi,i64 16
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bi,i64 24
%bu=bitcast i8*%bt to i32*
store i32 7,i32*%bu,align 4
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=bitcast i8*%bv to i32*
%bx=getelementptr inbounds i8,i8*%bv,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177296,i32*%by,align 4
%bz=getelementptr inbounds i8,i8*%bv,i64 4
%bA=bitcast i8*%bz to i32*
store i32 0,i32*%bA,align 1
store i32 7,i32*%bw,align 4
%bB=load i8*,i8**%l,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 8
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 16
%bF=bitcast i8*%bE to i32*
store i32 2,i32*%bF,align 4
ret i8*%bv
bG:
%bH=getelementptr inbounds i8,i8*%t,i64 8
%bI=bitcast i8*%bH to i8**
%bJ=load i8*,i8**%bI,align 8
store i8*%bJ,i8**%i,align 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%j,align 8
%bM=getelementptr inbounds i8,i8*%bJ,i64 16
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
store i8*%bO,i8**%k,align 8
%bP=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bQ=getelementptr inbounds i8,i8*%bP,i64 16
%bR=bitcast i8*%bQ to i8*(i8*,i8*)**
%bS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bR,align 8
%bT=bitcast i8*%bP to i8**
%bU=load i8*,i8**%bT,align 8
store i8*%bU,i8**%m,align 8
%bV=call i8*@sml_alloc(i32 inreg 12)#0
%bW=getelementptr inbounds i8,i8*%bV,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177288,i32*%bX,align 4
store i8*%bV,i8**%n,align 8
%bY=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bZ=bitcast i8*%bV to i8**
store i8*%bY,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bV,i64 8
%b1=bitcast i8*%b0 to i32*
store i32 1,i32*%b1,align 4
%b2=call i8*@sml_alloc(i32 inreg 28)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177304,i32*%b4,align 4
%b5=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%b2,i64 8
%b8=bitcast i8*%b7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_514 to void(...)*),void(...)**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b2,i64 16
%ca=bitcast i8*%b9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_514 to void(...)*),void(...)**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b2,i64 24
%cc=bitcast i8*%cb to i32*
store i32 -2147483647,i32*%cc,align 4
%cd=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%ce=call fastcc i8*%bS(i8*inreg%cd,i8*inreg%b2)
%cf=getelementptr inbounds i8,i8*%ce,i64 16
%cg=bitcast i8*%cf to i8*(i8*,i8*)**
%ch=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cg,align 8
%ci=bitcast i8*%ce to i8**
%cj=load i8*,i8**%ci,align 8
%ck=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cl=getelementptr inbounds i8,i8*%ck,i64 8
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
%co=call fastcc i8*%ch(i8*inreg%cj,i8*inreg%cn)
store i8*%co,i8**%i,align 8
%cp=call i8*@sml_alloc(i32 inreg 28)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177304,i32*%cr,align 4
store i8*%cp,i8**%l,align 8
%cs=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
%cu=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cv=getelementptr inbounds i8,i8*%cp,i64 8
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cy=getelementptr inbounds i8,i8*%cp,i64 16
%cz=bitcast i8*%cy to i8**
store i8*%cx,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cp,i64 24
%cB=bitcast i8*%cA to i32*
store i32 7,i32*%cB,align 4
%cC=call i8*@sml_alloc(i32 inreg 20)#0
%cD=getelementptr inbounds i8,i8*%cC,i64 -4
%cE=bitcast i8*%cD to i32*
store i32 1342177296,i32*%cE,align 4
%cF=bitcast i8*%cC to i64*
store i64 0,i64*%cF,align 4
%cG=load i8*,i8**%l,align 8
%cH=getelementptr inbounds i8,i8*%cC,i64 8
%cI=bitcast i8*%cH to i8**
store i8*%cG,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cC,i64 16
%cK=bitcast i8*%cJ to i32*
store i32 2,i32*%cK,align 4
ret i8*%cC
cL:
%cM=getelementptr inbounds i8,i8*%t,i64 8
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
store i8*%cO,i8**%i,align 8
%cP=getelementptr inbounds i8,i8*%cO,i64 8
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
store i8*%cR,i8**%j,align 8
%cS=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cT=getelementptr inbounds i8,i8*%cS,i64 16
%cU=bitcast i8*%cT to i8*(i8*,i8*)**
%cV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cU,align 8
%cW=bitcast i8*%cS to i8**
%cX=load i8*,i8**%cW,align 8
store i8*%cX,i8**%k,align 8
%cY=call i8*@sml_alloc(i32 inreg 12)#0
%cZ=getelementptr inbounds i8,i8*%cY,i64 -4
%c0=bitcast i8*%cZ to i32*
store i32 1342177288,i32*%c0,align 4
store i8*%cY,i8**%m,align 8
%c1=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%c2=bitcast i8*%cY to i8**
store i8*%c1,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cY,i64 8
%c4=bitcast i8*%c3 to i32*
store i32 1,i32*%c4,align 4
%c5=call i8*@sml_alloc(i32 inreg 28)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177304,i32*%c7,align 4
%c8=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c5,i64 8
%db=bitcast i8*%da to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_513 to void(...)*),void(...)**%db,align 8
%dc=getelementptr inbounds i8,i8*%c5,i64 16
%dd=bitcast i8*%dc to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideDeclE_513 to void(...)*),void(...)**%dd,align 8
%de=getelementptr inbounds i8,i8*%c5,i64 24
%df=bitcast i8*%de to i32*
store i32 -2147483647,i32*%df,align 4
%dg=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dh=call fastcc i8*%cV(i8*inreg%dg,i8*inreg%c5)
%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=bitcast i8**%i to i8***
%do=load i8**,i8***%dn,align 8
store i8*null,i8**%i,align 8
%dp=load i8*,i8**%do,align 8
%dq=call fastcc i8*%dk(i8*inreg%dm,i8*inreg%dp)
store i8*%dq,i8**%i,align 8
%dr=call i8*@sml_alloc(i32 inreg 20)#0
%ds=getelementptr inbounds i8,i8*%dr,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177296,i32*%dt,align 4
store i8*%dr,i8**%k,align 8
%du=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dx=getelementptr inbounds i8,i8*%dr,i64 8
%dy=bitcast i8*%dx to i8**
store i8*%dw,i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%dr,i64 16
%dA=bitcast i8*%dz to i32*
store i32 3,i32*%dA,align 4
%dB=call i8*@sml_alloc(i32 inreg 20)#0
%dC=bitcast i8*%dB to i32*
%dD=getelementptr inbounds i8,i8*%dB,i64 -4
%dE=bitcast i8*%dD to i32*
store i32 1342177296,i32*%dE,align 4
%dF=getelementptr inbounds i8,i8*%dB,i64 4
%dG=bitcast i8*%dF to i32*
store i32 0,i32*%dG,align 1
store i32 13,i32*%dC,align 4
%dH=load i8*,i8**%k,align 8
%dI=getelementptr inbounds i8,i8*%dB,i64 8
%dJ=bitcast i8*%dI to i8**
store i8*%dH,i8**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%dB,i64 16
%dL=bitcast i8*%dK to i32*
store i32 2,i32*%dL,align 4
ret i8*%dB
dM:
%dN=getelementptr inbounds i8,i8*%t,i64 8
%dO=bitcast i8*%dN to i8**
%dP=load i8*,i8**%dO,align 8
%dQ=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dR=call fastcc i8*@_SMLLN13UserTvarScope12decideValDecE_459(i8*inreg%dQ,i8*inreg%dP)
store i8*%dR,i8**%i,align 8
%dS=call i8*@sml_alloc(i32 inreg 20)#0
%dT=bitcast i8*%dS to i32*
%dU=getelementptr inbounds i8,i8*%dS,i64 -4
%dV=bitcast i8*%dU to i32*
store i32 1342177296,i32*%dV,align 4
%dW=getelementptr inbounds i8,i8*%dS,i64 4
%dX=bitcast i8*%dW to i32*
store i32 0,i32*%dX,align 1
store i32 14,i32*%dT,align 4
%dY=load i8*,i8**%i,align 8
%dZ=getelementptr inbounds i8,i8*%dS,i64 8
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dS,i64 16
%d2=bitcast i8*%d1 to i32*
store i32 2,i32*%d2,align 4
ret i8*%dS
d3:
%d4=getelementptr inbounds i8,i8*%t,i64 8
%d5=bitcast i8*%d4 to i8**
%d6=load i8*,i8**%d5,align 8
%d7=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%d8=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%d8)
%d9=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%d9)
%ea=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ea)
%eb=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%eb)
%ec=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ec)
%ed=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ed)
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*%d7,i8**%c,align 8
store i8*%d6,i8**%d,align 8
%ee=load atomic i32,i32*@sml_check_flag unordered,align 4
%ef=icmp eq i32%ee,0
br i1%ef,label%ei,label%eg
eg:
call void@sml_check(i32 inreg%ee)
%eh=load i8*,i8**%d,align 8
br label%ei
ei:
%ej=phi i8*[%eh,%eg],[%d6,%d3]
store i8*null,i8**%d,align 8
store i8*%ej,i8**%e,align 8
%ek=getelementptr inbounds i8,i8*%ej,i64 16
%el=bitcast i8*%ek to i8**
%em=load i8*,i8**%el,align 8
store i8*%em,i8**%f,align 8
%en=call fastcc i8*@_SMLLN13UserTvarScope11decideScopeE_449(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*))
%eo=getelementptr inbounds i8,i8*%en,i64 16
%ep=bitcast i8*%eo to i8*(i8*,i8*)**
%eq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ep,align 8
%er=bitcast i8*%en to i8**
%es=load i8*,i8**%er,align 8
%et=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eu=call fastcc i8*%eq(i8*inreg%es,i8*inreg%et)
%ev=getelementptr inbounds i8,i8*%eu,i64 16
%ew=bitcast i8*%ev to i8*(i8*,i8*)**
%ex=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ew,align 8
%ey=bitcast i8*%eu to i8**
%ez=load i8*,i8**%ey,align 8
%eA=load i8*,i8**%e,align 8
%eB=call fastcc i8*%ex(i8*inreg%ez,i8*inreg%eA)
store i8*%eB,i8**%d,align 8
%eC=getelementptr inbounds i8,i8*%eB,i64 8
%eD=bitcast i8*%eC to i8**
%eE=load i8*,i8**%eD,align 8
store i8*%eE,i8**%c,align 8
%eF=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**%g,align 8
%eL=call i8*@sml_alloc(i32 inreg 12)#0
%eM=getelementptr inbounds i8,i8*%eL,i64 -4
%eN=bitcast i8*%eM to i32*
store i32 1342177288,i32*%eN,align 4
store i8*%eL,i8**%h,align 8
%eO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eP=bitcast i8*%eL to i8**
store i8*%eO,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eL,i64 8
%eR=bitcast i8*%eQ to i32*
store i32 1,i32*%eR,align 4
%eS=call i8*@sml_alloc(i32 inreg 28)#0
%eT=getelementptr inbounds i8,i8*%eS,i64 -4
%eU=bitcast i8*%eT to i32*
store i32 1342177304,i32*%eU,align 4
%eV=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eW=bitcast i8*%eS to i8**
store i8*%eV,i8**%eW,align 8
%eX=getelementptr inbounds i8,i8*%eS,i64 8
%eY=bitcast i8*%eX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope13decideFvalDecE_525 to void(...)*),void(...)**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eS,i64 16
%e0=bitcast i8*%eZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope13decideFvalDecE_525 to void(...)*),void(...)**%e0,align 8
%e1=getelementptr inbounds i8,i8*%eS,i64 24
%e2=bitcast i8*%e1 to i32*
store i32 -2147483647,i32*%e2,align 4
%e3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%e4=call fastcc i8*%eI(i8*inreg%e3,i8*inreg%eS)
%e5=getelementptr inbounds i8,i8*%e4,i64 16
%e6=bitcast i8*%e5 to i8*(i8*,i8*)**
%e7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e6,align 8
%e8=bitcast i8*%e4 to i8**
%e9=load i8*,i8**%e8,align 8
%fa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fb=getelementptr inbounds i8,i8*%fa,i64 8
%fc=bitcast i8*%fb to i8**
%fd=load i8*,i8**%fc,align 8
%fe=call fastcc i8*%e7(i8*inreg%e9,i8*inreg%fd)
store i8*%fe,i8**%d,align 8
%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**%c,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%d,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**%f,align 8
%fo=getelementptr inbounds i8,i8*%ff,i64 16
%fp=bitcast i8*%fo to i8**
store i8*%fn,i8**%fp,align 8
%fq=getelementptr inbounds i8,i8*%ff,i64 24
%fr=bitcast i8*%fq to i32*
store i32 7,i32*%fr,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%d8)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%d9)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ea)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%eb)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ec)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ed)
store i8*%ff,i8**%i,align 8
%fs=call i8*@sml_alloc(i32 inreg 20)#0
%ft=bitcast i8*%fs to i32*
%fu=getelementptr inbounds i8,i8*%fs,i64 -4
%fv=bitcast i8*%fu to i32*
store i32 1342177296,i32*%fv,align 4
%fw=getelementptr inbounds i8,i8*%fs,i64 4
%fx=bitcast i8*%fw to i32*
store i32 0,i32*%fx,align 1
store i32 2,i32*%ft,align 4
%fy=load i8*,i8**%i,align 8
%fz=getelementptr inbounds i8,i8*%fs,i64 8
%fA=bitcast i8*%fz to i8**
store i8*%fy,i8**%fA,align 8
%fB=getelementptr inbounds i8,i8*%fs,i64 16
%fC=bitcast i8*%fB to i32*
store i32 2,i32*%fC,align 4
ret i8*%fs
fD:
%fE=getelementptr inbounds i8,i8*%t,i64 8
%fF=bitcast i8*%fE to i8**
%fG=load i8*,i8**%fF,align 8
%fH=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%fI=call fastcc i8*@_SMLLN13UserTvarScope12decideValDecE_459(i8*inreg%fH,i8*inreg%fG)
store i8*%fI,i8**%i,align 8
%fJ=call i8*@sml_alloc(i32 inreg 20)#0
%fK=bitcast i8*%fJ to i32*
%fL=getelementptr inbounds i8,i8*%fJ,i64 -4
%fM=bitcast i8*%fL to i32*
store i32 1342177296,i32*%fM,align 4
%fN=getelementptr inbounds i8,i8*%fJ,i64 4
%fO=bitcast i8*%fN to i32*
store i32 0,i32*%fO,align 1
store i32 12,i32*%fK,align 4
%fP=load i8*,i8**%i,align 8
%fQ=getelementptr inbounds i8,i8*%fJ,i64 8
%fR=bitcast i8*%fQ to i8**
store i8*%fP,i8**%fR,align 8
%fS=getelementptr inbounds i8,i8*%fJ,i64 16
%fT=bitcast i8*%fS to i32*
store i32 2,i32*%fT,align 4
ret i8*%fJ
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideValDecE_459(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%d,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
store i8*null,i8**%d,align 8
store i8*%n,i8**%e,align 8
%p=getelementptr inbounds i8,i8*%n,i64 16
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%f,align 8
%s=call fastcc i8*@_SMLLN13UserTvarScope11decideScopeE_449(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*))
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=call fastcc i8*%v(i8*inreg%x,i8*inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%e,align 8
%G=call fastcc i8*%C(i8*inreg%E,i8*inreg%F)
store i8*%G,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%G,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%c,align 8
%K=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%L=getelementptr inbounds i8,i8*%K,i64 16
%M=bitcast i8*%L to i8*(i8*,i8*)**
%N=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%M,align 8
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%g,align 8
%Q=call i8*@sml_alloc(i32 inreg 12)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177288,i32*%S,align 4
store i8*%Q,i8**%h,align 8
%T=load i8*,i8**%d,align 8
store i8*null,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 i32*
store i32 1,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideValDecE_521 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope12decideValDecE_521 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 -2147483647,i32*%ah,align 4
%ai=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aj=call fastcc i8*%N(i8*inreg%ai,i8*inreg%X)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aq=getelementptr inbounds i8,i8*%ap,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
%at=call fastcc i8*%am(i8*inreg%ao,i8*inreg%as)
store i8*%at,i8**%d,align 8
%au=call i8*@sml_alloc(i32 inreg 28)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177304,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%d,align 8
%aA=getelementptr inbounds i8,i8*%au,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=load i8*,i8**%f,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 16
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%au,i64 24
%aG=bitcast i8*%aF to i32*
store i32 7,i32*%aG,align 4
ret i8*%au
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_538(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_539(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope10decideSpecE_538 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*)*@_SMLLN13UserTvarScope10decideSpecE_538 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*@_SMLLN13UserTvarScope10decideSpecE_541(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*@_SMLLN13UserTvarScope12decideSigexpE_527(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*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 0,label%as
i32 1,label%ar
i32 2,label%G
]
o:
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
store i8*%q,i8**%c,align 8
%t=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@v,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
%H=getelementptr inbounds i8,i8*%k,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%J,i64 16
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%d,align 8
%Q=bitcast i8*%J to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%R)
store i8*%S,i8**%b,align 8
%T=call i8*@sml_alloc(i32 inreg 28)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
store i8*%T,i8**%e,align 8
%W=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%T,i64 24
%af=bitcast i8*%ae to i32*
store i32 7,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=bitcast i8*%ag to i32*
%ai=getelementptr inbounds i8,i8*%ag,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ag,i64 4
%al=bitcast i8*%ak to i32*
store i32 0,i32*%al,align 1
store i32 2,i32*%ah,align 4
%am=load i8*,i8**%e,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 16
%aq=bitcast i8*%ap to i32*
store i32 2,i32*%aq,align 4
ret i8*%ag
ar:
ret i8*%k
as:
%at=getelementptr inbounds i8,i8*%k,i64 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%c,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=call fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_528(i8*inreg%aA)
store i8*%aB,i8**%b,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
store i8*%aC,i8**%d,align 8
%aF=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aI=getelementptr inbounds i8,i8*%aC,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*%aH,i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aC,i64 16
%aL=bitcast i8*%aK to i32*
store i32 3,i32*%aL,align 4
%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=bitcast i8*%aM to i64*
store i64 0,i64*%aP,align 4
%aQ=load i8*,i8**%d,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to i32*
store i32 2,i32*%aU,align 4
ret i8*%aM
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_528(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=icmp eq i8*%l,null
br i1%n,label%J,label%o
o:
%p=bitcast i8*%l to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 11,label%cW
i32 9,label%J
i32 10,label%J
i32 0,label%J
i32 4,label%J
i32 2,label%J
i32 8,label%ce
i32 3,label%bJ
i32 5,label%a6
i32 6,label%av
i32 7,label%K
i32 1,label%J
]
r:
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%b,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**%c,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@y,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
ret i8*%l
K:
%L=getelementptr inbounds i8,i8*%l,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%N,i64 16
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,align 8
%U=bitcast i8*%N to i8**
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_528(i8*inreg%V)
store i8*%W,i8**%b,align 8
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
store i8*%X,i8**%e,align 8
%aa=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 16
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%X,i64 24
%aj=bitcast i8*%ai to i32*
store i32 7,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=bitcast i8*%ak to i32*
%am=getelementptr inbounds i8,i8*%ak,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177296,i32*%an,align 4
%ao=getelementptr inbounds i8,i8*%ak,i64 4
%ap=bitcast i8*%ao to i32*
store i32 0,i32*%ap,align 1
store i32 7,i32*%al,align 4
%aq=load i8*,i8**%e,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 16
%au=bitcast i8*%at to i32*
store i32 2,i32*%au,align 4
ret i8*%ak
av:
%aw=getelementptr inbounds i8,i8*%l,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=getelementptr inbounds i8,i8*%ay,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%c,align 8
%aC=getelementptr inbounds i8,i8*%ay,i64 16
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%d,align 8
%aF=bitcast i8*%ay to i8**
%aG=load i8*,i8**%aF,align 8
%aH=call fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_528(i8*inreg%aG)
store i8*%aH,i8**%b,align 8
%aI=call i8*@sml_alloc(i32 inreg 28)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177304,i32*%aK,align 4
store i8*%aI,i8**%e,align 8
%aL=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aR=getelementptr inbounds i8,i8*%aI,i64 16
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aI,i64 24
%aU=bitcast i8*%aT to i32*
store i32 7,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=bitcast i8*%aV to i32*
%aX=getelementptr inbounds i8,i8*%aV,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177296,i32*%aY,align 4
%aZ=getelementptr inbounds i8,i8*%aV,i64 4
%a0=bitcast i8*%aZ to i32*
store i32 0,i32*%a0,align 1
store i32 6,i32*%aW,align 4
%a1=load i8*,i8**%e,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*%a1,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aV,i64 16
%a5=bitcast i8*%a4 to i32*
store i32 2,i32*%a5,align 4
ret i8*%aV
a6:
%a7=getelementptr inbounds i8,i8*%l,i64 8
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%c,align 8
%ba=getelementptr inbounds i8,i8*%a9,i64 16
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%d,align 8
%bd=bitcast i8*%a9 to i8**
%be=load i8*,i8**%bd,align 8
%bf=call fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_528(i8*inreg%be)
store i8*%bf,i8**%b,align 8
%bg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bh=getelementptr inbounds i8,i8*%bg,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
%bk=call fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_528(i8*inreg%bj)
store i8*%bk,i8**%c,align 8
%bl=call i8*@sml_alloc(i32 inreg 28)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177304,i32*%bn,align 4
store i8*%bl,i8**%e,align 8
%bo=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%br=getelementptr inbounds i8,i8*%bl,i64 8
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 16
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bl,i64 24
%bx=bitcast i8*%bw to i32*
store i32 7,i32*%bx,align 4
%by=call i8*@sml_alloc(i32 inreg 20)#0
%bz=bitcast i8*%by to i32*
%bA=getelementptr inbounds i8,i8*%by,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
%bC=getelementptr inbounds i8,i8*%by,i64 4
%bD=bitcast i8*%bC to i32*
store i32 0,i32*%bD,align 1
store i32 5,i32*%bz,align 4
%bE=load i8*,i8**%e,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%by,i64 16
%bI=bitcast i8*%bH to i32*
store i32 2,i32*%bI,align 4
ret i8*%by
bJ:
%bK=getelementptr inbounds i8,i8*%l,i64 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
%bN=getelementptr inbounds i8,i8*%bM,i64 8
%bO=bitcast i8*%bN to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%c,align 8
%bQ=bitcast i8*%bM to i8**
%bR=load i8*,i8**%bQ,align 8
%bS=call fastcc i8*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%bR)
store i8*%bS,i8**%b,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
store i8*%bT,i8**%d,align 8
%bW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bX=bitcast i8*%bT to i8**
store i8*%bW,i8**%bX,align 8
%bY=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 3,i32*%b4,align 4
%b9=load i8*,i8**%d,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
store i8*%ch,i8**%b,align 8
%ci=getelementptr inbounds i8,i8*%ch,i64 8
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%c,align 8
%cl=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cm=getelementptr inbounds i8,i8*%cl,i64 16
%cn=bitcast i8*%cm to i8*(i8*,i8*)**
%co=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cn,align 8
%cp=bitcast i8*%cl to i8**
%cq=load i8*,i8**%cp,align 8
%cr=call fastcc i8*%co(i8*inreg%cq,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*))
%cs=getelementptr inbounds i8,i8*%cr,i64 16
%ct=bitcast i8*%cs to i8*(i8*,i8*)**
%cu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ct,align 8
%cv=bitcast i8*%cr to i8**
%cw=load i8*,i8**%cv,align 8
%cx=bitcast i8**%b to i8***
%cy=load i8**,i8***%cx,align 8
store i8*null,i8**%b,align 8
%cz=load i8*,i8**%cy,align 8
%cA=call fastcc i8*%cu(i8*inreg%cw,i8*inreg%cz)
store i8*%cA,i8**%b,align 8
%cB=call i8*@sml_alloc(i32 inreg 20)#0
%cC=getelementptr inbounds i8,i8*%cB,i64 -4
%cD=bitcast i8*%cC to i32*
store i32 1342177296,i32*%cD,align 4
store i8*%cB,i8**%d,align 8
%cE=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cF=bitcast i8*%cB to i8**
store i8*%cE,i8**%cF,align 8
%cG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cH=getelementptr inbounds i8,i8*%cB,i64 8
%cI=bitcast i8*%cH to i8**
store i8*%cG,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cB,i64 16
%cK=bitcast i8*%cJ to i32*
store i32 3,i32*%cK,align 4
%cL=call i8*@sml_alloc(i32 inreg 20)#0
%cM=bitcast i8*%cL to i32*
%cN=getelementptr inbounds i8,i8*%cL,i64 -4
%cO=bitcast i8*%cN to i32*
store i32 1342177296,i32*%cO,align 4
%cP=getelementptr inbounds i8,i8*%cL,i64 4
%cQ=bitcast i8*%cP to i32*
store i32 0,i32*%cQ,align 1
store i32 8,i32*%cM,align 4
%cR=load i8*,i8**%d,align 8
%cS=getelementptr inbounds i8,i8*%cL,i64 8
%cT=bitcast i8*%cS to i8**
store i8*%cR,i8**%cT,align 8
%cU=getelementptr inbounds i8,i8*%cL,i64 16
%cV=bitcast i8*%cU to i32*
store i32 2,i32*%cV,align 4
ret i8*%cL
cW:
%cX=getelementptr inbounds i8,i8*%l,i64 8
%cY=bitcast i8*%cX to i8**
%cZ=load i8*,i8**%cY,align 8
%c0=bitcast i8*%cZ to i8**
%c1=load i8*,i8**%c0,align 8
store i8*%c1,i8**%b,align 8
%c2=getelementptr inbounds i8,i8*%cZ,i64 8
%c3=bitcast i8*%c2 to i8**
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%c,align 8
%c5=getelementptr inbounds i8,i8*%cZ,i64 16
%c6=bitcast i8*%c5 to i8**
%c7=load i8*,i8**%c6,align 8
store i8*%c7,i8**%d,align 8
%c8=getelementptr inbounds i8,i8*%cZ,i64 24
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
store i8*%da,i8**%e,align 8
%db=call fastcc i8*@_SMLLN13UserTvarScope11decideScopeE_449(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*))
%dc=getelementptr inbounds i8,i8*%db,i64 16
%dd=bitcast i8*%dc to i8*(i8*,i8*)**
%de=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dd,align 8
%df=bitcast i8*%db to i8**
%dg=load i8*,i8**%df,align 8
store i8*%dg,i8**%f,align 8
%dh=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%di=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dj=call fastcc i8*%de(i8*inreg%di,i8*inreg%dh)
%dk=getelementptr inbounds i8,i8*%dj,i64 16
%dl=bitcast i8*%dk to i8*(i8*,i8*)**
%dm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dl,align 8
%dn=bitcast i8*%dj to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%f,align 8
%dp=call i8*@sml_alloc(i32 inreg 28)#0
%dq=getelementptr inbounds i8,i8*%dp,i64 -4
%dr=bitcast i8*%dq to i32*
store i32 1342177304,i32*%dr,align 4
%ds=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dt=bitcast i8*%dp to i8**
store i8*%ds,i8**%dt,align 8
%du=load i8*,i8**%d,align 8
%dv=getelementptr inbounds i8,i8*%dp,i64 8
%dw=bitcast i8*%dv to i8**
store i8*%du,i8**%dw,align 8
%dx=load i8*,i8**%e,align 8
%dy=getelementptr inbounds i8,i8*%dp,i64 16
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=getelementptr inbounds i8,i8*%dp,i64 24
%dB=bitcast i8*%dA to i32*
store i32 7,i32*%dB,align 4
%dC=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dD=call fastcc i8*%dm(i8*inreg%dC,i8*inreg%dp)
%dE=getelementptr inbounds i8,i8*%dD,i64 8
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
store i8*%dG,i8**%b,align 8
%dH=call i8*@sml_alloc(i32 inreg 36)#0
%dI=getelementptr inbounds i8,i8*%dH,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32 1342177312,i32*%dJ,align 4
store i8*%dH,i8**%f,align 8
%dK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dL=bitcast i8*%dH to i8**
store i8*%dK,i8**%dL,align 8
%dM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dN=getelementptr inbounds i8,i8*%dH,i64 8
%dO=bitcast i8*%dN to i8**
store i8*%dM,i8**%dO,align 8
%dP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dQ=getelementptr inbounds i8,i8*%dH,i64 16
%dR=bitcast i8*%dQ to i8**
store i8*%dP,i8**%dR,align 8
%dS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dT=getelementptr inbounds i8,i8*%dH,i64 24
%dU=bitcast i8*%dT to i8**
store i8*%dS,i8**%dU,align 8
%dV=getelementptr inbounds i8,i8*%dH,i64 32
%dW=bitcast i8*%dV to i32*
store i32 15,i32*%dW,align 4
%dX=call i8*@sml_alloc(i32 inreg 20)#0
%dY=bitcast i8*%dX to i32*
%dZ=getelementptr inbounds i8,i8*%dX,i64 -4
%d0=bitcast i8*%dZ to i32*
store i32 1342177296,i32*%d0,align 4
%d1=getelementptr inbounds i8,i8*%dX,i64 4
%d2=bitcast i8*%d1 to i32*
store i32 0,i32*%d2,align 1
store i32 11,i32*%dY,align 4
%d3=load i8*,i8**%f,align 8
%d4=getelementptr inbounds i8,i8*%dX,i64 8
%d5=bitcast i8*%d4 to i8**
store i8*%d3,i8**%d5,align 8
%d6=getelementptr inbounds i8,i8*%dX,i64 16
%d7=bitcast i8*%d6 to i32*
store i32 2,i32*%d7,align 4
ret i8*%dX
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_555(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*@_SMLLN13UserTvarScope12decideStrdecE_545(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_557(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*@_SMLLN13UserTvarScope12decideStrdecE_545(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_560(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*null,i8**%b,align 8
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%j,i64 16
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%j,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=call fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_544(i8*inreg%s)
store i8*%t,i8**%b,align 8
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=load i8*,i8**%b,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=load i8*,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%u,i64 16
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%u,i64 24
%G=bitcast i8*%F to i32*
store i32 7,i32*%G,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_562(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*@_SMLLN13UserTvarScope12decideStrdecE_545(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_564(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*@_SMLLN13UserTvarScope12decideStrdecE_545(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_544(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 1,label%cv
i32 2,label%cu
i32 4,label%bR
i32 3,label%be
i32 0,label%aG
i32 5,label%G
]
o:
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
store i8*%q,i8**%c,align 8
%t=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@B,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
%H=getelementptr inbounds i8,i8*%k,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*%Q(i8*inreg%S,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*))
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
%Z=bitcast i8**%c to i8***
%aa=load i8**,i8***%Z,align 8
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%W(i8*inreg%Y,i8*inreg%ab)
store i8*%ac,i8**%b,align 8
%ad=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
%ah=call fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_544(i8*inreg%ag)
store i8*%ah,i8**%c,align 8
%ai=call i8*@sml_alloc(i32 inreg 28)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177304,i32*%ak,align 4
store i8*%ai,i8**%e,align 8
%al=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ar=getelementptr inbounds i8,i8*%ai,i64 16
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ai,i64 24
%au=bitcast i8*%at to i32*
store i32 7,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 20)#0
%aw=bitcast i8*%av to i32*
%ax=getelementptr inbounds i8,i8*%av,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
%az=getelementptr inbounds i8,i8*%av,i64 4
%aA=bitcast i8*%az to i32*
store i32 0,i32*%aA,align 1
store i32 5,i32*%aw,align 4
%aB=load i8*,i8**%e,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 8
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%av,i64 16
%aF=bitcast i8*%aE to i32*
store i32 2,i32*%aF,align 4
ret i8*%av
aG:
%aH=getelementptr inbounds i8,i8*%k,i64 8
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,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 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
store i8*%aO,i8**%c,align 8
%aP=getelementptr inbounds i8,i8*%aJ,i64 16
%aQ=bitcast i8*%aP to i8**
%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**%e,align 8
%aV=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=load i8*,i8**%c,align 8
store i8*null,i8**%c,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**%d,align 8
store i8*null,i8**%d,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
%a8=bitcast i8*%a5 to i64*
store i64 0,i64*%a8,align 4
%a9=load i8*,i8**%e,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to i32*
store i32 2,i32*%bd,align 4
ret i8*%a5
be:
%bf=getelementptr inbounds i8,i8*%k,i64 8
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%c,align 8
%bi=getelementptr inbounds i8,i8*%bh,i64 16
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%d,align 8
%bl=bitcast i8*%bh to i8**
%bm=load i8*,i8**%bl,align 8
%bn=call fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_544(i8*inreg%bm)
store i8*%bn,i8**%b,align 8
%bo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bp=getelementptr inbounds i8,i8*%bo,i64 8
%bq=bitcast i8*%bp to i8**
%br=load i8*,i8**%bq,align 8
%bs=call fastcc i8*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%br)
store i8*%bs,i8**%c,align 8
%bt=call i8*@sml_alloc(i32 inreg 28)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177304,i32*%bv,align 4
store i8*%bt,i8**%e,align 8
%bw=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bz=getelementptr inbounds i8,i8*%bt,i64 8
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bC=getelementptr inbounds i8,i8*%bt,i64 16
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bt,i64 24
%bF=bitcast i8*%bE to i32*
store i32 7,i32*%bF,align 4
%bG=call i8*@sml_alloc(i32 inreg 20)#0
%bH=bitcast i8*%bG to i32*
%bI=getelementptr inbounds i8,i8*%bG,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177296,i32*%bJ,align 4
%bK=getelementptr inbounds i8,i8*%bG,i64 4
%bL=bitcast i8*%bK to i32*
store i32 0,i32*%bL,align 1
store i32 3,i32*%bH,align 4
%bM=load i8*,i8**%e,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
ret i8*%bG
bR:
%bS=getelementptr inbounds i8,i8*%k,i64 8
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
store i8*%bU,i8**%c,align 8
%bV=getelementptr inbounds i8,i8*%bU,i64 16
%bW=bitcast i8*%bV to i8**
%bX=load i8*,i8**%bW,align 8
store i8*%bX,i8**%d,align 8
%bY=bitcast i8*%bU to i8**
%bZ=load i8*,i8**%bY,align 8
%b0=call fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_544(i8*inreg%bZ)
store i8*%b0,i8**%b,align 8
%b1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b2=getelementptr inbounds i8,i8*%b1,i64 8
%b3=bitcast i8*%b2 to i8**
%b4=load i8*,i8**%b3,align 8
%b5=call fastcc i8*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%b4)
store i8*%b5,i8**%c,align 8
%b6=call i8*@sml_alloc(i32 inreg 28)#0
%b7=getelementptr inbounds i8,i8*%b6,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177304,i32*%b8,align 4
store i8*%b6,i8**%e,align 8
%b9=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ca=bitcast i8*%b6 to i8**
store i8*%b9,i8**%ca,align 8
%cb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cc=getelementptr inbounds i8,i8*%b6,i64 8
%cd=bitcast i8*%cc to i8**
store i8*%cb,i8**%cd,align 8
%ce=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cf=getelementptr inbounds i8,i8*%b6,i64 16
%cg=bitcast i8*%cf to i8**
store i8*%ce,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%b6,i64 24
%ci=bitcast i8*%ch to i32*
store i32 7,i32*%ci,align 4
%cj=call i8*@sml_alloc(i32 inreg 20)#0
%ck=bitcast i8*%cj to i32*
%cl=getelementptr inbounds i8,i8*%cj,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177296,i32*%cm,align 4
%cn=getelementptr inbounds i8,i8*%cj,i64 4
%co=bitcast i8*%cn to i32*
store i32 0,i32*%co,align 1
store i32 4,i32*%ck,align 4
%cp=load i8*,i8**%e,align 8
%cq=getelementptr inbounds i8,i8*%cj,i64 8
%cr=bitcast i8*%cq to i8**
store i8*%cp,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cj,i64 16
%ct=bitcast i8*%cs to i32*
store i32 2,i32*%ct,align 4
ret i8*%cj
cu:
ret i8*%k
cv:
%cw=getelementptr inbounds i8,i8*%k,i64 8
%cx=bitcast i8*%cw to i8**
%cy=load i8*,i8**%cx,align 8
store i8*%cy,i8**%b,align 8
%cz=getelementptr inbounds i8,i8*%cy,i64 8
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%c,align 8
%cC=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cD=getelementptr inbounds i8,i8*%cC,i64 16
%cE=bitcast i8*%cD to i8*(i8*,i8*)**
%cF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cE,align 8
%cG=bitcast i8*%cC to i8**
%cH=load i8*,i8**%cG,align 8
%cI=call fastcc i8*%cF(i8*inreg%cH,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*))
%cJ=getelementptr inbounds i8,i8*%cI,i64 16
%cK=bitcast i8*%cJ to i8*(i8*,i8*)**
%cL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cK,align 8
%cM=bitcast i8*%cI to i8**
%cN=load i8*,i8**%cM,align 8
%cO=bitcast i8**%b to i8***
%cP=load i8**,i8***%cO,align 8
store i8*null,i8**%b,align 8
%cQ=load i8*,i8**%cP,align 8
%cR=call fastcc i8*%cL(i8*inreg%cN,i8*inreg%cQ)
store i8*%cR,i8**%b,align 8
%cS=call i8*@sml_alloc(i32 inreg 20)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177296,i32*%cU,align 4
store i8*%cS,i8**%d,align 8
%cV=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cW=bitcast i8*%cS to i8**
store i8*%cV,i8**%cW,align 8
%cX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cY=getelementptr inbounds i8,i8*%cS,i64 8
%cZ=bitcast i8*%cY to i8**
store i8*%cX,i8**%cZ,align 8
%c0=getelementptr inbounds i8,i8*%cS,i64 16
%c1=bitcast i8*%c0 to i32*
store i32 3,i32*%c1,align 4
%c2=call i8*@sml_alloc(i32 inreg 20)#0
%c3=bitcast i8*%c2 to i32*
%c4=getelementptr inbounds i8,i8*%c2,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32 1342177296,i32*%c5,align 4
%c6=getelementptr inbounds i8,i8*%c2,i64 4
%c7=bitcast i8*%c6 to i32*
store i32 0,i32*%c7,align 1
store i32 1,i32*%c3,align 4
%c8=load i8*,i8**%d,align 8
%c9=getelementptr inbounds i8,i8*%c2,i64 8
%da=bitcast i8*%c9 to i8**
store i8*%c8,i8**%da,align 8
%db=getelementptr inbounds i8,i8*%c2,i64 16
%dc=bitcast i8*%db to i32*
store i32 2,i32*%dc,align 4
ret i8*%c2
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_545(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 0,label%bA
i32 1,label%aS
i32 2,label%G
]
o:
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
store i8*%q,i8**%c,align 8
%t=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@F,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
%H=getelementptr inbounds i8,i8*%k,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*%Q(i8*inreg%S,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@D,i64 0,i32 2)to i8*))
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
%Z=bitcast i8**%c to i8***
%aa=load i8**,i8***%Z,align 8
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%W(i8*inreg%Y,i8*inreg%ab)
store i8*%ac,i8**%b,align 8
%ad=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*%ag(i8*inreg%ai,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@E,i64 0,i32 2)to i8*))
%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=getelementptr inbounds i8,i8*%ap,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
%at=call fastcc i8*%am(i8*inreg%ao,i8*inreg%as)
store i8*%at,i8**%c,align 8
%au=call i8*@sml_alloc(i32 inreg 28)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177304,i32*%aw,align 4
store i8*%au,i8**%e,align 8
%ax=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%au,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 16
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%au,i64 24
%aG=bitcast i8*%aF to i32*
store i32 7,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=bitcast i8*%aH to i32*
%aJ=getelementptr inbounds i8,i8*%aH,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177296,i32*%aK,align 4
%aL=getelementptr inbounds i8,i8*%aH,i64 4
%aM=bitcast i8*%aL to i32*
store i32 0,i32*%aM,align 1
store i32 2,i32*%aI,align 4
%aN=load i8*,i8**%e,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 2,i32*%aR,align 4
ret i8*%aH
aS:
%aT=getelementptr inbounds i8,i8*%k,i64 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%b,align 8
%aW=getelementptr inbounds i8,i8*%aV,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*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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=call fastcc i8*%a2(i8*inreg%a4,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@C,i64 0,i32 2)to i8*))
%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=bitcast i8**%b to i8***
%bc=load i8**,i8***%bb,align 8
store i8*null,i8**%b,align 8
%bd=load i8*,i8**%bc,align 8
%be=call fastcc i8*%a8(i8*inreg%ba,i8*inreg%bd)
store i8*%be,i8**%b,align 8
%bf=call i8*@sml_alloc(i32 inreg 20)#0
%bg=getelementptr inbounds i8,i8*%bf,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177296,i32*%bh,align 4
store i8*%bf,i8**%d,align 8
%bi=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bj=bitcast i8*%bf to i8**
store i8*%bi,i8**%bj,align 8
%bk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bl=getelementptr inbounds i8,i8*%bf,i64 8
%bm=bitcast i8*%bl to i8**
store i8*%bk,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%bf,i64 16
%bo=bitcast i8*%bn to i32*
store i32 3,i32*%bo,align 4
%bp=call i8*@sml_alloc(i32 inreg 20)#0
%bq=bitcast i8*%bp to i32*
%br=getelementptr inbounds i8,i8*%bp,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177296,i32*%bs,align 4
%bt=getelementptr inbounds i8,i8*%bp,i64 4
%bu=bitcast i8*%bt to i32*
store i32 0,i32*%bu,align 1
store i32 1,i32*%bq,align 4
%bv=load i8*,i8**%d,align 8
%bw=getelementptr inbounds i8,i8*%bp,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bp,i64 16
%bz=bitcast i8*%by to i32*
store i32 2,i32*%bz,align 4
ret i8*%bp
bA:
%bB=getelementptr inbounds i8,i8*%k,i64 8
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%b,align 8
%bE=getelementptr inbounds i8,i8*%bD,i64 8
%bF=bitcast i8*%bE to i8**
%bG=load i8*,i8**%bF,align 8
store i8*%bG,i8**%c,align 8
%bH=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%bI=bitcast i8**%b to i8***
%bJ=load i8**,i8***%bI,align 8
store i8*null,i8**%b,align 8
%bK=load i8*,i8**%bJ,align 8
%bL=call fastcc i8*@_SMLLN13UserTvarScope10decideDeclE_457(i8*inreg%bH,i8*inreg%bK)
store i8*%bL,i8**%b,align 8
%bM=call i8*@sml_alloc(i32 inreg 20)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32 1342177296,i32*%bO,align 4
store i8*%bM,i8**%d,align 8
%bP=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bQ=bitcast i8*%bM to i8**
store i8*%bP,i8**%bQ,align 8
%bR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bS=getelementptr inbounds i8,i8*%bM,i64 8
%bT=bitcast i8*%bS to i8**
store i8*%bR,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bM,i64 16
%bV=bitcast i8*%bU to i32*
store i32 3,i32*%bV,align 4
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
%bZ=bitcast i8*%bW to i64*
store i64 0,i64*%bZ,align 4
%b0=load i8*,i8**%d,align 8
%b1=getelementptr inbounds i8,i8*%bW,i64 8
%b2=bitcast i8*%b1 to i8**
store i8*%b0,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bW,i64 16
%b4=bitcast i8*%b3 to i32*
store i32 2,i32*%b4,align 4
ret i8*%bW
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_567(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*@_SMLLN13UserTvarScope12decideSigexpE_527(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*@_SMLLN13UserTvarScope12decideTopdecE_569(i8*inreg%a)#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%b,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=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 24
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%e,align 8
%t=getelementptr inbounds i8,i8*%l,i64 32
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%f,align 8
%w=bitcast i8*%l to i8**
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%x)
store i8*%y,i8**%c,align 8
%z=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_544(i8*inreg%C)
store i8*%D,i8**%b,align 8
%E=call i8*@sml_alloc(i32 inreg 44)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177320,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=load i8*,i8**%b,align 8
%N=getelementptr inbounds i8,i8*%E,i64 16
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=load i8*,i8**%e,align 8
%Q=getelementptr inbounds i8,i8*%E,i64 24
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%f,align 8
%T=getelementptr inbounds i8,i8*%E,i64 32
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%E,i64 40
%W=bitcast i8*%V to i32*
store i32 31,i32*%W,align 4
ret i8*%E
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_572(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 2,label%bd
i32 1,label%av
i32 0,label%F
]
n:
call void@sml_matchcomp_bug()
%o=load i8*,i8**@_SMLZ5Match,align 8
store i8*%o,i8**%b,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
store i8*%p,i8**%c,align 8
%s=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@I,i64 0,i32 2,i64 0),i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 60)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177336,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%y,i64 56
%C=bitcast i8*%B to i32*
store i32 1,i32*%C,align 4
%D=load i8*,i8**%c,align 8
%E=bitcast i8*%y to i8**
store i8*%D,i8**%E,align 8
call void@sml_raise(i8*inreg%y)#1
unreachable
F:
%G=getelementptr inbounds i8,i8*%j,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%b,align 8
%J=getelementptr inbounds i8,i8*%I,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%c,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
%S=call fastcc i8*%P(i8*inreg%R,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*))
%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=bitcast i8**%b to i8***
%Z=load i8**,i8***%Y,align 8
store i8*null,i8**%b,align 8
%aa=load i8*,i8**%Z,align 8
%ab=call fastcc i8*%V(i8*inreg%X,i8*inreg%aa)
store i8*%ab,i8**%b,align 8
%ac=call i8*@sml_alloc(i32 inreg 20)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177296,i32*%ae,align 4
store i8*%ac,i8**%d,align 8
%af=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%ac,i64 8
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ac,i64 16
%al=bitcast i8*%ak to i32*
store i32 3,i32*%al,align 4
%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=bitcast i8*%am to i64*
store i64 0,i64*%ap,align 4
%aq=load i8*,i8**%d,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%am,i64 16
%au=bitcast i8*%at to i32*
store i32 2,i32*%au,align 4
ret i8*%am
av:
%aw=getelementptr inbounds i8,i8*%j,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%b,align 8
%az=getelementptr inbounds i8,i8*%ay,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%c,align 8
%aC=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%aF(i8*inreg%aH,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*))
%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=bitcast i8**%b to i8***
%aP=load i8**,i8***%aO,align 8
store i8*null,i8**%b,align 8
%aQ=load i8*,i8**%aP,align 8
%aR=call fastcc i8*%aL(i8*inreg%aN,i8*inreg%aQ)
store i8*%aR,i8**%b,align 8
%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
store i8*%aS,i8**%d,align 8
%aV=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aY=getelementptr inbounds i8,i8*%aS,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aS,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 3,i32*%a1,align 4
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=bitcast i8*%a2 to i32*
%a4=getelementptr inbounds i8,i8*%a2,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177296,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%a2,i64 4
%a7=bitcast i8*%a6 to i32*
store i32 0,i32*%a7,align 1
store i32 1,i32*%a3,align 4
%a8=load i8*,i8**%d,align 8
%a9=getelementptr inbounds i8,i8*%a2,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 16
%bc=bitcast i8*%bb to i32*
store i32 2,i32*%bc,align 4
ret i8*%a2
bd:
%be=getelementptr inbounds i8,i8*%j,i64 8
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
%bh=getelementptr inbounds i8,i8*%bg,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%c,align 8
%bk=bitcast i8*%bg to i8**
%bl=load i8*,i8**%bk,align 8
%bm=call fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_545(i8*inreg%bl)
store i8*%bm,i8**%b,align 8
%bn=call i8*@sml_alloc(i32 inreg 20)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177296,i32*%bp,align 4
store i8*%bn,i8**%d,align 8
%bq=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bt=getelementptr inbounds i8,i8*%bn,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bn,i64 16
%bw=bitcast i8*%bv to i32*
store i32 3,i32*%bw,align 4
%bx=call i8*@sml_alloc(i32 inreg 20)#0
%by=bitcast i8*%bx to i32*
%bz=getelementptr inbounds i8,i8*%bx,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
%bB=getelementptr inbounds i8,i8*%bx,i64 4
%bC=bitcast i8*%bB to i32*
store i32 0,i32*%bC,align 1
store i32 2,i32*%by,align 4
%bD=load i8*,i8**%d,align 8
%bE=getelementptr inbounds i8,i8*%bx,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bx,i64 16
%bH=bitcast i8*%bG to i32*
store i32 2,i32*%bH,align 4
ret i8*%bx
}
define internal fastcc i8*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_583(i8*inreg%a)#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%f,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%n)
%o=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%l,i8**%d,align 8
%p=load atomic i32,i32*@sml_check_flag unordered,align 4
%q=icmp eq i32%p,0
br i1%q,label%t,label%r
r:
call void@sml_check(i32 inreg%p)
%s=load i8*,i8**%d,align 8
br label%t
t:
%u=phi i8*[%s,%r],[%l,%k]
store i8*null,i8**%d,align 8
store i8*%u,i8**%e,align 8
%v=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%w=bitcast i8**%e to i8***
%x=load i8**,i8***%w,align 8
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%v,i8*inreg%y)
store i8*%z,i8**%d,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%E)
%F=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%F)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%D,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],[%D,%t]
%M=bitcast i8*%L to i32*
%N=load i32,i32*%M,align 4
switch i32%N,label%O[
i32 1,label%ah
i32 0,label%ag
]
O:
call void@sml_matchcomp_bug()
%P=load i8*,i8**@_SMLZ5Match,align 8
store i8*%P,i8**%b,align 8
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
store i8*%Q,i8**%c,align 8
%T=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@K,i64 0,i32 2,i64 0),i8**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to i32*
store i32 3,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 60)#0
%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:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%F)
br label%am
ah:
%ai=getelementptr inbounds i8,i8*%L,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=call fastcc i8*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_575(i8*inreg%ak)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%F)
br label%am
am:
%an=phi i8*[null,%ag],[%al,%ah]
store i8*%an,i8**%e,align 8
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177296,i32*%aq,align 4
%ar=load i8*,i8**%d,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=load i8*,i8**%e,align 8
%au=getelementptr inbounds i8,i8*%ao,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ao,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
%ay=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%ao)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
ret i8*%ay
}
define internal fastcc i8*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_575(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*%j,i8**%d,align 8
%l=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%b,align 8
%o=getelementptr inbounds i8,i8*%j,i64 24
%p=bitcast i8*%o 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
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 fastcc i8*@_SMLLN13UserTvarScope9singletonE_284(i8*inreg%r)
store i8*%B,i8**%b,align 8
%C=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%D=bitcast i8**%d to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
%G=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%C,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
%K=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%H)
store i8*%R,i8**%b,align 8
%S=call fastcc i8*@_SMLLN13UserTvarScope10tyvarsListE_327(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*))
%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**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%V(i8*inreg%X,i8*inreg%ab)
store i8*%ac,i8**%c,align 8
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
%ag=load i8*,i8**%b,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%c,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
%an=tail call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%ad)
ret i8*%an
}
define internal fastcc void@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_595(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**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%d,align 8
%l=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 1,label%J
i32 0,label%I
]
q:
call void@sml_matchcomp_bug()
%r=load i8*,i8**@_SMLZ5Match,align 8
store i8*%r,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@O,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 60)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177336,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 56
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
I:
ret void
J:
%K=getelementptr inbounds i8,i8*%n,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=bitcast i8**%c to i8***
%O=load i8**,i8***%N,align 8
%P=load i8*,i8**%O,align 8
tail call fastcc void@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_588(i8*inreg%P,i8*inreg%M)
ret void
}
define internal fastcc void@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_588(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
u:
%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**%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**%h,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**%h,align 8
%r=load i8*,i8**%g,align 8
br label%s
s:
%t=phi i8*[%r,%p],[%a,%u]
%v=phi i8*[%q,%p],[%b,%u]
store i8*%v,i8**%i,align 8
store i8*%t,i8**%j,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%g,align 8
%z=getelementptr inbounds i8,i8*%v,i64 24
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%h,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%j,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%h,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%M)
%N=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%N)
%O=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%O)
%P=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%P)
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*%C,i8**%c,align 8
%Q=load atomic i32,i32*@sml_check_flag unordered,align 4
%R=icmp eq i32%Q,0
br i1%R,label%X,label%S
S:
call void@sml_check(i32 inreg%Q)
%T=load i8*,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
br label%X
X:
%Y=phi i8*[%W,%S],[%H,%s]
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%d,align 8
%ac=call fastcc i8*@_SMLFN4List6existsE(i32 inreg 1,i32 inreg 8)
%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
store i8*%ah,i8**%e,align 8
%ai=call i8*@sml_alloc(i32 inreg 12)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177288,i32*%ak,align 4
store i8*%ai,i8**%f,align 8
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ai,i64 8
%ao=bitcast i8*%an to i32*
store i32 1,i32*%ao,align 4
%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**%f,align 8
store i8*null,i8**%f,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN13UserTvarScope6memberE_281 to void(...)*),void(...)**%av,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 16
%ax=bitcast i8*%aw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope6memberE_623 to void(...)*),void(...)**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ap,i64 24
%az=bitcast i8*%ay to i32*
store i32 -2147483647,i32*%az,align 4
%aA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aB=call fastcc i8*%af(i8*inreg%aA,i8*inreg%ap)
%aC=getelementptr inbounds i8,i8*%aB,i64 16
%aD=bitcast i8*%aC to i8*(i8*,i8*)**
%aE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aD,align 8
%aF=bitcast i8*%aB to i8**
%aG=load i8*,i8**%aF,align 8
%aH=bitcast i8**%c to i8***
%aI=load i8**,i8***%aH,align 8
store i8*null,i8**%c,align 8
%aJ=load i8*,i8**%aI,align 8
%aK=call fastcc i8*%aE(i8*inreg%aG,i8*inreg%aJ)
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%M)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%N)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%O)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%P)
%aN=icmp eq i32%aM,0
br i1%aN,label%bj,label%aO
aO:
%aP=load i8*,i8**@_SMLZN14ElaborateError25UserTvarScopedAtOuterDeclE,align 8
store i8*%aP,i8**%k,align 8
%aQ=call i8*@sml_alloc(i32 inreg 12)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177288,i32*%aS,align 4
store i8*%aQ,i8**%l,align 8
%aT=load i8*,i8**%h,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aQ,i64 8
%aW=bitcast i8*%aV to i32*
store i32 1,i32*%aW,align 4
%aX=call i8*@sml_alloc(i32 inreg 28)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177304,i32*%aZ,align 4
store i8*%aX,i8**%m,align 8
%a0=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[74x i8]}>,<{[4x i8],i32,[74x i8]}>*@N,i64 0,i32 2,i64 0),i8**%a3,align 8
%a4=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aX,i64 24
%a8=bitcast i8*%a7 to i32*
store i32 7,i32*%a8,align 4
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
%bc=load i8*,i8**%g,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%bf=getelementptr inbounds i8,i8*%a9,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a9,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
call fastcc void@_SMLFN14UserErrorUtils12enqueueErrorE(i8*inreg%a9)
br label%bj
bj:
%bk=call i8*@sml_alloc(i32 inreg 20)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177296,i32*%bm,align 4
%bn=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bq=getelementptr inbounds i8,i8*%bk,i64 8
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bk,i64 16
%bt=bitcast i8*%bs to i32*
store i32 3,i32*%bt,align 4
%bu=call fastcc i8*@_SMLLN13UserTvarScope9singletonE_284(i8*inreg%bk)
store i8*%bu,i8**%g,align 8
%bv=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%bw=bitcast i8**%i to i8***
%bx=load i8**,i8***%bw,align 8
%by=load i8*,i8**%bx,align 8
%bz=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%bv,i8*inreg%by)
store i8*%bz,i8**%h,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**%h,align 8
store i8*null,i8**%h,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=call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%bA)
store i8*%bK,i8**%g,align 8
%bL=call i8*@sml_alloc(i32 inreg 20)#0
%bM=getelementptr inbounds i8,i8*%bL,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177296,i32*%bN,align 4
%bO=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bP=bitcast i8*%bL to i8**
store i8*%bO,i8**%bP,align 8
%bQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bR=getelementptr inbounds i8,i8*%bL,i64 8
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bL,i64 16
%bU=bitcast i8*%bT to i32*
store i32 3,i32*%bU,align 4
%bV=call fastcc i8*@_SMLLN13UserTvarScope5unionE_291(i8*inreg%bL)
store i8*%bV,i8**%g,align 8
%bW=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%bX=getelementptr inbounds i8,i8*%bW,i64 16
%bY=bitcast i8*%bX to i8*(i8*,i8*)**
%bZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bY,align 8
%b0=bitcast i8*%bW to i8**
%b1=load i8*,i8**%b0,align 8
store i8*%b1,i8**%h,align 8
%b2=call i8*@sml_alloc(i32 inreg 12)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177288,i32*%b4,align 4
store i8*%b2,i8**%j,align 8
%b5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%b2,i64 8
%b8=bitcast i8*%b7 to i32*
store i32 1,i32*%b8,align 4
%b9=call i8*@sml_alloc(i32 inreg 28)#0
%ca=getelementptr inbounds i8,i8*%b9,i64 -4
%cb=bitcast i8*%ca to i32*
store i32 1342177304,i32*%cb,align 4
%cc=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cd=bitcast i8*%b9 to i8**
store i8*%cc,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b9,i64 8
%cf=bitcast i8*%ce to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_595 to void(...)*),void(...)**%cf,align 8
%cg=getelementptr inbounds i8,i8*%b9,i64 16
%ch=bitcast i8*%cg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_697 to void(...)*),void(...)**%ch,align 8
%ci=getelementptr inbounds i8,i8*%b9,i64 24
%cj=bitcast i8*%ci to i32*
store i32 -2147483647,i32*%cj,align 4
%ck=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cl=call fastcc i8*%bZ(i8*inreg%ck,i8*inreg%b9)
%cm=getelementptr inbounds i8,i8*%cl,i64 16
%cn=bitcast i8*%cm to i8*(i8*,i8*)**
%co=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cn,align 8
%cp=bitcast i8*%cl to i8**
%cq=load i8*,i8**%cp,align 8
%cr=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cs=getelementptr inbounds i8,i8*%cr,i64 16
%ct=bitcast i8*%cs to i8**
%cu=load i8*,i8**%ct,align 8
%cv=call fastcc i8*%co(i8*inreg%cq,i8*inreg%cu)
ret void
}
define internal fastcc i8*@_SMLLN13UserTvarScope11decidePistrE_607(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*@_SMLLN13UserTvarScope11decidePidecE_599(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN13UserTvarScope11decidePidecE_599(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
q:
%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
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%f,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%f,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%a,%q]
%r=bitcast i8*%p to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 8,label%ax
i32 5,label%aw
i32 3,label%aw
i32 6,label%aw
i32 0,label%aw
i32 7,label%aw
i32 1,label%aw
i32 2,label%aw
i32 4,label%L
]
t:
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,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**%g,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
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@Q,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%g,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=getelementptr inbounds i8,i8*%p,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%g,align 8
%R=getelementptr inbounds i8,i8*%O,i64 16
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%h,align 8
%U=getelementptr inbounds i8,i8*%O,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=call fastcc i8*@_SMLLN13UserTvarScope11decidePistrE_600(i8*inreg%W)
store i8*%X,i8**%f,align 8
%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
store i8*%Y,i8**%i,align 8
%ab=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ah=getelementptr inbounds i8,i8*%Y,i64 16
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%Y,i64 24
%ak=bitcast i8*%aj to i32*
store i32 7,i32*%ak,align 4
%al=call i8*@sml_alloc(i32 inreg 20)#0
%am=bitcast i8*%al to i32*
%an=getelementptr inbounds i8,i8*%al,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%al,i64 4
%aq=bitcast i8*%ap to i32*
store i32 0,i32*%aq,align 1
store i32 4,i32*%am,align 4
%ar=load i8*,i8**%i,align 8
%as=getelementptr inbounds i8,i8*%al,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%al,i64 16
%av=bitcast i8*%au to i32*
store i32 2,i32*%av,align 4
ret i8*%al
aw:
ret i8*%p
ax:
%ay=getelementptr inbounds i8,i8*%p,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%h,align 8
%aE=getelementptr inbounds i8,i8*%aA,i64 24
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%i,align 8
%aH=bitcast i8*%aA to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aJ)
%aK=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aK)
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%aI,i8**%d,align 8
%aL=load atomic i32,i32*@sml_check_flag unordered,align 4
%aM=icmp eq i32%aL,0
br i1%aM,label%aP,label%aN
aN:
call void@sml_check(i32 inreg%aL)
%aO=load i8*,i8**%d,align 8
br label%aP
aP:
%aQ=phi i8*[%aO,%aN],[%aI,%ax]
%aR=bitcast i8*%aQ to i32*
%aS=load i32,i32*%aR,align 4
switch i32%aS,label%aT[
i32 2,label%bg
i32 0,label%bg
i32 1,label%bg
i32 3,label%bb
]
aT:
call void@sml_matchcomp_bug()
%aU=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aU,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**%e,align 8
%aY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aV,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@P,i64 0,i32 2,i64 0),i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 3,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 60)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177336,i32*%a6,align 4
%a7=getelementptr inbounds i8,i8*%a4,i64 56
%a8=bitcast i8*%a7 to i32*
store i32 1,i32*%a8,align 4
%a9=load i8*,i8**%e,align 8
%ba=bitcast i8*%a4 to i8**
store i8*%a9,i8**%ba,align 8
call void@sml_raise(i8*inreg%a4)#1
unreachable
bb:
%bc=getelementptr inbounds i8,i8*%aQ,i64 8
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
call fastcc void@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_588(i8*inreg null,i8*inreg%be)
%bf=load i8*,i8**%d,align 8
br label%bg
bg:
%bh=phi i8*[%aQ,%aP],[%aQ,%aP],[%aQ,%aP],[%bf,%bb]
%bi=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bi)
%bj=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bj)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%bh,i8**%b,align 8
%bk=load atomic i32,i32*@sml_check_flag unordered,align 4
%bl=icmp eq i32%bk,0
br i1%bl,label%bo,label%bm
bm:
call void@sml_check(i32 inreg%bk)
%bn=load i8*,i8**%b,align 8
br label%bo
bo:
%bp=phi i8*[%bn,%bm],[%bh,%bg]
%bq=bitcast i8*%bp to i32*
%br=load i32,i32*%bq,align 4
switch i32%br,label%bs[
i32 2,label%b0
i32 0,label%bZ
i32 1,label%bP
i32 3,label%bK
]
bs:
call void@sml_matchcomp_bug()
%bt=load i8*,i8**@_SMLZ5Match,align 8
store i8*%bt,i8**%b,align 8
%bu=call i8*@sml_alloc(i32 inreg 20)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177296,i32*%bw,align 4
store i8*%bu,i8**%c,align 8
%bx=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%bu,i64 8
%bA=bitcast i8*%bz to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@M,i64 0,i32 2,i64 0),i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bu,i64 16
%bC=bitcast i8*%bB to i32*
store i32 3,i32*%bC,align 4
%bD=call i8*@sml_alloc(i32 inreg 60)#0
%bE=getelementptr inbounds i8,i8*%bD,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177336,i32*%bF,align 4
%bG=getelementptr inbounds i8,i8*%bD,i64 56
%bH=bitcast i8*%bG to i32*
store i32 1,i32*%bH,align 4
%bI=load i8*,i8**%c,align 8
%bJ=bitcast i8*%bD to i8**
store i8*%bI,i8**%bJ,align 8
call void@sml_raise(i8*inreg%bD)#1
unreachable
bK:
%bL=getelementptr inbounds i8,i8*%bp,i64 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
%bO=call fastcc i8*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_575(i8*inreg%bN)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bi)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bj)
br label%b9
bP:
%bQ=getelementptr inbounds i8,i8*%bp,i64 8
%bR=bitcast i8*%bQ to i8**
%bS=load i8*,i8**%bR,align 8
store i8*%bS,i8**%b,align 8
%bT=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%bU=load i8*,i8**%b,align 8
%bV=getelementptr inbounds i8,i8*%bU,i64 8
%bW=bitcast i8*%bV to i8**
%bX=load i8*,i8**%bW,align 8
%bY=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%bT,i8*inreg%bX)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bi)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bj)
br label%b9
bZ:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bi)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bj)
br label%b9
b0:
%b1=getelementptr inbounds i8,i8*%bp,i64 8
%b2=bitcast i8*%b1 to i8**
%b3=load i8*,i8**%b2,align 8
store i8*%b3,i8**%b,align 8
%b4=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%b5=bitcast i8**%b to i8***
%b6=load i8**,i8***%b5,align 8
%b7=load i8*,i8**%b6,align 8
%b8=call fastcc i8*@_SMLLN13UserTvarScope8tyvarsTyE_332(i8*inreg%b4,i8*inreg%b7)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bi)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bj)
br label%b9
b9:
%ca=phi i8*[%bO,%bK],[%bY,%bP],[null,%bZ],[%b8,%b0]
%cb=call fastcc i8*@_SMLLN13UserTvarScope10toTvarListE_299(i8*inreg%ca)
store i8*%cb,i8**%e,align 8
%cc=call i8*@sml_alloc(i32 inreg 20)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177296,i32*%ce,align 4
%cf=load i8*,i8**%e,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=load i8*,i8**%d,align 8
%ci=getelementptr inbounds i8,i8*%cc,i64 8
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=getelementptr inbounds i8,i8*%cc,i64 16
%cl=bitcast i8*%ck to i32*
store i32 3,i32*%cl,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aJ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
store i8*%cf,i8**%f,align 8
store i8*%ch,i8**%g,align 8
%cm=call i8*@sml_alloc(i32 inreg 36)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177312,i32*%co,align 4
store i8*%cm,i8**%j,align 8
%cp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cs=getelementptr inbounds i8,i8*%cm,i64 8
%ct=bitcast i8*%cs to i8**
store i8*%cr,i8**%ct,align 8
%cu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cv=getelementptr inbounds i8,i8*%cm,i64 16
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cy=getelementptr inbounds i8,i8*%cm,i64 24
%cz=bitcast i8*%cy to i8**
store i8*%cx,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cm,i64 32
%cB=bitcast i8*%cA to i32*
store i32 15,i32*%cB,align 4
%cC=call i8*@sml_alloc(i32 inreg 20)#0
%cD=bitcast i8*%cC to i32*
%cE=getelementptr inbounds i8,i8*%cC,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177296,i32*%cF,align 4
%cG=getelementptr inbounds i8,i8*%cC,i64 4
%cH=bitcast i8*%cG to i32*
store i32 0,i32*%cH,align 1
store i32 8,i32*%cD,align 4
%cI=load i8*,i8**%j,align 8
%cJ=getelementptr inbounds i8,i8*%cC,i64 8
%cK=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cC,i64 16
%cM=bitcast i8*%cL to i32*
store i32 2,i32*%cM,align 4
ret i8*%cC
}
define internal fastcc i8*@_SMLLN13UserTvarScope11decidePistrE_600(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 1,label%G
i32 2,label%F
i32 0,label%F
]
n:
call void@sml_matchcomp_bug()
%o=load i8*,i8**@_SMLZ5Match,align 8
store i8*%o,i8**%b,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
store i8*%p,i8**%c,align 8
%s=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@S,i64 0,i32 2,i64 0),i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 60)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177336,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%y,i64 56
%C=bitcast i8*%B to i32*
store i32 1,i32*%C,align 4
%D=load i8*,i8**%c,align 8
%E=bitcast i8*%y to i8**
store i8*%D,i8**%E,align 8
call void@sml_raise(i8*inreg%y)#1
unreachable
F:
ret i8*%j
G:
%H=getelementptr inbounds i8,i8*%j,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%b,align 8
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*%Q(i8*inreg%S,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@R,i64 0,i32 2)to i8*))
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
%Z=bitcast i8**%b to i8***
%aa=load i8**,i8***%Z,align 8
store i8*null,i8**%b,align 8
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%W(i8*inreg%Y,i8*inreg%ab)
store i8*%ac,i8**%b,align 8
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
store i8*%ad,i8**%d,align 8
%ag=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
%an=call i8*@sml_alloc(i32 inreg 20)#0
%ao=bitcast i8*%an to i32*
%ap=getelementptr inbounds i8,i8*%an,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177296,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%an,i64 4
%as=bitcast i8*%ar to i32*
store i32 0,i32*%as,align 1
store i32 1,i32*%ao,align 4
%at=load i8*,i8**%d,align 8
%au=getelementptr inbounds i8,i8*%an,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 16
%ax=bitcast i8*%aw to i32*
store i32 2,i32*%ax,align 4
ret i8*%an
}
define internal fastcc i8*@_SMLLN13UserTvarScope14decidePitopdecE_611(i8*inreg%a)#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 0,label%aQ
i32 1,label%I
]
q:
call void@sml_matchcomp_bug()
%r=load i8*,i8**@_SMLZ5Match,align 8
store i8*%r,i8**%b,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
store i8*%s,i8**%c,align 8
%v=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@T,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 60)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177336,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 56
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%c,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
I:
%J=getelementptr inbounds i8,i8*%m,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%d,align 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%e,align 8
%O=getelementptr inbounds i8,i8*%L,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%f,align 8
%R=getelementptr inbounds i8,i8*%L,i64 16
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%g,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
%Z=call fastcc i8*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%Y)
store i8*%Z,i8**%b,align 8
%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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 24
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=call fastcc i8*@_SMLLN13UserTvarScope11decidePistrE_600(i8*inreg%an)
store i8*%ao,i8**%b,align 8
%ap=call i8*@sml_alloc(i32 inreg 36)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177312,i32*%ar,align 4
store i8*%ap,i8**%d,align 8
%as=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%f,align 8
store i8*null,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**%c,align 8
store i8*null,i8**%c,align 8
%ay=getelementptr inbounds i8,i8*%ap,i64 16
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aB=getelementptr inbounds i8,i8*%ap,i64 24
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%ap,i64 32
%aE=bitcast i8*%aD to i32*
store i32 15,i32*%aE,align 4
%aF=call i8*@sml_alloc(i32 inreg 20)#0
%aG=bitcast i8*%aF to i32*
%aH=getelementptr inbounds i8,i8*%aF,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177296,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aF,i64 4
%aK=bitcast i8*%aJ to i32*
store i32 0,i32*%aK,align 1
store i32 1,i32*%aG,align 4
%aL=load i8*,i8**%d,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aF,i64 16
%aP=bitcast i8*%aO to i32*
store i32 2,i32*%aP,align 4
ret i8*%aF
aQ:
%aR=getelementptr inbounds i8,i8*%m,i64 8
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
%aU=call fastcc i8*@_SMLLN13UserTvarScope11decidePidecE_599(i8*inreg%aT)
store i8*%aU,i8**%b,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
%aY=bitcast i8*%aV to i64*
store i64 0,i64*%aY,align 4
%aZ=load i8*,i8**%b,align 8
%a0=getelementptr inbounds i8,i8*%aV,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 2,i32*%a3,align 4
ret i8*%aV
}
define internal fastcc i8*@_SMLLN13UserTvarScope18decideInterfaceDecE_613(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%j,i64 24
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,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}>*@U,i64 0,i32 2)to i8*))
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%C(i8*inreg%E,i8*inreg%I)
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 36)#0
%L=bitcast i8*%K to i32*
%M=getelementptr inbounds i8,i8*%K,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177312,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%K,i64 4
%P=bitcast i8*%O to i32*
store i32 0,i32*%P,align 1
store i32%m,i32*%L,align 4
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%K,i64 8
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=load i8*,i8**%b,align 8
%U=getelementptr inbounds i8,i8*%K,i64 16
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=load i8*,i8**%d,align 8
%X=getelementptr inbounds i8,i8*%K,i64 24
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%K,i64 32
%aa=bitcast i8*%Z to i32*
store i32 14,i32*%aa,align 4
ret i8*%K
}
define fastcc i8*@_SMLFN13UserTvarScope15decideInterfaceE(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=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%k,i64 24
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%e,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}>*@V,i64 0,i32 2)to i8*))
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=bitcast i8**%b to i8***
%F=load i8**,i8***%E,align 8
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*%B(i8*inreg%D,i8*inreg%G)
store i8*%H,i8**%c,align 8
%I=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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}>*@U,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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
%Y=call fastcc i8*%R(i8*inreg%T,i8*inreg%X)
store i8*%Y,i8**%b,align 8
%Z=call i8*@sml_alloc(i32 inreg 36)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177312,i32*%ab,align 4
%ac=load i8*,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%b,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=load i8*,i8**%e,align 8
%al=getelementptr inbounds i8,i8*%Z,i64 24
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%Z,i64 32
%ao=bitcast i8*%an to i32*
store i32 15,i32*%ao,align 4
ret i8*%Z
}
define fastcc i8*@_SMLFN13UserTvarScope6decideE(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}>*@J,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 fastcc i8*@_SMLFN13UserTvarScope12decideSigexpE(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*@_SMLLN13UserTvarScope12decideSigexpE_527(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN13UserTvarScope15decidePitopdecsE(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}>*@U,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*@_SMLLN13UserTvarScope6memberE_623(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN13UserTvarScope6memberE_281(i8*inreg%a,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*@_SMLLN13UserTvarScope5unionE_627(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN13UserTvarScope5unionE_289(i8*inreg%a,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*@_SMLLN13UserTvarScope8setminusE_629(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN13UserTvarScope8setminusE_293(i8*inreg%a,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*@_SMLLN13UserTvarScope8setminusE_630(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN13UserTvarScope8setminusE_294(i8*inreg%a,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*@_SMLLN13UserTvarScope10toTvarListE_632(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope10toTvarListE_297(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope15bindKindedTvarsE_635(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*@_SMLLN13UserTvarScope9bindTvarsE_637(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope9bindTvarsE_311(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope6extendE_639(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope6extendE_317(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope10sortTyrowsE_641(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN13UserTvarScope10sortTyrowsE_321(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*@_SMLLN13UserTvarScope11decideScopeE_662(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN13UserTvarScope11decideScopeE_445(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideValDecE_664(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideValDecE_519(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope13decideFvalDecE_665(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope13decideFvalDecE_523(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_678(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_539(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_679(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope10decideSpecE_541(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_682(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_555(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_683(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideStrexpE_557(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_684(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_560(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_685(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_562(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_686(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideStrdecE_564(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_689(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_567(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_690(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_569(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_691(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope12decideTopdecE_572(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_692(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope18tyvarsOverloadCaseE_583(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_697(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN13UserTvarScope24checkUniqueOverloadTvarsE_595(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope11decidePistrE_700(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope11decidePistrE_607(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope14decidePitopdecE_703(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope14decidePitopdecE_611(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope18decideInterfaceDecE_704(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN13UserTvarScope18decideInterfaceDecE_613(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope15decideInterfaceE_705(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN13UserTvarScope15decideInterfaceE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope6decideE_706(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN13UserTvarScope6decideE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope12decideSigexpE_707(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN13UserTvarScope12decideSigexpE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13UserTvarScope15decidePitopdecsE_708(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN13UserTvarScope15decidePitopdecsE(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}
