@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"TCSize.Limit\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL144=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i32 0,i32 0,i32 0),i32 8)}>,align 8
@_SMLDL145=private global<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1342177272,i8*null}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:24.6(493)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:45.2(1094)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN6TCSize7sizeExpE_191 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize7sizeExpE_235 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN6TCSize7sizeExpE_193 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize7sizeExpE_236 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN6TCSize7sizeExpE_195 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize7sizeExpE_237 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:73.11(2308)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:60.7(1869)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:175.7(6930)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:21.46(448)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL144,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@k,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[25x i8]}><{[4x i8]zeroinitializer,i32 -2147483623,[25x i8]c"TPFUNDECL not eliminated\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@p,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[25x i8]}>,<{[4x i8],i32,[25x i8]}>*@m,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:12.14(248)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"TypedCalcSize: \00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[29x i8]}><{[4x i8]zeroinitializer,i32 -2147483619,[29x i8]c"TPPOLYFUNDECL not eliminated\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@p,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[29x i8]}>,<{[4x i8],i32,[29x i8]}>*@q,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN6TCSize8sizeDeclE_213 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize8sizeDeclE_238 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN6TCSize8sizeDeclE_215 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize8sizeDeclE_239 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCSize.sml:218.7(8266)\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize7sizeExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize7sizeExpE_244 to void(...)*),i32 -2147483647}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize7sizePatE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize7sizePatE_245 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize8sizeDeclE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize8sizeDeclE_246 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize12sizeDeclListE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize12sizeDeclListE_247 to void(...)*),i32 -2147483647}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize12isSmallerExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize12isSmallerExpE_248 to void(...)*),i32 -2147483647}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize12isSmallerPatE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize12isSmallerPatE_249 to void(...)*),i32 -2147483647}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize13isSmallerDeclE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize13isSmallerDeclE_250 to void(...)*),i32 -2147483647}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6TCSize17isSmallerDeclListE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN6TCSize17isSmallerDeclListE_251 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6TCSize7sizeExpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@v,i64 0,i32 2)to i8*)
@_SMLZN6TCSize7sizePatE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*)
@_SMLZN6TCSize8sizeDeclE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@x,i64 0,i32 2)to i8*)
@_SMLZN6TCSize12sizeDeclListE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*)
@_SMLZN6TCSize12isSmallerExpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*)
@_SMLZN6TCSize12isSmallerPatE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*)
@_SMLZN6TCSize13isSmallerDeclE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@B,i64 0,i32 2)to i8*)
@_SMLZN6TCSize17isSmallerDeclListE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@C,i64 0,i32 2)to i8*)
@D=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i32 0,i32 0,i32 0),i32 8)to i64),i64 ptrtoint([2x i64]*@D to i64))]
@_SML_ftabfef85f624e912b75_TCSize=external global i8
@E=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map8numItemsE(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*@_SMLFN4List6lengthE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)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_maina142c315f12317c0_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main22c101bff228a4a9_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_loada142c315f12317c0_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load22c101bff228a4a9_LocalID(i8*)local_unnamed_addr
define private void@_SML_tabbfef85f624e912b75_TCSize()#3{
unreachable
}
define void@_SML_loadfef85f624e912b75_TCSize(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@E,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@E,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_loada142c315f12317c0_RecordLabel(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load22c101bff228a4a9_LocalID(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbfef85f624e912b75_TCSize,i8*@_SML_ftabfef85f624e912b75_TCSize,i8*bitcast([2x i64]*@D to i8*))#0
ret void
}
define void@_SML_mainfef85f624e912b75_TCSize()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@E,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*@E,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_maina142c315f12317c0_RecordLabel()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main22c101bff228a4a9_LocalID()#2
br label%d
}
define internal fastcc i32@_SMLLLN6TCSize8incConstE_148(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32*
%l=load i32,i32*%k,align 4
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=icmp eq i8*%o,null
br i1%p,label%ac,label%q
q:
%r=bitcast i8*%o to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 1,label%ac
i32 5,label%ac
i32 3,label%M
i32 2,label%L
i32 0,label%ac
i32 4,label%ac
]
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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@c,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:
br label%ac
M:
%N=getelementptr inbounds i8,i8*%o,i64 8
%O=bitcast i8*%N to i32**
%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=sdiv i32%T,4
%V=icmp eq i32%S,0
%W=and i32%T,3
%X=icmp ne i32%W,0
%Y=and i1%V,%X
%Z=sext i1%Y to i32
%aa=add nsw i32%U,1
%ab=add nsw i32%aa,%Z
br label%ac
ac:
%ad=phi i32[2,%L],[%ab,%M],[1,%q],[1,%q],[1,%q],[1,%q],[1,%h]
%ae=add nsw i32%ad,%l
ret i32%ae
}
define internal fastcc i8*@_SMLLLN6TCSize7sizeExpE_191(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLLN6TCSize7sizeExpE_193(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize7sizeExpE_195(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize8sizeDeclE_213(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=bitcast i8*%a to i8**
%e=load i8*,i8**%d,align 8
store i8*%e,i8**%b,align 8
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%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
%l=load i8*,i8**%c,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=load i8*,i8**%b,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
ret i8*%i
}
define internal fastcc i8*@_SMLLLN6TCSize8sizeDeclE_215(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=bitcast i8*%a to i8**
%e=load i8*,i8**%d,align 8
store i8*%e,i8**%b,align 8
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%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
%l=load i8*,i8**%c,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=load i8*,i8**%b,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
ret i8*%i
}
define internal fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
j:
%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
br label%h
h:
%i=phi i8*[%b,%j],[%bo,%ad]
%k=phi i32[%a,%j],[%aK,%ad]
store i8*%i,i8**%c,align 8
br label%l
l:
%m=phi i8*[%i,%h],[%ac,%ab]
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%c,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%m,%l]
%t=icmp eq i8*%s,null
br i1%t,label%u,label%v
u:
ret i32%k
v:
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
switch i32%z,label%A[
i32 2,label%ep
i32 3,label%dK
i32 1,label%c5
i32 4,label%by
i32 0,label%S
]
A:
call void@sml_matchcomp_bug()
%B=load i8*,i8**@_SMLZ5Match,align 8
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
store i8*%C,i8**%d,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@d,i64 0,i32 2,i64 0),i8**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%d,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
S:
%T=getelementptr inbounds i8,i8*%x,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=icmp eq i8*%V,null
br i1%W,label%X,label%ad
X:
%Y=getelementptr inbounds i8,i8*%s,i64 8
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%c,align 8
br label%ab
ab:
%ac=phi i8*[%aa,%X],[%bG,%bD],[%cV,%bH],[%dd,%da],[%dS,%dP],[%ex,%eu]
br label%l
ad:
%ae=bitcast i8*%V to i8**
%af=load i8*,i8**%ae,align 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%d,align 8
%ai=getelementptr inbounds i8,i8*%af,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%e,align 8
%al=getelementptr inbounds i8,i8*%V,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%f,align 8
%ao=getelementptr inbounds i8,i8*%s,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%c,align 8
%ar=call i8*@sml_alloc(i32 inreg 20)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177296,i32*%at,align 4
store i8*%ar,i8**%g,align 8
%au=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i8**
store i8*null,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%aB=getelementptr inbounds i8,i8*%aA,i64 16
%aC=bitcast i8*%aB to i8*(i8*,i8*)**
%aD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aC,align 8
%aE=bitcast i8*%aA to i8**
%aF=load i8*,i8**%aE,align 8
%aG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aH=call fastcc i8*%aD(i8*inreg%aF,i8*inreg%aG)
%aI=bitcast i8*%aH to i32*
%aJ=load i32,i32*%aI,align 4
%aK=add nsw i32%aJ,%k
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
store i8*%aL,i8**%d,align 8
%aO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aL,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*null,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aL,i64 16
%aT=bitcast i8*%aS to i32*
store i32 3,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**%e,align 8
%aX=getelementptr inbounds i8,i8*%aU,i64 4
%aY=bitcast i8*%aX to i32*
store i32 0,i32*%aY,align 1
%aZ=bitcast i8*%aU to i32*
store i32 2,i32*%aZ,align 4
%a0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aU,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 2,i32*%a4,align 4
%a5=call i8*@sml_alloc(i32 inreg 20)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177296,i32*%a7,align 4
store i8*%a5,i8**%d,align 8
%a8=bitcast i8*%a5 to i64*
store i64 0,i64*%a8,align 4
%a9=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to i32*
store i32 2,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
store i8*%be,i8**%f,align 8
%bh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bk=getelementptr inbounds i8,i8*%be,i64 8
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%be,i64 16
%bn=bitcast i8*%bm to i32*
store i32 3,i32*%bn,align 4
%bo=call i8*@sml_alloc(i32 inreg 20)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177296,i32*%bq,align 4
%br=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bu=getelementptr inbounds i8,i8*%bo,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bo,i64 16
%bx=bitcast i8*%bw to i32*
store i32 3,i32*%bx,align 4
br label%h
by:
%bz=getelementptr inbounds i8,i8*%x,i64 8
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
%bC=icmp eq i8*%bB,null
br i1%bC,label%bD,label%bH
bD:
%bE=getelementptr inbounds i8,i8*%s,i64 8
%bF=bitcast i8*%bE to i8**
%bG=load i8*,i8**%bF,align 8
store i8*%bG,i8**%c,align 8
br label%ab
bH:
%bI=bitcast i8*%bB to i8**
%bJ=load i8*,i8**%bI,align 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%d,align 8
%bM=getelementptr inbounds i8,i8*%bJ,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
store i8*%bO,i8**%e,align 8
%bP=getelementptr inbounds i8,i8*%bB,i64 8
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%f,align 8
%bS=getelementptr inbounds i8,i8*%s,i64 8
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
store i8*%bU,i8**%c,align 8
%bV=call i8*@sml_alloc(i32 inreg 20)#0
%bW=getelementptr inbounds i8,i8*%bV,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177296,i32*%bX,align 4
store i8*%bV,i8**%g,align 8
%bY=getelementptr inbounds i8,i8*%bV,i64 4
%bZ=bitcast i8*%bY to i32*
store i32 0,i32*%bZ,align 1
%b0=bitcast i8*%bV to i32*
store i32 3,i32*%b0,align 4
%b1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b2=getelementptr inbounds i8,i8*%bV,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bV,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 2,i32*%b5,align 4
%b6=call i8*@sml_alloc(i32 inreg 20)#0
%b7=getelementptr inbounds i8,i8*%b6,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177296,i32*%b8,align 4
store i8*%b6,i8**%d,align 8
%b9=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ca=bitcast i8*%b6 to i8**
store i8*%b9,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b6,i64 8
%cc=bitcast i8*%cb to i8**
store i8*null,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b6,i64 16
%ce=bitcast i8*%cd to i32*
store i32 3,i32*%ce,align 4
%cf=call i8*@sml_alloc(i32 inreg 20)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177296,i32*%ch,align 4
store i8*%cf,i8**%e,align 8
%ci=getelementptr inbounds i8,i8*%cf,i64 4
%cj=bitcast i8*%ci to i32*
store i32 0,i32*%cj,align 1
%ck=bitcast i8*%cf to i32*
store i32 2,i32*%ck,align 4
%cl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cm=getelementptr inbounds i8,i8*%cf,i64 8
%cn=bitcast i8*%cm to i8**
store i8*%cl,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%cf,i64 16
%cp=bitcast i8*%co to i32*
store i32 2,i32*%cp,align 4
%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=getelementptr inbounds i8,i8*%cq,i64 4
%cu=bitcast i8*%ct to i32*
store i32 0,i32*%cu,align 1
%cv=bitcast i8*%cq to i32*
store i32 4,i32*%cv,align 4
%cw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cx=getelementptr inbounds i8,i8*%cq,i64 8
%cy=bitcast i8*%cx to i8**
store i8*%cw,i8**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cq,i64 16
%cA=bitcast i8*%cz to i32*
store i32 2,i32*%cA,align 4
%cB=call i8*@sml_alloc(i32 inreg 20)#0
%cC=getelementptr inbounds i8,i8*%cB,i64 -4
%cD=bitcast i8*%cC to i32*
store i32 1342177296,i32*%cD,align 4
store i8*%cB,i8**%f,align 8
%cE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cF=bitcast i8*%cB to i8**
store i8*%cE,i8**%cF,align 8
%cG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cH=getelementptr inbounds i8,i8*%cB,i64 8
%cI=bitcast i8*%cH to i8**
store i8*%cG,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cB,i64 16
%cK=bitcast i8*%cJ to i32*
store i32 3,i32*%cK,align 4
%cL=call i8*@sml_alloc(i32 inreg 20)#0
%cM=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**%e,align 8
store i8*null,i8**%e,align 8
%cP=bitcast i8*%cL to i8**
store i8*%cO,i8**%cP,align 8
%cQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cR=getelementptr inbounds i8,i8*%cL,i64 8
%cS=bitcast i8*%cR to i8**
store i8*%cQ,i8**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cL,i64 16
%cU=bitcast i8*%cT to i32*
store i32 3,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
%cY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cZ=bitcast i8*%cV to i8**
store i8*%cY,i8**%cZ,align 8
%c0=load i8*,i8**%c,align 8
%c1=getelementptr inbounds i8,i8*%cV,i64 8
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cV,i64 16
%c4=bitcast i8*%c3 to i32*
store i32 3,i32*%c4,align 4
store i8*%cV,i8**%c,align 8
br label%ab
c5:
%c6=getelementptr inbounds i8,i8*%x,i64 8
%c7=bitcast i8*%c6 to i8**
%c8=load i8*,i8**%c7,align 8
%c9=icmp eq i8*%c8,null
br i1%c9,label%da,label%de
da:
%db=getelementptr inbounds i8,i8*%s,i64 8
%dc=bitcast i8*%db to i8**
%dd=load i8*,i8**%dc,align 8
store i8*%dd,i8**%c,align 8
br label%ab
de:
%df=bitcast i8*%c8 to i8**
%dg=load i8*,i8**%df,align 8
store i8*%dg,i8**%d,align 8
%dh=getelementptr inbounds i8,i8*%c8,i64 8
%di=bitcast i8*%dh to i8**
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%e,align 8
%dk=getelementptr inbounds i8,i8*%s,i64 8
%dl=bitcast i8*%dk to i8**
%dm=load i8*,i8**%dl,align 8
store i8*%dm,i8**%c,align 8
%dn=call i8*@sml_alloc(i32 inreg 20)#0
%do=getelementptr inbounds i8,i8*%dn,i64 -4
%dp=bitcast i8*%do to i32*
store i32 1342177296,i32*%dp,align 4
store i8*%dn,i8**%f,align 8
%dq=getelementptr inbounds i8,i8*%dn,i64 4
%dr=bitcast i8*%dq to i32*
store i32 0,i32*%dr,align 1
%ds=bitcast i8*%dn to i32*
store i32 1,i32*%ds,align 4
%dt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%du=getelementptr inbounds i8,i8*%dn,i64 8
%dv=bitcast i8*%du to i8**
store i8*%dt,i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dn,i64 16
%dx=bitcast i8*%dw to i32*
store i32 2,i32*%dx,align 4
%dy=call i8*@sml_alloc(i32 inreg 20)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32 1342177296,i32*%dA,align 4
%dB=load i8*,i8**%f,align 8
%dC=bitcast i8*%dy to i8**
store i8*%dB,i8**%dC,align 8
%dD=load i8*,i8**%c,align 8
%dE=getelementptr inbounds i8,i8*%dy,i64 8
%dF=bitcast i8*%dE to i8**
store i8*%dD,i8**%dF,align 8
%dG=getelementptr inbounds i8,i8*%dy,i64 16
%dH=bitcast i8*%dG to i32*
store i32 3,i32*%dH,align 4
%dI=load i8*,i8**%d,align 8
%dJ=tail call fastcc i32@_SMLLLN6TCSize8sizeDeclE_153(i32 inreg%k,i8*inreg%dI,i8*inreg%dy)
ret i32%dJ
dK:
%dL=getelementptr inbounds i8,i8*%x,i64 8
%dM=bitcast i8*%dL to i8**
%dN=load i8*,i8**%dM,align 8
%dO=icmp eq i8*%dN,null
br i1%dO,label%dP,label%dT
dP:
%dQ=getelementptr inbounds i8,i8*%s,i64 8
%dR=bitcast i8*%dQ to i8**
%dS=load i8*,i8**%dR,align 8
store i8*%dS,i8**%c,align 8
br label%ab
dT:
%dU=bitcast i8*%dN to i8**
%dV=load i8*,i8**%dU,align 8
store i8*%dV,i8**%d,align 8
%dW=getelementptr inbounds i8,i8*%dN,i64 8
%dX=bitcast i8*%dW to i8**
%dY=load i8*,i8**%dX,align 8
store i8*%dY,i8**%e,align 8
%dZ=getelementptr inbounds i8,i8*%s,i64 8
%d0=bitcast i8*%dZ to i8**
%d1=load i8*,i8**%d0,align 8
store i8*%d1,i8**%c,align 8
%d2=call i8*@sml_alloc(i32 inreg 20)#0
%d3=getelementptr inbounds i8,i8*%d2,i64 -4
%d4=bitcast i8*%d3 to i32*
store i32 1342177296,i32*%d4,align 4
store i8*%d2,i8**%f,align 8
%d5=getelementptr inbounds i8,i8*%d2,i64 4
%d6=bitcast i8*%d5 to i32*
store i32 0,i32*%d6,align 1
%d7=bitcast i8*%d2 to i32*
store i32 3,i32*%d7,align 4
%d8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d9=getelementptr inbounds i8,i8*%d2,i64 8
%ea=bitcast i8*%d9 to i8**
store i8*%d8,i8**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d2,i64 16
%ec=bitcast i8*%eb to i32*
store i32 2,i32*%ec,align 4
%ed=call i8*@sml_alloc(i32 inreg 20)#0
%ee=getelementptr inbounds i8,i8*%ed,i64 -4
%ef=bitcast i8*%ee to i32*
store i32 1342177296,i32*%ef,align 4
%eg=load i8*,i8**%f,align 8
%eh=bitcast i8*%ed to i8**
store i8*%eg,i8**%eh,align 8
%ei=load i8*,i8**%c,align 8
%ej=getelementptr inbounds i8,i8*%ed,i64 8
%ek=bitcast i8*%ej to i8**
store i8*%ei,i8**%ek,align 8
%el=getelementptr inbounds i8,i8*%ed,i64 16
%em=bitcast i8*%el to i32*
store i32 3,i32*%em,align 4
%en=load i8*,i8**%d,align 8
%eo=tail call fastcc i32@_SMLLLN6TCSize7sizePatE_152(i32 inreg%k,i8*inreg%en,i8*inreg%ed)
ret i32%eo
ep:
%eq=getelementptr inbounds i8,i8*%x,i64 8
%er=bitcast i8*%eq to i8**
%es=load i8*,i8**%er,align 8
%et=icmp eq i8*%es,null
br i1%et,label%eu,label%ey
eu:
%ev=getelementptr inbounds i8,i8*%s,i64 8
%ew=bitcast i8*%ev to i8**
%ex=load i8*,i8**%ew,align 8
store i8*%ex,i8**%c,align 8
br label%ab
ey:
%ez=bitcast i8*%es to i8**
%eA=load i8*,i8**%ez,align 8
store i8*%eA,i8**%d,align 8
%eB=getelementptr inbounds i8,i8*%es,i64 8
%eC=bitcast i8*%eB to i8**
%eD=load i8*,i8**%eC,align 8
store i8*%eD,i8**%e,align 8
%eE=getelementptr inbounds i8,i8*%s,i64 8
%eF=bitcast i8*%eE to i8**
%eG=load i8*,i8**%eF,align 8
store i8*%eG,i8**%c,align 8
%eH=call i8*@sml_alloc(i32 inreg 20)#0
%eI=getelementptr inbounds i8,i8*%eH,i64 -4
%eJ=bitcast i8*%eI to i32*
store i32 1342177296,i32*%eJ,align 4
store i8*%eH,i8**%f,align 8
%eK=getelementptr inbounds i8,i8*%eH,i64 4
%eL=bitcast i8*%eK to i32*
store i32 0,i32*%eL,align 1
%eM=bitcast i8*%eH to i32*
store i32 2,i32*%eM,align 4
%eN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eO=getelementptr inbounds i8,i8*%eH,i64 8
%eP=bitcast i8*%eO to i8**
store i8*%eN,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eH,i64 16
%eR=bitcast i8*%eQ to i32*
store i32 2,i32*%eR,align 4
%eS=call i8*@sml_alloc(i32 inreg 20)#0
%eT=getelementptr inbounds i8,i8*%eS,i64 -4
%eU=bitcast i8*%eT to i32*
store i32 1342177296,i32*%eU,align 4
%eV=load i8*,i8**%f,align 8
%eW=bitcast i8*%eS to i8**
store i8*%eV,i8**%eW,align 8
%eX=load i8*,i8**%c,align 8
%eY=getelementptr inbounds i8,i8*%eS,i64 8
%eZ=bitcast i8*%eY to i8**
store i8*%eX,i8**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eS,i64 16
%e1=bitcast i8*%e0 to i32*
store i32 3,i32*%e1,align 4
%e2=load i8*,i8**%d,align 8
%e3=tail call fastcc i32@_SMLLLN6TCSize7sizeExpE_151(i32 inreg%k,i8*inreg%e2,i8*inreg%eS)
ret i32%e3
}
define internal fastcc i32@_SMLLLN6TCSize7sizeExpE_151(i32 inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
k:
%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**%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*%c,i8**%d,align 8
store i8*%b,i8**%e,align 8
br label%i
i:
%j=phi i32[%a,%k],[%an,%am]
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%o,label%n
n:
call void@sml_check(i32 inreg%l)
br label%o
o:
%p=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2),align 8
%q=icmp eq i8*%p,null
br i1%q,label%C,label%r
r:
%s=bitcast i8*%p to i32*
%t=load i32,i32*%s,align 4
%u=icmp sgt i32%j,%t
br i1%u,label%v,label%C
v:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%w=call i8*@sml_alloc(i32 inreg 60)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177336,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 56
%A=bitcast i8*%z to i32*
store i32 1,i32*%A,align 4
%B=bitcast i8*%w to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@l,i64 0,i32 2)to i8*),i8**%B,align 8
call void@sml_raise(i8*inreg%w)#1
unreachable
C:
%D=load i8*,i8**%e,align 8
%E=icmp eq i8*%D,null
br i1%E,label%kY,label%F
F:
%G=bitcast i8*%D to i32*
%H=load i32,i32*%G,align 4
switch i32%H,label%I[
i32 0,label%qi
i32 2,label%pq
i32 37,label%nk
i32 3,label%nd
i32 5,label%mU
i32 6,label%mG
i32 8,label%lR
i32 9,label%k2
i32 14,label%kY
i32 16,label%kK
i32 17,label%kG
i32 15,label%kC
i32 18,label%ky
i32 19,label%jX
i32 22,label%jT
i32 21,label%jd
i32 1,label%iR
i32 20,label%iv
i32 23,label%hj
i32 4,label%gt
i32 39,label%f1
i32 25,label%e1
i32 26,label%ec
i32 27,label%de
i32 28,label%c8
i32 29,label%cM
i32 30,label%cG
i32 31,label%cA
i32 32,label%cw
i32 33,label%bW
i32 35,label%bQ
i32 36,label%bM
i32 38,label%bG
i32 40,label%bC
i32 24,label%aM
i32 7,label%aE
i32 10,label%aw
i32 11,label%as
i32 12,label%ao
i32 13,label%ae
i32 34,label%aa
]
I:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%J=load i8*,i8**@_SMLZ5Match,align 8
store i8*%J,i8**%d,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
store i8*%K,i8**%e,align 8
%N=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@i,i64 0,i32 2,i64 0),i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 60)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177336,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%T,i64 56
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%e,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
call void@sml_raise(i8*inreg%T)#1
unreachable
aa:
%ab=add nsw i32%j,1
%ac=load i8*,i8**%d,align 8
%ad=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%ab,i8*inreg%ac)
ret i32%ad
ae:
%af=getelementptr inbounds i8,i8*%D,i64 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=getelementptr inbounds i8,i8*%ah,i64 16
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=add nsw i32%j,1
store i8*%ak,i8**%e,align 8
br label%am
am:
%an=phi i32[%al,%ae],[%aD,%aw],[%aL,%aE],[%bL,%bG],[%bV,%bQ],[%cF,%cA],[%cL,%cG],[%c6,%cM],[%dd,%c8],[%iP,%iv],[%jb,%iR],[%kx,%ks],[%kX,%kU],[%mT,%mQ],[%nj,%nd]
br label%i
ao:
%ap=add nsw i32%j,1
%aq=load i8*,i8**%d,align 8
%ar=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%ap,i8*inreg%aq)
ret i32%ar
as:
%at=add nsw i32%j,1
%au=load i8*,i8**%d,align 8
%av=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%at,i8*inreg%au)
ret i32%av
aw:
%ax=getelementptr inbounds i8,i8*%D,i64 8
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=add nsw i32%j,1
store i8*%aC,i8**%e,align 8
br label%am
aE:
%aF=getelementptr inbounds i8,i8*%D,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=add nsw i32%j,1
store i8*%aK,i8**%e,align 8
br label%am
aM:
%aN=getelementptr inbounds i8,i8*%D,i64 8
%aO=bitcast i8*%aN to i8***
%aP=load i8**,i8***%aO,align 8
%aQ=load i8*,i8**%aP,align 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%e,align 8
%aT=getelementptr inbounds i8,i8*%aQ,i64 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%f,align 8
%aW=add nsw i32%j,1
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177296,i32*%aZ,align 4
store i8*%aX,i8**%g,align 8
%a0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*null,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 16
%a5=bitcast i8*%a4 to i32*
store i32 3,i32*%a5,align 4
%a6=call i8*@sml_alloc(i32 inreg 20)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177296,i32*%a8,align 4
store i8*%a6,i8**%f,align 8
%a9=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bc=getelementptr inbounds i8,i8*%a6,i64 8
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a6,i64 16
%bf=bitcast i8*%be to i32*
store i32 3,i32*%bf,align 4
%bg=call i8*@sml_alloc(i32 inreg 20)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177296,i32*%bi,align 4
store i8*%bg,i8**%e,align 8
%bj=getelementptr inbounds i8,i8*%bg,i64 4
%bk=bitcast i8*%bj to i32*
store i32 0,i32*%bk,align 1
%bl=bitcast i8*%bg to i32*
store i32 2,i32*%bl,align 4
%bm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bn=getelementptr inbounds i8,i8*%bg,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bg,i64 16
%bq=bitcast i8*%bp to i32*
store i32 2,i32*%bq,align 4
%br=call i8*@sml_alloc(i32 inreg 20)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177296,i32*%bt,align 4
%bu=load i8*,i8**%e,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=load i8*,i8**%d,align 8
%bx=getelementptr inbounds i8,i8*%br,i64 8
%by=bitcast i8*%bx to i8**
store i8*%bw,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%br,i64 16
%bA=bitcast i8*%bz to i32*
store i32 3,i32*%bA,align 4
%bB=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%aW,i8*inreg%br)
ret i32%bB
bC:
%bD=add nsw i32%j,1
%bE=load i8*,i8**%d,align 8
%bF=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%bD,i8*inreg%bE)
ret i32%bF
bG:
store i8*null,i8**%e,align 8
%bH=getelementptr inbounds i8,i8*%D,i64 8
%bI=bitcast i8*%bH to i8***
%bJ=load i8**,i8***%bI,align 8
%bK=load i8*,i8**%bJ,align 8
%bL=add nsw i32%j,1
store i8*%bK,i8**%e,align 8
br label%am
bM:
%bN=add nsw i32%j,1
%bO=load i8*,i8**%d,align 8
%bP=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%bN,i8*inreg%bO)
ret i32%bP
bQ:
store i8*null,i8**%e,align 8
%bR=getelementptr inbounds i8,i8*%D,i64 8
%bS=bitcast i8*%bR to i8***
%bT=load i8**,i8***%bS,align 8
%bU=load i8*,i8**%bT,align 8
%bV=add nsw i32%j,1
store i8*%bU,i8**%e,align 8
br label%am
bW:
%bX=getelementptr inbounds i8,i8*%D,i64 8
%bY=bitcast i8*%bX to i8***
%bZ=load i8**,i8***%bY,align 8
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%e,align 8
%b1=add nsw i32%j,1
%b2=call fastcc i8*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg 1,i32 inreg 8)
%b3=getelementptr inbounds i8,i8*%b2,i64 16
%b4=bitcast i8*%b3 to i8*(i8*,i8*)**
%b5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b4,align 8
%b6=bitcast i8*%b2 to i8**
%b7=load i8*,i8**%b6,align 8
%b8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b9=call fastcc i8*%b5(i8*inreg%b7,i8*inreg%b8)
store i8*%b9,i8**%e,align 8
%ca=call i8*@sml_alloc(i32 inreg 20)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177296,i32*%cc,align 4
store i8*%ca,i8**%f,align 8
%cd=getelementptr inbounds i8,i8*%ca,i64 4
%ce=bitcast i8*%cd to i32*
store i32 0,i32*%ce,align 1
%cf=bitcast i8*%ca to i32*
store i32 2,i32*%cf,align 4
%cg=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ch=getelementptr inbounds i8,i8*%ca,i64 8
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ca,i64 16
%ck=bitcast i8*%cj to i32*
store i32 2,i32*%ck,align 4
%cl=call 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
%co=load i8*,i8**%f,align 8
%cp=bitcast i8*%cl to i8**
store i8*%co,i8**%cp,align 8
%cq=load i8*,i8**%d,align 8
%cr=getelementptr inbounds i8,i8*%cl,i64 8
%cs=bitcast i8*%cr to i8**
store i8*%cq,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%cl,i64 16
%cu=bitcast i8*%ct to i32*
store i32 3,i32*%cu,align 4
%cv=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%b1,i8*inreg%cl)
ret i32%cv
cw:
%cx=add nsw i32%j,1
%cy=load i8*,i8**%d,align 8
%cz=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%cx,i8*inreg%cy)
ret i32%cz
cA:
store i8*null,i8**%e,align 8
%cB=getelementptr inbounds i8,i8*%D,i64 8
%cC=bitcast i8*%cB to i8***
%cD=load i8**,i8***%cC,align 8
%cE=load i8*,i8**%cD,align 8
%cF=add nsw i32%j,1
store i8*%cE,i8**%e,align 8
br label%am
cG:
store i8*null,i8**%e,align 8
%cH=getelementptr inbounds i8,i8*%D,i64 8
%cI=bitcast i8*%cH to i8***
%cJ=load i8**,i8***%cI,align 8
%cK=load i8*,i8**%cJ,align 8
%cL=add nsw i32%j,1
store i8*%cK,i8**%e,align 8
br label%am
cM:
%cN=getelementptr inbounds i8,i8*%D,i64 8
%cO=bitcast i8*%cN to i8**
%cP=load i8*,i8**%cO,align 8
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
store i8*%cR,i8**%e,align 8
%cS=getelementptr inbounds i8,i8*%cP,i64 16
%cT=bitcast i8*%cS to i8**
%cU=load i8*,i8**%cT,align 8
store i8*%cU,i8**%f,align 8
%cV=add nsw i32%j,1
%cW=call fastcc i8*@_SMLFN14BoundTypeVarID3Map8numItemsE(i32 inreg 1,i32 inreg 8)
%cX=getelementptr inbounds i8,i8*%cW,i64 16
%cY=bitcast i8*%cX to i8*(i8*,i8*)**
%cZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cY,align 8
%c0=bitcast i8*%cW to i8**
%c1=load i8*,i8**%c0,align 8
%c2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c3=call fastcc i8*%cZ(i8*inreg%c1,i8*inreg%c2)
%c4=bitcast i8*%c3 to i32*
%c5=load i32,i32*%c4,align 4
%c6=add nsw i32%cV,%c5
%c7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
store i8*%c7,i8**%e,align 8
br label%am
c8:
store i8*null,i8**%e,align 8
%c9=getelementptr inbounds i8,i8*%D,i64 8
%da=bitcast i8*%c9 to i8***
%db=load i8**,i8***%da,align 8
%dc=load i8*,i8**%db,align 8
%dd=add nsw i32%j,1
store i8*%dc,i8**%e,align 8
br label%am
de:
%df=getelementptr inbounds i8,i8*%D,i64 8
%dg=bitcast i8*%df to i8**
%dh=load i8*,i8**%dg,align 8
%di=bitcast i8*%dh to i8**
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%e,align 8
%dk=getelementptr inbounds i8,i8*%dh,i64 8
%dl=bitcast i8*%dk to i8**
%dm=load i8*,i8**%dl,align 8
store i8*%dm,i8**%f,align 8
%dn=add nsw i32%j,1
%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**%g,align 8
%dr=bitcast i8*%do to i64*
store i64 0,i64*%dr,align 4
%ds=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%e,align 8
%dA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dB=bitcast i8*%dx to i8**
store i8*%dA,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%dx,i64 8
%dD=bitcast i8*%dC to i8**
store i8*null,i8**%dD,align 8
%dE=getelementptr inbounds i8,i8*%dx,i64 16
%dF=bitcast i8*%dE to i32*
store i32 3,i32*%dF,align 4
%dG=call i8*@sml_alloc(i32 inreg 20)#0
%dH=getelementptr inbounds i8,i8*%dG,i64 -4
%dI=bitcast i8*%dH to i32*
store i32 1342177296,i32*%dI,align 4
store i8*%dG,i8**%f,align 8
%dJ=getelementptr inbounds i8,i8*%dG,i64 4
%dK=bitcast i8*%dJ to i32*
store i32 0,i32*%dK,align 1
%dL=bitcast i8*%dG to i32*
store i32 2,i32*%dL,align 4
%dM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dN=getelementptr inbounds i8,i8*%dG,i64 8
%dO=bitcast i8*%dN to i8**
store i8*%dM,i8**%dO,align 8
%dP=getelementptr inbounds i8,i8*%dG,i64 16
%dQ=bitcast i8*%dP to i32*
store i32 2,i32*%dQ,align 4
%dR=call i8*@sml_alloc(i32 inreg 20)#0
%dS=getelementptr inbounds i8,i8*%dR,i64 -4
%dT=bitcast i8*%dS to i32*
store i32 1342177296,i32*%dT,align 4
store i8*%dR,i8**%e,align 8
%dU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dV=bitcast i8*%dR to i8**
store i8*%dU,i8**%dV,align 8
%dW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dX=getelementptr inbounds i8,i8*%dR,i64 8
%dY=bitcast i8*%dX to i8**
store i8*%dW,i8**%dY,align 8
%dZ=getelementptr inbounds i8,i8*%dR,i64 16
%d0=bitcast i8*%dZ to i32*
store i32 3,i32*%d0,align 4
%d1=call i8*@sml_alloc(i32 inreg 20)#0
%d2=getelementptr inbounds i8,i8*%d1,i64 -4
%d3=bitcast i8*%d2 to i32*
store i32 1342177296,i32*%d3,align 4
%d4=load i8*,i8**%g,align 8
%d5=bitcast i8*%d1 to i8**
store i8*%d4,i8**%d5,align 8
%d6=load i8*,i8**%e,align 8
%d7=getelementptr inbounds i8,i8*%d1,i64 8
%d8=bitcast i8*%d7 to i8**
store i8*%d6,i8**%d8,align 8
%d9=getelementptr inbounds i8,i8*%d1,i64 16
%ea=bitcast i8*%d9 to i32*
store i32 3,i32*%ea,align 4
%eb=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%dn,i8*inreg%d1)
ret i32%eb
ec:
%ed=getelementptr inbounds i8,i8*%D,i64 8
%ee=bitcast i8*%ed to i8**
%ef=load i8*,i8**%ee,align 8
%eg=bitcast i8*%ef to i8**
%eh=load i8*,i8**%eg,align 8
store i8*%eh,i8**%e,align 8
%ei=getelementptr inbounds i8,i8*%ef,i64 32
%ej=bitcast i8*%ei to i8**
%ek=load i8*,i8**%ej,align 8
store i8*%ek,i8**%f,align 8
%el=add nsw i32%j,1
%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**%g,align 8
%ep=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eq=bitcast i8*%em to i8**
store i8*%ep,i8**%eq,align 8
%er=getelementptr inbounds i8,i8*%em,i64 8
%es=bitcast i8*%er to i8**
store i8*null,i8**%es,align 8
%et=getelementptr inbounds i8,i8*%em,i64 16
%eu=bitcast i8*%et to i32*
store i32 3,i32*%eu,align 4
%ev=call i8*@sml_alloc(i32 inreg 20)#0
%ew=getelementptr inbounds i8,i8*%ev,i64 -4
%ex=bitcast i8*%ew to i32*
store i32 1342177296,i32*%ex,align 4
store i8*%ev,i8**%f,align 8
%ey=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ez=bitcast i8*%ev to i8**
store i8*%ey,i8**%ez,align 8
%eA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eB=getelementptr inbounds i8,i8*%ev,i64 8
%eC=bitcast i8*%eB to i8**
store i8*%eA,i8**%eC,align 8
%eD=getelementptr inbounds i8,i8*%ev,i64 16
%eE=bitcast i8*%eD to i32*
store i32 3,i32*%eE,align 4
%eF=call i8*@sml_alloc(i32 inreg 20)#0
%eG=getelementptr inbounds i8,i8*%eF,i64 -4
%eH=bitcast i8*%eG to i32*
store i32 1342177296,i32*%eH,align 4
store i8*%eF,i8**%e,align 8
%eI=getelementptr inbounds i8,i8*%eF,i64 4
%eJ=bitcast i8*%eI to i32*
store i32 0,i32*%eJ,align 1
%eK=bitcast i8*%eF to i32*
store i32 2,i32*%eK,align 4
%eL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eM=getelementptr inbounds i8,i8*%eF,i64 8
%eN=bitcast i8*%eM to i8**
store i8*%eL,i8**%eN,align 8
%eO=getelementptr inbounds i8,i8*%eF,i64 16
%eP=bitcast i8*%eO to i32*
store i32 2,i32*%eP,align 4
%eQ=call i8*@sml_alloc(i32 inreg 20)#0
%eR=getelementptr inbounds i8,i8*%eQ,i64 -4
%eS=bitcast i8*%eR to i32*
store i32 1342177296,i32*%eS,align 4
%eT=load i8*,i8**%e,align 8
%eU=bitcast i8*%eQ to i8**
store i8*%eT,i8**%eU,align 8
%eV=load i8*,i8**%d,align 8
%eW=getelementptr inbounds i8,i8*%eQ,i64 8
%eX=bitcast i8*%eW to i8**
store i8*%eV,i8**%eX,align 8
%eY=getelementptr inbounds i8,i8*%eQ,i64 16
%eZ=bitcast i8*%eY to i32*
store i32 3,i32*%eZ,align 4
%e0=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%el,i8*inreg%eQ)
ret i32%e0
e1:
%e2=getelementptr inbounds i8,i8*%D,i64 8
%e3=bitcast i8*%e2 to i8**
%e4=load i8*,i8**%e3,align 8
%e5=bitcast i8*%e4 to i8**
%e6=load i8*,i8**%e5,align 8
store i8*%e6,i8**%e,align 8
%e7=getelementptr inbounds i8,i8*%e4,i64 8
%e8=bitcast i8*%e7 to i8**
%e9=load i8*,i8**%e8,align 8
store i8*%e9,i8**%f,align 8
%fa=add nsw i32%j,1
%fb=call i8*@sml_alloc(i32 inreg 20)#0
%fc=getelementptr inbounds i8,i8*%fb,i64 -4
%fd=bitcast i8*%fc to i32*
store i32 1342177296,i32*%fd,align 4
store i8*%fb,i8**%g,align 8
%fe=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ff=bitcast i8*%fb to i8**
store i8*%fe,i8**%ff,align 8
%fg=getelementptr inbounds i8,i8*%fb,i64 8
%fh=bitcast i8*%fg to i8**
store i8*null,i8**%fh,align 8
%fi=getelementptr inbounds i8,i8*%fb,i64 16
%fj=bitcast i8*%fi to i32*
store i32 3,i32*%fj,align 4
%fk=call i8*@sml_alloc(i32 inreg 20)#0
%fl=getelementptr inbounds i8,i8*%fk,i64 -4
%fm=bitcast i8*%fl to i32*
store i32 1342177296,i32*%fm,align 4
store i8*%fk,i8**%e,align 8
%fn=getelementptr inbounds i8,i8*%fk,i64 4
%fo=bitcast i8*%fn to i32*
store i32 0,i32*%fo,align 1
%fp=bitcast i8*%fk to i32*
store i32 2,i32*%fp,align 4
%fq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fr=getelementptr inbounds i8,i8*%fk,i64 8
%fs=bitcast i8*%fr to i8**
store i8*%fq,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%fk,i64 16
%fu=bitcast i8*%ft to i32*
store i32 2,i32*%fu,align 4
%fv=call i8*@sml_alloc(i32 inreg 20)#0
%fw=getelementptr inbounds i8,i8*%fv,i64 -4
%fx=bitcast i8*%fw to i32*
store i32 1342177296,i32*%fx,align 4
store i8*%fv,i8**%g,align 8
%fy=getelementptr inbounds i8,i8*%fv,i64 4
%fz=bitcast i8*%fy to i32*
store i32 0,i32*%fz,align 1
%fA=bitcast i8*%fv to i32*
store i32 1,i32*%fA,align 4
%fB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fC=getelementptr inbounds i8,i8*%fv,i64 8
%fD=bitcast i8*%fC to i8**
store i8*%fB,i8**%fD,align 8
%fE=getelementptr inbounds i8,i8*%fv,i64 16
%fF=bitcast i8*%fE to i32*
store i32 2,i32*%fF,align 4
%fG=call i8*@sml_alloc(i32 inreg 20)#0
%fH=getelementptr inbounds i8,i8*%fG,i64 -4
%fI=bitcast i8*%fH to i32*
store i32 1342177296,i32*%fI,align 4
store i8*%fG,i8**%f,align 8
%fJ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fK=bitcast i8*%fG to i8**
store i8*%fJ,i8**%fK,align 8
%fL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fM=getelementptr inbounds i8,i8*%fG,i64 8
%fN=bitcast i8*%fM to i8**
store i8*%fL,i8**%fN,align 8
%fO=getelementptr inbounds i8,i8*%fG,i64 16
%fP=bitcast i8*%fO to i32*
store i32 3,i32*%fP,align 4
%fQ=call i8*@sml_alloc(i32 inreg 20)#0
%fR=getelementptr inbounds i8,i8*%fQ,i64 -4
%fS=bitcast i8*%fR to i32*
store i32 1342177296,i32*%fS,align 4
%fT=load i8*,i8**%e,align 8
%fU=bitcast i8*%fQ to i8**
store i8*%fT,i8**%fU,align 8
%fV=load i8*,i8**%f,align 8
%fW=getelementptr inbounds i8,i8*%fQ,i64 8
%fX=bitcast i8*%fW to i8**
store i8*%fV,i8**%fX,align 8
%fY=getelementptr inbounds i8,i8*%fQ,i64 16
%fZ=bitcast i8*%fY to i32*
store i32 3,i32*%fZ,align 4
%f0=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%fa,i8*inreg%fQ)
ret i32%f0
f1:
%f2=getelementptr inbounds i8,i8*%D,i64 8
%f3=bitcast i8*%f2 to i8***
%f4=load i8**,i8***%f3,align 8
%f5=load i8*,i8**%f4,align 8
store i8*%f5,i8**%e,align 8
%f6=add nsw i32%j,1
%f7=call i8*@sml_alloc(i32 inreg 20)#0
%f8=getelementptr inbounds i8,i8*%f7,i64 -4
%f9=bitcast i8*%f8 to i32*
store i32 1342177296,i32*%f9,align 4
store i8*%f7,i8**%f,align 8
%ga=getelementptr inbounds i8,i8*%f7,i64 4
%gb=bitcast i8*%ga to i32*
store i32 0,i32*%gb,align 1
%gc=bitcast i8*%f7 to i32*
store i32 2,i32*%gc,align 4
%gd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ge=getelementptr inbounds i8,i8*%f7,i64 8
%gf=bitcast i8*%ge to i8**
store i8*%gd,i8**%gf,align 8
%gg=getelementptr inbounds i8,i8*%f7,i64 16
%gh=bitcast i8*%gg to i32*
store i32 2,i32*%gh,align 4
%gi=call i8*@sml_alloc(i32 inreg 20)#0
%gj=getelementptr inbounds i8,i8*%gi,i64 -4
%gk=bitcast i8*%gj to i32*
store i32 1342177296,i32*%gk,align 4
%gl=load i8*,i8**%f,align 8
%gm=bitcast i8*%gi to i8**
store i8*%gl,i8**%gm,align 8
%gn=load i8*,i8**%d,align 8
%go=getelementptr inbounds i8,i8*%gi,i64 8
%gp=bitcast i8*%go to i8**
store i8*%gn,i8**%gp,align 8
%gq=getelementptr inbounds i8,i8*%gi,i64 16
%gr=bitcast i8*%gq to i32*
store i32 3,i32*%gr,align 4
%gs=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%f6,i8*inreg%gi)
ret i32%gs
gt:
%gu=getelementptr inbounds i8,i8*%D,i64 8
%gv=bitcast i8*%gu to i8**
%gw=load i8*,i8**%gv,align 8
%gx=getelementptr inbounds i8,i8*%gw,i64 8
%gy=bitcast i8*%gx to i8**
%gz=load i8*,i8**%gy,align 8
store i8*%gz,i8**%e,align 8
%gA=getelementptr inbounds i8,i8*%gw,i64 40
%gB=bitcast i8*%gA to i8**
%gC=load i8*,i8**%gB,align 8
store i8*%gC,i8**%f,align 8
%gD=add nsw i32%j,1
%gE=call i8*@sml_alloc(i32 inreg 20)#0
%gF=getelementptr inbounds i8,i8*%gE,i64 -4
%gG=bitcast i8*%gF to i32*
store i32 1342177296,i32*%gG,align 4
store i8*%gE,i8**%g,align 8
%gH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gI=bitcast i8*%gE to i8**
store i8*%gH,i8**%gI,align 8
%gJ=getelementptr inbounds i8,i8*%gE,i64 8
%gK=bitcast i8*%gJ to i8**
store i8*null,i8**%gK,align 8
%gL=getelementptr inbounds i8,i8*%gE,i64 16
%gM=bitcast i8*%gL to i32*
store i32 3,i32*%gM,align 4
%gN=call i8*@sml_alloc(i32 inreg 20)#0
%gO=getelementptr inbounds i8,i8*%gN,i64 -4
%gP=bitcast i8*%gO to i32*
store i32 1342177296,i32*%gP,align 4
store i8*%gN,i8**%e,align 8
%gQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gR=bitcast i8*%gN to i8**
store i8*%gQ,i8**%gR,align 8
%gS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gT=getelementptr inbounds i8,i8*%gN,i64 8
%gU=bitcast i8*%gT to i8**
store i8*%gS,i8**%gU,align 8
%gV=getelementptr inbounds i8,i8*%gN,i64 16
%gW=bitcast i8*%gV to i32*
store i32 3,i32*%gW,align 4
%gX=call i8*@sml_alloc(i32 inreg 20)#0
%gY=getelementptr inbounds i8,i8*%gX,i64 -4
%gZ=bitcast i8*%gY to i32*
store i32 1342177296,i32*%gZ,align 4
store i8*%gX,i8**%f,align 8
%g0=getelementptr inbounds i8,i8*%gX,i64 4
%g1=bitcast i8*%g0 to i32*
store i32 0,i32*%g1,align 1
%g2=bitcast i8*%gX to i32*
store i32 2,i32*%g2,align 4
%g3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%g4=getelementptr inbounds i8,i8*%gX,i64 8
%g5=bitcast i8*%g4 to i8**
store i8*%g3,i8**%g5,align 8
%g6=getelementptr inbounds i8,i8*%gX,i64 16
%g7=bitcast i8*%g6 to i32*
store i32 2,i32*%g7,align 4
%g8=call i8*@sml_alloc(i32 inreg 20)#0
%g9=getelementptr inbounds i8,i8*%g8,i64 -4
%ha=bitcast i8*%g9 to i32*
store i32 1342177296,i32*%ha,align 4
%hb=load i8*,i8**%f,align 8
%hc=bitcast i8*%g8 to i8**
store i8*%hb,i8**%hc,align 8
%hd=load i8*,i8**%d,align 8
%he=getelementptr inbounds i8,i8*%g8,i64 8
%hf=bitcast i8*%he to i8**
store i8*%hd,i8**%hf,align 8
%hg=getelementptr inbounds i8,i8*%g8,i64 16
%hh=bitcast i8*%hg to i32*
store i32 3,i32*%hh,align 4
%hi=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%gD,i8*inreg%g8)
ret i32%hi
hj:
%hk=getelementptr inbounds i8,i8*%D,i64 8
%hl=bitcast i8*%hk to i8**
%hm=load i8*,i8**%hl,align 8
%hn=bitcast i8*%hm to i8**
%ho=load i8*,i8**%hn,align 8
store i8*%ho,i8**%e,align 8
%hp=getelementptr inbounds i8,i8*%hm,i64 8
%hq=bitcast i8*%hp to i8**
%hr=load i8*,i8**%hq,align 8
store i8*%hr,i8**%f,align 8
%hs=getelementptr inbounds i8,i8*%hm,i64 16
%ht=bitcast i8*%hs to i8**
%hu=load i8*,i8**%ht,align 8
store i8*%hu,i8**%g,align 8
%hv=add nsw i32%j,1
%hw=call i8*@sml_alloc(i32 inreg 20)#0
%hx=getelementptr inbounds i8,i8*%hw,i64 -4
%hy=bitcast i8*%hx to i32*
store i32 1342177296,i32*%hy,align 4
store i8*%hw,i8**%h,align 8
%hz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hA=bitcast i8*%hw to i8**
store i8*%hz,i8**%hA,align 8
%hB=getelementptr inbounds i8,i8*%hw,i64 8
%hC=bitcast i8*%hB to i8**
store i8*null,i8**%hC,align 8
%hD=getelementptr inbounds i8,i8*%hw,i64 16
%hE=bitcast i8*%hD to i32*
store i32 3,i32*%hE,align 4
%hF=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%hG=getelementptr inbounds i8,i8*%hF,i64 16
%hH=bitcast i8*%hG to i8*(i8*,i8*)**
%hI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hH,align 8
%hJ=bitcast i8*%hF to i8**
%hK=load i8*,i8**%hJ,align 8
%hL=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hM=call fastcc i8*%hI(i8*inreg%hK,i8*inreg%hL)
%hN=bitcast i8*%hM to i32*
%hO=load i32,i32*%hN,align 4
%hP=add nsw i32%hv,%hO
%hQ=call i8*@sml_alloc(i32 inreg 20)#0
%hR=getelementptr inbounds i8,i8*%hQ,i64 -4
%hS=bitcast i8*%hR to i32*
store i32 1342177296,i32*%hS,align 4
store i8*%hQ,i8**%e,align 8
%hT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hU=bitcast i8*%hQ to i8**
store i8*%hT,i8**%hU,align 8
%hV=getelementptr inbounds i8,i8*%hQ,i64 8
%hW=bitcast i8*%hV to i8**
store i8*null,i8**%hW,align 8
%hX=getelementptr inbounds i8,i8*%hQ,i64 16
%hY=bitcast i8*%hX to i32*
store i32 3,i32*%hY,align 4
%hZ=call i8*@sml_alloc(i32 inreg 20)#0
%h0=getelementptr inbounds i8,i8*%hZ,i64 -4
%h1=bitcast i8*%h0 to i32*
store i32 1342177296,i32*%h1,align 4
store i8*%hZ,i8**%g,align 8
%h2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%h3=bitcast i8*%hZ to i8**
store i8*%h2,i8**%h3,align 8
%h4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%h5=getelementptr inbounds i8,i8*%hZ,i64 8
%h6=bitcast i8*%h5 to i8**
store i8*%h4,i8**%h6,align 8
%h7=getelementptr inbounds i8,i8*%hZ,i64 16
%h8=bitcast i8*%h7 to i32*
store i32 3,i32*%h8,align 4
%h9=call i8*@sml_alloc(i32 inreg 20)#0
%ia=getelementptr inbounds i8,i8*%h9,i64 -4
%ib=bitcast i8*%ia to i32*
store i32 1342177296,i32*%ib,align 4
store i8*%h9,i8**%e,align 8
%ic=getelementptr inbounds i8,i8*%h9,i64 4
%id=bitcast i8*%ic to i32*
store i32 0,i32*%id,align 1
%ie=bitcast i8*%h9 to i32*
store i32 2,i32*%ie,align 4
%if=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ig=getelementptr inbounds i8,i8*%h9,i64 8
%ih=bitcast i8*%ig to i8**
store i8*%if,i8**%ih,align 8
%ii=getelementptr inbounds i8,i8*%h9,i64 16
%ij=bitcast i8*%ii to i32*
store i32 2,i32*%ij,align 4
%ik=call i8*@sml_alloc(i32 inreg 20)#0
%il=getelementptr inbounds i8,i8*%ik,i64 -4
%im=bitcast i8*%il to i32*
store i32 1342177296,i32*%im,align 4
%in=load i8*,i8**%e,align 8
%io=bitcast i8*%ik to i8**
store i8*%in,i8**%io,align 8
%ip=load i8*,i8**%d,align 8
%iq=getelementptr inbounds i8,i8*%ik,i64 8
%ir=bitcast i8*%iq to i8**
store i8*%ip,i8**%ir,align 8
%is=getelementptr inbounds i8,i8*%ik,i64 16
%it=bitcast i8*%is to i32*
store i32 3,i32*%it,align 4
%iu=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%hP,i8*inreg%ik)
ret i32%iu
iv:
%iw=getelementptr inbounds i8,i8*%D,i64 8
%ix=bitcast i8*%iw to i8**
%iy=load i8*,i8**%ix,align 8
%iz=bitcast i8*%iy to i8**
%iA=load i8*,i8**%iz,align 8
store i8*%iA,i8**%e,align 8
%iB=getelementptr inbounds i8,i8*%iy,i64 8
%iC=bitcast i8*%iB to i8**
%iD=load i8*,i8**%iC,align 8
store i8*%iD,i8**%f,align 8
%iE=add nsw i32%j,1
%iF=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%iG=getelementptr inbounds i8,i8*%iF,i64 16
%iH=bitcast i8*%iG to i8*(i8*,i8*)**
%iI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iH,align 8
%iJ=bitcast i8*%iF to i8**
%iK=load i8*,i8**%iJ,align 8
%iL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iM=call fastcc i8*%iI(i8*inreg%iK,i8*inreg%iL)
%iN=bitcast i8*%iM to i32*
%iO=load i32,i32*%iN,align 4
%iP=add nsw i32%iE,%iO
%iQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
store i8*%iQ,i8**%e,align 8
br label%am
iR:
%iS=getelementptr inbounds i8,i8*%D,i64 8
%iT=bitcast i8*%iS to i8**
%iU=load i8*,i8**%iT,align 8
%iV=bitcast i8*%iU to i8**
%iW=load i8*,i8**%iV,align 8
store i8*%iW,i8**%e,align 8
%iX=getelementptr inbounds i8,i8*%iU,i64 16
%iY=bitcast i8*%iX to i8**
%iZ=load i8*,i8**%iY,align 8
store i8*%iZ,i8**%f,align 8
%i0=add nsw i32%j,1
%i1=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%i2=getelementptr inbounds i8,i8*%i1,i64 16
%i3=bitcast i8*%i2 to i8*(i8*,i8*)**
%i4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i3,align 8
%i5=bitcast i8*%i1 to i8**
%i6=load i8*,i8**%i5,align 8
%i7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%i8=call fastcc i8*%i4(i8*inreg%i6,i8*inreg%i7)
%i9=bitcast i8*%i8 to i32*
%ja=load i32,i32*%i9,align 4
%jb=add nsw i32%i0,%ja
%jc=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
store i8*%jc,i8**%e,align 8
br label%am
jd:
%je=getelementptr inbounds i8,i8*%D,i64 8
%jf=bitcast i8*%je to i8**
%jg=load i8*,i8**%jf,align 8
%jh=bitcast i8*%jg to i8**
%ji=load i8*,i8**%jh,align 8
store i8*%ji,i8**%e,align 8
%jj=getelementptr inbounds i8,i8*%jg,i64 16
%jk=bitcast i8*%jj to i8**
%jl=load i8*,i8**%jk,align 8
store i8*%jl,i8**%f,align 8
%jm=add nsw i32%j,1
%jn=call i8*@sml_alloc(i32 inreg 20)#0
%jo=getelementptr inbounds i8,i8*%jn,i64 -4
%jp=bitcast i8*%jo to i32*
store i32 1342177296,i32*%jp,align 4
store i8*%jn,i8**%g,align 8
%jq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jr=bitcast i8*%jn to i8**
store i8*%jq,i8**%jr,align 8
%js=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jt=getelementptr inbounds i8,i8*%jn,i64 8
%ju=bitcast i8*%jt to i8**
store i8*%js,i8**%ju,align 8
%jv=getelementptr inbounds i8,i8*%jn,i64 16
%jw=bitcast i8*%jv to i32*
store i32 3,i32*%jw,align 4
%jx=call i8*@sml_alloc(i32 inreg 20)#0
%jy=getelementptr inbounds i8,i8*%jx,i64 -4
%jz=bitcast i8*%jy to i32*
store i32 1342177296,i32*%jz,align 4
store i8*%jx,i8**%e,align 8
%jA=getelementptr inbounds i8,i8*%jx,i64 4
%jB=bitcast i8*%jA to i32*
store i32 0,i32*%jB,align 1
%jC=bitcast i8*%jx to i32*
store i32 2,i32*%jC,align 4
%jD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jE=getelementptr inbounds i8,i8*%jx,i64 8
%jF=bitcast i8*%jE to i8**
store i8*%jD,i8**%jF,align 8
%jG=getelementptr inbounds i8,i8*%jx,i64 16
%jH=bitcast i8*%jG to i32*
store i32 2,i32*%jH,align 4
%jI=call i8*@sml_alloc(i32 inreg 20)#0
%jJ=getelementptr inbounds i8,i8*%jI,i64 -4
%jK=bitcast i8*%jJ to i32*
store i32 1342177296,i32*%jK,align 4
%jL=load i8*,i8**%e,align 8
%jM=bitcast i8*%jI to i8**
store i8*%jL,i8**%jM,align 8
%jN=load i8*,i8**%d,align 8
%jO=getelementptr inbounds i8,i8*%jI,i64 8
%jP=bitcast i8*%jO to i8**
store i8*%jN,i8**%jP,align 8
%jQ=getelementptr inbounds i8,i8*%jI,i64 16
%jR=bitcast i8*%jQ to i32*
store i32 3,i32*%jR,align 4
%jS=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%jm,i8*inreg%jI)
ret i32%jS
jT:
%jU=add nsw i32%j,1
%jV=load i8*,i8**%d,align 8
%jW=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%jU,i8*inreg%jV)
ret i32%jW
jX:
store i8*null,i8**%e,align 8
%jY=getelementptr inbounds i8,i8*%D,i64 8
%jZ=bitcast i8*%jY to i8**
%j0=load i8*,i8**%jZ,align 8
%j1=getelementptr inbounds i8,i8*%j0,i64 8
%j2=bitcast i8*%j1 to i8**
%j3=load i8*,i8**%j2,align 8
%j4=bitcast i8*%j3 to i32*
%j5=load i32,i32*%j4,align 4
switch i32%j5,label%j6[
i32 1,label%ks
i32 0,label%ko
]
j6:
call void@sml_matchcomp_bug()
%j7=load i8*,i8**@_SMLZ5Match,align 8
store i8*%j7,i8**%d,align 8
%j8=call i8*@sml_alloc(i32 inreg 20)#0
%j9=getelementptr inbounds i8,i8*%j8,i64 -4
%ka=bitcast i8*%j9 to i32*
store i32 1342177296,i32*%ka,align 4
store i8*%j8,i8**%e,align 8
%kb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kc=bitcast i8*%j8 to i8**
store i8*%kb,i8**%kc,align 8
%kd=getelementptr inbounds i8,i8*%j8,i64 8
%ke=bitcast i8*%kd to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@i,i64 0,i32 2,i64 0),i8**%ke,align 8
%kf=getelementptr inbounds i8,i8*%j8,i64 16
%kg=bitcast i8*%kf to i32*
store i32 3,i32*%kg,align 4
%kh=call i8*@sml_alloc(i32 inreg 60)#0
%ki=getelementptr inbounds i8,i8*%kh,i64 -4
%kj=bitcast i8*%ki to i32*
store i32 1342177336,i32*%kj,align 4
%kk=getelementptr inbounds i8,i8*%kh,i64 56
%kl=bitcast i8*%kk to i32*
store i32 1,i32*%kl,align 4
%km=load i8*,i8**%e,align 8
%kn=bitcast i8*%kh to i8**
store i8*%km,i8**%kn,align 8
call void@sml_raise(i8*inreg%kh)#1
unreachable
ko:
%kp=add nsw i32%j,1
%kq=load i8*,i8**%d,align 8
%kr=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%kp,i8*inreg%kq)
ret i32%kr
ks:
%kt=getelementptr inbounds i8,i8*%j3,i64 8
%ku=bitcast i8*%kt to i8***
%kv=load i8**,i8***%ku,align 8
%kw=load i8*,i8**%kv,align 8
%kx=add nsw i32%j,1
store i8*%kw,i8**%e,align 8
br label%am
ky:
%kz=add nsw i32%j,1
%kA=load i8*,i8**%d,align 8
%kB=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%kz,i8*inreg%kA)
ret i32%kB
kC:
%kD=add nsw i32%j,1
%kE=load i8*,i8**%d,align 8
%kF=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%kD,i8*inreg%kE)
ret i32%kF
kG:
%kH=add nsw i32%j,1
%kI=load i8*,i8**%d,align 8
%kJ=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%kH,i8*inreg%kI)
ret i32%kJ
kK:
store i8*null,i8**%e,align 8
%kL=getelementptr inbounds i8,i8*%D,i64 8
%kM=bitcast i8*%kL to i8***
%kN=load i8**,i8***%kM,align 8
%kO=load i8*,i8**%kN,align 8
%kP=icmp eq i8*%kO,null
br i1%kP,label%kQ,label%kU
kQ:
%kR=add nsw i32%j,1
%kS=load i8*,i8**%d,align 8
%kT=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%kR,i8*inreg%kS)
ret i32%kT
kU:
%kV=bitcast i8*%kO to i8**
%kW=load i8*,i8**%kV,align 8
%kX=add nsw i32%j,1
store i8*%kW,i8**%e,align 8
br label%am
kY:
%kZ=add nsw i32%j,1
%k0=load i8*,i8**%d,align 8
%k1=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%kZ,i8*inreg%k0)
ret i32%k1
k2:
%k3=getelementptr inbounds i8,i8*%D,i64 8
%k4=bitcast i8*%k3 to i8**
%k5=load i8*,i8**%k4,align 8
%k6=bitcast i8*%k5 to i8**
%k7=load i8*,i8**%k6,align 8
store i8*%k7,i8**%e,align 8
%k8=getelementptr inbounds i8,i8*%k5,i64 8
%k9=bitcast i8*%k8 to i8**
%la=load i8*,i8**%k9,align 8
store i8*%la,i8**%f,align 8
%lb=add nsw i32%j,1
%lc=call i8*@sml_alloc(i32 inreg 20)#0
%ld=getelementptr inbounds i8,i8*%lc,i64 -4
%le=bitcast i8*%ld to i32*
store i32 1342177296,i32*%le,align 4
store i8*%lc,i8**%g,align 8
%lf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lg=bitcast i8*%lc to i8**
store i8*%lf,i8**%lg,align 8
%lh=getelementptr inbounds i8,i8*%lc,i64 8
%li=bitcast i8*%lh to i8**
store i8*null,i8**%li,align 8
%lj=getelementptr inbounds i8,i8*%lc,i64 16
%lk=bitcast i8*%lj to i32*
store i32 3,i32*%lk,align 4
%ll=call i8*@sml_alloc(i32 inreg 20)#0
%lm=getelementptr inbounds i8,i8*%ll,i64 -4
%ln=bitcast i8*%lm to i32*
store i32 1342177296,i32*%ln,align 4
store i8*%ll,i8**%f,align 8
%lo=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lp=bitcast i8*%ll to i8**
store i8*%lo,i8**%lp,align 8
%lq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lr=getelementptr inbounds i8,i8*%ll,i64 8
%ls=bitcast i8*%lr to i8**
store i8*%lq,i8**%ls,align 8
%lt=getelementptr inbounds i8,i8*%ll,i64 16
%lu=bitcast i8*%lt to i32*
store i32 3,i32*%lu,align 4
%lv=call i8*@sml_alloc(i32 inreg 20)#0
%lw=getelementptr inbounds i8,i8*%lv,i64 -4
%lx=bitcast i8*%lw to i32*
store i32 1342177296,i32*%lx,align 4
store i8*%lv,i8**%e,align 8
%ly=getelementptr inbounds i8,i8*%lv,i64 4
%lz=bitcast i8*%ly to i32*
store i32 0,i32*%lz,align 1
%lA=bitcast i8*%lv to i32*
store i32 2,i32*%lA,align 4
%lB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lC=getelementptr inbounds i8,i8*%lv,i64 8
%lD=bitcast i8*%lC to i8**
store i8*%lB,i8**%lD,align 8
%lE=getelementptr inbounds i8,i8*%lv,i64 16
%lF=bitcast i8*%lE to i32*
store i32 2,i32*%lF,align 4
%lG=call i8*@sml_alloc(i32 inreg 20)#0
%lH=getelementptr inbounds i8,i8*%lG,i64 -4
%lI=bitcast i8*%lH to i32*
store i32 1342177296,i32*%lI,align 4
%lJ=load i8*,i8**%e,align 8
%lK=bitcast i8*%lG to i8**
store i8*%lJ,i8**%lK,align 8
%lL=load i8*,i8**%d,align 8
%lM=getelementptr inbounds i8,i8*%lG,i64 8
%lN=bitcast i8*%lM to i8**
store i8*%lL,i8**%lN,align 8
%lO=getelementptr inbounds i8,i8*%lG,i64 16
%lP=bitcast i8*%lO to i32*
store i32 3,i32*%lP,align 4
%lQ=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%lb,i8*inreg%lG)
ret i32%lQ
lR:
%lS=getelementptr inbounds i8,i8*%D,i64 8
%lT=bitcast i8*%lS to i8**
%lU=load i8*,i8**%lT,align 8
%lV=bitcast i8*%lU to i8**
%lW=load i8*,i8**%lV,align 8
store i8*%lW,i8**%e,align 8
%lX=getelementptr inbounds i8,i8*%lU,i64 24
%lY=bitcast i8*%lX to i8**
%lZ=load i8*,i8**%lY,align 8
store i8*%lZ,i8**%f,align 8
%l0=add nsw i32%j,1
%l1=call i8*@sml_alloc(i32 inreg 20)#0
%l2=getelementptr inbounds i8,i8*%l1,i64 -4
%l3=bitcast i8*%l2 to i32*
store i32 1342177296,i32*%l3,align 4
store i8*%l1,i8**%g,align 8
%l4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%l5=bitcast i8*%l1 to i8**
store i8*%l4,i8**%l5,align 8
%l6=getelementptr inbounds i8,i8*%l1,i64 8
%l7=bitcast i8*%l6 to i8**
store i8*null,i8**%l7,align 8
%l8=getelementptr inbounds i8,i8*%l1,i64 16
%l9=bitcast i8*%l8 to i32*
store i32 3,i32*%l9,align 4
%ma=call i8*@sml_alloc(i32 inreg 20)#0
%mb=getelementptr inbounds i8,i8*%ma,i64 -4
%mc=bitcast i8*%mb to i32*
store i32 1342177296,i32*%mc,align 4
store i8*%ma,i8**%f,align 8
%md=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%me=bitcast i8*%ma to i8**
store i8*%md,i8**%me,align 8
%mf=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%mg=getelementptr inbounds i8,i8*%ma,i64 8
%mh=bitcast i8*%mg to i8**
store i8*%mf,i8**%mh,align 8
%mi=getelementptr inbounds i8,i8*%ma,i64 16
%mj=bitcast i8*%mi to i32*
store i32 3,i32*%mj,align 4
%mk=call i8*@sml_alloc(i32 inreg 20)#0
%ml=getelementptr inbounds i8,i8*%mk,i64 -4
%mm=bitcast i8*%ml to i32*
store i32 1342177296,i32*%mm,align 4
store i8*%mk,i8**%e,align 8
%mn=getelementptr inbounds i8,i8*%mk,i64 4
%mo=bitcast i8*%mn to i32*
store i32 0,i32*%mo,align 1
%mp=bitcast i8*%mk to i32*
store i32 2,i32*%mp,align 4
%mq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mr=getelementptr inbounds i8,i8*%mk,i64 8
%ms=bitcast i8*%mr to i8**
store i8*%mq,i8**%ms,align 8
%mt=getelementptr inbounds i8,i8*%mk,i64 16
%mu=bitcast i8*%mt to i32*
store i32 2,i32*%mu,align 4
%mv=call i8*@sml_alloc(i32 inreg 20)#0
%mw=getelementptr inbounds i8,i8*%mv,i64 -4
%mx=bitcast i8*%mw to i32*
store i32 1342177296,i32*%mx,align 4
%my=load i8*,i8**%e,align 8
%mz=bitcast i8*%mv to i8**
store i8*%my,i8**%mz,align 8
%mA=load i8*,i8**%d,align 8
%mB=getelementptr inbounds i8,i8*%mv,i64 8
%mC=bitcast i8*%mB to i8**
store i8*%mA,i8**%mC,align 8
%mD=getelementptr inbounds i8,i8*%mv,i64 16
%mE=bitcast i8*%mD to i32*
store i32 3,i32*%mE,align 4
%mF=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%l0,i8*inreg%mv)
ret i32%mF
mG:
store i8*null,i8**%e,align 8
%mH=getelementptr inbounds i8,i8*%D,i64 8
%mI=bitcast i8*%mH to i8***
%mJ=load i8**,i8***%mI,align 8
%mK=load i8*,i8**%mJ,align 8
%mL=icmp eq i8*%mK,null
br i1%mL,label%mM,label%mQ
mM:
%mN=add nsw i32%j,1
%mO=load i8*,i8**%d,align 8
%mP=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%mN,i8*inreg%mO)
ret i32%mP
mQ:
%mR=bitcast i8*%mK to i8**
%mS=load i8*,i8**%mR,align 8
%mT=add nsw i32%j,1
store i8*%mS,i8**%e,align 8
br label%am
mU:
%mV=getelementptr inbounds i8,i8*%D,i64 8
%mW=bitcast i8*%mV to i8***
%mX=load i8**,i8***%mW,align 8
%mY=load i8*,i8**%mX,align 8
store i8*%mY,i8**%e,align 8
%mZ=call i8*@sml_alloc(i32 inreg 20)#0
%m0=bitcast i8*%mZ to i32*
%m1=getelementptr inbounds i8,i8*%mZ,i64 -4
%m2=bitcast i8*%m1 to i32*
store i32 1342177296,i32*%m2,align 4
%m3=getelementptr inbounds i8,i8*%mZ,i64 4
%m4=bitcast i8*%m3 to i32*
store i32 0,i32*%m4,align 1
store i32%j,i32*%m0,align 4
%m5=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%m6=getelementptr inbounds i8,i8*%mZ,i64 8
%m7=bitcast i8*%m6 to i8**
store i8*%m5,i8**%m7,align 8
%m8=getelementptr inbounds i8,i8*%mZ,i64 16
%m9=bitcast i8*%m8 to i32*
store i32 2,i32*%m9,align 4
%na=call fastcc i32@_SMLLLN6TCSize8incConstE_148(i8*inreg%mZ)
%nb=load i8*,i8**%d,align 8
%nc=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%na,i8*inreg%nb)
ret i32%nc
nd:
store i8*null,i8**%e,align 8
%ne=getelementptr inbounds i8,i8*%D,i64 8
%nf=bitcast i8*%ne to i8****
%ng=load i8***,i8****%nf,align 8
%nh=load i8**,i8***%ng,align 8
%ni=load i8*,i8**%nh,align 8
%nj=add nsw i32%j,1
store i8*%ni,i8**%e,align 8
br label%am
nk:
%nl=getelementptr inbounds i8,i8*%D,i64 8
%nm=bitcast i8*%nl to i8**
%nn=load i8*,i8**%nm,align 8
%no=bitcast i8*%nn to i8**
%np=load i8*,i8**%no,align 8
store i8*%np,i8**%e,align 8
%nq=getelementptr inbounds i8,i8*%nn,i64 8
%nr=bitcast i8*%nq to i8**
%ns=load i8*,i8**%nr,align 8
store i8*%ns,i8**%f,align 8
%nt=getelementptr inbounds i8,i8*%nn,i64 40
%nu=bitcast i8*%nt to i8**
%nv=load i8*,i8**%nu,align 8
%nw=add nsw i32%j,1
%nx=bitcast i8*%nv to i32*
%ny=load i32,i32*%nx,align 4
switch i32%ny,label%nz[
i32 1,label%or
i32 0,label%n9
i32 2,label%nR
]
nz:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%nA=load i8*,i8**@_SMLZ5Match,align 8
store i8*%nA,i8**%d,align 8
%nB=call i8*@sml_alloc(i32 inreg 20)#0
%nC=getelementptr inbounds i8,i8*%nB,i64 -4
%nD=bitcast i8*%nC to i32*
store i32 1342177296,i32*%nD,align 4
store i8*%nB,i8**%e,align 8
%nE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%nF=bitcast i8*%nB to i8**
store i8*%nE,i8**%nF,align 8
%nG=getelementptr inbounds i8,i8*%nB,i64 8
%nH=bitcast i8*%nG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@h,i64 0,i32 2,i64 0),i8**%nH,align 8
%nI=getelementptr inbounds i8,i8*%nB,i64 16
%nJ=bitcast i8*%nI to i32*
store i32 3,i32*%nJ,align 4
%nK=call i8*@sml_alloc(i32 inreg 60)#0
%nL=getelementptr inbounds i8,i8*%nK,i64 -4
%nM=bitcast i8*%nL to i32*
store i32 1342177336,i32*%nM,align 4
%nN=getelementptr inbounds i8,i8*%nK,i64 56
%nO=bitcast i8*%nN to i32*
store i32 1,i32*%nO,align 4
%nP=load i8*,i8**%e,align 8
%nQ=bitcast i8*%nK to i8**
store i8*%nP,i8**%nQ,align 8
call void@sml_raise(i8*inreg%nK)#1
unreachable
nR:
%nS=getelementptr inbounds i8,i8*%nv,i64 8
%nT=bitcast i8*%nS to i8**
%nU=load i8*,i8**%nT,align 8
store i8*%nU,i8**%g,align 8
%nV=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%nW=getelementptr inbounds i8,i8*%nV,i64 16
%nX=bitcast i8*%nW to i8*(i8*,i8*)**
%nY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nX,align 8
%nZ=bitcast i8*%nV to i8**
%n0=load i8*,i8**%nZ,align 8
%n1=call fastcc i8*%nY(i8*inreg%n0,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@g,i64 0,i32 2)to i8*))
%n2=getelementptr inbounds i8,i8*%n1,i64 16
%n3=bitcast i8*%n2 to i8*(i8*,i8*)**
%n4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n3,align 8
%n5=bitcast i8*%n1 to i8**
%n6=load i8*,i8**%n5,align 8
%n7=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%n8=call fastcc i8*%n4(i8*inreg%n6,i8*inreg%n7)
store i8*%n8,i8**%g,align 8
br label%oJ
n9:
%oa=getelementptr inbounds i8,i8*%nv,i64 8
%ob=bitcast i8*%oa to i8**
%oc=load i8*,i8**%ob,align 8
store i8*%oc,i8**%g,align 8
%od=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%oe=getelementptr inbounds i8,i8*%od,i64 16
%of=bitcast i8*%oe to i8*(i8*,i8*)**
%og=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%of,align 8
%oh=bitcast i8*%od to i8**
%oi=load i8*,i8**%oh,align 8
%oj=call fastcc i8*%og(i8*inreg%oi,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*))
%ok=getelementptr inbounds i8,i8*%oj,i64 16
%ol=bitcast i8*%ok to i8*(i8*,i8*)**
%om=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ol,align 8
%on=bitcast i8*%oj to i8**
%oo=load i8*,i8**%on,align 8
%op=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%oq=call fastcc i8*%om(i8*inreg%oo,i8*inreg%op)
store i8*%oq,i8**%g,align 8
br label%oJ
or:
%os=getelementptr inbounds i8,i8*%nv,i64 8
%ot=bitcast i8*%os to i8**
%ou=load i8*,i8**%ot,align 8
store i8*%ou,i8**%g,align 8
%ov=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ow=getelementptr inbounds i8,i8*%ov,i64 16
%ox=bitcast i8*%ow to i8*(i8*,i8*)**
%oy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ox,align 8
%oz=bitcast i8*%ov to i8**
%oA=load i8*,i8**%oz,align 8
%oB=call fastcc i8*%oy(i8*inreg%oA,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*))
%oC=getelementptr inbounds i8,i8*%oB,i64 16
%oD=bitcast i8*%oC to i8*(i8*,i8*)**
%oE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oD,align 8
%oF=bitcast i8*%oB to i8**
%oG=load i8*,i8**%oF,align 8
%oH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%oI=call fastcc i8*%oE(i8*inreg%oG,i8*inreg%oH)
store i8*%oI,i8**%g,align 8
br label%oJ
oJ:
%oK=call i8*@sml_alloc(i32 inreg 20)#0
%oL=getelementptr inbounds i8,i8*%oK,i64 -4
%oM=bitcast i8*%oL to i32*
store i32 1342177296,i32*%oM,align 4
store i8*%oK,i8**%h,align 8
%oN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%oO=bitcast i8*%oK to i8**
store i8*%oN,i8**%oO,align 8
%oP=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%oQ=getelementptr inbounds i8,i8*%oK,i64 8
%oR=bitcast i8*%oQ to i8**
store i8*%oP,i8**%oR,align 8
%oS=getelementptr inbounds i8,i8*%oK,i64 16
%oT=bitcast i8*%oS to i32*
store i32 3,i32*%oT,align 4
%oU=call i8*@sml_alloc(i32 inreg 20)#0
%oV=getelementptr inbounds i8,i8*%oU,i64 -4
%oW=bitcast i8*%oV to i32*
store i32 1342177296,i32*%oW,align 4
store i8*%oU,i8**%e,align 8
%oX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%oY=bitcast i8*%oU to i8**
store i8*%oX,i8**%oY,align 8
%oZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%o0=getelementptr inbounds i8,i8*%oU,i64 8
%o1=bitcast i8*%o0 to i8**
store i8*%oZ,i8**%o1,align 8
%o2=getelementptr inbounds i8,i8*%oU,i64 16
%o3=bitcast i8*%o2 to i32*
store i32 3,i32*%o3,align 4
%o4=call i8*@sml_alloc(i32 inreg 20)#0
%o5=getelementptr inbounds i8,i8*%o4,i64 -4
%o6=bitcast i8*%o5 to i32*
store i32 1342177296,i32*%o6,align 4
store i8*%o4,i8**%f,align 8
%o7=getelementptr inbounds i8,i8*%o4,i64 4
%o8=bitcast i8*%o7 to i32*
store i32 0,i32*%o8,align 1
%o9=bitcast i8*%o4 to i32*
store i32 2,i32*%o9,align 4
%pa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pb=getelementptr inbounds i8,i8*%o4,i64 8
%pc=bitcast i8*%pb to i8**
store i8*%pa,i8**%pc,align 8
%pd=getelementptr inbounds i8,i8*%o4,i64 16
%pe=bitcast i8*%pd to i32*
store i32 2,i32*%pe,align 4
%pf=call i8*@sml_alloc(i32 inreg 20)#0
%pg=getelementptr inbounds i8,i8*%pf,i64 -4
%ph=bitcast i8*%pg to i32*
store i32 1342177296,i32*%ph,align 4
%pi=load i8*,i8**%f,align 8
%pj=bitcast i8*%pf to i8**
store i8*%pi,i8**%pj,align 8
%pk=load i8*,i8**%d,align 8
%pl=getelementptr inbounds i8,i8*%pf,i64 8
%pm=bitcast i8*%pl to i8**
store i8*%pk,i8**%pm,align 8
%pn=getelementptr inbounds i8,i8*%pf,i64 16
%po=bitcast i8*%pn to i32*
store i32 3,i32*%po,align 4
%pp=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%nw,i8*inreg%pf)
ret i32%pp
pq:
%pr=getelementptr inbounds i8,i8*%D,i64 8
%ps=bitcast i8*%pr to i8**
%pt=load i8*,i8**%ps,align 8
%pu=getelementptr inbounds i8,i8*%pt,i64 8
%pv=bitcast i8*%pu to i8**
%pw=load i8*,i8**%pv,align 8
store i8*%pw,i8**%e,align 8
%px=getelementptr inbounds i8,i8*%pt,i64 40
%py=bitcast i8*%px to i8**
%pz=load i8*,i8**%py,align 8
store i8*%pz,i8**%f,align 8
%pA=add nsw i32%j,1
%pB=call i8*@sml_alloc(i32 inreg 20)#0
%pC=getelementptr inbounds i8,i8*%pB,i64 -4
%pD=bitcast i8*%pC to i32*
store i32 1342177296,i32*%pD,align 4
store i8*%pB,i8**%g,align 8
%pE=getelementptr inbounds i8,i8*%pB,i64 4
%pF=bitcast i8*%pE to i32*
store i32 0,i32*%pF,align 1
%pG=bitcast i8*%pB to i32*
store i32 2,i32*%pG,align 4
%pH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pI=getelementptr inbounds i8,i8*%pB,i64 8
%pJ=bitcast i8*%pI to i8**
store i8*%pH,i8**%pJ,align 8
%pK=getelementptr inbounds i8,i8*%pB,i64 16
%pL=bitcast i8*%pK to i32*
store i32 2,i32*%pL,align 4
%pM=call i8*@sml_alloc(i32 inreg 20)#0
%pN=getelementptr inbounds i8,i8*%pM,i64 -4
%pO=bitcast i8*%pN to i32*
store i32 1342177296,i32*%pO,align 4
store i8*%pM,i8**%e,align 8
%pP=getelementptr inbounds i8,i8*%pM,i64 4
%pQ=bitcast i8*%pP to i32*
store i32 0,i32*%pQ,align 1
%pR=bitcast i8*%pM to i32*
store i32 4,i32*%pR,align 4
%pS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pT=getelementptr inbounds i8,i8*%pM,i64 8
%pU=bitcast i8*%pT to i8**
store i8*%pS,i8**%pU,align 8
%pV=getelementptr inbounds i8,i8*%pM,i64 16
%pW=bitcast i8*%pV to i32*
store i32 2,i32*%pW,align 4
%pX=call i8*@sml_alloc(i32 inreg 20)#0
%pY=getelementptr inbounds i8,i8*%pX,i64 -4
%pZ=bitcast i8*%pY to i32*
store i32 1342177296,i32*%pZ,align 4
store i8*%pX,i8**%f,align 8
%p0=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%p1=bitcast i8*%pX to i8**
store i8*%p0,i8**%p1,align 8
%p2=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p3=getelementptr inbounds i8,i8*%pX,i64 8
%p4=bitcast i8*%p3 to i8**
store i8*%p2,i8**%p4,align 8
%p5=getelementptr inbounds i8,i8*%pX,i64 16
%p6=bitcast i8*%p5 to i32*
store i32 3,i32*%p6,align 4
%p7=call i8*@sml_alloc(i32 inreg 20)#0
%p8=getelementptr inbounds i8,i8*%p7,i64 -4
%p9=bitcast i8*%p8 to i32*
store i32 1342177296,i32*%p9,align 4
%qa=load i8*,i8**%g,align 8
%qb=bitcast i8*%p7 to i8**
store i8*%qa,i8**%qb,align 8
%qc=load i8*,i8**%f,align 8
%qd=getelementptr inbounds i8,i8*%p7,i64 8
%qe=bitcast i8*%qd to i8**
store i8*%qc,i8**%qe,align 8
%qf=getelementptr inbounds i8,i8*%p7,i64 16
%qg=bitcast i8*%qf to i32*
store i32 3,i32*%qg,align 4
%qh=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%pA,i8*inreg%p7)
ret i32%qh
qi:
%qj=getelementptr inbounds i8,i8*%D,i64 8
%qk=bitcast i8*%qj to i8**
%ql=load i8*,i8**%qk,align 8
%qm=bitcast i8*%ql to i8**
%qn=load i8*,i8**%qm,align 8
store i8*%qn,i8**%e,align 8
%qo=getelementptr inbounds i8,i8*%ql,i64 8
%qp=bitcast i8*%qo to i8**
%qq=load i8*,i8**%qp,align 8
store i8*%qq,i8**%f,align 8
%qr=add nsw i32%j,1
%qs=call i8*@sml_alloc(i32 inreg 20)#0
%qt=getelementptr inbounds i8,i8*%qs,i64 -4
%qu=bitcast i8*%qt to i32*
store i32 1342177296,i32*%qu,align 4
store i8*%qs,i8**%g,align 8
%qv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qw=bitcast i8*%qs to i8**
store i8*%qv,i8**%qw,align 8
%qx=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qy=getelementptr inbounds i8,i8*%qs,i64 8
%qz=bitcast i8*%qy to i8**
store i8*%qx,i8**%qz,align 8
%qA=getelementptr inbounds i8,i8*%qs,i64 16
%qB=bitcast i8*%qA to i32*
store i32 3,i32*%qB,align 4
%qC=call i8*@sml_alloc(i32 inreg 20)#0
%qD=getelementptr inbounds i8,i8*%qC,i64 -4
%qE=bitcast i8*%qD to i32*
store i32 1342177296,i32*%qE,align 4
store i8*%qC,i8**%e,align 8
%qF=getelementptr inbounds i8,i8*%qC,i64 4
%qG=bitcast i8*%qF to i32*
store i32 0,i32*%qG,align 1
%qH=bitcast i8*%qC to i32*
store i32 2,i32*%qH,align 4
%qI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%qJ=getelementptr inbounds i8,i8*%qC,i64 8
%qK=bitcast i8*%qJ to i8**
store i8*%qI,i8**%qK,align 8
%qL=getelementptr inbounds i8,i8*%qC,i64 16
%qM=bitcast i8*%qL to i32*
store i32 2,i32*%qM,align 4
%qN=call i8*@sml_alloc(i32 inreg 20)#0
%qO=getelementptr inbounds i8,i8*%qN,i64 -4
%qP=bitcast i8*%qO to i32*
store i32 1342177296,i32*%qP,align 4
%qQ=load i8*,i8**%e,align 8
%qR=bitcast i8*%qN to i8**
store i8*%qQ,i8**%qR,align 8
%qS=load i8*,i8**%d,align 8
%qT=getelementptr inbounds i8,i8*%qN,i64 8
%qU=bitcast i8*%qT to i8**
store i8*%qS,i8**%qU,align 8
%qV=getelementptr inbounds i8,i8*%qN,i64 16
%qW=bitcast i8*%qV to i32*
store i32 3,i32*%qW,align 4
%qX=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%qr,i8*inreg%qN)
ret i32%qX
}
define internal fastcc i32@_SMLLLN6TCSize7sizePatE_152(i32 inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
j:
%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**%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*%c,i8**%d,align 8
br label%h
h:
%i=phi i8*[%bT,%bP],[%b,%j]
%k=phi i32[%bS,%bP],[%a,%j]
store i8*%i,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%o,label%n
n:
call void@sml_check(i32 inreg%l)
br label%o
o:
%p=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2),align 8
%q=icmp eq i8*%p,null
br i1%q,label%C,label%r
r:
%s=bitcast i8*%p to i32*
%t=load i32,i32*%s,align 4
%u=icmp sgt i32%k,%t
br i1%u,label%v,label%C
v:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%w=call i8*@sml_alloc(i32 inreg 60)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177336,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 56
%A=bitcast i8*%z to i32*
store i32 1,i32*%A,align 4
%B=bitcast i8*%w to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@l,i64 0,i32 2)to i8*),i8**%B,align 8
call void@sml_raise(i8*inreg%w)#1
unreachable
C:
%D=load i8*,i8**%e,align 8
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
switch i32%F,label%G[
i32 0,label%b8
i32 1,label%bY
i32 2,label%bU
i32 3,label%bF
i32 4,label%aQ
i32 5,label%ag
i32 6,label%ac
i32 7,label%Y
]
G:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%H=load i8*,i8**@_SMLZ5Match,align 8
store i8*%H,i8**%d,align 8
%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**%e,align 8
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@j,i64 0,i32 2,i64 0),i8**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 60)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177336,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%R,i64 56
%V=bitcast i8*%U to i32*
store i32 1,i32*%V,align 4
%W=load i8*,i8**%e,align 8
%X=bitcast i8*%R to i8**
store i8*%W,i8**%X,align 8
call void@sml_raise(i8*inreg%R)#1
unreachable
Y:
%Z=add nsw i32%k,1
%aa=load i8*,i8**%d,align 8
%ab=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%Z,i8*inreg%aa)
ret i32%ab
ac:
%ad=add nsw i32%k,1
%ae=load i8*,i8**%d,align 8
%af=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%ad,i8*inreg%ae)
ret i32%af
ag:
%ah=getelementptr inbounds i8,i8*%D,i64 8
%ai=bitcast i8*%ah to i8***
%aj=load i8**,i8***%ai,align 8
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%e,align 8
%al=add nsw i32%k,1
%am=call fastcc i8*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg 1,i32 inreg 8)
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
%as=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%at=call fastcc i8*%ap(i8*inreg%ar,i8*inreg%as)
store i8*%at,i8**%e,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**%f,align 8
%ax=getelementptr inbounds i8,i8*%au,i64 4
%ay=bitcast i8*%ax to i32*
store i32 0,i32*%ay,align 1
%az=bitcast i8*%au to i32*
store i32 3,i32*%az,align 4
%aA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 16
%aE=bitcast i8*%aD to i32*
store i32 2,i32*%aE,align 4
%aF=call i8*@sml_alloc(i32 inreg 20)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177296,i32*%aH,align 4
%aI=load i8*,i8**%f,align 8
%aJ=bitcast i8*%aF to i8**
store i8*%aI,i8**%aJ,align 8
%aK=load i8*,i8**%d,align 8
%aL=getelementptr inbounds i8,i8*%aF,i64 8
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aF,i64 16
%aO=bitcast i8*%aN to i32*
store i32 3,i32*%aO,align 4
%aP=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%al,i8*inreg%aF)
ret i32%aP
aQ:
%aR=getelementptr inbounds i8,i8*%D,i64 8
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%e,align 8
%aW=getelementptr inbounds i8,i8*%aT,i64 16
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%f,align 8
%aZ=add nsw i32%k,1
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
store i8*%a0,i8**%g,align 8
%a3=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%a0,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*null,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a0,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
store i8*%a9,i8**%f,align 8
%bc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bf=getelementptr inbounds i8,i8*%a9,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a9,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
%bj=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**%e,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 3,i32*%bo,align 4
%bp=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%bx=load i8*,i8**%e,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%d,align 8
%bA=getelementptr inbounds i8,i8*%bu,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bu,i64 16
%bD=bitcast i8*%bC to i32*
store i32 3,i32*%bD,align 4
%bE=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%aZ,i8*inreg%bu)
ret i32%bE
bF:
store i8*null,i8**%e,align 8
%bG=getelementptr inbounds i8,i8*%D,i64 8
%bH=bitcast i8*%bG to i8***
%bI=load i8**,i8***%bH,align 8
%bJ=load i8*,i8**%bI,align 8
%bK=icmp eq i8*%bJ,null
br i1%bK,label%bL,label%bP
bL:
%bM=add nsw i32%k,1
%bN=load i8*,i8**%d,align 8
%bO=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%bM,i8*inreg%bN)
ret i32%bO
bP:
%bQ=phi i8*[%bJ,%bF],[%b2,%bY]
%bR=bitcast i8*%bQ to i8**
%bS=add nsw i32%k,1
%bT=load i8*,i8**%bR,align 8
br label%h
bU:
%bV=add nsw i32%k,1
%bW=load i8*,i8**%d,align 8
%bX=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%bV,i8*inreg%bW)
ret i32%bX
bY:
store i8*null,i8**%e,align 8
%bZ=getelementptr inbounds i8,i8*%D,i64 8
%b0=bitcast i8*%bZ to i8***
%b1=load i8**,i8***%b0,align 8
%b2=load i8*,i8**%b1,align 8
%b3=icmp eq i8*%b2,null
br i1%b3,label%b4,label%bP
b4:
%b5=add nsw i32%k,1
%b6=load i8*,i8**%d,align 8
%b7=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%b5,i8*inreg%b6)
ret i32%b7
b8:
%b9=getelementptr inbounds i8,i8*%D,i64 8
%ca=bitcast i8*%b9 to i8***
%cb=load i8**,i8***%ca,align 8
%cc=load i8*,i8**%cb,align 8
store i8*%cc,i8**%e,align 8
%cd=call i8*@sml_alloc(i32 inreg 20)#0
%ce=bitcast i8*%cd to i32*
%cf=getelementptr inbounds i8,i8*%cd,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177296,i32*%cg,align 4
%ch=getelementptr inbounds i8,i8*%cd,i64 4
%ci=bitcast i8*%ch to i32*
store i32 0,i32*%ci,align 1
store i32%k,i32*%ce,align 4
%cj=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 fastcc i32@_SMLLLN6TCSize8incConstE_148(i8*inreg%cd)
%cp=load i8*,i8**%d,align 8
%cq=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%co,i8*inreg%cp)
ret i32%cq
}
define internal fastcc i32@_SMLLLN6TCSize8sizeDeclE_153(i32 inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
m:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%e,align 8
store i8*%c,i8**%d,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*null,i8**%e,align 8
%n=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2),align 8
%o=icmp eq i8*%n,null
br i1%o,label%A,label%p
p:
%q=bitcast i8*%n to i32*
%r=load i32,i32*%q,align 4
%s=icmp slt i32%r,%a
br i1%s,label%t,label%A
t:
store i8*null,i8**%d,align 8
%u=call i8*@sml_alloc(i32 inreg 60)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177336,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%u,i64 56
%y=bitcast i8*%x to i32*
store i32 1,i32*%y,align 4
%z=bitcast i8*%u to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@l,i64 0,i32 2)to i8*),i8**%z,align 8
call void@sml_raise(i8*inreg%u)#1
unreachable
A:
%B=bitcast i8*%l to i32*
%C=load i32,i32*%B,align 4
switch i32%C,label%D[
i32 1,label%dO
i32 2,label%dK
i32 3,label%dG
i32 4,label%c5
i32 5,label%c1
i32 0,label%cX
i32 6,label%cT
i32 7,label%cx
i32 8,label%cb
i32 9,label%bC
i32 10,label%aJ
i32 11,label%V
]
D:
call void@sml_matchcomp_bug()
%E=load i8*,i8**@_SMLZ5Match,align 8
store i8*%E,i8**%d,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
store i8*%F,i8**%e,align 8
%I=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@u,i64 0,i32 2,i64 0),i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 60)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177336,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 56
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=load i8*,i8**%e,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
call void@sml_raise(i8*inreg%O)#1
unreachable
V:
%W=getelementptr inbounds i8,i8*%l,i64 8
%X=bitcast i8*%W to i8***
%Y=load i8**,i8***%X,align 8
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%e,align 8
%aa=add nsw i32%a,1
%ab=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8*(i8*,i8*)**
%ae=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ad,align 8
%af=bitcast i8*%ab to i8**
%ag=load i8*,i8**%af,align 8
%ah=call fastcc i8*%ae(i8*inreg%ag,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*))
%ai=getelementptr inbounds i8,i8*%ah,i64 16
%aj=bitcast i8*%ai to i8*(i8*,i8*)**
%ak=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aj,align 8
%al=bitcast i8*%ah to i8**
%am=load i8*,i8**%al,align 8
%an=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ao=call fastcc i8*%ak(i8*inreg%am,i8*inreg%an)
store i8*%ao,i8**%e,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%f,align 8
%as=bitcast i8*%ap to i64*
store i64 0,i64*%as,align 4
%at=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 16
%ax=bitcast i8*%aw to i32*
store i32 2,i32*%ax,align 4
%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**%f,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%d,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%aa,i8*inreg%ay)
ret i32%aI
aJ:
%aK=getelementptr inbounds i8,i8*%l,i64 8
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
store i8*%aO,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aM,i64 24
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%f,align 8
%aS=add nsw i32%a,1
%aT=call fastcc i8*@_SMLFN14BoundTypeVarID3Map8numItemsE(i32 inreg 1,i32 inreg 8)
%aU=getelementptr inbounds i8,i8*%aT,i64 16
%aV=bitcast i8*%aU to i8*(i8*,i8*)**
%aW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aV,align 8
%aX=bitcast i8*%aT to i8**
%aY=load i8*,i8**%aX,align 8
%aZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a0=call fastcc i8*%aW(i8*inreg%aY,i8*inreg%aZ)
%a1=bitcast i8*%a0 to i32*
%a2=load i32,i32*%a1,align 4
%a3=add nsw i32%aS,%a2
%a4=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a5=getelementptr inbounds i8,i8*%a4,i64 16
%a6=bitcast i8*%a5 to i8*(i8*,i8*)**
%a7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a6,align 8
%a8=bitcast i8*%a4 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=call fastcc i8*%a7(i8*inreg%a9,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*))
%bb=getelementptr inbounds i8,i8*%ba,i64 16
%bc=bitcast i8*%bb to i8*(i8*,i8*)**
%bd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bc,align 8
%be=bitcast i8*%ba to i8**
%bf=load i8*,i8**%be,align 8
%bg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bh=call fastcc i8*%bd(i8*inreg%bf,i8*inreg%bg)
store i8*%bh,i8**%e,align 8
%bi=call i8*@sml_alloc(i32 inreg 20)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177296,i32*%bk,align 4
store i8*%bi,i8**%f,align 8
%bl=bitcast i8*%bi to i64*
store i64 0,i64*%bl,align 4
%bm=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bn=getelementptr inbounds i8,i8*%bi,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bi,i64 16
%bq=bitcast i8*%bp to i32*
store i32 2,i32*%bq,align 4
%br=call i8*@sml_alloc(i32 inreg 20)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177296,i32*%bt,align 4
%bu=load i8*,i8**%f,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=load i8*,i8**%d,align 8
%bx=getelementptr inbounds i8,i8*%br,i64 8
%by=bitcast i8*%bx to i8**
store i8*%bw,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%br,i64 16
%bA=bitcast i8*%bz to i32*
store i32 3,i32*%bA,align 4
%bB=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%a3,i8*inreg%br)
ret i32%bB
bC:
%bD=getelementptr inbounds i8,i8*%l,i64 8
%bE=bitcast i8*%bD to i8***
%bF=load i8**,i8***%bE,align 8
%bG=load i8*,i8**%bF,align 8
store i8*%bG,i8**%e,align 8
%bH=add nsw i32%a,1
%bI=call i8*@sml_alloc(i32 inreg 20)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177296,i32*%bK,align 4
store i8*%bI,i8**%f,align 8
%bL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bI,i64 8
%bO=bitcast i8*%bN to i8**
store i8*null,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bI,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
%bR=call i8*@sml_alloc(i32 inreg 20)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177296,i32*%bT,align 4
store i8*%bR,i8**%e,align 8
%bU=bitcast i8*%bR to i64*
store i64 0,i64*%bU,align 4
%bV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bW=getelementptr inbounds i8,i8*%bR,i64 8
%bX=bitcast i8*%bW to i8**
store i8*%bV,i8**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bR,i64 16
%bZ=bitcast i8*%bY to i32*
store i32 2,i32*%bZ,align 4
%b0=call i8*@sml_alloc(i32 inreg 20)#0
%b1=getelementptr inbounds i8,i8*%b0,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177296,i32*%b2,align 4
%b3=load i8*,i8**%e,align 8
%b4=bitcast i8*%b0 to i8**
store i8*%b3,i8**%b4,align 8
%b5=load i8*,i8**%d,align 8
%b6=getelementptr inbounds i8,i8*%b0,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b0,i64 16
%b9=bitcast i8*%b8 to i32*
store i32 3,i32*%b9,align 4
%ca=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%bH,i8*inreg%b0)
ret i32%ca
cb:
%cc=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cc,i8**%d,align 8
%cd=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@r,i64 0,i32 2)to i8*))
store i8*%cd,i8**%e,align 8
%ce=call i8*@sml_alloc(i32 inreg 28)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177304,i32*%cg,align 4
store i8*%ce,i8**%f,align 8
%ch=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ce,i64 8
%ck=bitcast i8*%cj to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@o,i64 0,i32 2,i64 0),i8**%ck,align 8
%cl=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cm=getelementptr inbounds i8,i8*%ce,i64 16
%cn=bitcast i8*%cm to i8**
store i8*%cl,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%ce,i64 24
%cp=bitcast i8*%co to i32*
store i32 7,i32*%cp,align 4
%cq=call i8*@sml_alloc(i32 inreg 60)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177336,i32*%cs,align 4
%ct=getelementptr inbounds i8,i8*%cq,i64 56
%cu=bitcast i8*%ct to i32*
store i32 1,i32*%cu,align 4
%cv=load i8*,i8**%f,align 8
%cw=bitcast i8*%cq to i8**
store i8*%cv,i8**%cw,align 8
call void@sml_raise(i8*inreg%cq)#1
unreachable
cx:
%cy=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cy,i8**%d,align 8
%cz=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@n,i64 0,i32 2)to i8*))
store i8*%cz,i8**%e,align 8
%cA=call i8*@sml_alloc(i32 inreg 28)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177304,i32*%cC,align 4
store i8*%cA,i8**%f,align 8
%cD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cE=bitcast i8*%cA to i8**
store i8*%cD,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cA,i64 8
%cG=bitcast i8*%cF to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@o,i64 0,i32 2,i64 0),i8**%cG,align 8
%cH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cI=getelementptr inbounds i8,i8*%cA,i64 16
%cJ=bitcast i8*%cI to i8**
store i8*%cH,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cA,i64 24
%cL=bitcast i8*%cK to i32*
store i32 7,i32*%cL,align 4
%cM=call i8*@sml_alloc(i32 inreg 60)#0
%cN=getelementptr inbounds i8,i8*%cM,i64 -4
%cO=bitcast i8*%cN to i32*
store i32 1342177336,i32*%cO,align 4
%cP=getelementptr inbounds i8,i8*%cM,i64 56
%cQ=bitcast i8*%cP to i32*
store i32 1,i32*%cQ,align 4
%cR=load i8*,i8**%f,align 8
%cS=bitcast i8*%cM to i8**
store i8*%cR,i8**%cS,align 8
call void@sml_raise(i8*inreg%cM)#1
unreachable
cT:
%cU=add nsw i32%a,1
%cV=load i8*,i8**%d,align 8
%cW=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%cU,i8*inreg%cV)
ret i32%cW
cX:
%cY=add nsw i32%a,1
%cZ=load i8*,i8**%d,align 8
%c0=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%cY,i8*inreg%cZ)
ret i32%c0
c1:
%c2=add nsw i32%a,1
%c3=load i8*,i8**%d,align 8
%c4=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%c2,i8*inreg%c3)
ret i32%c4
c5:
%c6=getelementptr inbounds i8,i8*%l,i64 8
%c7=bitcast i8*%c6 to i8***
%c8=load i8**,i8***%c7,align 8
%c9=load i8*,i8**%c8,align 8
store i8*%c9,i8**%e,align 8
%da=add nsw i32%a,1
%db=call i8*@sml_alloc(i32 inreg 20)#0
%dc=getelementptr inbounds i8,i8*%db,i64 -4
%dd=bitcast i8*%dc to i32*
store i32 1342177296,i32*%dd,align 4
store i8*%db,i8**%f,align 8
%de=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%df=bitcast i8*%db to i8**
store i8*%de,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%db,i64 8
%dh=bitcast i8*%dg to i8**
store i8*null,i8**%dh,align 8
%di=getelementptr inbounds i8,i8*%db,i64 16
%dj=bitcast i8*%di to i32*
store i32 3,i32*%dj,align 4
%dk=call i8*@sml_alloc(i32 inreg 20)#0
%dl=getelementptr inbounds i8,i8*%dk,i64 -4
%dm=bitcast i8*%dl to i32*
store i32 1342177296,i32*%dm,align 4
store i8*%dk,i8**%e,align 8
%dn=getelementptr inbounds i8,i8*%dk,i64 4
%do=bitcast i8*%dn to i32*
store i32 0,i32*%do,align 1
%dp=bitcast i8*%dk to i32*
store i32 2,i32*%dp,align 4
%dq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dr=getelementptr inbounds i8,i8*%dk,i64 8
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dk,i64 16
%du=bitcast i8*%dt to i32*
store i32 2,i32*%du,align 4
%dv=call i8*@sml_alloc(i32 inreg 20)#0
%dw=getelementptr inbounds i8,i8*%dv,i64 -4
%dx=bitcast i8*%dw to i32*
store i32 1342177296,i32*%dx,align 4
%dy=load i8*,i8**%e,align 8
%dz=bitcast i8*%dv to i8**
store i8*%dy,i8**%dz,align 8
%dA=load i8*,i8**%d,align 8
%dB=getelementptr inbounds i8,i8*%dv,i64 8
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=getelementptr inbounds i8,i8*%dv,i64 16
%dE=bitcast i8*%dD to i32*
store i32 3,i32*%dE,align 4
%dF=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%da,i8*inreg%dv)
ret i32%dF
dG:
%dH=add nsw i32%a,1
%dI=load i8*,i8**%d,align 8
%dJ=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%dH,i8*inreg%dI)
ret i32%dJ
dK:
%dL=add nsw i32%a,1
%dM=load i8*,i8**%d,align 8
%dN=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%dL,i8*inreg%dM)
ret i32%dN
dO:
%dP=add nsw i32%a,1
%dQ=load i8*,i8**%d,align 8
%dR=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg%dP,i8*inreg%dQ)
ret i32%dR
}
define fastcc i32@_SMLFN6TCSize7sizeExpE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i32@_SMLLLN6TCSize7sizeExpE_151(i32 inreg 0,i8*inreg%h,i8*inreg null)
ret i32%j
}
define fastcc i32@_SMLFN6TCSize7sizePatE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i32@_SMLLLN6TCSize7sizePatE_152(i32 inreg 0,i8*inreg%h,i8*inreg null)
ret i32%j
}
define fastcc i32@_SMLFN6TCSize8sizeDeclE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i32@_SMLLLN6TCSize8sizeDeclE_153(i32 inreg 0,i8*inreg%h,i8*inreg null)
ret i32%j
}
define fastcc i32@_SMLFN6TCSize12sizeDeclListE(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%c,align 8
%k=getelementptr inbounds i8,i8*%h,i64 4
%l=bitcast i8*%k to i32*
store i32 0,i32*%l,align 1
%m=bitcast i8*%h to i32*
store i32 1,i32*%m,align 4
%n=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%o=getelementptr inbounds i8,i8*%h,i64 8
%p=bitcast i8*%o to i8**
store i8*%n,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 2,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
%v=load i8*,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*null,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=tail call fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg 0,i8*inreg%s)
ret i32%B
}
define fastcc i32@_SMLFN6TCSize12isSmallerExpE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%b,align 8
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=icmp sgt i32%n,0
br i1%o,label%r,label%p
p:
%q=phi i32[0,%C],[0,%g],[1,%r]
ret i32%q
r:
%s=call i8*@sml_alloc(i32 inreg 12)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%s,i64 4
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 1
store i32%n,i32*%t,align 4
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i32*
store i32 0,i32*%z,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2),i8*inreg%s)#0
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B=invoke fastcc i32@_SMLLLN6TCSize7sizeExpE_151(i32 inreg 0,i8*inreg%A,i8*inreg null)
to label%p unwind label%C
C:
%D=landingpad{i8*,i8*}
catch i8*null
%E=extractvalue{i8*,i8*}%D,1
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%b,align 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=icmp eq i8*%I,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL144,i64 0,i32 2)to i8*)
br i1%J,label%p,label%K
K:
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%b,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
}
define fastcc i32@_SMLFN6TCSize12isSmallerPatE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%b,align 8
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=icmp sgt i32%n,0
br i1%o,label%r,label%p
p:
%q=phi i32[0,%C],[0,%g],[1,%r]
ret i32%q
r:
%s=call i8*@sml_alloc(i32 inreg 12)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%s,i64 4
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 1
store i32%n,i32*%t,align 4
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i32*
store i32 0,i32*%z,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2),i8*inreg%s)#0
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B=invoke fastcc i32@_SMLLLN6TCSize7sizePatE_152(i32 inreg 0,i8*inreg%A,i8*inreg null)
to label%p unwind label%C
C:
%D=landingpad{i8*,i8*}
catch i8*null
%E=extractvalue{i8*,i8*}%D,1
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%b,align 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=icmp eq i8*%I,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL144,i64 0,i32 2)to i8*)
br i1%J,label%p,label%K
K:
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%b,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
}
define fastcc i32@_SMLFN6TCSize13isSmallerDeclE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%b,align 8
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=icmp sgt i32%n,0
br i1%o,label%r,label%p
p:
%q=phi i32[0,%C],[0,%g],[1,%r]
ret i32%q
r:
%s=call i8*@sml_alloc(i32 inreg 12)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%s,i64 4
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 1
store i32%n,i32*%t,align 4
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i32*
store i32 0,i32*%z,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2),i8*inreg%s)#0
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B=invoke fastcc i32@_SMLLLN6TCSize8sizeDeclE_153(i32 inreg 0,i8*inreg%A,i8*inreg null)
to label%p unwind label%C
C:
%D=landingpad{i8*,i8*}
catch i8*null
%E=extractvalue{i8*,i8*}%D,1
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%b,align 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=icmp eq i8*%I,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL144,i64 0,i32 2)to i8*)
br i1%J,label%p,label%K
K:
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%b,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
}
define fastcc i32@_SMLFN6TCSize17isSmallerDeclListE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=icmp sgt i32%o,0
br i1%p,label%s,label%q
q:
%r=phi i32[0,%W],[0,%h],[1,%s]
ret i32%r
s:
%t=call i8*@sml_alloc(i32 inreg 12)#0
%u=bitcast i8*%t to i32*
%v=getelementptr inbounds i8,i8*%t,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177288,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%t,i64 4
%y=bitcast i8*%x to i32*
store i32 0,i32*%y,align 1
store i32%o,i32*%u,align 4
%z=getelementptr inbounds i8,i8*%t,i64 8
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL145,i64 0,i32 2),i8*inreg%t)#0
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
store i8*%B,i8**%c,align 8
%E=getelementptr inbounds i8,i8*%B,i64 4
%F=bitcast i8*%E to i32*
store i32 0,i32*%F,align 1
%G=bitcast i8*%B to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%I=getelementptr inbounds i8,i8*%B,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%B,i64 16
%L=bitcast i8*%K to i32*
store i32 2,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to i8**
store i8*null,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 16
%U=bitcast i8*%T to i32*
store i32 3,i32*%U,align 4
%V=invoke fastcc i32@_SMLLLN6TCSize4sizeE_150(i32 inreg 0,i8*inreg%M)
to label%q unwind label%W
W:
%X=landingpad{i8*,i8*}
catch i8*null
%Y=extractvalue{i8*,i8*}%X,1
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%b,align 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
%ad=icmp eq i8*%ac,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL144,i64 0,i32 2)to i8*)
br i1%ad,label%q,label%ae
ae:
%af=call i8*@sml_alloc(i32 inreg 60)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177336,i32*%ah,align 4
%ai=getelementptr inbounds i8,i8*%af,i64 56
%aj=bitcast i8*%ai to i32*
store i32 1,i32*%aj,align 4
%ak=load i8*,i8**%b,align 8
%al=bitcast i8*%af to i8**
store i8*%ak,i8**%al,align 8
call void@sml_raise(i8*inreg%af)#1
unreachable
}
define internal fastcc i8*@_SMLLLN6TCSize7sizeExpE_235(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize7sizeExpE_236(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN6TCSize7sizeExpE_237(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN6TCSize8sizeDeclE_238(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN6TCSize8sizeDeclE_213(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN6TCSize8sizeDeclE_239(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN6TCSize8sizeDeclE_215(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN6TCSize7sizeExpE_244(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize7sizeExpE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize7sizePatE_245(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize7sizePatE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize8sizeDeclE_246(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize8sizeDeclE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize12sizeDeclListE_247(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize12sizeDeclListE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize12isSmallerExpE_248(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize12isSmallerExpE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize12isSmallerPatE_249(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize12isSmallerPatE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize13isSmallerDeclE_250(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize13isSmallerDeclE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN6TCSize17isSmallerDeclListE_251(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6TCSize17isSmallerDeclListE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
