@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN12BuiltinTypes8intInfTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8stringTyE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@_SMLZ9Subscript=external unnamed_addr constant i8*
@_SMLZ3Chr=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:60.15(1485)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:60.38(1508)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:72.50(1798)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:73.34(1860)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:78.17(1982)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[23x i8]}><{[4x i8]zeroinitializer,i32 -2147483625,[23x i8]c"insert: doubled branch\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:82.49(2196)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[81x i8]}><{[4x i8]zeroinitializer,i32 -2147483567,[81x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:76.2(1901)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[83x i8]}><{[4x i8]zeroinitializer,i32 -2147483565,[83x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:101.31(2927)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"sml_intinf_hex\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,i32,i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,i32 1,i32 1,i32 1,i32 1,i32 1}>,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)*@_SMLLN13SwitchCompile10IntInf__hexE_117 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13SwitchCompile10IntInf__hexE_153 to void(...)*),i32 -2147483647}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[83x i8]}><{[4x i8]zeroinitializer,i32 -2147483565,[83x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:145.33(4598)\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/datatypecompilation/main/SwitchCompile.sml:138.2(4243)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN13SwitchCompile19compileStringSwitchE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13SwitchCompile19compileStringSwitchE_157 to void(...)*),i32 -2147483647}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8(i8)*@_SMLL4trie_135 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4trie_158 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN13SwitchCompile19compileStringSwitchE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*)
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN13SwitchCompile19compileIntInfSwitchE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13SwitchCompile19compileIntInfSwitchE_160 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN13SwitchCompile19compileIntInfSwitchE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*)
@_SML_ftab02952e3e94709fcc_SwitchCompile=external global i8
@r=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_obj_equal(i8*inreg,i8*inreg)local_unnamed_addr#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN10CharVector3mapE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13FunLocalLabel8generateE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15EmitTypedLambda11String__sizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15EmitTypedLambda17String__sub__unsafeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15EmitTypedLambda4emitE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN15EmitTypedLambda5newIdE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8@_SMLFN4Char7toLowerE(i8 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv10listItemsiE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv9singletonE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IntInf3fmtE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String8isPrefixE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String9substringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5d4c3ea7bd6f9540_IntInf()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maince7036f3433e1102_Char()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3446b7b079949ccf_text_io()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainc261d7f8774fa92d_CodeLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maincf60e58028aea790_BuiltinTypes()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main04a904d40099ecf0_IEnv()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main60bbb7eac47f0da4_EmitTypedLambda()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*)local_unnamed_addr
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_loadce7036f3433e1102_Char(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load3446b7b079949ccf_text_io(i8*)local_unnamed_addr
declare void@_SML_loadc261d7f8774fa92d_CodeLabel(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_loadcf60e58028aea790_BuiltinTypes(i8*)local_unnamed_addr
declare void@_SML_load04a904d40099ecf0_IEnv(i8*)local_unnamed_addr
declare void@_SML_load60bbb7eac47f0da4_EmitTypedLambda(i8*)local_unnamed_addr
define private void@_SML_tabb02952e3e94709fcc_SwitchCompile()#3{
unreachable
}
define void@_SML_load02952e3e94709fcc_SwitchCompile(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@r,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@r,align 1
tail call void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*%a)#0
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_loadce7036f3433e1102_Char(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load3446b7b079949ccf_text_io(i8*%a)#0
tail call void@_SML_loadc261d7f8774fa92d_CodeLabel(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_loadcf60e58028aea790_BuiltinTypes(i8*%a)#0
tail call void@_SML_load04a904d40099ecf0_IEnv(i8*%a)#0
tail call void@_SML_load60bbb7eac47f0da4_EmitTypedLambda(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb02952e3e94709fcc_SwitchCompile,i8*@_SML_ftab02952e3e94709fcc_SwitchCompile,i8*null)#0
ret void
}
define void@_SML_main02952e3e94709fcc_SwitchCompile()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@r,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*@r,align 1
tail call void@_SML_main5d4c3ea7bd6f9540_IntInf()#2
tail call void@_SML_main5148a836b3728be9_Int32()#2
tail call void@_SML_maince7036f3433e1102_Char()#2
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main3446b7b079949ccf_text_io()#2
tail call void@_SML_mainc261d7f8774fa92d_CodeLabel()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_maincf60e58028aea790_BuiltinTypes()#2
tail call void@_SML_main04a904d40099ecf0_IEnv()#2
tail call void@_SML_main60bbb7eac47f0da4_EmitTypedLambda()#2
br label%d
}
define internal fastcc i32@_SMLL4loop_87(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
i:
%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
%e=bitcast i8**%c to i32***
%f=icmp slt i32%b,0
br label%g
g:
%h=phi i32[%b,%i],[%ax,%aw]
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%m,label%l
l:
call void@sml_check(i32 inreg%j)
br label%m
m:
br i1%f,label%w,label%n
n:
%o=load i32**,i32***%e,align 8
%p=load i32*,i32**%o,align 8
%q=getelementptr inbounds i32,i32*%p,i64 -1
%r=load i32,i32*%q,align 4
%s=and i32%r,268435455
%t=add nsw i32%s,-1
%u=icmp slt i32%h,%t
%v=bitcast i32*%p to i8*
br i1%u,label%O,label%w
w:
%x=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[82x i8]}>,<{[4x i8],i32,[82x i8]}>*@a,i64 0,i32 2,i64 0),i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 60)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177336,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 56
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
%P=sext i32%h to i64
%Q=getelementptr inbounds i32*,i32**%o,i64 1
%R=load i32*,i32**%Q,align 8
%S=getelementptr inbounds i32,i32*%R,i64 -1
%T=load i32,i32*%S,align 4
%U=and i32%T,268435455
%V=add nsw i32%U,-1
%W=icmp slt i32%h,%V
br i1%W,label%X,label%ae
X:
%Y=bitcast i32*%R to i8*
%Z=getelementptr inbounds i8,i8*%v,i64%P
%aa=load i8,i8*%Z,align 1
%ab=getelementptr inbounds i8,i8*%Y,i64%P
%ac=load i8,i8*%ab,align 1
%ad=icmp eq i8%aa,%ac
br i1%ad,label%aw,label%ay
ae:
%af=load i8*,i8**@_SMLZ9Subscript,align 8
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
store i8*%ag,i8**%d,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[82x i8]}>,<{[4x i8],i32,[82x i8]}>*@b,i64 0,i32 2,i64 0),i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=call i8*@sml_alloc(i32 inreg 60)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177336,i32*%ar,align 4
%as=getelementptr inbounds i8,i8*%ap,i64 56
%at=bitcast i8*%as to i32*
store i32 1,i32*%at,align 4
%au=load i8*,i8**%d,align 8
%av=bitcast i8*%ap to i8**
store i8*%au,i8**%av,align 8
call void@sml_raise(i8*inreg%ap)#1
unreachable
aw:
%ax=add nsw i32%h,1
br label%g
ay:
ret i32%h
}
define internal fastcc i8*@_SMLLN13SwitchCompile4joinE_94(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
r:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%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],[%a,%r]
%s=bitcast i8*%q to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=getelementptr inbounds i8,i8*%q,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%h,align 8
%A=getelementptr inbounds i8,i8*%q,i64 24
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%i,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**%e,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%h,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=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%N)
%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)
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*%D,i8**%b,align 8
%Q=load atomic i32,i32*@sml_check_flag unordered,align 4
%R=icmp eq i32%Q,0
br i1%R,label%Z,label%S
S:
call void@sml_check(i32 inreg%Q)
%T=load i8*,i8**%b,align 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=getelementptr inbounds i8,i8*%T,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
br label%Z
Z:
%aa=phi i8*[%Y,%S],[%I,%p]
%ab=phi i8*[%V,%S],[%G,%p]
store i8*%ab,i8**%b,align 8
store i8*%aa,i8**%c,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 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**%d,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLL4loop_87 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*)*@_SMLL4loop_146 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=call fastcc i32@_SMLL4loop_87(i8*inreg%ap,i32 inreg 0)
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)
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
%aB=load i8*,i8**%e,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%ay,i64 8
%aE=bitcast i8*%aD to i32*
store i32 0,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%ay,i64 12
%aG=bitcast i8*%aF to i32*
store i32%ax,i32*%aG,align 4
%aH=getelementptr inbounds i8,i8*%ay,i64 16
%aI=bitcast i8*%aH to i32*
store i32 1,i32*%aI,align 4
%aJ=call fastcc i8*@_SMLFN6String9substringE(i8*inreg%ay)
store i8*%aJ,i8**%f,align 8
%aK=call fastcc i8*@_SMLFN4IEnv6insertE(i32 inreg 1,i32 inreg 8)
%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**%k,align 8
%aQ=call fastcc i8*@_SMLFN4IEnv9singletonE(i32 inreg 1,i32 inreg 8)
%aR=getelementptr inbounds i8,i8*%aQ,i64 16
%aS=bitcast i8*%aR to i8*(i8*,i8*)**
%aT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aS,align 8
%aU=bitcast i8*%aQ to i8**
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%j,align 8
%aW=icmp slt i32%ax,0
br i1%aW,label%a5,label%aX
aX:
%aY=bitcast i8**%e to i32**
%aZ=load i32*,i32**%aY,align 8
%a0=getelementptr inbounds i32,i32*%aZ,i64 -1
%a1=load i32,i32*%a0,align 4
%a2=and i32%a1,268435455
%a3=add nsw i32%a2,-1
%a4=icmp slt i32%ax,%a3
br i1%a4,label%bn,label%a5
a5:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%a6=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%a6,i8**%e,align 8
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177296,i32*%a9,align 4
store i8*%a7,i8**%f,align 8
%ba=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a7,i64 8
%bd=bitcast i8*%bc to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[82x i8]}>,<{[4x i8],i32,[82x i8]}>*@c,i64 0,i32 2,i64 0),i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 16
%bf=bitcast i8*%be to i32*
store i32 3,i32*%bf,align 4
%bg=call i8*@sml_alloc(i32 inreg 60)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177336,i32*%bi,align 4
%bj=getelementptr inbounds i8,i8*%bg,i64 56
%bk=bitcast i8*%bj to i32*
store i32 1,i32*%bk,align 4
%bl=load i8*,i8**%f,align 8
%bm=bitcast i8*%bg to i8**
store i8*%bl,i8**%bm,align 8
call void@sml_raise(i8*inreg%bg)#1
unreachable
bn:
%bo=bitcast i32*%aZ to i8*
store i8*null,i8**%e,align 8
%bp=sext i32%ax to i64
%bq=getelementptr inbounds i8,i8*%bo,i64%bp
%br=load i8,i8*%bq,align 1
%bs=zext i8%br to i32
%bt=call i8*@sml_alloc(i32 inreg 20)#0
%bu=bitcast i8*%bt to i32*
%bv=getelementptr inbounds i8,i8*%bt,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177296,i32*%bw,align 4
%bx=getelementptr inbounds i8,i8*%bt,i64 4
%by=bitcast i8*%bx to i32*
store i32 0,i32*%by,align 1
store i32%bs,i32*%bu,align 4
%bz=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bA=getelementptr inbounds i8,i8*%bt,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bt,i64 16
%bD=bitcast i8*%bC to i32*
store i32 2,i32*%bD,align 4
%bE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bF=call fastcc i8*%aT(i8*inreg%bE,i8*inreg%bt)
store i8*%bF,i8**%e,align 8
%bG=bitcast i8**%h to i32**
%bH=load i32*,i32**%bG,align 8
%bI=getelementptr inbounds i32,i32*%bH,i64 -1
%bJ=load i32,i32*%bI,align 4
%bK=and i32%bJ,268435455
%bL=add nsw i32%bK,-1
%bM=icmp slt i32%ax,%bL
br i1%bM,label%bN,label%cr
bN:
%bO=bitcast i32*%bH to i8*
store i8*null,i8**%h,align 8
%bP=getelementptr inbounds i8,i8*%bO,i64%bp
%bQ=load i8,i8*%bP,align 1
%bR=zext i8%bQ to i32
%bS=call i8*@sml_alloc(i32 inreg 28)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177304,i32*%bU,align 4
%bV=getelementptr inbounds i8,i8*%bS,i64 12
%bW=bitcast i8*%bV to i32*
store i32 0,i32*%bW,align 1
%bX=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bY=bitcast i8*%bS to i8**
store i8*%bX,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bS,i64 8
%b0=bitcast i8*%bZ to i32*
store i32%bR,i32*%b0,align 4
%b1=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b2=getelementptr inbounds i8,i8*%bS,i64 16
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bS,i64 24
%b5=bitcast i8*%b4 to i32*
store i32 5,i32*%b5,align 4
%b6=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%b7=call fastcc i8*%aN(i8*inreg%b6,i8*inreg%bS)
store i8*%b7,i8**%e,align 8
%b8=call i8*@sml_alloc(i32 inreg 20)#0
%b9=getelementptr inbounds i8,i8*%b8,i64 -4
%ca=bitcast i8*%b9 to i32*
store i32 1342177296,i32*%ca,align 4
store i8*%b8,i8**%g,align 8
%cb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cc=bitcast i8*%b8 to i8**
store i8*%cb,i8**%cc,align 8
%cd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ce=getelementptr inbounds i8,i8*%b8,i64 8
%cf=bitcast i8*%ce to i8**
store i8*%cd,i8**%cf,align 8
%cg=getelementptr inbounds i8,i8*%b8,i64 16
%ch=bitcast i8*%cg to i32*
store i32 3,i32*%ch,align 4
%ci=call i8*@sml_alloc(i32 inreg 20)#0
%cj=getelementptr inbounds i8,i8*%ci,i64 -4
%ck=bitcast i8*%cj to i32*
store i32 1342177296,i32*%ck,align 4
%cl=bitcast i8*%ci to i64*
store i64 0,i64*%cl,align 4
%cm=load i8*,i8**%g,align 8
%cn=getelementptr inbounds i8,i8*%ci,i64 8
%co=bitcast i8*%cn to i8**
store i8*%cm,i8**%co,align 8
%cp=getelementptr inbounds i8,i8*%ci,i64 16
%cq=bitcast i8*%cp to i32*
store i32 2,i32*%cq,align 4
ret i8*%ci
cr:
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%k,align 8
%cs=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%cs,i8**%e,align 8
%ct=call i8*@sml_alloc(i32 inreg 20)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177296,i32*%cv,align 4
store i8*%ct,i8**%f,align 8
%cw=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[82x i8]}>,<{[4x i8],i32,[82x i8]}>*@d,i64 0,i32 2,i64 0),i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%ct,i64 16
%cB=bitcast i8*%cA to i32*
store i32 3,i32*%cB,align 4
%cC=call i8*@sml_alloc(i32 inreg 60)#0
%cD=getelementptr inbounds i8,i8*%cC,i64 -4
%cE=bitcast i8*%cD to i32*
store i32 1342177336,i32*%cE,align 4
%cF=getelementptr inbounds i8,i8*%cC,i64 56
%cG=bitcast i8*%cF to i32*
store i32 1,i32*%cG,align 4
%cH=load i8*,i8**%f,align 8
%cI=bitcast i8*%cC to i8**
store i8*%cH,i8**%cI,align 8
call void@sml_raise(i8*inreg%cC)#1
unreachable
}
define internal fastcc i8*@_SMLLN13SwitchCompile12insertBranchE_97(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
r:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%g,align 8
%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**%g,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%a,%r]
%s=bitcast i8*%q to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%h,align 8
%u=getelementptr inbounds i8,i8*%q,i64 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%g,align 8
%A=getelementptr inbounds i8,i8*%q,i64 24
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%i,align 8
%D=call fastcc i8*@_SMLFN4IEnv6insertE(i32 inreg 1,i32 inreg 8)
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%k,align 8
%J=call fastcc i8*@_SMLFN4IEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%O,i8**%j,align 8
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177296,i32*%R,align 4
%S=getelementptr inbounds i8,i8*%P,i64 12
%T=bitcast i8*%S to i32*
store i32 0,i32*%T,align 1
%U=load i8*,i8**%h,align 8
%V=bitcast i8*%P to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 8
%X=bitcast i8*%W to i32*
store i32%w,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%P,i64 16
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
%aa=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ab=call fastcc i8*%M(i8*inreg%aa,i8*inreg%P)
%ac=icmp eq i8*%ab,null
br i1%ac,label%ad,label%az
ad:
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
store i8*%ae,i8**%j,align 8
%ah=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=bitcast i8*%ao to i32*
%aq=getelementptr inbounds i8,i8*%ao,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
%as=getelementptr inbounds i8,i8*%ao,i64 4
%at=bitcast i8*%as to i32*
store i32 0,i32*%at,align 1
store i32 1,i32*%ap,align 4
%au=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 16
%ay=bitcast i8*%ax to i32*
store i32 2,i32*%ay,align 4
br label%eO
az:
%aA=bitcast i8*%ab to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%j,align 8
%aC=call i8*@sml_alloc(i32 inreg 28)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177304,i32*%aE,align 4
%aF=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aI=getelementptr inbounds i8,i8*%aC,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*%aH,i8**%aJ,align 8
%aK=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aL=getelementptr inbounds i8,i8*%aC,i64 16
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aC,i64 24
%aO=bitcast i8*%aN to i32*
store i32 7,i32*%aO,align 4
%aP=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aP)
%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)
%aT=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aT)
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*%aC,i8**%b,align 8
%aU=load atomic i32,i32*@sml_check_flag unordered,align 4
%aV=icmp eq i32%aU,0
br i1%aV,label%a0,label%aW
aW:
call void@sml_check(i32 inreg%aU)
%aX=load i8*,i8**%b,align 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
br label%a0
a0:
%a1=phi i8*[%aZ,%aW],[%aF,%az]
%a2=phi i8*[%aX,%aW],[%aC,%az]
store i8*%a1,i8**%b,align 8
%a3=bitcast i8*%a1 to i32*
%a4=load i32,i32*%a3,align 4
switch i32%a4,label%a5[
i32 1,label%dE
i32 0,label%bn
]
a5:
call void@sml_matchcomp_bug()
%a6=load i8*,i8**@_SMLZ5Match,align 8
store i8*%a6,i8**%b,align 8
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177296,i32*%a9,align 4
store i8*%a7,i8**%c,align 8
%ba=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a7,i64 8
%bd=bitcast i8*%bc to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[81x i8]}>,<{[4x i8],i32,[81x i8]}>*@h,i64 0,i32 2,i64 0),i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 16
%bf=bitcast i8*%be to i32*
store i32 3,i32*%bf,align 4
%bg=call i8*@sml_alloc(i32 inreg 60)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177336,i32*%bi,align 4
%bj=getelementptr inbounds i8,i8*%bg,i64 56
%bk=bitcast i8*%bj to i32*
store i32 1,i32*%bk,align 4
%bl=load i8*,i8**%c,align 8
%bm=bitcast i8*%bg to i8**
store i8*%bl,i8**%bm,align 8
call void@sml_raise(i8*inreg%bg)#1
unreachable
bn:
%bo=getelementptr inbounds i8,i8*%a1,i64 8
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%c,align 8
%bt=getelementptr inbounds i8,i8*%bq,i64 8
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%d,align 8
%bw=getelementptr inbounds i8,i8*%a2,i64 8
%bx=bitcast i8*%bw to i8**
%by=load i8*,i8**%bx,align 8
store i8*%by,i8**%e,align 8
%bz=getelementptr inbounds i8,i8*%a2,i64 16
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
store i8*%bB,i8**%f,align 8
%bC=call fastcc i8*@_SMLFN6String8isPrefixE(i8*inreg%bs)
%bD=getelementptr inbounds i8,i8*%bC,i64 16
%bE=bitcast i8*%bD to i8*(i8*,i8*)**
%bF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bE,align 8
%bG=bitcast i8*%bC to i8**
%bH=load i8*,i8**%bG,align 8
%bI=load i8*,i8**%e,align 8
%bJ=call fastcc i8*%bF(i8*inreg%bH,i8*inreg%bI)
%bK=bitcast i8*%bJ to i32*
%bL=load i32,i32*%bK,align 4
%bM=icmp eq i32%bL,0
br i1%bM,label%c1,label%bN
bN:
%bO=bitcast i8**%c to i32**
%bP=load i32*,i32**%bO,align 8
%bQ=getelementptr inbounds i32,i32*%bP,i64 -1
%bR=load i32,i32*%bQ,align 4
%bS=and i32%bR,268435455
%bT=add nsw i32%bS,-1
%bU=icmp eq i32%bS,0
br i1%bU,label%cJ,label%bV
bV:
%bW=bitcast i8**%e to i32**
%bX=load i32*,i32**%bW,align 8
%bY=getelementptr inbounds i32,i32*%bX,i64 -1
%bZ=load i32,i32*%bY,align 4
%b0=and i32%bZ,268435455
%b1=icmp ult i32%bS,%b0
br i1%b1,label%b2,label%cJ
b2:
%b3=bitcast i32*%bX to i8*
%b4=sext i32%bT to i64
%b5=getelementptr inbounds i8,i8*%b3,i64%b4
%b6=load i8,i8*%b5,align 1
%b7=zext i8%b6 to i32
%b8=call i8*@sml_alloc(i32 inreg 36)#0
%b9=getelementptr inbounds i8,i8*%b8,i64 -4
%ca=bitcast i8*%b9 to i32*
store i32 1342177312,i32*%ca,align 4
%cb=getelementptr inbounds i8,i8*%b8,i64 12
%cc=bitcast i8*%cb to i32*
store i32 0,i32*%cc,align 1
%cd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ce=bitcast i8*%b8 to i8**
store i8*%cd,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b8,i64 8
%cg=bitcast i8*%cf to i32*
store i32%b7,i32*%cg,align 4
%ch=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ci=getelementptr inbounds i8,i8*%b8,i64 16
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cl=getelementptr inbounds i8,i8*%b8,i64 24
%cm=bitcast i8*%cl to i8**
store i8*%ck,i8**%cm,align 8
%cn=getelementptr inbounds i8,i8*%b8,i64 32
%co=bitcast i8*%cn to i32*
store i32 13,i32*%co,align 4
%cp=call fastcc i8*@_SMLLN13SwitchCompile12insertBranchE_97(i8*inreg%b8)
store i8*%cp,i8**%b,align 8
%cq=call i8*@sml_alloc(i32 inreg 20)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
store i8*%cq,i8**%d,align 8
%ct=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cu=bitcast i8*%cq to i8**
store i8*%ct,i8**%cu,align 8
%cv=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cw=getelementptr inbounds i8,i8*%cq,i64 8
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cq,i64 16
%cz=bitcast i8*%cy to i32*
store i32 3,i32*%cz,align 4
%cA=call i8*@sml_alloc(i32 inreg 20)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177296,i32*%cC,align 4
%cD=bitcast i8*%cA to i64*
store i64 0,i64*%cD,align 4
%cE=load i8*,i8**%d,align 8
%cF=getelementptr inbounds i8,i8*%cA,i64 8
%cG=bitcast i8*%cF to i8**
store i8*%cE,i8**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cA,i64 16
%cI=bitcast i8*%cH to i32*
store i32 2,i32*%cI,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aP)
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*%aT)
br label%eO
cJ:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%cK=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%cK,i8**%b,align 8
%cL=call i8*@sml_alloc(i32 inreg 20)#0
%cM=getelementptr inbounds i8,i8*%cL,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177296,i32*%cN,align 4
store i8*%cL,i8**%c,align 8
%cO=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cP=bitcast i8*%cL to i8**
store i8*%cO,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cL,i64 8
%cR=bitcast i8*%cQ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[82x i8]}>,<{[4x i8],i32,[82x i8]}>*@g,i64 0,i32 2,i64 0),i8**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cL,i64 16
%cT=bitcast i8*%cS to i32*
store i32 3,i32*%cT,align 4
%cU=call i8*@sml_alloc(i32 inreg 60)#0
%cV=getelementptr inbounds i8,i8*%cU,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177336,i32*%cW,align 4
%cX=getelementptr inbounds i8,i8*%cU,i64 56
%cY=bitcast i8*%cX to i32*
store i32 1,i32*%cY,align 4
%cZ=load i8*,i8**%c,align 8
%c0=bitcast i8*%cU to i8**
store i8*%cZ,i8**%c0,align 8
call void@sml_raise(i8*inreg%cU)#1
unreachable
c1:
store i8*null,i8**%d,align 8
%c2=call i8*@sml_alloc(i32 inreg 20)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177296,i32*%c4,align 4
store i8*%c2,i8**%d,align 8
%c5=load i8*,i8**%e,align 8
%c6=bitcast i8*%c2 to i8**
store i8*%c5,i8**%c6,align 8
%c7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c8=getelementptr inbounds i8,i8*%c2,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*%c7,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c2,i64 16
%db=bitcast i8*%da to i32*
store i32 3,i32*%db,align 4
%dc=call i8*@sml_alloc(i32 inreg 20)#0
%dd=getelementptr inbounds i8,i8*%dc,i64 -4
%de=bitcast i8*%dd to i32*
store i32 1342177296,i32*%de,align 4
store i8*%dc,i8**%f,align 8
%df=getelementptr inbounds i8,i8*%dc,i64 4
%dg=bitcast i8*%df to i32*
store i32 0,i32*%dg,align 1
%dh=bitcast i8*%dc to i32*
store i32 1,i32*%dh,align 4
%di=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dj=getelementptr inbounds i8,i8*%dc,i64 8
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dc,i64 16
%dm=bitcast i8*%dl to i32*
store i32 2,i32*%dm,align 4
%dn=call i8*@sml_alloc(i32 inreg 36)#0
%do=getelementptr inbounds i8,i8*%dn,i64 -4
%dp=bitcast i8*%do to i32*
store i32 1342177312,i32*%dp,align 4
%dq=load i8*,i8**%c,align 8
%dr=bitcast i8*%dn to i8**
store i8*%dq,i8**%dr,align 8
%ds=load i8*,i8**%b,align 8
%dt=getelementptr inbounds i8,i8*%dn,i64 8
%du=bitcast i8*%dt to i8**
store i8*%ds,i8**%du,align 8
%dv=load i8*,i8**%e,align 8
%dw=getelementptr inbounds i8,i8*%dn,i64 16
%dx=bitcast i8*%dw to i8**
store i8*%dv,i8**%dx,align 8
%dy=load i8*,i8**%f,align 8
%dz=getelementptr inbounds i8,i8*%dn,i64 24
%dA=bitcast i8*%dz to i8**
store i8*%dy,i8**%dA,align 8
%dB=getelementptr inbounds i8,i8*%dn,i64 32
%dC=bitcast i8*%dB to i32*
store i32 15,i32*%dC,align 4
%dD=call fastcc i8*@_SMLLN13SwitchCompile4joinE_94(i8*inreg%dn)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aP)
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*%aT)
br label%eO
dE:
%dF=getelementptr inbounds i8,i8*%a1,i64 8
%dG=bitcast i8*%dF to i8***
%dH=load i8**,i8***%dG,align 8
%dI=load i8*,i8**%dH,align 8
store i8*%dI,i8**%c,align 8
%dJ=getelementptr inbounds i8,i8*%a2,i64 8
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
store i8*%dL,i8**%d,align 8
%dM=getelementptr inbounds i8,i8*%a2,i64 16
%dN=bitcast i8*%dM to i8**
%dO=load i8*,i8**%dN,align 8
store i8*%dO,i8**%e,align 8
%dP=call i32@sml_obj_equal(i8*inreg%dL,i8*inreg%dI)#0
%dQ=icmp eq i32%dP,0
br i1%dQ,label%eb,label%dR
dR:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%dS=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%dS,i8**%b,align 8
%dT=call i8*@sml_alloc(i32 inreg 28)#0
%dU=getelementptr inbounds i8,i8*%dT,i64 -4
%dV=bitcast i8*%dU to i32*
store i32 1342177304,i32*%dV,align 4
store i8*%dT,i8**%c,align 8
%dW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dX=bitcast i8*%dT to i8**
store i8*%dW,i8**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dT,i64 8
%dZ=bitcast i8*%dY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[82x i8]}>,<{[4x i8],i32,[82x i8]}>*@e,i64 0,i32 2,i64 0),i8**%dZ,align 8
%d0=getelementptr inbounds i8,i8*%dT,i64 16
%d1=bitcast i8*%d0 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[23x i8]}>,<{[4x i8],i32,[23x i8]}>*@f,i64 0,i32 2,i64 0),i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dT,i64 24
%d3=bitcast i8*%d2 to i32*
store i32 7,i32*%d3,align 4
%d4=call i8*@sml_alloc(i32 inreg 60)#0
%d5=getelementptr inbounds i8,i8*%d4,i64 -4
%d6=bitcast i8*%d5 to i32*
store i32 1342177336,i32*%d6,align 4
%d7=getelementptr inbounds i8,i8*%d4,i64 56
%d8=bitcast i8*%d7 to i32*
store i32 1,i32*%d8,align 4
%d9=load i8*,i8**%c,align 8
%ea=bitcast i8*%d4 to i8**
store i8*%d9,i8**%ea,align 8
call void@sml_raise(i8*inreg%d4)#1
unreachable
eb:
%ec=call i8*@sml_alloc(i32 inreg 20)#0
%ed=getelementptr inbounds i8,i8*%ec,i64 -4
%ee=bitcast i8*%ed to i32*
store i32 1342177296,i32*%ee,align 4
store i8*%ec,i8**%f,align 8
%ef=load i8*,i8**%d,align 8
%eg=bitcast i8*%ec to i8**
store i8*%ef,i8**%eg,align 8
%eh=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ei=getelementptr inbounds i8,i8*%ec,i64 8
%ej=bitcast i8*%ei to i8**
store i8*%eh,i8**%ej,align 8
%ek=getelementptr inbounds i8,i8*%ec,i64 16
%el=bitcast i8*%ek to i32*
store i32 3,i32*%el,align 4
%em=call i8*@sml_alloc(i32 inreg 20)#0
%en=getelementptr inbounds i8,i8*%em,i64 -4
%eo=bitcast i8*%en to i32*
store i32 1342177296,i32*%eo,align 4
store i8*%em,i8**%e,align 8
%ep=getelementptr inbounds i8,i8*%em,i64 4
%eq=bitcast i8*%ep to i32*
store i32 0,i32*%eq,align 1
%er=bitcast i8*%em to i32*
store i32 1,i32*%er,align 4
%es=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%et=getelementptr inbounds i8,i8*%em,i64 8
%eu=bitcast i8*%et to i8**
store i8*%es,i8**%eu,align 8
%ev=getelementptr inbounds i8,i8*%em,i64 16
%ew=bitcast i8*%ev to i32*
store i32 2,i32*%ew,align 4
%ex=call i8*@sml_alloc(i32 inreg 36)#0
%ey=getelementptr inbounds i8,i8*%ex,i64 -4
%ez=bitcast i8*%ey to i32*
store i32 1342177312,i32*%ez,align 4
%eA=load i8*,i8**%c,align 8
%eB=bitcast i8*%ex to i8**
store i8*%eA,i8**%eB,align 8
%eC=load i8*,i8**%b,align 8
%eD=getelementptr inbounds i8,i8*%ex,i64 8
%eE=bitcast i8*%eD to i8**
store i8*%eC,i8**%eE,align 8
%eF=load i8*,i8**%d,align 8
%eG=getelementptr inbounds i8,i8*%ex,i64 16
%eH=bitcast i8*%eG to i8**
store i8*%eF,i8**%eH,align 8
%eI=load i8*,i8**%e,align 8
%eJ=getelementptr inbounds i8,i8*%ex,i64 24
%eK=bitcast i8*%eJ to i8**
store i8*%eI,i8**%eK,align 8
%eL=getelementptr inbounds i8,i8*%ex,i64 32
%eM=bitcast i8*%eL to i32*
store i32 15,i32*%eM,align 4
%eN=call fastcc i8*@_SMLLN13SwitchCompile4joinE_94(i8*inreg%ex)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aP)
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*%aT)
br label%eO
eO:
%eP=phi i8*[%ao,%ad],[%cA,%b2],[%dD,%c1],[%eN,%eb]
store i8*%eP,i8**%g,align 8
%eQ=call i8*@sml_alloc(i32 inreg 28)#0
%eR=getelementptr inbounds i8,i8*%eQ,i64 -4
%eS=bitcast i8*%eR to i32*
store i32 1342177304,i32*%eS,align 4
%eT=getelementptr inbounds i8,i8*%eQ,i64 12
%eU=bitcast i8*%eT to i32*
store i32 0,i32*%eU,align 1
%eV=load i8*,i8**%h,align 8
%eW=bitcast i8*%eQ to i8**
store i8*%eV,i8**%eW,align 8
%eX=getelementptr inbounds i8,i8*%eQ,i64 8
%eY=bitcast i8*%eX to i32*
store i32%w,i32*%eY,align 4
%eZ=load i8*,i8**%g,align 8
%e0=getelementptr inbounds i8,i8*%eQ,i64 16
%e1=bitcast i8*%e0 to i8**
store i8*%eZ,i8**%e1,align 8
%e2=getelementptr inbounds i8,i8*%eQ,i64 24
%e3=bitcast i8*%e2 to i32*
store i32 5,i32*%e3,align 4
%e4=load i8*,i8**%k,align 8
%e5=tail call fastcc i8*%G(i8*inreg%e4,i8*inreg%eQ)
ret i8*%e5
}
define internal fastcc i8*@_SMLLN13SwitchCompile6insertE_108(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
%o=icmp eq i8*%n,null
br i1%o,label%p,label%ax
p:
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%b,align 8
%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=call fastcc i8*@_SMLFN4IEnv9singletonE(i32 inreg 1,i32 inreg 8)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%e,align 8
%C=bitcast i8**%b to i32**
%D=load i32*,i32**%C,align 8
%E=getelementptr inbounds i32,i32*%D,i64 -1
%F=load i32,i32*%E,align 4
%G=and i32%F,268435455
%H=add nsw i32%G,-1
%I=call i8*@sml_alloc(i32 inreg 20)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
store i8*%I,i8**%d,align 8
%L=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=getelementptr inbounds i8,i8*%I,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
%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**%b,align 8
%V=getelementptr inbounds i8,i8*%S,i64 4
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 1
%X=bitcast i8*%S to i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 16
%ac=bitcast i8*%ab to i32*
store i32 2,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=bitcast i8*%ad to i32*
%af=getelementptr inbounds i8,i8*%ad,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ad,i64 4
%ai=bitcast i8*%ah to i32*
store i32 0,i32*%ai,align 1
store i32%H,i32*%ae,align 4
%aj=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ad,i64 16
%an=bitcast i8*%am to i32*
store i32 2,i32*%an,align 4
%ao=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ap=call fastcc i8*%z(i8*inreg%ao,i8*inreg%ad)
store i8*%ap,i8**%b,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
%at=load i8*,i8**%b,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
ret i8*%aq
ax:
%ay=bitcast i8*%n to i8**
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%b,align 8
%aA=getelementptr inbounds i8,i8*%k,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%c,align 8
%aD=getelementptr inbounds i8,i8*%k,i64 16
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%d,align 8
%aG=getelementptr inbounds i8,i8*%aC,i64 -4
%aH=bitcast i8*%aG to i32*
%aI=load i32,i32*%aH,align 4
%aJ=and i32%aI,268435455
%aK=add nsw i32%aJ,-1
%aL=call i8*@sml_alloc(i32 inreg 36)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177312,i32*%aN,align 4
%aO=getelementptr inbounds i8,i8*%aL,i64 12
%aP=bitcast i8*%aO to i32*
store i32 0,i32*%aP,align 1
%aQ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aR=bitcast i8*%aL to i8**
store i8*%aQ,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aL,i64 8
%aT=bitcast i8*%aS to i32*
store i32%aK,i32*%aT,align 4
%aU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aV=getelementptr inbounds i8,i8*%aL,i64 16
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aY=getelementptr inbounds i8,i8*%aL,i64 24
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aL,i64 32
%a1=bitcast i8*%a0 to i32*
store i32 13,i32*%a1,align 4
%a2=call fastcc i8*@_SMLLN13SwitchCompile12insertBranchE_97(i8*inreg%aL)
store i8*%a2,i8**%b,align 8
%a3=call i8*@sml_alloc(i32 inreg 12)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177288,i32*%a5,align 4
%a6=load i8*,i8**%b,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a3,i64 8
%a9=bitcast i8*%a8 to i32*
store i32 1,i32*%a9,align 4
ret i8*%a3
}
define internal fastcc i8*@_SMLLN13SwitchCompile5MatchE_110(i8*inreg%a)unnamed_addr#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
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%m,i64 16
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=getelementptr inbounds i8,i8*%m,i64 24
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%e,align 8
%z=getelementptr inbounds i8,i8*%m,i64 32
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=bitcast i8**%c to i32**
%D=getelementptr inbounds i8,i8*%s,i64 -4
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=and i32%F,268435455
%H=add nsw i32%G,-1
%I=icmp eq i32%H,%v
br i1%I,label%J,label%K
J:
ret i8*%y
K:
%L=call i8*@sml_alloc(i32 inreg 12)#0
%M=bitcast i8*%L to i32*
%N=getelementptr inbounds i8,i8*%L,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177288,i32*%O,align 4
store i8*%L,i8**%d,align 8
store i32 15,i32*%M,align 4
%P=getelementptr inbounds i8,i8*%L,i64 4
%Q=bitcast i8*%P to i32*
store i32%v,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%L,i64 8
%S=bitcast i8*%R to i32*
store i32 0,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,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=call fastcc i8*@_SMLFN15EmitTypedLambda17String__sub__unsafeE(i8*inreg%T)
store i8*%ad,i8**%d,align 8
%ae=icmp slt i32%v,0
br i1%ae,label%bL,label%af
af:
%ag=load i32*,i32**%C,align 8
%ah=getelementptr inbounds i32,i32*%ag,i64 -1
%ai=load i32,i32*%ah,align 4
%aj=and i32%ai,268435455
%ak=add nsw i32%aj,-1
%al=icmp slt i32%v,%ak
br i1%al,label%am,label%bL
am:
%an=bitcast i32*%ag to i8*
%ao=sext i32%v to i64
%ap=getelementptr inbounds i8,i8*%an,i64%ao
%aq=load i8,i8*%ap,align 1
%ar=call i8*@sml_alloc(i32 inreg 12)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177288,i32*%at,align 4
store i8*%ar,i8**%g,align 8
%au=getelementptr inbounds i8,i8*%ar,i64 4
%av=bitcast i8*%ar to i64*
store i64 0,i64*%av,align 4
store i8%aq,i8*%au,align 1
%aw=getelementptr inbounds i8,i8*%ar,i64 8
%ax=bitcast i8*%aw to i32*
store i32 0,i32*%ax,align 4
%ay=add nsw i32%v,1
%az=call i8*@sml_alloc(i32 inreg 44)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177320,i32*%aB,align 4
%aC=getelementptr inbounds i8,i8*%az,i64 20
%aD=bitcast i8*%aC to i32*
store i32 0,i32*%aD,align 1
%aE=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aF=bitcast i8*%az to i8**
store i8*%aE,i8**%aF,align 8
%aG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aH=getelementptr inbounds i8,i8*%az,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%az,i64 16
%aK=bitcast i8*%aJ to i32*
store i32%ay,i32*%aK,align 4
%aL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%az,i64 24
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=load i8*,i8**%f,align 8
%aP=getelementptr inbounds i8,i8*%az,i64 32
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%az,i64 40
%aS=bitcast i8*%aR to i32*
store i32 27,i32*%aS,align 4
%aT=call fastcc i8*@_SMLLN13SwitchCompile5MatchE_110(i8*inreg%az)
store i8*%aT,i8**%b,align 8
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
store i8*%aU,i8**%c,align 8
%aX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a0=getelementptr inbounds i8,i8*%aU,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aU,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 3,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
%a7=load i8*,i8**%c,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*null,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to i32*
store i32 3,i32*%bc,align 4
store i8*%a7,i8**%b,align 8
store i8*null,i8**%c,align 8
%bd=call i8*@sml_alloc(i32 inreg 20)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177296,i32*%bf,align 4
store i8*%bd,i8**%e,align 8
%bg=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bj=getelementptr inbounds i8,i8*%bd,i64 8
%bk=bitcast i8*%bj to i8**
store i8*%bi,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bd,i64 16
%bm=bitcast i8*%bl to i32*
store i32 3,i32*%bm,align 4
%bn=call 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
store i8*%bn,i8**%b,align 8
%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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bt=getelementptr inbounds i8,i8*%bn,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bw=getelementptr inbounds i8,i8*%bn,i64 16
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bn,i64 24
%bz=bitcast i8*%by to i32*
store i32 7,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=bitcast i8*%bA to i32*
%bC=getelementptr inbounds i8,i8*%bA,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=getelementptr inbounds i8,i8*%bA,i64 4
%bF=bitcast i8*%bE to i32*
store i32 0,i32*%bF,align 1
store i32 28,i32*%bB,align 4
%bG=load i8*,i8**%b,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bA,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 2,i32*%bK,align 4
ret i8*%bA
bL:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%bM=load i8*,i8**@_SMLZ9Subscript,align 8
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**%c,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=getelementptr inbounds i8,i8*%bN,i64 8
%bT=bitcast i8*%bS to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[83x i8]}>,<{[4x i8],i32,[83x i8]}>*@i,i64 0,i32 2,i64 0),i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bN,i64 16
%bV=bitcast i8*%bU to i32*
store i32 3,i32*%bV,align 4
%bW=call i8*@sml_alloc(i32 inreg 60)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177336,i32*%bY,align 4
%bZ=getelementptr inbounds i8,i8*%bW,i64 56
%b0=bitcast i8*%bZ to i32*
store i32 1,i32*%b0,align 4
%b1=load i8*,i8**%c,align 8
%b2=bitcast i8*%bW to i8**
store i8*%b1,i8**%b2,align 8
call void@sml_raise(i8*inreg%bW)#1
unreachable
}
define internal fastcc i8@_SMLLN13SwitchCompile10IntInf__hexE_117(i8 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=icmp eq i8%a,126
br i1%f,label%i,label%g
g:
%h=tail call fastcc i8@_SMLFN4Char7toLowerE(i8 inreg%a)
ret i8%h
i:
ret i8 45
}
define internal fastcc i8*@_SMLLN13SwitchCompile8emitTreeE_127(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=bitcast i8*%l to i32*
%r=load i32,i32*%q,align 4
%s=icmp ugt i32%r,255
br i1%s,label%aq,label%t
t:
%u=trunc i32%r to i8
%v=call i8*@sml_alloc(i32 inreg 12)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177288,i32*%x,align 4
store i8*%v,i8**%f,align 8
%y=getelementptr inbounds i8,i8*%v,i64 4
%z=bitcast i8*%v to i64*
store i64 0,i64*%z,align 4
store i8%u,i8*%y,align 1
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 4
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%C to i32**
%E=load i32*,i32**%D,align 8
%F=getelementptr inbounds i32,i32*%E,i64 -1
%G=load i32,i32*%F,align 4
%H=and i32%G,268435455
%I=getelementptr inbounds i8,i8*%C,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*%C,i64 16
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%d,align 8
%O=call i8*@sml_alloc(i32 inreg 36)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177312,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 12
%S=bitcast i8*%R to i32*
store i32 0,i32*%S,align 1
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 8
%W=bitcast i8*%V to i32*
store i32%H,i32*%W,align 4
%X=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Y=getelementptr inbounds i8,i8*%O,i64 16
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%O,i64 24
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%O,i64 32
%ae=bitcast i8*%ad to i32*
store i32 13,i32*%ae,align 4
%af=call fastcc i8*@_SMLLN13SwitchCompile8emitTreeE_121(i8*inreg%O)
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**%f,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
ret i8*%ag
aq:
store i8*null,i8**%d,align 8
%ar=load i8*,i8**@_SMLZ3Chr,align 8
store i8*%ar,i8**%c,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**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[83x i8]}>,<{[4x i8],i32,[83x i8]}>*@m,i64 0,i32 2,i64 0),i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
%aB=call i8*@sml_alloc(i32 inreg 60)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177336,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%aB,i64 56
%aF=bitcast i8*%aE to i32*
store i32 1,i32*%aF,align 4
%aG=load i8*,i8**%d,align 8
%aH=bitcast i8*%aB to i8**
store i8*%aG,i8**%aH,align 8
call void@sml_raise(i8*inreg%aB)#1
unreachable
}
define internal fastcc i8*@_SMLLN13SwitchCompile8emitTreeE_121(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
o:
%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
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%b,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%b,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
%p=bitcast i8*%n to i8**
%q=load i8*,i8**%p,align 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 1,label%b5
i32 0,label%L
]
t:
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,align 8
store i8*%u,i8**%b,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%c,align 8
%y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[82x i8]}>,<{[4x i8],i32,[82x 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**%c,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=getelementptr inbounds i8,i8*%q,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%c,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%d,align 8
%R=getelementptr inbounds i8,i8*%n,i64 8
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
%U=getelementptr inbounds i8,i8*%n,i64 16
%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*%n,i64 24
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%f,align 8
%aa=getelementptr inbounds i8,i8*%Q,i64 -4
%ab=bitcast i8*%aa to i32*
%ac=load i32,i32*%ab,align 4
%ad=and i32%ac,268435455
%ae=add nsw i32%ad,-1
%af=call i8*@sml_alloc(i32 inreg 12)#0
%ag=bitcast i8*%af to i32*
%ah=getelementptr inbounds i8,i8*%af,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177288,i32*%ai,align 4
store i8*%af,i8**%b,align 8
store i32 15,i32*%ag,align 4
%aj=getelementptr inbounds i8,i8*%af,i64 4
%ak=bitcast i8*%aj to i32*
store i32%ae,i32*%ak,align 4
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i32*
store i32 0,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**%e,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%at=getelementptr inbounds i8,i8*%an,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%an,i64 16
%aw=bitcast i8*%av to i32*
store i32 3,i32*%aw,align 4
%ax=call fastcc i8*@_SMLFN15EmitTypedLambda17String__sub__unsafeE(i8*inreg%an)
store i8*%ax,i8**%b,align 8
%ay=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%g,align 8
%aE=call i8*@sml_alloc(i32 inreg 28)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177304,i32*%aG,align 4
store i8*%aE,i8**%h,align 8
%aH=load i8*,i8**%d,align 8
%aI=bitcast i8*%aE to i8**
store i8*%aH,i8**%aI,align 8
%aJ=load i8*,i8**%e,align 8
%aK=getelementptr inbounds i8,i8*%aE,i64 8
%aL=bitcast i8*%aK to i8**
store i8*%aJ,i8**%aL,align 8
%aM=load i8*,i8**%f,align 8
%aN=getelementptr inbounds i8,i8*%aE,i64 16
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aE,i64 24
%aQ=bitcast i8*%aP to i32*
store i32 7,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 28)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177304,i32*%aT,align 4
%aU=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aR,i64 8
%aX=bitcast i8*%aW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13SwitchCompile8emitTreeE_127 to void(...)*),void(...)**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 16
%aZ=bitcast i8*%aY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13SwitchCompile8emitTreeE_127 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 24
%a1=bitcast i8*%a0 to i32*
store i32 -2147483647,i32*%a1,align 4
%a2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a3=call fastcc i8*%aB(i8*inreg%a2,i8*inreg%aR)
%a4=getelementptr inbounds i8,i8*%a3,i64 16
%a5=bitcast i8*%a4 to i8*(i8*,i8*)**
%a6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a5,align 8
%a7=bitcast i8*%a3 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%g,align 8
%a9=call fastcc i8*@_SMLFN4IEnv10listItemsiE(i32 inreg 1,i32 inreg 8)
%ba=getelementptr inbounds i8,i8*%a9,i64 16
%bb=bitcast i8*%ba to i8*(i8*,i8*)**
%bc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bb,align 8
%bd=bitcast i8*%a9 to i8**
%be=load i8*,i8**%bd,align 8
%bf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bg=getelementptr inbounds i8,i8*%bf,i64 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
%bj=call fastcc i8*%bc(i8*inreg%be,i8*inreg%bi)
%bk=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bl=call fastcc i8*%a6(i8*inreg%bk,i8*inreg%bj)
store i8*%bl,i8**%c,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**%g,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=load i8*,i8**%f,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
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
store i8*%bz,i8**%b,align 8
%bC=getelementptr inbounds i8,i8*%bz,i64 4
%bD=bitcast i8*%bC to i32*
store i32 0,i32*%bD,align 1
%bE=bitcast i8*%bz to i32*
store i32 28,i32*%bE,align 4
%bF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bG=getelementptr inbounds i8,i8*%bz,i64 8
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bz,i64 16
%bJ=bitcast i8*%bI to i32*
store i32 2,i32*%bJ,align 4
%bK=call i8*@sml_alloc(i32 inreg 44)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177320,i32*%bM,align 4
%bN=getelementptr inbounds i8,i8*%bK,i64 20
%bO=bitcast i8*%bN to i32*
store i32 0,i32*%bO,align 1
%bP=load i8*,i8**%e,align 8
%bQ=bitcast i8*%bK to i8**
store i8*%bP,i8**%bQ,align 8
%bR=load i8*,i8**%d,align 8
%bS=getelementptr inbounds i8,i8*%bK,i64 8
%bT=bitcast i8*%bS to i8**
store i8*%bR,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bK,i64 16
%bV=bitcast i8*%bU to i32*
store i32%T,i32*%bV,align 4
%bW=load i8*,i8**%b,align 8
%bX=getelementptr inbounds i8,i8*%bK,i64 24
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=load i8*,i8**%f,align 8
%b0=getelementptr inbounds i8,i8*%bK,i64 32
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bK,i64 40
%b3=bitcast i8*%b2 to i32*
store i32 27,i32*%b3,align 4
%b4=tail call fastcc i8*@_SMLLN13SwitchCompile5MatchE_110(i8*inreg%bK)
ret i8*%b4
b5:
%b6=getelementptr inbounds i8,i8*%q,i64 8
%b7=bitcast i8*%b6 to i8**
%b8=load i8*,i8**%b7,align 8
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
store i8*%ca,i8**%b,align 8
%cb=getelementptr inbounds i8,i8*%b8,i64 8
%cc=bitcast i8*%cb to i8**
%cd=load i8*,i8**%cc,align 8
store i8*%cd,i8**%c,align 8
%ce=getelementptr inbounds i8,i8*%n,i64 8
%cf=bitcast i8*%ce to i32*
%cg=load i32,i32*%cf,align 4
%ch=getelementptr inbounds i8,i8*%n,i64 16
%ci=bitcast i8*%ch to i8**
%cj=load i8*,i8**%ci,align 8
store i8*%cj,i8**%d,align 8
%ck=getelementptr inbounds i8,i8*%n,i64 24
%cl=bitcast i8*%ck to i8**
%cm=load i8*,i8**%cl,align 8
store i8*%cm,i8**%e,align 8
%cn=call i8*@sml_alloc(i32 inreg 44)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177320,i32*%cp,align 4
%cq=getelementptr inbounds i8,i8*%cn,i64 20
%cr=bitcast i8*%cq to i32*
store i32 0,i32*%cr,align 1
%cs=load i8*,i8**%d,align 8
%ct=bitcast i8*%cn to i8**
store i8*%cs,i8**%ct,align 8
%cu=load i8*,i8**%b,align 8
%cv=getelementptr inbounds i8,i8*%cn,i64 8
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=getelementptr inbounds i8,i8*%cn,i64 16
%cy=bitcast i8*%cx to i32*
store i32%cg,i32*%cy,align 4
%cz=load i8*,i8**%c,align 8
%cA=getelementptr inbounds i8,i8*%cn,i64 24
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=load i8*,i8**%e,align 8
%cD=getelementptr inbounds i8,i8*%cn,i64 32
%cE=bitcast i8*%cD to i8**
store i8*%cC,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cn,i64 40
%cG=bitcast i8*%cF to i32*
store i32 27,i32*%cG,align 4
%cH=tail call fastcc i8*@_SMLLN13SwitchCompile5MatchE_110(i8*inreg%cn)
ret i8*%cH
}
define internal fastcc i8*@_SMLL3exp_129(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
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%l,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
%k=load i8*,i8**%e,align 8
br label%l
l:
%m=phi i8*[%k,%i],[%a,%n]
%o=phi i8*[%j,%i],[%b,%n]
%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=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call i8*@sml_alloc(i32 inreg 12)#0
%w=bitcast i8*%v to i32*
%x=getelementptr inbounds i8,i8*%v,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177288,i32*%y,align 4
store i8*%v,i8**%f,align 8
store i32 33,i32*%w,align 4
%z=getelementptr inbounds i8,i8*%v,i64 4
%A=bitcast i8*%z to i32*
store i32%u,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i32*
store i32 0,i32*%C,align 4
%D=bitcast i8**%e to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=call i8*@sml_alloc(i32 inreg 36)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177312,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 12
%K=bitcast i8*%J to i32*
store i32 0,i32*%K,align 1
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 8
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 4
%P=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Q=getelementptr inbounds i8,i8*%G,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%T=getelementptr inbounds i8,i8*%G,i64 24
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%G,i64 32
%W=bitcast i8*%V to i32*
store i32 13,i32*%W,align 4
%X=call fastcc i8*@_SMLLN13SwitchCompile8emitTreeE_121(i8*inreg%G)
store i8*%X,i8**%d,align 8
%Y=bitcast i8**%c to i32**
%Z=load i32*,i32**%Y,align 8
store i8*null,i8**%c,align 8
%aa=load i32,i32*%Z,align 4
%ab=call i8*@sml_alloc(i32 inreg 12)#0
%ac=bitcast i8*%ab to i32*
%ad=getelementptr inbounds i8,i8*%ab,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177288,i32*%ae,align 4
store i8*%ab,i8**%c,align 8
store i32 3,i32*%ac,align 4
%af=getelementptr inbounds i8,i8*%ab,i64 4
%ag=bitcast i8*%af to i32*
store i32%aa,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i32*
store i32 0,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
%am=load i8*,i8**%c,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=load i8*,i8**%d,align 8
%ap=getelementptr inbounds i8,i8*%aj,i64 8
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%aj,i64 16
%as=bitcast i8*%ar to i32*
store i32 3,i32*%as,align 4
ret i8*%aj
}
define internal fastcc i8*@_SMLLN13SwitchCompile4emitE_130(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
s:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%b,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%b,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%a,%s]
store i8*null,i8**%b,align 8
%t=bitcast i8*%r to i8**
%u=load i8*,i8**%t,align 8
%v=icmp eq i8*%u,null
br i1%v,label%w,label%A
w:
%x=getelementptr inbounds i8,i8*%r,i64 24
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
ret i8*%z
A:
%B=bitcast i8*%u to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%r,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=getelementptr inbounds i8,i8*%r,i64 16
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%f,align 8
%J=getelementptr inbounds i8,i8*%r,i64 24
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%g,align 8
%M=getelementptr inbounds i8,i8*%r,i64 32
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%h,align 8
%P=getelementptr inbounds i8,i8*%r,i64 40
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%i,align 8
%S=call fastcc i32@_SMLFN15EmitTypedLambda5newIdE(i32 inreg 0)
%T=call fastcc i8*@_SMLFN13FunLocalLabel8generateE(i8*inreg null)
store i8*%T,i8**%b,align 8
%U=call i8*@sml_alloc(i32 inreg 36)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177312,i32*%W,align 4
store i8*%U,i8**%c,align 8
%X=bitcast i8*%U to i8**
store i8*null,i8**%X,align 8
%Y=load i8*,i8**%b,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=load i8*,i8**%i,align 8
%ac=getelementptr inbounds i8,i8*%U,i64 16
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=load i8*,i8**%h,align 8
%af=getelementptr inbounds i8,i8*%U,i64 24
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%U,i64 32
%ai=bitcast i8*%ah to i32*
store i32 15,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
store i8*%aj,i8**%j,align 8
%am=getelementptr inbounds i8,i8*%aj,i64 4
%an=bitcast i8*%am to i32*
store i32 0,i32*%an,align 1
%ao=bitcast i8*%aj to i32*
store i32 25,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 16
%at=bitcast i8*%as to i32*
store i32 2,i32*%at,align 4
%au=call i8*@sml_alloc(i32 inreg 20)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177296,i32*%aw,align 4
store i8*%au,i8**%c,align 8
%ax=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%h,align 8
%aA=getelementptr inbounds i8,i8*%au,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%au,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=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177296,i32*%aG,align 4
store i8*%aE,i8**%k,align 8
%aH=getelementptr inbounds i8,i8*%aE,i64 4
%aI=bitcast i8*%aH to i32*
store i32 0,i32*%aI,align 1
%aJ=bitcast i8*%aE to i32*
store i32 8,i32*%aJ,align 4
%aK=load i8*,i8**%c,align 8
store i8*null,i8**%c,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
%aP=call i8*@sml_alloc(i32 inreg 12)#0
%aQ=bitcast i8*%aP to i32*
%aR=getelementptr inbounds i8,i8*%aP,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177288,i32*%aS,align 4
store i32 33,i32*%aQ,align 4
%aT=getelementptr inbounds i8,i8*%aP,i64 4
%aU=bitcast i8*%aT to i32*
store i32%S,i32*%aU,align 4
%aV=getelementptr inbounds i8,i8*%aP,i64 8
%aW=bitcast i8*%aV to i32*
store i32 0,i32*%aW,align 4
%aX=call fastcc i8*@_SMLFN15EmitTypedLambda11String__sizeE(i8*inreg%aP)
store i8*%aX,i8**%c,align 8
%aY=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aZ=getelementptr inbounds i8,i8*%aY,i64 16
%a0=bitcast i8*%aZ to i8*(i8*,i8*)**
%a1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a0,align 8
%a2=bitcast i8*%aY to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%j,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%l,align 8
%a7=load i8*,i8**%k,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to i32*
store i32%S,i32*%ba,align 4
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to i32*
store i32 1,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 28)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177304,i32*%bf,align 4
%bg=load i8*,i8**%l,align 8
store i8*null,i8**%l,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3exp_129 to void(...)*),void(...)**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bd,i64 16
%bl=bitcast i8*%bk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3exp_129 to void(...)*),void(...)**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bd,i64 24
%bn=bitcast i8*%bm to i32*
store i32 -2147483647,i32*%bn,align 4
%bo=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bp=call fastcc i8*%a1(i8*inreg%bo,i8*inreg%bd)
%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**%j,align 8
%bv=call fastcc i8*@_SMLFN4IEnv10listItemsiE(i32 inreg 1,i32 inreg 8)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
%bB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bC=call fastcc i8*%by(i8*inreg%bA,i8*inreg%bB)
%bD=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bE=call fastcc i8*%bs(i8*inreg%bD,i8*inreg%bC)
store i8*%bE,i8**%d,align 8
%bF=call i8*@sml_alloc(i32 inreg 28)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177304,i32*%bH,align 4
store i8*%bF,i8**%j,align 8
%bI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bL=getelementptr inbounds i8,i8*%bF,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bO=getelementptr inbounds i8,i8*%bF,i64 16
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bF,i64 24
%bR=bitcast i8*%bQ to i32*
store i32 7,i32*%bR,align 4
%bS=call i8*@sml_alloc(i32 inreg 20)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177296,i32*%bU,align 4
store i8*%bS,i8**%d,align 8
%bV=getelementptr inbounds i8,i8*%bS,i64 4
%bW=bitcast i8*%bV to i32*
store i32 0,i32*%bW,align 1
%bX=bitcast i8*%bS to i32*
store i32 28,i32*%bX,align 4
%bY=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bZ=getelementptr inbounds i8,i8*%bS,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bS,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 2,i32*%b2,align 4
%b3=call i8*@sml_alloc(i32 inreg 20)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
store i8*%b3,i8**%c,align 8
%b6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b9=getelementptr inbounds i8,i8*%b3,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b3,i64 16
%cc=bitcast i8*%cb to i32*
store i32 3,i32*%cc,align 4
%cd=call i8*@sml_alloc(i32 inreg 20)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177296,i32*%cf,align 4
store i8*%cd,i8**%e,align 8
%cg=getelementptr inbounds i8,i8*%cd,i64 4
%ch=bitcast i8*%cg to i32*
store i32 0,i32*%ch,align 1
%ci=bitcast i8*%cd to i32*
store i32 8,i32*%ci,align 4
%cj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%cd,i64 8
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%cd,i64 16
%cn=bitcast i8*%cm to i32*
store i32 2,i32*%cn,align 4
%co=call i8*@sml_alloc(i32 inreg 20)#0
%cp=getelementptr inbounds i8,i8*%co,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
store i8*%co,i8**%c,align 8
%cr=getelementptr inbounds i8,i8*%co,i64 4
%cs=bitcast i8*%cr to i32*
store i32 0,i32*%cs,align 1
%ct=bitcast i8*%co to i32*
store i32%S,i32*%ct,align 4
%cu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cv=getelementptr inbounds i8,i8*%co,i64 8
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=getelementptr inbounds i8,i8*%co,i64 16
%cy=bitcast i8*%cx to i32*
store i32 2,i32*%cy,align 4
%cz=call i8*@sml_alloc(i32 inreg 20)#0
%cA=getelementptr inbounds i8,i8*%cz,i64 -4
%cB=bitcast i8*%cA to i32*
store i32 1342177296,i32*%cB,align 4
store i8*%cz,i8**%e,align 8
%cC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cD=bitcast i8*%cz to i8**
store i8*%cC,i8**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cz,i64 8
%cF=bitcast i8*%cE to i8**
store i8*null,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cz,i64 16
%cH=bitcast i8*%cG to i32*
store i32 3,i32*%cH,align 4
%cI=call i8*@sml_alloc(i32 inreg 20)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 1342177296,i32*%cK,align 4
store i8*%cI,i8**%c,align 8
%cL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cO=getelementptr inbounds i8,i8*%cI,i64 8
%cP=bitcast i8*%cO to i8**
store i8*%cN,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cI,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 3,i32*%cR,align 4
%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=getelementptr inbounds i8,i8*%cS,i64 4
%cW=bitcast i8*%cV to i32*
store i32 0,i32*%cW,align 1
%cX=bitcast i8*%cS to i32*
store i32 18,i32*%cX,align 4
%cY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cZ=getelementptr inbounds i8,i8*%cS,i64 8
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cS,i64 16
%c2=bitcast i8*%c1 to i32*
store i32 2,i32*%c2,align 4
%c3=load i8*,i8**%i,align 8
%c4=call fastcc i8*@_SMLFN15EmitTypedLambda4emitE(i8*inreg%c3)
%c5=getelementptr inbounds i8,i8*%c4,i64 16
%c6=bitcast i8*%c5 to i8*(i8*,i8*)**
%c7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c6,align 8
%c8=bitcast i8*%c4 to i8**
%c9=load i8*,i8**%c8,align 8
%da=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%db=call fastcc i8*%c7(i8*inreg%c9,i8*inreg%da)
store i8*%db,i8**%c,align 8
%dc=call i8*@sml_alloc(i32 inreg 52)#0
%dd=getelementptr inbounds i8,i8*%dc,i64 -4
%de=bitcast i8*%dd to i32*
store i32 1342177328,i32*%de,align 4
%df=bitcast i8*%dc to i8**
store i8*null,i8**%df,align 8
%dg=load i8*,i8**%g,align 8
%dh=getelementptr inbounds i8,i8*%dc,i64 8
%di=bitcast i8*%dh to i8**
store i8*%dg,i8**%di,align 8
%dj=load i8*,i8**%b,align 8
%dk=getelementptr inbounds i8,i8*%dc,i64 16
%dl=bitcast i8*%dk to i8**
store i8*%dj,i8**%dl,align 8
%dm=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dn=getelementptr inbounds i8,i8*%dc,i64 24
%do=bitcast i8*%dn to i8**
store i8*%dm,i8**%do,align 8
%dp=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dq=getelementptr inbounds i8,i8*%dc,i64 32
%dr=bitcast i8*%dq to i8**
store i8*%dp,i8**%dr,align 8
%ds=load i8*,i8**%c,align 8
%dt=getelementptr inbounds i8,i8*%dc,i64 40
%du=bitcast i8*%dt to i8**
store i8*%ds,i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%dc,i64 48
%dw=bitcast i8*%dv to i32*
store i32 63,i32*%dw,align 4
store i8*null,i8**%b,align 8
store i8*%dg,i8**%c,align 8
store i8*%dj,i8**%d,align 8
store i8*%dm,i8**%e,align 8
store i8*%dp,i8**%f,align 8
store i8*%ds,i8**%g,align 8
%dx=call i8*@sml_alloc(i32 inreg 52)#0
%dy=getelementptr inbounds i8,i8*%dx,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177328,i32*%dz,align 4
store i8*%dx,i8**%h,align 8
%dA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dB=bitcast i8*%dx to i8**
store i8*%dA,i8**%dB,align 8
%dC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dD=getelementptr inbounds i8,i8*%dx,i64 8
%dE=bitcast i8*%dD to i8**
store i8*%dC,i8**%dE,align 8
%dF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dG=getelementptr inbounds i8,i8*%dx,i64 16
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
%dI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dJ=getelementptr inbounds i8,i8*%dx,i64 24
%dK=bitcast i8*%dJ to i8**
store i8*%dI,i8**%dK,align 8
%dL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dM=getelementptr inbounds i8,i8*%dx,i64 32
%dN=bitcast i8*%dM to i8**
store i8*%dL,i8**%dN,align 8
%dO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dP=getelementptr inbounds i8,i8*%dx,i64 40
%dQ=bitcast i8*%dP to i8**
store i8*%dO,i8**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dx,i64 48
%dS=bitcast i8*%dR to i32*
store i32 63,i32*%dS,align 4
%dT=call i8*@sml_alloc(i32 inreg 20)#0
%dU=bitcast i8*%dT to i32*
%dV=getelementptr inbounds i8,i8*%dT,i64 -4
%dW=bitcast i8*%dV to i32*
store i32 1342177296,i32*%dW,align 4
%dX=getelementptr inbounds i8,i8*%dT,i64 4
%dY=bitcast i8*%dX to i32*
store i32 0,i32*%dY,align 1
store i32 3,i32*%dU,align 4
%dZ=load i8*,i8**%h,align 8
%d0=getelementptr inbounds i8,i8*%dT,i64 8
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dT,i64 16
%d3=bitcast i8*%d2 to i32*
store i32 2,i32*%d3,align 4
ret i8*%dT
}
define internal fastcc i8*@_SMLL4trie_132(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**%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%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**%c,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=bitcast i8*%r to i8**
%t=bitcast i8*%r to i8***
%u=load i8**,i8***%t,align 8
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=load i8*,i8**%s,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=getelementptr inbounds i8,i8*%r,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%e,align 8
%D=load i8*,i8**%q,align 8
store i8*%D,i8**%f,align 8
%E=call i8*@sml_alloc(i32 inreg 20)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
store i8*%E,i8**%g,align 8
%H=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=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**%d,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 8,i32*%T,align 4
%U=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 28)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=load i8*,i8**%e,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%d,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%Z,i64 24
%al=bitcast i8*%ak to i32*
store i32 7,i32*%al,align 4
%am=tail call fastcc i8*@_SMLLN13SwitchCompile6insertE_108(i8*inreg%Z)
ret i8*%am
}
define fastcc i8*@_SMLFN13SwitchCompile19compileStringSwitchE(i8*inreg%a)#2 gc"smlsharp"{
p:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%b,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%b,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%o,i64 16
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=getelementptr inbounds i8,i8*%o,i64 24
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%e,align 8
%z=getelementptr inbounds i8,i8*%o,i64 32
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=getelementptr inbounds i8,i8*%o,i64 40
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%g,align 8
%F=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%h,align 8
%L=call i8*@sml_alloc(i32 inreg 12)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177288,i32*%N,align 4
store i8*%L,i8**%i,align 8
%O=load i8*,i8**%f,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%L,i64 8
%R=bitcast i8*%Q to i32*
store i32 1,i32*%R,align 4
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,i32*%U,align 4
%V=load i8*,i8**%i,align 8
store i8*null,i8**%i,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4trie_132 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4trie_132 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 24
%ac=bitcast i8*%ab to i32*
store i32 -2147483647,i32*%ac,align 4
%ad=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ae=call fastcc i8*%I(i8*inreg%ad,i8*inreg%S)
%af=getelementptr inbounds i8,i8*%ae,i64 16
%ag=bitcast i8*%af to i8*(i8*,i8*)**
%ah=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ag,align 8
%ai=bitcast i8*%ae to i8**
%aj=load i8*,i8**%ai,align 8
%ak=call fastcc i8*%ah(i8*inreg%aj,i8*inreg null)
%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=bitcast i8**%b to i8***
%ar=load i8**,i8***%aq,align 8
store i8*null,i8**%b,align 8
%as=load i8*,i8**%ar,align 8
%at=call fastcc i8*%an(i8*inreg%ap,i8*inreg%as)
store i8*%at,i8**%b,align 8
%au=call i8*@sml_alloc(i32 inreg 52)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177328,i32*%aw,align 4
%ax=load i8*,i8**%b,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%g,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
%aD=getelementptr inbounds i8,i8*%au,i64 16
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=load i8*,i8**%c,align 8
%aG=getelementptr inbounds i8,i8*%au,i64 24
%aH=bitcast i8*%aG to i8**
store i8*%aF,i8**%aH,align 8
%aI=load i8*,i8**%f,align 8
%aJ=getelementptr inbounds i8,i8*%au,i64 32
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=load i8*,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%au,i64 40
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%au,i64 48
%aP=bitcast i8*%aO to i32*
store i32 63,i32*%aP,align 4
%aQ=tail call fastcc i8*@_SMLLN13SwitchCompile4emitE_130(i8*inreg%au)
ret i8*%aQ
}
define internal fastcc i8@_SMLL4trie_135(i8 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=icmp eq i8%a,126
br i1%f,label%i,label%g
g:
%h=tail call fastcc i8@_SMLFN4Char7toLowerE(i8 inreg%a)
ret i8%h
i:
ret i8 45
}
define internal fastcc i8*@_SMLL4trie_137(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**%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%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
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8*,i8**%p,i64 1
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
%w=call fastcc i8*@_SMLFN10CharVector3mapE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@p,i64 0,i32 2)to i8*))
%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=call fastcc i8*@_SMLFN6IntInf3fmtE(i32 inreg 2)
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=bitcast i8**%c to i8****
%J=load i8***,i8****%I,align 8
store i8*null,i8**%c,align 8
%K=load i8**,i8***%J,align 8
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*%F(i8*inreg%H,i8*inreg%L)
%N=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%O=call fastcc i8*%z(i8*inreg%N,i8*inreg%M)
store i8*%O,i8**%c,align 8
%P=bitcast i8**%f to i8***
%Q=load i8**,i8***%P,align 8
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%f,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**%g,align 8
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%S,i64 16
%ab=bitcast i8*%aa to i32*
store i32 3,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 20)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177296,i32*%ae,align 4
store i8*%ac,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%ac,i64 4
%ag=bitcast i8*%af to i32*
store i32 0,i32*%ag,align 1
%ah=bitcast i8*%ac to i32*
store i32 8,i32*%ah,align 4
%ai=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 16
%am=bitcast i8*%al to i32*
store i32 2,i32*%am,align 4
%an=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**%e,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=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 16
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%an,i64 24
%az=bitcast i8*%ay to i32*
store i32 7,i32*%az,align 4
%aA=tail call fastcc i8*@_SMLLN13SwitchCompile6insertE_108(i8*inreg%an)
ret i8*%aA
}
define fastcc i8*@_SMLFN13SwitchCompile19compileIntInfSwitchE(i8*inreg%a)#2 gc"smlsharp"{
u:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%a,i8**%n,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**%n,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%a,%u]
store i8*null,i8**%n,align 8
%v=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
%x=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
%y=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%y)
%z=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z)
%A=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%A)
%B=bitcast i8**%m to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%B)
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*%t,i8**%g,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**%g,align 8
br label%G
G:
%H=phi i8*[%F,%E],[%t,%s]
%I=getelementptr inbounds i8,i8*%H,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%i,align 8
%L=getelementptr inbounds i8,i8*%H,i64 24
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%j,align 8
%O=getelementptr inbounds i8,i8*%H,i64 32
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%k,align 8
%R=getelementptr inbounds i8,i8*%H,i64 40
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%h,align 8
%U=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8*(i8*,i8*)**
%X=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%W,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%l,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**%m,align 8
%ad=load i8*,i8**%k,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**%m,align 8
store i8*null,i8**%m,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*)*@_SMLL4trie_137 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*)*@_SMLL4trie_137 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=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%at=call fastcc i8*%X(i8*inreg%as,i8*inreg%ah)
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%at to i8**
%ay=load i8*,i8**%ax,align 8
%az=call fastcc i8*%aw(i8*inreg%ay,i8*inreg null)
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8*(i8*,i8*)**
%aC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aB,align 8
%aD=bitcast i8*%az to i8**
%aE=load i8*,i8**%aD,align 8
%aF=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=call fastcc i8*%aC(i8*inreg%aE,i8*inreg%aH)
store i8*%aI,i8**%g,align 8
%aJ=call i8*@sml_alloc(i32 inreg 20)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177296,i32*%aL,align 4
%aM=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aN=bitcast i8*%aJ to i8**
store i8*%aM,i8**%aN,align 8
%aO=load i8*,i8**%j,align 8
%aP=getelementptr inbounds i8,i8*%aJ,i64 8
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aJ,i64 16
%aS=bitcast i8*%aR to i32*
store i32 3,i32*%aS,align 4
%aT=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aT)
%aU=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aU)
%aV=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aV)
%aW=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aW)
%aX=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aX)
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*%aJ,i8**%b,align 8
%aY=load atomic i32,i32*@sml_check_flag unordered,align 4
%aZ=icmp eq i32%aY,0
br i1%aZ,label%a7,label%a0
a0:
call void@sml_check(i32 inreg%aY)
%a1=load i8*,i8**%b,align 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=getelementptr inbounds i8,i8*%a1,i64 8
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
br label%a7
a7:
%a8=phi i8*[%a6,%a0],[%aO,%G]
%a9=phi i8*[%a3,%a0],[%aM,%G]
store i8*%a9,i8**%b,align 8
store i8*%a8,i8**%c,align 8
%ba=bitcast i8*%a9 to i32*
%bb=load i32,i32*%ba,align 4
%bc=icmp eq i32%bb,22
br i1%bc,label%bd,label%cf
bd:
%be=getelementptr inbounds i8,i8*%a9,i64 8
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
%bj=bitcast i8*%bi to i32*
%bk=load i32,i32*%bj,align 4
%bl=icmp eq i32%bk,0
br i1%bl,label%bm,label%cf
bm:
%bn=getelementptr inbounds i8,i8*%bi,i64 8
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%b,align 8
%bq=getelementptr inbounds i8,i8*%bg,i64 8
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%c,align 8
%bt=call fastcc i8*@_SMLFN10CharVector3mapE(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*))
%bu=getelementptr inbounds i8,i8*%bt,i64 16
%bv=bitcast i8*%bu to i8*(i8*,i8*)**
%bw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bv,align 8
%bx=bitcast i8*%bt to i8**
%by=load i8*,i8**%bx,align 8
store i8*%by,i8**%d,align 8
%bz=call fastcc i8*@_SMLFN6IntInf3fmtE(i32 inreg 2)
%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
%bF=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bG=call fastcc i8*%bC(i8*inreg%bE,i8*inreg%bF)
%bH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bI=call fastcc i8*%bw(i8*inreg%bH,i8*inreg%bG)
store i8*%bI,i8**%b,align 8
%bJ=call i8*@sml_alloc(i32 inreg 20)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177296,i32*%bL,align 4
store i8*%bJ,i8**%d,align 8
%bM=getelementptr inbounds i8,i8*%bJ,i64 4
%bN=bitcast i8*%bM to i32*
store i32 0,i32*%bN,align 1
%bO=bitcast i8*%bJ to i32*
store i32 1,i32*%bO,align 4
%bP=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bQ=getelementptr inbounds i8,i8*%bJ,i64 8
%bR=bitcast i8*%bQ to i8**
store i8*%bP,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bJ,i64 16
%bT=bitcast i8*%bS to i32*
store i32 2,i32*%bT,align 4
%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**%b,align 8
%bX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b0=getelementptr inbounds i8,i8*%bU,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bU,i64 16
%b3=bitcast i8*%b2 to i32*
store i32 3,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=bitcast i8*%b4 to i32*
%b6=getelementptr inbounds i8,i8*%b4,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32 1342177296,i32*%b7,align 4
%b8=getelementptr inbounds i8,i8*%b4,i64 4
%b9=bitcast i8*%b8 to i32*
store i32 0,i32*%b9,align 1
store i32 22,i32*%b5,align 4
%ca=load i8*,i8**%b,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 8
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b4,i64 16
%ce=bitcast i8*%cd to i32*
store i32 2,i32*%ce,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aU)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aV)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aW)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aX)
br label%et
cf:
%cg=call i8*@sml_alloc(i32 inreg 20)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177296,i32*%ci,align 4
store i8*%cg,i8**%d,align 8
%cj=load i8*,i8**%b,align 8
%ck=bitcast i8*%cg to i8**
store i8*%cj,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cg,i64 8
%cm=bitcast i8*%cl to i8**
store i8*null,i8**%cm,align 8
%cn=getelementptr inbounds i8,i8*%cg,i64 16
%co=bitcast i8*%cn to i32*
store i32 3,i32*%co,align 4
%cp=load i8*,i8**@_SMLZN12BuiltinTypes8intInfTyE,align 8
store i8*%cp,i8**%b,align 8
%cq=call i8*@sml_alloc(i32 inreg 20)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
store i8*%cq,i8**%e,align 8
%ct=load i8*,i8**%b,align 8
%cu=bitcast i8*%cq to i8**
store i8*%ct,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cq,i64 8
%cw=bitcast i8*%cv to i8**
store i8*null,i8**%cw,align 8
%cx=getelementptr inbounds i8,i8*%cq,i64 16
%cy=bitcast i8*%cx to i32*
store i32 3,i32*%cy,align 4
%cz=load i8*,i8**@_SMLZN12BuiltinTypes8stringTyE,align 8
store i8*%cz,i8**%b,align 8
%cA=call i8*@sml_alloc(i32 inreg 12)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177288,i32*%cC,align 4
store i8*%cA,i8**%f,align 8
%cD=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i32*
store i32 1,i32*%cG,align 4
%cH=call i8*@sml_alloc(i32 inreg 36)#0
%cI=getelementptr inbounds i8,i8*%cH,i64 -4
%cJ=bitcast i8*%cI to i32*
store i32 1342177312,i32*%cJ,align 4
store i8*%cH,i8**%b,align 8
%cK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cL=bitcast i8*%cH to i8**
store i8*%cK,i8**%cL,align 8
%cM=getelementptr inbounds i8,i8*%cH,i64 8
%cN=bitcast i8*%cM to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,i32,i32,i32,i32}>,<{[4x i8],i32,i8*,i32,i32,i32,i32,i32}>*@k,i64 0,i32 2)to i8*),i8**%cN,align 8
%cO=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cP=getelementptr inbounds i8,i8*%cH,i64 16
%cQ=bitcast i8*%cP to i8**
store i8*%cO,i8**%cQ,align 8
%cR=getelementptr inbounds i8,i8*%cH,i64 24
%cS=bitcast i8*%cR to i8**
store i8*null,i8**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cH,i64 32
%cU=bitcast i8*%cT to i32*
store i32 15,i32*%cU,align 4
%cV=call i8*@sml_alloc(i32 inreg 20)#0
%cW=getelementptr inbounds i8,i8*%cV,i64 -4
%cX=bitcast i8*%cW to i32*
store i32 1342177296,i32*%cX,align 4
store i8*%cV,i8**%e,align 8
%cY=getelementptr inbounds i8,i8*%cV,i64 4
%cZ=bitcast i8*%cY to i32*
store i32 0,i32*%cZ,align 1
%c0=bitcast i8*%cV to i32*
store i32 2,i32*%c0,align 4
%c1=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%c2=getelementptr inbounds i8,i8*%cV,i64 8
%c3=bitcast i8*%c2 to i8**
store i8*%c1,i8**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cV,i64 16
%c5=bitcast i8*%c4 to i32*
store i32 2,i32*%c5,align 4
%c6=call i8*@sml_alloc(i32 inreg 20)#0
%c7=getelementptr inbounds i8,i8*%c6,i64 -4
%c8=bitcast i8*%c7 to i32*
store i32 1342177296,i32*%c8,align 4
store i8*%c6,i8**%f,align 8
%c9=bitcast i8*%c6 to i64*
store i64 0,i64*%c9,align 4
%da=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%db=getelementptr inbounds i8,i8*%c6,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c6,i64 16
%de=bitcast i8*%dd to i32*
store i32 2,i32*%de,align 4
%df=call i8*@sml_alloc(i32 inreg 20)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177296,i32*%dh,align 4
store i8*%df,i8**%b,align 8
%di=bitcast i8*%df to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@j,i64 0,i32 2,i64 0),i8**%di,align 8
%dj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dk=getelementptr inbounds i8,i8*%df,i64 8
%dl=bitcast i8*%dk to i8**
store i8*%dj,i8**%dl,align 8
%dm=getelementptr inbounds i8,i8*%df,i64 16
%dn=bitcast i8*%dm to i32*
store i32 3,i32*%dn,align 4
%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**%e,align 8
%dr=bitcast i8*%do to i64*
store i64 0,i64*%dr,align 4
%ds=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dt=getelementptr inbounds i8,i8*%do,i64 8
%du=bitcast i8*%dt to i8**
store i8*%ds,i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%do,i64 16
%dw=bitcast i8*%dv to i32*
store i32 2,i32*%dw,align 4
%dx=call i8*@sml_alloc(i32 inreg 20)#0
%dy=getelementptr inbounds i8,i8*%dx,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177296,i32*%dz,align 4
store i8*%dx,i8**%b,align 8
%dA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dB=bitcast i8*%dx to i8**
store i8*%dA,i8**%dB,align 8
%dC=load i8*,i8**%c,align 8
%dD=getelementptr inbounds i8,i8*%dx,i64 8
%dE=bitcast i8*%dD to i8**
store i8*%dC,i8**%dE,align 8
%dF=getelementptr inbounds i8,i8*%dx,i64 16
%dG=bitcast i8*%dF to i32*
store i32 3,i32*%dG,align 4
%dH=call i8*@sml_alloc(i32 inreg 20)#0
%dI=getelementptr inbounds i8,i8*%dH,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32 1342177296,i32*%dJ,align 4
store i8*%dH,i8**%e,align 8
%dK=getelementptr inbounds i8,i8*%dH,i64 4
%dL=bitcast i8*%dK to i32*
store i32 0,i32*%dL,align 1
%dM=bitcast i8*%dH to i32*
store i32 4,i32*%dM,align 4
%dN=load i8*,i8**%b,align 8
%dO=getelementptr inbounds i8,i8*%dH,i64 8
%dP=bitcast i8*%dO to i8**
store i8*%dN,i8**%dP,align 8
%dQ=getelementptr inbounds i8,i8*%dH,i64 16
%dR=bitcast i8*%dQ to i32*
store i32 2,i32*%dR,align 4
%dS=load i8*,i8**@_SMLZN12BuiltinTypes8stringTyE,align 8
store i8*%dS,i8**%b,align 8
%dT=call i8*@sml_alloc(i32 inreg 12)#0
%dU=getelementptr inbounds i8,i8*%dT,i64 -4
%dV=bitcast i8*%dU to i32*
store i32 1342177288,i32*%dV,align 4
store i8*%dT,i8**%f,align 8
%dW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dX=bitcast i8*%dT to i8**
store i8*%dW,i8**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dT,i64 8
%dZ=bitcast i8*%dY to i32*
store i32 1,i32*%dZ,align 4
%d0=call i8*@sml_alloc(i32 inreg 44)#0
%d1=getelementptr inbounds i8,i8*%d0,i64 -4
%d2=bitcast i8*%d1 to i32*
store i32 1342177320,i32*%d2,align 4
store i8*%d0,i8**%b,align 8
%d3=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%d4=bitcast i8*%d0 to i8**
store i8*%d3,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%d0,i64 8
%d6=bitcast i8*%d5 to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,i32,i32,i32,i32}>,<{[4x i8],i32,i8*,i32,i32,i32,i32,i32}>*@k,i64 0,i32 2)to i8*),i8**%d6,align 8
%d7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d8=getelementptr inbounds i8,i8*%d0,i64 16
%d9=bitcast i8*%d8 to i8**
store i8*%d7,i8**%d9,align 8
%ea=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eb=getelementptr inbounds i8,i8*%d0,i64 24
%ec=bitcast i8*%eb to i8**
store i8*%ea,i8**%ec,align 8
%ed=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ee=getelementptr inbounds i8,i8*%d0,i64 32
%ef=bitcast i8*%ee to i8**
store i8*%ed,i8**%ef,align 8
%eg=getelementptr inbounds i8,i8*%d0,i64 40
%eh=bitcast i8*%eg to i32*
store i32 31,i32*%eh,align 4
%ei=call i8*@sml_alloc(i32 inreg 20)#0
%ej=bitcast i8*%ei to i32*
%ek=getelementptr inbounds i8,i8*%ei,i64 -4
%el=bitcast i8*%ek to i32*
store i32 1342177296,i32*%el,align 4
%em=getelementptr inbounds i8,i8*%ei,i64 4
%en=bitcast i8*%em to i32*
store i32 0,i32*%en,align 1
store i32 8,i32*%ej,align 4
%eo=load i8*,i8**%b,align 8
%ep=getelementptr inbounds i8,i8*%ei,i64 8
%eq=bitcast i8*%ep to i8**
store i8*%eo,i8**%eq,align 8
%er=getelementptr inbounds i8,i8*%ei,i64 16
%es=bitcast i8*%er to i32*
store i32 2,i32*%es,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aU)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aV)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aW)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aX)
br label%et
et:
%eu=phi i8*[%b4,%bm],[%ei,%cf]
store i8*%eu,i8**%h,align 8
%ev=load i8*,i8**@_SMLZN12BuiltinTypes8stringTyE,align 8
store i8*%ev,i8**%l,align 8
%ew=call i8*@sml_alloc(i32 inreg 52)#0
%ex=getelementptr inbounds i8,i8*%ew,i64 -4
%ey=bitcast i8*%ex to i32*
store i32 1342177328,i32*%ey,align 4
%ez=load i8*,i8**%g,align 8
%eA=bitcast i8*%ew to i8**
store i8*%ez,i8**%eA,align 8
%eB=load i8*,i8**%h,align 8
%eC=getelementptr inbounds i8,i8*%ew,i64 8
%eD=bitcast i8*%eC to i8**
store i8*%eB,i8**%eD,align 8
%eE=load i8*,i8**%l,align 8
%eF=getelementptr inbounds i8,i8*%ew,i64 16
%eG=bitcast i8*%eF to i8**
store i8*%eE,i8**%eG,align 8
%eH=load i8*,i8**%i,align 8
%eI=getelementptr inbounds i8,i8*%ew,i64 24
%eJ=bitcast i8*%eI to i8**
store i8*%eH,i8**%eJ,align 8
%eK=load i8*,i8**%k,align 8
%eL=getelementptr inbounds i8,i8*%ew,i64 32
%eM=bitcast i8*%eL to i8**
store i8*%eK,i8**%eM,align 8
%eN=load i8*,i8**%j,align 8
%eO=getelementptr inbounds i8,i8*%ew,i64 40
%eP=bitcast i8*%eO to i8**
store i8*%eN,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%ew,i64 48
%eR=bitcast i8*%eQ to i32*
store i32 63,i32*%eR,align 4
%eS=call fastcc i8*@_SMLLN13SwitchCompile4emitE_130(i8*inreg%ew)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%B)
ret i8*%eS
}
define internal fastcc i8*@_SMLL4loop_146(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLL4loop_87(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN13SwitchCompile10IntInf__hexE_153(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=tail call fastcc i8@_SMLLN13SwitchCompile10IntInf__hexE_117(i8 inreg%c)
%e=tail call i8*@sml_alloc(i32 inreg 1)#0
%f=getelementptr inbounds i8,i8*%e,i64 -4
%g=bitcast i8*%f to i32*
store i32 1,i32*%g,align 4
store i8%d,i8*%e,align 1
ret i8*%e
}
define internal fastcc i8*@_SMLLN13SwitchCompile19compileStringSwitchE_157(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN13SwitchCompile19compileStringSwitchE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4trie_158(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=tail call fastcc i8@_SMLL4trie_135(i8 inreg%c)
%e=tail call i8*@sml_alloc(i32 inreg 1)#0
%f=getelementptr inbounds i8,i8*%e,i64 -4
%g=bitcast i8*%f to i32*
store i32 1,i32*%g,align 4
store i8%d,i8*%e,align 1
ret i8*%e
}
define internal fastcc i8*@_SMLLN13SwitchCompile19compileIntInfSwitchE_160(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN13SwitchCompile19compileIntInfSwitchE(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}
