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