@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN4List5EmptyE=external local_unnamed_addr global i8*
@_SMLZN7LibBase8NotFoundE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:86.26(3299)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:90.26(3422)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:103.27(3933)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:105.27(4035)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:108.27(4180)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:111.27(4325)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:155.10(5857)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:185.22(6876)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:189.25(7015)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:286.2(10193)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:347.8(11985)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[51x i8]}><{[4x i8]zeroinitializer,i32 -2147483597,[51x i8]c"src/smlnj-lib/Util/binary-set-fn.sml:358.29(12226)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*null,i8*null,i32 3}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL7isEmpty_355 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7isEmpty_397 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL9listItems_357 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9listItems_398 to void(...)*),i32 -2147483647}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL8numItems_362 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8numItems_399 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL6toList_366 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6toList_400 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32)*@_SMLFN1__11BinarySetFnE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN1__11BinarySetFnE_403 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN1__11BinarySetFnE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@r,i64 0,i32 2)to i8*)
@_SML_ftab04b3f7ee9fcfa2b4_binary_set_fn=external global i8
@s=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main34dcc998b8dca612_lib_base()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load34dcc998b8dca612_lib_base(i8*)local_unnamed_addr
define private void@_SML_tabb04b3f7ee9fcfa2b4_binary_set_fn()#3{
unreachable
}
define void@_SML_load04b3f7ee9fcfa2b4_binary_set_fn(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@s,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@s,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load34dcc998b8dca612_lib_base(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb04b3f7ee9fcfa2b4_binary_set_fn,i8*@_SML_ftab04b3f7ee9fcfa2b4_binary_set_fn,i8*null)#0
ret void
}
define void@_SML_main04b3f7ee9fcfa2b4_binary_set_fn()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@s,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*@s,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main34dcc998b8dca612_lib_base()#2
br label%d
}
define internal fastcc i8*@_SMLL7minItem_251(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
g:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
br label%e
e:
%f=phi i8*[%o,%aq],[%a,%g]
%h=phi i8*[%ar,%aq],[%b,%g]
store i8*%h,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%d,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%f,%e]
%p=phi i8*[%l,%k],[%h,%e]
%q=getelementptr inbounds i8,i8*%o,i64 4
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=add i32%s,3
%u=sub i32 0,%s
%v=and i32%t,%u
%w=icmp eq i8*%p,null
br i1%w,label%x,label%P
x:
store i8*null,i8**%d,align 8
%y=load i8*,i8**@_SMLZN4List5EmptyE,align 8
store i8*%y,i8**%c,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**%d,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,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,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@a,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**%d,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 i32%s,7
%R=add i32%Q,%v
%S=and i32%R,-8
%T=sext i32%S to i64
%U=getelementptr inbounds i8,i8*%p,i64%T
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=icmp eq i8*%W,null
br i1%X,label%Y,label%aq
Y:
%Z=bitcast i8*%o to i32*
%aa=load i32,i32*%Z,align 4
%ab=icmp eq i32%aa,0
br i1%ab,label%ah,label%ac
ac:
%ad=sext i32%v to i64
%ae=getelementptr inbounds i8,i8*%p,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
ret i8*%ag
ah:
%ai=bitcast i8*%q to i32*
store i8*null,i8**%d,align 8
%aj=load i32,i32*%ai,align 4
%ak=call i8*@sml_alloc(i32 inreg%aj)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32%aj,i32*%am,align 4
%an=load i8*,i8**%c,align 8
%ao=sext i32%v to i64
%ap=getelementptr inbounds i8,i8*%an,i64%ao
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ak,i8*%ap,i32%aj,i1 false)
ret i8*%ak
aq:
store i8*null,i8**%c,align 8
%ar=load i8*,i8**%V,align 8
br label%e
}
define internal fastcc i8*@_SMLL7maxItem_253(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
g:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
br label%e
e:
%f=phi i8*[%o,%as],[%a,%g]
%h=phi i8*[%at,%as],[%b,%g]
store i8*%h,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%d,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%f,%e]
%p=phi i8*[%l,%k],[%h,%e]
%q=getelementptr inbounds i8,i8*%o,i64 4
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=add i32%s,3
%u=sub i32 0,%s
%v=and i32%t,%u
%w=icmp eq i8*%p,null
br i1%w,label%x,label%P
x:
store i8*null,i8**%d,align 8
%y=load i8*,i8**@_SMLZN4List5EmptyE,align 8
store i8*%y,i8**%c,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**%d,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,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,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@b,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**%d,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 i32%s,23
%R=add i32%Q,%v
%S=and i32%R,-8
%T=add i32%S,-1
%U=and i32%T,-8
%V=sext i32%U to i64
%W=getelementptr inbounds i8,i8*%p,i64%V
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=icmp eq i8*%Y,null
br i1%Z,label%aa,label%as
aa:
%ab=bitcast i8*%o to i32*
%ac=load i32,i32*%ab,align 4
%ad=icmp eq i32%ac,0
br i1%ad,label%aj,label%ae
ae:
%af=sext i32%v to i64
%ag=getelementptr inbounds i8,i8*%p,i64%af
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
ret i8*%ai
aj:
%ak=bitcast i8*%q to i32*
store i8*null,i8**%d,align 8
%al=load i32,i32*%ak,align 4
%am=call i8*@sml_alloc(i32 inreg%al)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32%al,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
%aq=sext i32%v to i64
%ar=getelementptr inbounds i8,i8*%ap,i64%aq
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%am,i8*%ar,i32%al,i1 false)
ret i8*%am
as:
store i8*null,i8**%c,align 8
%at=load i8*,i8**%X,align 8
br label%e
}
define internal fastcc i8*@_SMLL3mkT_255(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=add i32%i,-1
%k=sub i32 0,%i
%l=and i32%j,%k
%m=add i32%i,3
%n=add i32%m,%l
%o=and i32%n,-4
%p=add i32%o,11
%q=and i32%p,-8
%r=add i32%q,15
%s=and i32%r,-8
%t=and i32%m,%k
%u=add i32%i,7
%v=add i32%u,%t
%w=and i32%v,-8
%x=add i32%w,15
%y=and i32%x,-8
%z=add i32%y,15
%A=and i32%z,-8
%B=lshr i32%x,3
%C=lshr i32%v,3
%D=sub nsw i32%B,%C
%E=lshr i32%t,3
%F=sub nsw i32%C,%E
%G=shl i32 1,%D
%H=or i32%G,1
%I=shl i32%H,%F
%J=bitcast i8*%a to i32*
%K=load i32,i32*%J,align 4
%L=or i32%I,%K
%M=shl i32%L,%E
%N=or i32%A,4
%O=icmp eq i32%K,0
br i1%O,label%U,label%P
P:
%Q=sext i32%l to i64
%R=getelementptr inbounds i8,i8*%b,i64%Q
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
br label%af
U:
%V=call i8*@sml_alloc(i32 inreg%i)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32%i,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
%Z=sext i32%l to i64
%aa=getelementptr inbounds i8,i8*%Y,i64%Z
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%V,i8*%aa,i32%i,i1 false)
%ab=load i8*,i8**%f,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 4
%ad=bitcast i8*%ac to i32*
%ae=bitcast i8*%ab to i32*
br label%af
af:
%ag=phi i32*[%ae,%U],[%J,%P]
%ah=phi i32*[%ad,%U],[%h,%P]
%ai=phi i8*[%Y,%U],[%b,%P]
%aj=phi i8*[%V,%U],[%T,%P]
store i8*%aj,i8**%d,align 8
%ak=sext i32%o to i64
%al=getelementptr inbounds i8,i8*%ai,i64%ak
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=sext i32%q to i64
%ap=getelementptr inbounds i8,i8*%ai,i64%ao
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%e,align 8
%as=sext i32%s to i64
%at=getelementptr inbounds i8,i8*%ai,i64%as
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%c,align 8
%aw=load i32,i32*%ah,align 4
store i8*null,i8**%f,align 8
%ax=load i32,i32*%ag,align 4
%ay=call i8*@sml_alloc(i32 inreg%N)#0
%az=or i32%A,1342177280
%aA=bitcast i8*%ay to i32*
%aB=getelementptr inbounds i8,i8*%ay,i64 -4
%aC=bitcast i8*%aB to i32*
store i32%az,i32*%aC,align 4
call void@llvm.memset.p0i8.i32(i8*%ay,i8 0,i32%N,i1 false)
store i32%an,i32*%aA,align 4
%aD=icmp eq i32%ax,0
%aE=load i8*,i8**%d,align 8
%aF=sext i32%t to i64
%aG=getelementptr inbounds i8,i8*%ay,i64%aF
br i1%aD,label%aJ,label%aH
aH:
%aI=bitcast i8*%aG to i8**
store i8*%aE,i8**%aI,align 8
br label%aK
aJ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aG,i8*%aE,i32%aw,i1 false)
br label%aK
aK:
%aL=load i8*,i8**%e,align 8
%aM=sext i32%w to i64
%aN=getelementptr inbounds i8,i8*%ay,i64%aM
%aO=bitcast i8*%aN to i8**
store i8*%aL,i8**%aO,align 8
%aP=load i8*,i8**%c,align 8
%aQ=sext i32%y to i64
%aR=getelementptr inbounds i8,i8*%ay,i64%aQ
%aS=bitcast i8*%aR to i8**
store i8*%aP,i8**%aS,align 8
%aT=sext i32%A to i64
%aU=getelementptr inbounds i8,i8*%ay,i64%aT
%aV=bitcast i8*%aU to i32*
store i32%M,i32*%aV,align 4
ret i8*%ay
}
define internal fastcc i8*@_SMLL1N_256(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%f,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=getelementptr inbounds i8,i8*%m,i64 12
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,-1
%s=sub i32 0,%q
%t=and i32%r,%s
%u=add i32%t,%q
%v=add i32%u,7
%w=and i32%v,-8
%x=add i32%w,15
%y=and i32%x,-8
%z=add i32%u,3
%A=and i32%z,-4
%B=add i32%A,11
%C=and i32%B,-8
%D=add i32%C,15
%E=and i32%D,-8
%F=add i32%E,15
%G=and i32%F,-8
%H=lshr i32%D,3
%I=lshr i32%B,3
%J=sub nsw i32%H,%I
%K=lshr i32%z,3
%L=sub nsw i32%I,%K
%M=lshr i32%t,3
%N=sub nsw i32%K,%M
%O=shl i32 1,%J
%P=or i32%O,1
%Q=shl i32%P,%L
%R=shl i32%Q,%N
%S=getelementptr inbounds i8,i8*%m,i64 8
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=or i32%R,%U
%W=or i32%G,4
%X=icmp eq i32%U,0
br i1%X,label%ae,label%Y
Y:
%Z=load i8*,i8**%c,align 8
%aa=sext i32%t to i64
%ab=getelementptr inbounds i8,i8*%Z,i64%aa
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
br label%al
ae:
%af=call i8*@sml_alloc(i32 inreg%q)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32%q,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=sext i32%t to i64
%ak=getelementptr inbounds i8,i8*%ai,i64%aj
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%af,i8*%ak,i32%q,i1 false)
br label%al
al:
%am=phi i8*[%ai,%ae],[%Z,%Y]
%an=phi i8*[%af,%ae],[%ad,%Y]
store i8*%an,i8**%d,align 8
%ao=sext i32%w to i64
%ap=getelementptr inbounds i8,i8*%am,i64%ao
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%e,align 8
%as=icmp eq i8*%ar,null
br i1%as,label%at,label%bP
at:
%au=sext i32%y to i64
%av=getelementptr inbounds i8,i8*%am,i64%au
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%c,align 8
%ay=icmp eq i8*%ax,null
br i1%ay,label%az,label%ba
az:
%aA=bitcast i8**%f to i8***
%aB=load i8**,i8***%aA,align 8
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%c,align 8
%aD=bitcast i8**%aB to i8*
%aE=getelementptr inbounds i8,i8*%aD,i64 12
%aF=bitcast i8*%aE to i32*
%aG=load i32,i32*%aF,align 4
store i8*null,i8**%f,align 8
%aH=getelementptr inbounds i8*,i8**%aB,i64 1
%aI=bitcast i8**%aH to i32*
%aJ=load i32,i32*%aI,align 4
%aK=call i8*@sml_alloc(i32 inreg%W)#0
%aL=or i32%G,1342177280
%aM=getelementptr inbounds i8,i8*%aK,i64 -4
%aN=bitcast i8*%aM to i32*
store i32%aL,i32*%aN,align 4
call void@llvm.memset.p0i8.i32(i8*%aK,i8 0,i32%W,i1 false)
%aO=icmp eq i32%aJ,0
%aP=load i8*,i8**%d,align 8
%aQ=sext i32%t to i64
%aR=getelementptr inbounds i8,i8*%aK,i64%aQ
br i1%aO,label%aU,label%aS
aS:
%aT=bitcast i8*%aR to i8**
store i8*%aP,i8**%aT,align 8
br label%aV
aU:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aR,i8*%aP,i32%aG,i1 false)
br label%aV
aV:
%aW=sext i32%A to i64
%aX=getelementptr inbounds i8,i8*%aK,i64%aW
%aY=bitcast i8*%aX to i32*
store i32 1,i32*%aY,align 4
%aZ=sext i32%C to i64
%a0=getelementptr inbounds i8,i8*%aK,i64%aZ
%a1=bitcast i8*%a0 to i8**
store i8*null,i8**%a1,align 8
%a2=sext i32%E to i64
%a3=getelementptr inbounds i8,i8*%aK,i64%a2
%a4=bitcast i8*%a3 to i8**
store i8*null,i8**%a4,align 8
%a5=sext i32%G to i64
%a6=getelementptr inbounds i8,i8*%aK,i64%a5
%a7=bitcast i8*%a6 to i32*
store i32%V,i32*%a7,align 4
%a8=load i8*,i8**%c,align 8
%a9=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%a8,i8*inreg%aK)
ret i8*%a9
ba:
%bb=bitcast i8*%ax to i32*
%bc=load i32,i32*%bb,align 4
%bd=bitcast i8**%f to i8***
%be=load i8**,i8***%bd,align 8
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%e,align 8
%bg=add nsw i32%bc,1
%bh=bitcast i8**%be to i8*
%bi=getelementptr inbounds i8,i8*%bh,i64 12
%bj=bitcast i8*%bi to i32*
%bk=load i32,i32*%bj,align 4
store i8*null,i8**%f,align 8
%bl=getelementptr inbounds i8*,i8**%be,i64 1
%bm=bitcast i8**%bl to i32*
%bn=load i32,i32*%bm,align 4
%bo=call i8*@sml_alloc(i32 inreg%W)#0
%bp=or i32%G,1342177280
%bq=getelementptr inbounds i8,i8*%bo,i64 -4
%br=bitcast i8*%bq to i32*
store i32%bp,i32*%br,align 4
call void@llvm.memset.p0i8.i32(i8*%bo,i8 0,i32%W,i1 false)
%bs=icmp eq i32%bn,0
%bt=load i8*,i8**%d,align 8
%bu=sext i32%t to i64
%bv=getelementptr inbounds i8,i8*%bo,i64%bu
br i1%bs,label%by,label%bw
bw:
%bx=bitcast i8*%bv to i8**
store i8*%bt,i8**%bx,align 8
br label%bz
by:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bv,i8*%bt,i32%bk,i1 false)
br label%bz
bz:
%bA=sext i32%A to i64
%bB=getelementptr inbounds i8,i8*%bo,i64%bA
%bC=bitcast i8*%bB to i32*
store i32%bg,i32*%bC,align 4
%bD=sext i32%C to i64
%bE=getelementptr inbounds i8,i8*%bo,i64%bD
%bF=bitcast i8*%bE to i8**
store i8*null,i8**%bF,align 8
%bG=load i8*,i8**%c,align 8
%bH=sext i32%E to i64
%bI=getelementptr inbounds i8,i8*%bo,i64%bH
%bJ=bitcast i8*%bI to i8**
store i8*%bG,i8**%bJ,align 8
%bK=sext i32%G to i64
%bL=getelementptr inbounds i8,i8*%bo,i64%bK
%bM=bitcast i8*%bL to i32*
store i32%V,i32*%bM,align 4
%bN=load i8*,i8**%e,align 8
%bO=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%bN,i8*inreg%bo)
ret i8*%bO
bP:
%bQ=bitcast i8*%ar to i32*
%bR=load i32,i32*%bQ,align 4
%bS=sext i32%y to i64
%bT=getelementptr inbounds i8,i8*%am,i64%bS
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%c,align 8
%bW=icmp eq i8*%bV,null
br i1%bW,label%bX,label%cA
bX:
%bY=bitcast i8**%f to i8***
%bZ=load i8**,i8***%bY,align 8
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%c,align 8
%b1=add nsw i32%bR,1
%b2=bitcast i8**%bZ to i8*
%b3=getelementptr inbounds i8,i8*%b2,i64 12
%b4=bitcast i8*%b3 to i32*
%b5=load i32,i32*%b4,align 4
store i8*null,i8**%f,align 8
%b6=getelementptr inbounds i8*,i8**%bZ,i64 1
%b7=bitcast i8**%b6 to i32*
%b8=load i32,i32*%b7,align 4
%b9=call i8*@sml_alloc(i32 inreg%W)#0
%ca=or i32%G,1342177280
%cb=getelementptr inbounds i8,i8*%b9,i64 -4
%cc=bitcast i8*%cb to i32*
store i32%ca,i32*%cc,align 4
call void@llvm.memset.p0i8.i32(i8*%b9,i8 0,i32%W,i1 false)
%cd=icmp eq i32%b8,0
%ce=load i8*,i8**%d,align 8
%cf=sext i32%t to i64
%cg=getelementptr inbounds i8,i8*%b9,i64%cf
br i1%cd,label%cj,label%ch
ch:
%ci=bitcast i8*%cg to i8**
store i8*%ce,i8**%ci,align 8
br label%ck
cj:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cg,i8*%ce,i32%b5,i1 false)
br label%ck
ck:
%cl=sext i32%A to i64
%cm=getelementptr inbounds i8,i8*%b9,i64%cl
%cn=bitcast i8*%cm to i32*
store i32%b1,i32*%cn,align 4
%co=load i8*,i8**%e,align 8
%cp=sext i32%C to i64
%cq=getelementptr inbounds i8,i8*%b9,i64%cp
%cr=bitcast i8*%cq to i8**
store i8*%co,i8**%cr,align 8
%cs=sext i32%E to i64
%ct=getelementptr inbounds i8,i8*%b9,i64%cs
%cu=bitcast i8*%ct to i8**
store i8*null,i8**%cu,align 8
%cv=sext i32%G to i64
%cw=getelementptr inbounds i8,i8*%b9,i64%cv
%cx=bitcast i8*%cw to i32*
store i32%V,i32*%cx,align 4
%cy=load i8*,i8**%c,align 8
%cz=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%cy,i8*inreg%b9)
ret i8*%cz
cA:
%cB=bitcast i8*%bV to i32*
%cC=load i32,i32*%cB,align 4
%cD=bitcast i8**%f to i8***
%cE=load i8**,i8***%cD,align 8
%cF=load i8*,i8**%cE,align 8
store i8*%cF,i8**%g,align 8
%cG=add i32%bR,1
%cH=add i32%cG,%cC
%cI=bitcast i8**%cE to i8*
%cJ=getelementptr inbounds i8,i8*%cI,i64 12
%cK=bitcast i8*%cJ to i32*
%cL=load i32,i32*%cK,align 4
store i8*null,i8**%f,align 8
%cM=getelementptr inbounds i8*,i8**%cE,i64 1
%cN=bitcast i8**%cM to i32*
%cO=load i32,i32*%cN,align 4
%cP=call i8*@sml_alloc(i32 inreg%W)#0
%cQ=or i32%G,1342177280
%cR=getelementptr inbounds i8,i8*%cP,i64 -4
%cS=bitcast i8*%cR to i32*
store i32%cQ,i32*%cS,align 4
call void@llvm.memset.p0i8.i32(i8*%cP,i8 0,i32%W,i1 false)
%cT=icmp eq i32%cO,0
%cU=load i8*,i8**%d,align 8
%cV=sext i32%t to i64
%cW=getelementptr inbounds i8,i8*%cP,i64%cV
br i1%cT,label%cZ,label%cX
cX:
%cY=bitcast i8*%cW to i8**
store i8*%cU,i8**%cY,align 8
br label%c0
cZ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cW,i8*%cU,i32%cL,i1 false)
br label%c0
c0:
%c1=sext i32%A to i64
%c2=getelementptr inbounds i8,i8*%cP,i64%c1
%c3=bitcast i8*%c2 to i32*
store i32%cH,i32*%c3,align 4
%c4=load i8*,i8**%e,align 8
%c5=sext i32%C to i64
%c6=getelementptr inbounds i8,i8*%cP,i64%c5
%c7=bitcast i8*%c6 to i8**
store i8*%c4,i8**%c7,align 8
%c8=load i8*,i8**%c,align 8
%c9=sext i32%E to i64
%da=getelementptr inbounds i8,i8*%cP,i64%c9
%db=bitcast i8*%da to i8**
store i8*%c8,i8**%db,align 8
%dc=sext i32%G to i64
%dd=getelementptr inbounds i8,i8*%cP,i64%dc
%de=bitcast i8*%dd to i32*
store i32%V,i32*%de,align 4
%df=load i8*,i8**%g,align 8
%dg=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%df,i8*inreg%cP)
ret i8*%dg
}
define internal fastcc i8*@_SMLL8single__L_258(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%h,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%a,%q]
%r=getelementptr inbounds i8,i8*%p,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,-1
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=add i32%z,15
%B=and i32%A,-8
%C=add i32%t,3
%D=and i32%C,%v
%E=add i32%x,%D
%F=and i32%E,-8
%G=add i32%F,15
%H=and i32%G,-8
%I=add i32%B,15
%J=and i32%I,-8
%K=lshr i32%A,3
%L=lshr i32%y,3
%M=sub nsw i32%K,%L
%N=lshr i32%w,3
%O=sub nsw i32%L,%N
%P=shl i32 1,%M
%Q=or i32%P,1
%R=shl i32%Q,%O
%S=getelementptr inbounds i8,i8*%p,i64 8
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=or i32%R,%U
%W=or i32%J,4
%X=icmp eq i32%U,0
br i1%X,label%ae,label%Y
Y:
%Z=load i8*,i8**%c,align 8
%aa=sext i32%w to i64
%ab=getelementptr inbounds i8,i8*%Z,i64%aa
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
br label%al
ae:
%af=call i8*@sml_alloc(i32 inreg%t)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32%t,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=sext i32%w to i64
%ak=getelementptr inbounds i8,i8*%ai,i64%aj
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%af,i8*%ak,i32%t,i1 false)
br label%al
al:
%am=phi i8*[%ai,%ae],[%Z,%Y]
%an=phi i8*[%af,%ae],[%ad,%Y]
store i8*%an,i8**%d,align 8
%ao=sext i32%z to i64
%ap=getelementptr inbounds i8,i8*%am,i64%ao
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%e,align 8
%as=sext i32%B to i64
%at=getelementptr inbounds i8,i8*%am,i64%as
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
%aw=icmp eq i8*%av,null
br i1%aw,label%ax,label%aP
ax:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%ay=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ay,i8**%c,align 8
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
store i8*%az,i8**%d,align 8
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@c,i64 0,i32 2,i64 0),i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=call i8*@sml_alloc(i32 inreg 60)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177336,i32*%aK,align 4
%aL=getelementptr inbounds i8,i8*%aI,i64 56
%aM=bitcast i8*%aL to i32*
store i32 1,i32*%aM,align 4
%aN=load i8*,i8**%d,align 8
%aO=bitcast i8*%aI to i8**
store i8*%aN,i8**%aO,align 8
call void@sml_raise(i8*inreg%aI)#1
unreachable
aP:
store i8*%av,i8**%g,align 8
%aQ=load i8*,i8**%h,align 8
%aR=getelementptr inbounds i8,i8*%aQ,i64 8
%aS=bitcast i8*%aR to i32*
%aT=load i32,i32*%aS,align 4
%aU=icmp eq i32%aT,0
br i1%aU,label%a1,label%aV
aV:
%aW=bitcast i8*%aQ to i8**
%aX=sext i32%D to i64
%aY=getelementptr inbounds i8,i8*%av,i64%aX
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
br label%be
a1:
%a2=getelementptr inbounds i8,i8*%aQ,i64 12
%a3=bitcast i8*%a2 to i32*
%a4=load i32,i32*%a3,align 4
%a5=call i8*@sml_alloc(i32 inreg%a4)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32%a4,i32*%a7,align 4
%a8=load i8*,i8**%g,align 8
%a9=sext i32%D to i64
%ba=getelementptr inbounds i8,i8*%a8,i64%a9
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a5,i8*%ba,i32%a4,i1 false)
%bb=bitcast i8**%h to i8***
%bc=load i8**,i8***%bb,align 8
%bd=bitcast i8**%bc to i8*
br label%be
be:
%bf=phi i8*[%bd,%a1],[%aQ,%aV]
%bg=phi i8**[%bc,%a1],[%aW,%aV]
%bh=phi i8*[%a8,%a1],[%av,%aV]
%bi=phi i8*[%a5,%a1],[%a0,%aV]
store i8*%bi,i8**%f,align 8
%bj=sext i32%F to i64
%bk=getelementptr inbounds i8,i8*%bh,i64%bj
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
store i8*%bm,i8**%c,align 8
%bn=sext i32%H to i64
%bo=getelementptr inbounds i8,i8*%bh,i64%bn
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%g,align 8
%br=load i8*,i8**%bg,align 8
store i8*%br,i8**%i,align 8
%bs=load i8*,i8**%bg,align 8
store i8*%bs,i8**%j,align 8
%bt=getelementptr inbounds i8,i8*%bf,i64 12
%bu=bitcast i8*%bt to i32*
%bv=load i32,i32*%bu,align 4
%bw=getelementptr inbounds i8*,i8**%bg,i64 1
%bx=bitcast i8**%bw to i32*
%by=load i32,i32*%bx,align 4
%bz=call i8*@sml_alloc(i32 inreg%W)#0
%bA=or i32%J,1342177280
%bB=getelementptr inbounds i8,i8*%bz,i64 -4
%bC=bitcast i8*%bB to i32*
store i32%bA,i32*%bC,align 4
call void@llvm.memset.p0i8.i32(i8*%bz,i8 0,i32%W,i1 false)
%bD=icmp eq i32%by,0
%bE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bF=sext i32%w to i64
%bG=getelementptr inbounds i8,i8*%bz,i64%bF
br i1%bD,label%bJ,label%bH
bH:
%bI=bitcast i8*%bG to i8**
store i8*%bE,i8**%bI,align 8
br label%bK
bJ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bG,i8*%bE,i32%bv,i1 false)
br label%bK
bK:
%bL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bM=getelementptr inbounds i8,i8*%bz,i64%ao
%bN=bitcast i8*%bM to i8**
store i8*%bL,i8**%bN,align 8
%bO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bP=getelementptr inbounds i8,i8*%bz,i64%as
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=sext i32%J to i64
%bS=getelementptr inbounds i8,i8*%bz,i64%bR
%bT=bitcast i8*%bS to i32*
store i32%V,i32*%bT,align 4
%bU=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bV=call fastcc i8*@_SMLL1N_256(i8*inreg%bU,i8*inreg%bz)
store i8*%bV,i8**%c,align 8
%bW=load i8*,i8**%h,align 8
%bX=getelementptr inbounds i8,i8*%bW,i64 12
%bY=bitcast i8*%bX to i32*
%bZ=load i32,i32*%bY,align 4
store i8*null,i8**%h,align 8
%b0=getelementptr inbounds i8,i8*%bW,i64 8
%b1=bitcast i8*%b0 to i32*
%b2=load i32,i32*%b1,align 4
%b3=call i8*@sml_alloc(i32 inreg%W)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32%bA,i32*%b5,align 4
call void@llvm.memset.p0i8.i32(i8*%b3,i8 0,i32%W,i1 false)
%b6=icmp eq i32%b2,0
%b7=load i8*,i8**%f,align 8
%b8=getelementptr inbounds i8,i8*%b3,i64%bF
br i1%b6,label%cb,label%b9
b9:
%ca=bitcast i8*%b8 to i8**
store i8*%b7,i8**%ca,align 8
br label%cc
cb:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b8,i8*%b7,i32%bZ,i1 false)
br label%cc
cc:
%cd=load i8*,i8**%c,align 8
%ce=getelementptr inbounds i8,i8*%b3,i64%ao
%cf=bitcast i8*%ce to i8**
store i8*%cd,i8**%cf,align 8
%cg=load i8*,i8**%g,align 8
%ch=getelementptr inbounds i8,i8*%b3,i64%as
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%b3,i64%bR
%ck=bitcast i8*%cj to i32*
store i32%V,i32*%ck,align 4
%cl=load i8*,i8**%i,align 8
%cm=tail call fastcc i8*@_SMLL1N_256(i8*inreg%cl,i8*inreg%b3)
ret i8*%cm
}
define internal fastcc i8*@_SMLL8single__R_260(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%h,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%a,%q]
%r=getelementptr inbounds i8,i8*%p,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,-1
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=add i32%t,3
%B=and i32%A,%v
%C=add i32%x,%B
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=add i32%z,15
%H=and i32%G,-8
%I=add i32%H,15
%J=and i32%I,-8
%K=lshr i32%G,3
%L=lshr i32%y,3
%M=sub nsw i32%K,%L
%N=lshr i32%w,3
%O=sub nsw i32%L,%N
%P=shl i32 1,%M
%Q=or i32%P,1
%R=shl i32%Q,%O
%S=getelementptr inbounds i8,i8*%p,i64 8
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=or i32%R,%U
%W=or i32%J,4
%X=icmp eq i32%U,0
br i1%X,label%ae,label%Y
Y:
%Z=load i8*,i8**%c,align 8
%aa=sext i32%w to i64
%ab=getelementptr inbounds i8,i8*%Z,i64%aa
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
br label%al
ae:
%af=call i8*@sml_alloc(i32 inreg%t)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32%t,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=sext i32%w to i64
%ak=getelementptr inbounds i8,i8*%ai,i64%aj
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%af,i8*%ak,i32%t,i1 false)
br label%al
al:
%am=phi i8*[%ai,%ae],[%Z,%Y]
%an=phi i8*[%af,%ae],[%ad,%Y]
store i8*%an,i8**%d,align 8
%ao=sext i32%z to i64
%ap=getelementptr inbounds i8,i8*%am,i64%ao
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=icmp eq i8*%ar,null
br i1%as,label%at,label%aL
at:
store i8*null,i8**%d,align 8
store i8*null,i8**%h,align 8
%au=load i8*,i8**@_SMLZ5Match,align 8
store i8*%au,i8**%c,align 8
%av=call i8*@sml_alloc(i32 inreg 20)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177296,i32*%ax,align 4
store i8*%av,i8**%d,align 8
%ay=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@d,i64 0,i32 2,i64 0),i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to i32*
store i32 3,i32*%aD,align 4
%aE=call i8*@sml_alloc(i32 inreg 60)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177336,i32*%aG,align 4
%aH=getelementptr inbounds i8,i8*%aE,i64 56
%aI=bitcast i8*%aH to i32*
store i32 1,i32*%aI,align 4
%aJ=load i8*,i8**%d,align 8
%aK=bitcast i8*%aE to i8**
store i8*%aJ,i8**%aK,align 8
call void@sml_raise(i8*inreg%aE)#1
unreachable
aL:
store i8*%ar,i8**%g,align 8
%aM=load i8*,i8**%h,align 8
%aN=getelementptr inbounds i8,i8*%aM,i64 8
%aO=bitcast i8*%aN to i32*
%aP=load i32,i32*%aO,align 4
%aQ=icmp eq i32%aP,0
br i1%aQ,label%aX,label%aR
aR:
%aS=bitcast i8*%aM to i8**
%aT=sext i32%B to i64
%aU=getelementptr inbounds i8,i8*%ar,i64%aT
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
br label%bb
aX:
%aY=getelementptr inbounds i8,i8*%aM,i64 12
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
%a1=call i8*@sml_alloc(i32 inreg%a0)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32%a0,i32*%a3,align 4
%a4=load i8*,i8**%g,align 8
%a5=sext i32%B to i64
%a6=getelementptr inbounds i8,i8*%a4,i64%a5
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a1,i8*%a6,i32%a0,i1 false)
%a7=load i8*,i8**%c,align 8
%a8=bitcast i8**%h to i8***
%a9=load i8**,i8***%a8,align 8
%ba=bitcast i8**%a9 to i8*
br label%bb
bb:
%bc=phi i8*[%ba,%aX],[%aM,%aR]
%bd=phi i8**[%a9,%aX],[%aS,%aR]
%be=phi i8*[%a7,%aX],[%am,%aR]
%bf=phi i8*[%a4,%aX],[%ar,%aR]
%bg=phi i8*[%a1,%aX],[%aW,%aR]
store i8*%bg,i8**%e,align 8
%bh=sext i32%D to i64
%bi=getelementptr inbounds i8,i8*%bf,i64%bh
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%f,align 8
%bl=sext i32%F to i64
%bm=getelementptr inbounds i8,i8*%bf,i64%bl
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
store i8*%bo,i8**%g,align 8
%bp=sext i32%H to i64
%bq=getelementptr inbounds i8,i8*%be,i64%bp
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%c,align 8
%bt=load i8*,i8**%bd,align 8
store i8*%bt,i8**%i,align 8
%bu=load i8*,i8**%bd,align 8
store i8*%bu,i8**%j,align 8
%bv=getelementptr inbounds i8,i8*%bc,i64 12
%bw=bitcast i8*%bv to i32*
%bx=load i32,i32*%bw,align 4
%by=getelementptr inbounds i8*,i8**%bd,i64 1
%bz=bitcast i8**%by to i32*
%bA=load i32,i32*%bz,align 4
%bB=call i8*@sml_alloc(i32 inreg%W)#0
%bC=or i32%J,1342177280
%bD=getelementptr inbounds i8,i8*%bB,i64 -4
%bE=bitcast i8*%bD to i32*
store i32%bC,i32*%bE,align 4
call void@llvm.memset.p0i8.i32(i8*%bB,i8 0,i32%W,i1 false)
%bF=icmp eq i32%bA,0
%bG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bH=sext i32%w to i64
%bI=getelementptr inbounds i8,i8*%bB,i64%bH
br i1%bF,label%bL,label%bJ
bJ:
%bK=bitcast i8*%bI to i8**
store i8*%bG,i8**%bK,align 8
br label%bM
bL:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bI,i8*%bG,i32%bx,i1 false)
br label%bM
bM:
%bN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bO=getelementptr inbounds i8,i8*%bB,i64%ao
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bR=getelementptr inbounds i8,i8*%bB,i64%bp
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=sext i32%J to i64
%bU=getelementptr inbounds i8,i8*%bB,i64%bT
%bV=bitcast i8*%bU to i32*
store i32%V,i32*%bV,align 4
%bW=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bX=call fastcc i8*@_SMLL1N_256(i8*inreg%bW,i8*inreg%bB)
store i8*%bX,i8**%c,align 8
%bY=load i8*,i8**%h,align 8
%bZ=getelementptr inbounds i8,i8*%bY,i64 12
%b0=bitcast i8*%bZ to i32*
%b1=load i32,i32*%b0,align 4
store i8*null,i8**%h,align 8
%b2=getelementptr inbounds i8,i8*%bY,i64 8
%b3=bitcast i8*%b2 to i32*
%b4=load i32,i32*%b3,align 4
%b5=call i8*@sml_alloc(i32 inreg%W)#0
%b6=getelementptr inbounds i8,i8*%b5,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32%bC,i32*%b7,align 4
call void@llvm.memset.p0i8.i32(i8*%b5,i8 0,i32%W,i1 false)
%b8=icmp eq i32%b4,0
%b9=load i8*,i8**%e,align 8
%ca=getelementptr inbounds i8,i8*%b5,i64%bH
br i1%b8,label%cd,label%cb
cb:
%cc=bitcast i8*%ca to i8**
store i8*%b9,i8**%cc,align 8
br label%ce
cd:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ca,i8*%b9,i32%b1,i1 false)
br label%ce
ce:
%cf=load i8*,i8**%f,align 8
%cg=getelementptr inbounds i8,i8*%b5,i64%ao
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=load i8*,i8**%c,align 8
%cj=getelementptr inbounds i8,i8*%b5,i64%bp
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%b5,i64%bT
%cm=bitcast i8*%cl to i32*
store i32%V,i32*%cm,align 4
%cn=load i8*,i8**%i,align 8
%co=tail call fastcc i8*@_SMLL1N_256(i8*inreg%cn,i8*inreg%b5)
ret i8*%co
}
define internal fastcc i8*@_SMLL8double__L_262(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%j,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%a,%s]
%t=getelementptr inbounds i8,i8*%r,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,-1
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%B,15
%D=and i32%C,-8
%E=add i32%v,3
%F=and i32%E,%x
%G=add i32%z,%F
%H=and i32%G,-8
%I=add i32%H,15
%J=and i32%I,-8
%K=add i32%D,15
%L=and i32%K,-8
%M=lshr i32%C,3
%N=lshr i32%A,3
%O=sub nsw i32%M,%N
%P=lshr i32%y,3
%Q=sub nsw i32%N,%P
%R=shl i32 1,%O
%S=or i32%R,1
%T=shl i32%S,%Q
%U=getelementptr inbounds i8,i8*%r,i64 8
%V=bitcast i8*%U to i32*
%W=load i32,i32*%V,align 4
%X=or i32%T,%W
%Y=or i32%L,4
%Z=icmp eq i32%W,0
br i1%Z,label%ag,label%aa
aa:
%ab=load i8*,i8**%c,align 8
%ac=sext i32%y to i64
%ad=getelementptr inbounds i8,i8*%ab,i64%ac
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
br label%an
ag:
%ah=call i8*@sml_alloc(i32 inreg%v)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32%v,i32*%aj,align 4
%ak=load i8*,i8**%c,align 8
%al=sext i32%y to i64
%am=getelementptr inbounds i8,i8*%ak,i64%al
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ah,i8*%am,i32%v,i1 false)
br label%an
an:
%ao=phi i8*[%ak,%ag],[%ab,%aa]
%ap=phi i8*[%ah,%ag],[%af,%aa]
store i8*%ap,i8**%d,align 8
%aq=sext i32%B to i64
%ar=getelementptr inbounds i8,i8*%ao,i64%aq
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
store i8*%at,i8**%e,align 8
%au=sext i32%D to i64
%av=getelementptr inbounds i8,i8*%ao,i64%au
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
%ay=icmp eq i8*%ax,null
br i1%ay,label%az,label%aA
az:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
br label%db
aA:
store i8*%ax,i8**%i,align 8
%aB=load i8*,i8**%j,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 8
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
%aF=icmp eq i32%aE,0
br i1%aF,label%aL,label%aG
aG:
%aH=sext i32%F to i64
%aI=getelementptr inbounds i8,i8*%ax,i64%aH
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
br label%aV
aL:
%aM=getelementptr inbounds i8,i8*%aB,i64 12
%aN=bitcast i8*%aM to i32*
%aO=load i32,i32*%aN,align 4
%aP=call i8*@sml_alloc(i32 inreg%aO)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32%aO,i32*%aR,align 4
%aS=load i8*,i8**%i,align 8
%aT=sext i32%F to i64
%aU=getelementptr inbounds i8,i8*%aS,i64%aT
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aP,i8*%aU,i32%aO,i1 false)
br label%aV
aV:
%aW=phi i8*[%aS,%aL],[%ax,%aG]
%aX=phi i8*[%aP,%aL],[%aK,%aG]
store i8*%aX,i8**%f,align 8
%aY=sext i32%H to i64
%aZ=getelementptr inbounds i8,i8*%aW,i64%aY
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
%a2=icmp eq i8*%a1,null
br i1%a2,label%a3,label%a4
a3:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%i,align 8
br label%db
a4:
store i8*%a1,i8**%h,align 8
%a5=load i8*,i8**%j,align 8
%a6=getelementptr inbounds i8,i8*%a5,i64 8
%a7=bitcast i8*%a6 to i32*
%a8=load i32,i32*%a7,align 4
%a9=icmp eq i32%a8,0
br i1%a9,label%bh,label%ba
ba:
%bb=bitcast i8*%a5 to i8**
%bc=sext i32%F to i64
%bd=getelementptr inbounds i8,i8*%a1,i64%bc
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
%bg=bitcast i8**%j to i8***
br label%bv
bh:
%bi=getelementptr inbounds i8,i8*%a5,i64 12
%bj=bitcast i8*%bi to i32*
%bk=load i32,i32*%bj,align 4
%bl=call i8*@sml_alloc(i32 inreg%bk)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32%bk,i32*%bn,align 4
%bo=load i8*,i8**%h,align 8
%bp=sext i32%F to i64
%bq=getelementptr inbounds i8,i8*%bo,i64%bp
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bl,i8*%bq,i32%bk,i1 false)
%br=load i8*,i8**%i,align 8
%bs=bitcast i8**%j to i8***
%bt=load i8**,i8***%bs,align 8
%bu=bitcast i8**%bt to i8*
br label%bv
bv:
%bw=phi i8***[%bs,%bh],[%bg,%ba]
%bx=phi i8*[%bu,%bh],[%a5,%ba]
%by=phi i8**[%bt,%bh],[%bb,%ba]
%bz=phi i8*[%br,%bh],[%aW,%ba]
%bA=phi i8*[%bo,%bh],[%a1,%ba]
%bB=phi i8*[%bl,%bh],[%bf,%ba]
store i8*%bB,i8**%g,align 8
%bC=getelementptr inbounds i8,i8*%bA,i64%aY
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%c,align 8
%bF=sext i32%J to i64
%bG=getelementptr inbounds i8,i8*%bA,i64%bF
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%h,align 8
%bJ=getelementptr inbounds i8,i8*%bz,i64%bF
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%i,align 8
%bM=load i8*,i8**%by,align 8
store i8*%bM,i8**%k,align 8
%bN=load i8*,i8**%by,align 8
store i8*%bN,i8**%l,align 8
%bO=getelementptr inbounds i8,i8*%bx,i64 12
%bP=bitcast i8*%bO to i32*
%bQ=load i32,i32*%bP,align 4
%bR=getelementptr inbounds i8*,i8**%by,i64 1
%bS=bitcast i8**%bR to i32*
%bT=load i32,i32*%bS,align 4
%bU=call i8*@sml_alloc(i32 inreg%Y)#0
%bV=or i32%L,1342177280
%bW=getelementptr inbounds i8,i8*%bU,i64 -4
%bX=bitcast i8*%bW to i32*
store i32%bV,i32*%bX,align 4
call void@llvm.memset.p0i8.i32(i8*%bU,i8 0,i32%Y,i1 false)
%bY=icmp eq i32%bT,0
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=sext i32%y to i64
%b1=getelementptr inbounds i8,i8*%bU,i64%b0
br i1%bY,label%b4,label%b2
b2:
%b3=bitcast i8*%b1 to i8**
store i8*%bZ,i8**%b3,align 8
br label%b5
b4:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b1,i8*%bZ,i32%bQ,i1 false)
br label%b5
b5:
%b6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b7=getelementptr inbounds i8,i8*%bU,i64%aq
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ca=getelementptr inbounds i8,i8*%bU,i64%au
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=sext i32%L to i64
%cd=getelementptr inbounds i8,i8*%bU,i64%cc
%ce=bitcast i8*%cd to i32*
store i32%X,i32*%ce,align 4
%cf=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cg=call fastcc i8*@_SMLL1N_256(i8*inreg%cf,i8*inreg%bU)
store i8*%cg,i8**%c,align 8
%ch=load i8**,i8***%bw,align 8
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%d,align 8
%cj=bitcast i8**%ch to i8*
%ck=getelementptr inbounds i8,i8*%cj,i64 12
%cl=bitcast i8*%ck to i32*
%cm=load i32,i32*%cl,align 4
%cn=getelementptr inbounds i8*,i8**%ch,i64 1
%co=bitcast i8**%cn to i32*
%cp=load i32,i32*%co,align 4
%cq=call i8*@sml_alloc(i32 inreg%Y)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32%bV,i32*%cs,align 4
call void@llvm.memset.p0i8.i32(i8*%cq,i8 0,i32%Y,i1 false)
%ct=icmp eq i32%cp,0
%cu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cv=getelementptr inbounds i8,i8*%cq,i64%b0
br i1%ct,label%cy,label%cw
cw:
%cx=bitcast i8*%cv to i8**
store i8*%cu,i8**%cx,align 8
br label%cz
cy:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cv,i8*%cu,i32%cm,i1 false)
br label%cz
cz:
%cA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cB=getelementptr inbounds i8,i8*%cq,i64%aq
%cC=bitcast i8*%cB to i8**
store i8*%cA,i8**%cC,align 8
%cD=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cE=getelementptr inbounds i8,i8*%cq,i64%au
%cF=bitcast i8*%cE to i8**
store i8*%cD,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cq,i64%cc
%cH=bitcast i8*%cG to i32*
store i32%X,i32*%cH,align 4
%cI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cJ=call fastcc i8*@_SMLL1N_256(i8*inreg%cI,i8*inreg%cq)
store i8*%cJ,i8**%d,align 8
%cK=load i8*,i8**%j,align 8
%cL=getelementptr inbounds i8,i8*%cK,i64 12
%cM=bitcast i8*%cL to i32*
%cN=load i32,i32*%cM,align 4
store i8*null,i8**%j,align 8
%cO=getelementptr inbounds i8,i8*%cK,i64 8
%cP=bitcast i8*%cO to i32*
%cQ=load i32,i32*%cP,align 4
%cR=call i8*@sml_alloc(i32 inreg%Y)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32%bV,i32*%cT,align 4
call void@llvm.memset.p0i8.i32(i8*%cR,i8 0,i32%Y,i1 false)
%cU=icmp eq i32%cQ,0
%cV=load i8*,i8**%g,align 8
%cW=getelementptr inbounds i8,i8*%cR,i64%b0
br i1%cU,label%cZ,label%cX
cX:
%cY=bitcast i8*%cW to i8**
store i8*%cV,i8**%cY,align 8
br label%c0
cZ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cW,i8*%cV,i32%cN,i1 false)
br label%c0
c0:
%c1=load i8*,i8**%c,align 8
%c2=getelementptr inbounds i8,i8*%cR,i64%aq
%c3=bitcast i8*%c2 to i8**
store i8*%c1,i8**%c3,align 8
%c4=load i8*,i8**%d,align 8
%c5=getelementptr inbounds i8,i8*%cR,i64%au
%c6=bitcast i8*%c5 to i8**
store i8*%c4,i8**%c6,align 8
%c7=getelementptr inbounds i8,i8*%cR,i64%cc
%c8=bitcast i8*%c7 to i32*
store i32%X,i32*%c8,align 4
%c9=load i8*,i8**%k,align 8
%da=tail call fastcc i8*@_SMLL1N_256(i8*inreg%c9,i8*inreg%cR)
ret i8*%da
db:
%dc=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dc,i8**%c,align 8
%dd=call i8*@sml_alloc(i32 inreg 20)#0
%de=getelementptr inbounds i8,i8*%dd,i64 -4
%df=bitcast i8*%de to i32*
store i32 1342177296,i32*%df,align 4
store i8*%dd,i8**%d,align 8
%dg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dh=bitcast i8*%dd to i8**
store i8*%dg,i8**%dh,align 8
%di=getelementptr inbounds i8,i8*%dd,i64 8
%dj=bitcast i8*%di to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@e,i64 0,i32 2,i64 0),i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%dd,i64 16
%dl=bitcast i8*%dk to i32*
store i32 3,i32*%dl,align 4
%dm=call i8*@sml_alloc(i32 inreg 60)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177336,i32*%do,align 4
%dp=getelementptr inbounds i8,i8*%dm,i64 56
%dq=bitcast i8*%dp to i32*
store i32 1,i32*%dq,align 4
%dr=load i8*,i8**%d,align 8
%ds=bitcast i8*%dm to i8**
store i8*%dr,i8**%ds,align 8
call void@sml_raise(i8*inreg%dm)#1
unreachable
}
define internal fastcc i8*@_SMLL8double__R_264(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%k,align 8
store i8*%b,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%k,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%a,%s]
%t=getelementptr inbounds i8,i8*%r,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,-1
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%v,3
%D=and i32%C,%x
%E=add i32%z,%D
%F=and i32%E,-8
%G=add i32%F,15
%H=and i32%G,-8
%I=add i32%B,15
%J=and i32%I,-8
%K=add i32%J,15
%L=and i32%K,-8
%M=lshr i32%I,3
%N=lshr i32%A,3
%O=sub nsw i32%M,%N
%P=lshr i32%y,3
%Q=sub nsw i32%N,%P
%R=shl i32 1,%O
%S=or i32%R,1
%T=shl i32%S,%Q
%U=getelementptr inbounds i8,i8*%r,i64 8
%V=bitcast i8*%U to i32*
%W=load i32,i32*%V,align 4
%X=or i32%T,%W
%Y=or i32%L,4
%Z=icmp eq i32%W,0
br i1%Z,label%ag,label%aa
aa:
%ab=load i8*,i8**%c,align 8
%ac=sext i32%y to i64
%ad=getelementptr inbounds i8,i8*%ab,i64%ac
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
br label%an
ag:
%ah=call i8*@sml_alloc(i32 inreg%v)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32%v,i32*%aj,align 4
%ak=load i8*,i8**%c,align 8
%al=sext i32%y to i64
%am=getelementptr inbounds i8,i8*%ak,i64%al
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ah,i8*%am,i32%v,i1 false)
br label%an
an:
%ao=phi i8*[%ak,%ag],[%ab,%aa]
%ap=phi i8*[%ah,%ag],[%af,%aa]
store i8*%ap,i8**%d,align 8
%aq=sext i32%B to i64
%ar=getelementptr inbounds i8,i8*%ao,i64%aq
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=icmp eq i8*%at,null
br i1%au,label%av,label%aw
av:
store i8*null,i8**%d,align 8
store i8*null,i8**%k,align 8
br label%da
aw:
store i8*%at,i8**%g,align 8
%ax=load i8*,i8**%k,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
%aB=icmp eq i32%aA,0
br i1%aB,label%aH,label%aC
aC:
%aD=sext i32%D to i64
%aE=getelementptr inbounds i8,i8*%at,i64%aD
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
br label%aR
aH:
%aI=getelementptr inbounds i8,i8*%ax,i64 12
%aJ=bitcast i8*%aI to i32*
%aK=load i32,i32*%aJ,align 4
%aL=call i8*@sml_alloc(i32 inreg%aK)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32%aK,i32*%aN,align 4
%aO=load i8*,i8**%g,align 8
%aP=sext i32%D to i64
%aQ=getelementptr inbounds i8,i8*%aO,i64%aP
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aL,i8*%aQ,i32%aK,i1 false)
br label%aR
aR:
%aS=phi i8*[%aO,%aH],[%at,%aC]
%aT=phi i8*[%aL,%aH],[%aG,%aC]
store i8*%aT,i8**%e,align 8
%aU=sext i32%F to i64
%aV=getelementptr inbounds i8,i8*%aS,i64%aU
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%f,align 8
%aY=sext i32%H to i64
%aZ=getelementptr inbounds i8,i8*%aS,i64%aY
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
%a2=icmp eq i8*%a1,null
br i1%a2,label%a3,label%a4
a3:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%k,align 8
store i8*null,i8**%g,align 8
br label%da
a4:
store i8*%a1,i8**%i,align 8
%a5=load i8*,i8**%k,align 8
%a6=getelementptr inbounds i8,i8*%a5,i64 8
%a7=bitcast i8*%a6 to i32*
%a8=load i32,i32*%a7,align 4
%a9=icmp eq i32%a8,0
br i1%a9,label%bh,label%ba
ba:
%bb=bitcast i8*%a5 to i8**
%bc=sext i32%D to i64
%bd=getelementptr inbounds i8,i8*%a1,i64%bc
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
%bg=bitcast i8**%k to i8***
br label%bu
bh:
%bi=getelementptr inbounds i8,i8*%a5,i64 12
%bj=bitcast i8*%bi to i32*
%bk=load i32,i32*%bj,align 4
%bl=call i8*@sml_alloc(i32 inreg%bk)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32%bk,i32*%bn,align 4
%bo=load i8*,i8**%i,align 8
%bp=sext i32%D to i64
%bq=getelementptr inbounds i8,i8*%bo,i64%bp
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bl,i8*%bq,i32%bk,i1 false)
%br=bitcast i8**%k to i8***
%bs=load i8**,i8***%br,align 8
%bt=bitcast i8**%bs to i8*
br label%bu
bu:
%bv=phi i8***[%br,%bh],[%bg,%ba]
%bw=phi i8*[%bt,%bh],[%a5,%ba]
%bx=phi i8**[%bs,%bh],[%bb,%ba]
%by=phi i8*[%bo,%bh],[%a1,%ba]
%bz=phi i8*[%bl,%bh],[%bf,%ba]
store i8*%bz,i8**%g,align 8
%bA=getelementptr inbounds i8,i8*%by,i64%aU
%bB=bitcast i8*%bA to i8**
%bC=load i8*,i8**%bB,align 8
store i8*%bC,i8**%h,align 8
%bD=getelementptr inbounds i8,i8*%by,i64%aY
%bE=bitcast i8*%bD to i8**
%bF=load i8*,i8**%bE,align 8
store i8*%bF,i8**%i,align 8
%bG=load i8*,i8**%c,align 8
%bH=sext i32%J to i64
%bI=getelementptr inbounds i8,i8*%bG,i64%bH
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%j,align 8
%bL=load i8*,i8**%bx,align 8
store i8*%bL,i8**%l,align 8
%bM=load i8*,i8**%bx,align 8
store i8*%bM,i8**%c,align 8
%bN=getelementptr inbounds i8,i8*%bw,i64 12
%bO=bitcast i8*%bN to i32*
%bP=load i32,i32*%bO,align 4
%bQ=getelementptr inbounds i8*,i8**%bx,i64 1
%bR=bitcast i8**%bQ to i32*
%bS=load i32,i32*%bR,align 4
%bT=call i8*@sml_alloc(i32 inreg%Y)#0
%bU=or i32%L,1342177280
%bV=getelementptr inbounds i8,i8*%bT,i64 -4
%bW=bitcast i8*%bV to i32*
store i32%bU,i32*%bW,align 4
call void@llvm.memset.p0i8.i32(i8*%bT,i8 0,i32%Y,i1 false)
%bX=icmp eq i32%bS,0
%bY=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bZ=sext i32%y to i64
%b0=getelementptr inbounds i8,i8*%bT,i64%bZ
br i1%bX,label%b3,label%b1
b1:
%b2=bitcast i8*%b0 to i8**
store i8*%bY,i8**%b2,align 8
br label%b4
b3:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b0,i8*%bY,i32%bP,i1 false)
br label%b4
b4:
%b5=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b6=getelementptr inbounds i8,i8*%bT,i64%aq
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b9=getelementptr inbounds i8,i8*%bT,i64%bH
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=sext i32%L to i64
%cc=getelementptr inbounds i8,i8*%bT,i64%cb
%cd=bitcast i8*%cc to i32*
store i32%X,i32*%cd,align 4
%ce=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cf=call fastcc i8*@_SMLL1N_256(i8*inreg%ce,i8*inreg%bT)
store i8*%cf,i8**%c,align 8
%cg=load i8**,i8***%bv,align 8
%ch=load i8*,i8**%cg,align 8
store i8*%ch,i8**%e,align 8
%ci=bitcast i8**%cg to i8*
%cj=getelementptr inbounds i8,i8*%ci,i64 12
%ck=bitcast i8*%cj to i32*
%cl=load i32,i32*%ck,align 4
%cm=getelementptr inbounds i8*,i8**%cg,i64 1
%cn=bitcast i8**%cm to i32*
%co=load i32,i32*%cn,align 4
%cp=call i8*@sml_alloc(i32 inreg%Y)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32%bU,i32*%cr,align 4
call void@llvm.memset.p0i8.i32(i8*%cp,i8 0,i32%Y,i1 false)
%cs=icmp eq i32%co,0
%ct=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cu=getelementptr inbounds i8,i8*%cp,i64%bZ
br i1%cs,label%cx,label%cv
cv:
%cw=bitcast i8*%cu to i8**
store i8*%ct,i8**%cw,align 8
br label%cy
cx:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cu,i8*%ct,i32%cl,i1 false)
br label%cy
cy:
%cz=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cA=getelementptr inbounds i8,i8*%cp,i64%aq
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cD=getelementptr inbounds i8,i8*%cp,i64%bH
%cE=bitcast i8*%cD to i8**
store i8*%cC,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cp,i64%cb
%cG=bitcast i8*%cF to i32*
store i32%X,i32*%cG,align 4
%cH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cI=call fastcc i8*@_SMLL1N_256(i8*inreg%cH,i8*inreg%cp)
store i8*%cI,i8**%d,align 8
%cJ=load i8*,i8**%k,align 8
%cK=getelementptr inbounds i8,i8*%cJ,i64 12
%cL=bitcast i8*%cK to i32*
%cM=load i32,i32*%cL,align 4
store i8*null,i8**%k,align 8
%cN=getelementptr inbounds i8,i8*%cJ,i64 8
%cO=bitcast i8*%cN to i32*
%cP=load i32,i32*%cO,align 4
%cQ=call i8*@sml_alloc(i32 inreg%Y)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32%bU,i32*%cS,align 4
call void@llvm.memset.p0i8.i32(i8*%cQ,i8 0,i32%Y,i1 false)
%cT=icmp eq i32%cP,0
%cU=load i8*,i8**%g,align 8
%cV=getelementptr inbounds i8,i8*%cQ,i64%bZ
br i1%cT,label%cY,label%cW
cW:
%cX=bitcast i8*%cV to i8**
store i8*%cU,i8**%cX,align 8
br label%cZ
cY:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cV,i8*%cU,i32%cM,i1 false)
br label%cZ
cZ:
%c0=load i8*,i8**%c,align 8
%c1=getelementptr inbounds i8,i8*%cQ,i64%aq
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=load i8*,i8**%d,align 8
%c4=getelementptr inbounds i8,i8*%cQ,i64%bH
%c5=bitcast i8*%c4 to i8**
store i8*%c3,i8**%c5,align 8
%c6=getelementptr inbounds i8,i8*%cQ,i64%cb
%c7=bitcast i8*%c6 to i32*
store i32%X,i32*%c7,align 4
%c8=load i8*,i8**%l,align 8
%c9=tail call fastcc i8*@_SMLL1N_256(i8*inreg%c8,i8*inreg%cQ)
ret i8*%c9
da:
%db=load i8*,i8**@_SMLZ5Match,align 8
store i8*%db,i8**%c,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**%d,align 8
%df=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dg=bitcast i8*%dc to i8**
store i8*%df,i8**%dg,align 8
%dh=getelementptr inbounds i8,i8*%dc,i64 8
%di=bitcast i8*%dh to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@f,i64 0,i32 2,i64 0),i8**%di,align 8
%dj=getelementptr inbounds i8,i8*%dc,i64 16
%dk=bitcast i8*%dj to i32*
store i32 3,i32*%dk,align 4
%dl=call i8*@sml_alloc(i32 inreg 60)#0
%dm=getelementptr inbounds i8,i8*%dl,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177336,i32*%dn,align 4
%do=getelementptr inbounds i8,i8*%dl,i64 56
%dp=bitcast i8*%do to i32*
store i32 1,i32*%dp,align 4
%dq=load i8*,i8**%d,align 8
%dr=bitcast i8*%dl to i8**
store i8*%dq,i8**%dr,align 8
call void@sml_raise(i8*inreg%dl)#1
unreachable
}
define internal fastcc i8*@_SMLL2T_G_265(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%f,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=getelementptr inbounds i8,i8*%m,i64 44
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,-1
%s=sub i32 0,%q
%t=and i32%r,%s
%u=add i32%t,%q
%v=add i32%u,3
%w=and i32%v,-4
%x=add i32%w,11
%y=and i32%x,-8
%z=add i32%y,15
%A=and i32%z,-8
%B=add i32%A,15
%C=and i32%B,-8
%D=lshr i32%z,3
%E=lshr i32%x,3
%F=sub nsw i32%D,%E
%G=lshr i32%v,3
%H=sub nsw i32%E,%G
%I=lshr i32%t,3
%J=sub nsw i32%G,%I
%K=shl i32 1,%F
%L=or i32%K,1
%M=shl i32%L,%H
%N=shl i32%M,%J
%O=getelementptr inbounds i8,i8*%m,i64 40
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=or i32%N,%Q
%S=or i32%C,4
%T=add i32%u,7
%U=and i32%T,-8
%V=add i32%q,3
%W=and i32%V,%s
%X=add i32%q,7
%Y=add i32%X,%W
%Z=and i32%Y,-8
%aa=add i32%Z,15
%ab=and i32%aa,-8
%ac=add i32%U,15
%ad=and i32%ac,-8
%ae=icmp eq i32%Q,0
br i1%ae,label%al,label%af
af:
%ag=load i8*,i8**%c,align 8
%ah=sext i32%t to i64
%ai=getelementptr inbounds i8,i8*%ag,i64%ah
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
br label%as
al:
%am=call i8*@sml_alloc(i32 inreg%q)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32%q,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
%aq=sext i32%t to i64
%ar=getelementptr inbounds i8,i8*%ap,i64%aq
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%am,i8*%ar,i32%q,i1 false)
br label%as
as:
%at=phi i8*[%ap,%al],[%ag,%af]
%au=phi i8*[%am,%al],[%ak,%af]
store i8*%au,i8**%d,align 8
%av=sext i32%U to i64
%aw=getelementptr inbounds i8,i8*%at,i64%av
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%e,align 8
%az=icmp eq i8*%ay,null
br i1%az,label%aA,label%cx
aA:
%aB=sext i32%ad to i64
%aC=getelementptr inbounds i8,i8*%at,i64%aB
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%e,align 8
%aF=icmp eq i8*%aE,null
br i1%aF,label%aG,label%bh
aG:
store i8*null,i8**%e,align 8
%aH=bitcast i8**%f to i8***
%aI=load i8**,i8***%aH,align 8
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%c,align 8
%aK=bitcast i8**%aI to i8*
%aL=getelementptr inbounds i8,i8*%aK,i64 44
%aM=bitcast i8*%aL to i32*
%aN=load i32,i32*%aM,align 4
store i8*null,i8**%f,align 8
%aO=getelementptr inbounds i8*,i8**%aI,i64 5
%aP=bitcast i8**%aO to i32*
%aQ=load i32,i32*%aP,align 4
%aR=call i8*@sml_alloc(i32 inreg%S)#0
%aS=or i32%C,1342177280
%aT=getelementptr inbounds i8,i8*%aR,i64 -4
%aU=bitcast i8*%aT to i32*
store i32%aS,i32*%aU,align 4
call void@llvm.memset.p0i8.i32(i8*%aR,i8 0,i32%S,i1 false)
%aV=icmp eq i32%aQ,0
%aW=load i8*,i8**%d,align 8
%aX=sext i32%t to i64
%aY=getelementptr inbounds i8,i8*%aR,i64%aX
br i1%aV,label%a1,label%aZ
aZ:
%a0=bitcast i8*%aY to i8**
store i8*%aW,i8**%a0,align 8
br label%a2
a1:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aY,i8*%aW,i32%aN,i1 false)
br label%a2
a2:
%a3=sext i32%w to i64
%a4=getelementptr inbounds i8,i8*%aR,i64%a3
%a5=bitcast i8*%a4 to i32*
store i32 1,i32*%a5,align 4
%a6=sext i32%y to i64
%a7=getelementptr inbounds i8,i8*%aR,i64%a6
%a8=bitcast i8*%a7 to i8**
store i8*null,i8**%a8,align 8
%a9=sext i32%A to i64
%ba=getelementptr inbounds i8,i8*%aR,i64%a9
%bb=bitcast i8*%ba to i8**
store i8*null,i8**%bb,align 8
%bc=sext i32%C to i64
%bd=getelementptr inbounds i8,i8*%aR,i64%bc
%be=bitcast i8*%bd to i32*
store i32%R,i32*%be,align 4
%bf=load i8*,i8**%c,align 8
%bg=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%bf,i8*inreg%aR)
ret i8*%bg
bh:
%bi=sext i32%Z to i64
%bj=getelementptr inbounds i8,i8*%aE,i64%bi
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
%bm=icmp eq i8*%bl,null
%bn=sext i32%ab to i64
%bo=getelementptr inbounds i8,i8*%aE,i64%bn
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
%br=icmp eq i8*%bq,null
br i1%bm,label%bs,label%b9
bs:
%bt=load i8*,i8**%f,align 8
br i1%br,label%bu,label%b4
bu:
%bv=bitcast i8*%bt to i8**
%bw=load i8*,i8**%bv,align 8
store i8*%bw,i8**%c,align 8
%bx=getelementptr inbounds i8,i8*%bt,i64 44
%by=bitcast i8*%bx to i32*
%bz=load i32,i32*%by,align 4
store i8*null,i8**%f,align 8
%bA=getelementptr inbounds i8,i8*%bt,i64 40
%bB=bitcast i8*%bA to i32*
%bC=load i32,i32*%bB,align 4
%bD=call i8*@sml_alloc(i32 inreg%S)#0
%bE=or i32%C,1342177280
%bF=getelementptr inbounds i8,i8*%bD,i64 -4
%bG=bitcast i8*%bF to i32*
store i32%bE,i32*%bG,align 4
call void@llvm.memset.p0i8.i32(i8*%bD,i8 0,i32%S,i1 false)
%bH=icmp eq i32%bC,0
%bI=load i8*,i8**%d,align 8
%bJ=sext i32%t to i64
%bK=getelementptr inbounds i8,i8*%bD,i64%bJ
br i1%bH,label%bN,label%bL
bL:
%bM=bitcast i8*%bK to i8**
store i8*%bI,i8**%bM,align 8
br label%bO
bN:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bK,i8*%bI,i32%bz,i1 false)
br label%bO
bO:
%bP=sext i32%w to i64
%bQ=getelementptr inbounds i8,i8*%bD,i64%bP
%bR=bitcast i8*%bQ to i32*
store i32 2,i32*%bR,align 4
%bS=sext i32%y to i64
%bT=getelementptr inbounds i8,i8*%bD,i64%bS
%bU=bitcast i8*%bT to i8**
store i8*null,i8**%bU,align 8
%bV=load i8*,i8**%e,align 8
%bW=sext i32%A to i64
%bX=getelementptr inbounds i8,i8*%bD,i64%bW
%bY=bitcast i8*%bX to i8**
store i8*%bV,i8**%bY,align 8
%bZ=sext i32%C to i64
%b0=getelementptr inbounds i8,i8*%bD,i64%bZ
%b1=bitcast i8*%b0 to i32*
store i32%R,i32*%b1,align 4
%b2=load i8*,i8**%c,align 8
%b3=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%b2,i8*inreg%bD)
ret i8*%b3
b4:
%b5=getelementptr inbounds i8,i8*%bt,i64 8
%b6=bitcast i8*%b5 to i8**
%b7=load i8*,i8**%b6,align 8
%b8=tail call fastcc i8*@_SMLL8single__L_258(i8*inreg%b7,i8*inreg%at)
ret i8*%b8
b9:
br i1%br,label%ca,label%cg
ca:
%cb=load i8*,i8**%f,align 8
%cc=getelementptr inbounds i8,i8*%cb,i64 24
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
%cf=tail call fastcc i8*@_SMLL8double__L_262(i8*inreg%ce,i8*inreg%at)
ret i8*%cf
cg:
%ch=bitcast i8*%bl to i32*
%ci=load i32,i32*%ch,align 4
%cj=bitcast i8*%bq to i32*
%ck=load i32,i32*%cj,align 4
%cl=icmp slt i32%ci,%ck
%cm=load i8*,i8**%f,align 8
br i1%cl,label%cn,label%cs
cn:
%co=getelementptr inbounds i8,i8*%cm,i64 8
%cp=bitcast i8*%co to i8**
%cq=load i8*,i8**%cp,align 8
%cr=tail call fastcc i8*@_SMLL8single__L_258(i8*inreg%cq,i8*inreg%at)
ret i8*%cr
cs:
%ct=getelementptr inbounds i8,i8*%cm,i64 24
%cu=bitcast i8*%ct to i8**
%cv=load i8*,i8**%cu,align 8
%cw=tail call fastcc i8*@_SMLL8double__L_262(i8*inreg%cv,i8*inreg%at)
ret i8*%cw
cx:
%cy=sext i32%Z to i64
%cz=getelementptr inbounds i8,i8*%ay,i64%cy
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
%cC=icmp eq i8*%cB,null
br i1%cC,label%cD,label%dU
cD:
%cE=sext i32%ab to i64
%cF=getelementptr inbounds i8,i8*%ay,i64%cE
%cG=bitcast i8*%cF to i8**
%cH=load i8*,i8**%cG,align 8
%cI=icmp eq i8*%cH,null
%cJ=sext i32%ad to i64
%cK=getelementptr inbounds i8,i8*%at,i64%cJ
%cL=bitcast i8*%cK to i8**
%cM=load i8*,i8**%cL,align 8
%cN=icmp eq i8*%cM,null
br i1%cI,label%cO,label%dC
cO:
br i1%cN,label%cP,label%dr
cP:
%cQ=bitcast i8**%f to i8***
%cR=load i8**,i8***%cQ,align 8
%cS=load i8*,i8**%cR,align 8
store i8*%cS,i8**%c,align 8
%cT=bitcast i8**%cR to i8*
%cU=getelementptr inbounds i8,i8*%cT,i64 44
%cV=bitcast i8*%cU to i32*
%cW=load i32,i32*%cV,align 4
store i8*null,i8**%f,align 8
%cX=getelementptr inbounds i8*,i8**%cR,i64 5
%cY=bitcast i8**%cX to i32*
%cZ=load i32,i32*%cY,align 4
%c0=call i8*@sml_alloc(i32 inreg%S)#0
%c1=or i32%C,1342177280
%c2=getelementptr inbounds i8,i8*%c0,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32%c1,i32*%c3,align 4
call void@llvm.memset.p0i8.i32(i8*%c0,i8 0,i32%S,i1 false)
%c4=icmp eq i32%cZ,0
%c5=load i8*,i8**%d,align 8
%c6=sext i32%t to i64
%c7=getelementptr inbounds i8,i8*%c0,i64%c6
br i1%c4,label%da,label%c8
c8:
%c9=bitcast i8*%c7 to i8**
store i8*%c5,i8**%c9,align 8
br label%db
da:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c7,i8*%c5,i32%cW,i1 false)
br label%db
db:
%dc=sext i32%w to i64
%dd=getelementptr inbounds i8,i8*%c0,i64%dc
%de=bitcast i8*%dd to i32*
store i32 2,i32*%de,align 4
%df=load i8*,i8**%e,align 8
%dg=sext i32%y to i64
%dh=getelementptr inbounds i8,i8*%c0,i64%dg
%di=bitcast i8*%dh to i8**
store i8*%df,i8**%di,align 8
%dj=sext i32%A to i64
%dk=getelementptr inbounds i8,i8*%c0,i64%dj
%dl=bitcast i8*%dk to i8**
store i8*null,i8**%dl,align 8
%dm=sext i32%C to i64
%dn=getelementptr inbounds i8,i8*%c0,i64%dm
%do=bitcast i8*%dn to i32*
store i32%R,i32*%do,align 4
%dp=load i8*,i8**%c,align 8
%dq=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%dp,i8*inreg%c0)
ret i8*%dq
dr:
%ds=bitcast i8*%ay to i32*
%dt=load i32,i32*%ds,align 4
%du=bitcast i8*%cM to i32*
%dv=load i32,i32*%du,align 4
%dw=getelementptr inbounds i8,i8*%cM,i64%cy
%dx=bitcast i8*%dw to i8**
%dy=load i8*,i8**%dx,align 8
%dz=getelementptr inbounds i8,i8*%cM,i64%cE
%dA=bitcast i8*%dz to i8**
%dB=load i8*,i8**%dA,align 8
store i8*%au,i8**%c,align 8
store i8*%ay,i8**%d,align 8
store i8*%cM,i8**%e,align 8
br label%eQ
dC:
br i1%cN,label%dD,label%dJ
dD:
%dE=load i8*,i8**%f,align 8
%dF=getelementptr inbounds i8,i8*%dE,i64 32
%dG=bitcast i8*%dF to i8**
%dH=load i8*,i8**%dG,align 8
%dI=tail call fastcc i8*@_SMLL8double__R_264(i8*inreg%dH,i8*inreg%at)
ret i8*%dI
dJ:
%dK=bitcast i8*%ay to i32*
%dL=load i32,i32*%dK,align 4
%dM=bitcast i8*%cM to i32*
%dN=load i32,i32*%dM,align 4
%dO=getelementptr inbounds i8,i8*%cM,i64%cy
%dP=bitcast i8*%dO to i8**
%dQ=load i8*,i8**%dP,align 8
%dR=getelementptr inbounds i8,i8*%cM,i64%cE
%dS=bitcast i8*%dR to i8**
%dT=load i8*,i8**%dS,align 8
store i8*%au,i8**%c,align 8
store i8*%ay,i8**%d,align 8
store i8*%cM,i8**%e,align 8
br label%eQ
dU:
%dV=bitcast i8*%cB to i32*
%dW=load i32,i32*%dV,align 4
%dX=sext i32%ab to i64
%dY=getelementptr inbounds i8,i8*%ay,i64%dX
%dZ=bitcast i8*%dY to i8**
%d0=load i8*,i8**%dZ,align 8
%d1=icmp eq i8*%d0,null
%d2=sext i32%ad to i64
%d3=getelementptr inbounds i8,i8*%at,i64%d2
%d4=bitcast i8*%d3 to i8**
%d5=load i8*,i8**%d4,align 8
%d6=icmp eq i8*%d5,null
br i1%d1,label%d7,label%ep
d7:
br i1%d6,label%d8,label%ee
d8:
%d9=load i8*,i8**%f,align 8
%ea=getelementptr inbounds i8,i8*%d9,i64 16
%eb=bitcast i8*%ea to i8**
%ec=load i8*,i8**%eb,align 8
%ed=tail call fastcc i8*@_SMLL8single__R_260(i8*inreg%ec,i8*inreg%at)
ret i8*%ed
ee:
%ef=bitcast i8*%ay to i32*
%eg=load i32,i32*%ef,align 4
%eh=bitcast i8*%d5 to i32*
%ei=load i32,i32*%eh,align 4
%ej=getelementptr inbounds i8,i8*%d5,i64%cy
%ek=bitcast i8*%ej to i8**
%el=load i8*,i8**%ek,align 8
%em=getelementptr inbounds i8,i8*%d5,i64%dX
%en=bitcast i8*%em to i8**
%eo=load i8*,i8**%en,align 8
store i8*%au,i8**%c,align 8
store i8*%ay,i8**%d,align 8
store i8*%d5,i8**%e,align 8
br label%eQ
ep:
br i1%d6,label%eq,label%eF
eq:
%er=bitcast i8*%d0 to i32*
%es=load i32,i32*%er,align 4
%et=icmp sgt i32%dW,%es
%eu=load i8*,i8**%f,align 8
br i1%et,label%ev,label%eA
ev:
%ew=getelementptr inbounds i8,i8*%eu,i64 16
%ex=bitcast i8*%ew to i8**
%ey=load i8*,i8**%ex,align 8
%ez=tail call fastcc i8*@_SMLL8single__R_260(i8*inreg%ey,i8*inreg%at)
ret i8*%ez
eA:
%eB=getelementptr inbounds i8,i8*%eu,i64 32
%eC=bitcast i8*%eB to i8**
%eD=load i8*,i8**%eC,align 8
%eE=tail call fastcc i8*@_SMLL8double__R_264(i8*inreg%eD,i8*inreg%at)
ret i8*%eE
eF:
%eG=bitcast i8*%ay to i32*
%eH=load i32,i32*%eG,align 4
%eI=bitcast i8*%d5 to i32*
%eJ=load i32,i32*%eI,align 4
%eK=getelementptr inbounds i8,i8*%d5,i64%cy
%eL=bitcast i8*%eK to i8**
%eM=load i8*,i8**%eL,align 8
%eN=getelementptr inbounds i8,i8*%d5,i64%dX
%eO=bitcast i8*%eN to i8**
%eP=load i8*,i8**%eO,align 8
store i8*%au,i8**%c,align 8
store i8*%ay,i8**%d,align 8
store i8*%d5,i8**%e,align 8
br label%eQ
eQ:
%eR=phi i32[%dt,%dr],[%dL,%dJ],[%eg,%ee],[%eH,%eF]
%eS=phi i8*[null,%dr],[%cH,%dJ],[null,%ee],[%d0,%eF]
%eT=phi i32[%dv,%dr],[%dN,%dJ],[%ei,%ee],[%eJ,%eF]
%eU=phi i8*[%dy,%dr],[%dQ,%dJ],[%el,%ee],[%eM,%eF]
%eV=phi i8*[%dB,%dr],[%dT,%dJ],[%eo,%ee],[%eP,%eF]
%eW=bitcast i8*%eU to i32*
%eX=bitcast i8*%eV to i32*
%eY=mul nsw i32%eR,3
%eZ=icmp slt i32%eT,%eY
br i1%eZ,label%fn,label%e0
e0:
%e1=icmp eq i8*%eU,null
br i1%e1,label%e4,label%e2
e2:
%e3=load i32,i32*%eW,align 4
br label%e4
e4:
%e5=phi i32[%e3,%e2],[0,%e0]
%e6=icmp eq i8*%eV,null
br i1%e6,label%e9,label%e7
e7:
%e8=load i32,i32*%eX,align 4
br label%e9
e9:
%fa=phi i32[%e8,%e7],[0,%e4]
%fb=icmp slt i32%e5,%fa
%fc=load i8*,i8**%f,align 8
br i1%fb,label%fd,label%fi
fd:
%fe=getelementptr inbounds i8,i8*%fc,i64 8
%ff=bitcast i8*%fe to i8**
%fg=load i8*,i8**%ff,align 8
%fh=tail call fastcc i8*@_SMLL8single__L_258(i8*inreg%fg,i8*inreg%at)
ret i8*%fh
fi:
%fj=getelementptr inbounds i8,i8*%fc,i64 24
%fk=bitcast i8*%fj to i8**
%fl=load i8*,i8**%fk,align 8
%fm=tail call fastcc i8*@_SMLL8double__L_262(i8*inreg%fl,i8*inreg%at)
ret i8*%fm
fn:
%fo=mul nsw i32%eT,3
%fp=icmp slt i32%eR,%fo
br i1%fp,label%fO,label%fq
fq:
br i1%cC,label%fu,label%fr
fr:
%fs=bitcast i8*%cB to i32*
%ft=load i32,i32*%fs,align 4
br label%fu
fu:
%fv=phi i32[%ft,%fr],[0,%fq]
%fw=icmp eq i8*%eS,null
br i1%fw,label%fA,label%fx
fx:
%fy=bitcast i8*%eS to i32*
%fz=load i32,i32*%fy,align 4
br label%fA
fA:
%fB=phi i32[%fz,%fx],[0,%fu]
%fC=icmp slt i32%fB,%fv
%fD=load i8*,i8**%f,align 8
br i1%fC,label%fE,label%fJ
fE:
%fF=getelementptr inbounds i8,i8*%fD,i64 16
%fG=bitcast i8*%fF to i8**
%fH=load i8*,i8**%fG,align 8
%fI=tail call fastcc i8*@_SMLL8single__R_260(i8*inreg%fH,i8*inreg%at)
ret i8*%fI
fJ:
%fK=getelementptr inbounds i8,i8*%fD,i64 32
%fL=bitcast i8*%fK to i8**
%fM=load i8*,i8**%fL,align 8
%fN=tail call fastcc i8*@_SMLL8double__R_264(i8*inreg%fM,i8*inreg%at)
ret i8*%fN
fO:
%fP=bitcast i8**%f to i8***
%fQ=load i8**,i8***%fP,align 8
%fR=load i8*,i8**%fQ,align 8
store i8*%fR,i8**%g,align 8
%fS=add i32%eR,1
%fT=add i32%fS,%eT
%fU=bitcast i8**%fQ to i8*
%fV=getelementptr inbounds i8,i8*%fU,i64 44
%fW=bitcast i8*%fV to i32*
%fX=load i32,i32*%fW,align 4
store i8*null,i8**%f,align 8
%fY=getelementptr inbounds i8*,i8**%fQ,i64 5
%fZ=bitcast i8**%fY to i32*
%f0=load i32,i32*%fZ,align 4
%f1=call i8*@sml_alloc(i32 inreg%S)#0
%f2=or i32%C,1342177280
%f3=getelementptr inbounds i8,i8*%f1,i64 -4
%f4=bitcast i8*%f3 to i32*
store i32%f2,i32*%f4,align 4
call void@llvm.memset.p0i8.i32(i8*%f1,i8 0,i32%S,i1 false)
%f5=icmp eq i32%f0,0
%f6=load i8*,i8**%c,align 8
%f7=sext i32%t to i64
%f8=getelementptr inbounds i8,i8*%f1,i64%f7
br i1%f5,label%gb,label%f9
f9:
%ga=bitcast i8*%f8 to i8**
store i8*%f6,i8**%ga,align 8
br label%gc
gb:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%f8,i8*%f6,i32%fX,i1 false)
br label%gc
gc:
%gd=sext i32%w to i64
%ge=getelementptr inbounds i8,i8*%f1,i64%gd
%gf=bitcast i8*%ge to i32*
store i32%fT,i32*%gf,align 4
%gg=load i8*,i8**%d,align 8
%gh=sext i32%y to i64
%gi=getelementptr inbounds i8,i8*%f1,i64%gh
%gj=bitcast i8*%gi to i8**
store i8*%gg,i8**%gj,align 8
%gk=load i8*,i8**%e,align 8
%gl=sext i32%A to i64
%gm=getelementptr inbounds i8,i8*%f1,i64%gl
%gn=bitcast i8*%gm to i8**
store i8*%gk,i8**%gn,align 8
%go=sext i32%C to i64
%gp=getelementptr inbounds i8,i8*%f1,i64%go
%gq=bitcast i8*%gp to i32*
store i32%R,i32*%gq,align 4
%gr=load i8*,i8**%g,align 8
%gs=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%gr,i8*inreg%f1)
ret i8*%gs
}
define internal fastcc i8*@_SMLL3add_266(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%g,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%a,%p]
%q=phi i8*[%l,%k],[%b,%p]
%r=getelementptr inbounds i8,i8*%o,i64 28
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,3
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=add i32%z,15
%B=and i32%A,-8
%C=and i32%x,%v
%D=add i32%t,-1
%E=and i32%D,%v
%F=add i32%E,%t
%G=add i32%D,%F
%H=and i32%G,%v
%I=add i32%x,%H
%J=and i32%I,-8
%K=lshr i32%H,3
%L=lshr i32%E,3
%M=sub nsw i32%K,%L
%N=getelementptr inbounds i8,i8*%o,i64 24
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=shl i32%P,%M
%R=or i32%Q,%P
%S=or i32%J,4
%T=add i32%F,3
%U=and i32%T,-4
%V=add i32%U,11
%W=and i32%V,-8
%X=add i32%W,15
%Y=and i32%X,-8
%Z=add i32%Y,15
%aa=and i32%Z,-8
%ab=lshr i32%X,3
%ac=lshr i32%V,3
%ad=sub nsw i32%ab,%ac
%ae=lshr i32%T,3
%af=sub nsw i32%ac,%ae
%ag=sub nsw i32%ae,%L
%ah=shl i32 1,%ad
%ai=or i32%ah,1
%aj=shl i32%ai,%af
%ak=shl i32%aj,%ag
%al=or i32%ak,%P
%am=or i32%aa,4
%an=add i32%x,%C
%ao=and i32%an,-8
%ap=lshr i32%C,3
%aq=shl i32%P,%ap
%ar=or i32%aq,1
%as=or i32%ao,4
%at=add i32%F,7
%au=and i32%at,-8
%av=add i32%au,15
%aw=and i32%av,-8
%ax=add i32%aw,15
%ay=and i32%ax,-8
%az=lshr i32%av,3
%aA=lshr i32%at,3
%aB=sub nsw i32%az,%aA
%aC=sub nsw i32%aA,%L
%aD=shl i32 1,%aB
%aE=or i32%aD,1
%aF=shl i32%aE,%aC
%aG=or i32%aF,%P
%aH=or i32%ay,4
%aI=bitcast i8*%q to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=icmp eq i8*%aJ,null
br i1%aK,label%aL,label%bE
aL:
%aM=icmp eq i32%P,0
br i1%aM,label%aS,label%aN
aN:
store i8*null,i8**%c,align 8
%aO=sext i32%C to i64
%aP=getelementptr inbounds i8,i8*%q,i64%aO
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
br label%a6
aS:
%aT=call i8*@sml_alloc(i32 inreg%t)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32%t,i32*%aV,align 4
%aW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aX=sext i32%C to i64
%aY=getelementptr inbounds i8,i8*%aW,i64%aX
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aT,i8*%aY,i32%t,i1 false)
%aZ=load i8*,i8**%g,align 8
%a0=getelementptr inbounds i8,i8*%aZ,i64 28
%a1=bitcast i8*%a0 to i32*
%a2=load i32,i32*%a1,align 4
%a3=getelementptr inbounds i8,i8*%aZ,i64 24
%a4=bitcast i8*%a3 to i32*
%a5=load i32,i32*%a4,align 4
br label%a6
a6:
%a7=phi i32[%a5,%aS],[%P,%aN]
%a8=phi i32[%a2,%aS],[%t,%aN]
%a9=phi i8*[%aZ,%aS],[%o,%aN]
%ba=phi i8*[%aT,%aS],[%aR,%aN]
store i8*%ba,i8**%c,align 8
%bb=getelementptr inbounds i8,i8*%a9,i64 8
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%d,align 8
store i8*null,i8**%g,align 8
%be=call i8*@sml_alloc(i32 inreg%am)#0
%bf=or i32%aa,1342177280
%bg=getelementptr inbounds i8,i8*%be,i64 -4
%bh=bitcast i8*%bg to i32*
store i32%bf,i32*%bh,align 4
call void@llvm.memset.p0i8.i32(i8*%be,i8 0,i32%am,i1 false)
%bi=icmp eq i32%a7,0
%bj=load i8*,i8**%c,align 8
%bk=sext i32%E to i64
%bl=getelementptr inbounds i8,i8*%be,i64%bk
br i1%bi,label%bo,label%bm
bm:
%bn=bitcast i8*%bl to i8**
store i8*%bj,i8**%bn,align 8
br label%bp
bo:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bl,i8*%bj,i32%a8,i1 false)
br label%bp
bp:
%bq=sext i32%U to i64
%br=getelementptr inbounds i8,i8*%be,i64%bq
%bs=bitcast i8*%br to i32*
store i32 1,i32*%bs,align 4
%bt=sext i32%W to i64
%bu=getelementptr inbounds i8,i8*%be,i64%bt
%bv=bitcast i8*%bu to i8**
store i8*null,i8**%bv,align 8
%bw=sext i32%Y to i64
%bx=getelementptr inbounds i8,i8*%be,i64%bw
%by=bitcast i8*%bx to i8**
store i8*null,i8**%by,align 8
%bz=sext i32%aa to i64
%bA=getelementptr inbounds i8,i8*%be,i64%bz
%bB=bitcast i8*%bA to i32*
store i32%al,i32*%bB,align 4
%bC=load i8*,i8**%d,align 8
%bD=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%bC,i8*inreg%be)
ret i8*%bD
bE:
store i8*%aJ,i8**%f,align 8
%bF=bitcast i8*%aJ to i32*
%bG=load i32,i32*%bF,align 4
%bH=icmp eq i32%P,0
br i1%bH,label%bN,label%bI
bI:
%bJ=sext i32%w to i64
%bK=getelementptr inbounds i8,i8*%aJ,i64%bJ
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
br label%bY
bN:
%bO=call i8*@sml_alloc(i32 inreg%t)#0
%bP=getelementptr inbounds i8,i8*%bO,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32%t,i32*%bQ,align 4
%bR=load i8*,i8**%f,align 8
%bS=sext i32%w to i64
%bT=getelementptr inbounds i8,i8*%bR,i64%bS
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bO,i8*%bT,i32%t,i1 false)
%bU=load i8*,i8**%g,align 8
%bV=getelementptr inbounds i8,i8*%bU,i64 24
%bW=bitcast i8*%bV to i32*
%bX=load i32,i32*%bW,align 4
br label%bY
bY:
%bZ=phi i8*[%bU,%bN],[%o,%bI]
%b0=phi i32[%bX,%bN],[%P,%bI]
%b1=phi i8*[%bR,%bN],[%aJ,%bI]
%b2=phi i8*[%bO,%bN],[%bM,%bI]
store i8*%b2,i8**%d,align 8
%b3=sext i32%z to i64
%b4=getelementptr inbounds i8,i8*%b1,i64%b3
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%e,align 8
%b7=sext i32%B to i64
%b8=getelementptr inbounds i8,i8*%b1,i64%b7
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
store i8*%ca,i8**%f,align 8
%cb=icmp eq i32%b0,0
br i1%cb,label%cj,label%cc
cc:
%cd=bitcast i8*%bZ to i8**
%ce=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cf=sext i32%C to i64
%cg=getelementptr inbounds i8,i8*%ce,i64%cf
%ch=bitcast i8*%cg to i8**
%ci=load i8*,i8**%ch,align 8
br label%cz
cj:
%ck=getelementptr inbounds i8,i8*%bZ,i64 28
%cl=bitcast i8*%ck to i32*
%cm=load i32,i32*%cl,align 4
%cn=call i8*@sml_alloc(i32 inreg%cm)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32%cm,i32*%cp,align 4
%cq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cr=sext i32%C to i64
%cs=getelementptr inbounds i8,i8*%cq,i64%cr
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cn,i8*%cs,i32%cm,i1 false)
%ct=bitcast i8**%g to i8***
%cu=load i8**,i8***%ct,align 8
%cv=bitcast i8**%cu to i8*
%cw=getelementptr inbounds i8*,i8**%cu,i64 3
%cx=bitcast i8**%cw to i32*
%cy=load i32,i32*%cx,align 4
br label%cz
cz:
%cA=phi i32[%cy,%cj],[%b0,%cc]
%cB=phi i8*[%cv,%cj],[%bZ,%cc]
%cC=phi i8**[%cu,%cj],[%cd,%cc]
%cD=phi i8*[%cn,%cj],[%ci,%cc]
store i8*%cD,i8**%c,align 8
%cE=load i8*,i8**%cC,align 8
%cF=getelementptr inbounds i8,i8*%cE,i64 16
%cG=bitcast i8*%cF to i8*(i8*,i8*)**
%cH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cG,align 8
%cI=bitcast i8*%cE to i8**
%cJ=load i8*,i8**%cI,align 8
store i8*%cJ,i8**%h,align 8
%cK=getelementptr inbounds i8,i8*%cB,i64 28
%cL=bitcast i8*%cK to i32*
%cM=load i32,i32*%cL,align 4
%cN=call i8*@sml_alloc(i32 inreg%S)#0
%cO=or i32%J,1342177280
%cP=getelementptr inbounds i8,i8*%cN,i64 -4
%cQ=bitcast i8*%cP to i32*
store i32%cO,i32*%cQ,align 4
call void@llvm.memset.p0i8.i32(i8*%cN,i8 0,i32%S,i1 false)
%cR=icmp eq i32%cA,0
%cS=load i8*,i8**%c,align 8
%cT=sext i32%E to i64
%cU=getelementptr inbounds i8,i8*%cN,i64%cT
br i1%cR,label%c1,label%cV
cV:
%cW=bitcast i8*%cU to i8**
store i8*%cS,i8**%cW,align 8
%cX=load i8*,i8**%d,align 8
%cY=sext i32%H to i64
%cZ=getelementptr inbounds i8,i8*%cN,i64%cY
%c0=bitcast i8*%cZ to i8**
store i8*%cX,i8**%c0,align 8
br label%c5
c1:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cU,i8*%cS,i32%cM,i1 false)
%c2=load i8*,i8**%d,align 8
%c3=sext i32%H to i64
%c4=getelementptr inbounds i8,i8*%cN,i64%c3
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c4,i8*%c2,i32%cM,i1 false)
br label%c5
c5:
%c6=sext i32%J to i64
%c7=getelementptr inbounds i8,i8*%cN,i64%c6
%c8=bitcast i8*%c7 to i32*
store i32%R,i32*%c8,align 4
%c9=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%da=call fastcc i8*%cH(i8*inreg%c9,i8*inreg%cN)
%db=bitcast i8*%da to i32*
%dc=load i32,i32*%db,align 4
switch i32%dc,label%dd[
i32 0,label%ft
i32 1,label%eu
i32 2,label%dv
]
dd:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%de=load i8*,i8**@_SMLZ5Match,align 8
store i8*%de,i8**%c,align 8
%df=call i8*@sml_alloc(i32 inreg 20)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177296,i32*%dh,align 4
store i8*%df,i8**%d,align 8
%di=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dj=bitcast i8*%df to i8**
store i8*%di,i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%df,i64 8
%dl=bitcast i8*%dk to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@g,i64 0,i32 2,i64 0),i8**%dl,align 8
%dm=getelementptr inbounds i8,i8*%df,i64 16
%dn=bitcast i8*%dm to i32*
store i32 3,i32*%dn,align 4
%do=call i8*@sml_alloc(i32 inreg 60)#0
%dp=getelementptr inbounds i8,i8*%do,i64 -4
%dq=bitcast i8*%dp to i32*
store i32 1342177336,i32*%dq,align 4
%dr=getelementptr inbounds i8,i8*%do,i64 56
%ds=bitcast i8*%dr to i32*
store i32 1,i32*%ds,align 4
%dt=load i8*,i8**%d,align 8
%du=bitcast i8*%do to i8**
store i8*%dt,i8**%du,align 8
call void@sml_raise(i8*inreg%do)#1
unreachable
dv:
%dw=load i8*,i8**%g,align 8
%dx=getelementptr inbounds i8,i8*%dw,i64 16
%dy=bitcast i8*%dx to i8**
%dz=load i8*,i8**%dy,align 8
store i8*%dz,i8**%h,align 8
%dA=getelementptr inbounds i8,i8*%dw,i64 28
%dB=bitcast i8*%dA to i32*
%dC=load i32,i32*%dB,align 4
%dD=getelementptr inbounds i8,i8*%dw,i64 24
%dE=bitcast i8*%dD to i32*
%dF=load i32,i32*%dE,align 4
%dG=call i8*@sml_alloc(i32 inreg%as)#0
%dH=or i32%ao,1342177280
%dI=getelementptr inbounds i8,i8*%dG,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32%dH,i32*%dJ,align 4
call void@llvm.memset.p0i8.i32(i8*%dG,i8 0,i32%as,i1 false)
%dK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dL=bitcast i8*%dG to i8**
store i8*%dK,i8**%dL,align 8
%dM=icmp eq i32%dF,0
%dN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dO=sext i32%C to i64
%dP=getelementptr inbounds i8,i8*%dG,i64%dO
br i1%dM,label%dS,label%dQ
dQ:
%dR=bitcast i8*%dP to i8**
store i8*%dN,i8**%dR,align 8
br label%dT
dS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dP,i8*%dN,i32%dC,i1 false)
br label%dT
dT:
%dU=sext i32%ao to i64
%dV=getelementptr inbounds i8,i8*%dG,i64%dU
%dW=bitcast i8*%dV to i32*
store i32%ar,i32*%dW,align 4
%dX=load i8*,i8**%g,align 8
%dY=call fastcc i8*@_SMLL3add_266(i8*inreg%dX,i8*inreg%dG)
store i8*%dY,i8**%c,align 8
%dZ=load i8*,i8**%g,align 8
%d0=getelementptr inbounds i8,i8*%dZ,i64 28
%d1=bitcast i8*%d0 to i32*
%d2=load i32,i32*%d1,align 4
store i8*null,i8**%g,align 8
%d3=getelementptr inbounds i8,i8*%dZ,i64 24
%d4=bitcast i8*%d3 to i32*
%d5=load i32,i32*%d4,align 4
%d6=call i8*@sml_alloc(i32 inreg%aH)#0
%d7=or i32%ay,1342177280
%d8=getelementptr inbounds i8,i8*%d6,i64 -4
%d9=bitcast i8*%d8 to i32*
store i32%d7,i32*%d9,align 4
call void@llvm.memset.p0i8.i32(i8*%d6,i8 0,i32%aH,i1 false)
%ea=icmp eq i32%d5,0
%eb=load i8*,i8**%d,align 8
%ec=getelementptr inbounds i8,i8*%d6,i64%cT
br i1%ea,label%ef,label%ed
ed:
%ee=bitcast i8*%ec to i8**
store i8*%eb,i8**%ee,align 8
br label%eg
ef:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ec,i8*%eb,i32%d2,i1 false)
br label%eg
eg:
%eh=load i8*,i8**%c,align 8
%ei=sext i32%au to i64
%ej=getelementptr inbounds i8,i8*%d6,i64%ei
%ek=bitcast i8*%ej to i8**
store i8*%eh,i8**%ek,align 8
%el=load i8*,i8**%f,align 8
%em=sext i32%aw to i64
%en=getelementptr inbounds i8,i8*%d6,i64%em
%eo=bitcast i8*%en to i8**
store i8*%el,i8**%eo,align 8
%ep=sext i32%ay to i64
%eq=getelementptr inbounds i8,i8*%d6,i64%ep
%er=bitcast i8*%eq to i32*
store i32%aG,i32*%er,align 4
%es=load i8*,i8**%h,align 8
%et=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%es,i8*inreg%d6)
ret i8*%et
eu:
%ev=load i8*,i8**%g,align 8
%ew=getelementptr inbounds i8,i8*%ev,i64 16
%ex=bitcast i8*%ew to i8**
%ey=load i8*,i8**%ex,align 8
store i8*%ey,i8**%h,align 8
%ez=getelementptr inbounds i8,i8*%ev,i64 28
%eA=bitcast i8*%ez to i32*
%eB=load i32,i32*%eA,align 4
%eC=getelementptr inbounds i8,i8*%ev,i64 24
%eD=bitcast i8*%eC to i32*
%eE=load i32,i32*%eD,align 4
%eF=call i8*@sml_alloc(i32 inreg%as)#0
%eG=or i32%ao,1342177280
%eH=getelementptr inbounds i8,i8*%eF,i64 -4
%eI=bitcast i8*%eH to i32*
store i32%eG,i32*%eI,align 4
call void@llvm.memset.p0i8.i32(i8*%eF,i8 0,i32%as,i1 false)
%eJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eK=bitcast i8*%eF to i8**
store i8*%eJ,i8**%eK,align 8
%eL=icmp eq i32%eE,0
%eM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eN=sext i32%C to i64
%eO=getelementptr inbounds i8,i8*%eF,i64%eN
br i1%eL,label%eR,label%eP
eP:
%eQ=bitcast i8*%eO to i8**
store i8*%eM,i8**%eQ,align 8
br label%eS
eR:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eO,i8*%eM,i32%eB,i1 false)
br label%eS
eS:
%eT=sext i32%ao to i64
%eU=getelementptr inbounds i8,i8*%eF,i64%eT
%eV=bitcast i8*%eU to i32*
store i32%ar,i32*%eV,align 4
%eW=load i8*,i8**%g,align 8
%eX=call fastcc i8*@_SMLL3add_266(i8*inreg%eW,i8*inreg%eF)
store i8*%eX,i8**%c,align 8
%eY=load i8*,i8**%g,align 8
%eZ=getelementptr inbounds i8,i8*%eY,i64 28
%e0=bitcast i8*%eZ to i32*
%e1=load i32,i32*%e0,align 4
store i8*null,i8**%g,align 8
%e2=getelementptr inbounds i8,i8*%eY,i64 24
%e3=bitcast i8*%e2 to i32*
%e4=load i32,i32*%e3,align 4
%e5=call i8*@sml_alloc(i32 inreg%aH)#0
%e6=or i32%ay,1342177280
%e7=getelementptr inbounds i8,i8*%e5,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32%e6,i32*%e8,align 4
call void@llvm.memset.p0i8.i32(i8*%e5,i8 0,i32%aH,i1 false)
%e9=icmp eq i32%e4,0
%fa=load i8*,i8**%d,align 8
%fb=getelementptr inbounds i8,i8*%e5,i64%cT
br i1%e9,label%fe,label%fc
fc:
%fd=bitcast i8*%fb to i8**
store i8*%fa,i8**%fd,align 8
br label%ff
fe:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fb,i8*%fa,i32%e1,i1 false)
br label%ff
ff:
%fg=load i8*,i8**%e,align 8
%fh=sext i32%au to i64
%fi=getelementptr inbounds i8,i8*%e5,i64%fh
%fj=bitcast i8*%fi to i8**
store i8*%fg,i8**%fj,align 8
%fk=load i8*,i8**%c,align 8
%fl=sext i32%aw to i64
%fm=getelementptr inbounds i8,i8*%e5,i64%fl
%fn=bitcast i8*%fm to i8**
store i8*%fk,i8**%fn,align 8
%fo=sext i32%ay to i64
%fp=getelementptr inbounds i8,i8*%e5,i64%fo
%fq=bitcast i8*%fp to i32*
store i32%aG,i32*%fq,align 4
%fr=load i8*,i8**%h,align 8
%fs=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%fr,i8*inreg%e5)
ret i8*%fs
ft:
%fu=load i8*,i8**%g,align 8
%fv=getelementptr inbounds i8,i8*%fu,i64 8
%fw=bitcast i8*%fv to i8**
%fx=load i8*,i8**%fw,align 8
store i8*%fx,i8**%d,align 8
%fy=getelementptr inbounds i8,i8*%fu,i64 28
%fz=bitcast i8*%fy to i32*
%fA=load i32,i32*%fz,align 4
store i8*null,i8**%g,align 8
%fB=getelementptr inbounds i8,i8*%fu,i64 24
%fC=bitcast i8*%fB to i32*
%fD=load i32,i32*%fC,align 4
%fE=call i8*@sml_alloc(i32 inreg%am)#0
%fF=or i32%aa,1342177280
%fG=getelementptr inbounds i8,i8*%fE,i64 -4
%fH=bitcast i8*%fG to i32*
store i32%fF,i32*%fH,align 4
call void@llvm.memset.p0i8.i32(i8*%fE,i8 0,i32%am,i1 false)
%fI=icmp eq i32%fD,0
%fJ=load i8*,i8**%c,align 8
%fK=getelementptr inbounds i8,i8*%fE,i64%cT
br i1%fI,label%fN,label%fL
fL:
%fM=bitcast i8*%fK to i8**
store i8*%fJ,i8**%fM,align 8
br label%fO
fN:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fK,i8*%fJ,i32%fA,i1 false)
br label%fO
fO:
%fP=sext i32%U to i64
%fQ=getelementptr inbounds i8,i8*%fE,i64%fP
%fR=bitcast i8*%fQ to i32*
store i32%bG,i32*%fR,align 4
%fS=load i8*,i8**%e,align 8
%fT=sext i32%W to i64
%fU=getelementptr inbounds i8,i8*%fE,i64%fT
%fV=bitcast i8*%fU to i8**
store i8*%fS,i8**%fV,align 8
%fW=load i8*,i8**%f,align 8
%fX=sext i32%Y to i64
%fY=getelementptr inbounds i8,i8*%fE,i64%fX
%fZ=bitcast i8*%fY to i8**
store i8*%fW,i8**%fZ,align 8
%f0=sext i32%aa to i64
%f1=getelementptr inbounds i8,i8*%fE,i64%f0
%f2=bitcast i8*%f1 to i32*
store i32%al,i32*%f2,align 4
%f3=load i8*,i8**%d,align 8
%f4=tail call fastcc i8*@_SMLL3mkT_255(i8*inreg%f3,i8*inreg%fE)
ret i8*%f4
}
define internal fastcc i8*@_SMLL7concat3_268(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%l,align 8
store i8*%b,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%o,label%q
o:
%p=bitcast i8*%b to i8**
br label%v
q:
call void@sml_check(i32 inreg%m)
%r=bitcast i8**%c to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%l,align 8
%u=bitcast i8**%s to i8*
br label%v
v:
%w=phi i8*[%u,%q],[%b,%o]
%x=phi i8*[%t,%q],[%a,%o]
%y=phi i8**[%s,%q],[%p,%o]
%z=getelementptr inbounds i8,i8*%x,i64 28
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=add i32%B,7
%D=sub i32 0,%B
%E=and i32%C,%D
%F=add i32%C,%E
%G=and i32%F,-8
%H=lshr i32%E,3
%I=getelementptr inbounds i8,i8*%x,i64 24
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=shl i32%K,%H
%M=or i32%L,1
%N=or i32%G,4
%O=add i32%B,3
%P=and i32%O,%D
%Q=add i32%C,%P
%R=and i32%Q,-8
%S=add i32%R,15
%T=and i32%S,-8
%U=add i32%B,-1
%V=and i32%U,%D
%W=add i32%C,%V
%X=and i32%W,-8
%Y=add i32%X,15
%Z=and i32%Y,-8
%aa=add i32%Z,15
%ab=and i32%aa,-8
%ac=lshr i32%Y,3
%ad=lshr i32%W,3
%ae=sub nsw i32%ac,%ad
%af=lshr i32%V,3
%ag=sub nsw i32%ad,%af
%ah=shl i32 1,%ae
%ai=or i32%ah,1
%aj=shl i32%ai,%ag
%ak=or i32%aj,%K
%al=or i32%ab,4
%am=add i32%G,15
%an=and i32%am,-8
%ao=lshr i32%F,3
%ap=sub nsw i32%ao,%H
%aq=shl i32 1,%ap
%ar=or i32%aq,%K
%as=shl i32%ar,%H
%at=or i32%as,1
%au=or i32%an,4
%av=load i8*,i8**%y,align 8
store i8*%av,i8**%d,align 8
%aw=icmp eq i8*%av,null
br i1%aw,label%ax,label%a4
ax:
%ay=sext i32%G to i64
%az=getelementptr inbounds i8,i8*%w,i64%ay
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
%aC=icmp eq i8*%aB,null
%aD=icmp eq i32%K,0
br i1%aC,label%aE,label%aR
aE:
br i1%aD,label%aK,label%aF
aF:
%aG=sext i32%E to i64
%aH=getelementptr inbounds i8,i8*%w,i64%aG
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
br label%fK
aK:
%aL=call i8*@sml_alloc(i32 inreg%B)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32%B,i32*%aN,align 4
%aO=load i8*,i8**%c,align 8
%aP=sext i32%E to i64
%aQ=getelementptr inbounds i8,i8*%aO,i64%aP
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aL,i8*%aQ,i32%B,i1 false)
br label%fK
aR:
br i1%aD,label%aX,label%aS
aS:
%aT=sext i32%E to i64
%aU=getelementptr inbounds i8,i8*%w,i64%aT
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
br label%fK
aX:
%aY=call i8*@sml_alloc(i32 inreg%B)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32%B,i32*%a0,align 4
%a1=load i8*,i8**%c,align 8
%a2=sext i32%E to i64
%a3=getelementptr inbounds i8,i8*%a1,i64%a2
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aY,i8*%a3,i32%B,i1 false)
br label%fK
a4:
%a5=bitcast i8*%av to i32*
%a6=load i32,i32*%a5,align 4
%a7=icmp eq i32%K,0
br i1%a7,label%bd,label%a8
a8:
%a9=sext i32%P to i64
%ba=getelementptr inbounds i8,i8*%av,i64%a9
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
br label%bo
bd:
%be=call i8*@sml_alloc(i32 inreg%B)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32%B,i32*%bg,align 4
%bh=load i8*,i8**%d,align 8
%bi=sext i32%P to i64
%bj=getelementptr inbounds i8,i8*%bh,i64%bi
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%be,i8*%bj,i32%B,i1 false)
%bk=load i8*,i8**%l,align 8
%bl=getelementptr inbounds i8,i8*%bk,i64 24
%bm=bitcast i8*%bl to i32*
%bn=load i32,i32*%bm,align 4
br label%bo
bo:
%bp=phi i32[%bn,%bd],[%K,%a8]
%bq=phi i8*[%bk,%bd],[%x,%a8]
%br=phi i8*[%bh,%bd],[%av,%a8]
%bs=phi i8*[%be,%bd],[%bc,%a8]
store i8*%bs,i8**%e,align 8
%bt=sext i32%R to i64
%bu=getelementptr inbounds i8,i8*%br,i64%bt
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
store i8*%bw,i8**%f,align 8
%bx=sext i32%T to i64
%by=getelementptr inbounds i8,i8*%br,i64%bx
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%g,align 8
%bB=icmp eq i32%bp,0
br i1%bB,label%bI,label%bC
bC:
%bD=load i8*,i8**%c,align 8
%bE=sext i32%E to i64
%bF=getelementptr inbounds i8,i8*%bD,i64%bE
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
br label%bS
bI:
%bJ=getelementptr inbounds i8,i8*%bq,i64 28
%bK=bitcast i8*%bJ to i32*
%bL=load i32,i32*%bK,align 4
%bM=call i8*@sml_alloc(i32 inreg%bL)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32%bL,i32*%bO,align 4
%bP=load i8*,i8**%c,align 8
%bQ=sext i32%E to i64
%bR=getelementptr inbounds i8,i8*%bP,i64%bQ
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bM,i8*%bR,i32%bL,i1 false)
br label%bS
bS:
%bT=phi i8*[%bP,%bI],[%bD,%bC]
%bU=phi i8*[%bM,%bI],[%bH,%bC]
store i8*%bU,i8**%h,align 8
%bV=sext i32%G to i64
%bW=getelementptr inbounds i8,i8*%bT,i64%bV
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
store i8*%bY,i8**%c,align 8
%bZ=icmp eq i8*%bY,null
br i1%bZ,label%b0,label%ct
b0:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%b1=load i8*,i8**%l,align 8
%b2=getelementptr inbounds i8,i8*%b1,i64 16
%b3=bitcast i8*%b2 to i8**
%b4=load i8*,i8**%b3,align 8
store i8*%b4,i8**%c,align 8
%b5=getelementptr inbounds i8,i8*%b1,i64 28
%b6=bitcast i8*%b5 to i32*
%b7=load i32,i32*%b6,align 4
store i8*null,i8**%l,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 24
%b9=bitcast i8*%b8 to i32*
%ca=load i32,i32*%b9,align 4
%cb=call i8*@sml_alloc(i32 inreg%N)#0
%cc=or i32%G,1342177280
%cd=getelementptr inbounds i8,i8*%cb,i64 -4
%ce=bitcast i8*%cd to i32*
store i32%cc,i32*%ce,align 4
call void@llvm.memset.p0i8.i32(i8*%cb,i8 0,i32%N,i1 false)
%cf=load i8*,i8**%d,align 8
%cg=bitcast i8*%cb to i8**
store i8*%cf,i8**%cg,align 8
%ch=icmp eq i32%ca,0
%ci=load i8*,i8**%h,align 8
%cj=sext i32%E to i64
%ck=getelementptr inbounds i8,i8*%cb,i64%cj
br i1%ch,label%cn,label%cl
cl:
%cm=bitcast i8*%ck to i8**
store i8*%ci,i8**%cm,align 8
br label%co
cn:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ck,i8*%ci,i32%b7,i1 false)
br label%co
co:
%cp=getelementptr inbounds i8,i8*%cb,i64%bV
%cq=bitcast i8*%cp to i32*
store i32%M,i32*%cq,align 4
%cr=load i8*,i8**%c,align 8
%cs=tail call fastcc i8*@_SMLL3add_266(i8*inreg%cr,i8*inreg%cb)
ret i8*%cs
ct:
%cu=bitcast i8*%bY to i32*
%cv=load i32,i32*%cu,align 4
%cw=load i8*,i8**%l,align 8
%cx=getelementptr inbounds i8,i8*%cw,i64 24
%cy=bitcast i8*%cx to i32*
%cz=load i32,i32*%cy,align 4
%cA=icmp eq i32%cz,0
br i1%cA,label%cG,label%cB
cB:
%cC=sext i32%P to i64
%cD=getelementptr inbounds i8,i8*%bY,i64%cC
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
br label%cQ
cG:
%cH=getelementptr inbounds i8,i8*%cw,i64 28
%cI=bitcast i8*%cH to i32*
%cJ=load i32,i32*%cI,align 4
%cK=call i8*@sml_alloc(i32 inreg%cJ)#0
%cL=getelementptr inbounds i8,i8*%cK,i64 -4
%cM=bitcast i8*%cL to i32*
store i32%cJ,i32*%cM,align 4
%cN=load i8*,i8**%c,align 8
%cO=sext i32%P to i64
%cP=getelementptr inbounds i8,i8*%cN,i64%cO
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cK,i8*%cP,i32%cJ,i1 false)
br label%cQ
cQ:
%cR=phi i8*[%cN,%cG],[%bY,%cB]
%cS=phi i8*[%cK,%cG],[%cF,%cB]
store i8*%cS,i8**%i,align 8
%cT=getelementptr inbounds i8,i8*%cR,i64%bt
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
store i8*%cV,i8**%j,align 8
%cW=getelementptr inbounds i8,i8*%cR,i64%bx
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
store i8*%cY,i8**%k,align 8
%cZ=mul nsw i32%a6,3
%c0=icmp slt i32%cZ,%cv
br i1%c0,label%c1,label%d4
c1:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%c,align 8
%c2=load i8*,i8**%l,align 8
%c3=getelementptr inbounds i8,i8*%c2,i64 8
%c4=bitcast i8*%c3 to i8**
%c5=load i8*,i8**%c4,align 8
store i8*%c5,i8**%e,align 8
%c6=getelementptr inbounds i8,i8*%c2,i64 28
%c7=bitcast i8*%c6 to i32*
%c8=load i32,i32*%c7,align 4
%c9=getelementptr inbounds i8,i8*%c2,i64 24
%da=bitcast i8*%c9 to i32*
%db=load i32,i32*%da,align 4
%dc=call i8*@sml_alloc(i32 inreg%au)#0
%dd=or i32%an,1342177280
%de=getelementptr inbounds i8,i8*%dc,i64 -4
%df=bitcast i8*%de to i32*
store i32%dd,i32*%df,align 4
call void@llvm.memset.p0i8.i32(i8*%dc,i8 0,i32%au,i1 false)
%dg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dh=bitcast i8*%dc to i8**
store i8*%dg,i8**%dh,align 8
%di=icmp eq i32%db,0
%dj=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dk=sext i32%E to i64
%dl=getelementptr inbounds i8,i8*%dc,i64%dk
br i1%di,label%do,label%dm
dm:
%dn=bitcast i8*%dl to i8**
store i8*%dj,i8**%dn,align 8
br label%dp
do:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dl,i8*%dj,i32%c8,i1 false)
br label%dp
dp:
%dq=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dr=getelementptr inbounds i8,i8*%dc,i64%bV
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=sext i32%an to i64
%du=getelementptr inbounds i8,i8*%dc,i64%dt
%dv=bitcast i8*%du to i32*
store i32%at,i32*%dv,align 4
%dw=load i8*,i8**%l,align 8
%dx=call fastcc i8*@_SMLL7concat3_268(i8*inreg%dw,i8*inreg%dc)
store i8*%dx,i8**%c,align 8
%dy=load i8*,i8**%l,align 8
%dz=getelementptr inbounds i8,i8*%dy,i64 28
%dA=bitcast i8*%dz to i32*
%dB=load i32,i32*%dA,align 4
store i8*null,i8**%l,align 8
%dC=getelementptr inbounds i8,i8*%dy,i64 24
%dD=bitcast i8*%dC to i32*
%dE=load i32,i32*%dD,align 4
%dF=call i8*@sml_alloc(i32 inreg%al)#0
%dG=or i32%ab,1342177280
%dH=getelementptr inbounds i8,i8*%dF,i64 -4
%dI=bitcast i8*%dH to i32*
store i32%dG,i32*%dI,align 4
call void@llvm.memset.p0i8.i32(i8*%dF,i8 0,i32%al,i1 false)
%dJ=icmp eq i32%dE,0
%dK=load i8*,i8**%i,align 8
%dL=sext i32%V to i64
%dM=getelementptr inbounds i8,i8*%dF,i64%dL
br i1%dJ,label%dP,label%dN
dN:
%dO=bitcast i8*%dM to i8**
store i8*%dK,i8**%dO,align 8
br label%dQ
dP:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dM,i8*%dK,i32%dB,i1 false)
br label%dQ
dQ:
%dR=load i8*,i8**%c,align 8
%dS=sext i32%X to i64
%dT=getelementptr inbounds i8,i8*%dF,i64%dS
%dU=bitcast i8*%dT to i8**
store i8*%dR,i8**%dU,align 8
%dV=load i8*,i8**%k,align 8
%dW=sext i32%Z to i64
%dX=getelementptr inbounds i8,i8*%dF,i64%dW
%dY=bitcast i8*%dX to i8**
store i8*%dV,i8**%dY,align 8
%dZ=sext i32%ab to i64
%d0=getelementptr inbounds i8,i8*%dF,i64%dZ
%d1=bitcast i8*%d0 to i32*
store i32%ak,i32*%d1,align 4
%d2=load i8*,i8**%e,align 8
%d3=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%d2,i8*inreg%dF)
ret i8*%d3
d4:
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%d5=mul nsw i32%cv,3
%d6=icmp slt i32%d5,%a6
br i1%d6,label%d7,label%fa
d7:
%d8=load i8*,i8**%l,align 8
%d9=getelementptr inbounds i8,i8*%d8,i64 8
%ea=bitcast i8*%d9 to i8**
%eb=load i8*,i8**%ea,align 8
store i8*%eb,i8**%d,align 8
%ec=getelementptr inbounds i8,i8*%d8,i64 28
%ed=bitcast i8*%ec to i32*
%ee=load i32,i32*%ed,align 4
%ef=getelementptr inbounds i8,i8*%d8,i64 24
%eg=bitcast i8*%ef to i32*
%eh=load i32,i32*%eg,align 4
%ei=call i8*@sml_alloc(i32 inreg%au)#0
%ej=or i32%an,1342177280
%ek=getelementptr inbounds i8,i8*%ei,i64 -4
%el=bitcast i8*%ek to i32*
store i32%ej,i32*%el,align 4
call void@llvm.memset.p0i8.i32(i8*%ei,i8 0,i32%au,i1 false)
%em=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%en=bitcast i8*%ei to i8**
store i8*%em,i8**%en,align 8
%eo=icmp eq i32%eh,0
%ep=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eq=sext i32%E to i64
%er=getelementptr inbounds i8,i8*%ei,i64%eq
br i1%eo,label%eu,label%es
es:
%et=bitcast i8*%er to i8**
store i8*%ep,i8**%et,align 8
br label%ev
eu:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%er,i8*%ep,i32%ee,i1 false)
br label%ev
ev:
%ew=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ex=getelementptr inbounds i8,i8*%ei,i64%bV
%ey=bitcast i8*%ex to i8**
store i8*%ew,i8**%ey,align 8
%ez=sext i32%an to i64
%eA=getelementptr inbounds i8,i8*%ei,i64%ez
%eB=bitcast i8*%eA to i32*
store i32%at,i32*%eB,align 4
%eC=load i8*,i8**%l,align 8
%eD=call fastcc i8*@_SMLL7concat3_268(i8*inreg%eC,i8*inreg%ei)
store i8*%eD,i8**%c,align 8
%eE=load i8*,i8**%l,align 8
%eF=getelementptr inbounds i8,i8*%eE,i64 28
%eG=bitcast i8*%eF to i32*
%eH=load i32,i32*%eG,align 4
store i8*null,i8**%l,align 8
%eI=getelementptr inbounds i8,i8*%eE,i64 24
%eJ=bitcast i8*%eI to i32*
%eK=load i32,i32*%eJ,align 4
%eL=call i8*@sml_alloc(i32 inreg%al)#0
%eM=or i32%ab,1342177280
%eN=getelementptr inbounds i8,i8*%eL,i64 -4
%eO=bitcast i8*%eN to i32*
store i32%eM,i32*%eO,align 4
call void@llvm.memset.p0i8.i32(i8*%eL,i8 0,i32%al,i1 false)
%eP=icmp eq i32%eK,0
%eQ=load i8*,i8**%e,align 8
%eR=sext i32%V to i64
%eS=getelementptr inbounds i8,i8*%eL,i64%eR
br i1%eP,label%eV,label%eT
eT:
%eU=bitcast i8*%eS to i8**
store i8*%eQ,i8**%eU,align 8
br label%eW
eV:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eS,i8*%eQ,i32%eH,i1 false)
br label%eW
eW:
%eX=load i8*,i8**%f,align 8
%eY=sext i32%X to i64
%eZ=getelementptr inbounds i8,i8*%eL,i64%eY
%e0=bitcast i8*%eZ to i8**
store i8*%eX,i8**%e0,align 8
%e1=load i8*,i8**%c,align 8
%e2=sext i32%Z to i64
%e3=getelementptr inbounds i8,i8*%eL,i64%e2
%e4=bitcast i8*%e3 to i8**
store i8*%e1,i8**%e4,align 8
%e5=sext i32%ab to i64
%e6=getelementptr inbounds i8,i8*%eL,i64%e5
%e7=bitcast i8*%e6 to i32*
store i32%ak,i32*%e7,align 4
%e8=load i8*,i8**%d,align 8
%e9=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%e8,i8*inreg%eL)
ret i8*%e9
fa:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%fb=bitcast i8**%l to i8***
%fc=load i8**,i8***%fb,align 8
%fd=load i8*,i8**%fc,align 8
store i8*%fd,i8**%e,align 8
%fe=bitcast i8**%fc to i8*
%ff=getelementptr inbounds i8,i8*%fe,i64 28
%fg=bitcast i8*%ff to i32*
%fh=load i32,i32*%fg,align 4
store i8*null,i8**%l,align 8
%fi=getelementptr inbounds i8*,i8**%fc,i64 3
%fj=bitcast i8**%fi to i32*
%fk=load i32,i32*%fj,align 4
%fl=call i8*@sml_alloc(i32 inreg%al)#0
%fm=or i32%ab,1342177280
%fn=getelementptr inbounds i8,i8*%fl,i64 -4
%fo=bitcast i8*%fn to i32*
store i32%fm,i32*%fo,align 4
call void@llvm.memset.p0i8.i32(i8*%fl,i8 0,i32%al,i1 false)
%fp=icmp eq i32%fk,0
%fq=load i8*,i8**%h,align 8
%fr=sext i32%V to i64
%fs=getelementptr inbounds i8,i8*%fl,i64%fr
br i1%fp,label%fv,label%ft
ft:
%fu=bitcast i8*%fs to i8**
store i8*%fq,i8**%fu,align 8
br label%fw
fv:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fs,i8*%fq,i32%fh,i1 false)
br label%fw
fw:
%fx=load i8*,i8**%d,align 8
%fy=sext i32%X to i64
%fz=getelementptr inbounds i8,i8*%fl,i64%fy
%fA=bitcast i8*%fz to i8**
store i8*%fx,i8**%fA,align 8
%fB=load i8*,i8**%c,align 8
%fC=sext i32%Z to i64
%fD=getelementptr inbounds i8,i8*%fl,i64%fC
%fE=bitcast i8*%fD to i8**
store i8*%fB,i8**%fE,align 8
%fF=sext i32%ab to i64
%fG=getelementptr inbounds i8,i8*%fl,i64%fF
%fH=bitcast i8*%fG to i32*
store i32%ak,i32*%fH,align 4
%fI=load i8*,i8**%e,align 8
%fJ=tail call fastcc i8*@_SMLL1N_256(i8*inreg%fI,i8*inreg%fl)
ret i8*%fJ
fK:
%fL=phi i64[%aT,%aS],[%a2,%aX],[%aG,%aF],[%aP,%aK]
%fM=phi i8*[%w,%aS],[%a1,%aX],[%w,%aF],[%aO,%aK]
%fN=phi i8*[%aW,%aS],[%aY,%aX],[%aJ,%aF],[%aL,%aK]
store i8*null,i8**%c,align 8
%fO=getelementptr inbounds i8,i8*%fM,i64%ay
%fP=bitcast i8*%fO to i8**
%fQ=load i8*,i8**%fP,align 8
store i8*%fN,i8**%c,align 8
store i8*%fQ,i8**%d,align 8
%fR=load i8*,i8**%l,align 8
%fS=getelementptr inbounds i8,i8*%fR,i64 16
%fT=bitcast i8*%fS to i8**
%fU=load i8*,i8**%fT,align 8
store i8*%fU,i8**%e,align 8
%fV=getelementptr inbounds i8,i8*%fR,i64 28
%fW=bitcast i8*%fV to i32*
%fX=load i32,i32*%fW,align 4
store i8*null,i8**%l,align 8
%fY=getelementptr inbounds i8,i8*%fR,i64 24
%fZ=bitcast i8*%fY to i32*
%f0=load i32,i32*%fZ,align 4
%f1=call i8*@sml_alloc(i32 inreg%N)#0
%f2=or i32%G,1342177280
%f3=getelementptr inbounds i8,i8*%f1,i64 -4
%f4=bitcast i8*%f3 to i32*
store i32%f2,i32*%f4,align 4
call void@llvm.memset.p0i8.i32(i8*%f1,i8 0,i32%N,i1 false)
%f5=load i8*,i8**%d,align 8
%f6=bitcast i8*%f1 to i8**
store i8*%f5,i8**%f6,align 8
%f7=icmp eq i32%f0,0
%f8=load i8*,i8**%c,align 8
%f9=getelementptr inbounds i8,i8*%f1,i64%fL
br i1%f7,label%gc,label%ga
ga:
%gb=bitcast i8*%f9 to i8**
store i8*%f8,i8**%gb,align 8
br label%gd
gc:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%f9,i8*%f8,i32%fX,i1 false)
br label%gd
gd:
%ge=getelementptr inbounds i8,i8*%f1,i64%ay
%gf=bitcast i8*%ge to i32*
store i32%M,i32*%gf,align 4
%gg=load i8*,i8**%e,align 8
%gh=tail call fastcc i8*@_SMLL3add_266(i8*inreg%gg,i8*inreg%f1)
ret i8*%gh
}
define internal fastcc i8*@_SMLL8split__lt_269(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
%i=bitcast i8**%c to i8***
%j=bitcast i8**%g to i8***
br label%k
k:
%l=phi i8*[%c2,%df],[%b,%m]
store i8*%l,i8**%c,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
%p=bitcast i8*%l to i8**
br i1%o,label%s,label%q
q:
call void@sml_check(i32 inreg%n)
%r=load i8**,i8***%i,align 8
br label%s
s:
%t=phi i8**[%r,%q],[%p,%k]
%u=load i8*,i8**%g,align 8
%v=getelementptr inbounds i8,i8*%u,i64 20
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=add i32%x,3
%z=sub i32 0,%x
%A=and i32%y,%z
%B=add i32%x,7
%C=add i32%B,%A
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=and i32%B,%z
%H=add i32%x,-1
%I=and i32%H,%z
%J=shl i32%x,1
%K=add i32%J,-1
%L=add i32%K,%I
%M=and i32%L,%z
%N=add i32%B,%M
%O=and i32%N,-8
%P=lshr i32%M,3
%Q=lshr i32%I,3
%R=sub nsw i32%P,%Q
%S=getelementptr inbounds i8,i8*%u,i64 16
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=shl i32%U,%R
%W=or i32%V,%U
%X=or i32%O,4
%Y=add i32%B,%G
%Z=and i32%Y,-8
%aa=lshr i32%G,3
%ab=shl i32%U,%aa
%ac=or i32%ab,1
%ad=or i32%Z,4
%ae=load i8*,i8**%t,align 8
%af=icmp eq i8*%ae,null
br i1%af,label%ag,label%ah
ag:
ret i8*null
ah:
store i8*%ae,i8**%f,align 8
%ai=icmp eq i32%U,0
br i1%ai,label%ao,label%aj
aj:
%ak=sext i32%A to i64
%al=getelementptr inbounds i8,i8*%ae,i64%ak
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
br label%az
ao:
%ap=call i8*@sml_alloc(i32 inreg%x)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32%x,i32*%ar,align 4
%as=load i8*,i8**%f,align 8
%at=sext i32%A to i64
%au=getelementptr inbounds i8,i8*%as,i64%at
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ap,i8*%au,i32%x,i1 false)
%av=load i8*,i8**%g,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i32*
%ay=load i32,i32*%ax,align 4
br label%az
az:
%aA=phi i8*[%av,%ao],[%u,%aj]
%aB=phi i32[%ay,%ao],[%U,%aj]
%aC=phi i8*[%as,%ao],[%ae,%aj]
%aD=phi i8*[%ap,%ao],[%an,%aj]
store i8*%aD,i8**%d,align 8
%aE=sext i32%D to i64
%aF=getelementptr inbounds i8,i8*%aC,i64%aE
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%e,align 8
%aI=sext i32%F to i64
%aJ=getelementptr inbounds i8,i8*%aC,i64%aI
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%f,align 8
%aM=icmp eq i32%aB,0
br i1%aM,label%aU,label%aN
aN:
%aO=bitcast i8*%aA to i8**
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aQ=sext i32%G to i64
%aR=getelementptr inbounds i8,i8*%aP,i64%aQ
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
br label%a9
aU:
%aV=getelementptr inbounds i8,i8*%aA,i64 20
%aW=bitcast i8*%aV to i32*
%aX=load i32,i32*%aW,align 4
%aY=call i8*@sml_alloc(i32 inreg%aX)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32%aX,i32*%a0,align 4
%a1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a2=sext i32%G to i64
%a3=getelementptr inbounds i8,i8*%a1,i64%a2
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aY,i8*%a3,i32%aX,i1 false)
%a4=load i8**,i8***%j,align 8
%a5=bitcast i8**%a4 to i8*
%a6=getelementptr inbounds i8*,i8**%a4,i64 2
%a7=bitcast i8**%a6 to i32*
%a8=load i32,i32*%a7,align 4
br label%a9
a9:
%ba=phi i32[%a8,%aU],[%aB,%aN]
%bb=phi i8*[%a5,%aU],[%aA,%aN]
%bc=phi i8**[%a4,%aU],[%aO,%aN]
%bd=phi i8*[%aY,%aU],[%aT,%aN]
store i8*%bd,i8**%c,align 8
%be=load i8*,i8**%bc,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%h,align 8
%bk=getelementptr inbounds i8,i8*%bb,i64 20
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
%bn=call i8*@sml_alloc(i32 inreg%X)#0
%bo=or i32%O,1342177280
%bp=getelementptr inbounds i8,i8*%bn,i64 -4
%bq=bitcast i8*%bp to i32*
store i32%bo,i32*%bq,align 4
call void@llvm.memset.p0i8.i32(i8*%bn,i8 0,i32%X,i1 false)
%br=icmp eq i32%ba,0
%bs=load i8*,i8**%d,align 8
%bt=sext i32%I to i64
%bu=getelementptr inbounds i8,i8*%bn,i64%bt
br i1%br,label%bB,label%bv
bv:
%bw=bitcast i8*%bu to i8**
store i8*%bs,i8**%bw,align 8
%bx=load i8*,i8**%c,align 8
%by=sext i32%M to i64
%bz=getelementptr inbounds i8,i8*%bn,i64%by
%bA=bitcast i8*%bz to i8**
store i8*%bx,i8**%bA,align 8
br label%bF
bB:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bu,i8*%bs,i32%bm,i1 false)
%bC=load i8*,i8**%c,align 8
%bD=sext i32%M to i64
%bE=getelementptr inbounds i8,i8*%bn,i64%bD
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bE,i8*%bC,i32%bm,i1 false)
br label%bF
bF:
%bG=sext i32%O to i64
%bH=getelementptr inbounds i8,i8*%bn,i64%bG
%bI=bitcast i8*%bH to i32*
store i32%W,i32*%bI,align 4
%bJ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bK=call fastcc i8*%bh(i8*inreg%bJ,i8*inreg%bn)
%bL=bitcast i8*%bK to i32*
%bM=load i32,i32*%bL,align 4
switch i32%bM,label%bN[
i32 1,label%cU
i32 2,label%bP
]
bN:
%bO=load i8*,i8**%e,align 8
ret i8*%bO
bP:
%bQ=add i32%Z,15
%bR=and i32%bQ,-8
%bS=lshr i32%Y,3
%bT=sub nsw i32%bS,%aa
%bU=shl i32 1,%bT
%bV=or i32%bU,%U
%bW=shl i32%bV,%aa
%bX=or i32%bW,1
%bY=or i32%bR,4
%bZ=load i8*,i8**%g,align 8
%b0=getelementptr inbounds i8,i8*%bZ,i64 8
%b1=bitcast i8*%b0 to i8**
%b2=load i8*,i8**%b1,align 8
store i8*%b2,i8**%h,align 8
%b3=getelementptr inbounds i8,i8*%bZ,i64 20
%b4=bitcast i8*%b3 to i32*
%b5=load i32,i32*%b4,align 4
%b6=getelementptr inbounds i8,i8*%bZ,i64 16
%b7=bitcast i8*%b6 to i32*
%b8=load i32,i32*%b7,align 4
%b9=call i8*@sml_alloc(i32 inreg%ad)#0
%ca=or i32%Z,1342177280
%cb=getelementptr inbounds i8,i8*%b9,i64 -4
%cc=bitcast i8*%cb to i32*
store i32%ca,i32*%cc,align 4
call void@llvm.memset.p0i8.i32(i8*%b9,i8 0,i32%ad,i1 false)
%cd=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ce=bitcast i8*%b9 to i8**
store i8*%cd,i8**%ce,align 8
%cf=icmp eq i32%b8,0
%cg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ch=sext i32%G to i64
%ci=getelementptr inbounds i8,i8*%b9,i64%ch
br i1%cf,label%cl,label%cj
cj:
%ck=bitcast i8*%ci to i8**
store i8*%cg,i8**%ck,align 8
br label%cm
cl:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ci,i8*%cg,i32%b5,i1 false)
br label%cm
cm:
%cn=sext i32%Z to i64
%co=getelementptr inbounds i8,i8*%b9,i64%cn
%cp=bitcast i8*%co to i32*
store i32%ac,i32*%cp,align 4
%cq=load i8*,i8**%g,align 8
%cr=call fastcc i8*@_SMLL8split__lt_269(i8*inreg%cq,i8*inreg%b9)
store i8*%cr,i8**%c,align 8
%cs=load i8*,i8**%g,align 8
%ct=getelementptr inbounds i8,i8*%cs,i64 20
%cu=bitcast i8*%ct to i32*
%cv=load i32,i32*%cu,align 4
store i8*null,i8**%g,align 8
%cw=getelementptr inbounds i8,i8*%cs,i64 16
%cx=bitcast i8*%cw to i32*
%cy=load i32,i32*%cx,align 4
%cz=call i8*@sml_alloc(i32 inreg%bY)#0
%cA=or i32%bR,1342177280
%cB=getelementptr inbounds i8,i8*%cz,i64 -4
%cC=bitcast i8*%cB to i32*
store i32%cA,i32*%cC,align 4
call void@llvm.memset.p0i8.i32(i8*%cz,i8 0,i32%bY,i1 false)
%cD=load i8*,i8**%e,align 8
%cE=bitcast i8*%cz to i8**
store i8*%cD,i8**%cE,align 8
%cF=icmp eq i32%cy,0
%cG=load i8*,i8**%d,align 8
%cH=getelementptr inbounds i8,i8*%cz,i64%ch
br i1%cF,label%cK,label%cI
cI:
%cJ=bitcast i8*%cH to i8**
store i8*%cG,i8**%cJ,align 8
br label%cL
cK:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cH,i8*%cG,i32%cv,i1 false)
br label%cL
cL:
%cM=load i8*,i8**%c,align 8
%cN=getelementptr inbounds i8,i8*%cz,i64%cn
%cO=bitcast i8*%cN to i8**
store i8*%cM,i8**%cO,align 8
%cP=sext i32%bR to i64
%cQ=getelementptr inbounds i8,i8*%cz,i64%cP
%cR=bitcast i8*%cQ to i32*
store i32%bX,i32*%cR,align 4
%cS=load i8*,i8**%h,align 8
%cT=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%cS,i8*inreg%cz)
ret i8*%cT
cU:
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%cV=load i8*,i8**%g,align 8
%cW=getelementptr inbounds i8,i8*%cV,i64 20
%cX=bitcast i8*%cW to i32*
%cY=load i32,i32*%cX,align 4
%cZ=getelementptr inbounds i8,i8*%cV,i64 16
%c0=bitcast i8*%cZ to i32*
%c1=load i32,i32*%c0,align 4
%c2=call i8*@sml_alloc(i32 inreg%ad)#0
%c3=or i32%Z,1342177280
%c4=getelementptr inbounds i8,i8*%c2,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32%c3,i32*%c5,align 4
call void@llvm.memset.p0i8.i32(i8*%c2,i8 0,i32%ad,i1 false)
%c6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c7=bitcast i8*%c2 to i8**
store i8*%c6,i8**%c7,align 8
%c8=icmp eq i32%c1,0
%c9=load i8*,i8**%c,align 8
%da=sext i32%G to i64
%db=getelementptr inbounds i8,i8*%c2,i64%da
br i1%c8,label%de,label%dc
dc:
%dd=bitcast i8*%db to i8**
store i8*%c9,i8**%dd,align 8
br label%df
de:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%db,i8*%c9,i32%cY,i1 false)
br label%df
df:
%dg=sext i32%Z to i64
%dh=getelementptr inbounds i8,i8*%c2,i64%dg
%di=bitcast i8*%dh to i32*
store i32%ac,i32*%di,align 4
br label%k
}
define internal fastcc i8*@_SMLL8split__gt_270(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
%i=bitcast i8**%c to i8***
%j=bitcast i8**%g to i8***
br label%k
k:
%l=phi i8*[%bX,%ca],[%b,%m]
store i8*%l,i8**%c,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
%p=bitcast i8*%l to i8**
br i1%o,label%s,label%q
q:
call void@sml_check(i32 inreg%n)
%r=load i8**,i8***%i,align 8
br label%s
s:
%t=phi i8**[%r,%q],[%p,%k]
%u=load i8*,i8**%g,align 8
%v=getelementptr inbounds i8,i8*%u,i64 20
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=add i32%x,3
%z=sub i32 0,%x
%A=and i32%y,%z
%B=add i32%x,7
%C=add i32%B,%A
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=and i32%B,%z
%H=add i32%x,-1
%I=and i32%H,%z
%J=shl i32%x,1
%K=add i32%J,-1
%L=add i32%K,%I
%M=and i32%L,%z
%N=add i32%B,%M
%O=and i32%N,-8
%P=lshr i32%M,3
%Q=lshr i32%I,3
%R=sub nsw i32%P,%Q
%S=getelementptr inbounds i8,i8*%u,i64 16
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=shl i32%U,%R
%W=or i32%V,%U
%X=or i32%O,4
%Y=add i32%B,%G
%Z=and i32%Y,-8
%aa=lshr i32%G,3
%ab=shl i32%U,%aa
%ac=or i32%ab,1
%ad=or i32%Z,4
%ae=load i8*,i8**%t,align 8
%af=icmp eq i8*%ae,null
br i1%af,label%ag,label%ah
ag:
ret i8*null
ah:
store i8*%ae,i8**%f,align 8
%ai=icmp eq i32%U,0
br i1%ai,label%ao,label%aj
aj:
%ak=sext i32%A to i64
%al=getelementptr inbounds i8,i8*%ae,i64%ak
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
br label%az
ao:
%ap=call i8*@sml_alloc(i32 inreg%x)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32%x,i32*%ar,align 4
%as=load i8*,i8**%f,align 8
%at=sext i32%A to i64
%au=getelementptr inbounds i8,i8*%as,i64%at
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ap,i8*%au,i32%x,i1 false)
%av=load i8*,i8**%g,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i32*
%ay=load i32,i32*%ax,align 4
br label%az
az:
%aA=phi i8*[%av,%ao],[%u,%aj]
%aB=phi i32[%ay,%ao],[%U,%aj]
%aC=phi i8*[%as,%ao],[%ae,%aj]
%aD=phi i8*[%ap,%ao],[%an,%aj]
store i8*%aD,i8**%d,align 8
%aE=sext i32%D to i64
%aF=getelementptr inbounds i8,i8*%aC,i64%aE
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%e,align 8
%aI=sext i32%F to i64
%aJ=getelementptr inbounds i8,i8*%aC,i64%aI
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%f,align 8
%aM=icmp eq i32%aB,0
br i1%aM,label%aU,label%aN
aN:
%aO=bitcast i8*%aA to i8**
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aQ=sext i32%G to i64
%aR=getelementptr inbounds i8,i8*%aP,i64%aQ
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
br label%a9
aU:
%aV=getelementptr inbounds i8,i8*%aA,i64 20
%aW=bitcast i8*%aV to i32*
%aX=load i32,i32*%aW,align 4
%aY=call i8*@sml_alloc(i32 inreg%aX)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32%aX,i32*%a0,align 4
%a1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a2=sext i32%G to i64
%a3=getelementptr inbounds i8,i8*%a1,i64%a2
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aY,i8*%a3,i32%aX,i1 false)
%a4=load i8**,i8***%j,align 8
%a5=bitcast i8**%a4 to i8*
%a6=getelementptr inbounds i8*,i8**%a4,i64 2
%a7=bitcast i8**%a6 to i32*
%a8=load i32,i32*%a7,align 4
br label%a9
a9:
%ba=phi i32[%a8,%aU],[%aB,%aN]
%bb=phi i8*[%a5,%aU],[%aA,%aN]
%bc=phi i8**[%a4,%aU],[%aO,%aN]
%bd=phi i8*[%aY,%aU],[%aT,%aN]
store i8*%bd,i8**%c,align 8
%be=load i8*,i8**%bc,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%h,align 8
%bk=getelementptr inbounds i8,i8*%bb,i64 20
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
%bn=call i8*@sml_alloc(i32 inreg%X)#0
%bo=or i32%O,1342177280
%bp=getelementptr inbounds i8,i8*%bn,i64 -4
%bq=bitcast i8*%bp to i32*
store i32%bo,i32*%bq,align 4
call void@llvm.memset.p0i8.i32(i8*%bn,i8 0,i32%X,i1 false)
%br=icmp eq i32%ba,0
%bs=load i8*,i8**%d,align 8
%bt=sext i32%I to i64
%bu=getelementptr inbounds i8,i8*%bn,i64%bt
br i1%br,label%bB,label%bv
bv:
%bw=bitcast i8*%bu to i8**
store i8*%bs,i8**%bw,align 8
%bx=load i8*,i8**%c,align 8
%by=sext i32%M to i64
%bz=getelementptr inbounds i8,i8*%bn,i64%by
%bA=bitcast i8*%bz to i8**
store i8*%bx,i8**%bA,align 8
br label%bF
bB:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bu,i8*%bs,i32%bm,i1 false)
%bC=load i8*,i8**%c,align 8
%bD=sext i32%M to i64
%bE=getelementptr inbounds i8,i8*%bn,i64%bD
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bE,i8*%bC,i32%bm,i1 false)
br label%bF
bF:
%bG=sext i32%O to i64
%bH=getelementptr inbounds i8,i8*%bn,i64%bG
%bI=bitcast i8*%bH to i32*
store i32%W,i32*%bI,align 4
%bJ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bK=call fastcc i8*%bh(i8*inreg%bJ,i8*inreg%bn)
%bL=bitcast i8*%bK to i32*
%bM=load i32,i32*%bL,align 4
switch i32%bM,label%bN[
i32 1,label%ce
i32 2,label%bP
]
bN:
%bO=load i8*,i8**%f,align 8
ret i8*%bO
bP:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%bQ=load i8*,i8**%g,align 8
%bR=getelementptr inbounds i8,i8*%bQ,i64 20
%bS=bitcast i8*%bR to i32*
%bT=load i32,i32*%bS,align 4
%bU=getelementptr inbounds i8,i8*%bQ,i64 16
%bV=bitcast i8*%bU to i32*
%bW=load i32,i32*%bV,align 4
%bX=call i8*@sml_alloc(i32 inreg%ad)#0
%bY=or i32%Z,1342177280
%bZ=getelementptr inbounds i8,i8*%bX,i64 -4
%b0=bitcast i8*%bZ to i32*
store i32%bY,i32*%b0,align 4
call void@llvm.memset.p0i8.i32(i8*%bX,i8 0,i32%ad,i1 false)
%b1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b2=bitcast i8*%bX to i8**
store i8*%b1,i8**%b2,align 8
%b3=icmp eq i32%bW,0
%b4=load i8*,i8**%c,align 8
%b5=sext i32%G to i64
%b6=getelementptr inbounds i8,i8*%bX,i64%b5
br i1%b3,label%b9,label%b7
b7:
%b8=bitcast i8*%b6 to i8**
store i8*%b4,i8**%b8,align 8
br label%ca
b9:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b6,i8*%b4,i32%bT,i1 false)
br label%ca
ca:
%cb=sext i32%Z to i64
%cc=getelementptr inbounds i8,i8*%bX,i64%cb
%cd=bitcast i8*%cc to i32*
store i32%ac,i32*%cd,align 4
br label%k
ce:
%cf=add i32%Z,15
%cg=and i32%cf,-8
%ch=lshr i32%Y,3
%ci=sub nsw i32%ch,%aa
%cj=shl i32 1,%ci
%ck=or i32%cj,%U
%cl=shl i32%ck,%aa
%cm=or i32%cl,1
%cn=or i32%cg,4
%co=load i8*,i8**%g,align 8
%cp=getelementptr inbounds i8,i8*%co,i64 8
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
store i8*%cr,i8**%h,align 8
%cs=getelementptr inbounds i8,i8*%co,i64 20
%ct=bitcast i8*%cs to i32*
%cu=load i32,i32*%ct,align 4
%cv=getelementptr inbounds i8,i8*%co,i64 16
%cw=bitcast i8*%cv to i32*
%cx=load i32,i32*%cw,align 4
%cy=call i8*@sml_alloc(i32 inreg%ad)#0
%cz=or i32%Z,1342177280
%cA=getelementptr inbounds i8,i8*%cy,i64 -4
%cB=bitcast i8*%cA to i32*
store i32%cz,i32*%cB,align 4
call void@llvm.memset.p0i8.i32(i8*%cy,i8 0,i32%ad,i1 false)
%cC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cD=bitcast i8*%cy to i8**
store i8*%cC,i8**%cD,align 8
%cE=icmp eq i32%cx,0
%cF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cG=sext i32%G to i64
%cH=getelementptr inbounds i8,i8*%cy,i64%cG
br i1%cE,label%cK,label%cI
cI:
%cJ=bitcast i8*%cH to i8**
store i8*%cF,i8**%cJ,align 8
br label%cL
cK:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cH,i8*%cF,i32%cu,i1 false)
br label%cL
cL:
%cM=sext i32%Z to i64
%cN=getelementptr inbounds i8,i8*%cy,i64%cM
%cO=bitcast i8*%cN to i32*
store i32%ac,i32*%cO,align 4
%cP=load i8*,i8**%g,align 8
%cQ=call fastcc i8*@_SMLL8split__gt_270(i8*inreg%cP,i8*inreg%cy)
store i8*%cQ,i8**%c,align 8
%cR=load i8*,i8**%g,align 8
%cS=getelementptr inbounds i8,i8*%cR,i64 20
%cT=bitcast i8*%cS to i32*
%cU=load i32,i32*%cT,align 4
store i8*null,i8**%g,align 8
%cV=getelementptr inbounds i8,i8*%cR,i64 16
%cW=bitcast i8*%cV to i32*
%cX=load i32,i32*%cW,align 4
%cY=call i8*@sml_alloc(i32 inreg%cn)#0
%cZ=or i32%cg,1342177280
%c0=getelementptr inbounds i8,i8*%cY,i64 -4
%c1=bitcast i8*%c0 to i32*
store i32%cZ,i32*%c1,align 4
call void@llvm.memset.p0i8.i32(i8*%cY,i8 0,i32%cn,i1 false)
%c2=load i8*,i8**%c,align 8
%c3=bitcast i8*%cY to i8**
store i8*%c2,i8**%c3,align 8
%c4=icmp eq i32%cX,0
%c5=load i8*,i8**%d,align 8
%c6=getelementptr inbounds i8,i8*%cY,i64%cG
br i1%c4,label%c9,label%c7
c7:
%c8=bitcast i8*%c6 to i8**
store i8*%c5,i8**%c8,align 8
br label%da
c9:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c6,i8*%c5,i32%cU,i1 false)
br label%da
da:
%db=load i8*,i8**%f,align 8
%dc=getelementptr inbounds i8,i8*%cY,i64%cM
%dd=bitcast i8*%dc to i8**
store i8*%db,i8**%dd,align 8
%de=sext i32%cg to i64
%df=getelementptr inbounds i8,i8*%cY,i64%de
%dg=bitcast i8*%df to i32*
store i32%cm,i32*%dg,align 4
%dh=load i8*,i8**%h,align 8
%di=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%dh,i8*inreg%cY)
ret i8*%di
}
define internal fastcc i8*@_SMLL3min_271(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
g:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
br label%e
e:
%f=phi i8*[%o,%aq],[%a,%g]
%h=phi i8*[%ar,%aq],[%b,%g]
store i8*%h,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%d,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%f,%e]
%p=phi i8*[%l,%k],[%h,%e]
%q=getelementptr inbounds i8,i8*%o,i64 4
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=add i32%s,3
%u=sub i32 0,%s
%v=and i32%t,%u
%w=icmp eq i8*%p,null
br i1%w,label%x,label%P
x:
store i8*null,i8**%d,align 8
%y=load i8*,i8**@_SMLZ5Match,align 8
store i8*%y,i8**%c,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**%d,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,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,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@h,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**%d,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 i32%s,7
%R=add i32%Q,%v
%S=and i32%R,-8
%T=sext i32%S to i64
%U=getelementptr inbounds i8,i8*%p,i64%T
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=icmp eq i8*%W,null
br i1%X,label%Y,label%aq
Y:
%Z=bitcast i8*%o to i32*
%aa=load i32,i32*%Z,align 4
%ab=icmp eq i32%aa,0
br i1%ab,label%ah,label%ac
ac:
%ad=sext i32%v to i64
%ae=getelementptr inbounds i8,i8*%p,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
ret i8*%ag
ah:
%ai=bitcast i8*%q to i32*
store i8*null,i8**%d,align 8
%aj=load i32,i32*%ai,align 4
%ak=call i8*@sml_alloc(i32 inreg%aj)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32%aj,i32*%am,align 4
%an=load i8*,i8**%c,align 8
%ao=sext i32%v to i64
%ap=getelementptr inbounds i8,i8*%an,i64%ao
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ak,i8*%ap,i32%aj,i1 false)
ret i8*%ak
aq:
store i8*null,i8**%c,align 8
%ar=load i8*,i8**%V,align 8
br label%e
}
define internal fastcc i8*@_SMLL6delmin_273(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%m,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
%l=load i8*,i8**%f,align 8
br label%m
m:
%n=phi i8*[%l,%j],[%a,%o]
%p=phi i8*[%k,%j],[%b,%o]
%q=getelementptr inbounds i8,i8*%n,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=add i32%s,3
%u=sub i32 0,%s
%v=and i32%t,%u
%w=add i32%s,7
%x=add i32%w,%v
%y=and i32%x,-8
%z=add i32%y,15
%A=and i32%z,-8
%B=add i32%s,-1
%C=and i32%B,%u
%D=add i32%w,%C
%E=and i32%D,-8
%F=add i32%E,15
%G=and i32%F,-8
%H=add i32%G,15
%I=and i32%H,-8
%J=lshr i32%F,3
%K=lshr i32%D,3
%L=sub nsw i32%J,%K
%M=lshr i32%C,3
%N=sub nsw i32%K,%M
%O=shl i32 1,%L
%P=or i32%O,1
%Q=shl i32%P,%N
%R=getelementptr inbounds i8,i8*%n,i64 8
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
%U=or i32%Q,%T
%V=or i32%I,4
%W=icmp eq i8*%p,null
br i1%W,label%X,label%ap
X:
store i8*null,i8**%f,align 8
%Y=load i8*,i8**@_SMLZ5Match,align 8
store i8*%Y,i8**%c,align 8
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
store i8*%Z,i8**%d,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@i,i64 0,i32 2,i64 0),i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to i32*
store i32 3,i32*%ah,align 4
%ai=call i8*@sml_alloc(i32 inreg 60)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177336,i32*%ak,align 4
%al=getelementptr inbounds i8,i8*%ai,i64 56
%am=bitcast i8*%al to i32*
store i32 1,i32*%am,align 4
%an=load i8*,i8**%d,align 8
%ao=bitcast i8*%ai to i8**
store i8*%an,i8**%ao,align 8
call void@sml_raise(i8*inreg%ai)#1
unreachable
ap:
%aq=icmp eq i32%T,0
br i1%aq,label%aw,label%ar
ar:
%as=sext i32%v to i64
%at=getelementptr inbounds i8,i8*%p,i64%as
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
br label%aD
aw:
%ax=call i8*@sml_alloc(i32 inreg%s)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32%s,i32*%az,align 4
%aA=load i8*,i8**%c,align 8
%aB=sext i32%v to i64
%aC=getelementptr inbounds i8,i8*%aA,i64%aB
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ax,i8*%aC,i32%s,i1 false)
br label%aD
aD:
%aE=phi i8*[%aA,%aw],[%p,%ar]
%aF=phi i8*[%ax,%aw],[%av,%ar]
store i8*%aF,i8**%d,align 8
%aG=sext i32%y to i64
%aH=getelementptr inbounds i8,i8*%aE,i64%aG
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=icmp eq i8*%aJ,null
%aL=sext i32%A to i64
%aM=getelementptr inbounds i8,i8*%aE,i64%aL
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
br i1%aK,label%aP,label%aQ
aP:
ret i8*%aO
aQ:
store i8*%aO,i8**%e,align 8
%aR=bitcast i8**%f to i8***
%aS=load i8**,i8***%aR,align 8
%aT=load i8*,i8**%aS,align 8
store i8*%aT,i8**%g,align 8
store i8*null,i8**%c,align 8
%aU=load i8*,i8**%aI,align 8
%aV=bitcast i8**%aS to i8*
%aW=call fastcc i8*@_SMLL6delmin_273(i8*inreg%aV,i8*inreg%aU)
store i8*%aW,i8**%c,align 8
%aX=load i8*,i8**%f,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 12
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
store i8*null,i8**%f,align 8
%a1=getelementptr inbounds i8,i8*%aX,i64 8
%a2=bitcast i8*%a1 to i32*
%a3=load i32,i32*%a2,align 4
%a4=call i8*@sml_alloc(i32 inreg%V)#0
%a5=or i32%I,1342177280
%a6=getelementptr inbounds i8,i8*%a4,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32%a5,i32*%a7,align 4
call void@llvm.memset.p0i8.i32(i8*%a4,i8 0,i32%V,i1 false)
%a8=icmp eq i32%a3,0
%a9=load i8*,i8**%d,align 8
%ba=sext i32%C to i64
%bb=getelementptr inbounds i8,i8*%a4,i64%ba
br i1%a8,label%be,label%bc
bc:
%bd=bitcast i8*%bb to i8**
store i8*%a9,i8**%bd,align 8
br label%bf
be:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bb,i8*%a9,i32%a0,i1 false)
br label%bf
bf:
%bg=load i8*,i8**%c,align 8
%bh=sext i32%E to i64
%bi=getelementptr inbounds i8,i8*%a4,i64%bh
%bj=bitcast i8*%bi to i8**
store i8*%bg,i8**%bj,align 8
%bk=load i8*,i8**%e,align 8
%bl=sext i32%G to i64
%bm=getelementptr inbounds i8,i8*%a4,i64%bl
%bn=bitcast i8*%bm to i8**
store i8*%bk,i8**%bn,align 8
%bo=sext i32%I to i64
%bp=getelementptr inbounds i8,i8*%a4,i64%bo
%bq=bitcast i8*%bp to i32*
store i32%U,i32*%bq,align 4
%br=load i8*,i8**%g,align 8
%bs=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%br,i8*inreg%a4)
ret i8*%bs
}
define internal fastcc i8*@_SMLL7delete_G_275(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%j,label%l
j:
%k=bitcast i8*%b to i8**
br label%q
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
%o=load i8*,i8**%f,align 8
%p=bitcast i8**%n to i8*
br label%q
q:
%r=phi i8*[%o,%l],[%a,%j]
%s=phi i8*[%p,%l],[%b,%j]
%t=phi i8**[%n,%l],[%k,%j]
%u=bitcast i8*%r to i8**
%v=getelementptr inbounds i8,i8*%r,i64 28
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=add i32%x,-1
%z=sub i32 0,%x
%A=and i32%y,%z
%B=add i32%x,7
%C=add i32%B,%A
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=add i32%F,15
%H=and i32%G,-8
%I=lshr i32%E,3
%J=lshr i32%C,3
%K=sub nsw i32%I,%J
%L=lshr i32%A,3
%M=sub nsw i32%J,%L
%N=shl i32 1,%K
%O=or i32%N,1
%P=shl i32%O,%M
%Q=getelementptr inbounds i8,i8*%r,i64 24
%R=bitcast i8*%Q to i32*
%S=load i32,i32*%R,align 4
%T=or i32%P,%S
%U=or i32%H,4
%V=load i8*,i8**%t,align 8
store i8*%V,i8**%e,align 8
%W=icmp eq i8*%V,null
%X=getelementptr inbounds i8,i8*%s,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
br i1%W,label%aa,label%ac
aa:
%ab=phi i8*[%Z,%q],[%V,%ac]
ret i8*%ab
ac:
%ad=icmp eq i8*%Z,null
br i1%ad,label%aa,label%ae
ae:
%af=load i8*,i8**%u,align 8
store i8*%af,i8**%g,align 8
%ag=getelementptr inbounds i8,i8*%r,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*@_SMLL3min_271(i8*inreg%ai,i8*inreg%Z)
store i8*%aj,i8**%d,align 8
%ak=load i8*,i8**%f,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=call fastcc i8*@_SMLL6delmin_273(i8*inreg%an,i8*inreg%ar)
store i8*%as,i8**%c,align 8
%at=load i8*,i8**%f,align 8
%au=getelementptr inbounds i8,i8*%at,i64 28
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
store i8*null,i8**%f,align 8
%ax=getelementptr inbounds i8,i8*%at,i64 24
%ay=bitcast i8*%ax to i32*
%az=load i32,i32*%ay,align 4
%aA=call i8*@sml_alloc(i32 inreg%U)#0
%aB=or i32%H,1342177280
%aC=getelementptr inbounds i8,i8*%aA,i64 -4
%aD=bitcast i8*%aC to i32*
store i32%aB,i32*%aD,align 4
call void@llvm.memset.p0i8.i32(i8*%aA,i8 0,i32%U,i1 false)
%aE=icmp eq i32%az,0
%aF=load i8*,i8**%d,align 8
%aG=sext i32%A to i64
%aH=getelementptr inbounds i8,i8*%aA,i64%aG
br i1%aE,label%aK,label%aI
aI:
%aJ=bitcast i8*%aH to i8**
store i8*%aF,i8**%aJ,align 8
br label%aL
aK:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aH,i8*%aF,i32%aw,i1 false)
br label%aL
aL:
%aM=load i8*,i8**%e,align 8
%aN=sext i32%D to i64
%aO=getelementptr inbounds i8,i8*%aA,i64%aN
%aP=bitcast i8*%aO to i8**
store i8*%aM,i8**%aP,align 8
%aQ=load i8*,i8**%c,align 8
%aR=sext i32%F to i64
%aS=getelementptr inbounds i8,i8*%aA,i64%aR
%aT=bitcast i8*%aS to i8**
store i8*%aQ,i8**%aT,align 8
%aU=sext i32%H to i64
%aV=getelementptr inbounds i8,i8*%aA,i64%aU
%aW=bitcast i8*%aV to i32*
store i32%T,i32*%aW,align 4
%aX=load i8*,i8**%g,align 8
%aY=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%aX,i8*inreg%aA)
ret i8*%aY
}
define internal fastcc i8*@_SMLL6concat_276(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%k,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%n,label%p
n:
%o=bitcast i8*%b to i8**
br label%u
p:
call void@sml_check(i32 inreg%l)
%q=bitcast i8**%c to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%k,align 8
%t=bitcast i8**%r to i8*
br label%u
u:
%v=phi i8*[%t,%p],[%b,%n]
%w=phi i8*[%s,%p],[%a,%n]
%x=phi i8**[%r,%p],[%o,%n]
%y=getelementptr inbounds i8,i8*%w,i64 28
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=add i32%A,3
%C=sub i32 0,%A
%D=and i32%B,%C
%E=add i32%A,7
%F=add i32%E,%D
%G=and i32%F,-8
%H=add i32%G,15
%I=and i32%H,-8
%J=add i32%A,-1
%K=and i32%J,%C
%L=add i32%E,%K
%M=and i32%L,-8
%N=add i32%M,15
%O=and i32%N,-8
%P=add i32%O,15
%Q=and i32%P,-8
%R=lshr i32%N,3
%S=lshr i32%L,3
%T=sub nsw i32%R,%S
%U=lshr i32%K,3
%V=sub nsw i32%S,%U
%W=shl i32 1,%T
%X=or i32%W,1
%Y=shl i32%X,%V
%Z=getelementptr inbounds i8,i8*%w,i64 24
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=or i32%Y,%ab
%ad=or i32%Q,4
%ae=load i8*,i8**%x,align 8
store i8*%ae,i8**%e,align 8
%af=icmp eq i8*%ae,null
br i1%af,label%ag,label%ak
ag:
%ah=getelementptr inbounds i8,i8*%v,i64 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
ret i8*%aj
ak:
%al=bitcast i8*%ae to i32*
%am=load i32,i32*%al,align 4
%an=icmp eq i32%ab,0
br i1%an,label%at,label%ao
ao:
%ap=sext i32%D to i64
%aq=getelementptr inbounds i8,i8*%ae,i64%ap
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
br label%aB
at:
%au=call i8*@sml_alloc(i32 inreg%A)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32%A,i32*%aw,align 4
%ax=load i8*,i8**%e,align 8
%ay=sext i32%D to i64
%az=getelementptr inbounds i8,i8*%ax,i64%ay
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%au,i8*%az,i32%A,i1 false)
%aA=load i8*,i8**%c,align 8
br label%aB
aB:
%aC=phi i8*[%aA,%at],[%v,%ao]
%aD=phi i8*[%ax,%at],[%ae,%ao]
%aE=phi i8*[%au,%at],[%as,%ao]
store i8*%aE,i8**%d,align 8
%aF=sext i32%G to i64
%aG=getelementptr inbounds i8,i8*%aD,i64%aF
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%f,align 8
%aJ=sext i32%I to i64
%aK=getelementptr inbounds i8,i8*%aD,i64%aJ
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
store i8*%aM,i8**%g,align 8
%aN=getelementptr inbounds i8,i8*%aC,i64 8
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%h,align 8
%aQ=icmp eq i8*%aP,null
br i1%aQ,label%aR,label%aS
aR:
ret i8*%aD
aS:
%aT=bitcast i8*%aP to i32*
%aU=load i32,i32*%aT,align 4
%aV=load i8*,i8**%k,align 8
%aW=getelementptr inbounds i8,i8*%aV,i64 24
%aX=bitcast i8*%aW to i32*
%aY=load i32,i32*%aX,align 4
%aZ=icmp eq i32%aY,0
br i1%aZ,label%a5,label%a0
a0:
%a1=sext i32%D to i64
%a2=getelementptr inbounds i8,i8*%aP,i64%a1
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
br label%bf
a5:
%a6=getelementptr inbounds i8,i8*%aV,i64 28
%a7=bitcast i8*%a6 to i32*
%a8=load i32,i32*%a7,align 4
%a9=call i8*@sml_alloc(i32 inreg%a8)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32%a8,i32*%bb,align 4
%bc=load i8*,i8**%h,align 8
%bd=sext i32%D to i64
%be=getelementptr inbounds i8,i8*%bc,i64%bd
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a9,i8*%be,i32%a8,i1 false)
br label%bf
bf:
%bg=phi i8*[%bc,%a5],[%aP,%a0]
%bh=phi i8*[%a9,%a5],[%a4,%a0]
store i8*%bh,i8**%i,align 8
%bi=getelementptr inbounds i8,i8*%bg,i64%aF
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%c,align 8
%bl=getelementptr inbounds i8,i8*%bg,i64%aJ
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
store i8*%bn,i8**%j,align 8
%bo=mul nsw i32%am,3
%bp=icmp slt i32%bo,%aU
br i1%bp,label%bq,label%cc
bq:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%br=bitcast i8**%k to i8***
%bs=load i8**,i8***%br,align 8
%bt=load i8*,i8**%bs,align 8
store i8*%bt,i8**%d,align 8
%bu=call i8*@sml_alloc(i32 inreg 20)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177296,i32*%bw,align 4
%bx=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%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=load i8*,i8**%k,align 8
%bF=call fastcc i8*@_SMLL6concat_276(i8*inreg%bE,i8*inreg%bu)
store i8*%bF,i8**%c,align 8
%bG=load i8*,i8**%k,align 8
%bH=getelementptr inbounds i8,i8*%bG,i64 28
%bI=bitcast i8*%bH to i32*
%bJ=load i32,i32*%bI,align 4
store i8*null,i8**%k,align 8
%bK=getelementptr inbounds i8,i8*%bG,i64 24
%bL=bitcast i8*%bK to i32*
%bM=load i32,i32*%bL,align 4
%bN=call i8*@sml_alloc(i32 inreg%ad)#0
%bO=or i32%Q,1342177280
%bP=getelementptr inbounds i8,i8*%bN,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32%bO,i32*%bQ,align 4
call void@llvm.memset.p0i8.i32(i8*%bN,i8 0,i32%ad,i1 false)
%bR=icmp eq i32%bM,0
%bS=load i8*,i8**%i,align 8
%bT=sext i32%K to i64
%bU=getelementptr inbounds i8,i8*%bN,i64%bT
br i1%bR,label%bX,label%bV
bV:
%bW=bitcast i8*%bU to i8**
store i8*%bS,i8**%bW,align 8
br label%bY
bX:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bU,i8*%bS,i32%bJ,i1 false)
br label%bY
bY:
%bZ=load i8*,i8**%c,align 8
%b0=sext i32%M to i64
%b1=getelementptr inbounds i8,i8*%bN,i64%b0
%b2=bitcast i8*%b1 to i8**
store i8*%bZ,i8**%b2,align 8
%b3=load i8*,i8**%j,align 8
%b4=sext i32%O to i64
%b5=getelementptr inbounds i8,i8*%bN,i64%b4
%b6=bitcast i8*%b5 to i8**
store i8*%b3,i8**%b6,align 8
%b7=sext i32%Q to i64
%b8=getelementptr inbounds i8,i8*%bN,i64%b7
%b9=bitcast i8*%b8 to i32*
store i32%ac,i32*%b9,align 4
%ca=load i8*,i8**%d,align 8
%cb=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%ca,i8*inreg%bN)
ret i8*%cb
cc:
store i8*null,i8**%i,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%j,align 8
%cd=mul nsw i32%aU,3
%ce=icmp slt i32%cd,%am
br i1%ce,label%cf,label%c1
cf:
%cg=bitcast i8**%k to i8***
%ch=load i8**,i8***%cg,align 8
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%e,align 8
%cj=call i8*@sml_alloc(i32 inreg 20)#0
%ck=getelementptr inbounds i8,i8*%cj,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177296,i32*%cl,align 4
%cm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cn=bitcast i8*%cj to i8**
store i8*%cm,i8**%cn,align 8
%co=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cp=getelementptr inbounds i8,i8*%cj,i64 8
%cq=bitcast i8*%cp to i8**
store i8*%co,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%cj,i64 16
%cs=bitcast i8*%cr to i32*
store i32 3,i32*%cs,align 4
%ct=load i8*,i8**%k,align 8
%cu=call fastcc i8*@_SMLL6concat_276(i8*inreg%ct,i8*inreg%cj)
store i8*%cu,i8**%c,align 8
%cv=load i8*,i8**%k,align 8
%cw=getelementptr inbounds i8,i8*%cv,i64 28
%cx=bitcast i8*%cw to i32*
%cy=load i32,i32*%cx,align 4
store i8*null,i8**%k,align 8
%cz=getelementptr inbounds i8,i8*%cv,i64 24
%cA=bitcast i8*%cz to i32*
%cB=load i32,i32*%cA,align 4
%cC=call i8*@sml_alloc(i32 inreg%ad)#0
%cD=or i32%Q,1342177280
%cE=getelementptr inbounds i8,i8*%cC,i64 -4
%cF=bitcast i8*%cE to i32*
store i32%cD,i32*%cF,align 4
call void@llvm.memset.p0i8.i32(i8*%cC,i8 0,i32%ad,i1 false)
%cG=icmp eq i32%cB,0
%cH=load i8*,i8**%d,align 8
%cI=sext i32%K to i64
%cJ=getelementptr inbounds i8,i8*%cC,i64%cI
br i1%cG,label%cM,label%cK
cK:
%cL=bitcast i8*%cJ to i8**
store i8*%cH,i8**%cL,align 8
br label%cN
cM:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cJ,i8*%cH,i32%cy,i1 false)
br label%cN
cN:
%cO=load i8*,i8**%f,align 8
%cP=sext i32%M to i64
%cQ=getelementptr inbounds i8,i8*%cC,i64%cP
%cR=bitcast i8*%cQ to i8**
store i8*%cO,i8**%cR,align 8
%cS=load i8*,i8**%c,align 8
%cT=sext i32%O to i64
%cU=getelementptr inbounds i8,i8*%cC,i64%cT
%cV=bitcast i8*%cU to i8**
store i8*%cS,i8**%cV,align 8
%cW=sext i32%Q to i64
%cX=getelementptr inbounds i8,i8*%cC,i64%cW
%cY=bitcast i8*%cX to i32*
store i32%ac,i32*%cY,align 4
%cZ=load i8*,i8**%e,align 8
%c0=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%cZ,i8*inreg%cC)
ret i8*%c0
c1:
store i8*null,i8**%d,align 8
store i8*null,i8**%g,align 8
%c2=bitcast i8**%k to i8***
%c3=load i8**,i8***%c2,align 8
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%f,align 8
%c5=getelementptr inbounds i8*,i8**%c3,i64 1
%c6=load i8*,i8**%c5,align 8
%c7=call fastcc i8*@_SMLL3min_271(i8*inreg%c6,i8*inreg%bg)
store i8*%c7,i8**%c,align 8
%c8=load i8*,i8**%k,align 8
%c9=getelementptr inbounds i8,i8*%c8,i64 16
%da=bitcast i8*%c9 to i8**
%db=load i8*,i8**%da,align 8
%dc=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dd=call fastcc i8*@_SMLL6delmin_273(i8*inreg%db,i8*inreg%dc)
store i8*%dd,i8**%d,align 8
%de=load i8*,i8**%k,align 8
%df=getelementptr inbounds i8,i8*%de,i64 28
%dg=bitcast i8*%df to i32*
%dh=load i32,i32*%dg,align 4
store i8*null,i8**%k,align 8
%di=getelementptr inbounds i8,i8*%de,i64 24
%dj=bitcast i8*%di to i32*
%dk=load i32,i32*%dj,align 4
%dl=call i8*@sml_alloc(i32 inreg%ad)#0
%dm=or i32%Q,1342177280
%dn=getelementptr inbounds i8,i8*%dl,i64 -4
%do=bitcast i8*%dn to i32*
store i32%dm,i32*%do,align 4
call void@llvm.memset.p0i8.i32(i8*%dl,i8 0,i32%ad,i1 false)
%dp=icmp eq i32%dk,0
%dq=load i8*,i8**%c,align 8
%dr=sext i32%K to i64
%ds=getelementptr inbounds i8,i8*%dl,i64%dr
br i1%dp,label%dv,label%dt
dt:
%du=bitcast i8*%ds to i8**
store i8*%dq,i8**%du,align 8
br label%dw
dv:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ds,i8*%dq,i32%dh,i1 false)
br label%dw
dw:
%dx=load i8*,i8**%e,align 8
%dy=sext i32%M to i64
%dz=getelementptr inbounds i8,i8*%dl,i64%dy
%dA=bitcast i8*%dz to i8**
store i8*%dx,i8**%dA,align 8
%dB=load i8*,i8**%d,align 8
%dC=sext i32%O to i64
%dD=getelementptr inbounds i8,i8*%dl,i64%dC
%dE=bitcast i8*%dD to i8**
store i8*%dB,i8**%dE,align 8
%dF=sext i32%Q to i64
%dG=getelementptr inbounds i8,i8*%dl,i64%dF
%dH=bitcast i8*%dG to i32*
store i32%ac,i32*%dH,align 4
%dI=load i8*,i8**%f,align 8
%dJ=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%dI,i8*inreg%dl)
ret i8*%dJ
}
define internal fastcc i8*@_SMLL4trim_277(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%i,align 8
%k=bitcast i8**%i to i8***
br label%l
l:
%m=phi i8*[%dh,%dg],[%b,%n]
store i8*%m,i8**%c,align 8
%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:
%s=load i8*,i8**%i,align 8
%t=getelementptr inbounds i8,i8*%s,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,-1
%x=sub i32 0,%v
%y=and i32%w,%x
%z=shl i32%v,1
%A=add i32%z,-1
%B=add i32%A,%y
%C=and i32%B,%x
%D=add i32%v,7
%E=add i32%D,%C
%F=and i32%E,-8
%G=add i32%v,3
%H=and i32%G,%x
%I=add i32%D,%H
%J=and i32%I,-8
%K=add i32%J,15
%L=and i32%K,-8
%M=lshr i32%C,3
%N=lshr i32%y,3
%O=sub nsw i32%M,%N
%P=getelementptr inbounds i8,i8*%s,i64 8
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=shl i32%R,%O
%T=or i32%S,%R
%U=or i32%F,4
%V=add i32%F,15
%W=and i32%V,-8
%X=lshr i32%E,3
%Y=sub nsw i32%X,%M
%Z=shl i32 1,%Y
%aa=or i32%Z,%R
%ab=shl i32%aa,%O
%ac=or i32%ab,%R
%ad=or i32%W,4
%ae=icmp eq i32%R,0
br i1%ae,label%al,label%af
af:
%ag=load i8*,i8**%c,align 8
%ah=sext i32%y to i64
%ai=getelementptr inbounds i8,i8*%ag,i64%ah
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%d,align 8
br label%ax
al:
%am=call i8*@sml_alloc(i32 inreg%v)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32%v,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
%aq=sext i32%y to i64
%ar=getelementptr inbounds i8,i8*%ap,i64%aq
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%am,i8*%ar,i32%v,i1 false)
%as=load i8*,i8**%i,align 8
%at=getelementptr inbounds i8,i8*%as,i64 8
%au=bitcast i8*%at to i32*
%av=load i32,i32*%au,align 4
store i8*%am,i8**%d,align 8
%aw=icmp eq i32%av,0
br i1%aw,label%aD,label%ax
ax:
%ay=phi i8*[%ag,%af],[%ap,%al]
%az=sext i32%C to i64
%aA=getelementptr inbounds i8,i8*%ay,i64%az
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
br label%aN
aD:
%aE=getelementptr inbounds i8,i8*%as,i64 12
%aF=bitcast i8*%aE to i32*
%aG=load i32,i32*%aF,align 4
%aH=call i8*@sml_alloc(i32 inreg%aG)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32%aG,i32*%aJ,align 4
%aK=load i8*,i8**%c,align 8
%aL=sext i32%C to i64
%aM=getelementptr inbounds i8,i8*%aK,i64%aL
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aH,i8*%aM,i32%aG,i1 false)
br label%aN
aN:
%aO=phi i8*[%aK,%aD],[%ay,%ax]
%aP=phi i8*[%aH,%aD],[%aC,%ax]
store i8*%aP,i8**%e,align 8
%aQ=sext i32%F to i64
%aR=getelementptr inbounds i8,i8*%aO,i64%aQ
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
%aU=icmp eq i8*%aT,null
br i1%aU,label%aV,label%aW
aV:
ret i8*null
aW:
store i8*%aT,i8**%h,align 8
%aX=load i8*,i8**%i,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 8
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
%a1=icmp eq i32%a0,0
br i1%a1,label%a8,label%a2
a2:
%a3=bitcast i8*%aX to i8**
%a4=sext i32%H to i64
%a5=getelementptr inbounds i8,i8*%aT,i64%a4
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
br label%bn
a8:
%a9=getelementptr inbounds i8,i8*%aX,i64 12
%ba=bitcast i8*%a9 to i32*
%bb=load i32,i32*%ba,align 4
%bc=call i8*@sml_alloc(i32 inreg%bb)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32%bb,i32*%be,align 4
%bf=load i8*,i8**%h,align 8
%bg=sext i32%H to i64
%bh=getelementptr inbounds i8,i8*%bf,i64%bg
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bc,i8*%bh,i32%bb,i1 false)
%bi=load i8**,i8***%k,align 8
%bj=bitcast i8**%bi to i8*
%bk=getelementptr inbounds i8*,i8**%bi,i64 1
%bl=bitcast i8**%bk to i32*
%bm=load i32,i32*%bl,align 4
br label%bn
bn:
%bo=phi i32[%bm,%a8],[%a0,%a2]
%bp=phi i8*[%bj,%a8],[%aX,%a2]
%bq=phi i8**[%bi,%a8],[%a3,%a2]
%br=phi i8*[%bf,%a8],[%aT,%a2]
%bs=phi i8*[%bc,%a8],[%a7,%a2]
store i8*%bs,i8**%f,align 8
%bt=sext i32%J to i64
%bu=getelementptr inbounds i8,i8*%br,i64%bt
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
store i8*%bw,i8**%g,align 8
%bx=sext i32%L to i64
%by=getelementptr inbounds i8,i8*%br,i64%bx
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%h,align 8
%bB=load i8*,i8**%bq,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 16
%bD=bitcast i8*%bC to i8*(i8*,i8*)**
%bE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bD,align 8
%bF=bitcast i8*%bB to i8**
%bG=load i8*,i8**%bF,align 8
store i8*%bG,i8**%j,align 8
%bH=getelementptr inbounds i8,i8*%bp,i64 12
%bI=bitcast i8*%bH to i32*
%bJ=load i32,i32*%bI,align 4
%bK=call i8*@sml_alloc(i32 inreg%U)#0
%bL=or i32%F,1342177280
%bM=getelementptr inbounds i8,i8*%bK,i64 -4
%bN=bitcast i8*%bM to i32*
store i32%bL,i32*%bN,align 4
call void@llvm.memset.p0i8.i32(i8*%bK,i8 0,i32%U,i1 false)
%bO=icmp eq i32%bo,0
%bP=load i8*,i8**%f,align 8
%bQ=sext i32%y to i64
%bR=getelementptr inbounds i8,i8*%bK,i64%bQ
br i1%bO,label%bY,label%bS
bS:
%bT=bitcast i8*%bR to i8**
store i8*%bP,i8**%bT,align 8
%bU=load i8*,i8**%d,align 8
%bV=sext i32%C to i64
%bW=getelementptr inbounds i8,i8*%bK,i64%bV
%bX=bitcast i8*%bW to i8**
store i8*%bU,i8**%bX,align 8
br label%b2
bY:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bR,i8*%bP,i32%bJ,i1 false)
%bZ=load i8*,i8**%d,align 8
%b0=sext i32%C to i64
%b1=getelementptr inbounds i8,i8*%bK,i64%b0
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b1,i8*%bZ,i32%bJ,i1 false)
br label%b2
b2:
%b3=phi i64[%b0,%bY],[%bV,%bS]
%b4=getelementptr inbounds i8,i8*%bK,i64%aQ
%b5=bitcast i8*%b4 to i32*
store i32%T,i32*%b5,align 4
%b6=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%b7=call fastcc i8*%bE(i8*inreg%b6,i8*inreg%bK)
%b8=bitcast i8*%b7 to i32*
%b9=load i32,i32*%b8,align 4
%ca=icmp eq i32%b9,1
br i1%ca,label%cb,label%do
cb:
%cc=load i8**,i8***%k,align 8
%cd=load i8*,i8**%cc,align 8
%ce=getelementptr inbounds i8,i8*%cd,i64 16
%cf=bitcast i8*%ce to i8*(i8*,i8*)**
%cg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cf,align 8
%ch=bitcast i8*%cd to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%h,align 8
%cj=bitcast i8**%cc to i8*
%ck=getelementptr inbounds i8,i8*%cj,i64 12
%cl=bitcast i8*%ck to i32*
%cm=load i32,i32*%cl,align 4
%cn=getelementptr inbounds i8*,i8**%cc,i64 1
%co=bitcast i8**%cn to i32*
%cp=load i32,i32*%co,align 4
%cq=call i8*@sml_alloc(i32 inreg%U)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32%bL,i32*%cs,align 4
call void@llvm.memset.p0i8.i32(i8*%cq,i8 0,i32%U,i1 false)
%ct=icmp eq i32%cp,0
%cu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cv=getelementptr inbounds i8,i8*%cq,i64%bQ
br i1%ct,label%cB,label%cw
cw:
%cx=bitcast i8*%cv to i8**
store i8*%cu,i8**%cx,align 8
%cy=load i8*,i8**%e,align 8
%cz=getelementptr inbounds i8,i8*%cq,i64%b3
%cA=bitcast i8*%cz to i8**
store i8*%cy,i8**%cA,align 8
br label%cE
cB:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cv,i8*%cu,i32%cm,i1 false)
%cC=load i8*,i8**%e,align 8
%cD=getelementptr inbounds i8,i8*%cq,i64%b3
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cD,i8*%cC,i32%cm,i1 false)
br label%cE
cE:
%cF=getelementptr inbounds i8,i8*%cq,i64%aQ
%cG=bitcast i8*%cF to i32*
store i32%T,i32*%cG,align 4
%cH=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cI=call fastcc i8*%cg(i8*inreg%cH,i8*inreg%cq)
%cJ=bitcast i8*%cI to i32*
%cK=load i32,i32*%cJ,align 4
%cL=icmp eq i32%cK,2
br i1%cL,label%cM,label%cR
cM:
%cN=load i8*,i8**%c,align 8
%cO=getelementptr inbounds i8,i8*%cN,i64%aQ
%cP=bitcast i8*%cO to i8**
%cQ=load i8*,i8**%cP,align 8
ret i8*%cQ
cR:
store i8*null,i8**%c,align 8
%cS=load i8*,i8**%i,align 8
%cT=getelementptr inbounds i8,i8*%cS,i64 12
%cU=bitcast i8*%cT to i32*
%cV=load i32,i32*%cU,align 4
%cW=getelementptr inbounds i8,i8*%cS,i64 8
%cX=bitcast i8*%cW to i32*
%cY=load i32,i32*%cX,align 4
%cZ=call i8*@sml_alloc(i32 inreg%ad)#0
%c0=or i32%W,1342177280
%c1=getelementptr inbounds i8,i8*%cZ,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32%c0,i32*%c2,align 4
call void@llvm.memset.p0i8.i32(i8*%cZ,i8 0,i32%ad,i1 false)
%c3=icmp eq i32%cY,0
%c4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c5=getelementptr inbounds i8,i8*%cZ,i64%bQ
br i1%c3,label%db,label%c6
c6:
%c7=bitcast i8*%c5 to i8**
store i8*%c4,i8**%c7,align 8
%c8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c9=getelementptr inbounds i8,i8*%cZ,i64%b3
%da=bitcast i8*%c9 to i8**
store i8*%c8,i8**%da,align 8
br label%de
db:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c5,i8*%c4,i32%cV,i1 false)
%dc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dd=getelementptr inbounds i8,i8*%cZ,i64%b3
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dd,i8*%dc,i32%cV,i1 false)
br label%de
de:
%df=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
br label%dg
dg:
%dh=phi i8*[%cZ,%de],[%dw,%dL]
%di=phi i8*[%df,%de],[%dM,%dL]
%dj=getelementptr inbounds i8,i8*%dh,i64%aQ
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=sext i32%W to i64
%dm=getelementptr inbounds i8,i8*%dh,i64%dl
%dn=bitcast i8*%dm to i32*
store i32%ac,i32*%dn,align 4
br label%l
do:
store i8*null,i8**%c,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%dp=load i8*,i8**%i,align 8
%dq=getelementptr inbounds i8,i8*%dp,i64 12
%dr=bitcast i8*%dq to i32*
%ds=load i32,i32*%dr,align 4
%dt=getelementptr inbounds i8,i8*%dp,i64 8
%du=bitcast i8*%dt to i32*
%dv=load i32,i32*%du,align 4
%dw=call i8*@sml_alloc(i32 inreg%ad)#0
%dx=or i32%W,1342177280
%dy=getelementptr inbounds i8,i8*%dw,i64 -4
%dz=bitcast i8*%dy to i32*
store i32%dx,i32*%dz,align 4
call void@llvm.memset.p0i8.i32(i8*%dw,i8 0,i32%ad,i1 false)
%dA=icmp eq i32%dv,0
%dB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dC=getelementptr inbounds i8,i8*%dw,i64%bQ
br i1%dA,label%dI,label%dD
dD:
%dE=bitcast i8*%dC to i8**
store i8*%dB,i8**%dE,align 8
%dF=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dG=getelementptr inbounds i8,i8*%dw,i64%b3
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
br label%dL
dI:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dC,i8*%dB,i32%ds,i1 false)
%dJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dK=getelementptr inbounds i8,i8*%dw,i64%b3
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dK,i8*%dJ,i32%ds,i1 false)
br label%dL
dL:
%dM=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
br label%dg
}
define internal fastcc i8*@_SMLL6uni__bd_278(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
%p=load i8*,i8**%j,align 8
br label%q
q:
%r=phi i8*[%o,%n],[%b,%s]
%t=phi i8*[%p,%n],[%a,%s]
%u=bitcast i8*%r to i8**
%v=getelementptr inbounds i8,i8*%t,i64 36
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=add i32%x,3
%z=sub i32 0,%x
%A=and i32%y,%z
%B=add i32%x,7
%C=add i32%B,%A
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=add i32%x,15
%H=and i32%G,%z
%I=shl i32%x,1
%J=add i32%I,-1
%K=add i32%J,%H
%L=and i32%K,%z
%M=add i32%x,-1
%N=and i32%M,%z
%O=add i32%J,%N
%P=and i32%O,%z
%Q=add i32%B,%P
%R=and i32%Q,-8
%S=add i32%R,15
%T=and i32%S,-8
%U=lshr i32%Q,3
%V=lshr i32%P,3
%W=sub nsw i32%U,%V
%X=lshr i32%N,3
%Y=sub nsw i32%V,%X
%Z=shl i32 1,%W
%aa=getelementptr inbounds i8,i8*%t,i64 32
%ab=bitcast i8*%aa to i32*
%ac=load i32,i32*%ab,align 4
%ad=or i32%Z,%ac
%ae=shl i32%ad,%Y
%af=or i32%ae,%ac
%ag=or i32%T,4
%ah=add i32%B,%L
%ai=and i32%ah,-8
%aj=lshr i32%L,3
%ak=lshr i32%H,3
%al=sub nsw i32%aj,%ak
%am=add nsw i32%ak,-1
%an=shl i32%ac,%al
%ao=or i32%an,%ac
%ap=shl i32%ao,%am
%aq=shl i32%ap,1
%ar=or i32%aq,3
%as=or i32%ai,4
%at=and i32%B,%z
%au=add i32%B,%at
%av=and i32%au,-8
%aw=add i32%av,15
%ax=and i32%aw,-8
%ay=lshr i32%au,3
%az=lshr i32%at,3
%aA=sub nsw i32%ay,%az
%aB=shl i32 1,%aA
%aC=or i32%aB,%ac
%aD=shl i32%aC,%az
%aE=or i32%aD,1
%aF=or i32%ax,4
%aG=shl i32%ac,%az
%aH=or i32%aG,1
%aI=or i32%av,4
%aJ=load i8*,i8**%u,align 8
%aK=icmp eq i8*%aJ,null
br i1%aK,label%aL,label%dq
aL:
%aM=getelementptr inbounds i8,i8*%r,i64 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
%aP=icmp eq i8*%aO,null
br i1%aP,label%hw,label%aQ
aQ:
store i8*%aO,i8**%f,align 8
%aR=icmp eq i32%ac,0
br i1%aR,label%aX,label%aS
aS:
%aT=sext i32%A to i64
%aU=getelementptr inbounds i8,i8*%aO,i64%aT
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
br label%a8
aX:
%aY=call i8*@sml_alloc(i32 inreg%x)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32%x,i32*%a0,align 4
%a1=load i8*,i8**%f,align 8
%a2=sext i32%A to i64
%a3=getelementptr inbounds i8,i8*%a1,i64%a2
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aY,i8*%a3,i32%x,i1 false)
%a4=load i8*,i8**%j,align 8
%a5=getelementptr inbounds i8,i8*%a4,i64 32
%a6=bitcast i8*%a5 to i32*
%a7=load i32,i32*%a6,align 4
br label%a8
a8:
%a9=phi i8*[%a4,%aX],[%t,%aS]
%ba=phi i32[%a7,%aX],[%ac,%aS]
%bb=phi i8*[%a1,%aX],[%aO,%aS]
%bc=phi i8*[%aY,%aX],[%aW,%aS]
store i8*%bc,i8**%e,align 8
%bd=sext i32%D to i64
%be=getelementptr inbounds i8,i8*%bb,i64%bd
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%d,align 8
%bh=sext i32%F to i64
%bi=getelementptr inbounds i8,i8*%bb,i64%bh
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%f,align 8
%bl=icmp eq i32%ba,0
br i1%bl,label%bs,label%bm
bm:
%bn=load i8*,i8**%c,align 8
%bo=sext i32%H to i64
%bp=getelementptr inbounds i8,i8*%bn,i64%bo
%bq=bitcast i8*%bp to i8**
%br=load i8*,i8**%bq,align 8
store i8*%br,i8**%g,align 8
br label%bH
bs:
%bt=getelementptr inbounds i8,i8*%a9,i64 36
%bu=bitcast i8*%bt to i32*
%bv=load i32,i32*%bu,align 4
%bw=call i8*@sml_alloc(i32 inreg%bv)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32%bv,i32*%by,align 4
%bz=load i8*,i8**%c,align 8
%bA=sext i32%H to i64
%bB=getelementptr inbounds i8,i8*%bz,i64%bA
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bw,i8*%bB,i32%bv,i1 false)
%bC=load i8*,i8**%j,align 8
%bD=getelementptr inbounds i8,i8*%bC,i64 32
%bE=bitcast i8*%bD to i32*
%bF=load i32,i32*%bE,align 4
store i8*%bw,i8**%g,align 8
%bG=icmp eq i32%bF,0
br i1%bG,label%bP,label%bH
bH:
%bI=phi i8*[%bn,%bm],[%bz,%bs]
%bJ=phi i8*[%a9,%bm],[%bC,%bs]
%bK=bitcast i8*%bJ to i8**
%bL=sext i32%L to i64
%bM=getelementptr inbounds i8,i8*%bI,i64%bL
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
br label%b2
bP:
%bQ=getelementptr inbounds i8,i8*%bC,i64 36
%bR=bitcast i8*%bQ to i32*
%bS=load i32,i32*%bR,align 4
%bT=call i8*@sml_alloc(i32 inreg%bS)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32%bS,i32*%bV,align 4
%bW=load i8*,i8**%c,align 8
%bX=sext i32%L to i64
%bY=getelementptr inbounds i8,i8*%bW,i64%bX
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bT,i8*%bY,i32%bS,i1 false)
%bZ=bitcast i8**%j to i8***
%b0=load i8**,i8***%bZ,align 8
%b1=bitcast i8**%b0 to i8*
br label%b2
b2:
%b3=phi i8*[%b1,%bP],[%bJ,%bH]
%b4=phi i8**[%b0,%bP],[%bK,%bH]
%b5=phi i8*[%bT,%bP],[%bO,%bH]
store i8*%b5,i8**%h,align 8
%b6=load i8*,i8**%b4,align 8
store i8*%b6,i8**%i,align 8
%b7=getelementptr inbounds i8*,i8**%b4,i64 2
%b8=load i8*,i8**%b7,align 8
store i8*%b8,i8**%c,align 8
%b9=getelementptr inbounds i8,i8*%b3,i64 36
%ca=bitcast i8*%b9 to i32*
%cb=load i32,i32*%ca,align 4
%cc=getelementptr inbounds i8*,i8**%b4,i64 4
%cd=bitcast i8**%cc to i32*
%ce=load i32,i32*%cd,align 4
%cf=call i8*@sml_alloc(i32 inreg%aI)#0
%cg=or i32%av,1342177280
%ch=getelementptr inbounds i8,i8*%cf,i64 -4
%ci=bitcast i8*%ch to i32*
store i32%cg,i32*%ci,align 4
call void@llvm.memset.p0i8.i32(i8*%cf,i8 0,i32%aI,i1 false)
%cj=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ck=bitcast i8*%cf to i8**
store i8*%cj,i8**%ck,align 8
%cl=icmp eq i32%ce,0
%cm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cn=sext i32%at to i64
%co=getelementptr inbounds i8,i8*%cf,i64%cn
br i1%cl,label%cr,label%cp
cp:
%cq=bitcast i8*%co to i8**
store i8*%cm,i8**%cq,align 8
br label%cs
cr:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%co,i8*%cm,i32%cb,i1 false)
br label%cs
cs:
%ct=sext i32%av to i64
%cu=getelementptr inbounds i8,i8*%cf,i64%ct
%cv=bitcast i8*%cu to i32*
store i32%aH,i32*%cv,align 4
%cw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cx=call fastcc i8*@_SMLL8split__gt_270(i8*inreg%cw,i8*inreg%cf)
store i8*%cx,i8**%c,align 8
%cy=load i8*,i8**%j,align 8
%cz=getelementptr inbounds i8,i8*%cy,i64 8
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%d,align 8
%cC=getelementptr inbounds i8,i8*%cy,i64 36
%cD=bitcast i8*%cC to i32*
%cE=load i32,i32*%cD,align 4
%cF=getelementptr inbounds i8,i8*%cy,i64 32
%cG=bitcast i8*%cF to i32*
%cH=load i32,i32*%cG,align 4
%cI=call i8*@sml_alloc(i32 inreg%aI)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32%cg,i32*%cK,align 4
call void@llvm.memset.p0i8.i32(i8*%cI,i8 0,i32%aI,i1 false)
%cL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=icmp eq i32%cH,0
%cO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cP=getelementptr inbounds i8,i8*%cI,i64%cn
br i1%cN,label%cS,label%cQ
cQ:
%cR=bitcast i8*%cP to i8**
store i8*%cO,i8**%cR,align 8
br label%cT
cS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cP,i8*%cO,i32%cE,i1 false)
br label%cT
cT:
%cU=getelementptr inbounds i8,i8*%cI,i64%ct
%cV=bitcast i8*%cU to i32*
store i32%aH,i32*%cV,align 4
%cW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cX=call fastcc i8*@_SMLL8split__lt_269(i8*inreg%cW,i8*inreg%cI)
store i8*%cX,i8**%d,align 8
%cY=load i8*,i8**%j,align 8
%cZ=getelementptr inbounds i8,i8*%cY,i64 36
%c0=bitcast i8*%cZ to i32*
%c1=load i32,i32*%c0,align 4
store i8*null,i8**%j,align 8
%c2=getelementptr inbounds i8,i8*%cY,i64 32
%c3=bitcast i8*%c2 to i32*
%c4=load i32,i32*%c3,align 4
%c5=call i8*@sml_alloc(i32 inreg%aF)#0
%c6=or i32%ax,1342177280
%c7=getelementptr inbounds i8,i8*%c5,i64 -4
%c8=bitcast i8*%c7 to i32*
store i32%c6,i32*%c8,align 4
call void@llvm.memset.p0i8.i32(i8*%c5,i8 0,i32%aF,i1 false)
%c9=load i8*,i8**%c,align 8
%da=bitcast i8*%c5 to i8**
store i8*%c9,i8**%da,align 8
%db=icmp eq i32%c4,0
%dc=load i8*,i8**%e,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64%cn
br i1%db,label%dg,label%de
de:
%df=bitcast i8*%dd to i8**
store i8*%dc,i8**%df,align 8
br label%dh
dg:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dd,i8*%dc,i32%c1,i1 false)
br label%dh
dh:
%di=load i8*,i8**%d,align 8
%dj=getelementptr inbounds i8,i8*%c5,i64%ct
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=sext i32%ax to i64
%dm=getelementptr inbounds i8,i8*%c5,i64%dl
%dn=bitcast i8*%dm to i32*
store i32%aE,i32*%dn,align 4
%do=load i8*,i8**%i,align 8
%dp=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%do,i8*inreg%c5)
ret i8*%dp
dq:
store i8*%aJ,i8**%f,align 8
%dr=icmp eq i32%ac,0
br i1%dr,label%dx,label%ds
ds:
%dt=sext i32%A to i64
%du=getelementptr inbounds i8,i8*%aJ,i64%dt
%dv=bitcast i8*%du to i8**
%dw=load i8*,i8**%dv,align 8
br label%dG
dx:
%dy=call i8*@sml_alloc(i32 inreg%x)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32%x,i32*%dA,align 4
%dB=load i8*,i8**%f,align 8
%dC=sext i32%A to i64
%dD=getelementptr inbounds i8,i8*%dB,i64%dC
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dy,i8*%dD,i32%x,i1 false)
%dE=load i8*,i8**%c,align 8
%dF=bitcast i8*%dE to i8**
br label%dG
dG:
%dH=phi i8**[%dF,%dx],[%u,%ds]
%dI=phi i8*[%dE,%dx],[%r,%ds]
%dJ=phi i8*[%dB,%dx],[%aJ,%ds]
%dK=phi i8*[%dy,%dx],[%dw,%ds]
store i8*%dK,i8**%e,align 8
%dL=sext i32%D to i64
%dM=getelementptr inbounds i8,i8*%dJ,i64%dL
%dN=bitcast i8*%dM to i8**
%dO=load i8*,i8**%dN,align 8
store i8*%dO,i8**%d,align 8
%dP=sext i32%F to i64
%dQ=getelementptr inbounds i8,i8*%dJ,i64%dP
%dR=bitcast i8*%dQ to i8**
%dS=load i8*,i8**%dR,align 8
store i8*%dS,i8**%f,align 8
%dT=getelementptr inbounds i8,i8*%dI,i64 8
%dU=bitcast i8*%dT to i8**
%dV=load i8*,i8**%dU,align 8
store i8*%dV,i8**%g,align 8
%dW=icmp eq i8*%dV,null
br i1%dW,label%dX,label%dZ
dX:
%dY=load i8*,i8**%dH,align 8
br label%hw
dZ:
%d0=load i8*,i8**%j,align 8
%d1=getelementptr inbounds i8,i8*%d0,i64 32
%d2=bitcast i8*%d1 to i32*
%d3=load i32,i32*%d2,align 4
%d4=icmp eq i32%d3,0
br i1%d4,label%ea,label%d5
d5:
%d6=sext i32%H to i64
%d7=getelementptr inbounds i8,i8*%dI,i64%d6
%d8=bitcast i8*%d7 to i8**
%d9=load i8*,i8**%d8,align 8
store i8*%d9,i8**%h,align 8
br label%ep
ea:
%eb=getelementptr inbounds i8,i8*%d0,i64 36
%ec=bitcast i8*%eb to i32*
%ed=load i32,i32*%ec,align 4
%ee=call i8*@sml_alloc(i32 inreg%ed)#0
%ef=getelementptr inbounds i8,i8*%ee,i64 -4
%eg=bitcast i8*%ef to i32*
store i32%ed,i32*%eg,align 4
%eh=load i8*,i8**%c,align 8
%ei=sext i32%H to i64
%ej=getelementptr inbounds i8,i8*%eh,i64%ei
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ee,i8*%ej,i32%ed,i1 false)
%ek=load i8*,i8**%j,align 8
%el=getelementptr inbounds i8,i8*%ek,i64 32
%em=bitcast i8*%el to i32*
%en=load i32,i32*%em,align 4
store i8*%ee,i8**%h,align 8
%eo=icmp eq i32%en,0
br i1%eo,label%ex,label%ep
ep:
%eq=phi i8*[%dI,%d5],[%eh,%ea]
%er=phi i8*[%d0,%d5],[%ek,%ea]
%es=bitcast i8*%er to i8**
%et=sext i32%L to i64
%eu=getelementptr inbounds i8,i8*%eq,i64%et
%ev=bitcast i8*%eu to i8**
%ew=load i8*,i8**%ev,align 8
br label%eK
ex:
%ey=getelementptr inbounds i8,i8*%ek,i64 36
%ez=bitcast i8*%ey to i32*
%eA=load i32,i32*%ez,align 4
%eB=call i8*@sml_alloc(i32 inreg%eA)#0
%eC=getelementptr inbounds i8,i8*%eB,i64 -4
%eD=bitcast i8*%eC to i32*
store i32%eA,i32*%eD,align 4
%eE=load i8*,i8**%c,align 8
%eF=sext i32%L to i64
%eG=getelementptr inbounds i8,i8*%eE,i64%eF
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eB,i8*%eG,i32%eA,i1 false)
%eH=bitcast i8**%j to i8***
%eI=load i8**,i8***%eH,align 8
%eJ=bitcast i8**%eI to i8*
br label%eK
eK:
%eL=phi i8*[%eJ,%ex],[%er,%ep]
%eM=phi i8**[%eI,%ex],[%es,%ep]
%eN=phi i8*[%eB,%ex],[%ew,%ep]
store i8*%eN,i8**%i,align 8
%eO=load i8*,i8**%eM,align 8
store i8*%eO,i8**%k,align 8
%eP=getelementptr inbounds i8*,i8**%eM,i64 3
%eQ=load i8*,i8**%eP,align 8
store i8*%eQ,i8**%c,align 8
%eR=getelementptr inbounds i8,i8*%eL,i64 36
%eS=bitcast i8*%eR to i32*
%eT=load i32,i32*%eS,align 4
%eU=getelementptr inbounds i8*,i8**%eM,i64 4
%eV=bitcast i8**%eU to i32*
%eW=load i32,i32*%eV,align 4
%eX=call i8*@sml_alloc(i32 inreg%ag)#0
%eY=or i32%T,1342177280
%eZ=getelementptr inbounds i8,i8*%eX,i64 -4
%e0=bitcast i8*%eZ to i32*
store i32%eY,i32*%e0,align 4
call void@llvm.memset.p0i8.i32(i8*%eX,i8 0,i32%ag,i1 false)
%e1=icmp eq i32%eW,0
%e2=load i8*,i8**%h,align 8
%e3=sext i32%N to i64
%e4=getelementptr inbounds i8,i8*%eX,i64%e3
br i1%e1,label%fb,label%e5
e5:
%e6=bitcast i8*%e4 to i8**
store i8*%e2,i8**%e6,align 8
%e7=load i8*,i8**%e,align 8
%e8=sext i32%P to i64
%e9=getelementptr inbounds i8,i8*%eX,i64%e8
%fa=bitcast i8*%e9 to i8**
store i8*%e7,i8**%fa,align 8
br label%ff
fb:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%e4,i8*%e2,i32%eT,i1 false)
%fc=load i8*,i8**%e,align 8
%fd=sext i32%P to i64
%fe=getelementptr inbounds i8,i8*%eX,i64%fd
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fe,i8*%fc,i32%eT,i1 false)
br label%ff
ff:
%fg=phi i64[%fd,%fb],[%e8,%e5]
%fh=load i8*,i8**%g,align 8
%fi=sext i32%R to i64
%fj=getelementptr inbounds i8,i8*%eX,i64%fi
%fk=bitcast i8*%fj to i8**
store i8*%fh,i8**%fk,align 8
%fl=sext i32%T to i64
%fm=getelementptr inbounds i8,i8*%eX,i64%fl
%fn=bitcast i8*%fm to i32*
store i32%af,i32*%fn,align 4
%fo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fp=call fastcc i8*@_SMLL4trim_277(i8*inreg%fo,i8*inreg%eX)
store i8*%fp,i8**%c,align 8
%fq=load i8*,i8**%j,align 8
%fr=getelementptr inbounds i8,i8*%fq,i64 36
%fs=bitcast i8*%fr to i32*
%ft=load i32,i32*%fs,align 4
%fu=getelementptr inbounds i8,i8*%fq,i64 32
%fv=bitcast i8*%fu to i32*
%fw=load i32,i32*%fv,align 4
%fx=call i8*@sml_alloc(i32 inreg%as)#0
%fy=or i32%ai,1342177280
%fz=getelementptr inbounds i8,i8*%fx,i64 -4
%fA=bitcast i8*%fz to i32*
store i32%fy,i32*%fA,align 4
call void@llvm.memset.p0i8.i32(i8*%fx,i8 0,i32%as,i1 false)
%fB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fC=bitcast i8*%fx to i8**
store i8*%fB,i8**%fC,align 8
%fD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fE=getelementptr inbounds i8,i8*%fx,i64 8
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=icmp eq i32%fw,0
%fH=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fI=sext i32%H to i64
%fJ=getelementptr inbounds i8,i8*%fx,i64%fI
br i1%fG,label%fQ,label%fK
fK:
%fL=bitcast i8*%fJ to i8**
store i8*%fH,i8**%fL,align 8
%fM=load i8*,i8**%e,align 8
%fN=sext i32%L to i64
%fO=getelementptr inbounds i8,i8*%fx,i64%fN
%fP=bitcast i8*%fO to i8**
store i8*%fM,i8**%fP,align 8
br label%fU
fQ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fJ,i8*%fH,i32%ft,i1 false)
%fR=load i8*,i8**%e,align 8
%fS=sext i32%L to i64
%fT=getelementptr inbounds i8,i8*%fx,i64%fS
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fT,i8*%fR,i32%ft,i1 false)
br label%fU
fU:
%fV=phi i64[%fS,%fQ],[%fN,%fK]
%fW=sext i32%ai to i64
%fX=getelementptr inbounds i8,i8*%fx,i64%fW
%fY=bitcast i8*%fX to i32*
store i32%ar,i32*%fY,align 4
%fZ=load i8*,i8**%j,align 8
%f0=call fastcc i8*@_SMLL6uni__bd_278(i8*inreg%fZ,i8*inreg%fx)
store i8*%f0,i8**%d,align 8
%f1=load i8*,i8**%j,align 8
%f2=getelementptr inbounds i8,i8*%f1,i64 24
%f3=bitcast i8*%f2 to i8**
%f4=load i8*,i8**%f3,align 8
store i8*%f4,i8**%c,align 8
%f5=getelementptr inbounds i8,i8*%f1,i64 36
%f6=bitcast i8*%f5 to i32*
%f7=load i32,i32*%f6,align 4
%f8=getelementptr inbounds i8,i8*%f1,i64 32
%f9=bitcast i8*%f8 to i32*
%ga=load i32,i32*%f9,align 4
%gb=call i8*@sml_alloc(i32 inreg%ag)#0
%gc=getelementptr inbounds i8,i8*%gb,i64 -4
%gd=bitcast i8*%gc to i32*
store i32%eY,i32*%gd,align 4
call void@llvm.memset.p0i8.i32(i8*%gb,i8 0,i32%ag,i1 false)
%ge=icmp eq i32%ga,0
%gf=load i8*,i8**%e,align 8
%gg=getelementptr inbounds i8,i8*%gb,i64%e3
br i1%ge,label%gm,label%gh
gh:
%gi=bitcast i8*%gg to i8**
store i8*%gf,i8**%gi,align 8
%gj=load i8*,i8**%i,align 8
%gk=getelementptr inbounds i8,i8*%gb,i64%fg
%gl=bitcast i8*%gk to i8**
store i8*%gj,i8**%gl,align 8
br label%gp
gm:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gg,i8*%gf,i32%f7,i1 false)
%gn=load i8*,i8**%i,align 8
%go=getelementptr inbounds i8,i8*%gb,i64%fg
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%go,i8*%gn,i32%f7,i1 false)
br label%gp
gp:
%gq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gr=getelementptr inbounds i8,i8*%gb,i64%fi
%gs=bitcast i8*%gr to i8**
store i8*%gq,i8**%gs,align 8
%gt=getelementptr inbounds i8,i8*%gb,i64%fl
%gu=bitcast i8*%gt to i32*
store i32%af,i32*%gu,align 4
%gv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gw=call fastcc i8*@_SMLL4trim_277(i8*inreg%gv,i8*inreg%gb)
store i8*%gw,i8**%c,align 8
%gx=load i8*,i8**%j,align 8
%gy=getelementptr inbounds i8,i8*%gx,i64 36
%gz=bitcast i8*%gy to i32*
%gA=load i32,i32*%gz,align 4
%gB=getelementptr inbounds i8,i8*%gx,i64 32
%gC=bitcast i8*%gB to i32*
%gD=load i32,i32*%gC,align 4
%gE=call i8*@sml_alloc(i32 inreg%as)#0
%gF=getelementptr inbounds i8,i8*%gE,i64 -4
%gG=bitcast i8*%gF to i32*
store i32%fy,i32*%gG,align 4
call void@llvm.memset.p0i8.i32(i8*%gE,i8 0,i32%as,i1 false)
%gH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gI=bitcast i8*%gE to i8**
store i8*%gH,i8**%gI,align 8
%gJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gK=getelementptr inbounds i8,i8*%gE,i64 8
%gL=bitcast i8*%gK to i8**
store i8*%gJ,i8**%gL,align 8
%gM=icmp eq i32%gD,0
%gN=load i8*,i8**%e,align 8
%gO=getelementptr inbounds i8,i8*%gE,i64%fI
br i1%gM,label%gU,label%gP
gP:
%gQ=bitcast i8*%gO to i8**
store i8*%gN,i8**%gQ,align 8
%gR=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%gS=getelementptr inbounds i8,i8*%gE,i64%fV
%gT=bitcast i8*%gS to i8**
store i8*%gR,i8**%gT,align 8
br label%gX
gU:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gO,i8*%gN,i32%gA,i1 false)
%gV=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%gW=getelementptr inbounds i8,i8*%gE,i64%fV
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gW,i8*%gV,i32%gA,i1 false)
br label%gX
gX:
%gY=getelementptr inbounds i8,i8*%gE,i64%fW
%gZ=bitcast i8*%gY to i32*
store i32%ar,i32*%gZ,align 4
%g0=load i8*,i8**%j,align 8
%g1=call fastcc i8*@_SMLL6uni__bd_278(i8*inreg%g0,i8*inreg%gE)
store i8*%g1,i8**%c,align 8
%g2=load i8*,i8**%j,align 8
%g3=getelementptr inbounds i8,i8*%g2,i64 36
%g4=bitcast i8*%g3 to i32*
%g5=load i32,i32*%g4,align 4
store i8*null,i8**%j,align 8
%g6=getelementptr inbounds i8,i8*%g2,i64 32
%g7=bitcast i8*%g6 to i32*
%g8=load i32,i32*%g7,align 4
%g9=call i8*@sml_alloc(i32 inreg%aF)#0
%ha=or i32%ax,1342177280
%hb=getelementptr inbounds i8,i8*%g9,i64 -4
%hc=bitcast i8*%hb to i32*
store i32%ha,i32*%hc,align 4
call void@llvm.memset.p0i8.i32(i8*%g9,i8 0,i32%aF,i1 false)
%hd=load i8*,i8**%d,align 8
%he=bitcast i8*%g9 to i8**
store i8*%hd,i8**%he,align 8
%hf=icmp eq i32%g8,0
%hg=load i8*,i8**%e,align 8
%hh=sext i32%at to i64
%hi=getelementptr inbounds i8,i8*%g9,i64%hh
br i1%hf,label%hl,label%hj
hj:
%hk=bitcast i8*%hi to i8**
store i8*%hg,i8**%hk,align 8
br label%hm
hl:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%hi,i8*%hg,i32%g5,i1 false)
br label%hm
hm:
%hn=load i8*,i8**%c,align 8
%ho=sext i32%av to i64
%hp=getelementptr inbounds i8,i8*%g9,i64%ho
%hq=bitcast i8*%hp to i8**
store i8*%hn,i8**%hq,align 8
%hr=sext i32%ax to i64
%hs=getelementptr inbounds i8,i8*%g9,i64%hr
%ht=bitcast i8*%hs to i32*
store i32%aE,i32*%ht,align 4
%hu=load i8*,i8**%k,align 8
%hv=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%hu,i8*inreg%g9)
ret i8*%hv
hw:
%hx=phi i8*[%dY,%dX],[null,%aL]
ret i8*%hx
}
define internal fastcc i8*@_SMLL7trim__lo_279(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
%i=bitcast i8**%g to i8***
br label%j
j:
%k=phi i8*[%bS,%b2],[%b,%l]
store i8*%k,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**%g,align 8
%r=getelementptr inbounds i8,i8*%q,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,-1
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%w,%t
%y=add i32%x,7
%z=and i32%y,-8
%A=add i32%t,3
%B=and i32%A,%v
%C=add i32%t,23
%D=add i32%C,%B
%E=and i32%D,-8
%F=add i32%E,-1
%G=and i32%F,-8
%H=add i32%u,%x
%I=and i32%H,%v
%J=add i32%t,7
%K=add i32%J,%I
%L=and i32%K,-8
%M=lshr i32%I,3
%N=lshr i32%w,3
%O=sub nsw i32%M,%N
%P=getelementptr inbounds i8,i8*%q,i64 8
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=shl i32%R,%O
%T=or i32%S,%R
%U=or i32%L,4
%V=add i32%z,15
%W=and i32%V,-8
%X=lshr i32%y,3
%Y=sub nsw i32%X,%N
%Z=shl i32 1,%Y
%aa=or i32%Z,%R
%ab=or i32%W,4
%ac=icmp eq i32%R,0
br i1%ac,label%aj,label%ad
ad:
%ae=load i8*,i8**%c,align 8
%af=sext i32%w to i64
%ag=getelementptr inbounds i8,i8*%ae,i64%af
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
br label%aq
aj:
%ak=call i8*@sml_alloc(i32 inreg%t)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32%t,i32*%am,align 4
%an=load i8*,i8**%c,align 8
%ao=sext i32%w to i64
%ap=getelementptr inbounds i8,i8*%an,i64%ao
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ak,i8*%ap,i32%t,i1 false)
br label%aq
aq:
%ar=phi i8*[%an,%aj],[%ae,%ad]
%as=phi i8*[%ak,%aj],[%ai,%ad]
store i8*%as,i8**%d,align 8
%at=sext i32%z to i64
%au=getelementptr inbounds i8,i8*%ar,i64%at
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=icmp eq i8*%aw,null
br i1%ax,label%ay,label%az
ay:
ret i8*null
az:
store i8*%aw,i8**%f,align 8
%aA=load i8*,i8**%g,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
%aC=bitcast i8*%aB to i32*
%aD=load i32,i32*%aC,align 4
%aE=icmp eq i32%aD,0
br i1%aE,label%aL,label%aF
aF:
%aG=bitcast i8*%aA to i8**
%aH=sext i32%B to i64
%aI=getelementptr inbounds i8,i8*%aw,i64%aH
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
br label%a0
aL:
%aM=getelementptr inbounds i8,i8*%aA,i64 12
%aN=bitcast i8*%aM to i32*
%aO=load i32,i32*%aN,align 4
%aP=call i8*@sml_alloc(i32 inreg%aO)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32%aO,i32*%aR,align 4
%aS=load i8*,i8**%f,align 8
%aT=sext i32%B to i64
%aU=getelementptr inbounds i8,i8*%aS,i64%aT
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aP,i8*%aU,i32%aO,i1 false)
%aV=load i8**,i8***%i,align 8
%aW=bitcast i8**%aV to i8*
%aX=getelementptr inbounds i8*,i8**%aV,i64 1
%aY=bitcast i8**%aX to i32*
%aZ=load i32,i32*%aY,align 4
br label%a0
a0:
%a1=phi i32[%aZ,%aL],[%aD,%aF]
%a2=phi i8*[%aW,%aL],[%aA,%aF]
%a3=phi i8**[%aV,%aL],[%aG,%aF]
%a4=phi i8*[%aS,%aL],[%aw,%aF]
%a5=phi i8*[%aP,%aL],[%aK,%aF]
store i8*%a5,i8**%e,align 8
%a6=sext i32%G to i64
%a7=getelementptr inbounds i8,i8*%a4,i64%a6
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%f,align 8
%ba=load i8*,i8**%a3,align 8
%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
store i8*%bf,i8**%h,align 8
%bg=getelementptr inbounds i8,i8*%a2,i64 12
%bh=bitcast i8*%bg to i32*
%bi=load i32,i32*%bh,align 4
%bj=call i8*@sml_alloc(i32 inreg%U)#0
%bk=or i32%L,1342177280
%bl=getelementptr inbounds i8,i8*%bj,i64 -4
%bm=bitcast i8*%bl to i32*
store i32%bk,i32*%bm,align 4
call void@llvm.memset.p0i8.i32(i8*%bj,i8 0,i32%U,i1 false)
%bn=icmp eq i32%a1,0
%bo=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bp=sext i32%w to i64
%bq=getelementptr inbounds i8,i8*%bj,i64%bp
br i1%bn,label%bx,label%br
br:
%bs=bitcast i8*%bq to i8**
store i8*%bo,i8**%bs,align 8
%bt=load i8*,i8**%d,align 8
%bu=sext i32%I to i64
%bv=getelementptr inbounds i8,i8*%bj,i64%bu
%bw=bitcast i8*%bv to i8**
store i8*%bt,i8**%bw,align 8
br label%bB
bx:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bq,i8*%bo,i32%bi,i1 false)
%by=load i8*,i8**%d,align 8
%bz=sext i32%I to i64
%bA=getelementptr inbounds i8,i8*%bj,i64%bz
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bA,i8*%by,i32%bi,i1 false)
br label%bB
bB:
%bC=sext i32%L to i64
%bD=getelementptr inbounds i8,i8*%bj,i64%bC
%bE=bitcast i8*%bD to i32*
store i32%T,i32*%bE,align 4
%bF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bG=call fastcc i8*%bd(i8*inreg%bF,i8*inreg%bj)
%bH=bitcast i8*%bG to i32*
%bI=load i32,i32*%bH,align 4
%bJ=icmp eq i32%bI,1
br i1%bJ,label%b9,label%bK
bK:
store i8*null,i8**%c,align 8
%bL=load i8*,i8**%g,align 8
%bM=getelementptr inbounds i8,i8*%bL,i64 12
%bN=bitcast i8*%bM to i32*
%bO=load i32,i32*%bN,align 4
%bP=getelementptr inbounds i8,i8*%bL,i64 8
%bQ=bitcast i8*%bP to i32*
%bR=load i32,i32*%bQ,align 4
%bS=call i8*@sml_alloc(i32 inreg%ab)#0
%bT=or i32%W,1342177280
%bU=getelementptr inbounds i8,i8*%bS,i64 -4
%bV=bitcast i8*%bU to i32*
store i32%bT,i32*%bV,align 4
call void@llvm.memset.p0i8.i32(i8*%bS,i8 0,i32%ab,i1 false)
%bW=icmp eq i32%bR,0
%bX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bY=getelementptr inbounds i8,i8*%bS,i64%bp
br i1%bW,label%b1,label%bZ
bZ:
%b0=bitcast i8*%bY to i8**
store i8*%bX,i8**%b0,align 8
br label%b2
b1:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bY,i8*%bX,i32%bO,i1 false)
br label%b2
b2:
%b3=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b4=getelementptr inbounds i8,i8*%bS,i64%at
%b5=bitcast i8*%b4 to i8**
store i8*%b3,i8**%b5,align 8
%b6=sext i32%W to i64
%b7=getelementptr inbounds i8,i8*%bS,i64%b6
%b8=bitcast i8*%b7 to i32*
store i32%aa,i32*%b8,align 4
br label%j
b9:
%ca=load i8*,i8**%c,align 8
%cb=getelementptr inbounds i8,i8*%ca,i64%at
%cc=bitcast i8*%cb to i8**
%cd=load i8*,i8**%cc,align 8
ret i8*%cd
}
define internal fastcc i8*@_SMLL7trim__hi_280(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
%i=bitcast i8**%g to i8***
br label%j
j:
%k=phi i8*[%bP,%bZ],[%b,%l]
store i8*%k,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**%g,align 8
%r=getelementptr inbounds i8,i8*%q,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,-1
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%w,%t
%y=add i32%x,7
%z=and i32%y,-8
%A=add i32%t,3
%B=and i32%A,%v
%C=add i32%t,7
%D=add i32%C,%B
%E=and i32%D,-8
%F=add i32%u,%x
%G=and i32%F,%v
%H=add i32%C,%G
%I=and i32%H,-8
%J=lshr i32%G,3
%K=lshr i32%w,3
%L=sub nsw i32%J,%K
%M=getelementptr inbounds i8,i8*%q,i64 8
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=shl i32%O,%L
%Q=or i32%P,%O
%R=or i32%I,4
%S=add i32%z,15
%T=and i32%S,-8
%U=lshr i32%y,3
%V=sub nsw i32%U,%K
%W=shl i32 1,%V
%X=or i32%W,%O
%Y=or i32%T,4
%Z=icmp eq i32%O,0
br i1%Z,label%ag,label%aa
aa:
%ab=load i8*,i8**%c,align 8
%ac=sext i32%w to i64
%ad=getelementptr inbounds i8,i8*%ab,i64%ac
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
br label%an
ag:
%ah=call i8*@sml_alloc(i32 inreg%t)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32%t,i32*%aj,align 4
%ak=load i8*,i8**%c,align 8
%al=sext i32%w to i64
%am=getelementptr inbounds i8,i8*%ak,i64%al
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ah,i8*%am,i32%t,i1 false)
br label%an
an:
%ao=phi i8*[%ak,%ag],[%ab,%aa]
%ap=phi i8*[%ah,%ag],[%af,%aa]
store i8*%ap,i8**%d,align 8
%aq=sext i32%z to i64
%ar=getelementptr inbounds i8,i8*%ao,i64%aq
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=icmp eq i8*%at,null
br i1%au,label%av,label%aw
av:
ret i8*null
aw:
store i8*%at,i8**%f,align 8
%ax=load i8*,i8**%g,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
%aB=icmp eq i32%aA,0
br i1%aB,label%aI,label%aC
aC:
%aD=bitcast i8*%ax to i8**
%aE=sext i32%B to i64
%aF=getelementptr inbounds i8,i8*%at,i64%aE
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
br label%aX
aI:
%aJ=getelementptr inbounds i8,i8*%ax,i64 12
%aK=bitcast i8*%aJ to i32*
%aL=load i32,i32*%aK,align 4
%aM=call i8*@sml_alloc(i32 inreg%aL)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32%aL,i32*%aO,align 4
%aP=load i8*,i8**%f,align 8
%aQ=sext i32%B to i64
%aR=getelementptr inbounds i8,i8*%aP,i64%aQ
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aM,i8*%aR,i32%aL,i1 false)
%aS=load i8**,i8***%i,align 8
%aT=bitcast i8**%aS to i8*
%aU=getelementptr inbounds i8*,i8**%aS,i64 1
%aV=bitcast i8**%aU to i32*
%aW=load i32,i32*%aV,align 4
br label%aX
aX:
%aY=phi i32[%aW,%aI],[%aA,%aC]
%aZ=phi i8*[%aT,%aI],[%ax,%aC]
%a0=phi i8**[%aS,%aI],[%aD,%aC]
%a1=phi i8*[%aP,%aI],[%at,%aC]
%a2=phi i8*[%aM,%aI],[%aH,%aC]
store i8*%a2,i8**%e,align 8
%a3=sext i32%E to i64
%a4=getelementptr inbounds i8,i8*%a1,i64%a3
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%f,align 8
%a7=load i8*,i8**%a0,align 8
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%h,align 8
%bd=getelementptr inbounds i8,i8*%aZ,i64 12
%be=bitcast i8*%bd to i32*
%bf=load i32,i32*%be,align 4
%bg=call i8*@sml_alloc(i32 inreg%R)#0
%bh=or i32%I,1342177280
%bi=getelementptr inbounds i8,i8*%bg,i64 -4
%bj=bitcast i8*%bi to i32*
store i32%bh,i32*%bj,align 4
call void@llvm.memset.p0i8.i32(i8*%bg,i8 0,i32%R,i1 false)
%bk=icmp eq i32%aY,0
%bl=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bm=sext i32%w to i64
%bn=getelementptr inbounds i8,i8*%bg,i64%bm
br i1%bk,label%bu,label%bo
bo:
%bp=bitcast i8*%bn to i8**
store i8*%bl,i8**%bp,align 8
%bq=load i8*,i8**%d,align 8
%br=sext i32%G to i64
%bs=getelementptr inbounds i8,i8*%bg,i64%br
%bt=bitcast i8*%bs to i8**
store i8*%bq,i8**%bt,align 8
br label%by
bu:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bn,i8*%bl,i32%bf,i1 false)
%bv=load i8*,i8**%d,align 8
%bw=sext i32%G to i64
%bx=getelementptr inbounds i8,i8*%bg,i64%bw
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bx,i8*%bv,i32%bf,i1 false)
br label%by
by:
%bz=sext i32%I to i64
%bA=getelementptr inbounds i8,i8*%bg,i64%bz
%bB=bitcast i8*%bA to i32*
store i32%Q,i32*%bB,align 4
%bC=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bD=call fastcc i8*%ba(i8*inreg%bC,i8*inreg%bg)
%bE=bitcast i8*%bD to i32*
%bF=load i32,i32*%bE,align 4
%bG=icmp eq i32%bF,2
br i1%bG,label%b6,label%bH
bH:
store i8*null,i8**%c,align 8
%bI=load i8*,i8**%g,align 8
%bJ=getelementptr inbounds i8,i8*%bI,i64 12
%bK=bitcast i8*%bJ to i32*
%bL=load i32,i32*%bK,align 4
%bM=getelementptr inbounds i8,i8*%bI,i64 8
%bN=bitcast i8*%bM to i32*
%bO=load i32,i32*%bN,align 4
%bP=call i8*@sml_alloc(i32 inreg%Y)#0
%bQ=or i32%T,1342177280
%bR=getelementptr inbounds i8,i8*%bP,i64 -4
%bS=bitcast i8*%bR to i32*
store i32%bQ,i32*%bS,align 4
call void@llvm.memset.p0i8.i32(i8*%bP,i8 0,i32%Y,i1 false)
%bT=icmp eq i32%bO,0
%bU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bV=getelementptr inbounds i8,i8*%bP,i64%bm
br i1%bT,label%bY,label%bW
bW:
%bX=bitcast i8*%bV to i8**
store i8*%bU,i8**%bX,align 8
br label%bZ
bY:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bV,i8*%bU,i32%bL,i1 false)
br label%bZ
bZ:
%b0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b1=getelementptr inbounds i8,i8*%bP,i64%aq
%b2=bitcast i8*%b1 to i8**
store i8*%b0,i8**%b2,align 8
%b3=sext i32%T to i64
%b4=getelementptr inbounds i8,i8*%bP,i64%b3
%b5=bitcast i8*%b4 to i32*
store i32%X,i32*%b5,align 4
br label%j
b6:
%b7=load i8*,i8**%c,align 8
%b8=getelementptr inbounds i8,i8*%b7,i64%aq
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
ret i8*%ca
}
define internal fastcc i8*@_SMLL6uni__hi_281(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
%p=load i8*,i8**%i,align 8
br label%q
q:
%r=phi i8*[%o,%n],[%b,%s]
%t=phi i8*[%p,%n],[%a,%s]
%u=bitcast i8*%r to i8**
%v=getelementptr inbounds i8,i8*%t,i64 44
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=add i32%x,3
%z=sub i32 0,%x
%A=and i32%y,%z
%B=add i32%x,7
%C=add i32%B,%A
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=add i32%x,15
%H=and i32%G,%z
%I=add i32%x,-1
%J=and i32%I,%z
%K=add i32%J,%x
%L=add i32%K,7
%M=and i32%L,-8
%N=add i32%M,15
%O=and i32%N,-8
%P=lshr i32%L,3
%Q=lshr i32%J,3
%R=sub nsw i32%P,%Q
%S=shl i32 1,%R
%T=getelementptr inbounds i8,i8*%t,i64 40
%U=bitcast i8*%T to i32*
%V=load i32,i32*%U,align 4
%W=or i32%S,%V
%X=or i32%O,4
%Y=add i32%H,%x
%Z=add i32%Y,7
%aa=and i32%Z,-8
%ab=lshr i32%H,3
%ac=add nsw i32%ab,-1
%ad=shl i32%V,%ac
%ae=shl i32%ad,1
%af=or i32%ae,3
%ag=or i32%aa,4
%ah=add i32%I,%K
%ai=and i32%ah,%z
%aj=add i32%B,%ai
%ak=and i32%aj,-8
%al=add i32%ak,15
%am=and i32%al,-8
%an=lshr i32%aj,3
%ao=lshr i32%ai,3
%ap=sub nsw i32%an,%ao
%aq=sub nsw i32%ao,%Q
%ar=shl i32 1,%ap
%as=or i32%ar,%V
%at=shl i32%as,%aq
%au=or i32%at,%V
%av=or i32%am,4
%aw=add i32%I,%Y
%ax=and i32%aw,%z
%ay=add i32%B,%ax
%az=and i32%ay,-8
%aA=lshr i32%ax,3
%aB=sub nsw i32%aA,%ab
%aC=shl i32%V,%aB
%aD=or i32%aC,%V
%aE=shl i32%aD,%ac
%aF=shl i32%aE,1
%aG=or i32%aF,3
%aH=or i32%az,4
%aI=and i32%B,%z
%aJ=add i32%B,%aI
%aK=and i32%aJ,-8
%aL=add i32%aK,15
%aM=and i32%aL,-8
%aN=lshr i32%aJ,3
%aO=lshr i32%aI,3
%aP=sub nsw i32%aN,%aO
%aQ=shl i32 1,%aP
%aR=or i32%aQ,%V
%aS=shl i32%aR,%aO
%aT=or i32%aS,1
%aU=or i32%aM,4
%aV=shl i32%V,%aO
%aW=or i32%aV,1
%aX=or i32%aK,4
%aY=load i8*,i8**%u,align 8
%aZ=icmp eq i8*%aY,null
br i1%aZ,label%a0,label%cT
a0:
%a1=getelementptr inbounds i8,i8*%r,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=icmp eq i8*%a3,null
br i1%a4,label%gz,label%a5
a5:
store i8*%a3,i8**%f,align 8
%a6=icmp eq i32%V,0
br i1%a6,label%bc,label%a7
a7:
%a8=sext i32%A to i64
%a9=getelementptr inbounds i8,i8*%a3,i64%a8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
br label%bn
bc:
%bd=call i8*@sml_alloc(i32 inreg%x)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32%x,i32*%bf,align 4
%bg=load i8*,i8**%f,align 8
%bh=sext i32%A to i64
%bi=getelementptr inbounds i8,i8*%bg,i64%bh
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bd,i8*%bi,i32%x,i1 false)
%bj=load i8*,i8**%i,align 8
%bk=getelementptr inbounds i8,i8*%bj,i64 40
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
br label%bn
bn:
%bo=phi i8*[%bj,%bc],[%t,%a7]
%bp=phi i32[%bm,%bc],[%V,%a7]
%bq=phi i8*[%bg,%bc],[%a3,%a7]
%br=phi i8*[%bd,%bc],[%bb,%a7]
store i8*%br,i8**%d,align 8
%bs=sext i32%D to i64
%bt=getelementptr inbounds i8,i8*%bq,i64%bs
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%e,align 8
%bw=sext i32%F to i64
%bx=getelementptr inbounds i8,i8*%bq,i64%bw
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
store i8*%bz,i8**%f,align 8
%bA=icmp eq i32%bp,0
br i1%bA,label%bI,label%bB
bB:
%bC=bitcast i8*%bo to i8**
%bD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bE=sext i32%H to i64
%bF=getelementptr inbounds i8,i8*%bD,i64%bE
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
br label%bV
bI:
%bJ=getelementptr inbounds i8,i8*%bo,i64 44
%bK=bitcast i8*%bJ to i32*
%bL=load i32,i32*%bK,align 4
%bM=call i8*@sml_alloc(i32 inreg%bL)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32%bL,i32*%bO,align 4
%bP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bQ=sext i32%H to i64
%bR=getelementptr inbounds i8,i8*%bP,i64%bQ
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bM,i8*%bR,i32%bL,i1 false)
%bS=bitcast i8**%i to i8***
%bT=load i8**,i8***%bS,align 8
%bU=bitcast i8**%bT to i8*
br label%bV
bV:
%bW=phi i8*[%bU,%bI],[%bo,%bB]
%bX=phi i8**[%bT,%bI],[%bC,%bB]
%bY=phi i8*[%bM,%bI],[%bH,%bB]
store i8*%bY,i8**%c,align 8
%bZ=load i8*,i8**%bX,align 8
store i8*%bZ,i8**%g,align 8
%b0=getelementptr inbounds i8*,i8**%bX,i64 1
%b1=load i8*,i8**%b0,align 8
store i8*%b1,i8**%h,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 44
%b3=bitcast i8*%b2 to i32*
%b4=load i32,i32*%b3,align 4
%b5=getelementptr inbounds i8*,i8**%bX,i64 5
%b6=bitcast i8**%b5 to i32*
%b7=load i32,i32*%b6,align 4
%b8=call i8*@sml_alloc(i32 inreg%aX)#0
%b9=or i32%aK,1342177280
%ca=getelementptr inbounds i8,i8*%b8,i64 -4
%cb=bitcast i8*%ca to i32*
store i32%b9,i32*%cb,align 4
call void@llvm.memset.p0i8.i32(i8*%b8,i8 0,i32%aX,i1 false)
%cc=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cd=bitcast i8*%b8 to i8**
store i8*%cc,i8**%cd,align 8
%ce=icmp eq i32%b7,0
%cf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cg=sext i32%aI to i64
%ch=getelementptr inbounds i8,i8*%b8,i64%cg
br i1%ce,label%ck,label%ci
ci:
%cj=bitcast i8*%ch to i8**
store i8*%cf,i8**%cj,align 8
br label%cl
ck:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ch,i8*%cf,i32%b4,i1 false)
br label%cl
cl:
%cm=sext i32%aK to i64
%cn=getelementptr inbounds i8,i8*%b8,i64%cm
%co=bitcast i8*%cn to i32*
store i32%aW,i32*%co,align 4
%cp=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cq=call fastcc i8*@_SMLL8split__lt_269(i8*inreg%cp,i8*inreg%b8)
store i8*%cq,i8**%c,align 8
%cr=load i8*,i8**%i,align 8
%cs=getelementptr inbounds i8,i8*%cr,i64 44
%ct=bitcast i8*%cs to i32*
%cu=load i32,i32*%ct,align 4
store i8*null,i8**%i,align 8
%cv=getelementptr inbounds i8,i8*%cr,i64 40
%cw=bitcast i8*%cv to i32*
%cx=load i32,i32*%cw,align 4
%cy=call i8*@sml_alloc(i32 inreg%aU)#0
%cz=or i32%aM,1342177280
%cA=getelementptr inbounds i8,i8*%cy,i64 -4
%cB=bitcast i8*%cA to i32*
store i32%cz,i32*%cB,align 4
call void@llvm.memset.p0i8.i32(i8*%cy,i8 0,i32%aU,i1 false)
%cC=load i8*,i8**%e,align 8
%cD=bitcast i8*%cy to i8**
store i8*%cC,i8**%cD,align 8
%cE=icmp eq i32%cx,0
%cF=load i8*,i8**%d,align 8
%cG=getelementptr inbounds i8,i8*%cy,i64%cg
br i1%cE,label%cJ,label%cH
cH:
%cI=bitcast i8*%cG to i8**
store i8*%cF,i8**%cI,align 8
br label%cK
cJ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cG,i8*%cF,i32%cu,i1 false)
br label%cK
cK:
%cL=load i8*,i8**%c,align 8
%cM=getelementptr inbounds i8,i8*%cy,i64%cm
%cN=bitcast i8*%cM to i8**
store i8*%cL,i8**%cN,align 8
%cO=sext i32%aM to i64
%cP=getelementptr inbounds i8,i8*%cy,i64%cO
%cQ=bitcast i8*%cP to i32*
store i32%aT,i32*%cQ,align 4
%cR=load i8*,i8**%g,align 8
%cS=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%cR,i8*inreg%cy)
ret i8*%cS
cT:
store i8*%aY,i8**%f,align 8
%cU=icmp eq i32%V,0
br i1%cU,label%c0,label%cV
cV:
%cW=sext i32%A to i64
%cX=getelementptr inbounds i8,i8*%aY,i64%cW
%cY=bitcast i8*%cX to i8**
%cZ=load i8*,i8**%cY,align 8
br label%c9
c0:
%c1=call i8*@sml_alloc(i32 inreg%x)#0
%c2=getelementptr inbounds i8,i8*%c1,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32%x,i32*%c3,align 4
%c4=load i8*,i8**%f,align 8
%c5=sext i32%A to i64
%c6=getelementptr inbounds i8,i8*%c4,i64%c5
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c1,i8*%c6,i32%x,i1 false)
%c7=load i8*,i8**%c,align 8
%c8=bitcast i8*%c7 to i8**
br label%c9
c9:
%da=phi i8**[%c8,%c0],[%u,%cV]
%db=phi i8*[%c7,%c0],[%r,%cV]
%dc=phi i8*[%c4,%c0],[%aY,%cV]
%dd=phi i8*[%c1,%c0],[%cZ,%cV]
store i8*%dd,i8**%e,align 8
%de=sext i32%D to i64
%df=getelementptr inbounds i8,i8*%dc,i64%de
%dg=bitcast i8*%df to i8**
%dh=load i8*,i8**%dg,align 8
store i8*%dh,i8**%d,align 8
%di=sext i32%F to i64
%dj=getelementptr inbounds i8,i8*%dc,i64%di
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%f,align 8
%dm=getelementptr inbounds i8,i8*%db,i64 8
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%g,align 8
%dp=icmp eq i8*%do,null
br i1%dp,label%dq,label%ds
dq:
%dr=load i8*,i8**%da,align 8
br label%gz
ds:
%dt=load i8*,i8**%i,align 8
%du=getelementptr inbounds i8,i8*%dt,i64 40
%dv=bitcast i8*%du to i32*
%dw=load i32,i32*%dv,align 4
%dx=icmp eq i32%dw,0
br i1%dx,label%dE,label%dy
dy:
%dz=bitcast i8*%dt to i8**
%dA=sext i32%H to i64
%dB=getelementptr inbounds i8,i8*%db,i64%dA
%dC=bitcast i8*%dB to i8**
%dD=load i8*,i8**%dC,align 8
br label%dR
dE:
%dF=getelementptr inbounds i8,i8*%dt,i64 44
%dG=bitcast i8*%dF to i32*
%dH=load i32,i32*%dG,align 4
%dI=call i8*@sml_alloc(i32 inreg%dH)#0
%dJ=getelementptr inbounds i8,i8*%dI,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32%dH,i32*%dK,align 4
%dL=load i8*,i8**%c,align 8
%dM=sext i32%H to i64
%dN=getelementptr inbounds i8,i8*%dL,i64%dM
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dI,i8*%dN,i32%dH,i1 false)
%dO=bitcast i8**%i to i8***
%dP=load i8**,i8***%dO,align 8
%dQ=bitcast i8**%dP to i8*
br label%dR
dR:
%dS=phi i8*[%dQ,%dE],[%dt,%dy]
%dT=phi i8**[%dP,%dE],[%dz,%dy]
%dU=phi i8*[%dI,%dE],[%dD,%dy]
store i8*%dU,i8**%h,align 8
%dV=load i8*,i8**%dT,align 8
store i8*%dV,i8**%j,align 8
%dW=getelementptr inbounds i8*,i8**%dT,i64 4
%dX=load i8*,i8**%dW,align 8
store i8*%dX,i8**%c,align 8
%dY=getelementptr inbounds i8,i8*%dS,i64 44
%dZ=bitcast i8*%dY to i32*
%d0=load i32,i32*%dZ,align 4
%d1=getelementptr inbounds i8*,i8**%dT,i64 5
%d2=bitcast i8**%d1 to i32*
%d3=load i32,i32*%d2,align 4
%d4=call i8*@sml_alloc(i32 inreg%X)#0
%d5=or i32%O,1342177280
%d6=getelementptr inbounds i8,i8*%d4,i64 -4
%d7=bitcast i8*%d6 to i32*
store i32%d5,i32*%d7,align 4
call void@llvm.memset.p0i8.i32(i8*%d4,i8 0,i32%X,i1 false)
%d8=icmp eq i32%d3,0
%d9=load i8*,i8**%e,align 8
%ea=sext i32%J to i64
%eb=getelementptr inbounds i8,i8*%d4,i64%ea
br i1%d8,label%ee,label%ec
ec:
%ed=bitcast i8*%eb to i8**
store i8*%d9,i8**%ed,align 8
br label%ef
ee:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eb,i8*%d9,i32%d0,i1 false)
br label%ef
ef:
%eg=load i8*,i8**%g,align 8
%eh=sext i32%M to i64
%ei=getelementptr inbounds i8,i8*%d4,i64%eh
%ej=bitcast i8*%ei to i8**
store i8*%eg,i8**%ej,align 8
%ek=sext i32%O to i64
%el=getelementptr inbounds i8,i8*%d4,i64%ek
%em=bitcast i8*%el to i32*
store i32%W,i32*%em,align 4
%en=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eo=call fastcc i8*@_SMLL7trim__hi_280(i8*inreg%en,i8*inreg%d4)
store i8*%eo,i8**%c,align 8
%ep=load i8*,i8**%i,align 8
%eq=getelementptr inbounds i8,i8*%ep,i64 44
%er=bitcast i8*%eq to i32*
%es=load i32,i32*%er,align 4
%et=getelementptr inbounds i8,i8*%ep,i64 40
%eu=bitcast i8*%et to i32*
%ev=load i32,i32*%eu,align 4
%ew=call i8*@sml_alloc(i32 inreg%ag)#0
%ex=or i32%aa,1342177280
%ey=getelementptr inbounds i8,i8*%ew,i64 -4
%ez=bitcast i8*%ey to i32*
store i32%ex,i32*%ez,align 4
call void@llvm.memset.p0i8.i32(i8*%ew,i8 0,i32%ag,i1 false)
%eA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eB=bitcast i8*%ew to i8**
store i8*%eA,i8**%eB,align 8
%eC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eD=getelementptr inbounds i8,i8*%ew,i64 8
%eE=bitcast i8*%eD to i8**
store i8*%eC,i8**%eE,align 8
%eF=icmp eq i32%ev,0
%eG=load i8*,i8**%e,align 8
%eH=sext i32%H to i64
%eI=getelementptr inbounds i8,i8*%ew,i64%eH
br i1%eF,label%eL,label%eJ
eJ:
%eK=bitcast i8*%eI to i8**
store i8*%eG,i8**%eK,align 8
br label%eM
eL:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eI,i8*%eG,i32%es,i1 false)
br label%eM
eM:
%eN=sext i32%aa to i64
%eO=getelementptr inbounds i8,i8*%ew,i64%eN
%eP=bitcast i8*%eO to i32*
store i32%af,i32*%eP,align 4
%eQ=load i8*,i8**%i,align 8
%eR=call fastcc i8*@_SMLL6uni__hi_281(i8*inreg%eQ,i8*inreg%ew)
store i8*%eR,i8**%d,align 8
%eS=load i8*,i8**%i,align 8
%eT=getelementptr inbounds i8,i8*%eS,i64 24
%eU=bitcast i8*%eT to i8**
%eV=load i8*,i8**%eU,align 8
store i8*%eV,i8**%k,align 8
%eW=getelementptr inbounds i8,i8*%eS,i64 16
%eX=bitcast i8*%eW to i8**
%eY=load i8*,i8**%eX,align 8
store i8*%eY,i8**%c,align 8
%eZ=getelementptr inbounds i8,i8*%eS,i64 44
%e0=bitcast i8*%eZ to i32*
%e1=load i32,i32*%e0,align 4
%e2=getelementptr inbounds i8,i8*%eS,i64 40
%e3=bitcast i8*%e2 to i32*
%e4=load i32,i32*%e3,align 4
%e5=call i8*@sml_alloc(i32 inreg%av)#0
%e6=or i32%am,1342177280
%e7=getelementptr inbounds i8,i8*%e5,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32%e6,i32*%e8,align 4
call void@llvm.memset.p0i8.i32(i8*%e5,i8 0,i32%av,i1 false)
%e9=icmp eq i32%e4,0
%fa=load i8*,i8**%e,align 8
%fb=getelementptr inbounds i8,i8*%e5,i64%ea
br i1%e9,label%fi,label%fc
fc:
%fd=bitcast i8*%fb to i8**
store i8*%fa,i8**%fd,align 8
%fe=load i8*,i8**%h,align 8
%ff=sext i32%ai to i64
%fg=getelementptr inbounds i8,i8*%e5,i64%ff
%fh=bitcast i8*%fg to i8**
store i8*%fe,i8**%fh,align 8
br label%fm
fi:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fb,i8*%fa,i32%e1,i1 false)
%fj=load i8*,i8**%h,align 8
%fk=sext i32%ai to i64
%fl=getelementptr inbounds i8,i8*%e5,i64%fk
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fl,i8*%fj,i32%e1,i1 false)
br label%fm
fm:
%fn=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fo=sext i32%ak to i64
%fp=getelementptr inbounds i8,i8*%e5,i64%fo
%fq=bitcast i8*%fp to i8**
store i8*%fn,i8**%fq,align 8
%fr=sext i32%am to i64
%fs=getelementptr inbounds i8,i8*%e5,i64%fr
%ft=bitcast i8*%fs to i32*
store i32%au,i32*%ft,align 4
%fu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fv=call fastcc i8*@_SMLL4trim_277(i8*inreg%fu,i8*inreg%e5)
store i8*%fv,i8**%c,align 8
%fw=load i8*,i8**%i,align 8
%fx=getelementptr inbounds i8,i8*%fw,i64 44
%fy=bitcast i8*%fx to i32*
%fz=load i32,i32*%fy,align 4
%fA=getelementptr inbounds i8,i8*%fw,i64 40
%fB=bitcast i8*%fA to i32*
%fC=load i32,i32*%fB,align 4
%fD=call i8*@sml_alloc(i32 inreg%aH)#0
%fE=or i32%az,1342177280
%fF=getelementptr inbounds i8,i8*%fD,i64 -4
%fG=bitcast i8*%fF to i32*
store i32%fE,i32*%fG,align 4
call void@llvm.memset.p0i8.i32(i8*%fD,i8 0,i32%aH,i1 false)
%fH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fI=bitcast i8*%fD to i8**
store i8*%fH,i8**%fI,align 8
%fJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fK=getelementptr inbounds i8,i8*%fD,i64 8
%fL=bitcast i8*%fK to i8**
store i8*%fJ,i8**%fL,align 8
%fM=icmp eq i32%fC,0
%fN=load i8*,i8**%e,align 8
%fO=getelementptr inbounds i8,i8*%fD,i64%eH
br i1%fM,label%fV,label%fP
fP:
%fQ=bitcast i8*%fO to i8**
store i8*%fN,i8**%fQ,align 8
%fR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fS=sext i32%ax to i64
%fT=getelementptr inbounds i8,i8*%fD,i64%fS
%fU=bitcast i8*%fT to i8**
store i8*%fR,i8**%fU,align 8
br label%fZ
fV:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fO,i8*%fN,i32%fz,i1 false)
%fW=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fX=sext i32%ax to i64
%fY=getelementptr inbounds i8,i8*%fD,i64%fX
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fY,i8*%fW,i32%fz,i1 false)
br label%fZ
fZ:
%f0=sext i32%az to i64
%f1=getelementptr inbounds i8,i8*%fD,i64%f0
%f2=bitcast i8*%f1 to i32*
store i32%aG,i32*%f2,align 4
%f3=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%f4=call fastcc i8*@_SMLL6uni__bd_278(i8*inreg%f3,i8*inreg%fD)
store i8*%f4,i8**%c,align 8
%f5=load i8*,i8**%i,align 8
%f6=getelementptr inbounds i8,i8*%f5,i64 44
%f7=bitcast i8*%f6 to i32*
%f8=load i32,i32*%f7,align 4
store i8*null,i8**%i,align 8
%f9=getelementptr inbounds i8,i8*%f5,i64 40
%ga=bitcast i8*%f9 to i32*
%gb=load i32,i32*%ga,align 4
%gc=call i8*@sml_alloc(i32 inreg%aU)#0
%gd=or i32%aM,1342177280
%ge=getelementptr inbounds i8,i8*%gc,i64 -4
%gf=bitcast i8*%ge to i32*
store i32%gd,i32*%gf,align 4
call void@llvm.memset.p0i8.i32(i8*%gc,i8 0,i32%aU,i1 false)
%gg=load i8*,i8**%d,align 8
%gh=bitcast i8*%gc to i8**
store i8*%gg,i8**%gh,align 8
%gi=icmp eq i32%gb,0
%gj=load i8*,i8**%e,align 8
%gk=sext i32%aI to i64
%gl=getelementptr inbounds i8,i8*%gc,i64%gk
br i1%gi,label%go,label%gm
gm:
%gn=bitcast i8*%gl to i8**
store i8*%gj,i8**%gn,align 8
br label%gp
go:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gl,i8*%gj,i32%f8,i1 false)
br label%gp
gp:
%gq=load i8*,i8**%c,align 8
%gr=sext i32%aK to i64
%gs=getelementptr inbounds i8,i8*%gc,i64%gr
%gt=bitcast i8*%gs to i8**
store i8*%gq,i8**%gt,align 8
%gu=sext i32%aM to i64
%gv=getelementptr inbounds i8,i8*%gc,i64%gu
%gw=bitcast i8*%gv to i32*
store i32%aT,i32*%gw,align 4
%gx=load i8*,i8**%j,align 8
%gy=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%gx,i8*inreg%gc)
ret i8*%gy
gz:
%gA=phi i8*[%dr,%dq],[null,%a0]
ret i8*%gA
}
define internal fastcc i8*@_SMLL6uni__lo_282(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
%p=load i8*,i8**%i,align 8
br label%q
q:
%r=phi i8*[%o,%n],[%b,%s]
%t=phi i8*[%p,%n],[%a,%s]
%u=bitcast i8*%r to i8**
%v=getelementptr inbounds i8,i8*%t,i64 44
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=add i32%x,3
%z=sub i32 0,%x
%A=and i32%y,%z
%B=add i32%x,7
%C=add i32%B,%A
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=add i32%x,15
%H=and i32%G,%z
%I=add i32%x,-1
%J=and i32%I,%z
%K=add i32%J,%x
%L=add i32%I,%K
%M=and i32%L,%z
%N=add i32%B,%M
%O=and i32%N,-8
%P=add i32%O,15
%Q=and i32%P,-8
%R=lshr i32%N,3
%S=lshr i32%M,3
%T=sub nsw i32%R,%S
%U=lshr i32%J,3
%V=sub nsw i32%S,%U
%W=shl i32 1,%T
%X=getelementptr inbounds i8,i8*%t,i64 40
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
%aa=or i32%W,%Z
%ab=shl i32%aa,%V
%ac=or i32%ab,%Z
%ad=or i32%Q,4
%ae=add i32%H,%x
%af=add i32%I,%ae
%ag=and i32%af,%z
%ah=add i32%B,%ag
%ai=and i32%ah,-8
%aj=lshr i32%ag,3
%ak=lshr i32%H,3
%al=sub nsw i32%aj,%ak
%am=add nsw i32%ak,-1
%an=shl i32%Z,%al
%ao=or i32%an,%Z
%ap=shl i32%ao,%am
%aq=shl i32%ap,1
%ar=or i32%aq,3
%as=or i32%ai,4
%at=add i32%K,7
%au=and i32%at,-8
%av=add i32%au,15
%aw=and i32%av,-8
%ax=lshr i32%at,3
%ay=sub nsw i32%ax,%U
%az=shl i32 1,%ay
%aA=or i32%az,%Z
%aB=or i32%aw,4
%aC=add i32%ae,7
%aD=and i32%aC,-8
%aE=shl i32%Z,%am
%aF=shl i32%aE,1
%aG=or i32%aF,3
%aH=or i32%aD,4
%aI=and i32%B,%z
%aJ=add i32%B,%aI
%aK=and i32%aJ,-8
%aL=add i32%aK,15
%aM=and i32%aL,-8
%aN=lshr i32%aJ,3
%aO=lshr i32%aI,3
%aP=sub nsw i32%aN,%aO
%aQ=shl i32 1,%aP
%aR=or i32%aQ,%Z
%aS=shl i32%aR,%aO
%aT=or i32%aS,1
%aU=or i32%aM,4
%aV=shl i32%Z,%aO
%aW=or i32%aV,1
%aX=or i32%aK,4
%aY=load i8*,i8**%u,align 8
%aZ=icmp eq i8*%aY,null
br i1%aZ,label%a0,label%cT
a0:
%a1=getelementptr inbounds i8,i8*%r,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=icmp eq i8*%a3,null
br i1%a4,label%gz,label%a5
a5:
store i8*%a3,i8**%f,align 8
%a6=icmp eq i32%Z,0
br i1%a6,label%bc,label%a7
a7:
%a8=sext i32%A to i64
%a9=getelementptr inbounds i8,i8*%a3,i64%a8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
br label%bn
bc:
%bd=call i8*@sml_alloc(i32 inreg%x)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32%x,i32*%bf,align 4
%bg=load i8*,i8**%f,align 8
%bh=sext i32%A to i64
%bi=getelementptr inbounds i8,i8*%bg,i64%bh
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bd,i8*%bi,i32%x,i1 false)
%bj=load i8*,i8**%i,align 8
%bk=getelementptr inbounds i8,i8*%bj,i64 40
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
br label%bn
bn:
%bo=phi i8*[%bj,%bc],[%t,%a7]
%bp=phi i32[%bm,%bc],[%Z,%a7]
%bq=phi i8*[%bg,%bc],[%a3,%a7]
%br=phi i8*[%bd,%bc],[%bb,%a7]
store i8*%br,i8**%d,align 8
%bs=sext i32%D to i64
%bt=getelementptr inbounds i8,i8*%bq,i64%bs
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%e,align 8
%bw=sext i32%F to i64
%bx=getelementptr inbounds i8,i8*%bq,i64%bw
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
store i8*%bz,i8**%f,align 8
%bA=icmp eq i32%bp,0
br i1%bA,label%bI,label%bB
bB:
%bC=bitcast i8*%bo to i8**
%bD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bE=sext i32%H to i64
%bF=getelementptr inbounds i8,i8*%bD,i64%bE
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
br label%bV
bI:
%bJ=getelementptr inbounds i8,i8*%bo,i64 44
%bK=bitcast i8*%bJ to i32*
%bL=load i32,i32*%bK,align 4
%bM=call i8*@sml_alloc(i32 inreg%bL)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32%bL,i32*%bO,align 4
%bP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bQ=sext i32%H to i64
%bR=getelementptr inbounds i8,i8*%bP,i64%bQ
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bM,i8*%bR,i32%bL,i1 false)
%bS=bitcast i8**%i to i8***
%bT=load i8**,i8***%bS,align 8
%bU=bitcast i8**%bT to i8*
br label%bV
bV:
%bW=phi i8*[%bU,%bI],[%bo,%bB]
%bX=phi i8**[%bT,%bI],[%bC,%bB]
%bY=phi i8*[%bM,%bI],[%bH,%bB]
store i8*%bY,i8**%c,align 8
%bZ=load i8*,i8**%bX,align 8
store i8*%bZ,i8**%g,align 8
%b0=getelementptr inbounds i8*,i8**%bX,i64 1
%b1=load i8*,i8**%b0,align 8
store i8*%b1,i8**%h,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 44
%b3=bitcast i8*%b2 to i32*
%b4=load i32,i32*%b3,align 4
%b5=getelementptr inbounds i8*,i8**%bX,i64 5
%b6=bitcast i8**%b5 to i32*
%b7=load i32,i32*%b6,align 4
%b8=call i8*@sml_alloc(i32 inreg%aX)#0
%b9=or i32%aK,1342177280
%ca=getelementptr inbounds i8,i8*%b8,i64 -4
%cb=bitcast i8*%ca to i32*
store i32%b9,i32*%cb,align 4
call void@llvm.memset.p0i8.i32(i8*%b8,i8 0,i32%aX,i1 false)
%cc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cd=bitcast i8*%b8 to i8**
store i8*%cc,i8**%cd,align 8
%ce=icmp eq i32%b7,0
%cf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cg=sext i32%aI to i64
%ch=getelementptr inbounds i8,i8*%b8,i64%cg
br i1%ce,label%ck,label%ci
ci:
%cj=bitcast i8*%ch to i8**
store i8*%cf,i8**%cj,align 8
br label%cl
ck:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ch,i8*%cf,i32%b4,i1 false)
br label%cl
cl:
%cm=sext i32%aK to i64
%cn=getelementptr inbounds i8,i8*%b8,i64%cm
%co=bitcast i8*%cn to i32*
store i32%aW,i32*%co,align 4
%cp=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cq=call fastcc i8*@_SMLL8split__gt_270(i8*inreg%cp,i8*inreg%b8)
store i8*%cq,i8**%c,align 8
%cr=load i8*,i8**%i,align 8
%cs=getelementptr inbounds i8,i8*%cr,i64 44
%ct=bitcast i8*%cs to i32*
%cu=load i32,i32*%ct,align 4
store i8*null,i8**%i,align 8
%cv=getelementptr inbounds i8,i8*%cr,i64 40
%cw=bitcast i8*%cv to i32*
%cx=load i32,i32*%cw,align 4
%cy=call i8*@sml_alloc(i32 inreg%aU)#0
%cz=or i32%aM,1342177280
%cA=getelementptr inbounds i8,i8*%cy,i64 -4
%cB=bitcast i8*%cA to i32*
store i32%cz,i32*%cB,align 4
call void@llvm.memset.p0i8.i32(i8*%cy,i8 0,i32%aU,i1 false)
%cC=load i8*,i8**%c,align 8
%cD=bitcast i8*%cy to i8**
store i8*%cC,i8**%cD,align 8
%cE=icmp eq i32%cx,0
%cF=load i8*,i8**%d,align 8
%cG=getelementptr inbounds i8,i8*%cy,i64%cg
br i1%cE,label%cJ,label%cH
cH:
%cI=bitcast i8*%cG to i8**
store i8*%cF,i8**%cI,align 8
br label%cK
cJ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cG,i8*%cF,i32%cu,i1 false)
br label%cK
cK:
%cL=load i8*,i8**%f,align 8
%cM=getelementptr inbounds i8,i8*%cy,i64%cm
%cN=bitcast i8*%cM to i8**
store i8*%cL,i8**%cN,align 8
%cO=sext i32%aM to i64
%cP=getelementptr inbounds i8,i8*%cy,i64%cO
%cQ=bitcast i8*%cP to i32*
store i32%aT,i32*%cQ,align 4
%cR=load i8*,i8**%g,align 8
%cS=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%cR,i8*inreg%cy)
ret i8*%cS
cT:
store i8*%aY,i8**%f,align 8
%cU=icmp eq i32%Z,0
br i1%cU,label%c0,label%cV
cV:
%cW=sext i32%A to i64
%cX=getelementptr inbounds i8,i8*%aY,i64%cW
%cY=bitcast i8*%cX to i8**
%cZ=load i8*,i8**%cY,align 8
br label%c9
c0:
%c1=call i8*@sml_alloc(i32 inreg%x)#0
%c2=getelementptr inbounds i8,i8*%c1,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32%x,i32*%c3,align 4
%c4=load i8*,i8**%f,align 8
%c5=sext i32%A to i64
%c6=getelementptr inbounds i8,i8*%c4,i64%c5
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c1,i8*%c6,i32%x,i1 false)
%c7=load i8*,i8**%c,align 8
%c8=bitcast i8*%c7 to i8**
br label%c9
c9:
%da=phi i8**[%c8,%c0],[%u,%cV]
%db=phi i8*[%c7,%c0],[%r,%cV]
%dc=phi i8*[%c4,%c0],[%aY,%cV]
%dd=phi i8*[%c1,%c0],[%cZ,%cV]
store i8*%dd,i8**%e,align 8
%de=sext i32%D to i64
%df=getelementptr inbounds i8,i8*%dc,i64%de
%dg=bitcast i8*%df to i8**
%dh=load i8*,i8**%dg,align 8
store i8*%dh,i8**%d,align 8
%di=sext i32%F to i64
%dj=getelementptr inbounds i8,i8*%dc,i64%di
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%f,align 8
%dm=getelementptr inbounds i8,i8*%db,i64 8
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%g,align 8
%dp=icmp eq i8*%do,null
br i1%dp,label%dq,label%ds
dq:
%dr=load i8*,i8**%da,align 8
br label%gz
ds:
%dt=load i8*,i8**%i,align 8
%du=getelementptr inbounds i8,i8*%dt,i64 40
%dv=bitcast i8*%du to i32*
%dw=load i32,i32*%dv,align 4
%dx=icmp eq i32%dw,0
br i1%dx,label%dE,label%dy
dy:
%dz=bitcast i8*%dt to i8**
%dA=sext i32%H to i64
%dB=getelementptr inbounds i8,i8*%db,i64%dA
%dC=bitcast i8*%dB to i8**
%dD=load i8*,i8**%dC,align 8
br label%dU
dE:
%dF=getelementptr inbounds i8,i8*%dt,i64 44
%dG=bitcast i8*%dF to i32*
%dH=load i32,i32*%dG,align 4
%dI=call i8*@sml_alloc(i32 inreg%dH)#0
%dJ=getelementptr inbounds i8,i8*%dI,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32%dH,i32*%dK,align 4
%dL=load i8*,i8**%c,align 8
%dM=sext i32%H to i64
%dN=getelementptr inbounds i8,i8*%dL,i64%dM
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dI,i8*%dN,i32%dH,i1 false)
%dO=bitcast i8**%i to i8***
%dP=load i8**,i8***%dO,align 8
%dQ=bitcast i8**%dP to i8*
%dR=getelementptr inbounds i8*,i8**%dP,i64 5
%dS=bitcast i8**%dR to i32*
%dT=load i32,i32*%dS,align 4
br label%dU
dU:
%dV=phi i32[%dT,%dE],[%dw,%dy]
%dW=phi i8*[%dQ,%dE],[%dt,%dy]
%dX=phi i8**[%dP,%dE],[%dz,%dy]
%dY=phi i8*[%dI,%dE],[%dD,%dy]
store i8*%dY,i8**%h,align 8
%dZ=load i8*,i8**%dX,align 8
store i8*%dZ,i8**%j,align 8
%d0=getelementptr inbounds i8*,i8**%dX,i64 3
%d1=load i8*,i8**%d0,align 8
store i8*%d1,i8**%k,align 8
%d2=getelementptr inbounds i8*,i8**%dX,i64 2
%d3=load i8*,i8**%d2,align 8
store i8*%d3,i8**%c,align 8
%d4=getelementptr inbounds i8,i8*%dW,i64 44
%d5=bitcast i8*%d4 to i32*
%d6=load i32,i32*%d5,align 4
%d7=call i8*@sml_alloc(i32 inreg%ad)#0
%d8=or i32%Q,1342177280
%d9=getelementptr inbounds i8,i8*%d7,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32%d8,i32*%ea,align 4
call void@llvm.memset.p0i8.i32(i8*%d7,i8 0,i32%ad,i1 false)
%eb=icmp eq i32%dV,0
%ec=load i8*,i8**%h,align 8
%ed=sext i32%J to i64
%ee=getelementptr inbounds i8,i8*%d7,i64%ed
br i1%eb,label%el,label%ef
ef:
%eg=bitcast i8*%ee to i8**
store i8*%ec,i8**%eg,align 8
%eh=load i8*,i8**%e,align 8
%ei=sext i32%M to i64
%ej=getelementptr inbounds i8,i8*%d7,i64%ei
%ek=bitcast i8*%ej to i8**
store i8*%eh,i8**%ek,align 8
br label%ep
el:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ee,i8*%ec,i32%d6,i1 false)
%em=load i8*,i8**%e,align 8
%en=sext i32%M to i64
%eo=getelementptr inbounds i8,i8*%d7,i64%en
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eo,i8*%em,i32%d6,i1 false)
br label%ep
ep:
%eq=load i8*,i8**%g,align 8
%er=sext i32%O to i64
%es=getelementptr inbounds i8,i8*%d7,i64%er
%et=bitcast i8*%es to i8**
store i8*%eq,i8**%et,align 8
%eu=sext i32%Q to i64
%ev=getelementptr inbounds i8,i8*%d7,i64%eu
%ew=bitcast i8*%ev to i32*
store i32%ac,i32*%ew,align 4
%ex=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ey=call fastcc i8*@_SMLL4trim_277(i8*inreg%ex,i8*inreg%d7)
store i8*%ey,i8**%c,align 8
%ez=load i8*,i8**%i,align 8
%eA=getelementptr inbounds i8,i8*%ez,i64 44
%eB=bitcast i8*%eA to i32*
%eC=load i32,i32*%eB,align 4
%eD=getelementptr inbounds i8,i8*%ez,i64 40
%eE=bitcast i8*%eD to i32*
%eF=load i32,i32*%eE,align 4
%eG=call i8*@sml_alloc(i32 inreg%as)#0
%eH=or i32%ai,1342177280
%eI=getelementptr inbounds i8,i8*%eG,i64 -4
%eJ=bitcast i8*%eI to i32*
store i32%eH,i32*%eJ,align 4
call void@llvm.memset.p0i8.i32(i8*%eG,i8 0,i32%as,i1 false)
%eK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eL=bitcast i8*%eG to i8**
store i8*%eK,i8**%eL,align 8
%eM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eN=getelementptr inbounds i8,i8*%eG,i64 8
%eO=bitcast i8*%eN to i8**
store i8*%eM,i8**%eO,align 8
%eP=icmp eq i32%eF,0
%eQ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eR=sext i32%H to i64
%eS=getelementptr inbounds i8,i8*%eG,i64%eR
br i1%eP,label%eZ,label%eT
eT:
%eU=bitcast i8*%eS to i8**
store i8*%eQ,i8**%eU,align 8
%eV=load i8*,i8**%e,align 8
%eW=sext i32%ag to i64
%eX=getelementptr inbounds i8,i8*%eG,i64%eW
%eY=bitcast i8*%eX to i8**
store i8*%eV,i8**%eY,align 8
br label%e3
eZ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eS,i8*%eQ,i32%eC,i1 false)
%e0=load i8*,i8**%e,align 8
%e1=sext i32%ag to i64
%e2=getelementptr inbounds i8,i8*%eG,i64%e1
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%e2,i8*%e0,i32%eC,i1 false)
br label%e3
e3:
%e4=sext i32%ai to i64
%e5=getelementptr inbounds i8,i8*%eG,i64%e4
%e6=bitcast i8*%e5 to i32*
store i32%ar,i32*%e6,align 4
%e7=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%e8=call fastcc i8*@_SMLL6uni__bd_278(i8*inreg%e7,i8*inreg%eG)
store i8*%e8,i8**%d,align 8
%e9=load i8*,i8**%i,align 8
%fa=getelementptr inbounds i8,i8*%e9,i64 32
%fb=bitcast i8*%fa to i8**
%fc=load i8*,i8**%fb,align 8
store i8*%fc,i8**%c,align 8
%fd=getelementptr inbounds i8,i8*%e9,i64 44
%fe=bitcast i8*%fd to i32*
%ff=load i32,i32*%fe,align 4
%fg=getelementptr inbounds i8,i8*%e9,i64 40
%fh=bitcast i8*%fg to i32*
%fi=load i32,i32*%fh,align 4
%fj=call i8*@sml_alloc(i32 inreg%aB)#0
%fk=or i32%aw,1342177280
%fl=getelementptr inbounds i8,i8*%fj,i64 -4
%fm=bitcast i8*%fl to i32*
store i32%fk,i32*%fm,align 4
call void@llvm.memset.p0i8.i32(i8*%fj,i8 0,i32%aB,i1 false)
%fn=icmp eq i32%fi,0
%fo=load i8*,i8**%e,align 8
%fp=getelementptr inbounds i8,i8*%fj,i64%ed
br i1%fn,label%fs,label%fq
fq:
%fr=bitcast i8*%fp to i8**
store i8*%fo,i8**%fr,align 8
br label%ft
fs:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fp,i8*%fo,i32%ff,i1 false)
br label%ft
ft:
%fu=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fv=sext i32%au to i64
%fw=getelementptr inbounds i8,i8*%fj,i64%fv
%fx=bitcast i8*%fw to i8**
store i8*%fu,i8**%fx,align 8
%fy=sext i32%aw to i64
%fz=getelementptr inbounds i8,i8*%fj,i64%fy
%fA=bitcast i8*%fz to i32*
store i32%aA,i32*%fA,align 4
%fB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fC=call fastcc i8*@_SMLL7trim__lo_279(i8*inreg%fB,i8*inreg%fj)
store i8*%fC,i8**%c,align 8
%fD=load i8*,i8**%i,align 8
%fE=getelementptr inbounds i8,i8*%fD,i64 44
%fF=bitcast i8*%fE to i32*
%fG=load i32,i32*%fF,align 4
%fH=getelementptr inbounds i8,i8*%fD,i64 40
%fI=bitcast i8*%fH to i32*
%fJ=load i32,i32*%fI,align 4
%fK=call i8*@sml_alloc(i32 inreg%aH)#0
%fL=or i32%aD,1342177280
%fM=getelementptr inbounds i8,i8*%fK,i64 -4
%fN=bitcast i8*%fM to i32*
store i32%fL,i32*%fN,align 4
call void@llvm.memset.p0i8.i32(i8*%fK,i8 0,i32%aH,i1 false)
%fO=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fP=bitcast i8*%fK to i8**
store i8*%fO,i8**%fP,align 8
%fQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fR=getelementptr inbounds i8,i8*%fK,i64 8
%fS=bitcast i8*%fR to i8**
store i8*%fQ,i8**%fS,align 8
%fT=icmp eq i32%fJ,0
%fU=load i8*,i8**%e,align 8
%fV=getelementptr inbounds i8,i8*%fK,i64%eR
br i1%fT,label%fY,label%fW
fW:
%fX=bitcast i8*%fV to i8**
store i8*%fU,i8**%fX,align 8
br label%fZ
fY:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fV,i8*%fU,i32%fG,i1 false)
br label%fZ
fZ:
%f0=sext i32%aD to i64
%f1=getelementptr inbounds i8,i8*%fK,i64%f0
%f2=bitcast i8*%f1 to i32*
store i32%aG,i32*%f2,align 4
%f3=load i8*,i8**%i,align 8
%f4=call fastcc i8*@_SMLL6uni__lo_282(i8*inreg%f3,i8*inreg%fK)
store i8*%f4,i8**%c,align 8
%f5=load i8*,i8**%i,align 8
%f6=getelementptr inbounds i8,i8*%f5,i64 44
%f7=bitcast i8*%f6 to i32*
%f8=load i32,i32*%f7,align 4
store i8*null,i8**%i,align 8
%f9=getelementptr inbounds i8,i8*%f5,i64 40
%ga=bitcast i8*%f9 to i32*
%gb=load i32,i32*%ga,align 4
%gc=call i8*@sml_alloc(i32 inreg%aU)#0
%gd=or i32%aM,1342177280
%ge=getelementptr inbounds i8,i8*%gc,i64 -4
%gf=bitcast i8*%ge to i32*
store i32%gd,i32*%gf,align 4
call void@llvm.memset.p0i8.i32(i8*%gc,i8 0,i32%aU,i1 false)
%gg=load i8*,i8**%d,align 8
%gh=bitcast i8*%gc to i8**
store i8*%gg,i8**%gh,align 8
%gi=icmp eq i32%gb,0
%gj=load i8*,i8**%e,align 8
%gk=sext i32%aI to i64
%gl=getelementptr inbounds i8,i8*%gc,i64%gk
br i1%gi,label%go,label%gm
gm:
%gn=bitcast i8*%gl to i8**
store i8*%gj,i8**%gn,align 8
br label%gp
go:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gl,i8*%gj,i32%f8,i1 false)
br label%gp
gp:
%gq=load i8*,i8**%c,align 8
%gr=sext i32%aK to i64
%gs=getelementptr inbounds i8,i8*%gc,i64%gr
%gt=bitcast i8*%gs to i8**
store i8*%gq,i8**%gt,align 8
%gu=sext i32%aM to i64
%gv=getelementptr inbounds i8,i8*%gc,i64%gu
%gw=bitcast i8*%gv to i32*
store i32%aT,i32*%gw,align 4
%gx=load i8*,i8**%j,align 8
%gy=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%gx,i8*inreg%gc)
ret i8*%gy
gz:
%gA=phi i8*[%dr,%dq],[null,%a0]
ret i8*%gA
}
define internal fastcc i8*@_SMLL3uni_283(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
r:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%p,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
%o=load i8*,i8**%h,align 8
br label%p
p:
%q=phi i8*[%n,%m],[%b,%r]
%s=phi i8*[%o,%m],[%a,%r]
%t=bitcast i8*%q to i8**
%u=getelementptr inbounds i8,i8*%s,i64 44
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=add i32%w,3
%y=sub i32 0,%w
%z=and i32%x,%y
%A=add i32%w,7
%B=add i32%A,%z
%C=and i32%B,-8
%D=add i32%C,15
%E=and i32%D,-8
%F=add i32%w,-1
%G=and i32%F,%y
%H=add i32%A,%G
%I=and i32%H,-8
%J=add i32%I,15
%K=and i32%J,-8
%L=lshr i32%H,3
%M=lshr i32%G,3
%N=sub nsw i32%L,%M
%O=shl i32 1,%N
%P=getelementptr inbounds i8,i8*%s,i64 40
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=or i32%O,%R
%T=or i32%K,4
%U=add i32%w,15
%V=and i32%U,%y
%W=add i32%A,%V
%X=and i32%W,-8
%Y=lshr i32%V,3
%Z=add nsw i32%Y,-1
%aa=shl i32%R,%Z
%ab=shl i32%aa,1
%ac=or i32%ab,3
%ad=or i32%X,4
%ae=and i32%A,%y
%af=add i32%A,%ae
%ag=and i32%af,-8
%ah=add i32%ag,15
%ai=and i32%ah,-8
%aj=lshr i32%af,3
%ak=lshr i32%ae,3
%al=sub nsw i32%aj,%ak
%am=shl i32 1,%al
%an=or i32%am,%R
%ao=shl i32%an,%ak
%ap=or i32%ao,1
%aq=or i32%ai,4
%ar=load i8*,i8**%t,align 8
%as=icmp eq i8*%ar,null
br i1%as,label%at,label%aA
at:
%au=getelementptr inbounds i8,i8*%q,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=icmp eq i8*%aw,null
br i1%ax,label%dA,label%ay
ay:
%az=phi i8*[%aw,%at],[%dB,%dA]
ret i8*%az
aA:
store i8*%ar,i8**%f,align 8
%aB=icmp eq i32%R,0
br i1%aB,label%aH,label%aC
aC:
%aD=sext i32%z to i64
%aE=getelementptr inbounds i8,i8*%ar,i64%aD
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
br label%aQ
aH:
%aI=call i8*@sml_alloc(i32 inreg%w)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32%w,i32*%aK,align 4
%aL=load i8*,i8**%f,align 8
%aM=sext i32%z to i64
%aN=getelementptr inbounds i8,i8*%aL,i64%aM
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aI,i8*%aN,i32%w,i1 false)
%aO=load i8*,i8**%c,align 8
%aP=bitcast i8*%aO to i8**
br label%aQ
aQ:
%aR=phi i8**[%aP,%aH],[%t,%aC]
%aS=phi i8*[%aO,%aH],[%q,%aC]
%aT=phi i8*[%aL,%aH],[%ar,%aC]
%aU=phi i8*[%aI,%aH],[%aG,%aC]
store i8*%aU,i8**%e,align 8
%aV=sext i32%C to i64
%aW=getelementptr inbounds i8,i8*%aT,i64%aV
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%d,align 8
%aZ=sext i32%E to i64
%a0=getelementptr inbounds i8,i8*%aT,i64%aZ
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%f,align 8
%a3=getelementptr inbounds i8,i8*%aS,i64 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%g,align 8
%a6=icmp eq i8*%a5,null
br i1%a6,label%a7,label%a9
a7:
%a8=load i8*,i8**%aR,align 8
br label%dA
a9:
%ba=bitcast i8**%h to i8***
%bb=load i8**,i8***%ba,align 8
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%i,align 8
%bd=getelementptr inbounds i8*,i8**%bb,i64 3
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%j,align 8
%bf=getelementptr inbounds i8*,i8**%bb,i64 2
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%c,align 8
%bh=bitcast i8**%bb to i8*
%bi=getelementptr inbounds i8,i8*%bh,i64 44
%bj=bitcast i8*%bi to i32*
%bk=load i32,i32*%bj,align 4
%bl=getelementptr inbounds i8*,i8**%bb,i64 5
%bm=bitcast i8**%bl to i32*
%bn=load i32,i32*%bm,align 4
%bo=call i8*@sml_alloc(i32 inreg%T)#0
%bp=or i32%K,1342177280
%bq=getelementptr inbounds i8,i8*%bo,i64 -4
%br=bitcast i8*%bq to i32*
store i32%bp,i32*%br,align 4
call void@llvm.memset.p0i8.i32(i8*%bo,i8 0,i32%T,i1 false)
%bs=icmp eq i32%bn,0
%bt=load i8*,i8**%e,align 8
%bu=sext i32%G to i64
%bv=getelementptr inbounds i8,i8*%bo,i64%bu
br i1%bs,label%by,label%bw
bw:
%bx=bitcast i8*%bv to i8**
store i8*%bt,i8**%bx,align 8
br label%bz
by:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bv,i8*%bt,i32%bk,i1 false)
br label%bz
bz:
%bA=load i8*,i8**%g,align 8
%bB=sext i32%I to i64
%bC=getelementptr inbounds i8,i8*%bo,i64%bB
%bD=bitcast i8*%bC to i8**
store i8*%bA,i8**%bD,align 8
%bE=sext i32%K to i64
%bF=getelementptr inbounds i8,i8*%bo,i64%bE
%bG=bitcast i8*%bF to i32*
store i32%S,i32*%bG,align 4
%bH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bI=call fastcc i8*@_SMLL7trim__hi_280(i8*inreg%bH,i8*inreg%bo)
store i8*%bI,i8**%c,align 8
%bJ=load i8*,i8**%h,align 8
%bK=getelementptr inbounds i8,i8*%bJ,i64 44
%bL=bitcast i8*%bK to i32*
%bM=load i32,i32*%bL,align 4
%bN=getelementptr inbounds i8,i8*%bJ,i64 40
%bO=bitcast i8*%bN to i32*
%bP=load i32,i32*%bO,align 4
%bQ=call i8*@sml_alloc(i32 inreg%ad)#0
%bR=or i32%X,1342177280
%bS=getelementptr inbounds i8,i8*%bQ,i64 -4
%bT=bitcast i8*%bS to i32*
store i32%bR,i32*%bT,align 4
call void@llvm.memset.p0i8.i32(i8*%bQ,i8 0,i32%ad,i1 false)
%bU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bV=bitcast i8*%bQ to i8**
store i8*%bU,i8**%bV,align 8
%bW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bX=getelementptr inbounds i8,i8*%bQ,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=icmp eq i32%bP,0
%b0=load i8*,i8**%e,align 8
%b1=sext i32%V to i64
%b2=getelementptr inbounds i8,i8*%bQ,i64%b1
br i1%bZ,label%b5,label%b3
b3:
%b4=bitcast i8*%b2 to i8**
store i8*%b0,i8**%b4,align 8
br label%b6
b5:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b2,i8*%b0,i32%bM,i1 false)
br label%b6
b6:
%b7=sext i32%X to i64
%b8=getelementptr inbounds i8,i8*%bQ,i64%b7
%b9=bitcast i8*%b8 to i32*
store i32%ac,i32*%b9,align 4
%ca=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cb=call fastcc i8*@_SMLL6uni__hi_281(i8*inreg%ca,i8*inreg%bQ)
store i8*%cb,i8**%d,align 8
%cc=load i8*,i8**%h,align 8
%cd=getelementptr inbounds i8,i8*%cc,i64 32
%ce=bitcast i8*%cd to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%j,align 8
%cg=getelementptr inbounds i8,i8*%cc,i64 8
%ch=bitcast i8*%cg to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%c,align 8
%cj=getelementptr inbounds i8,i8*%cc,i64 44
%ck=bitcast i8*%cj to i32*
%cl=load i32,i32*%ck,align 4
%cm=getelementptr inbounds i8,i8*%cc,i64 40
%cn=bitcast i8*%cm to i32*
%co=load i32,i32*%cn,align 4
%cp=call i8*@sml_alloc(i32 inreg%T)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32%bp,i32*%cr,align 4
call void@llvm.memset.p0i8.i32(i8*%cp,i8 0,i32%T,i1 false)
%cs=icmp eq i32%co,0
%ct=load i8*,i8**%e,align 8
%cu=getelementptr inbounds i8,i8*%cp,i64%bu
br i1%cs,label%cx,label%cv
cv:
%cw=bitcast i8*%cu to i8**
store i8*%ct,i8**%cw,align 8
br label%cy
cx:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cu,i8*%ct,i32%cl,i1 false)
br label%cy
cy:
%cz=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cA=getelementptr inbounds i8,i8*%cp,i64%bB
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cp,i64%bE
%cD=bitcast i8*%cC to i32*
store i32%S,i32*%cD,align 4
%cE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cF=call fastcc i8*@_SMLL7trim__lo_279(i8*inreg%cE,i8*inreg%cp)
store i8*%cF,i8**%c,align 8
%cG=load i8*,i8**%h,align 8
%cH=getelementptr inbounds i8,i8*%cG,i64 44
%cI=bitcast i8*%cH to i32*
%cJ=load i32,i32*%cI,align 4
%cK=getelementptr inbounds i8,i8*%cG,i64 40
%cL=bitcast i8*%cK to i32*
%cM=load i32,i32*%cL,align 4
%cN=call i8*@sml_alloc(i32 inreg%ad)#0
%cO=getelementptr inbounds i8,i8*%cN,i64 -4
%cP=bitcast i8*%cO to i32*
store i32%bR,i32*%cP,align 4
call void@llvm.memset.p0i8.i32(i8*%cN,i8 0,i32%ad,i1 false)
%cQ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cR=bitcast i8*%cN to i8**
store i8*%cQ,i8**%cR,align 8
%cS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cT=getelementptr inbounds i8,i8*%cN,i64 8
%cU=bitcast i8*%cT to i8**
store i8*%cS,i8**%cU,align 8
%cV=icmp eq i32%cM,0
%cW=load i8*,i8**%e,align 8
%cX=getelementptr inbounds i8,i8*%cN,i64%b1
br i1%cV,label%c0,label%cY
cY:
%cZ=bitcast i8*%cX to i8**
store i8*%cW,i8**%cZ,align 8
br label%c1
c0:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cX,i8*%cW,i32%cJ,i1 false)
br label%c1
c1:
%c2=getelementptr inbounds i8,i8*%cN,i64%b7
%c3=bitcast i8*%c2 to i32*
store i32%ac,i32*%c3,align 4
%c4=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%c5=call fastcc i8*@_SMLL6uni__lo_282(i8*inreg%c4,i8*inreg%cN)
store i8*%c5,i8**%c,align 8
%c6=load i8*,i8**%h,align 8
%c7=getelementptr inbounds i8,i8*%c6,i64 44
%c8=bitcast i8*%c7 to i32*
%c9=load i32,i32*%c8,align 4
store i8*null,i8**%h,align 8
%da=getelementptr inbounds i8,i8*%c6,i64 40
%db=bitcast i8*%da to i32*
%dc=load i32,i32*%db,align 4
%dd=call i8*@sml_alloc(i32 inreg%aq)#0
%de=or i32%ai,1342177280
%df=getelementptr inbounds i8,i8*%dd,i64 -4
%dg=bitcast i8*%df to i32*
store i32%de,i32*%dg,align 4
call void@llvm.memset.p0i8.i32(i8*%dd,i8 0,i32%aq,i1 false)
%dh=load i8*,i8**%d,align 8
%di=bitcast i8*%dd to i8**
store i8*%dh,i8**%di,align 8
%dj=icmp eq i32%dc,0
%dk=load i8*,i8**%e,align 8
%dl=sext i32%ae to i64
%dm=getelementptr inbounds i8,i8*%dd,i64%dl
br i1%dj,label%dp,label%dn
dn:
%do=bitcast i8*%dm to i8**
store i8*%dk,i8**%do,align 8
br label%dq
dp:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dm,i8*%dk,i32%c9,i1 false)
br label%dq
dq:
%dr=load i8*,i8**%c,align 8
%ds=sext i32%ag to i64
%dt=getelementptr inbounds i8,i8*%dd,i64%ds
%du=bitcast i8*%dt to i8**
store i8*%dr,i8**%du,align 8
%dv=sext i32%ai to i64
%dw=getelementptr inbounds i8,i8*%dd,i64%dv
%dx=bitcast i8*%dw to i32*
store i32%ap,i32*%dx,align 4
%dy=load i8*,i8**%i,align 8
%dz=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%dy,i8*inreg%dd)
ret i8*%dz
dA:
%dB=phi i8*[%a8,%a7],[null,%at]
br label%ay
}
define internal fastcc i8*@_SMLL9old__union_284(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%o,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
%n=load i8*,i8**%h,align 8
br label%o
o:
%p=phi i8*[%m,%l],[%b,%q]
%r=phi i8*[%n,%l],[%a,%q]
%s=bitcast i8*%p to i8**
%t=getelementptr inbounds i8,i8*%r,i64 28
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,3
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%B,15
%D=and i32%C,-8
%E=and i32%z,%x
%F=add i32%z,%E
%G=and i32%F,-8
%H=lshr i32%E,3
%I=getelementptr inbounds i8,i8*%r,i64 24
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=shl i32%K,%H
%M=or i32%L,1
%N=or i32%G,4
%O=add i32%G,15
%P=and i32%O,-8
%Q=lshr i32%F,3
%R=sub nsw i32%Q,%H
%S=shl i32 1,%R
%T=or i32%S,%K
%U=shl i32%T,%H
%V=or i32%U,1
%W=or i32%P,4
%X=load i8*,i8**%s,align 8
%Y=icmp eq i8*%X,null
br i1%Y,label%Z,label%ad
Z:
%aa=getelementptr inbounds i8,i8*%p,i64 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
ret i8*%ac
ad:
store i8*%X,i8**%d,align 8
%ae=icmp eq i32%K,0
br i1%ae,label%ak,label%af
af:
%ag=sext i32%y to i64
%ah=getelementptr inbounds i8,i8*%X,i64%ag
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
br label%at
ak:
%al=call i8*@sml_alloc(i32 inreg%v)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32%v,i32*%an,align 4
%ao=load i8*,i8**%d,align 8
%ap=sext i32%y to i64
%aq=getelementptr inbounds i8,i8*%ao,i64%ap
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%al,i8*%aq,i32%v,i1 false)
%ar=load i8*,i8**%c,align 8
%as=bitcast i8*%ar to i8**
br label%at
at:
%au=phi i8**[%as,%ak],[%s,%af]
%av=phi i8*[%ar,%ak],[%p,%af]
%aw=phi i8*[%ao,%ak],[%X,%af]
%ax=phi i8*[%al,%ak],[%aj,%af]
store i8*%ax,i8**%e,align 8
%ay=sext i32%B to i64
%az=getelementptr inbounds i8,i8*%aw,i64%ay
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%f,align 8
%aC=sext i32%D to i64
%aD=getelementptr inbounds i8,i8*%aw,i64%aC
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%g,align 8
%aG=getelementptr inbounds i8,i8*%av,i64 8
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%d,align 8
%aJ=icmp eq i8*%aI,null
br i1%aJ,label%aK,label%aM
aK:
%aL=load i8*,i8**%au,align 8
ret i8*%aL
aM:
%aN=load i8*,i8**%h,align 8
%aO=getelementptr inbounds i8,i8*%aN,i64 8
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
store i8*%aQ,i8**%c,align 8
%aR=getelementptr inbounds i8,i8*%aN,i64 28
%aS=bitcast i8*%aR to i32*
%aT=load i32,i32*%aS,align 4
%aU=getelementptr inbounds i8,i8*%aN,i64 24
%aV=bitcast i8*%aU to i32*
%aW=load i32,i32*%aV,align 4
%aX=call i8*@sml_alloc(i32 inreg%N)#0
%aY=or i32%G,1342177280
%aZ=getelementptr inbounds i8,i8*%aX,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32%aY,i32*%a0,align 4
call void@llvm.memset.p0i8.i32(i8*%aX,i8 0,i32%N,i1 false)
%a1=load i8*,i8**%d,align 8
%a2=bitcast i8*%aX to i8**
store i8*%a1,i8**%a2,align 8
%a3=icmp eq i32%aW,0
%a4=load i8*,i8**%e,align 8
%a5=sext i32%E to i64
%a6=getelementptr inbounds i8,i8*%aX,i64%a5
br i1%a3,label%a9,label%a7
a7:
%a8=bitcast i8*%a6 to i8**
store i8*%a4,i8**%a8,align 8
br label%ba
a9:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a6,i8*%a4,i32%aT,i1 false)
br label%ba
ba:
%bb=sext i32%G to i64
%bc=getelementptr inbounds i8,i8*%aX,i64%bb
%bd=bitcast i8*%bc to i32*
store i32%M,i32*%bd,align 4
%be=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bf=call fastcc i8*@_SMLL8split__lt_269(i8*inreg%be,i8*inreg%aX)
store i8*%bf,i8**%c,align 8
%bg=load i8*,i8**%h,align 8
%bh=getelementptr inbounds i8,i8*%bg,i64 16
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%i,align 8
%bk=getelementptr inbounds i8,i8*%bg,i64 28
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
%bn=getelementptr inbounds i8,i8*%bg,i64 24
%bo=bitcast i8*%bn to i32*
%bp=load i32,i32*%bo,align 4
%bq=call i8*@sml_alloc(i32 inreg%N)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32%aY,i32*%bs,align 4
call void@llvm.memset.p0i8.i32(i8*%bq,i8 0,i32%N,i1 false)
%bt=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=icmp eq i32%bp,0
%bw=load i8*,i8**%e,align 8
%bx=getelementptr inbounds i8,i8*%bq,i64%a5
br i1%bv,label%bA,label%by
by:
%bz=bitcast i8*%bx to i8**
store i8*%bw,i8**%bz,align 8
br label%bB
bA:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bx,i8*%bw,i32%bm,i1 false)
br label%bB
bB:
%bC=getelementptr inbounds i8,i8*%bq,i64%bb
%bD=bitcast i8*%bC to i32*
store i32%M,i32*%bD,align 4
%bE=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bF=call fastcc i8*@_SMLL8split__gt_270(i8*inreg%bE,i8*inreg%bq)
store i8*%bF,i8**%d,align 8
%bG=bitcast i8**%h to i8***
%bH=load i8**,i8***%bG,align 8
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%i,align 8
%bJ=call i8*@sml_alloc(i32 inreg 20)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177296,i32*%bL,align 4
%bM=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bP=getelementptr inbounds i8,i8*%bJ,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bJ,i64 16
%bS=bitcast i8*%bR to i32*
store i32 3,i32*%bS,align 4
%bT=load i8*,i8**%h,align 8
%bU=call fastcc i8*@_SMLL9old__union_284(i8*inreg%bT,i8*inreg%bJ)
store i8*%bU,i8**%c,align 8
%bV=call i8*@sml_alloc(i32 inreg 20)#0
%bW=getelementptr inbounds i8,i8*%bV,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177296,i32*%bX,align 4
%bY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bZ=bitcast i8*%bV to i8**
store i8*%bY,i8**%bZ,align 8
%b0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b1=getelementptr inbounds i8,i8*%bV,i64 8
%b2=bitcast i8*%b1 to i8**
store i8*%b0,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bV,i64 16
%b4=bitcast i8*%b3 to i32*
store i32 3,i32*%b4,align 4
%b5=load i8*,i8**%h,align 8
%b6=call fastcc i8*@_SMLL9old__union_284(i8*inreg%b5,i8*inreg%bV)
store i8*%b6,i8**%d,align 8
%b7=load i8*,i8**%h,align 8
%b8=getelementptr inbounds i8,i8*%b7,i64 28
%b9=bitcast i8*%b8 to i32*
%ca=load i32,i32*%b9,align 4
store i8*null,i8**%h,align 8
%cb=getelementptr inbounds i8,i8*%b7,i64 24
%cc=bitcast i8*%cb to i32*
%cd=load i32,i32*%cc,align 4
%ce=call i8*@sml_alloc(i32 inreg%W)#0
%cf=or i32%P,1342177280
%cg=getelementptr inbounds i8,i8*%ce,i64 -4
%ch=bitcast i8*%cg to i32*
store i32%cf,i32*%ch,align 4
call void@llvm.memset.p0i8.i32(i8*%ce,i8 0,i32%W,i1 false)
%ci=load i8*,i8**%c,align 8
%cj=bitcast i8*%ce to i8**
store i8*%ci,i8**%cj,align 8
%ck=icmp eq i32%cd,0
%cl=load i8*,i8**%e,align 8
%cm=getelementptr inbounds i8,i8*%ce,i64%a5
br i1%ck,label%cp,label%cn
cn:
%co=bitcast i8*%cm to i8**
store i8*%cl,i8**%co,align 8
br label%cq
cp:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cm,i8*%cl,i32%ca,i1 false)
br label%cq
cq:
%cr=load i8*,i8**%d,align 8
%cs=getelementptr inbounds i8,i8*%ce,i64%bb
%ct=bitcast i8*%cs to i8**
store i8*%cr,i8**%ct,align 8
%cu=sext i32%P to i64
%cv=getelementptr inbounds i8,i8*%ce,i64%cu
%cw=bitcast i8*%cv to i32*
store i32%V,i32*%cw,align 4
%cx=load i8*,i8**%i,align 8
%cy=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%cx,i8*inreg%ce)
ret i8*%cy
}
define internal fastcc i8*@_SMLL7addList_285(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 12
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=add i32%p,-1
%r=sub i32 0,%p
%s=and i32%q,%r
%t=add i32%p,7
%u=add i32%t,%s
%v=and i32%u,-8
%w=and i32%t,%r
%x=add i32%t,%w
%y=and i32%x,-8
%z=lshr i32%w,3
%A=getelementptr inbounds i8,i8*%l,i64 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=shl i32%C,%z
%E=or i32%D,1
%F=or i32%y,4
%G=icmp eq i32%C,0
br i1%G,label%O,label%H
H:
%I=bitcast i8*%l to i8**
%J=load i8*,i8**%c,align 8
%K=sext i32%s to i64
%L=getelementptr inbounds i8,i8*%J,i64%K
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
br label%Y
O:
%P=call i8*@sml_alloc(i32 inreg%p)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32%p,i32*%R,align 4
%S=load i8*,i8**%c,align 8
%T=sext i32%s to i64
%U=getelementptr inbounds i8,i8*%S,i64%T
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%P,i8*%U,i32%p,i1 false)
%V=bitcast i8**%e to i8***
%W=load i8**,i8***%V,align 8
%X=bitcast i8**%W to i8*
br label%Y
Y:
%Z=phi i8*[%X,%O],[%l,%H]
%aa=phi i8**[%W,%O],[%I,%H]
%ab=phi i8*[%S,%O],[%J,%H]
%ac=phi i8*[%P,%O],[%N,%H]
store i8*%ac,i8**%d,align 8
%ad=sext i32%v to i64
%ae=getelementptr inbounds i8,i8*%ab,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=load i8*,i8**%aa,align 8
store i8*%ah,i8**%f,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 12
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
store i8*null,i8**%e,align 8
%al=getelementptr inbounds i8*,i8**%aa,i64 1
%am=bitcast i8**%al to i32*
%an=load i32,i32*%am,align 4
%ao=call i8*@sml_alloc(i32 inreg%F)#0
%ap=or i32%y,1342177280
%aq=getelementptr inbounds i8,i8*%ao,i64 -4
%ar=bitcast i8*%aq to i32*
store i32%ap,i32*%ar,align 4
call void@llvm.memset.p0i8.i32(i8*%ao,i8 0,i32%F,i1 false)
%as=load i8*,i8**%c,align 8
%at=bitcast i8*%ao to i8**
store i8*%as,i8**%at,align 8
%au=icmp eq i32%an,0
%av=load i8*,i8**%d,align 8
%aw=sext i32%w to i64
%ax=getelementptr inbounds i8,i8*%ao,i64%aw
br i1%au,label%aA,label%ay
ay:
%az=bitcast i8*%ax to i8**
store i8*%av,i8**%az,align 8
br label%aB
aA:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ax,i8*%av,i32%ak,i1 false)
br label%aB
aB:
%aC=sext i32%y to i64
%aD=getelementptr inbounds i8,i8*%ao,i64%aC
%aE=bitcast i8*%aD to i32*
store i32%E,i32*%aE,align 4
%aF=load i8*,i8**%f,align 8
%aG=tail call fastcc i8*@_SMLL3add_266(i8*inreg%aF,i8*inreg%ao)
ret i8*%aG
}
define internal fastcc i8*@_SMLL7addList_286(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%l,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg%p,i32 inreg%s,i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=bitcast i8**%d to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%e,align 8
%C=bitcast i8**%A to i8*
%D=getelementptr inbounds i8*,i8**%A,i64 1
%E=bitcast i8**%D to i32*
%F=load i32,i32*%E,align 4
store i8*null,i8**%d,align 8
%G=getelementptr inbounds i8,i8*%C,i64 12
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
store i8*%J,i8**%d,align 8
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i32*
store i32%F,i32*%P,align 4
%Q=getelementptr inbounds i8,i8*%J,i64 12
%R=bitcast i8*%Q to i32*
store i32%I,i32*%R,align 4
%S=getelementptr inbounds i8,i8*%J,i64 16
%T=bitcast i8*%S to i32*
store i32 1,i32*%T,align 4
%U=call i8*@sml_alloc(i32 inreg 28)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177304,i32*%W,align 4
%X=load i8*,i8**%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
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7addList_285 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7addList_285 to void(...)*),void(...)**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 24
%ae=bitcast i8*%ad to i32*
store i32 -2147483647,i32*%ae,align 4
%af=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ag=call fastcc i8*%w(i8*inreg%af,i8*inreg%U)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
%am=bitcast i8**%c to i8***
%an=load i8**,i8***%am,align 8
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*%aj(i8*inreg%al,i8*inreg%ao)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=load i8*,i8**%c,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=tail call fastcc i8*%as(i8*inreg%au,i8*inreg%ay)
ret i8*%az
}
define internal fastcc i32@_SMLL2pk_287(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
%h=bitcast i8**%e to i8***
br label%i
i:
%j=phi i8*[%bN,%bH],[%b,%k]
store i8*%j,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%j,%i]
%r=load i8*,i8**%e,align 8
%s=getelementptr inbounds i8,i8*%r,i64 20
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=add i32%u,3
%w=sub i32 0,%u
%x=and i32%v,%w
%y=add i32%u,-1
%z=and i32%y,%w
%A=shl i32%u,1
%B=add i32%A,-1
%C=add i32%B,%z
%D=and i32%C,%w
%E=add i32%u,7
%F=add i32%E,%D
%G=and i32%F,-8
%H=lshr i32%D,3
%I=lshr i32%z,3
%J=sub nsw i32%H,%I
%K=getelementptr inbounds i8,i8*%r,i64 16
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=shl i32%M,%J
%O=or i32%N,%M
%P=or i32%G,4
%Q=add i32%E,%x
%R=and i32%Q,-8
%S=add i32%R,15
%T=and i32%S,-8
%U=icmp eq i8*%q,null
%V=bitcast i8*%r to i8**
br i1%U,label%W,label%Y
W:
%X=phi i32[0,%p],[1,%bh]
ret i32%X
Y:
%Z=icmp eq i32%M,0
br i1%Z,label%af,label%aa
aa:
%ab=sext i32%x to i64
%ac=getelementptr inbounds i8,i8*%q,i64%ab
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
br label%ar
af:
%ag=call i8*@sml_alloc(i32 inreg%u)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32%u,i32*%ai,align 4
%aj=load i8*,i8**%c,align 8
%ak=sext i32%x to i64
%al=getelementptr inbounds i8,i8*%aj,i64%ak
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ag,i8*%al,i32%u,i1 false)
%am=load i8**,i8***%h,align 8
%an=bitcast i8**%am to i8*
%ao=getelementptr inbounds i8*,i8**%am,i64 2
%ap=bitcast i8**%ao to i32*
%aq=load i32,i32*%ap,align 4
br label%ar
ar:
%as=phi i8*[%an,%af],[%r,%aa]
%at=phi i32[%aq,%af],[%M,%aa]
%au=phi i8**[%am,%af],[%V,%aa]
%av=phi i8*[%ag,%af],[%ae,%aa]
store i8*%av,i8**%d,align 8
%aw=load i8*,i8**%au,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%g,align 8
%aC=icmp eq i32%at,0
br i1%aC,label%aH,label%aD
aD:
%aE=getelementptr inbounds i8,i8*%as,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
br label%aQ
aH:
%aI=getelementptr inbounds i8,i8*%as,i64 20
%aJ=bitcast i8*%aI to i32*
%aK=load i32,i32*%aJ,align 4
%aL=call i8*@sml_alloc(i32 inreg%aK)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32%aK,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aO,i64 8
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aL,i8*%aP,i32%aK,i1 false)
br label%aQ
aQ:
%aR=phi i8*[%aO,%aH],[%as,%aD]
%aS=phi i8*[%aL,%aH],[%aG,%aD]
store i8*%aS,i8**%f,align 8
%aT=getelementptr inbounds i8,i8*%aR,i64 20
%aU=bitcast i8*%aT to i32*
%aV=load i32,i32*%aU,align 4
%aW=getelementptr inbounds i8,i8*%aR,i64 16
%aX=bitcast i8*%aW to i32*
%aY=load i32,i32*%aX,align 4
%aZ=call i8*@sml_alloc(i32 inreg%P)#0
%a0=or i32%G,1342177280
%a1=getelementptr inbounds i8,i8*%aZ,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32%a0,i32*%a2,align 4
call void@llvm.memset.p0i8.i32(i8*%aZ,i8 0,i32%P,i1 false)
%a3=icmp eq i32%aY,0
%a4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a5=sext i32%z to i64
%a6=getelementptr inbounds i8,i8*%aZ,i64%a5
br i1%a3,label%bd,label%a7
a7:
%a8=bitcast i8*%a6 to i8**
store i8*%a4,i8**%a8,align 8
%a9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ba=sext i32%D to i64
%bb=getelementptr inbounds i8,i8*%aZ,i64%ba
%bc=bitcast i8*%bb to i8**
store i8*%a9,i8**%bc,align 8
br label%bh
bd:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a6,i8*%a4,i32%aV,i1 false)
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=sext i32%D to i64
%bg=getelementptr inbounds i8,i8*%aZ,i64%bf
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bg,i8*%be,i32%aV,i1 false)
br label%bh
bh:
%bi=sext i32%G to i64
%bj=getelementptr inbounds i8,i8*%aZ,i64%bi
%bk=bitcast i8*%bj to i32*
store i32%O,i32*%bk,align 4
%bl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bm=call fastcc i8*%az(i8*inreg%bl,i8*inreg%aZ)
%bn=bitcast i8*%bm to i32*
%bo=load i32,i32*%bn,align 4
switch i32%bo,label%bp[
i32 0,label%W
i32 1,label%bO
i32 2,label%bH
]
bp:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%bq=load i8*,i8**@_SMLZ5Match,align 8
store i8*%bq,i8**%c,align 8
%br=call i8*@sml_alloc(i32 inreg 20)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177296,i32*%bt,align 4
store i8*%br,i8**%d,align 8
%bu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%br,i64 8
%bx=bitcast i8*%bw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@j,i64 0,i32 2,i64 0),i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%br,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 60)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177336,i32*%bC,align 4
%bD=getelementptr inbounds i8,i8*%bA,i64 56
%bE=bitcast i8*%bD to i32*
store i32 1,i32*%bE,align 4
%bF=load i8*,i8**%d,align 8
%bG=bitcast i8*%bA to i8**
store i8*%bF,i8**%bG,align 8
call void@sml_raise(i8*inreg%bA)#1
unreachable
bH:
%bI=phi i32[%T,%bO],[%R,%bh]
%bJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bK=sext i32%bI to i64
%bL=getelementptr inbounds i8,i8*%bJ,i64%bK
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
br label%i
bO:
br label%bH
}
define internal fastcc i32@_SMLL6member_289(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=shl i32%p,1
%r=or i32%q,1
%s=getelementptr inbounds i8,i8*%l,i64 12
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=add i32%u,7
%w=sub i32 0,%u
%x=and i32%v,%w
%y=icmp eq i32%p,0
br i1%y,label%G,label%z
z:
%A=bitcast i8*%l to i8**
%B=load i8*,i8**%c,align 8
%C=sext i32%x to i64
%D=getelementptr inbounds i8,i8*%B,i64%C
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
br label%Q
G:
%H=call i8*@sml_alloc(i32 inreg%u)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32%u,i32*%J,align 4
%K=load i8*,i8**%c,align 8
%L=sext i32%x to i64
%M=getelementptr inbounds i8,i8*%K,i64%L
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%H,i8*%M,i32%u,i1 false)
%N=bitcast i8**%e to i8***
%O=load i8**,i8***%N,align 8
%P=bitcast i8**%O to i8*
br label%Q
Q:
%R=phi i8*[%P,%G],[%l,%z]
%S=phi i8**[%O,%G],[%A,%z]
%T=phi i8*[%H,%G],[%F,%z]
store i8*%T,i8**%d,align 8
%U=load i8*,i8**%S,align 8
store i8*%U,i8**%f,align 8
%V=getelementptr inbounds i8,i8*%R,i64 12
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=getelementptr inbounds i8*,i8**%S,i64 1
%Z=bitcast i8**%Y to i32*
%aa=load i32,i32*%Z,align 4
store i8*null,i8**%e,align 8
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
store i8*%ab,i8**%e,align 8
%ae=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=icmp eq i32%aa,0
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 8
br i1%ag,label%al,label%aj
aj:
%ak=bitcast i8*%ai to i8**
store i8*%ah,i8**%ak,align 8
br label%am
al:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ai,i8*%ah,i32%X,i1 false)
br label%am
am:
%an=getelementptr inbounds i8,i8*%ab,i64 16
%ao=bitcast i8*%an to i32*
store i32%aa,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%ab,i64 20
%aq=bitcast i8*%ap to i32*
store i32%X,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%ab,i64 24
%as=bitcast i8*%ar to i32*
store i32%r,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 28)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177304,i32*%av,align 4
%aw=load i8*,i8**%e,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%at,i64 8
%az=bitcast i8*%ay to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL2pk_287 to void(...)*),void(...)**%az,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 16
%aB=bitcast i8*%aA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL2pk_377 to void(...)*),void(...)**%aB,align 8
%aC=getelementptr inbounds i8,i8*%at,i64 24
%aD=bitcast i8*%aC to i32*
store i32 -2147483647,i32*%aD,align 4
%aE=bitcast i8**%c to i8***
%aF=load i8**,i8***%aE,align 8
%aG=load i8*,i8**%aF,align 8
%aH=tail call fastcc i32@_SMLL2pk_287(i8*inreg%aw,i8*inreg%aG)
ret i32%aH
}
define internal fastcc i32@_SMLL4isIn_290(i8*inreg%a,i8*inreg%b)#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
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
br label%h
h:
%i=phi i8*[%b,%j],[%bx,%bw]
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%i,%h]
%q=load i8*,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%q,i64 20
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,3
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=add i32%z,15
%B=and i32%A,-8
%C=and i32%x,%v
%D=add i32%x,%C
%E=and i32%D,-8
%F=lshr i32%C,3
%G=getelementptr inbounds i8,i8*%q,i64 16
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=shl i32%I,%F
%K=or i32%J,1
%L=or i32%E,4
%M=icmp eq i8*%p,null
br i1%M,label%N,label%P
N:
%O=phi i32[1,%o],[0,%bk],[0,%bV],[0,%ci],[0,%cb]
ret i32%O
P:
%Q=icmp eq i32%I,0
br i1%Q,label%W,label%R
R:
%S=sext i32%w to i64
%T=getelementptr inbounds i8,i8*%p,i64%S
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
br label%ae
W:
%X=call i8*@sml_alloc(i32 inreg%t)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32%t,i32*%Z,align 4
%aa=load i8*,i8**%c,align 8
%ab=sext i32%w to i64
%ac=getelementptr inbounds i8,i8*%aa,i64%ab
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%X,i8*%ac,i32%t,i1 false)
%ad=load i8*,i8**%e,align 8
br label%ae
ae:
%af=phi i8*[%ad,%W],[%q,%R]
%ag=phi i8*[%aa,%W],[%p,%R]
%ah=phi i8*[%X,%W],[%V,%R]
%ai=bitcast i8*%af to i8**
store i8*%ah,i8**%d,align 8
%aj=sext i32%z to i64
%ak=getelementptr inbounds i8,i8*%ag,i64%aj
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
%an=icmp eq i8*%am,null
%ao=sext i32%B to i64
%ap=getelementptr inbounds i8,i8*%ag,i64%ao
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=icmp eq i8*%ar,null
%at=getelementptr inbounds i8,i8*%af,i64 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
br i1%an,label%aw,label%by
aw:
br i1%as,label%ax,label%aZ
ax:
%ay=bitcast i8*%af to i8**
store i8*%av,i8**%f,align 8
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%af,i64 20
%aB=bitcast i8*%aA to i32*
%aC=load i32,i32*%aB,align 4
store i8*null,i8**%e,align 8
%aD=getelementptr inbounds i8,i8*%af,i64 16
%aE=bitcast i8*%aD to i32*
%aF=load i32,i32*%aE,align 4
%aG=call i8*@sml_alloc(i32 inreg%L)#0
%aH=or i32%E,1342177280
%aI=getelementptr inbounds i8,i8*%aG,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32%aH,i32*%aJ,align 4
call void@llvm.memset.p0i8.i32(i8*%aG,i8 0,i32%L,i1 false)
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aG to i8**
store i8*%aK,i8**%aL,align 8
%aM=icmp eq i32%aF,0
%aN=load i8*,i8**%d,align 8
%aO=sext i32%C to i64
%aP=getelementptr inbounds i8,i8*%aG,i64%aO
br i1%aM,label%aS,label%aQ
aQ:
%aR=bitcast i8*%aP to i8**
store i8*%aN,i8**%aR,align 8
br label%aT
aS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aP,i8*%aN,i32%aC,i1 false)
br label%aT
aT:
%aU=sext i32%E to i64
%aV=getelementptr inbounds i8,i8*%aG,i64%aU
%aW=bitcast i8*%aV to i32*
store i32%K,i32*%aW,align 4
%aX=load i8*,i8**%f,align 8
%aY=tail call fastcc i32@_SMLL6member_289(i8*inreg%aX,i8*inreg%aG)
ret i32%aY
aZ:
store i8*%av,i8**%g,align 8
%a0=load i8*,i8**%ai,align 8
store i8*%a0,i8**%f,align 8
%a1=getelementptr inbounds i8,i8*%af,i64 20
%a2=bitcast i8*%a1 to i32*
%a3=load i32,i32*%a2,align 4
%a4=getelementptr inbounds i8,i8*%af,i64 16
%a5=bitcast i8*%a4 to i32*
%a6=load i32,i32*%a5,align 4
%a7=call i8*@sml_alloc(i32 inreg%L)#0
%a8=or i32%E,1342177280
%a9=getelementptr inbounds i8,i8*%a7,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32%a8,i32*%ba,align 4
call void@llvm.memset.p0i8.i32(i8*%a7,i8 0,i32%L,i1 false)
%bb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bc=bitcast i8*%a7 to i8**
store i8*%bb,i8**%bc,align 8
%bd=icmp eq i32%a6,0
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=sext i32%C to i64
%bg=getelementptr inbounds i8,i8*%a7,i64%bf
br i1%bd,label%bj,label%bh
bh:
%bi=bitcast i8*%bg to i8**
store i8*%be,i8**%bi,align 8
br label%bk
bj:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bg,i8*%be,i32%a3,i1 false)
br label%bk
bk:
%bl=sext i32%E to i64
%bm=getelementptr inbounds i8,i8*%a7,i64%bl
%bn=bitcast i8*%bm to i32*
store i32%K,i32*%bn,align 4
%bo=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bp=call fastcc i32@_SMLL6member_289(i8*inreg%bo,i8*inreg%a7)
%bq=icmp eq i32%bp,0
br i1%bq,label%N,label%br
br:
%bs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bt=getelementptr inbounds i8,i8*%bs,i64%ao
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%c,align 8
br label%bw
bw:
%bx=phi i8*[%bv,%br],[%b6,%b2],[%cu,%cq]
br label%h
by:
store i8*%av,i8**%g,align 8
%bz=bitcast i8*%af to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%f,align 8
%bB=getelementptr inbounds i8,i8*%af,i64 20
%bC=bitcast i8*%bB to i32*
%bD=load i32,i32*%bC,align 4
%bE=getelementptr inbounds i8,i8*%af,i64 16
%bF=bitcast i8*%bE to i32*
%bG=load i32,i32*%bF,align 4
%bH=call i8*@sml_alloc(i32 inreg%L)#0
%bI=or i32%E,1342177280
%bJ=getelementptr inbounds i8,i8*%bH,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32%bI,i32*%bK,align 4
call void@llvm.memset.p0i8.i32(i8*%bH,i8 0,i32%L,i1 false)
%bL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bM=bitcast i8*%bH to i8**
store i8*%bL,i8**%bM,align 8
%bN=icmp eq i32%bG,0
%bO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bP=sext i32%C to i64
%bQ=getelementptr inbounds i8,i8*%bH,i64%bP
br i1%as,label%bR,label%b7
bR:
br i1%bN,label%bU,label%bS
bS:
%bT=bitcast i8*%bQ to i8**
store i8*%bO,i8**%bT,align 8
br label%bV
bU:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bQ,i8*%bO,i32%bD,i1 false)
br label%bV
bV:
%bW=sext i32%E to i64
%bX=getelementptr inbounds i8,i8*%bH,i64%bW
%bY=bitcast i8*%bX to i32*
store i32%K,i32*%bY,align 4
%bZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b0=call fastcc i32@_SMLL6member_289(i8*inreg%bZ,i8*inreg%bH)
%b1=icmp eq i32%b0,0
br i1%b1,label%N,label%b2
b2:
%b3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b4=getelementptr inbounds i8,i8*%b3,i64%aj
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%c,align 8
br label%bw
b7:
br i1%bN,label%ca,label%b8
b8:
%b9=bitcast i8*%bQ to i8**
store i8*%bO,i8**%b9,align 8
br label%cb
ca:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bQ,i8*%bO,i32%bD,i1 false)
br label%cb
cb:
%cc=sext i32%E to i64
%cd=getelementptr inbounds i8,i8*%bH,i64%cc
%ce=bitcast i8*%cd to i32*
store i32%K,i32*%ce,align 4
%cf=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cg=call fastcc i32@_SMLL6member_289(i8*inreg%cf,i8*inreg%bH)
%ch=icmp eq i32%cg,0
br i1%ch,label%N,label%ci
ci:
%cj=load i8*,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%cj,i64%aj
%cl=bitcast i8*%ck to i8**
%cm=load i8*,i8**%cl,align 8
%cn=load i8*,i8**%e,align 8
%co=call fastcc i32@_SMLL4isIn_290(i8*inreg%cn,i8*inreg%cm)
%cp=icmp eq i32%co,0
br i1%cp,label%N,label%cq
cq:
%cr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cs=getelementptr inbounds i8,i8*%cr,i64%ao
%ct=bitcast i8*%cs to i8**
%cu=load i8*,i8**%ct,align 8
store i8*%cu,i8**%c,align 8
br label%bw
}
define internal fastcc i32@_SMLL6treeIn_291(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%p
k:
call void@sml_check(i32 inreg%g)
%l=load i8*,i8**%c,align 8
%m=bitcast i8**%e to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%n to i8*
br label%p
p:
%q=phi i8*[%o,%k],[%a,%i]
%r=phi i8**[%n,%k],[%j,%i]
%s=phi i8*[%l,%k],[%b,%i]
%t=getelementptr inbounds i8,i8*%s,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=load i8*,i8**%r,align 8
store i8*%w,i8**%f,align 8
%x=getelementptr inbounds i8*,i8**%r,i64 1
%y=bitcast i8**%x to i32*
%z=load i32,i32*%y,align 4
store i8*null,i8**%e,align 8
%A=getelementptr inbounds i8,i8*%q,i64 12
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=call i8*@sml_alloc(i32 inreg 28)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177304,i32*%F,align 4
store i8*%D,i8**%e,align 8
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%D,i64 16
%M=bitcast i8*%L to i32*
store i32%z,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%D,i64 20
%O=bitcast i8*%N to i32*
store i32%C,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%D,i64 24
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=load i8*,i8**%e,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL4isIn_290 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4isIn_379 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 -2147483647,i32*%ab,align 4
%ac=bitcast i8**%c to i8***
%ad=load i8**,i8***%ac,align 8
%ae=load i8*,i8**%ad,align 8
%af=tail call fastcc i32@_SMLL4isIn_290(i8*inreg%U,i8*inreg%ae)
ret i32%af
}
define internal fastcc i32@_SMLL8isSubset_292(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=icmp eq i8*%n,null
br i1%o,label%w,label%p
p:
%q=bitcast i8*%n to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%k,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=icmp eq i8*%u,null
br i1%v,label%w,label%y
w:
%x=phi i32[0,%y],[0,%p],[1,%j]
ret i32%x
y:
%z=bitcast i8*%u to i32*
%A=load i32,i32*%z,align 4
%B=icmp sgt i32%r,%A
br i1%B,label%w,label%C
C:
%D=bitcast i8**%e to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
%J=load i8*,i8**%c,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=load i8*,i8**%d,align 8
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%G,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
%Q=load i8*,i8**%e,align 8
%R=tail call fastcc i32@_SMLL6treeIn_291(i8*inreg%Q,i8*inreg%G)
ret i32%R
}
define internal fastcc i32@_SMLL5equal_293(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=icmp eq i8*%n,null
br i1%o,label%p,label%w
p:
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=icmp eq i8*%s,null
br i1%t,label%u,label%X
u:
%v=phi i32[1,%p],[0,%X],[0,%D]
ret i32%v
w:
%x=bitcast i8*%n to i32*
%y=load i32,i32*%x,align 4
%z=getelementptr inbounds i8,i8*%k,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,align 8
%C=icmp eq i8*%B,null
br i1%C,label%X,label%D
D:
%E=bitcast i8*%B to i32*
%F=load i32,i32*%E,align 4
%G=icmp eq i32%y,%F
br i1%G,label%H,label%u
H:
%I=bitcast i8**%e to i8***
%J=load i8**,i8***%I,align 8
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%e,align 8
%L=call i8*@sml_alloc(i32 inreg 20)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177296,i32*%N,align 4
%O=load i8*,i8**%c,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=load i8*,i8**%d,align 8
%R=getelementptr inbounds i8,i8*%L,i64 8
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%L,i64 16
%U=bitcast i8*%T to i32*
store i32 3,i32*%U,align 4
%V=load i8*,i8**%e,align 8
%W=tail call fastcc i32@_SMLL6treeIn_291(i8*inreg%V,i8*inreg%L)
ret i32%W
X:
br label%u
}
define internal fastcc i8*@_SMLL4left_294(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
%h=bitcast i8**%f to i32**
br label%i
i:
%j=phi i8*[%Y,%A],[%b,%k]
store i8*%j,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%j,%i]
%r=load i32*,i32**%h,align 8
%s=load i32,i32*%r,align 4
%t=bitcast i8*%q to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=icmp eq i8*%u,null
br i1%v,label%w,label%A
w:
%x=getelementptr inbounds i8,i8*%q,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
ret i8*%z
A:
%B=add i32%s,3
%C=sub i32 0,%s
%D=and i32%B,%C
%E=add i32%s,7
%F=add i32%E,%D
%G=and i32%F,-8
%H=sext i32%G to i64
%I=getelementptr inbounds i8,i8*%u,i64%H
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%q,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%e,align 8
%O=call i8*@sml_alloc(i32 inreg 20)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
store i8*%O,i8**%g,align 8
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%U=getelementptr inbounds i8,i8*%O,i64 8
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%O,i64 16
%X=bitcast i8*%W to i32*
store i32 3,i32*%X,align 4
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%Y,i64 16
%ah=bitcast i8*%ag to i32*
store i32 3,i32*%ah,align 4
br label%i
}
define internal fastcc i8*@_SMLL4next_296(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%l,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
%k=load i8*,i8**%f,align 8
br label%l
l:
%m=phi i8*[%k,%i],[%a,%n]
%o=phi i8*[%j,%i],[%b,%n]
%p=bitcast i8*%m to i8**
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=add i32%s,3
%u=sub i32 0,%s
%v=and i32%t,%u
%w=add i32%s,23
%x=add i32%w,%v
%y=and i32%x,-8
%z=add i32%y,-1
%A=and i32%z,-8
%B=icmp eq i8*%o,null
br i1%B,label%al,label%C
C:
%D=bitcast i8*%o to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%d,align 8
%F=icmp eq i8*%E,null
br i1%F,label%al,label%G
G:
%H=sext i32%A to i64
%I=getelementptr inbounds i8,i8*%E,i64%H
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%c,align 8
%L=getelementptr inbounds i8,i8*%o,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%e,align 8
%O=load i8*,i8**%p,align 8
store i8*%O,i8**%f,align 8
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177296,i32*%R,align 4
%S=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%V=getelementptr inbounds i8,i8*%P,i64 8
%W=bitcast i8*%V to i8**
store i8*%U,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%P,i64 16
%Y=bitcast i8*%X to i32*
store i32 3,i32*%Y,align 4
%Z=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aa=call fastcc i8*@_SMLL4left_294(i8*inreg%Z,i8*inreg%P)
store i8*%aa,i8**%c,align 8
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
%ae=load i8*,i8**%d,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%c,align 8
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ab,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
ret i8*%ab
al:
ret i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@m,i64 0,i32 2)to i8*)
}
define internal fastcc i32@_SMLL3cmp_297(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
%i=bitcast i8**%e to i8***
%j=bitcast i8**%g to i8***
br label%k
k:
%l=phi i8*[%cq,%cp],[%b,%m]
store i8*%l,i8**%c,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%c,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%l,%k]
store i8*null,i8**%c,align 8
store i8*%s,i8**%d,align 8
%t=load i8*,i8**%g,align 8
%u=getelementptr inbounds i8,i8*%t,i64 20
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=add i32%w,3
%y=sub i32 0,%w
%z=and i32%x,%y
%A=add i32%w,-1
%B=and i32%A,%y
%C=shl i32%w,1
%D=add i32%C,-1
%E=add i32%D,%B
%F=and i32%E,%y
%G=add i32%w,7
%H=add i32%G,%F
%I=and i32%H,-8
%J=lshr i32%F,3
%K=lshr i32%B,3
%L=sub nsw i32%J,%K
%M=getelementptr inbounds i8,i8*%t,i64 16
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=shl i32%O,%L
%Q=or i32%P,%O
%R=or i32%I,4
%S=getelementptr inbounds i8,i8*%t,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=bitcast i8*%s to i8**
%W=load i8*,i8**%V,align 8
%X=call fastcc i8*@_SMLL4next_296(i8*inreg%U,i8*inreg%W)
store i8*%X,i8**%c,align 8
%Y=load i8*,i8**%g,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*@_SMLL4next_296(i8*inreg%ab,i8*inreg%af)
store i8*%ag,i8**%d,align 8
%ah=call i8*@sml_alloc(i32 inreg 20)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
store i8*%ah,i8**%e,align 8
%ak=load i8*,i8**%c,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=load i8*,i8**%d,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ah,i64 16
%aq=bitcast i8*%ap to i32*
store i32 3,i32*%aq,align 4
%ar=bitcast i8*%ak to i8**
%as=load i8*,i8**%ar,align 8
%at=icmp eq i8*%as,null
br i1%at,label%au,label%aB
au:
%av=bitcast i8*%am to i8**
%aw=load i8*,i8**%av,align 8
%ax=icmp eq i8*%aw,null
%ay=select i1%ax,i32 0,i32 2
br label%az
az:
%aA=phi i32[%ay,%au],[%cn,%cg],[1,%aY]
ret i32%aA
aB:
store i8*%as,i8**%c,align 8
%aC=load i8*,i8**%g,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64 16
%aE=bitcast i8*%aD to i32*
%aF=load i32,i32*%aE,align 4
%aG=icmp eq i32%aF,0
br i1%aG,label%aM,label%aH
aH:
store i8*null,i8**%c,align 8
%aI=sext i32%z to i64
%aJ=getelementptr inbounds i8,i8*%as,i64%aI
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
br label%aY
aM:
%aN=getelementptr inbounds i8,i8*%aC,i64 20
%aO=bitcast i8*%aN to i32*
%aP=load i32,i32*%aO,align 4
%aQ=call i8*@sml_alloc(i32 inreg%aP)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32%aP,i32*%aS,align 4
%aT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aU=sext i32%z to i64
%aV=getelementptr inbounds i8,i8*%aT,i64%aU
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aQ,i8*%aV,i32%aP,i1 false)
%aW=load i8**,i8***%i,align 8
%aX=bitcast i8**%aW to i8*
br label%aY
aY:
%aZ=phi i8*[%aX,%aM],[%ah,%aH]
%a0=phi i8**[%aW,%aM],[%al,%aH]
%a1=phi i8*[%aQ,%aM],[%aL,%aH]
store i8*%a1,i8**%c,align 8
%a2=load i8*,i8**%a0,align 8
%a3=getelementptr inbounds i8,i8*%a2,i64 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%d,align 8
%a6=getelementptr inbounds i8*,i8**%a0,i64 1
%a7=bitcast i8**%a6 to i8***
%a8=load i8**,i8***%a7,align 8
%a9=load i8*,i8**%a8,align 8
%ba=icmp eq i8*%a9,null
br i1%ba,label%az,label%bb
bb:
store i8*%a9,i8**%f,align 8
%bc=load i8*,i8**%g,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i32*
%bf=load i32,i32*%be,align 4
%bg=icmp eq i32%bf,0
br i1%bg,label%bn,label%bh
bh:
%bi=bitcast i8*%bc to i8**
store i8*null,i8**%f,align 8
%bj=sext i32%z to i64
%bk=getelementptr inbounds i8,i8*%a9,i64%bj
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
br label%bD
bn:
%bo=getelementptr inbounds i8,i8*%bc,i64 20
%bp=bitcast i8*%bo to i32*
%bq=load i32,i32*%bp,align 4
%br=call i8*@sml_alloc(i32 inreg%bq)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32%bq,i32*%bt,align 4
%bu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bv=sext i32%z to i64
%bw=getelementptr inbounds i8,i8*%bu,i64%bv
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%br,i8*%bw,i32%bq,i1 false)
%bx=load i8*,i8**%e,align 8
%by=load i8**,i8***%j,align 8
%bz=bitcast i8**%by to i8*
%bA=getelementptr inbounds i8*,i8**%by,i64 2
%bB=bitcast i8**%bA to i32*
%bC=load i32,i32*%bB,align 4
br label%bD
bD:
%bE=phi i32[%bC,%bn],[%bf,%bh]
%bF=phi i8*[%bz,%bn],[%bc,%bh]
%bG=phi i8**[%by,%bn],[%bi,%bh]
%bH=phi i8*[%bx,%bn],[%aZ,%bh]
%bI=phi i8*[%br,%bn],[%bm,%bh]
store i8*%bI,i8**%f,align 8
%bJ=getelementptr inbounds i8,i8*%bH,i64 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
%bM=getelementptr inbounds i8,i8*%bL,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
store i8*%bO,i8**%e,align 8
%bP=load i8*,i8**%bG,align 8
%bQ=getelementptr inbounds i8,i8*%bP,i64 16
%bR=bitcast i8*%bQ to i8*(i8*,i8*)**
%bS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bR,align 8
%bT=bitcast i8*%bP to i8**
%bU=load i8*,i8**%bT,align 8
store i8*%bU,i8**%h,align 8
%bV=getelementptr inbounds i8,i8*%bF,i64 20
%bW=bitcast i8*%bV to i32*
%bX=load i32,i32*%bW,align 4
%bY=call i8*@sml_alloc(i32 inreg%R)#0
%bZ=or i32%I,1342177280
%b0=getelementptr inbounds i8,i8*%bY,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32%bZ,i32*%b1,align 4
call void@llvm.memset.p0i8.i32(i8*%bY,i8 0,i32%R,i1 false)
%b2=icmp eq i32%bE,0
%b3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b4=sext i32%B to i64
%b5=getelementptr inbounds i8,i8*%bY,i64%b4
br i1%b2,label%cc,label%b6
b6:
%b7=bitcast i8*%b5 to i8**
store i8*%b3,i8**%b7,align 8
%b8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b9=sext i32%F to i64
%ca=getelementptr inbounds i8,i8*%bY,i64%b9
%cb=bitcast i8*%ca to i8**
store i8*%b8,i8**%cb,align 8
br label%cg
cc:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b5,i8*%b3,i32%bX,i1 false)
%cd=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ce=sext i32%F to i64
%cf=getelementptr inbounds i8,i8*%bY,i64%ce
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cf,i8*%cd,i32%bX,i1 false)
br label%cg
cg:
%ch=sext i32%I to i64
%ci=getelementptr inbounds i8,i8*%bY,i64%ch
%cj=bitcast i8*%ci to i32*
store i32%Q,i32*%cj,align 4
%ck=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cl=call fastcc i8*%bS(i8*inreg%ck,i8*inreg%bY)
%cm=bitcast i8*%cl to i32*
%cn=load i32,i32*%cm,align 4
%co=icmp eq i32%cn,0
br i1%co,label%cp,label%az
cp:
%cq=call i8*@sml_alloc(i32 inreg 20)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
%ct=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cu=bitcast i8*%cq to i8**
store i8*%ct,i8**%cu,align 8
%cv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cw=getelementptr inbounds i8,i8*%cq,i64 8
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cq,i64 16
%cz=bitcast i8*%cy to i32*
store i32 3,i32*%cz,align 4
br label%k
}
define internal fastcc i32@_SMLL7compare_298(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%a to i8**
br label%r
m:
call void@sml_check(i32 inreg%i)
%n=load i8*,i8**%c,align 8
%o=bitcast i8**%e to i8***
%p=load i8**,i8***%o,align 8
%q=bitcast i8**%p to i8*
br label%r
r:
%s=phi i8*[%q,%m],[%a,%k]
%t=phi i8**[%p,%m],[%l,%k]
%u=phi i8*[%n,%m],[%b,%k]
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%u,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%A=load i8*,i8**%t,align 8
store i8*%A,i8**%f,align 8
%B=getelementptr inbounds i8*,i8**%t,i64 2
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%g,align 8
%D=getelementptr inbounds i8*,i8**%t,i64 3
%E=bitcast i8**%D to i32*
%F=load i32,i32*%E,align 4
%G=getelementptr inbounds i8,i8*%s,i64 28
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=call i8*@sml_alloc(i32 inreg 28)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177304,i32*%L,align 4
store i8*%J,i8**%h,align 8
%M=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32%F,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%J,i64 20
%U=bitcast i8*%T to i32*
store i32%I,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%J,i64 24
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%h,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL3cmp_297 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3cmp_383 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 -2147483647,i32*%ah,align 4
%ai=load i8*,i8**%e,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**%f,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to i8**
store i8*null,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%am,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aw=call fastcc i8*@_SMLL4left_294(i8*inreg%av,i8*inreg%am)
store i8*%aw,i8**%c,align 8
%ax=load i8*,i8**%e,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
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
%aE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to i8**
store i8*null,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to i32*
store i32 3,i32*%aJ,align 4
%aK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aL=call fastcc i8*@_SMLL4left_294(i8*inreg%aK,i8*inreg%aB)
store i8*%aL,i8**%d,align 8
%aM=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
%aP=load i8*,i8**%c,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=load i8*,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aM,i64 8
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aM,i64 16
%aV=bitcast i8*%aU to i32*
store i32 3,i32*%aV,align 4
%aW=load i8*,i8**%h,align 8
%aX=tail call fastcc i32@_SMLL3cmp_297(i8*inreg%aW,i8*inreg%aM)
ret i32%aX
}
define internal fastcc i32@_SMLL4walk_299(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%i,align 8
%k=bitcast i8**%g to i8***
%l=bitcast i8**%i to i8***
br label%m
m:
%n=phi i8*[%cL,%cK],[%b,%o]
store i8*%n,i8**%c,align 8
%p=load atomic i32,i32*@sml_check_flag unordered,align 4
%q=icmp eq i32%p,0
br i1%q,label%t,label%r
r:
call void@sml_check(i32 inreg%p)
%s=load i8*,i8**%c,align 8
br label%t
t:
%u=phi i8*[%s,%r],[%n,%m]
store i8*null,i8**%c,align 8
%v=load i8*,i8**%i,align 8
%w=getelementptr inbounds i8,i8*%v,i64 20
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=add i32%y,3
%A=sub i32 0,%y
%B=and i32%z,%A
%C=add i32%y,-1
%D=and i32%C,%A
%E=shl i32%y,1
%F=add i32%E,-1
%G=add i32%F,%D
%H=and i32%G,%A
%I=add i32%y,7
%J=add i32%I,%H
%K=and i32%J,-8
%L=lshr i32%H,3
%M=lshr i32%D,3
%N=sub nsw i32%L,%M
%O=getelementptr inbounds i8,i8*%v,i64 16
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=shl i32%Q,%N
%S=or i32%R,%Q
%T=or i32%K,4
%U=bitcast i8*%u to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=getelementptr inbounds i8,i8*%u,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%f,align 8
%Z=getelementptr inbounds i8,i8*%v,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*@_SMLL4next_296(i8*inreg%ab,i8*inreg%V)
store i8*%ac,i8**%c,align 8
%ad=load i8*,i8**%i,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
%ah=load i8*,i8**%f,align 8
%ai=call fastcc i8*@_SMLL4next_296(i8*inreg%ag,i8*inreg%ah)
store i8*%ai,i8**%d,align 8
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
store i8*%aj,i8**%g,align 8
%am=load i8*,i8**%c,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=load i8*,i8**%d,align 8
%ap=getelementptr inbounds i8,i8*%aj,i64 8
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%aj,i64 16
%as=bitcast i8*%ar to i32*
store i32 3,i32*%as,align 4
%at=bitcast i8*%am to i8**
%au=load i8*,i8**%at,align 8
%av=icmp eq i8*%au,null
br i1%av,label%a6,label%aw
aw:
store i8*%au,i8**%c,align 8
%ax=load i8*,i8**%i,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 16
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
%aB=icmp eq i32%aA,0
br i1%aB,label%aH,label%aC
aC:
store i8*null,i8**%c,align 8
%aD=sext i32%B to i64
%aE=getelementptr inbounds i8,i8*%au,i64%aD
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
br label%aT
aH:
%aI=getelementptr inbounds i8,i8*%ax,i64 20
%aJ=bitcast i8*%aI to i32*
%aK=load i32,i32*%aJ,align 4
%aL=call i8*@sml_alloc(i32 inreg%aK)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32%aK,i32*%aN,align 4
%aO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aP=sext i32%B to i64
%aQ=getelementptr inbounds i8,i8*%aO,i64%aP
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aL,i8*%aQ,i32%aK,i1 false)
%aR=load i8**,i8***%k,align 8
%aS=bitcast i8**%aR to i8*
br label%aT
aT:
%aU=phi i8*[%aS,%aH],[%aj,%aC]
%aV=phi i8**[%aR,%aH],[%an,%aC]
%aW=phi i8*[%aL,%aH],[%aG,%aC]
store i8*%aW,i8**%c,align 8
%aX=load i8*,i8**%aV,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%d,align 8
%a1=getelementptr inbounds i8*,i8**%aV,i64 1
%a2=bitcast i8**%a1 to i8***
%a3=load i8**,i8***%a2,align 8
%a4=load i8*,i8**%a3,align 8
%a5=icmp eq i8*%a4,null
br i1%a5,label%a6,label%a8
a6:
%a7=phi i32[1,%aT],[%ck,%cd],[1,%t]
ret i32%a7
a8:
store i8*%a4,i8**%h,align 8
%a9=load i8*,i8**%i,align 8
%ba=getelementptr inbounds i8,i8*%a9,i64 16
%bb=bitcast i8*%ba to i32*
%bc=load i32,i32*%bb,align 4
%bd=icmp eq i32%bc,0
br i1%bd,label%bk,label%be
be:
%bf=bitcast i8*%a9 to i8**
store i8*null,i8**%h,align 8
%bg=sext i32%B to i64
%bh=getelementptr inbounds i8,i8*%a4,i64%bg
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
br label%bA
bk:
%bl=getelementptr inbounds i8,i8*%a9,i64 20
%bm=bitcast i8*%bl to i32*
%bn=load i32,i32*%bm,align 4
%bo=call i8*@sml_alloc(i32 inreg%bn)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32%bn,i32*%bq,align 4
%br=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bs=sext i32%B to i64
%bt=getelementptr inbounds i8,i8*%br,i64%bs
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bo,i8*%bt,i32%bn,i1 false)
%bu=load i8*,i8**%g,align 8
%bv=load i8**,i8***%l,align 8
%bw=bitcast i8**%bv to i8*
%bx=getelementptr inbounds i8*,i8**%bv,i64 2
%by=bitcast i8**%bx to i32*
%bz=load i32,i32*%by,align 4
br label%bA
bA:
%bB=phi i32[%bz,%bk],[%bc,%be]
%bC=phi i8*[%bw,%bk],[%a9,%be]
%bD=phi i8**[%bv,%bk],[%bf,%be]
%bE=phi i8*[%bu,%bk],[%aU,%be]
%bF=phi i8*[%bo,%bk],[%bj,%be]
store i8*%bF,i8**%h,align 8
%bG=getelementptr inbounds i8,i8*%bE,i64 8
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
%bJ=getelementptr inbounds i8,i8*%bI,i64 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%g,align 8
%bM=load i8*,i8**%bD,align 8
%bN=getelementptr inbounds i8,i8*%bM,i64 16
%bO=bitcast i8*%bN to i8*(i8*,i8*)**
%bP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bO,align 8
%bQ=bitcast i8*%bM to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%j,align 8
%bS=getelementptr inbounds i8,i8*%bC,i64 20
%bT=bitcast i8*%bS to i32*
%bU=load i32,i32*%bT,align 4
%bV=call i8*@sml_alloc(i32 inreg%T)#0
%bW=or i32%K,1342177280
%bX=getelementptr inbounds i8,i8*%bV,i64 -4
%bY=bitcast i8*%bX to i32*
store i32%bW,i32*%bY,align 4
call void@llvm.memset.p0i8.i32(i8*%bV,i8 0,i32%T,i1 false)
%bZ=icmp eq i32%bB,0
%b0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b1=sext i32%D to i64
%b2=getelementptr inbounds i8,i8*%bV,i64%b1
br i1%bZ,label%b9,label%b3
b3:
%b4=bitcast i8*%b2 to i8**
store i8*%b0,i8**%b4,align 8
%b5=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b6=sext i32%H to i64
%b7=getelementptr inbounds i8,i8*%bV,i64%b6
%b8=bitcast i8*%b7 to i8**
store i8*%b5,i8**%b8,align 8
br label%cd
b9:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b2,i8*%b0,i32%bU,i1 false)
%ca=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cb=sext i32%H to i64
%cc=getelementptr inbounds i8,i8*%bV,i64%cb
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cc,i8*%ca,i32%bU,i1 false)
br label%cd
cd:
%ce=sext i32%K to i64
%cf=getelementptr inbounds i8,i8*%bV,i64%ce
%cg=bitcast i8*%cf to i32*
store i32%S,i32*%cg,align 4
%ch=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ci=call fastcc i8*%bP(i8*inreg%ch,i8*inreg%bV)
%cj=bitcast i8*%ci to i32*
%ck=load i32,i32*%cj,align 4
switch i32%ck,label%cl[
i32 0,label%a6
i32 1,label%cR
i32 2,label%cD
]
cl:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
call void@sml_matchcomp_bug()
%cm=load i8*,i8**@_SMLZ5Match,align 8
store i8*%cm,i8**%c,align 8
%cn=call i8*@sml_alloc(i32 inreg 20)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177296,i32*%cp,align 4
store i8*%cn,i8**%d,align 8
%cq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cn,i64 8
%ct=bitcast i8*%cs to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@k,i64 0,i32 2,i64 0),i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 16
%cv=bitcast i8*%cu to i32*
store i32 3,i32*%cv,align 4
%cw=call i8*@sml_alloc(i32 inreg 60)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177336,i32*%cy,align 4
%cz=getelementptr inbounds i8,i8*%cw,i64 56
%cA=bitcast i8*%cz to i32*
store i32 1,i32*%cA,align 4
%cB=load i8*,i8**%d,align 8
%cC=bitcast i8*%cw to i8**
store i8*%cB,i8**%cC,align 8
call void@sml_raise(i8*inreg%cw)#1
unreachable
cD:
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
%cE=call i8*@sml_alloc(i32 inreg 20)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177296,i32*%cG,align 4
%cH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cI=bitcast i8*%cE to i8**
store i8*%cH,i8**%cI,align 8
%cJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
br label%cK
cK:
%cL=phi i8*[%cE,%cD],[%cS,%cR]
%cM=phi i8*[%cJ,%cD],[%cX,%cR]
%cN=getelementptr inbounds i8,i8*%cL,i64 8
%cO=bitcast i8*%cN to i8**
store i8*%cM,i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cL,i64 16
%cQ=bitcast i8*%cP to i32*
store i32 3,i32*%cQ,align 4
br label%m
cR:
store i8*null,i8**%f,align 8
store i8*null,i8**%d,align 8
%cS=call i8*@sml_alloc(i32 inreg 20)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177296,i32*%cU,align 4
%cV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cW=bitcast i8*%cS to i8**
store i8*%cV,i8**%cW,align 8
%cX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
br label%cK
}
define internal fastcc i32@_SMLL8disjoint_301(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%a to i8**
br label%r
m:
call void@sml_check(i32 inreg%i)
%n=load i8*,i8**%c,align 8
%o=bitcast i8**%e to i8***
%p=load i8**,i8***%o,align 8
%q=bitcast i8**%p to i8*
br label%r
r:
%s=phi i8*[%q,%m],[%a,%k]
%t=phi i8**[%p,%m],[%l,%k]
%u=phi i8*[%n,%m],[%b,%k]
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%u,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%A=load i8*,i8**%t,align 8
store i8*%A,i8**%f,align 8
%B=getelementptr inbounds i8*,i8**%t,i64 2
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%g,align 8
%D=getelementptr inbounds i8*,i8**%t,i64 3
%E=bitcast i8**%D to i32*
%F=load i32,i32*%E,align 4
%G=getelementptr inbounds i8,i8*%s,i64 28
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=call i8*@sml_alloc(i32 inreg 28)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177304,i32*%L,align 4
store i8*%J,i8**%h,align 8
%M=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32%F,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%J,i64 20
%U=bitcast i8*%T to i32*
store i32%I,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%J,i64 24
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%h,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL4walk_299 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4walk_385 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 -2147483647,i32*%ah,align 4
%ai=load i8*,i8**%e,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**%f,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to i8**
store i8*null,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%am,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aw=call fastcc i8*@_SMLL4left_294(i8*inreg%av,i8*inreg%am)
store i8*%aw,i8**%c,align 8
%ax=load i8*,i8**%e,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
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
%aE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to i8**
store i8*null,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to i32*
store i32 3,i32*%aJ,align 4
%aK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aL=call fastcc i8*@_SMLL4left_294(i8*inreg%aK,i8*inreg%aB)
store i8*%aL,i8**%d,align 8
%aM=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
%aP=load i8*,i8**%c,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=load i8*,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aM,i64 8
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aM,i64 16
%aV=bitcast i8*%aU to i32*
store i32 3,i32*%aV,align 4
%aW=load i8*,i8**%h,align 8
%aX=tail call fastcc i32@_SMLL4walk_299(i8*inreg%aW,i8*inreg%aM)
ret i32%aX
}
define internal fastcc i8*@_SMLL6delete_302(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%b to i8**
br label%q
m:
call void@sml_check(i32 inreg%i)
%n=bitcast i8**%c to i8***
%o=load i8**,i8***%n,align 8
%p=load i8*,i8**%g,align 8
br label%q
q:
%r=phi i8*[%p,%m],[%a,%k]
%s=phi i8**[%o,%m],[%l,%k]
%t=getelementptr inbounds i8,i8*%r,i64 28
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,3
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%B,15
%D=and i32%C,-8
%E=and i32%z,%x
%F=add i32%v,-1
%G=and i32%F,%x
%H=add i32%G,%v
%I=add i32%F,%H
%J=and i32%I,%x
%K=add i32%z,%J
%L=and i32%K,-8
%M=lshr i32%J,3
%N=lshr i32%G,3
%O=sub nsw i32%M,%N
%P=getelementptr inbounds i8,i8*%r,i64 24
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=shl i32%R,%O
%T=or i32%S,%R
%U=or i32%L,4
%V=add i32%z,%E
%W=and i32%V,-8
%X=lshr i32%E,3
%Y=shl i32%R,%X
%Z=or i32%Y,1
%aa=or i32%W,4
%ab=add i32%H,7
%ac=and i32%ab,-8
%ad=add i32%ac,15
%ae=and i32%ad,-8
%af=add i32%ae,15
%ag=and i32%af,-8
%ah=lshr i32%ad,3
%ai=lshr i32%ab,3
%aj=sub nsw i32%ah,%ai
%ak=sub nsw i32%ai,%N
%al=shl i32 1,%aj
%am=or i32%al,1
%an=shl i32%am,%ak
%ao=or i32%an,%R
%ap=or i32%ag,4
%aq=load i8*,i8**%s,align 8
%ar=icmp eq i8*%aq,null
br i1%ar,label%as,label%aK
as:
store i8*null,i8**%g,align 8
%at=load i8*,i8**@_SMLZN7LibBase8NotFoundE,align 8
store i8*%at,i8**%c,align 8
%au=call i8*@sml_alloc(i32 inreg 20)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177296,i32*%aw,align 4
store i8*%au,i8**%d,align 8
%ax=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%au,i64 8
%aA=bitcast i8*%az to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[51x i8]}>,<{[4x i8],i32,[51x i8]}>*@l,i64 0,i32 2,i64 0),i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 16
%aC=bitcast i8*%aB to i32*
store i32 3,i32*%aC,align 4
%aD=call i8*@sml_alloc(i32 inreg 60)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177336,i32*%aF,align 4
%aG=getelementptr inbounds i8,i8*%aD,i64 56
%aH=bitcast i8*%aG to i32*
store i32 1,i32*%aH,align 4
%aI=load i8*,i8**%d,align 8
%aJ=bitcast i8*%aD to i8**
store i8*%aI,i8**%aJ,align 8
call void@sml_raise(i8*inreg%aD)#1
unreachable
aK:
store i8*%aq,i8**%f,align 8
%aL=icmp eq i32%R,0
br i1%aL,label%aR,label%aM
aM:
%aN=sext i32%y to i64
%aO=getelementptr inbounds i8,i8*%aq,i64%aN
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
br label%a2
aR:
%aS=call i8*@sml_alloc(i32 inreg%v)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32%v,i32*%aU,align 4
%aV=load i8*,i8**%f,align 8
%aW=sext i32%y to i64
%aX=getelementptr inbounds i8,i8*%aV,i64%aW
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aS,i8*%aX,i32%v,i1 false)
%aY=load i8*,i8**%g,align 8
%aZ=getelementptr inbounds i8,i8*%aY,i64 24
%a0=bitcast i8*%aZ to i32*
%a1=load i32,i32*%a0,align 4
br label%a2
a2:
%a3=phi i8*[%aY,%aR],[%r,%aM]
%a4=phi i32[%a1,%aR],[%R,%aM]
%a5=phi i8*[%aV,%aR],[%aq,%aM]
%a6=phi i8*[%aS,%aR],[%aQ,%aM]
store i8*%a6,i8**%d,align 8
%a7=sext i32%B to i64
%a8=getelementptr inbounds i8,i8*%a5,i64%a7
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%e,align 8
%bb=sext i32%D to i64
%bc=getelementptr inbounds i8,i8*%a5,i64%bb
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%f,align 8
%bf=icmp eq i32%a4,0
br i1%bf,label%bn,label%bg
bg:
%bh=bitcast i8*%a3 to i8**
%bi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bj=sext i32%E to i64
%bk=getelementptr inbounds i8,i8*%bi,i64%bj
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
br label%bD
bn:
%bo=getelementptr inbounds i8,i8*%a3,i64 28
%bp=bitcast i8*%bo to i32*
%bq=load i32,i32*%bp,align 4
%br=call i8*@sml_alloc(i32 inreg%bq)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32%bq,i32*%bt,align 4
%bu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bv=sext i32%E to i64
%bw=getelementptr inbounds i8,i8*%bu,i64%bv
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%br,i8*%bw,i32%bq,i1 false)
%bx=bitcast i8**%g to i8***
%by=load i8**,i8***%bx,align 8
%bz=bitcast i8**%by to i8*
%bA=getelementptr inbounds i8*,i8**%by,i64 3
%bB=bitcast i8**%bA to i32*
%bC=load i32,i32*%bB,align 4
br label%bD
bD:
%bE=phi i32[%bC,%bn],[%a4,%bg]
%bF=phi i8*[%bz,%bn],[%a3,%bg]
%bG=phi i8**[%by,%bn],[%bh,%bg]
%bH=phi i8*[%br,%bn],[%bm,%bg]
store i8*%bH,i8**%c,align 8
%bI=load i8*,i8**%bG,align 8
%bJ=getelementptr inbounds i8,i8*%bI,i64 16
%bK=bitcast i8*%bJ to i8*(i8*,i8*)**
%bL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bK,align 8
%bM=bitcast i8*%bI to i8**
%bN=load i8*,i8**%bM,align 8
store i8*%bN,i8**%h,align 8
%bO=getelementptr inbounds i8,i8*%bF,i64 28
%bP=bitcast i8*%bO to i32*
%bQ=load i32,i32*%bP,align 4
%bR=call i8*@sml_alloc(i32 inreg%U)#0
%bS=or i32%L,1342177280
%bT=getelementptr inbounds i8,i8*%bR,i64 -4
%bU=bitcast i8*%bT to i32*
store i32%bS,i32*%bU,align 4
call void@llvm.memset.p0i8.i32(i8*%bR,i8 0,i32%U,i1 false)
%bV=icmp eq i32%bE,0
%bW=load i8*,i8**%c,align 8
%bX=sext i32%G to i64
%bY=getelementptr inbounds i8,i8*%bR,i64%bX
br i1%bV,label%b5,label%bZ
bZ:
%b0=bitcast i8*%bY to i8**
store i8*%bW,i8**%b0,align 8
%b1=load i8*,i8**%d,align 8
%b2=sext i32%J to i64
%b3=getelementptr inbounds i8,i8*%bR,i64%b2
%b4=bitcast i8*%b3 to i8**
store i8*%b1,i8**%b4,align 8
br label%b9
b5:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bY,i8*%bW,i32%bQ,i1 false)
%b6=load i8*,i8**%d,align 8
%b7=sext i32%J to i64
%b8=getelementptr inbounds i8,i8*%bR,i64%b7
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%b8,i8*%b6,i32%bQ,i1 false)
br label%b9
b9:
%ca=sext i32%L to i64
%cb=getelementptr inbounds i8,i8*%bR,i64%ca
%cc=bitcast i8*%cb to i32*
store i32%T,i32*%cc,align 4
%cd=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ce=call fastcc i8*%bL(i8*inreg%cd,i8*inreg%bR)
%cf=bitcast i8*%ce to i32*
%cg=load i32,i32*%cf,align 4
switch i32%cg,label%ch[
i32 1,label%dx
i32 2,label%cy
]
ch:
store i8*null,i8**%d,align 8
%ci=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cj=getelementptr inbounds i8,i8*%ci,i64 16
%ck=bitcast i8*%cj to i8**
%cl=load i8*,i8**%ck,align 8
store i8*%cl,i8**%c,align 8
%cm=call i8*@sml_alloc(i32 inreg 20)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177296,i32*%co,align 4
%cp=load i8*,i8**%e,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=load i8*,i8**%f,align 8
%cs=getelementptr inbounds i8,i8*%cm,i64 8
%ct=bitcast i8*%cs to i8**
store i8*%cr,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cm,i64 16
%cv=bitcast i8*%cu to i32*
store i32 3,i32*%cv,align 4
%cw=load i8*,i8**%c,align 8
%cx=tail call fastcc i8*@_SMLL7delete_G_275(i8*inreg%cw,i8*inreg%cm)
ret i8*%cx
cy:
%cz=load i8*,i8**%g,align 8
%cA=getelementptr inbounds i8,i8*%cz,i64 8
%cB=bitcast i8*%cA to i8**
%cC=load i8*,i8**%cB,align 8
store i8*%cC,i8**%h,align 8
%cD=getelementptr inbounds i8,i8*%cz,i64 28
%cE=bitcast i8*%cD to i32*
%cF=load i32,i32*%cE,align 4
%cG=getelementptr inbounds i8,i8*%cz,i64 24
%cH=bitcast i8*%cG to i32*
%cI=load i32,i32*%cH,align 4
%cJ=call i8*@sml_alloc(i32 inreg%aa)#0
%cK=or i32%W,1342177280
%cL=getelementptr inbounds i8,i8*%cJ,i64 -4
%cM=bitcast i8*%cL to i32*
store i32%cK,i32*%cM,align 4
call void@llvm.memset.p0i8.i32(i8*%cJ,i8 0,i32%aa,i1 false)
%cN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cO=bitcast i8*%cJ to i8**
store i8*%cN,i8**%cO,align 8
%cP=icmp eq i32%cI,0
%cQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cR=sext i32%E to i64
%cS=getelementptr inbounds i8,i8*%cJ,i64%cR
br i1%cP,label%cV,label%cT
cT:
%cU=bitcast i8*%cS to i8**
store i8*%cQ,i8**%cU,align 8
br label%cW
cV:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cS,i8*%cQ,i32%cF,i1 false)
br label%cW
cW:
%cX=sext i32%W to i64
%cY=getelementptr inbounds i8,i8*%cJ,i64%cX
%cZ=bitcast i8*%cY to i32*
store i32%Z,i32*%cZ,align 4
%c0=load i8*,i8**%g,align 8
%c1=call fastcc i8*@_SMLL6delete_302(i8*inreg%c0,i8*inreg%cJ)
store i8*%c1,i8**%c,align 8
%c2=load i8*,i8**%g,align 8
%c3=getelementptr inbounds i8,i8*%c2,i64 28
%c4=bitcast i8*%c3 to i32*
%c5=load i32,i32*%c4,align 4
store i8*null,i8**%g,align 8
%c6=getelementptr inbounds i8,i8*%c2,i64 24
%c7=bitcast i8*%c6 to i32*
%c8=load i32,i32*%c7,align 4
%c9=call i8*@sml_alloc(i32 inreg%ap)#0
%da=or i32%ag,1342177280
%db=getelementptr inbounds i8,i8*%c9,i64 -4
%dc=bitcast i8*%db to i32*
store i32%da,i32*%dc,align 4
call void@llvm.memset.p0i8.i32(i8*%c9,i8 0,i32%ap,i1 false)
%dd=icmp eq i32%c8,0
%de=load i8*,i8**%d,align 8
%df=getelementptr inbounds i8,i8*%c9,i64%bX
br i1%dd,label%di,label%dg
dg:
%dh=bitcast i8*%df to i8**
store i8*%de,i8**%dh,align 8
br label%dj
di:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%df,i8*%de,i32%c5,i1 false)
br label%dj
dj:
%dk=load i8*,i8**%c,align 8
%dl=sext i32%ac to i64
%dm=getelementptr inbounds i8,i8*%c9,i64%dl
%dn=bitcast i8*%dm to i8**
store i8*%dk,i8**%dn,align 8
%do=load i8*,i8**%f,align 8
%dp=sext i32%ae to i64
%dq=getelementptr inbounds i8,i8*%c9,i64%dp
%dr=bitcast i8*%dq to i8**
store i8*%do,i8**%dr,align 8
%ds=sext i32%ag to i64
%dt=getelementptr inbounds i8,i8*%c9,i64%ds
%du=bitcast i8*%dt to i32*
store i32%ao,i32*%du,align 4
%dv=load i8*,i8**%h,align 8
%dw=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%dv,i8*inreg%c9)
ret i8*%dw
dx:
%dy=load i8*,i8**%g,align 8
%dz=getelementptr inbounds i8,i8*%dy,i64 8
%dA=bitcast i8*%dz to i8**
%dB=load i8*,i8**%dA,align 8
store i8*%dB,i8**%h,align 8
%dC=getelementptr inbounds i8,i8*%dy,i64 28
%dD=bitcast i8*%dC to i32*
%dE=load i32,i32*%dD,align 4
%dF=getelementptr inbounds i8,i8*%dy,i64 24
%dG=bitcast i8*%dF to i32*
%dH=load i32,i32*%dG,align 4
%dI=call i8*@sml_alloc(i32 inreg%aa)#0
%dJ=or i32%W,1342177280
%dK=getelementptr inbounds i8,i8*%dI,i64 -4
%dL=bitcast i8*%dK to i32*
store i32%dJ,i32*%dL,align 4
call void@llvm.memset.p0i8.i32(i8*%dI,i8 0,i32%aa,i1 false)
%dM=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dN=bitcast i8*%dI to i8**
store i8*%dM,i8**%dN,align 8
%dO=icmp eq i32%dH,0
%dP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dQ=sext i32%E to i64
%dR=getelementptr inbounds i8,i8*%dI,i64%dQ
br i1%dO,label%dU,label%dS
dS:
%dT=bitcast i8*%dR to i8**
store i8*%dP,i8**%dT,align 8
br label%dV
dU:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dR,i8*%dP,i32%dE,i1 false)
br label%dV
dV:
%dW=sext i32%W to i64
%dX=getelementptr inbounds i8,i8*%dI,i64%dW
%dY=bitcast i8*%dX to i32*
store i32%Z,i32*%dY,align 4
%dZ=load i8*,i8**%g,align 8
%d0=call fastcc i8*@_SMLL6delete_302(i8*inreg%dZ,i8*inreg%dI)
store i8*%d0,i8**%c,align 8
%d1=load i8*,i8**%g,align 8
%d2=getelementptr inbounds i8,i8*%d1,i64 28
%d3=bitcast i8*%d2 to i32*
%d4=load i32,i32*%d3,align 4
store i8*null,i8**%g,align 8
%d5=getelementptr inbounds i8,i8*%d1,i64 24
%d6=bitcast i8*%d5 to i32*
%d7=load i32,i32*%d6,align 4
%d8=call i8*@sml_alloc(i32 inreg%ap)#0
%d9=or i32%ag,1342177280
%ea=getelementptr inbounds i8,i8*%d8,i64 -4
%eb=bitcast i8*%ea to i32*
store i32%d9,i32*%eb,align 4
call void@llvm.memset.p0i8.i32(i8*%d8,i8 0,i32%ap,i1 false)
%ec=icmp eq i32%d7,0
%ed=load i8*,i8**%d,align 8
%ee=getelementptr inbounds i8,i8*%d8,i64%bX
br i1%ec,label%eh,label%ef
ef:
%eg=bitcast i8*%ee to i8**
store i8*%ed,i8**%eg,align 8
br label%ei
eh:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ee,i8*%ed,i32%d4,i1 false)
br label%ei
ei:
%ej=load i8*,i8**%e,align 8
%ek=sext i32%ac to i64
%el=getelementptr inbounds i8,i8*%d8,i64%ek
%em=bitcast i8*%el to i8**
store i8*%ej,i8**%em,align 8
%en=load i8*,i8**%c,align 8
%eo=sext i32%ae to i64
%ep=getelementptr inbounds i8,i8*%d8,i64%eo
%eq=bitcast i8*%ep to i8**
store i8*%en,i8**%eq,align 8
%er=sext i32%ag to i64
%es=getelementptr inbounds i8,i8*%d8,i64%er
%et=bitcast i8*%es to i32*
store i32%ao,i32*%et,align 4
%eu=load i8*,i8**%h,align 8
%ev=tail call fastcc i8*@_SMLL2T_G_265(i8*inreg%eu,i8*inreg%d8)
ret i8*%ev
}
define internal fastcc i8*@_SMLL12intersection_304(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
r:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%c,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%p,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
%o=load i8*,i8**%i,align 8
br label%p
p:
%q=phi i8*[%o,%m],[%a,%r]
%s=phi i8*[%n,%m],[%b,%r]
%t=getelementptr inbounds i8,i8*%q,i64 44
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,3
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%B,15
%D=and i32%C,-8
%E=and i32%z,%x
%F=add i32%z,%E
%G=and i32%F,-8
%H=lshr i32%E,3
%I=getelementptr inbounds i8,i8*%q,i64 40
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=shl i32%K,%H
%M=or i32%L,1
%N=or i32%G,4
%O=add i32%G,15
%P=and i32%O,-8
%Q=lshr i32%F,3
%R=sub nsw i32%Q,%H
%S=shl i32 1,%R
%T=or i32%S,%K
%U=shl i32%T,%H
%V=or i32%U,1
%W=or i32%P,4
%X=bitcast i8*%s to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%e,align 8
%Z=icmp eq i8*%Y,null
%aa=getelementptr inbounds i8,i8*%s,i64 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
%ad=icmp eq i8*%ac,null
%ae=or i1%Z,%ad
br i1%ae,label%af,label%ag
af:
ret i8*null
ag:
store i8*%ac,i8**%c,align 8
%ah=icmp eq i32%K,0
br i1%ah,label%an,label%ai
ai:
%aj=sext i32%y to i64
%ak=getelementptr inbounds i8,i8*%ac,i64%aj
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
br label%aB
an:
%ao=call i8*@sml_alloc(i32 inreg%v)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32%v,i32*%aq,align 4
%ar=load i8*,i8**%c,align 8
%as=sext i32%y to i64
%at=getelementptr inbounds i8,i8*%ar,i64%as
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ao,i8*%at,i32%v,i1 false)
%au=load i8*,i8**%i,align 8
%av=getelementptr inbounds i8,i8*%au,i64 44
%aw=bitcast i8*%av to i32*
%ax=load i32,i32*%aw,align 4
%ay=getelementptr inbounds i8,i8*%au,i64 40
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
br label%aB
aB:
%aC=phi i32[%aA,%an],[%K,%ai]
%aD=phi i32[%ax,%an],[%v,%ai]
%aE=phi i8*[%au,%an],[%q,%ai]
%aF=phi i8*[%ar,%an],[%ac,%ai]
%aG=phi i8*[%ao,%an],[%am,%ai]
store i8*%aG,i8**%f,align 8
%aH=sext i32%B to i64
%aI=getelementptr inbounds i8,i8*%aF,i64%aH
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%g,align 8
%aL=sext i32%D to i64
%aM=getelementptr inbounds i8,i8*%aF,i64%aL
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
store i8*%aO,i8**%h,align 8
%aP=getelementptr inbounds i8,i8*%aE,i64 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%c,align 8
%aS=call i8*@sml_alloc(i32 inreg%N)#0
%aT=or i32%G,1342177280
%aU=getelementptr inbounds i8,i8*%aS,i64 -4
%aV=bitcast i8*%aU to i32*
store i32%aT,i32*%aV,align 4
call void@llvm.memset.p0i8.i32(i8*%aS,i8 0,i32%N,i1 false)
%aW=load i8*,i8**%e,align 8
%aX=bitcast i8*%aS to i8**
store i8*%aW,i8**%aX,align 8
%aY=icmp eq i32%aC,0
%aZ=load i8*,i8**%f,align 8
%a0=sext i32%E to i64
%a1=getelementptr inbounds i8,i8*%aS,i64%a0
br i1%aY,label%a4,label%a2
a2:
%a3=bitcast i8*%a1 to i8**
store i8*%aZ,i8**%a3,align 8
br label%a5
a4:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a1,i8*%aZ,i32%aD,i1 false)
br label%a5
a5:
%a6=sext i32%G to i64
%a7=getelementptr inbounds i8,i8*%aS,i64%a6
%a8=bitcast i8*%a7 to i32*
store i32%M,i32*%a8,align 4
%a9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ba=call fastcc i8*@_SMLL8split__lt_269(i8*inreg%a9,i8*inreg%aS)
store i8*%ba,i8**%c,align 8
%bb=load i8*,i8**%i,align 8
%bc=getelementptr inbounds i8,i8*%bb,i64 16
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%d,align 8
%bf=getelementptr inbounds i8,i8*%bb,i64 44
%bg=bitcast i8*%bf to i32*
%bh=load i32,i32*%bg,align 4
%bi=getelementptr inbounds i8,i8*%bb,i64 40
%bj=bitcast i8*%bi to i32*
%bk=load i32,i32*%bj,align 4
%bl=call i8*@sml_alloc(i32 inreg%N)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32%aT,i32*%bn,align 4
call void@llvm.memset.p0i8.i32(i8*%bl,i8 0,i32%N,i1 false)
%bo=load i8*,i8**%e,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=icmp eq i32%bk,0
%br=load i8*,i8**%f,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64%a0
br i1%bq,label%bv,label%bt
bt:
%bu=bitcast i8*%bs to i8**
store i8*%br,i8**%bu,align 8
br label%bw
bv:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bs,i8*%br,i32%bh,i1 false)
br label%bw
bw:
%bx=getelementptr inbounds i8,i8*%bl,i64%a6
%by=bitcast i8*%bx to i32*
store i32%M,i32*%by,align 4
%bz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bA=call fastcc i8*@_SMLL8split__gt_270(i8*inreg%bz,i8*inreg%bl)
store i8*%bA,i8**%d,align 8
%bB=load i8*,i8**%i,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 32
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%j,align 8
%bF=getelementptr inbounds i8,i8*%bB,i64 44
%bG=bitcast i8*%bF to i32*
%bH=load i32,i32*%bG,align 4
%bI=getelementptr inbounds i8,i8*%bB,i64 40
%bJ=bitcast i8*%bI to i32*
%bK=load i32,i32*%bJ,align 4
%bL=call i8*@sml_alloc(i32 inreg%N)#0
%bM=getelementptr inbounds i8,i8*%bL,i64 -4
%bN=bitcast i8*%bM to i32*
store i32%aT,i32*%bN,align 4
call void@llvm.memset.p0i8.i32(i8*%bL,i8 0,i32%N,i1 false)
%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=icmp eq i32%bK,0
%bR=load i8*,i8**%f,align 8
%bS=getelementptr inbounds i8,i8*%bL,i64%a0
br i1%bQ,label%bV,label%bT
bT:
%bU=bitcast i8*%bS to i8**
store i8*%bR,i8**%bU,align 8
br label%bW
bV:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bS,i8*%bR,i32%bH,i1 false)
br label%bW
bW:
%bX=getelementptr inbounds i8,i8*%bL,i64%a6
%bY=bitcast i8*%bX to i32*
store i32%M,i32*%bY,align 4
%bZ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%b0=call fastcc i32@_SMLL6member_289(i8*inreg%bZ,i8*inreg%bL)
%b1=icmp eq i32%b0,0
br i1%b1,label%cW,label%b2
b2:
%b3=bitcast i8**%i to i8***
%b4=load i8**,i8***%b3,align 8
%b5=load i8*,i8**%b4,align 8
store i8*%b5,i8**%e,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
%b9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ca=bitcast i8*%b6 to i8**
store i8*%b9,i8**%ca,align 8
%cb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cc=getelementptr inbounds i8,i8*%b6,i64 8
%cd=bitcast i8*%cc to i8**
store i8*%cb,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b6,i64 16
%cf=bitcast i8*%ce to i32*
store i32 3,i32*%cf,align 4
%cg=load i8*,i8**%i,align 8
%ch=call fastcc i8*@_SMLL12intersection_304(i8*inreg%cg,i8*inreg%b6)
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
%cl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cm=bitcast i8*%ci to i8**
store i8*%cl,i8**%cm,align 8
%cn=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%co=getelementptr inbounds i8,i8*%ci,i64 8
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%ci,i64 16
%cr=bitcast i8*%cq to i32*
store i32 3,i32*%cr,align 4
%cs=load i8*,i8**%i,align 8
%ct=call fastcc i8*@_SMLL12intersection_304(i8*inreg%cs,i8*inreg%ci)
store i8*%ct,i8**%d,align 8
%cu=load i8*,i8**%i,align 8
%cv=getelementptr inbounds i8,i8*%cu,i64 44
%cw=bitcast i8*%cv to i32*
%cx=load i32,i32*%cw,align 4
store i8*null,i8**%i,align 8
%cy=getelementptr inbounds i8,i8*%cu,i64 40
%cz=bitcast i8*%cy to i32*
%cA=load i32,i32*%cz,align 4
%cB=call i8*@sml_alloc(i32 inreg%W)#0
%cC=or i32%P,1342177280
%cD=getelementptr inbounds i8,i8*%cB,i64 -4
%cE=bitcast i8*%cD to i32*
store i32%cC,i32*%cE,align 4
call void@llvm.memset.p0i8.i32(i8*%cB,i8 0,i32%W,i1 false)
%cF=load i8*,i8**%c,align 8
%cG=bitcast i8*%cB to i8**
store i8*%cF,i8**%cG,align 8
%cH=icmp eq i32%cA,0
%cI=load i8*,i8**%f,align 8
%cJ=getelementptr inbounds i8,i8*%cB,i64%a0
br i1%cH,label%cM,label%cK
cK:
%cL=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cL,align 8
br label%cN
cM:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cJ,i8*%cI,i32%cx,i1 false)
br label%cN
cN:
%cO=load i8*,i8**%d,align 8
%cP=getelementptr inbounds i8,i8*%cB,i64%a6
%cQ=bitcast i8*%cP to i8**
store i8*%cO,i8**%cQ,align 8
%cR=sext i32%P to i64
%cS=getelementptr inbounds i8,i8*%cB,i64%cR
%cT=bitcast i8*%cS to i32*
store i32%V,i32*%cT,align 4
%cU=load i8*,i8**%e,align 8
%cV=tail call fastcc i8*@_SMLL7concat3_268(i8*inreg%cU,i8*inreg%cB)
ret i8*%cV
cW:
store i8*null,i8**%f,align 8
%cX=load i8*,i8**%i,align 8
%cY=getelementptr inbounds i8,i8*%cX,i64 24
%cZ=bitcast i8*%cY to i8**
%c0=load i8*,i8**%cZ,align 8
store i8*%c0,i8**%e,align 8
%c1=call i8*@sml_alloc(i32 inreg 20)#0
%c2=getelementptr inbounds i8,i8*%c1,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32 1342177296,i32*%c3,align 4
%c4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c5=bitcast i8*%c1 to i8**
store i8*%c4,i8**%c5,align 8
%c6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c7=getelementptr inbounds i8,i8*%c1,i64 8
%c8=bitcast i8*%c7 to i8**
store i8*%c6,i8**%c8,align 8
%c9=getelementptr inbounds i8,i8*%c1,i64 16
%da=bitcast i8*%c9 to i32*
store i32 3,i32*%da,align 4
%db=load i8*,i8**%i,align 8
%dc=call fastcc i8*@_SMLL12intersection_304(i8*inreg%db,i8*inreg%c1)
store i8*%dc,i8**%c,align 8
%dd=call i8*@sml_alloc(i32 inreg 20)#0
%de=getelementptr inbounds i8,i8*%dd,i64 -4
%df=bitcast i8*%de to i32*
store i32 1342177296,i32*%df,align 4
%dg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dh=bitcast i8*%dd to i8**
store i8*%dg,i8**%dh,align 8
%di=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dj=getelementptr inbounds i8,i8*%dd,i64 8
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dd,i64 16
%dm=bitcast i8*%dl to i32*
store i32 3,i32*%dm,align 4
%dn=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%do=call fastcc i8*@_SMLL12intersection_304(i8*inreg%dn,i8*inreg%dd)
store i8*%do,i8**%d,align 8
%dp=call i8*@sml_alloc(i32 inreg 20)#0
%dq=getelementptr inbounds i8,i8*%dp,i64 -4
%dr=bitcast i8*%dq to i32*
store i32 1342177296,i32*%dr,align 4
%ds=load i8*,i8**%c,align 8
%dt=bitcast i8*%dp to i8**
store i8*%ds,i8**%dt,align 8
%du=load i8*,i8**%d,align 8
%dv=getelementptr inbounds i8,i8*%dp,i64 8
%dw=bitcast i8*%dv to i8**
store i8*%du,i8**%dw,align 8
%dx=getelementptr inbounds i8,i8*%dp,i64 16
%dy=bitcast i8*%dx to i32*
store i32 3,i32*%dy,align 4
%dz=load i8*,i8**%e,align 8
%dA=tail call fastcc i8*@_SMLL6concat_276(i8*inreg%dz,i8*inreg%dp)
ret i8*%dA
}
define internal fastcc i8*@_SMLL10difference_305(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%o,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
%n=load i8*,i8**%h,align 8
br label%o
o:
%p=phi i8*[%n,%l],[%a,%q]
%r=phi i8*[%m,%l],[%b,%q]
%s=bitcast i8*%p to i8**
%t=getelementptr inbounds i8,i8*%p,i64 28
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,3
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%B,15
%D=and i32%C,-8
%E=and i32%z,%x
%F=add i32%z,%E
%G=and i32%F,-8
%H=lshr i32%E,3
%I=getelementptr inbounds i8,i8*%p,i64 24
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=shl i32%K,%H
%M=or i32%L,1
%N=or i32%G,4
%O=bitcast i8*%r to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%d,align 8
%Q=icmp eq i8*%P,null
%R=getelementptr inbounds i8,i8*%r,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=icmp eq i8*%T,null
%V=or i1%Q,%U
br i1%V,label%W,label%X
W:
ret i8*%P
X:
store i8*%T,i8**%c,align 8
%Y=icmp eq i32%K,0
br i1%Y,label%ae,label%Z
Z:
%aa=sext i32%y to i64
%ab=getelementptr inbounds i8,i8*%T,i64%aa
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
br label%ao
ae:
%af=call i8*@sml_alloc(i32 inreg%v)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32%v,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=sext i32%y to i64
%ak=getelementptr inbounds i8,i8*%ai,i64%aj
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%af,i8*%ak,i32%v,i1 false)
%al=bitcast i8**%h to i8***
%am=load i8**,i8***%al,align 8
%an=bitcast i8**%am to i8*
br label%ao
ao:
%ap=phi i8*[%an,%ae],[%p,%Z]
%aq=phi i8**[%am,%ae],[%s,%Z]
%ar=phi i8*[%ai,%ae],[%T,%Z]
%as=phi i8*[%af,%ae],[%ad,%Z]
store i8*%as,i8**%e,align 8
%at=sext i32%B to i64
%au=getelementptr inbounds i8,i8*%ar,i64%at
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%f,align 8
%ax=sext i32%D to i64
%ay=getelementptr inbounds i8,i8*%ar,i64%ax
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%g,align 8
%aB=load i8*,i8**%aq,align 8
store i8*%aB,i8**%c,align 8
%aC=getelementptr inbounds i8,i8*%ap,i64 28
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
%aF=getelementptr inbounds i8*,i8**%aq,i64 3
%aG=bitcast i8**%aF to i32*
%aH=load i32,i32*%aG,align 4
%aI=call i8*@sml_alloc(i32 inreg%N)#0
%aJ=or i32%G,1342177280
%aK=getelementptr inbounds i8,i8*%aI,i64 -4
%aL=bitcast i8*%aK to i32*
store i32%aJ,i32*%aL,align 4
call void@llvm.memset.p0i8.i32(i8*%aI,i8 0,i32%N,i1 false)
%aM=load i8*,i8**%d,align 8
%aN=bitcast i8*%aI to i8**
store i8*%aM,i8**%aN,align 8
%aO=icmp eq i32%aH,0
%aP=load i8*,i8**%e,align 8
%aQ=sext i32%E to i64
%aR=getelementptr inbounds i8,i8*%aI,i64%aQ
br i1%aO,label%aU,label%aS
aS:
%aT=bitcast i8*%aR to i8**
store i8*%aP,i8**%aT,align 8
br label%aV
aU:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aR,i8*%aP,i32%aE,i1 false)
br label%aV
aV:
%aW=sext i32%G to i64
%aX=getelementptr inbounds i8,i8*%aI,i64%aW
%aY=bitcast i8*%aX to i32*
store i32%M,i32*%aY,align 4
%aZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a0=call fastcc i8*@_SMLL8split__lt_269(i8*inreg%aZ,i8*inreg%aI)
store i8*%a0,i8**%c,align 8
%a1=load i8*,i8**%h,align 8
%a2=getelementptr inbounds i8,i8*%a1,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%i,align 8
%a5=getelementptr inbounds i8,i8*%a1,i64 28
%a6=bitcast i8*%a5 to i32*
%a7=load i32,i32*%a6,align 4
%a8=getelementptr inbounds i8,i8*%a1,i64 24
%a9=bitcast i8*%a8 to i32*
%ba=load i32,i32*%a9,align 4
%bb=call i8*@sml_alloc(i32 inreg%N)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32%aJ,i32*%bd,align 4
call void@llvm.memset.p0i8.i32(i8*%bb,i8 0,i32%N,i1 false)
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=bitcast i8*%bb to i8**
store i8*%be,i8**%bf,align 8
%bg=icmp eq i32%ba,0
%bh=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bi=getelementptr inbounds i8,i8*%bb,i64%aQ
br i1%bg,label%bl,label%bj
bj:
%bk=bitcast i8*%bi to i8**
store i8*%bh,i8**%bk,align 8
br label%bm
bl:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bi,i8*%bh,i32%a7,i1 false)
br label%bm
bm:
%bn=getelementptr inbounds i8,i8*%bb,i64%aW
%bo=bitcast i8*%bn to i32*
store i32%M,i32*%bo,align 4
%bp=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bq=call fastcc i8*@_SMLL8split__gt_270(i8*inreg%bp,i8*inreg%bb)
store i8*%bq,i8**%d,align 8
%br=load i8*,i8**%h,align 8
%bs=getelementptr inbounds i8,i8*%br,i64 16
%bt=bitcast i8*%bs to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%e,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
%by=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bB=getelementptr inbounds i8,i8*%bv,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bv,i64 16
%bE=bitcast i8*%bD to i32*
store i32 3,i32*%bE,align 4
%bF=load i8*,i8**%h,align 8
%bG=call fastcc i8*@_SMLL10difference_305(i8*inreg%bF,i8*inreg%bv)
store i8*%bG,i8**%c,align 8
%bH=call i8*@sml_alloc(i32 inreg 20)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177296,i32*%bJ,align 4
%bK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bN=getelementptr inbounds i8,i8*%bH,i64 8
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
%bR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bS=call fastcc i8*@_SMLL10difference_305(i8*inreg%bR,i8*inreg%bH)
store i8*%bS,i8**%d,align 8
%bT=call i8*@sml_alloc(i32 inreg 20)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177296,i32*%bV,align 4
%bW=load i8*,i8**%c,align 8
%bX=bitcast i8*%bT to i8**
store i8*%bW,i8**%bX,align 8
%bY=load i8*,i8**%d,align 8
%bZ=getelementptr inbounds i8,i8*%bT,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bT,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 3,i32*%b2,align 4
%b3=load i8*,i8**%e,align 8
%b4=tail call fastcc i8*@_SMLL6concat_276(i8*inreg%b3,i8*inreg%bT)
ret i8*%b4
}
define internal fastcc i8*@_SMLL8subtract_306(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%b to i8**
br label%p
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
%n=load i8*,i8**%e,align 8
%o=bitcast i8**%m to i8*
br label%p
p:
%q=phi i8*[%o,%k],[%b,%i]
%r=phi i8*[%n,%k],[%a,%i]
%s=phi i8**[%m,%k],[%j,%i]
%t=bitcast i8*%r to i8**
%u=getelementptr inbounds i8,i8*%r,i64 12
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=add i32%w,7
%y=sub i32 0,%w
%z=and i32%x,%y
%A=add i32%w,3
%B=and i32%A,%y
%C=add i32%x,%B
%D=and i32%C,-8
%E=add i32%D,15
%F=and i32%E,-8
%G=add i32%F,15
%H=and i32%G,-8
%I=lshr i32%E,3
%J=lshr i32%C,3
%K=sub nsw i32%I,%J
%L=lshr i32%B,3
%M=sub nsw i32%J,%L
%N=shl i32 1,%K
%O=or i32%N,1
%P=shl i32%O,%M
%Q=getelementptr inbounds i8,i8*%r,i64 8
%R=bitcast i8*%Q to i32*
%S=load i32,i32*%R,align 4
%T=or i32%P,%S
%U=shl i32%T,%L
%V=or i32%H,4
%W=load i8*,i8**%s,align 8
store i8*%W,i8**%d,align 8
%X=load i8*,i8**%t,align 8
store i8*%X,i8**%f,align 8
%Y=getelementptr inbounds i8,i8*%r,i64 8
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=icmp eq i32%aa,0
br i1%ab,label%ah,label%ac
ac:
store i8*null,i8**%c,align 8
%ad=sext i32%z to i64
%ae=getelementptr inbounds i8,i8*%q,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
br label%ay
ah:
%ai=getelementptr inbounds i8,i8*%r,i64 12
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=call i8*@sml_alloc(i32 inreg%ak)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32%ak,i32*%an,align 4
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ap=sext i32%z to i64
%aq=getelementptr inbounds i8,i8*%ao,i64%ap
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%al,i8*%aq,i32%ak,i1 false)
%ar=load i8*,i8**%e,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 12
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=getelementptr inbounds i8,i8*%ar,i64 8
%aw=bitcast i8*%av to i32*
%ax=load i32,i32*%aw,align 4
br label%ay
ay:
%az=phi i32[%ax,%ah],[%S,%ac]
%aA=phi i32[%au,%ah],[%w,%ac]
%aB=phi i8*[%al,%ah],[%ag,%ac]
store i8*%aB,i8**%c,align 8
store i8*null,i8**%e,align 8
%aC=call i8*@sml_alloc(i32 inreg%V)#0
%aD=or i32%H,1342177280
%aE=getelementptr inbounds i8,i8*%aC,i64 -4
%aF=bitcast i8*%aE to i32*
store i32%aD,i32*%aF,align 4
store i8*%aC,i8**%e,align 8
call void@llvm.memset.p0i8.i32(i8*%aC,i8 0,i32%V,i1 false)
%aG=bitcast i8*%aC to i32*
store i32 1,i32*%aG,align 4
%aH=icmp eq i32%az,0
%aI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aJ=sext i32%B to i64
%aK=getelementptr inbounds i8,i8*%aC,i64%aJ
br i1%aH,label%aN,label%aL
aL:
%aM=bitcast i8*%aK to i8**
store i8*%aI,i8**%aM,align 8
br label%aO
aN:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aK,i8*%aI,i32%aA,i1 false)
br label%aO
aO:
%aP=sext i32%D to i64
%aQ=getelementptr inbounds i8,i8*%aC,i64%aP
%aR=bitcast i8*%aQ to i8**
store i8*null,i8**%aR,align 8
%aS=sext i32%F to i64
%aT=getelementptr inbounds i8,i8*%aC,i64%aS
%aU=bitcast i8*%aT to i8**
store i8*null,i8**%aU,align 8
%aV=sext i32%H to i64
%aW=getelementptr inbounds i8,i8*%aC,i64%aV
%aX=bitcast i8*%aW to i32*
store i32%U,i32*%aX,align 4
%aY=call i8*@sml_alloc(i32 inreg 20)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177296,i32*%a0,align 4
%a1=load i8*,i8**%d,align 8
%a2=bitcast i8*%aY to i8**
store i8*%a1,i8**%a2,align 8
%a3=load i8*,i8**%e,align 8
%a4=getelementptr inbounds i8,i8*%aY,i64 8
%a5=bitcast i8*%a4 to i8**
store i8*%a3,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aY,i64 16
%a7=bitcast i8*%a6 to i32*
store i32 3,i32*%a7,align 4
%a8=load i8*,i8**%f,align 8
%a9=tail call fastcc i8*@_SMLL10difference_305(i8*inreg%a8,i8*inreg%aY)
ret i8*%a9
}
define internal fastcc i8*@_SMLL6items_G_307(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 12
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=add i32%p,-1
%r=sub i32 0,%p
%s=and i32%q,%r
%t=add i32%p,7
%u=add i32%t,%s
%v=and i32%u,-8
%w=and i32%t,%r
%x=add i32%t,%w
%y=and i32%x,-8
%z=lshr i32%w,3
%A=getelementptr inbounds i8,i8*%l,i64 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=shl i32%C,%z
%E=or i32%D,1
%F=or i32%y,4
%G=icmp eq i32%C,0
br i1%G,label%O,label%H
H:
%I=bitcast i8*%l to i8**
%J=load i8*,i8**%c,align 8
%K=sext i32%s to i64
%L=getelementptr inbounds i8,i8*%J,i64%K
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
br label%Y
O:
%P=call i8*@sml_alloc(i32 inreg%p)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32%p,i32*%R,align 4
%S=load i8*,i8**%c,align 8
%T=sext i32%s to i64
%U=getelementptr inbounds i8,i8*%S,i64%T
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%P,i8*%U,i32%p,i1 false)
%V=bitcast i8**%e to i8***
%W=load i8**,i8***%V,align 8
%X=bitcast i8**%W to i8*
br label%Y
Y:
%Z=phi i8*[%X,%O],[%l,%H]
%aa=phi i8**[%W,%O],[%I,%H]
%ab=phi i8*[%S,%O],[%J,%H]
%ac=phi i8*[%P,%O],[%N,%H]
store i8*%ac,i8**%d,align 8
%ad=sext i32%v to i64
%ae=getelementptr inbounds i8,i8*%ab,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=load i8*,i8**%aa,align 8
store i8*%ah,i8**%f,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 12
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
store i8*null,i8**%e,align 8
%al=getelementptr inbounds i8*,i8**%aa,i64 1
%am=bitcast i8**%al to i32*
%an=load i32,i32*%am,align 4
%ao=call i8*@sml_alloc(i32 inreg%F)#0
%ap=or i32%y,1342177280
%aq=getelementptr inbounds i8,i8*%ao,i64 -4
%ar=bitcast i8*%aq to i32*
store i32%ap,i32*%ar,align 4
call void@llvm.memset.p0i8.i32(i8*%ao,i8 0,i32%F,i1 false)
%as=load i8*,i8**%c,align 8
%at=bitcast i8*%ao to i8**
store i8*%as,i8**%at,align 8
%au=icmp eq i32%an,0
%av=load i8*,i8**%d,align 8
%aw=sext i32%w to i64
%ax=getelementptr inbounds i8,i8*%ao,i64%aw
br i1%au,label%aA,label%ay
ay:
%az=bitcast i8*%ax to i8**
store i8*%av,i8**%az,align 8
br label%aB
aA:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ax,i8*%av,i32%ak,i1 false)
br label%aB
aB:
%aC=sext i32%y to i64
%aD=getelementptr inbounds i8,i8*%ao,i64%aC
%aE=bitcast i8*%aD to i32*
store i32%E,i32*%aE,align 4
%aF=load i8*,i8**%f,align 8
%aG=tail call fastcc i8*@_SMLL3add_266(i8*inreg%aF,i8*inreg%ao)
ret i8*%aG
}
define internal fastcc i8*@_SMLL12subtractList_308(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%b to i8**
br label%q
m:
call void@sml_check(i32 inreg%i)
%n=bitcast i8**%c to i8***
%o=load i8**,i8***%n,align 8
%p=load i8*,i8**%e,align 8
br label%q
q:
%r=phi i8*[%p,%m],[%a,%k]
%s=phi i8**[%o,%m],[%l,%k]
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%r,i64 16
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=getelementptr inbounds i8,i8*%r,i64 20
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg%w,i32 inreg%z,i32 inreg 1,i32 inreg 8)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%g,align 8
%G=bitcast i8**%e to i8***
%H=load i8**,i8***%G,align 8
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%f,align 8
%J=bitcast i8**%H to i8*
%K=getelementptr inbounds i8*,i8**%H,i64 2
%L=bitcast i8**%K to i32*
%M=load i32,i32*%L,align 4
%N=getelementptr inbounds i8,i8*%J,i64 20
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
store i8*%Q,i8**%h,align 8
%T=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i32*
store i32%M,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%Q,i64 12
%Y=bitcast i8*%X to i32*
store i32%P,i32*%Y,align 4
%Z=getelementptr inbounds i8,i8*%Q,i64 16
%aa=bitcast i8*%Z to i32*
store i32 1,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
%ae=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6items_G_307 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6items_G_307 to void(...)*),void(...)**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ab,i64 24
%al=bitcast i8*%ak to i32*
store i32 -2147483647,i32*%al,align 4
%am=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%an=call fastcc i8*%D(i8*inreg%am,i8*inreg%ab)
%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=call fastcc i8*%aq(i8*inreg%as,i8*inreg null)
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%at to i8**
%ay=load i8*,i8**%ax,align 8
%az=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%az,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=call fastcc i8*%aw(i8*inreg%ay,i8*inreg%aC)
store i8*%aD,i8**%c,align 8
%aE=load i8*,i8**%e,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%e,align 8
%aI=call i8*@sml_alloc(i32 inreg 20)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177296,i32*%aK,align 4
%aL=load i8*,i8**%d,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%c,align 8
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aI,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 3,i32*%aR,align 4
%aS=load i8*,i8**%e,align 8
%aT=tail call fastcc i8*@_SMLL10difference_305(i8*inreg%aS,i8*inreg%aI)
ret i8*%aT
}
define internal fastcc i8*@_SMLL4map_G_309(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%f,align 8
%i=bitcast i8**%f to i8***
br label%j
j:
%k=phi i8*[%bq,%bk],[%b,%l]
store i8*%k,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%c,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%k,%j]
%s=load i8*,i8**%f,align 8
%t=getelementptr inbounds i8,i8*%s,i64 20
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,3
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=and i32%z,%x
%D=add i32%z,%C
%E=and i32%D,-8
%F=lshr i32%C,3
%G=getelementptr inbounds i8,i8*%s,i64 16
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=shl i32%I,%F
%K=or i32%J,1
%L=or i32%E,4
%M=bitcast i8*%r to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%c,align 8
%O=getelementptr inbounds i8,i8*%r,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=icmp eq i8*%Q,null
br i1%R,label%S,label%T
S:
ret i8*%N
T:
%U=add i32%B,15
%V=and i32%U,-8
store i8*%Q,i8**%g,align 8
%W=sext i32%B to i64
%X=getelementptr inbounds i8,i8*%Q,i64%W
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%d,align 8
%aa=sext i32%V to i64
%ab=getelementptr inbounds i8,i8*%Q,i64%aa
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%e,align 8
%ae=getelementptr inbounds i8,i8*%s,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%h,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
%ak=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ah,i64 16
%aq=bitcast i8*%ap to i32*
store i32 3,i32*%aq,align 4
%ar=load i8*,i8**%f,align 8
%as=call fastcc i8*@_SMLL4map_G_309(i8*inreg%ar,i8*inreg%ah)
store i8*%as,i8**%c,align 8
%at=load i8**,i8***%i,align 8
%au=load i8*,i8**%at,align 8
%av=getelementptr inbounds i8,i8*%au,i64 16
%aw=bitcast i8*%av to i8*(i8*,i8*)**
%ax=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aw,align 8
%ay=bitcast i8*%au to i8**
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%d,align 8
%aA=getelementptr inbounds i8*,i8**%at,i64 2
%aB=bitcast i8**%aA to i32*
%aC=load i32,i32*%aB,align 4
%aD=icmp eq i32%aC,0
br i1%aD,label%aK,label%aE
aE:
%aF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aG=sext i32%y to i64
%aH=getelementptr inbounds i8,i8*%aF,i64%aG
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
br label%aW
aK:
%aL=bitcast i8**%at to i8*
%aM=getelementptr inbounds i8,i8*%aL,i64 20
%aN=bitcast i8*%aM to i32*
%aO=load i32,i32*%aN,align 4
%aP=call i8*@sml_alloc(i32 inreg%aO)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32%aO,i32*%aR,align 4
%aS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aT=sext i32%y to i64
%aU=getelementptr inbounds i8,i8*%aS,i64%aT
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aP,i8*%aU,i32%aO,i1 false)
%aV=load i8*,i8**%d,align 8
br label%aW
aW:
%aX=phi i8*[%az,%aE],[%aV,%aK]
%aY=phi i8*[%aJ,%aE],[%aP,%aK]
store i8*null,i8**%d,align 8
%aZ=call fastcc i8*%ax(i8*inreg%aX,i8*inreg%aY)
store i8*%aZ,i8**%d,align 8
%a0=load i8*,i8**%f,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 20
%a2=bitcast i8*%a1 to i32*
%a3=load i32,i32*%a2,align 4
%a4=getelementptr inbounds i8,i8*%a0,i64 16
%a5=bitcast i8*%a4 to i32*
%a6=load i32,i32*%a5,align 4
%a7=call i8*@sml_alloc(i32 inreg%L)#0
%a8=or i32%E,1342177280
%a9=getelementptr inbounds i8,i8*%a7,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32%a8,i32*%ba,align 4
call void@llvm.memset.p0i8.i32(i8*%a7,i8 0,i32%L,i1 false)
%bb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bc=bitcast i8*%a7 to i8**
store i8*%bb,i8**%bc,align 8
%bd=icmp eq i32%a6,0
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=sext i32%C to i64
%bg=getelementptr inbounds i8,i8*%a7,i64%bf
br i1%bd,label%bj,label%bh
bh:
%bi=bitcast i8*%bg to i8**
store i8*%be,i8**%bi,align 8
br label%bk
bj:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bg,i8*%be,i32%a3,i1 false)
br label%bk
bk:
%bl=sext i32%E to i64
%bm=getelementptr inbounds i8,i8*%a7,i64%bl
%bn=bitcast i8*%bm to i32*
store i32%K,i32*%bn,align 4
%bo=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bp=call fastcc i8*@_SMLL3add_266(i8*inreg%bo,i8*inreg%a7)
store i8*%bp,i8**%c,align 8
%bq=call i8*@sml_alloc(i32 inreg 20)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177296,i32*%bs,align 4
%bt=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bq,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
br label%j
}
define internal fastcc i8*@_SMLL3map_310(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%o
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
%n=bitcast i8**%m to i8*
br label%o
o:
%p=phi i8*[%n,%k],[%a,%i]
%q=phi i8**[%m,%k],[%j,%i]
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%e,align 8
%s=getelementptr inbounds i8*,i8**%q,i64 1
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%f,align 8
%u=getelementptr inbounds i8*,i8**%q,i64 2
%v=bitcast i8**%u to i32*
%w=load i32,i32*%v,align 4
store i8*null,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%p,i64 20
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%G=getelementptr inbounds i8,i8*%A,i64 8
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%A,i64 16
%J=bitcast i8*%I to i32*
store i32%w,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%A,i64 20
%L=bitcast i8*%K to i32*
store i32%z,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%A,i64 24
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 28)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177304,i32*%Q,align 4
%R=load i8*,i8**%d,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4map_G_309 to void(...)*),void(...)**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 16
%W=bitcast i8*%V to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4map_G_309 to void(...)*),void(...)**%W,align 8
%X=getelementptr inbounds i8,i8*%O,i64 24
%Y=bitcast i8*%X to i32*
store i32 -2147483647,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
%ac=bitcast i8*%Z to i8**
store i8*null,i8**%ac,align 8
%ad=load i8*,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to i32*
store i32 3,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
%aj=tail call fastcc i8*@_SMLL4map_G_309(i8*inreg%ai,i8*inreg%Z)
ret i8*%aj
}
define internal fastcc i8*@_SMLL3map_311(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=getelementptr inbounds i8,i8*%a,i64 12
%l=bitcast i8*%k to i32*
%m=load i32,i32*%l,align 4
%n=call i8*@sml_alloc(i32 inreg 28)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177304,i32*%p,align 4
store i8*%n,i8**%e,align 8
%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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%n,i64 16
%w=bitcast i8*%v to i32*
store i32%j,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%n,i64 20
%y=bitcast i8*%x to i32*
store i32%m,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%n,i64 24
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 28)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177304,i32*%D,align 4
%E=load i8*,i8**%e,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3map_310 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3map_310 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%B,i64 24
%L=bitcast i8*%K to i32*
store i32 -2147483647,i32*%L,align 4
ret i8*%B
}
define internal fastcc i8*@_SMLL4map_G_312(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
%h=bitcast i8**%f to i8***
br label%i
i:
%j=phi i8*[%a6,%a5],[%b,%k]
store i8*%j,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%j,%i]
%r=load i8*,i8**%f,align 8
%s=getelementptr inbounds i8,i8*%r,i64 20
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=add i32%u,3
%w=sub i32 0,%u
%x=and i32%v,%w
%y=add i32%u,7
%z=add i32%y,%x
%A=and i32%z,-8
%B=add i32%u,-1
%C=and i32%B,%w
%D=and i32%y,%w
%E=add i32%y,%D
%F=and i32%E,-8
%G=lshr i32%D,3
%H=getelementptr inbounds i8,i8*%r,i64 16
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
%K=shl i32%J,%G
%L=or i32%K,1
%M=or i32%F,4
%N=bitcast i8*%q to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%q,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=icmp eq i8*%R,null
br i1%S,label%T,label%U
T:
ret i8*%O
U:
%V=add i32%A,15
%W=and i32%V,-8
store i8*%R,i8**%g,align 8
%X=sext i32%A to i64
%Y=getelementptr inbounds i8,i8*%R,i64%X
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%d,align 8
%ab=sext i32%W to i64
%ac=getelementptr inbounds i8,i8*%R,i64%ab
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%e,align 8
%af=call i8*@sml_alloc(i32 inreg 20)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=load i8*,i8**%f,align 8
%aq=call fastcc i8*@_SMLL4map_G_312(i8*inreg%ap,i8*inreg%af)
store i8*%aq,i8**%c,align 8
%ar=load i8**,i8***%h,align 8
%as=load i8*,i8**%ar,align 8
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%d,align 8
%ay=getelementptr inbounds i8*,i8**%ar,i64 2
%az=bitcast i8**%ay to i32*
%aA=load i32,i32*%az,align 4
%aB=icmp eq i32%aA,0
br i1%aB,label%aI,label%aC
aC:
%aD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aE=sext i32%x to i64
%aF=getelementptr inbounds i8,i8*%aD,i64%aE
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
br label%aU
aI:
%aJ=bitcast i8**%ar to i8*
%aK=getelementptr inbounds i8,i8*%aJ,i64 20
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
%aN=call i8*@sml_alloc(i32 inreg%aM)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32%aM,i32*%aP,align 4
%aQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aR=sext i32%x to i64
%aS=getelementptr inbounds i8,i8*%aQ,i64%aR
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aN,i8*%aS,i32%aM,i1 false)
%aT=load i8*,i8**%d,align 8
br label%aU
aU:
%aV=phi i8*[%ax,%aC],[%aT,%aI]
%aW=phi i8*[%aH,%aC],[%aN,%aI]
store i8*null,i8**%d,align 8
%aX=call fastcc i8*%av(i8*inreg%aV,i8*inreg%aW)
store i8*%aX,i8**%d,align 8
%aY=icmp eq i8*%aX,null
br i1%aY,label%aZ,label%bc
aZ:
store i8*null,i8**%d,align 8
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
br label%a5
a5:
%a6=phi i8*[%a0,%aZ],[%b4,%bY]
%a7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a8=getelementptr inbounds i8,i8*%a6,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a6,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
br label%i
bc:
%bd=load i8*,i8**%f,align 8
%be=getelementptr inbounds i8,i8*%bd,i64 16
%bf=bitcast i8*%be to i32*
%bg=load i32,i32*%bf,align 4
%bh=icmp eq i32%bg,0
br i1%bh,label%bn,label%bi
bi:
store i8*null,i8**%d,align 8
%bj=sext i32%C to i64
%bk=getelementptr inbounds i8,i8*%aX,i64%bj
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
br label%bB
bn:
%bo=getelementptr inbounds i8,i8*%bd,i64 20
%bp=bitcast i8*%bo to i32*
%bq=load i32,i32*%bp,align 4
%br=call i8*@sml_alloc(i32 inreg%bq)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32%bq,i32*%bt,align 4
%bu=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bv=sext i32%C to i64
%bw=getelementptr inbounds i8,i8*%bu,i64%bv
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%br,i8*%bw,i32%bq,i1 false)
%bx=load i8*,i8**%f,align 8
%by=getelementptr inbounds i8,i8*%bx,i64 16
%bz=bitcast i8*%by to i32*
%bA=load i32,i32*%bz,align 4
br label%bB
bB:
%bC=phi i32[%bA,%bn],[%bg,%bi]
%bD=phi i8*[%bx,%bn],[%bd,%bi]
%bE=phi i8*[%br,%bn],[%bm,%bi]
store i8*%bE,i8**%d,align 8
%bF=getelementptr inbounds i8,i8*%bD,i64 8
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
store i8*%bH,i8**%g,align 8
%bI=getelementptr inbounds i8,i8*%bD,i64 20
%bJ=bitcast i8*%bI to i32*
%bK=load i32,i32*%bJ,align 4
%bL=call i8*@sml_alloc(i32 inreg%M)#0
%bM=or i32%F,1342177280
%bN=getelementptr inbounds i8,i8*%bL,i64 -4
%bO=bitcast i8*%bN to i32*
store i32%bM,i32*%bO,align 4
call void@llvm.memset.p0i8.i32(i8*%bL,i8 0,i32%M,i1 false)
%bP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bQ=bitcast i8*%bL to i8**
store i8*%bP,i8**%bQ,align 8
%bR=icmp eq i32%bC,0
%bS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bT=sext i32%D to i64
%bU=getelementptr inbounds i8,i8*%bL,i64%bT
br i1%bR,label%bX,label%bV
bV:
%bW=bitcast i8*%bU to i8**
store i8*%bS,i8**%bW,align 8
br label%bY
bX:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bU,i8*%bS,i32%bK,i1 false)
br label%bY
bY:
%bZ=sext i32%F to i64
%b0=getelementptr inbounds i8,i8*%bL,i64%bZ
%b1=bitcast i8*%b0 to i32*
store i32%L,i32*%b1,align 4
%b2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b3=call fastcc i8*@_SMLL3add_266(i8*inreg%b2,i8*inreg%bL)
store i8*%b3,i8**%c,align 8
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
br label%a5
}
define internal fastcc i8*@_SMLL10mapPartial_313(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%o
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
%n=bitcast i8**%m to i8*
br label%o
o:
%p=phi i8*[%n,%k],[%a,%i]
%q=phi i8**[%m,%k],[%j,%i]
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%e,align 8
%s=getelementptr inbounds i8*,i8**%q,i64 1
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%f,align 8
%u=getelementptr inbounds i8*,i8**%q,i64 2
%v=bitcast i8**%u to i32*
%w=load i32,i32*%v,align 4
store i8*null,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%p,i64 20
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%G=getelementptr inbounds i8,i8*%A,i64 8
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%A,i64 16
%J=bitcast i8*%I to i32*
store i32%w,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%A,i64 20
%L=bitcast i8*%K to i32*
store i32%z,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%A,i64 24
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 28)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177304,i32*%Q,align 4
%R=load i8*,i8**%d,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4map_G_312 to void(...)*),void(...)**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 16
%W=bitcast i8*%V to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4map_G_312 to void(...)*),void(...)**%W,align 8
%X=getelementptr inbounds i8,i8*%O,i64 24
%Y=bitcast i8*%X to i32*
store i32 -2147483647,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
%ac=bitcast i8*%Z to i8**
store i8*null,i8**%ac,align 8
%ad=load i8*,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to i32*
store i32 3,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
%aj=tail call fastcc i8*@_SMLL4map_G_312(i8*inreg%ai,i8*inreg%Z)
ret i8*%aj
}
define internal fastcc i8*@_SMLL10mapPartial_314(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=getelementptr inbounds i8,i8*%a,i64 12
%l=bitcast i8*%k to i32*
%m=load i32,i32*%l,align 4
%n=call i8*@sml_alloc(i32 inreg 28)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177304,i32*%p,align 4
store i8*%n,i8**%e,align 8
%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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%n,i64 16
%w=bitcast i8*%v to i32*
store i32%j,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%n,i64 20
%y=bitcast i8*%x to i32*
store i32%m,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%n,i64 24
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 28)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177304,i32*%D,align 4
%E=load i8*,i8**%e,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10mapPartial_313 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10mapPartial_313 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%B,i64 24
%L=bitcast i8*%K to i32*
store i32 -2147483647,i32*%L,align 4
ret i8*%B
}
define internal fastcc void@_SMLL5apply_315(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
i:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
%f=bitcast i8**%d to i8***
br label%g
g:
%h=phi i8*[%at,%al],[%b,%i]
store i8*%h,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%p=load i8*,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%p,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=add i32%s,3
%u=sub i32 0,%s
%v=and i32%t,%u
%w=add i32%s,7
%x=add i32%w,%v
%y=and i32%x,-8
%z=add i32%y,15
%A=and i32%z,-8
%B=icmp eq i8*%o,null
br i1%B,label%C,label%D
C:
ret void
D:
%E=sext i32%y to i64
%F=getelementptr inbounds i8,i8*%o,i64%E
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
call fastcc void@_SMLL5apply_315(i8*inreg%p,i8*inreg%H)
%I=load i8**,i8***%f,align 8
%J=load i8*,i8**%I,align 8
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%e,align 8
%P=getelementptr inbounds i8*,i8**%I,i64 1
%Q=bitcast i8**%P to i32*
%R=load i32,i32*%Q,align 4
%S=icmp eq i32%R,0
br i1%S,label%Z,label%T
T:
%U=load i8*,i8**%c,align 8
%V=sext i32%v to i64
%W=getelementptr inbounds i8,i8*%U,i64%V
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
br label%al
Z:
%aa=bitcast i8**%I to i8*
%ab=getelementptr inbounds i8,i8*%aa,i64 12
%ac=bitcast i8*%ab to i32*
%ad=load i32,i32*%ac,align 4
%ae=call i8*@sml_alloc(i32 inreg%ad)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32%ad,i32*%ag,align 4
%ah=load i8*,i8**%c,align 8
%ai=sext i32%v to i64
%aj=getelementptr inbounds i8,i8*%ah,i64%ai
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ae,i8*%aj,i32%ad,i1 false)
%ak=load i8*,i8**%e,align 8
br label%al
al:
%am=phi i8*[%O,%T],[%ak,%Z]
%an=phi i8*[%Y,%T],[%ae,%Z]
store i8*null,i8**%e,align 8
%ao=call fastcc i8*%M(i8*inreg%am,i8*inreg%an)
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=sext i32%A to i64
%ar=getelementptr inbounds i8,i8*%ap,i64%aq
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
br label%g
}
define internal fastcc void@_SMLL3app_316(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
tail call fastcc void@_SMLL5apply_315(i8*inreg%p,i8*inreg%o)
ret void
}
define internal fastcc i8*@_SMLL3app_317(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLL5apply_315 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5apply_387 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 12)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177288,i32*%H,align 4
store i8*%F,i8**%c,align 8
%I=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 28)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177304,i32*%O,align 4
%P=load i8*,i8**%c,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLL3app_316 to void(...)*),void(...)**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 16
%U=bitcast i8*%T to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3app_388 to void(...)*),void(...)**%U,align 8
%V=getelementptr inbounds i8,i8*%M,i64 24
%W=bitcast i8*%V to i32*
store i32 -2147483647,i32*%W,align 4
ret i8*%M
}
define internal fastcc i8*@_SMLL5foldf_318(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
%i=bitcast i8**%g to i8***
br label%j
j:
%k=phi i8*[%cI,%cT],[%b,%l]
store i8*%k,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%c,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%k,%j]
%s=load i8*,i8**%g,align 8
%t=getelementptr inbounds i8,i8*%s,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,3
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%B,15
%D=and i32%C,-8
%E=getelementptr inbounds i8,i8*%s,i64 20
%F=bitcast i8*%E to i32*
%G=load i32,i32*%F,align 4
%H=add i32%G,7
%I=sub i32 0,%G
%J=and i32%H,%I
%K=add i32%H,%J
%L=and i32%K,-8
%M=lshr i32%J,3
%N=getelementptr inbounds i8,i8*%s,i64 16
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=shl i32%P,%M
%R=or i32%Q,1
%S=or i32%L,4
%T=add i32%v,-1
%U=and i32%T,%x
%V=add i32%T,%G
%W=add i32%V,%U
%X=and i32%W,%I
%Y=add i32%H,%X
%Z=and i32%Y,-8
%aa=lshr i32%X,3
%ab=lshr i32%U,3
%ac=sub nsw i32%aa,%ab
%ad=shl i32%P,%ac
%ae=getelementptr inbounds i8,i8*%s,i64 8
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%ah=or i32%ad,%ag
%ai=or i32%Z,4
%aj=bitcast i8*%r to i8**
%ak=load i8*,i8**%aj,align 8
%al=icmp eq i8*%ak,null
br i1%al,label%am,label%aA
am:
%an=icmp eq i32%P,0
br i1%an,label%at,label%ao
ao:
%ap=sext i32%J to i64
%aq=getelementptr inbounds i8,i8*%r,i64%ap
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
ret i8*%as
at:
store i8*null,i8**%g,align 8
%au=call i8*@sml_alloc(i32 inreg%G)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32%G,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
%ay=sext i32%J to i64
%az=getelementptr inbounds i8,i8*%ax,i64%ay
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%au,i8*%az,i32%G,i1 false)
ret i8*%au
aA:
store i8*%ak,i8**%f,align 8
%aB=icmp eq i32%ag,0
br i1%aB,label%aH,label%aC
aC:
%aD=sext i32%y to i64
%aE=getelementptr inbounds i8,i8*%ak,i64%aD
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
br label%aS
aH:
%aI=call i8*@sml_alloc(i32 inreg%v)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32%v,i32*%aK,align 4
%aL=load i8*,i8**%f,align 8
%aM=sext i32%y to i64
%aN=getelementptr inbounds i8,i8*%aL,i64%aM
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aI,i8*%aN,i32%v,i1 false)
%aO=load i8*,i8**%g,align 8
%aP=getelementptr inbounds i8,i8*%aO,i64 16
%aQ=bitcast i8*%aP to i32*
%aR=load i32,i32*%aQ,align 4
br label%aS
aS:
%aT=phi i8*[%aO,%aH],[%s,%aC]
%aU=phi i32[%aR,%aH],[%P,%aC]
%aV=phi i8*[%aL,%aH],[%ak,%aC]
%aW=phi i8*[%aI,%aH],[%aG,%aC]
store i8*%aW,i8**%d,align 8
%aX=sext i32%B to i64
%aY=getelementptr inbounds i8,i8*%aV,i64%aX
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%e,align 8
%a1=sext i32%D to i64
%a2=getelementptr inbounds i8,i8*%aV,i64%a1
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%f,align 8
%a5=icmp eq i32%aU,0
br i1%a5,label%bd,label%a6
a6:
%a7=bitcast i8*%aT to i8**
%a8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a9=sext i32%J to i64
%ba=getelementptr inbounds i8,i8*%a8,i64%a9
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
br label%bs
bd:
%be=getelementptr inbounds i8,i8*%aT,i64 20
%bf=bitcast i8*%be to i32*
%bg=load i32,i32*%bf,align 4
%bh=call i8*@sml_alloc(i32 inreg%bg)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32%bg,i32*%bj,align 4
%bk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bl=sext i32%J to i64
%bm=getelementptr inbounds i8,i8*%bk,i64%bl
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bh,i8*%bm,i32%bg,i1 false)
%bn=load i8**,i8***%i,align 8
%bo=bitcast i8**%bn to i8*
%bp=getelementptr inbounds i8*,i8**%bn,i64 2
%bq=bitcast i8**%bp to i32*
%br=load i32,i32*%bq,align 4
br label%bs
bs:
%bt=phi i64[%bl,%bd],[%a9,%a6]
%bu=phi i32[%br,%bd],[%aU,%a6]
%bv=phi i8*[%bo,%bd],[%aT,%a6]
%bw=phi i8**[%bn,%bd],[%a7,%a6]
%bx=phi i8*[%bh,%bd],[%bc,%a6]
store i8*%bx,i8**%c,align 8
%by=load i8*,i8**%bw,align 8
%bz=getelementptr inbounds i8,i8*%by,i64 16
%bA=bitcast i8*%bz to i8*(i8*,i8*)**
%bB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bA,align 8
%bC=bitcast i8*%by to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%h,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 20
%bF=bitcast i8*%bE to i32*
%bG=load i32,i32*%bF,align 4
%bH=call i8*@sml_alloc(i32 inreg%S)#0
%bI=or i32%L,1342177280
%bJ=getelementptr inbounds i8,i8*%bH,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32%bI,i32*%bK,align 4
call void@llvm.memset.p0i8.i32(i8*%bH,i8 0,i32%S,i1 false)
%bL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bM=bitcast i8*%bH to i8**
store i8*%bL,i8**%bM,align 8
%bN=icmp eq i32%bu,0
%bO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64%bt
br i1%bN,label%bS,label%bQ
bQ:
%bR=bitcast i8*%bP to i8**
store i8*%bO,i8**%bR,align 8
br label%bT
bS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bP,i8*%bO,i32%bG,i1 false)
br label%bT
bT:
%bU=sext i32%L to i64
%bV=getelementptr inbounds i8,i8*%bH,i64%bU
%bW=bitcast i8*%bV to i32*
store i32%R,i32*%bW,align 4
%bX=load i8*,i8**%g,align 8
%bY=call fastcc i8*@_SMLL5foldf_318(i8*inreg%bX,i8*inreg%bH)
store i8*%bY,i8**%c,align 8
%bZ=load i8*,i8**%g,align 8
%b0=getelementptr inbounds i8,i8*%bZ,i64 12
%b1=bitcast i8*%b0 to i32*
%b2=load i32,i32*%b1,align 4
%b3=getelementptr inbounds i8,i8*%bZ,i64 8
%b4=bitcast i8*%b3 to i32*
%b5=load i32,i32*%b4,align 4
%b6=getelementptr inbounds i8,i8*%bZ,i64 20
%b7=bitcast i8*%b6 to i32*
%b8=load i32,i32*%b7,align 4
%b9=getelementptr inbounds i8,i8*%bZ,i64 16
%ca=bitcast i8*%b9 to i32*
%cb=load i32,i32*%ca,align 4
%cc=call i8*@sml_alloc(i32 inreg%ai)#0
%cd=or i32%Z,1342177280
%ce=getelementptr inbounds i8,i8*%cc,i64 -4
%cf=bitcast i8*%ce to i32*
store i32%cd,i32*%cf,align 4
call void@llvm.memset.p0i8.i32(i8*%cc,i8 0,i32%ai,i1 false)
%cg=icmp eq i32%b5,0
%ch=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ci=sext i32%U to i64
%cj=getelementptr inbounds i8,i8*%cc,i64%ci
br i1%cg,label%cm,label%ck
ck:
%cl=bitcast i8*%cj to i8**
store i8*%ch,i8**%cl,align 8
br label%cn
cm:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cj,i8*%ch,i32%b2,i1 false)
br label%cn
cn:
%co=icmp eq i32%cb,0
%cp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cq=sext i32%X to i64
%cr=getelementptr inbounds i8,i8*%cc,i64%cq
br i1%co,label%cu,label%cs
cs:
%ct=bitcast i8*%cr to i8**
store i8*%cp,i8**%ct,align 8
br label%cv
cu:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cr,i8*%cp,i32%b8,i1 false)
br label%cv
cv:
%cw=sext i32%Z to i64
%cx=getelementptr inbounds i8,i8*%cc,i64%cw
%cy=bitcast i8*%cx to i32*
store i32%ah,i32*%cy,align 4
%cz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cA=call fastcc i8*%bB(i8*inreg%cz,i8*inreg%cc)
store i8*%cA,i8**%c,align 8
%cB=load i8*,i8**%g,align 8
%cC=getelementptr inbounds i8,i8*%cB,i64 20
%cD=bitcast i8*%cC to i32*
%cE=load i32,i32*%cD,align 4
%cF=getelementptr inbounds i8,i8*%cB,i64 16
%cG=bitcast i8*%cF to i32*
%cH=load i32,i32*%cG,align 4
%cI=call i8*@sml_alloc(i32 inreg%S)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32%bI,i32*%cK,align 4
call void@llvm.memset.p0i8.i32(i8*%cI,i8 0,i32%S,i1 false)
%cL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=icmp eq i32%cH,0
%cO=load i8*,i8**%c,align 8
%cP=getelementptr inbounds i8,i8*%cI,i64%bt
br i1%cN,label%cS,label%cQ
cQ:
%cR=bitcast i8*%cP to i8**
store i8*%cO,i8**%cR,align 8
br label%cT
cS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cP,i8*%cO,i32%cE,i1 false)
br label%cT
cT:
%cU=getelementptr inbounds i8,i8*%cI,i64%bU
%cV=bitcast i8*%cU to i32*
store i32%R,i32*%cV,align 4
br label%j
}
define internal fastcc i8*@_SMLL5foldl_319(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 28
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=add i32%p,7
%r=sub i32 0,%p
%s=and i32%q,%r
%t=add i32%q,%s
%u=and i32%t,-8
%v=lshr i32%s,3
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=shl i32%y,%v
%A=or i32%z,1
%B=or i32%u,4
%C=bitcast i8*%l to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%l,i64 16
%F=bitcast i8*%E to i32*
%G=load i32,i32*%F,align 4
%H=getelementptr inbounds i8,i8*%l,i64 20
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
%K=call i8*@sml_alloc(i32 inreg 28)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177304,i32*%M,align 4
store i8*%K,i8**%f,align 8
%N=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i32*
store i32%G,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%K,i64 12
%S=bitcast i8*%R to i32*
store i32%J,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i32*
store i32%y,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%K,i64 20
%W=bitcast i8*%V to i32*
store i32%p,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%K,i64 24
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 28)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=load i8*,i8**%f,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldf_318 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldf_318 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 24
%aj=bitcast i8*%ai to i32*
store i32 1,i32*%aj,align 4
%ak=load i8*,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 24
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=icmp eq i32%an,0
br i1%ao,label%at,label%ap
ap:
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
br label%aF
at:
%au=getelementptr inbounds i8,i8*%ak,i64 28
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
%ax=call i8*@sml_alloc(i32 inreg%aw)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32%aw,i32*%az,align 4
%aA=load i8*,i8**%d,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ax,i8*%aB,i32%aw,i1 false)
%aC=getelementptr inbounds i8,i8*%aA,i64 24
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
br label%aF
aF:
%aG=phi i32[%aE,%at],[%an,%ap]
%aH=phi i8*[%aA,%at],[%ak,%ap]
%aI=phi i8*[%ax,%at],[%as,%ap]
store i8*%aI,i8**%e,align 8
%aJ=getelementptr inbounds i8,i8*%aH,i64 28
%aK=bitcast i8*%aJ to i32*
%aL=load i32,i32*%aK,align 4
store i8*null,i8**%d,align 8
%aM=call i8*@sml_alloc(i32 inreg%B)#0
%aN=or i32%u,1342177280
%aO=getelementptr inbounds i8,i8*%aM,i64 -4
%aP=bitcast i8*%aO to i32*
store i32%aN,i32*%aP,align 4
call void@llvm.memset.p0i8.i32(i8*%aM,i8 0,i32%B,i1 false)
%aQ=load i8*,i8**%c,align 8
%aR=bitcast i8*%aM to i8**
store i8*%aQ,i8**%aR,align 8
%aS=icmp eq i32%aG,0
%aT=load i8*,i8**%e,align 8
%aU=sext i32%s to i64
%aV=getelementptr inbounds i8,i8*%aM,i64%aU
br i1%aS,label%aY,label%aW
aW:
%aX=bitcast i8*%aV to i8**
store i8*%aT,i8**%aX,align 8
br label%aZ
aY:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aV,i8*%aT,i32%aL,i1 false)
br label%aZ
aZ:
%a0=sext i32%u to i64
%a1=getelementptr inbounds i8,i8*%aM,i64%a0
%a2=bitcast i8*%a1 to i32*
store i32%A,i32*%a2,align 4
%a3=load i8*,i8**%f,align 8
%a4=tail call fastcc i8*@_SMLL5foldf_318(i8*inreg%a3,i8*inreg%aM)
ret i8*%a4
}
define internal fastcc i8*@_SMLL5foldl_320(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=getelementptr inbounds i8,i8*%a,i64 16
%g=bitcast i8*%f to i32*
%h=load i32,i32*%g,align 4
%i=shl i32%h,1
%j=or i32%i,1
%k=bitcast i8*%a to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=getelementptr inbounds i8,i8*%a,i64 20
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%a,i64 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%a,i64 12
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call i8*@sml_alloc(i32 inreg 36)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177312,i32*%x,align 4
store i8*%v,i8**%e,align 8
%y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=icmp eq i32%h,0
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%v,i64 8
br i1%A,label%F,label%D
D:
%E=bitcast i8*%C to i8**
store i8*%B,i8**%E,align 8
br label%G
F:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%C,i8*%B,i32%o,i1 false)
br label%G
G:
%H=getelementptr inbounds i8,i8*%v,i64 16
%I=bitcast i8*%H to i32*
store i32%r,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%v,i64 20
%K=bitcast i8*%J to i32*
store i32%u,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%v,i64 24
%M=bitcast i8*%L to i32*
store i32%h,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%v,i64 28
%O=bitcast i8*%N to i32*
store i32%o,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%v,i64 32
%Q=bitcast i8*%P to i32*
store i32%j,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=load i8*,i8**%e,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_319 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_319 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 1,i32*%ab,align 4
ret i8*%R
}
define internal fastcc i8*@_SMLL5foldl_321(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=getelementptr inbounds i8,i8*%a,i64 8
%k=bitcast i8*%j to i32*
%l=load i32,i32*%k,align 4
%m=getelementptr inbounds i8,i8*%a,i64 12
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
store i8*%p,i8**%d,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i32*
store i32%f,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%p,i64 12
%x=bitcast i8*%w to i32*
store i32%i,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i32*
store i32%l,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%p,i64 20
%B=bitcast i8*%A to i32*
store i32%o,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%p,i64 24
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 28)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177304,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%E,i64 8
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_320 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_320 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%E,i64 24
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
ret i8*%E
}
define internal fastcc i8*@_SMLL5foldl_322(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=bitcast i8*%j to i32*
%l=getelementptr inbounds i8,i8*%j,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%j,i8**%d,align 8
store i32%f,i32*%k,align 4
%n=getelementptr inbounds i8,i8*%j,i64 4
%o=bitcast i8*%n to i32*
store i32%i,i32*%o,align 4
%p=getelementptr inbounds i8,i8*%j,i64 8
%q=bitcast i8*%p to i32*
store i32%b,i32*%q,align 4
%r=getelementptr inbounds i8,i8*%j,i64 12
%s=bitcast i8*%r to i32*
store i32%c,i32*%s,align 4
%t=getelementptr inbounds i8,i8*%j,i64 16
%u=bitcast i8*%t to i32*
store i32 0,i32*%u,align 4
%v=call i8*@sml_alloc(i32 inreg 28)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177304,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_321 to void(...)*),void(...)**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_321 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%v,i64 24
%F=bitcast i8*%E to i32*
store i32 -2147483647,i32*%F,align 4
ret i8*%v
}
define internal fastcc i8*@_SMLL5foldf_323(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
%i=bitcast i8**%g to i8***
br label%j
j:
%k=phi i8*[%cI,%cT],[%b,%l]
store i8*%k,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%c,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%k,%j]
%s=load i8*,i8**%g,align 8
%t=getelementptr inbounds i8,i8*%s,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=add i32%v,3
%x=sub i32 0,%v
%y=and i32%w,%x
%z=add i32%v,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=add i32%B,15
%D=and i32%C,-8
%E=getelementptr inbounds i8,i8*%s,i64 20
%F=bitcast i8*%E to i32*
%G=load i32,i32*%F,align 4
%H=add i32%G,7
%I=sub i32 0,%G
%J=and i32%H,%I
%K=add i32%H,%J
%L=and i32%K,-8
%M=lshr i32%J,3
%N=getelementptr inbounds i8,i8*%s,i64 16
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=shl i32%P,%M
%R=or i32%Q,1
%S=or i32%L,4
%T=add i32%v,-1
%U=and i32%T,%x
%V=add i32%T,%G
%W=add i32%V,%U
%X=and i32%W,%I
%Y=add i32%H,%X
%Z=and i32%Y,-8
%aa=lshr i32%X,3
%ab=lshr i32%U,3
%ac=sub nsw i32%aa,%ab
%ad=shl i32%P,%ac
%ae=getelementptr inbounds i8,i8*%s,i64 8
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%ah=or i32%ad,%ag
%ai=or i32%Z,4
%aj=bitcast i8*%r to i8**
%ak=load i8*,i8**%aj,align 8
%al=icmp eq i8*%ak,null
br i1%al,label%am,label%aA
am:
%an=icmp eq i32%P,0
br i1%an,label%at,label%ao
ao:
%ap=sext i32%J to i64
%aq=getelementptr inbounds i8,i8*%r,i64%ap
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
ret i8*%as
at:
store i8*null,i8**%g,align 8
%au=call i8*@sml_alloc(i32 inreg%G)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32%G,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
%ay=sext i32%J to i64
%az=getelementptr inbounds i8,i8*%ax,i64%ay
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%au,i8*%az,i32%G,i1 false)
ret i8*%au
aA:
store i8*%ak,i8**%f,align 8
%aB=icmp eq i32%ag,0
br i1%aB,label%aH,label%aC
aC:
%aD=sext i32%y to i64
%aE=getelementptr inbounds i8,i8*%ak,i64%aD
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
br label%aS
aH:
%aI=call i8*@sml_alloc(i32 inreg%v)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32%v,i32*%aK,align 4
%aL=load i8*,i8**%f,align 8
%aM=sext i32%y to i64
%aN=getelementptr inbounds i8,i8*%aL,i64%aM
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aI,i8*%aN,i32%v,i1 false)
%aO=load i8*,i8**%g,align 8
%aP=getelementptr inbounds i8,i8*%aO,i64 16
%aQ=bitcast i8*%aP to i32*
%aR=load i32,i32*%aQ,align 4
br label%aS
aS:
%aT=phi i8*[%aO,%aH],[%s,%aC]
%aU=phi i32[%aR,%aH],[%P,%aC]
%aV=phi i8*[%aL,%aH],[%ak,%aC]
%aW=phi i8*[%aI,%aH],[%aG,%aC]
store i8*%aW,i8**%d,align 8
%aX=sext i32%B to i64
%aY=getelementptr inbounds i8,i8*%aV,i64%aX
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%e,align 8
%a1=sext i32%D to i64
%a2=getelementptr inbounds i8,i8*%aV,i64%a1
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%f,align 8
%a5=icmp eq i32%aU,0
br i1%a5,label%bd,label%a6
a6:
%a7=bitcast i8*%aT to i8**
%a8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a9=sext i32%J to i64
%ba=getelementptr inbounds i8,i8*%a8,i64%a9
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
br label%bs
bd:
%be=getelementptr inbounds i8,i8*%aT,i64 20
%bf=bitcast i8*%be to i32*
%bg=load i32,i32*%bf,align 4
%bh=call i8*@sml_alloc(i32 inreg%bg)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32%bg,i32*%bj,align 4
%bk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bl=sext i32%J to i64
%bm=getelementptr inbounds i8,i8*%bk,i64%bl
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bh,i8*%bm,i32%bg,i1 false)
%bn=load i8**,i8***%i,align 8
%bo=bitcast i8**%bn to i8*
%bp=getelementptr inbounds i8*,i8**%bn,i64 2
%bq=bitcast i8**%bp to i32*
%br=load i32,i32*%bq,align 4
br label%bs
bs:
%bt=phi i64[%bl,%bd],[%a9,%a6]
%bu=phi i32[%br,%bd],[%aU,%a6]
%bv=phi i8*[%bo,%bd],[%aT,%a6]
%bw=phi i8**[%bn,%bd],[%a7,%a6]
%bx=phi i8*[%bh,%bd],[%bc,%a6]
store i8*%bx,i8**%c,align 8
%by=load i8*,i8**%bw,align 8
%bz=getelementptr inbounds i8,i8*%by,i64 16
%bA=bitcast i8*%bz to i8*(i8*,i8*)**
%bB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bA,align 8
%bC=bitcast i8*%by to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%h,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 20
%bF=bitcast i8*%bE to i32*
%bG=load i32,i32*%bF,align 4
%bH=call i8*@sml_alloc(i32 inreg%S)#0
%bI=or i32%L,1342177280
%bJ=getelementptr inbounds i8,i8*%bH,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32%bI,i32*%bK,align 4
call void@llvm.memset.p0i8.i32(i8*%bH,i8 0,i32%S,i1 false)
%bL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bM=bitcast i8*%bH to i8**
store i8*%bL,i8**%bM,align 8
%bN=icmp eq i32%bu,0
%bO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64%bt
br i1%bN,label%bS,label%bQ
bQ:
%bR=bitcast i8*%bP to i8**
store i8*%bO,i8**%bR,align 8
br label%bT
bS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bP,i8*%bO,i32%bG,i1 false)
br label%bT
bT:
%bU=sext i32%L to i64
%bV=getelementptr inbounds i8,i8*%bH,i64%bU
%bW=bitcast i8*%bV to i32*
store i32%R,i32*%bW,align 4
%bX=load i8*,i8**%g,align 8
%bY=call fastcc i8*@_SMLL5foldf_323(i8*inreg%bX,i8*inreg%bH)
store i8*%bY,i8**%c,align 8
%bZ=load i8*,i8**%g,align 8
%b0=getelementptr inbounds i8,i8*%bZ,i64 12
%b1=bitcast i8*%b0 to i32*
%b2=load i32,i32*%b1,align 4
%b3=getelementptr inbounds i8,i8*%bZ,i64 8
%b4=bitcast i8*%b3 to i32*
%b5=load i32,i32*%b4,align 4
%b6=getelementptr inbounds i8,i8*%bZ,i64 20
%b7=bitcast i8*%b6 to i32*
%b8=load i32,i32*%b7,align 4
%b9=getelementptr inbounds i8,i8*%bZ,i64 16
%ca=bitcast i8*%b9 to i32*
%cb=load i32,i32*%ca,align 4
%cc=call i8*@sml_alloc(i32 inreg%ai)#0
%cd=or i32%Z,1342177280
%ce=getelementptr inbounds i8,i8*%cc,i64 -4
%cf=bitcast i8*%ce to i32*
store i32%cd,i32*%cf,align 4
call void@llvm.memset.p0i8.i32(i8*%cc,i8 0,i32%ai,i1 false)
%cg=icmp eq i32%b5,0
%ch=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ci=sext i32%U to i64
%cj=getelementptr inbounds i8,i8*%cc,i64%ci
br i1%cg,label%cm,label%ck
ck:
%cl=bitcast i8*%cj to i8**
store i8*%ch,i8**%cl,align 8
br label%cn
cm:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cj,i8*%ch,i32%b2,i1 false)
br label%cn
cn:
%co=icmp eq i32%cb,0
%cp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cq=sext i32%X to i64
%cr=getelementptr inbounds i8,i8*%cc,i64%cq
br i1%co,label%cu,label%cs
cs:
%ct=bitcast i8*%cr to i8**
store i8*%cp,i8**%ct,align 8
br label%cv
cu:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cr,i8*%cp,i32%b8,i1 false)
br label%cv
cv:
%cw=sext i32%Z to i64
%cx=getelementptr inbounds i8,i8*%cc,i64%cw
%cy=bitcast i8*%cx to i32*
store i32%ah,i32*%cy,align 4
%cz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cA=call fastcc i8*%bB(i8*inreg%cz,i8*inreg%cc)
store i8*%cA,i8**%c,align 8
%cB=load i8*,i8**%g,align 8
%cC=getelementptr inbounds i8,i8*%cB,i64 20
%cD=bitcast i8*%cC to i32*
%cE=load i32,i32*%cD,align 4
%cF=getelementptr inbounds i8,i8*%cB,i64 16
%cG=bitcast i8*%cF to i32*
%cH=load i32,i32*%cG,align 4
%cI=call i8*@sml_alloc(i32 inreg%S)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32%bI,i32*%cK,align 4
call void@llvm.memset.p0i8.i32(i8*%cI,i8 0,i32%S,i1 false)
%cL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=icmp eq i32%cH,0
%cO=load i8*,i8**%c,align 8
%cP=getelementptr inbounds i8,i8*%cI,i64%bt
br i1%cN,label%cS,label%cQ
cQ:
%cR=bitcast i8*%cP to i8**
store i8*%cO,i8**%cR,align 8
br label%cT
cS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cP,i8*%cO,i32%cE,i1 false)
br label%cT
cT:
%cU=getelementptr inbounds i8,i8*%cI,i64%bU
%cV=bitcast i8*%cU to i32*
store i32%R,i32*%cV,align 4
br label%j
}
define internal fastcc i8*@_SMLL5foldr_324(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 28
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=add i32%p,7
%r=sub i32 0,%p
%s=and i32%q,%r
%t=add i32%q,%s
%u=and i32%t,-8
%v=lshr i32%s,3
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=shl i32%y,%v
%A=or i32%z,1
%B=or i32%u,4
%C=bitcast i8*%l to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%l,i64 16
%F=bitcast i8*%E to i32*
%G=load i32,i32*%F,align 4
%H=getelementptr inbounds i8,i8*%l,i64 20
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
%K=call i8*@sml_alloc(i32 inreg 28)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177304,i32*%M,align 4
store i8*%K,i8**%f,align 8
%N=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i32*
store i32%G,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%K,i64 12
%S=bitcast i8*%R to i32*
store i32%J,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i32*
store i32%y,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%K,i64 20
%W=bitcast i8*%V to i32*
store i32%p,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%K,i64 24
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 28)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=load i8*,i8**%f,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldf_323 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldf_323 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 24
%aj=bitcast i8*%ai to i32*
store i32 1,i32*%aj,align 4
%ak=load i8*,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 24
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=icmp eq i32%an,0
br i1%ao,label%at,label%ap
ap:
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
br label%aF
at:
%au=getelementptr inbounds i8,i8*%ak,i64 28
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
%ax=call i8*@sml_alloc(i32 inreg%aw)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32%aw,i32*%az,align 4
%aA=load i8*,i8**%d,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ax,i8*%aB,i32%aw,i1 false)
%aC=getelementptr inbounds i8,i8*%aA,i64 24
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
br label%aF
aF:
%aG=phi i32[%aE,%at],[%an,%ap]
%aH=phi i8*[%aA,%at],[%ak,%ap]
%aI=phi i8*[%ax,%at],[%as,%ap]
store i8*%aI,i8**%e,align 8
%aJ=getelementptr inbounds i8,i8*%aH,i64 28
%aK=bitcast i8*%aJ to i32*
%aL=load i32,i32*%aK,align 4
store i8*null,i8**%d,align 8
%aM=call i8*@sml_alloc(i32 inreg%B)#0
%aN=or i32%u,1342177280
%aO=getelementptr inbounds i8,i8*%aM,i64 -4
%aP=bitcast i8*%aO to i32*
store i32%aN,i32*%aP,align 4
call void@llvm.memset.p0i8.i32(i8*%aM,i8 0,i32%B,i1 false)
%aQ=load i8*,i8**%c,align 8
%aR=bitcast i8*%aM to i8**
store i8*%aQ,i8**%aR,align 8
%aS=icmp eq i32%aG,0
%aT=load i8*,i8**%e,align 8
%aU=sext i32%s to i64
%aV=getelementptr inbounds i8,i8*%aM,i64%aU
br i1%aS,label%aY,label%aW
aW:
%aX=bitcast i8*%aV to i8**
store i8*%aT,i8**%aX,align 8
br label%aZ
aY:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aV,i8*%aT,i32%aL,i1 false)
br label%aZ
aZ:
%a0=sext i32%u to i64
%a1=getelementptr inbounds i8,i8*%aM,i64%a0
%a2=bitcast i8*%a1 to i32*
store i32%A,i32*%a2,align 4
%a3=load i8*,i8**%f,align 8
%a4=tail call fastcc i8*@_SMLL5foldf_323(i8*inreg%a3,i8*inreg%aM)
ret i8*%a4
}
define internal fastcc i8*@_SMLL5foldr_325(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=getelementptr inbounds i8,i8*%a,i64 16
%g=bitcast i8*%f to i32*
%h=load i32,i32*%g,align 4
%i=shl i32%h,1
%j=or i32%i,1
%k=bitcast i8*%a to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=getelementptr inbounds i8,i8*%a,i64 20
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%a,i64 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%a,i64 12
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call i8*@sml_alloc(i32 inreg 36)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177312,i32*%x,align 4
store i8*%v,i8**%e,align 8
%y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=icmp eq i32%h,0
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%v,i64 8
br i1%A,label%F,label%D
D:
%E=bitcast i8*%C to i8**
store i8*%B,i8**%E,align 8
br label%G
F:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%C,i8*%B,i32%o,i1 false)
br label%G
G:
%H=getelementptr inbounds i8,i8*%v,i64 16
%I=bitcast i8*%H to i32*
store i32%r,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%v,i64 20
%K=bitcast i8*%J to i32*
store i32%u,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%v,i64 24
%M=bitcast i8*%L to i32*
store i32%h,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%v,i64 28
%O=bitcast i8*%N to i32*
store i32%o,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%v,i64 32
%Q=bitcast i8*%P to i32*
store i32%j,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=load i8*,i8**%e,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_324 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_324 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 1,i32*%ab,align 4
ret i8*%R
}
define internal fastcc i8*@_SMLL5foldr_326(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=getelementptr inbounds i8,i8*%a,i64 8
%k=bitcast i8*%j to i32*
%l=load i32,i32*%k,align 4
%m=getelementptr inbounds i8,i8*%a,i64 12
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
store i8*%p,i8**%d,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i32*
store i32%f,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%p,i64 12
%x=bitcast i8*%w to i32*
store i32%i,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i32*
store i32%l,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%p,i64 20
%B=bitcast i8*%A to i32*
store i32%o,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%p,i64 24
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 28)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177304,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%E,i64 8
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_325 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_325 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%E,i64 24
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
ret i8*%E
}
define internal fastcc i8*@_SMLL5foldr_327(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=bitcast i8*%j to i32*
%l=getelementptr inbounds i8,i8*%j,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%j,i8**%d,align 8
store i32%f,i32*%k,align 4
%n=getelementptr inbounds i8,i8*%j,i64 4
%o=bitcast i8*%n to i32*
store i32%i,i32*%o,align 4
%p=getelementptr inbounds i8,i8*%j,i64 8
%q=bitcast i8*%p to i32*
store i32%b,i32*%q,align 4
%r=getelementptr inbounds i8,i8*%j,i64 12
%s=bitcast i8*%r to i32*
store i32%c,i32*%s,align 4
%t=getelementptr inbounds i8,i8*%j,i64 16
%u=bitcast i8*%t to i32*
store i32 0,i32*%u,align 4
%v=call i8*@sml_alloc(i32 inreg 28)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177304,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_326 to void(...)*),void(...)**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_326 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%v,i64 24
%F=bitcast i8*%E to i32*
store i32 -2147483647,i32*%F,align 4
ret i8*%v
}
define internal fastcc i8*@_SMLL6filter_328(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 20
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=add i32%p,-1
%r=sub i32 0,%p
%s=and i32%q,%r
%t=add i32%p,7
%u=add i32%t,%s
%v=and i32%u,-8
%w=and i32%t,%r
%x=add i32%t,%w
%y=and i32%x,-8
%z=lshr i32%w,3
%A=getelementptr inbounds i8,i8*%l,i64 16
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=shl i32%C,%z
%E=or i32%D,1
%F=or i32%y,4
%G=icmp eq i32%C,0
br i1%G,label%O,label%H
H:
%I=bitcast i8*%l to i8**
%J=load i8*,i8**%c,align 8
%K=sext i32%s to i64
%L=getelementptr inbounds i8,i8*%J,i64%K
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
br label%X
O:
%P=call i8*@sml_alloc(i32 inreg%p)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32%p,i32*%R,align 4
%S=load i8*,i8**%c,align 8
%T=sext i32%s to i64
%U=getelementptr inbounds i8,i8*%S,i64%T
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%P,i8*%U,i32%p,i1 false)
%V=bitcast i8**%e to i8***
%W=load i8**,i8***%V,align 8
br label%X
X:
%Y=phi i8**[%W,%O],[%I,%H]
%Z=phi i8*[%S,%O],[%J,%H]
%aa=phi i8*[%P,%O],[%N,%H]
store i8*%aa,i8**%d,align 8
%ab=sext i32%v to i64
%ac=getelementptr inbounds i8,i8*%Z,i64%ab
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%c,align 8
%af=load i8*,i8**%Y,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
%al=call fastcc i8*%ai(i8*inreg%ak,i8*inreg%aa)
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=icmp eq i32%an,0
br i1%ao,label%aT,label%ap
ap:
%aq=load i8*,i8**%e,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
store i8*%at,i8**%f,align 8
%au=getelementptr inbounds i8,i8*%aq,i64 20
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
store i8*null,i8**%e,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 16
%ay=bitcast i8*%ax to i32*
%az=load i32,i32*%ay,align 4
%aA=call i8*@sml_alloc(i32 inreg%F)#0
%aB=or i32%y,1342177280
%aC=getelementptr inbounds i8,i8*%aA,i64 -4
%aD=bitcast i8*%aC to i32*
store i32%aB,i32*%aD,align 4
call void@llvm.memset.p0i8.i32(i8*%aA,i8 0,i32%F,i1 false)
%aE=load i8*,i8**%c,align 8
%aF=bitcast i8*%aA to i8**
store i8*%aE,i8**%aF,align 8
%aG=icmp eq i32%az,0
%aH=load i8*,i8**%d,align 8
%aI=sext i32%w to i64
%aJ=getelementptr inbounds i8,i8*%aA,i64%aI
br i1%aG,label%aM,label%aK
aK:
%aL=bitcast i8*%aJ to i8**
store i8*%aH,i8**%aL,align 8
br label%aN
aM:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aJ,i8*%aH,i32%aw,i1 false)
br label%aN
aN:
%aO=sext i32%y to i64
%aP=getelementptr inbounds i8,i8*%aA,i64%aO
%aQ=bitcast i8*%aP to i32*
store i32%E,i32*%aQ,align 4
%aR=load i8*,i8**%f,align 8
%aS=tail call fastcc i8*@_SMLL3add_266(i8*inreg%aR,i8*inreg%aA)
ret i8*%aS
aT:
%aU=load i8*,i8**%c,align 8
ret i8*%aU
}
define internal fastcc i8*@_SMLL6filter_329(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%d,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=getelementptr inbounds i8,i8*%m,i64 16
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=call fastcc i8*@_SMLL5foldl_322(i8*inreg%q,i32 inreg 1,i32 inreg 8)
%s=getelementptr inbounds i8,i8*%r,i64 16
%t=bitcast i8*%s to i8*(i8*,i8*)**
%u=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t,align 8
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=bitcast i8**%d to i8***
%y=load i8**,i8***%x,align 8
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%e,align 8
%A=getelementptr inbounds i8*,i8**%y,i64 1
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=bitcast i8**%y to i8*
%D=getelementptr inbounds i8*,i8**%y,i64 3
%E=bitcast i8**%D to i32*
%F=load i32,i32*%E,align 4
store i8*null,i8**%d,align 8
%G=getelementptr inbounds i8,i8*%C,i64 28
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=call i8*@sml_alloc(i32 inreg 28)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177304,i32*%L,align 4
store i8*%J,i8**%d,align 8
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32%F,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%J,i64 20
%U=bitcast i8*%T to i32*
store i32%I,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%J,i64 24
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6filter_328 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6filter_328 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 -2147483647,i32*%ah,align 4
%ai=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aj=call fastcc i8*%u(i8*inreg%ai,i8*inreg%X)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*%am(i8*inreg%ao,i8*inreg null)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=load i8*,i8**%c,align 8
%aw=tail call fastcc i8*%as(i8*inreg%au,i8*inreg%av)
ret i8*%aw
}
define internal fastcc i8*@_SMLL6filter_330(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=getelementptr inbounds i8,i8*%a,i64 16
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%a,i64 20
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=call i8*@sml_alloc(i32 inreg 36)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177312,i32*%t,align 4
store i8*%r,i8**%f,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%A=getelementptr inbounds i8,i8*%r,i64 16
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%r,i64 24
%D=bitcast i8*%C to i32*
store i32%n,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%r,i64 28
%F=bitcast i8*%E to i32*
store i32%q,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%r,i64 32
%H=bitcast i8*%G to i32*
store i32 7,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=load i8*,i8**%f,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6filter_329 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6filter_329 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 -2147483647,i32*%S,align 4
ret i8*%I
}
define internal fastcc i8*@_SMLL9partition_331(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%g,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=getelementptr inbounds i8,i8*%m,i64 20
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,-1
%s=sub i32 0,%q
%t=and i32%r,%s
%u=add i32%q,7
%v=add i32%u,%t
%w=and i32%v,-8
%x=and i32%u,%s
%y=add i32%u,%x
%z=and i32%y,-8
%A=lshr i32%x,3
%B=getelementptr inbounds i8,i8*%m,i64 16
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
%E=shl i32%D,%A
%F=or i32%E,1
%G=or i32%z,4
%H=icmp eq i32%D,0
br i1%H,label%P,label%I
I:
%J=bitcast i8*%m to i8**
%K=load i8*,i8**%c,align 8
%L=sext i32%t to i64
%M=getelementptr inbounds i8,i8*%K,i64%L
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
br label%Y
P:
%Q=call i8*@sml_alloc(i32 inreg%q)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32%q,i32*%S,align 4
%T=load i8*,i8**%c,align 8
%U=sext i32%t to i64
%V=getelementptr inbounds i8,i8*%T,i64%U
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%Q,i8*%V,i32%q,i1 false)
%W=bitcast i8**%g to i8***
%X=load i8**,i8***%W,align 8
br label%Y
Y:
%Z=phi i8**[%X,%P],[%J,%I]
%aa=phi i8*[%T,%P],[%K,%I]
%ab=phi i8*[%Q,%P],[%O,%I]
store i8*%ab,i8**%d,align 8
%ac=sext i32%w to i64
%ad=getelementptr inbounds i8,i8*%aa,i64%ac
%ae=bitcast i8*%ad to i8***
%af=load i8**,i8***%ae,align 8
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%e,align 8
store i8*null,i8**%c,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,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**%f,align 8
%am=load i8*,i8**%Z,align 8
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
%as=call fastcc i8*%ap(i8*inreg%ar,i8*inreg%ab)
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=icmp eq i32%au,0
%aw=load i8*,i8**%g,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 8
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%aw,i64 20
%aB=bitcast i8*%aA to i32*
%aC=load i32,i32*%aB,align 4
store i8*null,i8**%g,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to i32*
%aF=load i32,i32*%aE,align 4
%aG=call i8*@sml_alloc(i32 inreg%G)#0
%aH=or i32%z,1342177280
%aI=getelementptr inbounds i8,i8*%aG,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32%aH,i32*%aJ,align 4
call void@llvm.memset.p0i8.i32(i8*%aG,i8 0,i32%G,i1 false)
br i1%av,label%ba,label%aK
aK:
%aL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aM=bitcast i8*%aG to i8**
store i8*%aL,i8**%aM,align 8
%aN=icmp eq i32%aF,0
%aO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aP=sext i32%x to i64
%aQ=getelementptr inbounds i8,i8*%aG,i64%aP
br i1%aN,label%aT,label%aR
aR:
%aS=bitcast i8*%aQ to i8**
store i8*%aO,i8**%aS,align 8
br label%aU
aT:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aQ,i8*%aO,i32%aC,i1 false)
br label%aU
aU:
%aV=sext i32%z to i64
%aW=getelementptr inbounds i8,i8*%aG,i64%aV
%aX=bitcast i8*%aW to i32*
store i32%F,i32*%aX,align 4
%aY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aZ=call fastcc i8*@_SMLL3add_266(i8*inreg%aY,i8*inreg%aG)
store i8*%aZ,i8**%c,align 8
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%c,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%f,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
ba:
%bb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bc=bitcast i8*%aG to i8**
store i8*%bb,i8**%bc,align 8
%bd=icmp eq i32%aF,0
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=sext i32%x to i64
%bg=getelementptr inbounds i8,i8*%aG,i64%bf
br i1%bd,label%bj,label%bh
bh:
%bi=bitcast i8*%bg to i8**
store i8*%be,i8**%bi,align 8
br label%bk
bj:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bg,i8*%be,i32%aC,i1 false)
br label%bk
bk:
%bl=sext i32%z to i64
%bm=getelementptr inbounds i8,i8*%aG,i64%bl
%bn=bitcast i8*%bm to i32*
store i32%F,i32*%bn,align 4
%bo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bp=call fastcc i8*@_SMLL3add_266(i8*inreg%bo,i8*inreg%aG)
store i8*%bp,i8**%c,align 8
%bq=call i8*@sml_alloc(i32 inreg 20)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177296,i32*%bs,align 4
%bt=load i8*,i8**%e,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%c,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bq,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
ret i8*%bq
}
define internal fastcc i8*@_SMLL9partition_333(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%d,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=getelementptr inbounds i8,i8*%m,i64 16
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=call fastcc i8*@_SMLL5foldl_322(i8*inreg%q,i32 inreg 1,i32 inreg 8)
%s=getelementptr inbounds i8,i8*%r,i64 16
%t=bitcast i8*%s to i8*(i8*,i8*)**
%u=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t,align 8
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=bitcast i8**%d to i8***
%y=load i8**,i8***%x,align 8
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%e,align 8
%A=getelementptr inbounds i8*,i8**%y,i64 1
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=bitcast i8**%y to i8*
%D=getelementptr inbounds i8*,i8**%y,i64 3
%E=bitcast i8**%D to i32*
%F=load i32,i32*%E,align 4
store i8*null,i8**%d,align 8
%G=getelementptr inbounds i8,i8*%C,i64 28
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=call i8*@sml_alloc(i32 inreg 28)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177304,i32*%L,align 4
store i8*%J,i8**%d,align 8
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32%F,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%J,i64 20
%U=bitcast i8*%T to i32*
store i32%I,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%J,i64 24
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9partition_331 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9partition_331 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 -2147483647,i32*%ah,align 4
%ai=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aj=call fastcc i8*%u(i8*inreg%ai,i8*inreg%X)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*%am(i8*inreg%ao,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@m,i64 0,i32 2)to i8*))
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=load i8*,i8**%c,align 8
%aw=tail call fastcc i8*%as(i8*inreg%au,i8*inreg%av)
ret i8*%aw
}
define internal fastcc i8*@_SMLL9partition_334(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=getelementptr inbounds i8,i8*%a,i64 16
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%a,i64 20
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=call i8*@sml_alloc(i32 inreg 36)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177312,i32*%t,align 4
store i8*%r,i8**%f,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%A=getelementptr inbounds i8,i8*%r,i64 16
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%r,i64 24
%D=bitcast i8*%C to i32*
store i32%n,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%r,i64 28
%F=bitcast i8*%E to i32*
store i32%q,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%r,i64 32
%H=bitcast i8*%G to i32*
store i32 7,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=load i8*,i8**%f,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9partition_333 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9partition_333 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 -2147483647,i32*%S,align 4
ret i8*%I
}
define internal fastcc i32@_SMLL6exists_335(i8*inreg%a,i8*inreg%b,i8*inreg%c)#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*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
br label%h
h:
%i=phi i8*[%aB,%aw],[%c,%j]
store i8*%i,i8**%d,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%d,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%i,%h]
%q=load i8*,i8**%f,align 8
%r=getelementptr inbounds i8,i8*%q,i64 4
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,3
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=add i32%z,15
%B=and i32%A,-8
%C=icmp eq i8*%p,null
br i1%C,label%D,label%F
D:
%E=phi i32[0,%o],[1,%ap],[1,%F]
ret i32%E
F:
%G=load i8*,i8**%e,align 8
%H=sext i32%z to i64
%I=getelementptr inbounds i8,i8*%p,i64%H
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=call fastcc i32@_SMLL6exists_335(i8*inreg%q,i8*inreg%G,i8*inreg%K)
%M=icmp eq i32%L,0
br i1%M,label%N,label%D
N:
%O=load i8*,i8**%e,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%g,align 8
%U=load i8*,i8**%f,align 8
%V=bitcast i8*%U to i32*
%W=load i32,i32*%V,align 4
%X=icmp eq i32%W,0
br i1%X,label%ae,label%Y
Y:
%Z=load i8*,i8**%d,align 8
%aa=sext i32%w to i64
%ab=getelementptr inbounds i8,i8*%Z,i64%aa
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
br label%ap
ae:
%af=getelementptr inbounds i8,i8*%U,i64 4
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=call i8*@sml_alloc(i32 inreg%ah)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32%ah,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
%am=sext i32%w to i64
%an=getelementptr inbounds i8,i8*%al,i64%am
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ai,i8*%an,i32%ah,i1 false)
%ao=load i8*,i8**%g,align 8
br label%ap
ap:
%aq=phi i8*[%T,%Y],[%ao,%ae]
%ar=phi i8*[%ad,%Y],[%ai,%ae]
store i8*null,i8**%g,align 8
%as=call fastcc i8*%R(i8*inreg%aq,i8*inreg%ar)
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=icmp eq i32%au,0
br i1%av,label%aw,label%D
aw:
%ax=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ay=sext i32%B to i64
%az=getelementptr inbounds i8,i8*%ax,i64%ay
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
br label%h
}
define internal fastcc i32@_SMLL3all_336(i8*inreg%a,i8*inreg%b,i8*inreg%c)#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*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
br label%h
h:
%i=phi i8*[%aB,%aw],[%c,%j]
store i8*%i,i8**%d,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%d,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%i,%h]
%q=load i8*,i8**%f,align 8
%r=getelementptr inbounds i8,i8*%q,i64 4
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,3
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=add i32%z,15
%B=and i32%A,-8
%C=icmp eq i8*%p,null
br i1%C,label%D,label%F
D:
%E=phi i32[1,%o],[0,%ap],[0,%F]
ret i32%E
F:
%G=load i8*,i8**%e,align 8
%H=sext i32%z to i64
%I=getelementptr inbounds i8,i8*%p,i64%H
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=call fastcc i32@_SMLL3all_336(i8*inreg%q,i8*inreg%G,i8*inreg%K)
%M=icmp eq i32%L,0
br i1%M,label%D,label%N
N:
%O=load i8*,i8**%e,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%g,align 8
%U=load i8*,i8**%f,align 8
%V=bitcast i8*%U to i32*
%W=load i32,i32*%V,align 4
%X=icmp eq i32%W,0
br i1%X,label%ae,label%Y
Y:
%Z=load i8*,i8**%d,align 8
%aa=sext i32%w to i64
%ab=getelementptr inbounds i8,i8*%Z,i64%aa
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
br label%ap
ae:
%af=getelementptr inbounds i8,i8*%U,i64 4
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=call i8*@sml_alloc(i32 inreg%ah)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32%ah,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
%am=sext i32%w to i64
%an=getelementptr inbounds i8,i8*%al,i64%am
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ai,i8*%an,i32%ah,i1 false)
%ao=load i8*,i8**%g,align 8
br label%ap
ap:
%aq=phi i8*[%T,%Y],[%ao,%ae]
%ar=phi i8*[%ad,%Y],[%ai,%ae]
store i8*null,i8**%g,align 8
%as=call fastcc i8*%R(i8*inreg%aq,i8*inreg%ar)
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=icmp eq i32%au,0
br i1%av,label%D,label%aw
aw:
%ax=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ay=sext i32%B to i64
%az=getelementptr inbounds i8,i8*%ax,i64%ay
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
br label%h
}
define internal fastcc i8*@_SMLL4find_337(i8*inreg%a,i8*inreg%b,i8*inreg%c)#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*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
br label%h
h:
%i=phi i8*[%bs,%bn],[%c,%j]
store i8*%i,i8**%d,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%d,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%i,%h]
%q=load i8*,i8**%f,align 8
%r=getelementptr inbounds i8,i8*%q,i64 4
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,3
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=add i32%z,15
%B=and i32%A,-8
%C=bitcast i8*%q to i32*
%D=load i32,i32*%C,align 4
%E=icmp eq i8*%p,null
br i1%E,label%F,label%H
F:
%G=phi i8*[null,%o],[%N,%H]
ret i8*%G
H:
%I=load i8*,i8**%e,align 8
%J=sext i32%z to i64
%K=getelementptr inbounds i8,i8*%p,i64%J
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=call fastcc i8*@_SMLL4find_337(i8*inreg%q,i8*inreg%I,i8*inreg%M)
%O=icmp eq i8*%N,null
br i1%O,label%P,label%F
P:
%Q=load i8*,i8**%e,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%g,align 8
%W=load i8*,i8**%f,align 8
%X=bitcast i8*%W to i32*
%Y=load i32,i32*%X,align 4
%Z=icmp eq i32%Y,0
br i1%Z,label%ag,label%aa
aa:
%ab=load i8*,i8**%d,align 8
%ac=sext i32%w to i64
%ad=getelementptr inbounds i8,i8*%ab,i64%ac
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
br label%ar
ag:
%ah=getelementptr inbounds i8,i8*%W,i64 4
%ai=bitcast i8*%ah to i32*
%aj=load i32,i32*%ai,align 4
%ak=call i8*@sml_alloc(i32 inreg%aj)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32%aj,i32*%am,align 4
%an=load i8*,i8**%d,align 8
%ao=sext i32%w to i64
%ap=getelementptr inbounds i8,i8*%an,i64%ao
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ak,i8*%ap,i32%aj,i1 false)
%aq=load i8*,i8**%g,align 8
br label%ar
ar:
%as=phi i8*[%V,%aa],[%aq,%ag]
%at=phi i8*[%af,%aa],[%ak,%ag]
store i8*null,i8**%g,align 8
%au=call fastcc i8*%T(i8*inreg%as,i8*inreg%at)
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
%ax=icmp eq i32%aw,0
br i1%ax,label%bn,label%ay
ay:
%az=add i32%t,-1
%aA=and i32%az,%v
%aB=add i32%x,%aA
%aC=and i32%aB,-8
%aD=or i32%aC,4
store i8*null,i8**%e,align 8
%aE=load i8*,i8**%f,align 8
%aF=bitcast i8*%aE to i32*
%aG=load i32,i32*%aF,align 4
%aH=icmp eq i32%aG,0
br i1%aH,label%aO,label%aI
aI:
%aJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aK=sext i32%w to i64
%aL=getelementptr inbounds i8,i8*%aJ,i64%aK
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
br label%a0
aO:
%aP=getelementptr inbounds i8,i8*%aE,i64 4
%aQ=bitcast i8*%aP to i32*
%aR=load i32,i32*%aQ,align 4
%aS=call i8*@sml_alloc(i32 inreg%aR)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32%aR,i32*%aU,align 4
%aV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aW=sext i32%w to i64
%aX=getelementptr inbounds i8,i8*%aV,i64%aW
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aS,i8*%aX,i32%aR,i1 false)
%aY=load i8*,i8**%f,align 8
%aZ=bitcast i8*%aY to i32*
br label%a0
a0:
%a1=phi i32*[%aZ,%aO],[%aF,%aI]
%a2=phi i8*[%aY,%aO],[%aE,%aI]
%a3=phi i8*[%aS,%aO],[%aN,%aI]
store i8*%a3,i8**%d,align 8
%a4=getelementptr inbounds i8,i8*%a2,i64 4
%a5=bitcast i8*%a4 to i32*
%a6=load i32,i32*%a5,align 4
store i8*null,i8**%f,align 8
%a7=load i32,i32*%a1,align 4
%a8=call i8*@sml_alloc(i32 inreg%aD)#0
%a9=or i32%aC,1342177280
%ba=getelementptr inbounds i8,i8*%a8,i64 -4
%bb=bitcast i8*%ba to i32*
store i32%a9,i32*%bb,align 4
call void@llvm.memset.p0i8.i32(i8*%a8,i8 0,i32%aD,i1 false)
%bc=icmp eq i32%a7,0
%bd=load i8*,i8**%d,align 8
%be=sext i32%aA to i64
%bf=getelementptr inbounds i8,i8*%a8,i64%be
br i1%bc,label%bi,label%bg
bg:
%bh=bitcast i8*%bf to i8**
store i8*%bd,i8**%bh,align 8
br label%bj
bi:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bf,i8*%bd,i32%a6,i1 false)
br label%bj
bj:
%bk=sext i32%aC to i64
%bl=getelementptr inbounds i8,i8*%a8,i64%bk
%bm=bitcast i8*%bl to i32*
store i32%D,i32*%bm,align 4
ret i8*%a8
bn:
%bo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bp=sext i32%B to i64
%bq=getelementptr inbounds i8,i8*%bo,i64%bp
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
br label%h
}
define internal fastcc i8*@_SMLL3add_338(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLL3add_266(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLL4add_G_339(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 12
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=add i32%p,-1
%r=sub i32 0,%p
%s=and i32%q,%r
%t=add i32%p,7
%u=add i32%t,%s
%v=and i32%u,-8
%w=and i32%t,%r
%x=add i32%t,%w
%y=and i32%x,-8
%z=lshr i32%w,3
%A=getelementptr inbounds i8,i8*%l,i64 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=shl i32%C,%z
%E=or i32%D,1
%F=or i32%y,4
%G=icmp eq i32%C,0
br i1%G,label%O,label%H
H:
%I=bitcast i8*%l to i8**
%J=load i8*,i8**%c,align 8
%K=sext i32%s to i64
%L=getelementptr inbounds i8,i8*%J,i64%K
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
br label%Y
O:
%P=call i8*@sml_alloc(i32 inreg%p)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32%p,i32*%R,align 4
%S=load i8*,i8**%c,align 8
%T=sext i32%s to i64
%U=getelementptr inbounds i8,i8*%S,i64%T
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%P,i8*%U,i32%p,i1 false)
%V=bitcast i8**%e to i8***
%W=load i8**,i8***%V,align 8
%X=bitcast i8**%W to i8*
br label%Y
Y:
%Z=phi i8*[%X,%O],[%l,%H]
%aa=phi i8**[%W,%O],[%I,%H]
%ab=phi i8*[%S,%O],[%J,%H]
%ac=phi i8*[%P,%O],[%N,%H]
store i8*%ac,i8**%d,align 8
%ad=sext i32%v to i64
%ae=getelementptr inbounds i8,i8*%ab,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=load i8*,i8**%aa,align 8
store i8*%ah,i8**%f,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 12
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
store i8*null,i8**%e,align 8
%al=getelementptr inbounds i8*,i8**%aa,i64 1
%am=bitcast i8**%al to i32*
%an=load i32,i32*%am,align 4
%ao=call i8*@sml_alloc(i32 inreg%F)#0
%ap=or i32%y,1342177280
%aq=getelementptr inbounds i8,i8*%ao,i64 -4
%ar=bitcast i8*%aq to i32*
store i32%ap,i32*%ar,align 4
call void@llvm.memset.p0i8.i32(i8*%ao,i8 0,i32%F,i1 false)
%as=load i8*,i8**%c,align 8
%at=bitcast i8*%ao to i8**
store i8*%as,i8**%at,align 8
%au=icmp eq i32%an,0
%av=load i8*,i8**%d,align 8
%aw=sext i32%w to i64
%ax=getelementptr inbounds i8,i8*%ao,i64%aw
br i1%au,label%aA,label%ay
ay:
%az=bitcast i8*%ax to i8**
store i8*%av,i8**%az,align 8
br label%aB
aA:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ax,i8*%av,i32%ak,i1 false)
br label%aB
aB:
%aC=sext i32%y to i64
%aD=getelementptr inbounds i8,i8*%ao,i64%aC
%aE=bitcast i8*%aD to i32*
store i32%E,i32*%aE,align 4
%aF=load i8*,i8**%f,align 8
%aG=tail call fastcc i8*@_SMLL3add_266(i8*inreg%aF,i8*inreg%ao)
ret i8*%aG
}
define internal fastcc i32@_SMLL3all_340(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i32@_SMLL3all_336(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i32%s
}
define internal fastcc i8*@_SMLL3all_341(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL3all_340 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3all_393 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL3app_342(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i8*,i8**%n,align 8
%q=call fastcc i8*@_SMLL3app_317(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLL6delete_343(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLL6delete_302(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLL10difference_344(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLL10difference_305(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i32@_SMLL6exists_345(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i32@_SMLL6exists_335(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i32%s
}
define internal fastcc i8*@_SMLL6exists_346(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL6exists_345 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6exists_394 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL4find_347(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLL4find_337(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLL4find_348(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4find_347 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4find_347 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL5foldl_349(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
store i8*null,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLL5foldl_322(i8*inreg%m,i32 inreg%p,i32 inreg%s)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
ret i8*%A
}
define internal fastcc i8*@_SMLL5foldl_350(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%b,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%c,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 1,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=load i8*,i8**%e,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_349 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldl_349 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
ret i8*%s
}
define internal fastcc i8*@_SMLL5foldr_351(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
store i8*null,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLL5foldr_327(i8*inreg%m,i32 inreg%p,i32 inreg%s)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
ret i8*%A
}
define internal fastcc i8*@_SMLL5foldr_352(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%b,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%c,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 1,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=load i8*,i8**%e,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_351 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5foldr_351 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
ret i8*%s
}
define internal fastcc i8*@_SMLL8fromList_353(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%d,align 8
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177296,i32*%q,align 4
%r=bitcast i8*%o to i8**
store i8*null,i8**%r,align 8
%s=load i8*,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%o,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i32*
store i32 3,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*@_SMLL7addList_286(i8*inreg%x,i8*inreg%o)
ret i8*%y
}
define internal fastcc i8*@_SMLL12intersection_354(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLL12intersection_304(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i32@_SMLL7isEmpty_355(i8*inreg%a)#4 gc"smlsharp"{
%b=icmp eq i8*%a,null
%c=zext i1%b to i32
ret i32%c
}
define internal fastcc i8*@_SMLL9listItems_357(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLL9listItems_359(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLL5foldr_327(i8*inreg%n,i32 inreg 1,i32 inreg 8)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*%r(i8*inreg%t,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*))
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*%x(i8*inreg%z,i8*inreg null)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
%G=load i8*,i8**%c,align 8
%H=tail call fastcc i8*%D(i8*inreg%F,i8*inreg%G)
ret i8*%H
}
define internal fastcc i8*@_SMLL7maxItem_360(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLL7maxItem_253(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLL7minItem_361(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLL7minItem_251(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i32@_SMLL8numItems_362(i8*inreg%a)#4 gc"smlsharp"{
%b=icmp eq i8*%a,null
br i1%b,label%c,label%d
c:
ret i32 0
d:
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
ret i32%f
}
define internal fastcc i8*@_SMLL9singleton_364(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%b,i8**%c,align 8
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add i32%f,3
%h=sub i32 0,%f
%i=and i32%g,%h
%j=add i32%f,7
%k=add i32%j,%i
%l=and i32%k,-8
%m=add i32%l,15
%n=and i32%m,-8
%o=add i32%n,15
%p=and i32%o,-8
%q=lshr i32%m,3
%r=lshr i32%k,3
%s=sub nsw i32%q,%r
%t=lshr i32%i,3
%u=sub nsw i32%r,%t
%v=shl i32 1,%s
%w=or i32%v,1
%x=shl i32%w,%u
%y=bitcast i8*%a to i32*
%z=load i32,i32*%y,align 4
%A=or i32%x,%z
%B=shl i32%A,%t
%C=or i32%p,4
%D=call i8*@sml_alloc(i32 inreg%C)#0
%E=or i32%p,1342177280
%F=bitcast i8*%D to i32*
%G=getelementptr inbounds i8,i8*%D,i64 -4
%H=bitcast i8*%G to i32*
store i32%E,i32*%H,align 4
call void@llvm.memset.p0i8.i32(i8*%D,i8 0,i32%C,i1 false)
store i32 1,i32*%F,align 4
%I=icmp eq i32%z,0
%J=load i8*,i8**%c,align 8
%K=sext i32%i to i64
%L=getelementptr inbounds i8,i8*%D,i64%K
br i1%I,label%O,label%M
M:
%N=bitcast i8*%L to i8**
store i8*%J,i8**%N,align 8
br label%P
O:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%L,i8*%J,i32%f,i1 false)
br label%P
P:
%Q=sext i32%l to i64
%R=getelementptr inbounds i8,i8*%D,i64%Q
%S=bitcast i8*%R to i8**
store i8*null,i8**%S,align 8
%T=sext i32%n to i64
%U=getelementptr inbounds i8,i8*%D,i64%T
%V=bitcast i8*%U to i8**
store i8*null,i8**%V,align 8
%W=sext i32%p to i64
%X=getelementptr inbounds i8,i8*%D,i64%W
%Y=bitcast i8*%X to i32*
store i32%B,i32*%Y,align 4
ret i8*%D
}
define internal fastcc i8*@_SMLL9subtract_G_365(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 12
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=add i32%p,-1
%r=sub i32 0,%p
%s=and i32%q,%r
%t=add i32%p,7
%u=add i32%t,%s
%v=and i32%u,-8
%w=and i32%t,%r
%x=add i32%t,%w
%y=and i32%x,-8
%z=lshr i32%w,3
%A=getelementptr inbounds i8,i8*%l,i64 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=shl i32%C,%z
%E=or i32%D,1
%F=or i32%y,4
%G=icmp eq i32%C,0
br i1%G,label%O,label%H
H:
%I=bitcast i8*%l to i8**
%J=load i8*,i8**%c,align 8
%K=sext i32%s to i64
%L=getelementptr inbounds i8,i8*%J,i64%K
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
br label%Y
O:
%P=call i8*@sml_alloc(i32 inreg%p)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32%p,i32*%R,align 4
%S=load i8*,i8**%c,align 8
%T=sext i32%s to i64
%U=getelementptr inbounds i8,i8*%S,i64%T
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%P,i8*%U,i32%p,i1 false)
%V=bitcast i8**%e to i8***
%W=load i8**,i8***%V,align 8
%X=bitcast i8**%W to i8*
br label%Y
Y:
%Z=phi i8*[%X,%O],[%l,%H]
%aa=phi i8**[%W,%O],[%I,%H]
%ab=phi i8*[%S,%O],[%J,%H]
%ac=phi i8*[%P,%O],[%N,%H]
store i8*%ac,i8**%d,align 8
%ad=sext i32%v to i64
%ae=getelementptr inbounds i8,i8*%ab,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=load i8*,i8**%aa,align 8
store i8*%ah,i8**%f,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 12
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
store i8*null,i8**%e,align 8
%al=getelementptr inbounds i8*,i8**%aa,i64 1
%am=bitcast i8**%al to i32*
%an=load i32,i32*%am,align 4
%ao=call i8*@sml_alloc(i32 inreg%F)#0
%ap=or i32%y,1342177280
%aq=getelementptr inbounds i8,i8*%ao,i64 -4
%ar=bitcast i8*%aq to i32*
store i32%ap,i32*%ar,align 4
call void@llvm.memset.p0i8.i32(i8*%ao,i8 0,i32%F,i1 false)
%as=load i8*,i8**%c,align 8
%at=bitcast i8*%ao to i8**
store i8*%as,i8**%at,align 8
%au=icmp eq i32%an,0
%av=load i8*,i8**%d,align 8
%aw=sext i32%w to i64
%ax=getelementptr inbounds i8,i8*%ao,i64%aw
br i1%au,label%aA,label%ay
ay:
%az=bitcast i8*%ax to i8**
store i8*%av,i8**%az,align 8
br label%aB
aA:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ax,i8*%av,i32%ak,i1 false)
br label%aB
aB:
%aC=sext i32%y to i64
%aD=getelementptr inbounds i8,i8*%ao,i64%aC
%aE=bitcast i8*%aD to i32*
store i32%E,i32*%aE,align 4
%aF=load i8*,i8**%f,align 8
%aG=tail call fastcc i8*@_SMLL8subtract_306(i8*inreg%aF,i8*inreg%ao)
ret i8*%aG
}
define internal fastcc i8*@_SMLL6toList_366(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLL6toList_368(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLL5foldr_327(i8*inreg%n,i32 inreg 1,i32 inreg 8)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*%r(i8*inreg%t,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*))
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*%x(i8*inreg%z,i8*inreg null)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
%G=load i8*,i8**%c,align 8
%H=tail call fastcc i8*%D(i8*inreg%F,i8*inreg%G)
ret i8*%H
}
define internal fastcc i8*@_SMLLN11BinarySetFn5foldlE_369(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
store i8*null,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLL5foldl_350(i8*inreg%m,i32 inreg%p,i32 inreg%s)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
ret i8*%A
}
define internal fastcc i8*@_SMLLN11BinarySetFn5foldlE_370(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%b,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%c,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 1,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=load i8*,i8**%e,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11BinarySetFn5foldlE_369 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11BinarySetFn5foldlE_369 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
ret i8*%s
}
define internal fastcc i8*@_SMLLN11BinarySetFn5foldrE_371(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
store i8*null,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLL5foldr_352(i8*inreg%m,i32 inreg%p,i32 inreg%s)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
ret i8*%A
}
define internal fastcc i8*@_SMLLN11BinarySetFn5foldrE_372(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%b,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%c,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 1,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=load i8*,i8**%e,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11BinarySetFn5foldrE_371 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11BinarySetFn5foldrE_371 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
ret i8*%s
}
define internal fastcc i8*@_SMLLN1__11BinarySetFnE_373(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
%t=alloca i8*,align 8
%u=alloca i8*,align 8
%v=alloca i8*,align 8
%w=alloca i8*,align 8
%x=alloca i8*,align 8
%y=alloca i8*,align 8
%z=alloca i8*,align 8
%A=alloca i8*,align 8
%B=alloca i8*,align 8
%C=alloca i8*,align 8
%D=alloca i8*,align 8
%E=alloca i8*,align 8
%F=alloca i8*,align 8
%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**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
call void@llvm.gcroot(i8**%s,i8*null)#0
call void@llvm.gcroot(i8**%t,i8*null)#0
call void@llvm.gcroot(i8**%u,i8*null)#0
call void@llvm.gcroot(i8**%v,i8*null)#0
call void@llvm.gcroot(i8**%w,i8*null)#0
call void@llvm.gcroot(i8**%x,i8*null)#0
call void@llvm.gcroot(i8**%y,i8*null)#0
call void@llvm.gcroot(i8**%z,i8*null)#0
call void@llvm.gcroot(i8**%A,i8*null)#0
call void@llvm.gcroot(i8**%B,i8*null)#0
call void@llvm.gcroot(i8**%C,i8*null)#0
call void@llvm.gcroot(i8**%D,i8*null)#0
call void@llvm.gcroot(i8**%E,i8*null)#0
call void@llvm.gcroot(i8**%F,i8*null)#0
call void@llvm.gcroot(i8**%G,i8*null)#0
call void@llvm.gcroot(i8**%H,i8*null)#0
call void@llvm.gcroot(i8**%I,i8*null)#0
call void@llvm.gcroot(i8**%J,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%K=bitcast i8*%a to i32*
%L=load i32,i32*%K,align 4
%M=getelementptr inbounds i8,i8*%a,i64 4
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=call i8*@sml_alloc(i32 inreg 12)#0
%Q=bitcast i8*%P to i32*
%R=getelementptr inbounds i8,i8*%P,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177288,i32*%S,align 4
store i8*%P,i8**%e,align 8
store i32%L,i32*%Q,align 4
%T=getelementptr inbounds i8,i8*%P,i64 4
%U=bitcast i8*%T to i32*
store i32%O,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%P,i64 8
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%e,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minItem_251 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minItem_251 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=getelementptr inbounds i8,i8*%ai,i64 4
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=call i8*@sml_alloc(i32 inreg 12)#0
%ap=bitcast i8*%ao to i32*
%aq=getelementptr inbounds i8,i8*%ao,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177288,i32*%ar,align 4
store i8*%ao,i8**%f,align 8
store i32%ak,i32*%ap,align 4
%as=getelementptr inbounds i8,i8*%ao,i64 4
%at=bitcast i8*%as to i32*
store i32%an,i32*%at,align 4
%au=getelementptr inbounds i8,i8*%ao,i64 8
%av=bitcast i8*%au to i32*
store i32 0,i32*%av,align 4
%aw=call i8*@sml_alloc(i32 inreg 28)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177304,i32*%ay,align 4
%az=load i8*,i8**%f,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7maxItem_253 to void(...)*),void(...)**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7maxItem_253 to void(...)*),void(...)**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aw,i64 24
%aG=bitcast i8*%aF to i32*
store i32 1,i32*%aG,align 4
%aH=load i8*,i8**%d,align 8
%aI=bitcast i8*%aH to i32*
%aJ=load i32,i32*%aI,align 4
%aK=getelementptr inbounds i8,i8*%aH,i64 4
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
%aN=call i8*@sml_alloc(i32 inreg 12)#0
%aO=bitcast i8*%aN to i32*
%aP=getelementptr inbounds i8,i8*%aN,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177288,i32*%aQ,align 4
store i8*%aN,i8**%g,align 8
store i32%aJ,i32*%aO,align 4
%aR=getelementptr inbounds i8,i8*%aN,i64 4
%aS=bitcast i8*%aR to i32*
store i32%aM,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aN,i64 8
%aU=bitcast i8*%aT to i32*
store i32 0,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 28)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177304,i32*%aX,align 4
%aY=load i8*,i8**%g,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aV,i64 8
%a1=bitcast i8*%a0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3mkT_255 to void(...)*),void(...)**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 16
%a3=bitcast i8*%a2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3mkT_255 to void(...)*),void(...)**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aV,i64 24
%a5=bitcast i8*%a4 to i32*
store i32 -2147483647,i32*%a5,align 4
%a6=load i8*,i8**%d,align 8
%a7=bitcast i8*%a6 to i32*
%a8=load i32,i32*%a7,align 4
%a9=getelementptr inbounds i8,i8*%a6,i64 4
%ba=bitcast i8*%a9 to i32*
%bb=load i32,i32*%ba,align 4
%bc=call i8*@sml_alloc(i32 inreg 20)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177296,i32*%be,align 4
store i8*%bc,i8**%h,align 8
%bf=load i8*,i8**%g,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%bc,i64 8
%bi=bitcast i8*%bh to i32*
store i32%a8,i32*%bi,align 4
%bj=getelementptr inbounds i8,i8*%bc,i64 12
%bk=bitcast i8*%bj to i32*
store i32%bb,i32*%bk,align 4
%bl=getelementptr inbounds i8,i8*%bc,i64 16
%bm=bitcast i8*%bl to i32*
store i32 1,i32*%bm,align 4
%bn=call i8*@sml_alloc(i32 inreg 28)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177304,i32*%bp,align 4
%bq=load i8*,i8**%h,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bn,i64 8
%bt=bitcast i8*%bs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1N_256 to void(...)*),void(...)**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bn,i64 16
%bv=bitcast i8*%bu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1N_256 to void(...)*),void(...)**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bn,i64 24
%bx=bitcast i8*%bw to i32*
store i32 -2147483647,i32*%bx,align 4
%by=load i8*,i8**%d,align 8
%bz=bitcast i8*%by to i32*
%bA=load i32,i32*%bz,align 4
%bB=getelementptr inbounds i8,i8*%by,i64 4
%bC=bitcast i8*%bB to i32*
%bD=load i32,i32*%bC,align 4
%bE=call i8*@sml_alloc(i32 inreg 20)#0
%bF=getelementptr inbounds i8,i8*%bE,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 1342177296,i32*%bG,align 4
store i8*%bE,i8**%i,align 8
%bH=load i8*,i8**%h,align 8
%bI=bitcast i8*%bE to i8**
store i8*%bH,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bE,i64 8
%bK=bitcast i8*%bJ to i32*
store i32%bA,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bE,i64 12
%bM=bitcast i8*%bL to i32*
store i32%bD,i32*%bM,align 4
%bN=getelementptr inbounds i8,i8*%bE,i64 16
%bO=bitcast i8*%bN to i32*
store i32 1,i32*%bO,align 4
%bP=call i8*@sml_alloc(i32 inreg 28)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177304,i32*%bR,align 4
%bS=load i8*,i8**%i,align 8
%bT=bitcast i8*%bP to i8**
store i8*%bS,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bP,i64 8
%bV=bitcast i8*%bU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8single__L_258 to void(...)*),void(...)**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bP,i64 16
%bX=bitcast i8*%bW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8single__L_258 to void(...)*),void(...)**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bP,i64 24
%bZ=bitcast i8*%bY to i32*
store i32 -2147483647,i32*%bZ,align 4
%b0=load i8*,i8**%d,align 8
%b1=bitcast i8*%b0 to i32*
%b2=load i32,i32*%b1,align 4
%b3=getelementptr inbounds i8,i8*%b0,i64 4
%b4=bitcast i8*%b3 to i32*
%b5=load i32,i32*%b4,align 4
%b6=call i8*@sml_alloc(i32 inreg 20)#0
%b7=getelementptr inbounds i8,i8*%b6,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177296,i32*%b8,align 4
store i8*%b6,i8**%j,align 8
%b9=load i8*,i8**%h,align 8
%ca=bitcast i8*%b6 to i8**
store i8*%b9,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b6,i64 8
%cc=bitcast i8*%cb to i32*
store i32%b2,i32*%cc,align 4
%cd=getelementptr inbounds i8,i8*%b6,i64 12
%ce=bitcast i8*%cd to i32*
store i32%b5,i32*%ce,align 4
%cf=getelementptr inbounds i8,i8*%b6,i64 16
%cg=bitcast i8*%cf to i32*
store i32 1,i32*%cg,align 4
%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
%ck=load i8*,i8**%j,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8single__R_260 to void(...)*),void(...)**%cn,align 8
%co=getelementptr inbounds i8,i8*%ch,i64 16
%cp=bitcast i8*%co to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8single__R_260 to void(...)*),void(...)**%cp,align 8
%cq=getelementptr inbounds i8,i8*%ch,i64 24
%cr=bitcast i8*%cq to i32*
store i32 -2147483647,i32*%cr,align 4
%cs=load i8*,i8**%d,align 8
%ct=bitcast i8*%cs to i32*
%cu=load i32,i32*%ct,align 4
%cv=getelementptr inbounds i8,i8*%cs,i64 4
%cw=bitcast i8*%cv to i32*
%cx=load i32,i32*%cw,align 4
%cy=call i8*@sml_alloc(i32 inreg 20)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177296,i32*%cA,align 4
store i8*%cy,i8**%k,align 8
%cB=load i8*,i8**%h,align 8
%cC=bitcast i8*%cy to i8**
store i8*%cB,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cy,i64 8
%cE=bitcast i8*%cD to i32*
store i32%cu,i32*%cE,align 4
%cF=getelementptr inbounds i8,i8*%cy,i64 12
%cG=bitcast i8*%cF to i32*
store i32%cx,i32*%cG,align 4
%cH=getelementptr inbounds i8,i8*%cy,i64 16
%cI=bitcast i8*%cH to i32*
store i32 1,i32*%cI,align 4
%cJ=call i8*@sml_alloc(i32 inreg 28)#0
%cK=getelementptr inbounds i8,i8*%cJ,i64 -4
%cL=bitcast i8*%cK to i32*
store i32 1342177304,i32*%cL,align 4
%cM=load i8*,i8**%k,align 8
%cN=bitcast i8*%cJ to i8**
store i8*%cM,i8**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cJ,i64 8
%cP=bitcast i8*%cO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8double__L_262 to void(...)*),void(...)**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cJ,i64 16
%cR=bitcast i8*%cQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8double__L_262 to void(...)*),void(...)**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cJ,i64 24
%cT=bitcast i8*%cS to i32*
store i32 -2147483647,i32*%cT,align 4
%cU=load i8*,i8**%d,align 8
%cV=bitcast i8*%cU to i32*
%cW=load i32,i32*%cV,align 4
%cX=getelementptr inbounds i8,i8*%cU,i64 4
%cY=bitcast i8*%cX to i32*
%cZ=load i32,i32*%cY,align 4
%c0=call i8*@sml_alloc(i32 inreg 20)#0
%c1=getelementptr inbounds i8,i8*%c0,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32 1342177296,i32*%c2,align 4
store i8*%c0,i8**%l,align 8
%c3=load i8*,i8**%h,align 8
%c4=bitcast i8*%c0 to i8**
store i8*%c3,i8**%c4,align 8
%c5=getelementptr inbounds i8,i8*%c0,i64 8
%c6=bitcast i8*%c5 to i32*
store i32%cW,i32*%c6,align 4
%c7=getelementptr inbounds i8,i8*%c0,i64 12
%c8=bitcast i8*%c7 to i32*
store i32%cZ,i32*%c8,align 4
%c9=getelementptr inbounds i8,i8*%c0,i64 16
%da=bitcast i8*%c9 to i32*
store i32 1,i32*%da,align 4
%db=call i8*@sml_alloc(i32 inreg 28)#0
%dc=getelementptr inbounds i8,i8*%db,i64 -4
%dd=bitcast i8*%dc to i32*
store i32 1342177304,i32*%dd,align 4
%de=load i8*,i8**%l,align 8
%df=bitcast i8*%db to i8**
store i8*%de,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%db,i64 8
%dh=bitcast i8*%dg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8double__R_264 to void(...)*),void(...)**%dh,align 8
%di=getelementptr inbounds i8,i8*%db,i64 16
%dj=bitcast i8*%di to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8double__R_264 to void(...)*),void(...)**%dj,align 8
%dk=getelementptr inbounds i8,i8*%db,i64 24
%dl=bitcast i8*%dk to i32*
store i32 -2147483647,i32*%dl,align 4
%dm=load i8*,i8**%d,align 8
%dn=bitcast i8*%dm to i32*
%do=load i32,i32*%dn,align 4
%dp=getelementptr inbounds i8,i8*%dm,i64 4
%dq=bitcast i8*%dp to i32*
%dr=load i32,i32*%dq,align 4
%ds=call i8*@sml_alloc(i32 inreg 52)#0
%dt=getelementptr inbounds i8,i8*%ds,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177328,i32*%du,align 4
store i8*%ds,i8**%m,align 8
%dv=load i8*,i8**%g,align 8
%dw=bitcast i8*%ds to i8**
store i8*%dv,i8**%dw,align 8
%dx=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dy=getelementptr inbounds i8,i8*%ds,i64 8
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dB=getelementptr inbounds i8,i8*%ds,i64 16
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dE=getelementptr inbounds i8,i8*%ds,i64 24
%dF=bitcast i8*%dE to i8**
store i8*%dD,i8**%dF,align 8
%dG=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dH=getelementptr inbounds i8,i8*%ds,i64 32
%dI=bitcast i8*%dH to i8**
store i8*%dG,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%ds,i64 40
%dK=bitcast i8*%dJ to i32*
store i32%do,i32*%dK,align 4
%dL=getelementptr inbounds i8,i8*%ds,i64 44
%dM=bitcast i8*%dL to i32*
store i32%dr,i32*%dM,align 4
%dN=getelementptr inbounds i8,i8*%ds,i64 48
%dO=bitcast i8*%dN to i32*
store i32 31,i32*%dO,align 4
%dP=call i8*@sml_alloc(i32 inreg 28)#0
%dQ=getelementptr inbounds i8,i8*%dP,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177304,i32*%dR,align 4
%dS=load i8*,i8**%m,align 8
%dT=bitcast i8*%dP to i8**
store i8*%dS,i8**%dT,align 8
%dU=getelementptr inbounds i8,i8*%dP,i64 8
%dV=bitcast i8*%dU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL2T_G_265 to void(...)*),void(...)**%dV,align 8
%dW=getelementptr inbounds i8,i8*%dP,i64 16
%dX=bitcast i8*%dW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL2T_G_265 to void(...)*),void(...)**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dP,i64 24
%dZ=bitcast i8*%dY to i32*
store i32 -2147483647,i32*%dZ,align 4
%d0=load i8*,i8**%d,align 8
%d1=bitcast i8*%d0 to i32*
%d2=load i32,i32*%d1,align 4
%d3=getelementptr inbounds i8,i8*%d0,i64 4
%d4=bitcast i8*%d3 to i32*
%d5=load i32,i32*%d4,align 4
%d6=call i8*@sml_alloc(i32 inreg 36)#0
%d7=getelementptr inbounds i8,i8*%d6,i64 -4
%d8=bitcast i8*%d7 to i32*
store i32 1342177312,i32*%d8,align 4
store i8*%d6,i8**%i,align 8
%d9=load i8*,i8**%c,align 8
%ea=bitcast i8*%d6 to i8**
store i8*%d9,i8**%ea,align 8
%eb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ec=getelementptr inbounds i8,i8*%d6,i64 8
%ed=bitcast i8*%ec to i8**
store i8*%eb,i8**%ed,align 8
%ee=load i8*,i8**%m,align 8
%ef=getelementptr inbounds i8,i8*%d6,i64 16
%eg=bitcast i8*%ef to i8**
store i8*%ee,i8**%eg,align 8
%eh=getelementptr inbounds i8,i8*%d6,i64 24
%ei=bitcast i8*%eh to i32*
store i32%d2,i32*%ei,align 4
%ej=getelementptr inbounds i8,i8*%d6,i64 28
%ek=bitcast i8*%ej to i32*
store i32%d5,i32*%ek,align 4
%el=getelementptr inbounds i8,i8*%d6,i64 32
%em=bitcast i8*%el to i32*
store i32 7,i32*%em,align 4
%en=call i8*@sml_alloc(i32 inreg 28)#0
%eo=getelementptr inbounds i8,i8*%en,i64 -4
%ep=bitcast i8*%eo to i32*
store i32 1342177304,i32*%ep,align 4
%eq=load i8*,i8**%i,align 8
%er=bitcast i8*%en to i8**
store i8*%eq,i8**%er,align 8
%es=getelementptr inbounds i8,i8*%en,i64 8
%et=bitcast i8*%es to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3add_266 to void(...)*),void(...)**%et,align 8
%eu=getelementptr inbounds i8,i8*%en,i64 16
%ev=bitcast i8*%eu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3add_266 to void(...)*),void(...)**%ev,align 8
%ew=getelementptr inbounds i8,i8*%en,i64 24
%ex=bitcast i8*%ew to i32*
store i32 -2147483647,i32*%ex,align 4
%ey=load i8*,i8**%d,align 8
%ez=bitcast i8*%ey to i32*
%eA=load i32,i32*%ez,align 4
%eB=getelementptr inbounds i8,i8*%ey,i64 4
%eC=bitcast i8*%eB to i32*
%eD=load i32,i32*%eC,align 4
%eE=call i8*@sml_alloc(i32 inreg 36)#0
%eF=getelementptr inbounds i8,i8*%eE,i64 -4
%eG=bitcast i8*%eF to i32*
store i32 1342177312,i32*%eG,align 4
store i8*%eE,i8**%g,align 8
%eH=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eI=bitcast i8*%eE to i8**
store i8*%eH,i8**%eI,align 8
%eJ=load i8*,i8**%m,align 8
%eK=getelementptr inbounds i8,i8*%eE,i64 8
%eL=bitcast i8*%eK to i8**
store i8*%eJ,i8**%eL,align 8
%eM=load i8*,i8**%i,align 8
%eN=getelementptr inbounds i8,i8*%eE,i64 16
%eO=bitcast i8*%eN to i8**
store i8*%eM,i8**%eO,align 8
%eP=getelementptr inbounds i8,i8*%eE,i64 24
%eQ=bitcast i8*%eP to i32*
store i32%eA,i32*%eQ,align 4
%eR=getelementptr inbounds i8,i8*%eE,i64 28
%eS=bitcast i8*%eR to i32*
store i32%eD,i32*%eS,align 4
%eT=getelementptr inbounds i8,i8*%eE,i64 32
%eU=bitcast i8*%eT to i32*
store i32 7,i32*%eU,align 4
%eV=call i8*@sml_alloc(i32 inreg 28)#0
%eW=getelementptr inbounds i8,i8*%eV,i64 -4
%eX=bitcast i8*%eW to i32*
store i32 1342177304,i32*%eX,align 4
%eY=load i8*,i8**%g,align 8
%eZ=bitcast i8*%eV to i8**
store i8*%eY,i8**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eV,i64 8
%e1=bitcast i8*%e0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7concat3_268 to void(...)*),void(...)**%e1,align 8
%e2=getelementptr inbounds i8,i8*%eV,i64 16
%e3=bitcast i8*%e2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7concat3_268 to void(...)*),void(...)**%e3,align 8
%e4=getelementptr inbounds i8,i8*%eV,i64 24
%e5=bitcast i8*%e4 to i32*
store i32 -2147483647,i32*%e5,align 4
%e6=load i8*,i8**%d,align 8
%e7=bitcast i8*%e6 to i32*
%e8=load i32,i32*%e7,align 4
%e9=getelementptr inbounds i8,i8*%e6,i64 4
%fa=bitcast i8*%e9 to i32*
%fb=load i32,i32*%fa,align 4
%fc=call i8*@sml_alloc(i32 inreg 28)#0
%fd=getelementptr inbounds i8,i8*%fc,i64 -4
%fe=bitcast i8*%fd to i32*
store i32 1342177304,i32*%fe,align 4
store i8*%fc,i8**%h,align 8
%ff=load i8*,i8**%c,align 8
%fg=bitcast i8*%fc to i8**
store i8*%ff,i8**%fg,align 8
%fh=load i8*,i8**%g,align 8
%fi=getelementptr inbounds i8,i8*%fc,i64 8
%fj=bitcast i8*%fi to i8**
store i8*%fh,i8**%fj,align 8
%fk=getelementptr inbounds i8,i8*%fc,i64 16
%fl=bitcast i8*%fk to i32*
store i32%e8,i32*%fl,align 4
%fm=getelementptr inbounds i8,i8*%fc,i64 20
%fn=bitcast i8*%fm to i32*
store i32%fb,i32*%fn,align 4
%fo=getelementptr inbounds i8,i8*%fc,i64 24
%fp=bitcast i8*%fo to i32*
store i32 3,i32*%fp,align 4
%fq=call i8*@sml_alloc(i32 inreg 28)#0
%fr=getelementptr inbounds i8,i8*%fq,i64 -4
%fs=bitcast i8*%fr to i32*
store i32 1342177304,i32*%fs,align 4
%ft=load i8*,i8**%h,align 8
%fu=bitcast i8*%fq to i8**
store i8*%ft,i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fq,i64 8
%fw=bitcast i8*%fv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8split__lt_269 to void(...)*),void(...)**%fw,align 8
%fx=getelementptr inbounds i8,i8*%fq,i64 16
%fy=bitcast i8*%fx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8split__lt_269 to void(...)*),void(...)**%fy,align 8
%fz=getelementptr inbounds i8,i8*%fq,i64 24
%fA=bitcast i8*%fz to i32*
store i32 -2147483647,i32*%fA,align 4
%fB=load i8*,i8**%d,align 8
%fC=bitcast i8*%fB to i32*
%fD=load i32,i32*%fC,align 4
%fE=getelementptr inbounds i8,i8*%fB,i64 4
%fF=bitcast i8*%fE to i32*
%fG=load i32,i32*%fF,align 4
%fH=call i8*@sml_alloc(i32 inreg 28)#0
%fI=getelementptr inbounds i8,i8*%fH,i64 -4
%fJ=bitcast i8*%fI to i32*
store i32 1342177304,i32*%fJ,align 4
store i8*%fH,i8**%j,align 8
%fK=load i8*,i8**%c,align 8
%fL=bitcast i8*%fH to i8**
store i8*%fK,i8**%fL,align 8
%fM=load i8*,i8**%g,align 8
%fN=getelementptr inbounds i8,i8*%fH,i64 8
%fO=bitcast i8*%fN to i8**
store i8*%fM,i8**%fO,align 8
%fP=getelementptr inbounds i8,i8*%fH,i64 16
%fQ=bitcast i8*%fP to i32*
store i32%fD,i32*%fQ,align 4
%fR=getelementptr inbounds i8,i8*%fH,i64 20
%fS=bitcast i8*%fR to i32*
store i32%fG,i32*%fS,align 4
%fT=getelementptr inbounds i8,i8*%fH,i64 24
%fU=bitcast i8*%fT to i32*
store i32 3,i32*%fU,align 4
%fV=call i8*@sml_alloc(i32 inreg 28)#0
%fW=getelementptr inbounds i8,i8*%fV,i64 -4
%fX=bitcast i8*%fW to i32*
store i32 1342177304,i32*%fX,align 4
%fY=load i8*,i8**%j,align 8
%fZ=bitcast i8*%fV to i8**
store i8*%fY,i8**%fZ,align 8
%f0=getelementptr inbounds i8,i8*%fV,i64 8
%f1=bitcast i8*%f0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8split__gt_270 to void(...)*),void(...)**%f1,align 8
%f2=getelementptr inbounds i8,i8*%fV,i64 16
%f3=bitcast i8*%f2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8split__gt_270 to void(...)*),void(...)**%f3,align 8
%f4=getelementptr inbounds i8,i8*%fV,i64 24
%f5=bitcast i8*%f4 to i32*
store i32 -2147483647,i32*%f5,align 4
%f6=load i8*,i8**%d,align 8
%f7=bitcast i8*%f6 to i32*
%f8=load i32,i32*%f7,align 4
%f9=getelementptr inbounds i8,i8*%f6,i64 4
%ga=bitcast i8*%f9 to i32*
%gb=load i32,i32*%ga,align 4
%gc=call i8*@sml_alloc(i32 inreg 12)#0
%gd=bitcast i8*%gc to i32*
%ge=getelementptr inbounds i8,i8*%gc,i64 -4
%gf=bitcast i8*%ge to i32*
store i32 1342177288,i32*%gf,align 4
store i8*%gc,i8**%k,align 8
store i32%f8,i32*%gd,align 4
%gg=getelementptr inbounds i8,i8*%gc,i64 4
%gh=bitcast i8*%gg to i32*
store i32%gb,i32*%gh,align 4
%gi=getelementptr inbounds i8,i8*%gc,i64 8
%gj=bitcast i8*%gi to i32*
store i32 0,i32*%gj,align 4
%gk=call i8*@sml_alloc(i32 inreg 28)#0
%gl=getelementptr inbounds i8,i8*%gk,i64 -4
%gm=bitcast i8*%gl to i32*
store i32 1342177304,i32*%gm,align 4
%gn=load i8*,i8**%k,align 8
%go=bitcast i8*%gk to i8**
store i8*%gn,i8**%go,align 8
%gp=getelementptr inbounds i8,i8*%gk,i64 8
%gq=bitcast i8*%gp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3min_271 to void(...)*),void(...)**%gq,align 8
%gr=getelementptr inbounds i8,i8*%gk,i64 16
%gs=bitcast i8*%gr to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3min_271 to void(...)*),void(...)**%gs,align 8
%gt=getelementptr inbounds i8,i8*%gk,i64 24
%gu=bitcast i8*%gt to i32*
store i32 1,i32*%gu,align 4
%gv=load i8*,i8**%d,align 8
%gw=bitcast i8*%gv to i32*
%gx=load i32,i32*%gw,align 4
%gy=getelementptr inbounds i8,i8*%gv,i64 4
%gz=bitcast i8*%gy to i32*
%gA=load i32,i32*%gz,align 4
%gB=call i8*@sml_alloc(i32 inreg 20)#0
%gC=getelementptr inbounds i8,i8*%gB,i64 -4
%gD=bitcast i8*%gC to i32*
store i32 1342177296,i32*%gD,align 4
store i8*%gB,i8**%l,align 8
%gE=load i8*,i8**%m,align 8
%gF=bitcast i8*%gB to i8**
store i8*%gE,i8**%gF,align 8
%gG=getelementptr inbounds i8,i8*%gB,i64 8
%gH=bitcast i8*%gG to i32*
store i32%gx,i32*%gH,align 4
%gI=getelementptr inbounds i8,i8*%gB,i64 12
%gJ=bitcast i8*%gI to i32*
store i32%gA,i32*%gJ,align 4
%gK=getelementptr inbounds i8,i8*%gB,i64 16
%gL=bitcast i8*%gK to i32*
store i32 1,i32*%gL,align 4
%gM=call i8*@sml_alloc(i32 inreg 28)#0
%gN=getelementptr inbounds i8,i8*%gM,i64 -4
%gO=bitcast i8*%gN to i32*
store i32 1342177304,i32*%gO,align 4
%gP=load i8*,i8**%l,align 8
%gQ=bitcast i8*%gM to i8**
store i8*%gP,i8**%gQ,align 8
%gR=getelementptr inbounds i8,i8*%gM,i64 8
%gS=bitcast i8*%gR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6delmin_273 to void(...)*),void(...)**%gS,align 8
%gT=getelementptr inbounds i8,i8*%gM,i64 16
%gU=bitcast i8*%gT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6delmin_273 to void(...)*),void(...)**%gU,align 8
%gV=getelementptr inbounds i8,i8*%gM,i64 24
%gW=bitcast i8*%gV to i32*
store i32 -2147483647,i32*%gW,align 4
%gX=load i8*,i8**%d,align 8
%gY=bitcast i8*%gX to i32*
%gZ=load i32,i32*%gY,align 4
%g0=getelementptr inbounds i8,i8*%gX,i64 4
%g1=bitcast i8*%g0 to i32*
%g2=load i32,i32*%g1,align 4
%g3=call i8*@sml_alloc(i32 inreg 36)#0
%g4=getelementptr inbounds i8,i8*%g3,i64 -4
%g5=bitcast i8*%g4 to i32*
store i32 1342177312,i32*%g5,align 4
store i8*%g3,i8**%n,align 8
%g6=load i8*,i8**%m,align 8
%g7=bitcast i8*%g3 to i8**
store i8*%g6,i8**%g7,align 8
%g8=load i8*,i8**%k,align 8
%g9=getelementptr inbounds i8,i8*%g3,i64 8
%ha=bitcast i8*%g9 to i8**
store i8*%g8,i8**%ha,align 8
%hb=load i8*,i8**%l,align 8
%hc=getelementptr inbounds i8,i8*%g3,i64 16
%hd=bitcast i8*%hc to i8**
store i8*%hb,i8**%hd,align 8
%he=getelementptr inbounds i8,i8*%g3,i64 24
%hf=bitcast i8*%he to i32*
store i32%gZ,i32*%hf,align 4
%hg=getelementptr inbounds i8,i8*%g3,i64 28
%hh=bitcast i8*%hg to i32*
store i32%g2,i32*%hh,align 4
%hi=getelementptr inbounds i8,i8*%g3,i64 32
%hj=bitcast i8*%hi to i32*
store i32 7,i32*%hj,align 4
%hk=call i8*@sml_alloc(i32 inreg 28)#0
%hl=getelementptr inbounds i8,i8*%hk,i64 -4
%hm=bitcast i8*%hl to i32*
store i32 1342177304,i32*%hm,align 4
%hn=load i8*,i8**%n,align 8
%ho=bitcast i8*%hk to i8**
store i8*%hn,i8**%ho,align 8
%hp=getelementptr inbounds i8,i8*%hk,i64 8
%hq=bitcast i8*%hp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7delete_G_275 to void(...)*),void(...)**%hq,align 8
%hr=getelementptr inbounds i8,i8*%hk,i64 16
%hs=bitcast i8*%hr to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7delete_G_275 to void(...)*),void(...)**%hs,align 8
%ht=getelementptr inbounds i8,i8*%hk,i64 24
%hu=bitcast i8*%ht to i32*
store i32 -2147483647,i32*%hu,align 4
%hv=load i8*,i8**%d,align 8
%hw=bitcast i8*%hv to i32*
%hx=load i32,i32*%hw,align 4
%hy=getelementptr inbounds i8,i8*%hv,i64 4
%hz=bitcast i8*%hy to i32*
%hA=load i32,i32*%hz,align 4
%hB=call i8*@sml_alloc(i32 inreg 36)#0
%hC=getelementptr inbounds i8,i8*%hB,i64 -4
%hD=bitcast i8*%hC to i32*
store i32 1342177312,i32*%hD,align 4
store i8*%hB,i8**%o,align 8
%hE=load i8*,i8**%m,align 8
%hF=bitcast i8*%hB to i8**
store i8*%hE,i8**%hF,align 8
%hG=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%hH=getelementptr inbounds i8,i8*%hB,i64 8
%hI=bitcast i8*%hH to i8**
store i8*%hG,i8**%hI,align 8
%hJ=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%hK=getelementptr inbounds i8,i8*%hB,i64 16
%hL=bitcast i8*%hK to i8**
store i8*%hJ,i8**%hL,align 8
%hM=getelementptr inbounds i8,i8*%hB,i64 24
%hN=bitcast i8*%hM to i32*
store i32%hx,i32*%hN,align 4
%hO=getelementptr inbounds i8,i8*%hB,i64 28
%hP=bitcast i8*%hO to i32*
store i32%hA,i32*%hP,align 4
%hQ=getelementptr inbounds i8,i8*%hB,i64 32
%hR=bitcast i8*%hQ to i32*
store i32 7,i32*%hR,align 4
%hS=call i8*@sml_alloc(i32 inreg 28)#0
%hT=getelementptr inbounds i8,i8*%hS,i64 -4
%hU=bitcast i8*%hT to i32*
store i32 1342177304,i32*%hU,align 4
%hV=load i8*,i8**%o,align 8
%hW=bitcast i8*%hS to i8**
store i8*%hV,i8**%hW,align 8
%hX=getelementptr inbounds i8,i8*%hS,i64 8
%hY=bitcast i8*%hX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6concat_276 to void(...)*),void(...)**%hY,align 8
%hZ=getelementptr inbounds i8,i8*%hS,i64 16
%h0=bitcast i8*%hZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6concat_276 to void(...)*),void(...)**%h0,align 8
%h1=getelementptr inbounds i8,i8*%hS,i64 24
%h2=bitcast i8*%h1 to i32*
store i32 -2147483647,i32*%h2,align 4
%h3=load i8*,i8**%d,align 8
%h4=bitcast i8*%h3 to i32*
%h5=load i32,i32*%h4,align 4
%h6=getelementptr inbounds i8,i8*%h3,i64 4
%h7=bitcast i8*%h6 to i32*
%h8=load i32,i32*%h7,align 4
%h9=call i8*@sml_alloc(i32 inreg 20)#0
%ia=getelementptr inbounds i8,i8*%h9,i64 -4
%ib=bitcast i8*%ia to i32*
store i32 1342177296,i32*%ib,align 4
store i8*%h9,i8**%k,align 8
%ic=load i8*,i8**%c,align 8
%id=bitcast i8*%h9 to i8**
store i8*%ic,i8**%id,align 8
%ie=getelementptr inbounds i8,i8*%h9,i64 8
%if=bitcast i8*%ie to i32*
store i32%h5,i32*%if,align 4
%ig=getelementptr inbounds i8,i8*%h9,i64 12
%ih=bitcast i8*%ig to i32*
store i32%h8,i32*%ih,align 4
%ii=getelementptr inbounds i8,i8*%h9,i64 16
%ij=bitcast i8*%ii to i32*
store i32 1,i32*%ij,align 4
%ik=call i8*@sml_alloc(i32 inreg 28)#0
%il=getelementptr inbounds i8,i8*%ik,i64 -4
%im=bitcast i8*%il to i32*
store i32 1342177304,i32*%im,align 4
%in=load i8*,i8**%k,align 8
%io=bitcast i8*%ik to i8**
store i8*%in,i8**%io,align 8
%ip=getelementptr inbounds i8,i8*%ik,i64 8
%iq=bitcast i8*%ip to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4trim_277 to void(...)*),void(...)**%iq,align 8
%ir=getelementptr inbounds i8,i8*%ik,i64 16
%is=bitcast i8*%ir to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4trim_277 to void(...)*),void(...)**%is,align 8
%it=getelementptr inbounds i8,i8*%ik,i64 24
%iu=bitcast i8*%it to i32*
store i32 -2147483647,i32*%iu,align 4
%iv=load i8*,i8**%d,align 8
%iw=bitcast i8*%iv to i32*
%ix=load i32,i32*%iw,align 4
%iy=getelementptr inbounds i8,i8*%iv,i64 4
%iz=bitcast i8*%iy to i32*
%iA=load i32,i32*%iz,align 4
%iB=call i8*@sml_alloc(i32 inreg 44)#0
%iC=getelementptr inbounds i8,i8*%iB,i64 -4
%iD=bitcast i8*%iC to i32*
store i32 1342177320,i32*%iD,align 4
store i8*%iB,i8**%l,align 8
%iE=load i8*,i8**%g,align 8
%iF=bitcast i8*%iB to i8**
store i8*%iE,i8**%iF,align 8
%iG=load i8*,i8**%h,align 8
%iH=getelementptr inbounds i8,i8*%iB,i64 8
%iI=bitcast i8*%iH to i8**
store i8*%iG,i8**%iI,align 8
%iJ=load i8*,i8**%j,align 8
%iK=getelementptr inbounds i8,i8*%iB,i64 16
%iL=bitcast i8*%iK to i8**
store i8*%iJ,i8**%iL,align 8
%iM=load i8*,i8**%k,align 8
%iN=getelementptr inbounds i8,i8*%iB,i64 24
%iO=bitcast i8*%iN to i8**
store i8*%iM,i8**%iO,align 8
%iP=getelementptr inbounds i8,i8*%iB,i64 32
%iQ=bitcast i8*%iP to i32*
store i32%ix,i32*%iQ,align 4
%iR=getelementptr inbounds i8,i8*%iB,i64 36
%iS=bitcast i8*%iR to i32*
store i32%iA,i32*%iS,align 4
%iT=getelementptr inbounds i8,i8*%iB,i64 40
%iU=bitcast i8*%iT to i32*
store i32 15,i32*%iU,align 4
%iV=call i8*@sml_alloc(i32 inreg 28)#0
%iW=getelementptr inbounds i8,i8*%iV,i64 -4
%iX=bitcast i8*%iW to i32*
store i32 1342177304,i32*%iX,align 4
%iY=load i8*,i8**%l,align 8
%iZ=bitcast i8*%iV to i8**
store i8*%iY,i8**%iZ,align 8
%i0=getelementptr inbounds i8,i8*%iV,i64 8
%i1=bitcast i8*%i0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6uni__bd_278 to void(...)*),void(...)**%i1,align 8
%i2=getelementptr inbounds i8,i8*%iV,i64 16
%i3=bitcast i8*%i2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6uni__bd_278 to void(...)*),void(...)**%i3,align 8
%i4=getelementptr inbounds i8,i8*%iV,i64 24
%i5=bitcast i8*%i4 to i32*
store i32 -2147483647,i32*%i5,align 4
%i6=load i8*,i8**%d,align 8
%i7=bitcast i8*%i6 to i32*
%i8=load i32,i32*%i7,align 4
%i9=getelementptr inbounds i8,i8*%i6,i64 4
%ja=bitcast i8*%i9 to i32*
%jb=load i32,i32*%ja,align 4
%jc=call i8*@sml_alloc(i32 inreg 20)#0
%jd=getelementptr inbounds i8,i8*%jc,i64 -4
%je=bitcast i8*%jd to i32*
store i32 1342177296,i32*%je,align 4
store i8*%jc,i8**%p,align 8
%jf=load i8*,i8**%c,align 8
%jg=bitcast i8*%jc to i8**
store i8*%jf,i8**%jg,align 8
%jh=getelementptr inbounds i8,i8*%jc,i64 8
%ji=bitcast i8*%jh to i32*
store i32%i8,i32*%ji,align 4
%jj=getelementptr inbounds i8,i8*%jc,i64 12
%jk=bitcast i8*%jj to i32*
store i32%jb,i32*%jk,align 4
%jl=getelementptr inbounds i8,i8*%jc,i64 16
%jm=bitcast i8*%jl to i32*
store i32 1,i32*%jm,align 4
%jn=call i8*@sml_alloc(i32 inreg 28)#0
%jo=getelementptr inbounds i8,i8*%jn,i64 -4
%jp=bitcast i8*%jo to i32*
store i32 1342177304,i32*%jp,align 4
%jq=load i8*,i8**%p,align 8
%jr=bitcast i8*%jn to i8**
store i8*%jq,i8**%jr,align 8
%js=getelementptr inbounds i8,i8*%jn,i64 8
%jt=bitcast i8*%js to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7trim__lo_279 to void(...)*),void(...)**%jt,align 8
%ju=getelementptr inbounds i8,i8*%jn,i64 16
%jv=bitcast i8*%ju to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7trim__lo_279 to void(...)*),void(...)**%jv,align 8
%jw=getelementptr inbounds i8,i8*%jn,i64 24
%jx=bitcast i8*%jw to i32*
store i32 -2147483647,i32*%jx,align 4
%jy=load i8*,i8**%d,align 8
%jz=bitcast i8*%jy to i32*
%jA=load i32,i32*%jz,align 4
%jB=getelementptr inbounds i8,i8*%jy,i64 4
%jC=bitcast i8*%jB to i32*
%jD=load i32,i32*%jC,align 4
%jE=call i8*@sml_alloc(i32 inreg 20)#0
%jF=getelementptr inbounds i8,i8*%jE,i64 -4
%jG=bitcast i8*%jF to i32*
store i32 1342177296,i32*%jG,align 4
store i8*%jE,i8**%q,align 8
%jH=load i8*,i8**%c,align 8
%jI=bitcast i8*%jE to i8**
store i8*%jH,i8**%jI,align 8
%jJ=getelementptr inbounds i8,i8*%jE,i64 8
%jK=bitcast i8*%jJ to i32*
store i32%jA,i32*%jK,align 4
%jL=getelementptr inbounds i8,i8*%jE,i64 12
%jM=bitcast i8*%jL to i32*
store i32%jD,i32*%jM,align 4
%jN=getelementptr inbounds i8,i8*%jE,i64 16
%jO=bitcast i8*%jN to i32*
store i32 1,i32*%jO,align 4
%jP=call i8*@sml_alloc(i32 inreg 28)#0
%jQ=getelementptr inbounds i8,i8*%jP,i64 -4
%jR=bitcast i8*%jQ to i32*
store i32 1342177304,i32*%jR,align 4
%jS=load i8*,i8**%q,align 8
%jT=bitcast i8*%jP to i8**
store i8*%jS,i8**%jT,align 8
%jU=getelementptr inbounds i8,i8*%jP,i64 8
%jV=bitcast i8*%jU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7trim__hi_280 to void(...)*),void(...)**%jV,align 8
%jW=getelementptr inbounds i8,i8*%jP,i64 16
%jX=bitcast i8*%jW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7trim__hi_280 to void(...)*),void(...)**%jX,align 8
%jY=getelementptr inbounds i8,i8*%jP,i64 24
%jZ=bitcast i8*%jY to i32*
store i32 -2147483647,i32*%jZ,align 4
%j0=load i8*,i8**%d,align 8
%j1=bitcast i8*%j0 to i32*
%j2=load i32,i32*%j1,align 4
%j3=getelementptr inbounds i8,i8*%j0,i64 4
%j4=bitcast i8*%j3 to i32*
%j5=load i32,i32*%j4,align 4
%j6=call i8*@sml_alloc(i32 inreg 52)#0
%j7=getelementptr inbounds i8,i8*%j6,i64 -4
%j8=bitcast i8*%j7 to i32*
store i32 1342177328,i32*%j8,align 4
store i8*%j6,i8**%r,align 8
%j9=load i8*,i8**%g,align 8
%ka=bitcast i8*%j6 to i8**
store i8*%j9,i8**%ka,align 8
%kb=load i8*,i8**%h,align 8
%kc=getelementptr inbounds i8,i8*%j6,i64 8
%kd=bitcast i8*%kc to i8**
store i8*%kb,i8**%kd,align 8
%ke=load i8*,i8**%k,align 8
%kf=getelementptr inbounds i8,i8*%j6,i64 16
%kg=bitcast i8*%kf to i8**
store i8*%ke,i8**%kg,align 8
%kh=load i8*,i8**%l,align 8
%ki=getelementptr inbounds i8,i8*%j6,i64 24
%kj=bitcast i8*%ki to i8**
store i8*%kh,i8**%kj,align 8
%kk=load i8*,i8**%q,align 8
%kl=getelementptr inbounds i8,i8*%j6,i64 32
%km=bitcast i8*%kl to i8**
store i8*%kk,i8**%km,align 8
%kn=getelementptr inbounds i8,i8*%j6,i64 40
%ko=bitcast i8*%kn to i32*
store i32%j2,i32*%ko,align 4
%kp=getelementptr inbounds i8,i8*%j6,i64 44
%kq=bitcast i8*%kp to i32*
store i32%j5,i32*%kq,align 4
%kr=getelementptr inbounds i8,i8*%j6,i64 48
%ks=bitcast i8*%kr to i32*
store i32 31,i32*%ks,align 4
%kt=call i8*@sml_alloc(i32 inreg 28)#0
%ku=getelementptr inbounds i8,i8*%kt,i64 -4
%kv=bitcast i8*%ku to i32*
store i32 1342177304,i32*%kv,align 4
%kw=load i8*,i8**%r,align 8
%kx=bitcast i8*%kt to i8**
store i8*%kw,i8**%kx,align 8
%ky=getelementptr inbounds i8,i8*%kt,i64 8
%kz=bitcast i8*%ky to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6uni__hi_281 to void(...)*),void(...)**%kz,align 8
%kA=getelementptr inbounds i8,i8*%kt,i64 16
%kB=bitcast i8*%kA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6uni__hi_281 to void(...)*),void(...)**%kB,align 8
%kC=getelementptr inbounds i8,i8*%kt,i64 24
%kD=bitcast i8*%kC to i32*
store i32 -2147483647,i32*%kD,align 4
%kE=load i8*,i8**%d,align 8
%kF=bitcast i8*%kE to i32*
%kG=load i32,i32*%kF,align 4
%kH=getelementptr inbounds i8,i8*%kE,i64 4
%kI=bitcast i8*%kH to i32*
%kJ=load i32,i32*%kI,align 4
%kK=call i8*@sml_alloc(i32 inreg 52)#0
%kL=getelementptr inbounds i8,i8*%kK,i64 -4
%kM=bitcast i8*%kL to i32*
store i32 1342177328,i32*%kM,align 4
store i8*%kK,i8**%s,align 8
%kN=load i8*,i8**%g,align 8
%kO=bitcast i8*%kK to i8**
store i8*%kN,i8**%kO,align 8
%kP=load i8*,i8**%j,align 8
%kQ=getelementptr inbounds i8,i8*%kK,i64 8
%kR=bitcast i8*%kQ to i8**
store i8*%kP,i8**%kR,align 8
%kS=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%kT=getelementptr inbounds i8,i8*%kK,i64 16
%kU=bitcast i8*%kT to i8**
store i8*%kS,i8**%kU,align 8
%kV=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%kW=getelementptr inbounds i8,i8*%kK,i64 24
%kX=bitcast i8*%kW to i8**
store i8*%kV,i8**%kX,align 8
%kY=load i8*,i8**%p,align 8
%kZ=getelementptr inbounds i8,i8*%kK,i64 32
%k0=bitcast i8*%kZ to i8**
store i8*%kY,i8**%k0,align 8
%k1=getelementptr inbounds i8,i8*%kK,i64 40
%k2=bitcast i8*%k1 to i32*
store i32%kG,i32*%k2,align 4
%k3=getelementptr inbounds i8,i8*%kK,i64 44
%k4=bitcast i8*%k3 to i32*
store i32%kJ,i32*%k4,align 4
%k5=getelementptr inbounds i8,i8*%kK,i64 48
%k6=bitcast i8*%k5 to i32*
store i32 31,i32*%k6,align 4
%k7=call i8*@sml_alloc(i32 inreg 28)#0
%k8=getelementptr inbounds i8,i8*%k7,i64 -4
%k9=bitcast i8*%k8 to i32*
store i32 1342177304,i32*%k9,align 4
%la=load i8*,i8**%s,align 8
%lb=bitcast i8*%k7 to i8**
store i8*%la,i8**%lb,align 8
%lc=getelementptr inbounds i8,i8*%k7,i64 8
%ld=bitcast i8*%lc to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6uni__lo_282 to void(...)*),void(...)**%ld,align 8
%le=getelementptr inbounds i8,i8*%k7,i64 16
%lf=bitcast i8*%le to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6uni__lo_282 to void(...)*),void(...)**%lf,align 8
%lg=getelementptr inbounds i8,i8*%k7,i64 24
%lh=bitcast i8*%lg to i32*
store i32 -2147483647,i32*%lh,align 4
%li=load i8*,i8**%d,align 8
%lj=bitcast i8*%li to i32*
%lk=load i32,i32*%lj,align 4
%ll=getelementptr inbounds i8,i8*%li,i64 4
%lm=bitcast i8*%ll to i32*
%ln=load i32,i32*%lm,align 4
%lo=call i8*@sml_alloc(i32 inreg 52)#0
%lp=getelementptr inbounds i8,i8*%lo,i64 -4
%lq=bitcast i8*%lp to i32*
store i32 1342177328,i32*%lq,align 4
store i8*%lo,i8**%k,align 8
%lr=load i8*,i8**%g,align 8
%ls=bitcast i8*%lo to i8**
store i8*%lr,i8**%ls,align 8
%lt=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%lu=getelementptr inbounds i8,i8*%lo,i64 8
%lv=bitcast i8*%lu to i8**
store i8*%lt,i8**%lv,align 8
%lw=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%lx=getelementptr inbounds i8,i8*%lo,i64 16
%ly=bitcast i8*%lx to i8**
store i8*%lw,i8**%ly,align 8
%lz=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%lA=getelementptr inbounds i8,i8*%lo,i64 24
%lB=bitcast i8*%lA to i8**
store i8*%lz,i8**%lB,align 8
%lC=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%lD=getelementptr inbounds i8,i8*%lo,i64 32
%lE=bitcast i8*%lD to i8**
store i8*%lC,i8**%lE,align 8
%lF=getelementptr inbounds i8,i8*%lo,i64 40
%lG=bitcast i8*%lF to i32*
store i32%lk,i32*%lG,align 4
%lH=getelementptr inbounds i8,i8*%lo,i64 44
%lI=bitcast i8*%lH to i32*
store i32%ln,i32*%lI,align 4
%lJ=getelementptr inbounds i8,i8*%lo,i64 48
%lK=bitcast i8*%lJ to i32*
store i32 31,i32*%lK,align 4
%lL=call i8*@sml_alloc(i32 inreg 28)#0
%lM=getelementptr inbounds i8,i8*%lL,i64 -4
%lN=bitcast i8*%lM to i32*
store i32 1342177304,i32*%lN,align 4
store i8*%lL,i8**%l,align 8
%lO=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%lP=bitcast i8*%lL to i8**
store i8*%lO,i8**%lP,align 8
%lQ=getelementptr inbounds i8,i8*%lL,i64 8
%lR=bitcast i8*%lQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3uni_283 to void(...)*),void(...)**%lR,align 8
%lS=getelementptr inbounds i8,i8*%lL,i64 16
%lT=bitcast i8*%lS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3uni_283 to void(...)*),void(...)**%lT,align 8
%lU=getelementptr inbounds i8,i8*%lL,i64 24
%lV=bitcast i8*%lU to i32*
store i32 -2147483647,i32*%lV,align 4
%lW=load i8*,i8**%d,align 8
%lX=bitcast i8*%lW to i32*
%lY=load i32,i32*%lX,align 4
%lZ=getelementptr inbounds i8,i8*%lW,i64 4
%l0=bitcast i8*%lZ to i32*
%l1=load i32,i32*%l0,align 4
%l2=call i8*@sml_alloc(i32 inreg 36)#0
%l3=getelementptr inbounds i8,i8*%l2,i64 -4
%l4=bitcast i8*%l3 to i32*
store i32 1342177312,i32*%l4,align 4
store i8*%l2,i8**%k,align 8
%l5=load i8*,i8**%g,align 8
%l6=bitcast i8*%l2 to i8**
store i8*%l5,i8**%l6,align 8
%l7=load i8*,i8**%h,align 8
%l8=getelementptr inbounds i8,i8*%l2,i64 8
%l9=bitcast i8*%l8 to i8**
store i8*%l7,i8**%l9,align 8
%ma=load i8*,i8**%j,align 8
%mb=getelementptr inbounds i8,i8*%l2,i64 16
%mc=bitcast i8*%mb to i8**
store i8*%ma,i8**%mc,align 8
%md=getelementptr inbounds i8,i8*%l2,i64 24
%me=bitcast i8*%md to i32*
store i32%lY,i32*%me,align 4
%mf=getelementptr inbounds i8,i8*%l2,i64 28
%mg=bitcast i8*%mf to i32*
store i32%l1,i32*%mg,align 4
%mh=getelementptr inbounds i8,i8*%l2,i64 32
%mi=bitcast i8*%mh to i32*
store i32 7,i32*%mi,align 4
%mj=call i8*@sml_alloc(i32 inreg 28)#0
%mk=getelementptr inbounds i8,i8*%mj,i64 -4
%ml=bitcast i8*%mk to i32*
store i32 1342177304,i32*%ml,align 4
%mm=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%mn=bitcast i8*%mj to i8**
store i8*%mm,i8**%mn,align 8
%mo=getelementptr inbounds i8,i8*%mj,i64 8
%mp=bitcast i8*%mo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9old__union_284 to void(...)*),void(...)**%mp,align 8
%mq=getelementptr inbounds i8,i8*%mj,i64 16
%mr=bitcast i8*%mq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9old__union_284 to void(...)*),void(...)**%mr,align 8
%ms=getelementptr inbounds i8,i8*%mj,i64 24
%mt=bitcast i8*%ms to i32*
store i32 -2147483647,i32*%mt,align 4
%mu=load i8*,i8**%d,align 8
%mv=bitcast i8*%mu to i32*
%mw=load i32,i32*%mv,align 4
%mx=getelementptr inbounds i8,i8*%mu,i64 4
%my=bitcast i8*%mx to i32*
%mz=load i32,i32*%my,align 4
%mA=call i8*@sml_alloc(i32 inreg 20)#0
%mB=getelementptr inbounds i8,i8*%mA,i64 -4
%mC=bitcast i8*%mB to i32*
store i32 1342177296,i32*%mC,align 4
store i8*%mA,i8**%k,align 8
%mD=load i8*,i8**%i,align 8
%mE=bitcast i8*%mA to i8**
store i8*%mD,i8**%mE,align 8
%mF=getelementptr inbounds i8,i8*%mA,i64 8
%mG=bitcast i8*%mF to i32*
store i32%mw,i32*%mG,align 4
%mH=getelementptr inbounds i8,i8*%mA,i64 12
%mI=bitcast i8*%mH to i32*
store i32%mz,i32*%mI,align 4
%mJ=getelementptr inbounds i8,i8*%mA,i64 16
%mK=bitcast i8*%mJ to i32*
store i32 1,i32*%mK,align 4
%mL=call i8*@sml_alloc(i32 inreg 28)#0
%mM=getelementptr inbounds i8,i8*%mL,i64 -4
%mN=bitcast i8*%mM to i32*
store i32 1342177304,i32*%mN,align 4
store i8*%mL,i8**%p,align 8
%mO=load i8*,i8**%k,align 8
%mP=bitcast i8*%mL to i8**
store i8*%mO,i8**%mP,align 8
%mQ=getelementptr inbounds i8,i8*%mL,i64 8
%mR=bitcast i8*%mQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7addList_286 to void(...)*),void(...)**%mR,align 8
%mS=getelementptr inbounds i8,i8*%mL,i64 16
%mT=bitcast i8*%mS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7addList_286 to void(...)*),void(...)**%mT,align 8
%mU=getelementptr inbounds i8,i8*%mL,i64 24
%mV=bitcast i8*%mU to i32*
store i32 -2147483647,i32*%mV,align 4
%mW=load i8*,i8**%d,align 8
%mX=bitcast i8*%mW to i32*
%mY=load i32,i32*%mX,align 4
%mZ=getelementptr inbounds i8,i8*%mW,i64 4
%m0=bitcast i8*%mZ to i32*
%m1=load i32,i32*%m0,align 4
%m2=call i8*@sml_alloc(i32 inreg 20)#0
%m3=getelementptr inbounds i8,i8*%m2,i64 -4
%m4=bitcast i8*%m3 to i32*
store i32 1342177296,i32*%m4,align 4
store i8*%m2,i8**%q,align 8
%m5=load i8*,i8**%c,align 8
%m6=bitcast i8*%m2 to i8**
store i8*%m5,i8**%m6,align 8
%m7=getelementptr inbounds i8,i8*%m2,i64 8
%m8=bitcast i8*%m7 to i32*
store i32%mY,i32*%m8,align 4
%m9=getelementptr inbounds i8,i8*%m2,i64 12
%na=bitcast i8*%m9 to i32*
store i32%m1,i32*%na,align 4
%nb=getelementptr inbounds i8,i8*%m2,i64 16
%nc=bitcast i8*%nb to i32*
store i32 1,i32*%nc,align 4
%nd=call i8*@sml_alloc(i32 inreg 28)#0
%ne=getelementptr inbounds i8,i8*%nd,i64 -4
%nf=bitcast i8*%ne to i32*
store i32 1342177304,i32*%nf,align 4
store i8*%nd,i8**%r,align 8
%ng=load i8*,i8**%q,align 8
%nh=bitcast i8*%nd to i8**
store i8*%ng,i8**%nh,align 8
%ni=getelementptr inbounds i8,i8*%nd,i64 8
%nj=bitcast i8*%ni to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL6member_289 to void(...)*),void(...)**%nj,align 8
%nk=getelementptr inbounds i8,i8*%nd,i64 16
%nl=bitcast i8*%nk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6member_378 to void(...)*),void(...)**%nl,align 8
%nm=getelementptr inbounds i8,i8*%nd,i64 24
%nn=bitcast i8*%nm to i32*
store i32 -2147483647,i32*%nn,align 4
%no=load i8*,i8**%d,align 8
%np=bitcast i8*%no to i32*
%nq=load i32,i32*%np,align 4
%nr=getelementptr inbounds i8,i8*%no,i64 4
%ns=bitcast i8*%nr to i32*
%nt=load i32,i32*%ns,align 4
%nu=call i8*@sml_alloc(i32 inreg 20)#0
%nv=getelementptr inbounds i8,i8*%nu,i64 -4
%nw=bitcast i8*%nv to i32*
store i32 1342177296,i32*%nw,align 4
store i8*%nu,i8**%s,align 8
%nx=load i8*,i8**%q,align 8
%ny=bitcast i8*%nu to i8**
store i8*%nx,i8**%ny,align 8
%nz=getelementptr inbounds i8,i8*%nu,i64 8
%nA=bitcast i8*%nz to i32*
store i32%nq,i32*%nA,align 4
%nB=getelementptr inbounds i8,i8*%nu,i64 12
%nC=bitcast i8*%nB to i32*
store i32%nt,i32*%nC,align 4
%nD=getelementptr inbounds i8,i8*%nu,i64 16
%nE=bitcast i8*%nD to i32*
store i32 1,i32*%nE,align 4
%nF=call i8*@sml_alloc(i32 inreg 28)#0
%nG=getelementptr inbounds i8,i8*%nF,i64 -4
%nH=bitcast i8*%nG to i32*
store i32 1342177304,i32*%nH,align 4
%nI=load i8*,i8**%s,align 8
%nJ=bitcast i8*%nF to i8**
store i8*%nI,i8**%nJ,align 8
%nK=getelementptr inbounds i8,i8*%nF,i64 8
%nL=bitcast i8*%nK to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL6treeIn_291 to void(...)*),void(...)**%nL,align 8
%nM=getelementptr inbounds i8,i8*%nF,i64 16
%nN=bitcast i8*%nM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6treeIn_380 to void(...)*),void(...)**%nN,align 8
%nO=getelementptr inbounds i8,i8*%nF,i64 24
%nP=bitcast i8*%nO to i32*
store i32 -2147483647,i32*%nP,align 4
%nQ=call i8*@sml_alloc(i32 inreg 12)#0
%nR=getelementptr inbounds i8,i8*%nQ,i64 -4
%nS=bitcast i8*%nR to i32*
store i32 1342177288,i32*%nS,align 4
store i8*%nQ,i8**%t,align 8
%nT=load i8*,i8**%s,align 8
%nU=bitcast i8*%nQ to i8**
store i8*%nT,i8**%nU,align 8
%nV=getelementptr inbounds i8,i8*%nQ,i64 8
%nW=bitcast i8*%nV to i32*
store i32 1,i32*%nW,align 4
%nX=call i8*@sml_alloc(i32 inreg 28)#0
%nY=getelementptr inbounds i8,i8*%nX,i64 -4
%nZ=bitcast i8*%nY to i32*
store i32 1342177304,i32*%nZ,align 4
store i8*%nX,i8**%u,align 8
%n0=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%n1=bitcast i8*%nX to i8**
store i8*%n0,i8**%n1,align 8
%n2=getelementptr inbounds i8,i8*%nX,i64 8
%n3=bitcast i8*%n2 to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL8isSubset_292 to void(...)*),void(...)**%n3,align 8
%n4=getelementptr inbounds i8,i8*%nX,i64 16
%n5=bitcast i8*%n4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8isSubset_381 to void(...)*),void(...)**%n5,align 8
%n6=getelementptr inbounds i8,i8*%nX,i64 24
%n7=bitcast i8*%n6 to i32*
store i32 -2147483647,i32*%n7,align 4
%n8=call i8*@sml_alloc(i32 inreg 12)#0
%n9=getelementptr inbounds i8,i8*%n8,i64 -4
%oa=bitcast i8*%n9 to i32*
store i32 1342177288,i32*%oa,align 4
store i8*%n8,i8**%t,align 8
%ob=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%oc=bitcast i8*%n8 to i8**
store i8*%ob,i8**%oc,align 8
%od=getelementptr inbounds i8,i8*%n8,i64 8
%oe=bitcast i8*%od to i32*
store i32 1,i32*%oe,align 4
%of=call i8*@sml_alloc(i32 inreg 28)#0
%og=getelementptr inbounds i8,i8*%of,i64 -4
%oh=bitcast i8*%og to i32*
store i32 1342177304,i32*%oh,align 4
store i8*%of,i8**%s,align 8
%oi=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%oj=bitcast i8*%of to i8**
store i8*%oi,i8**%oj,align 8
%ok=getelementptr inbounds i8,i8*%of,i64 8
%ol=bitcast i8*%ok to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL5equal_293 to void(...)*),void(...)**%ol,align 8
%om=getelementptr inbounds i8,i8*%of,i64 16
%on=bitcast i8*%om to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5equal_382 to void(...)*),void(...)**%on,align 8
%oo=getelementptr inbounds i8,i8*%of,i64 24
%op=bitcast i8*%oo to i32*
store i32 -2147483647,i32*%op,align 4
%oq=load i8*,i8**%d,align 8
%or=getelementptr inbounds i8,i8*%oq,i64 4
%os=bitcast i8*%or to i32*
%ot=load i32,i32*%os,align 4
%ou=call i8*@sml_alloc(i32 inreg 12)#0
%ov=bitcast i8*%ou to i32*
%ow=getelementptr inbounds i8,i8*%ou,i64 -4
%ox=bitcast i8*%ow to i32*
store i32 1342177288,i32*%ox,align 4
store i8*%ou,i8**%t,align 8
store i32%ot,i32*%ov,align 4
%oy=getelementptr inbounds i8,i8*%ou,i64 8
%oz=bitcast i8*%oy to i32*
store i32 0,i32*%oz,align 4
%oA=call i8*@sml_alloc(i32 inreg 28)#0
%oB=getelementptr inbounds i8,i8*%oA,i64 -4
%oC=bitcast i8*%oB to i32*
store i32 1342177304,i32*%oC,align 4
%oD=load i8*,i8**%t,align 8
%oE=bitcast i8*%oA to i8**
store i8*%oD,i8**%oE,align 8
%oF=getelementptr inbounds i8,i8*%oA,i64 8
%oG=bitcast i8*%oF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4left_294 to void(...)*),void(...)**%oG,align 8
%oH=getelementptr inbounds i8,i8*%oA,i64 16
%oI=bitcast i8*%oH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4left_294 to void(...)*),void(...)**%oI,align 8
%oJ=getelementptr inbounds i8,i8*%oA,i64 24
%oK=bitcast i8*%oJ to i32*
store i32 -2147483647,i32*%oK,align 4
%oL=load i8*,i8**%d,align 8
%oM=getelementptr inbounds i8,i8*%oL,i64 4
%oN=bitcast i8*%oM to i32*
%oO=load i32,i32*%oN,align 4
%oP=call i8*@sml_alloc(i32 inreg 20)#0
%oQ=getelementptr inbounds i8,i8*%oP,i64 -4
%oR=bitcast i8*%oQ to i32*
store i32 1342177296,i32*%oR,align 4
store i8*%oP,i8**%v,align 8
%oS=load i8*,i8**%t,align 8
%oT=bitcast i8*%oP to i8**
store i8*%oS,i8**%oT,align 8
%oU=getelementptr inbounds i8,i8*%oP,i64 8
%oV=bitcast i8*%oU to i32*
store i32%oO,i32*%oV,align 4
%oW=getelementptr inbounds i8,i8*%oP,i64 16
%oX=bitcast i8*%oW to i32*
store i32 1,i32*%oX,align 4
%oY=call i8*@sml_alloc(i32 inreg 28)#0
%oZ=getelementptr inbounds i8,i8*%oY,i64 -4
%o0=bitcast i8*%oZ to i32*
store i32 1342177304,i32*%o0,align 4
%o1=load i8*,i8**%v,align 8
%o2=bitcast i8*%oY to i8**
store i8*%o1,i8**%o2,align 8
%o3=getelementptr inbounds i8,i8*%oY,i64 8
%o4=bitcast i8*%o3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4next_296 to void(...)*),void(...)**%o4,align 8
%o5=getelementptr inbounds i8,i8*%oY,i64 16
%o6=bitcast i8*%o5 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4next_296 to void(...)*),void(...)**%o6,align 8
%o7=getelementptr inbounds i8,i8*%oY,i64 24
%o8=bitcast i8*%o7 to i32*
store i32 -2147483647,i32*%o8,align 4
%o9=load i8*,i8**%d,align 8
%pa=bitcast i8*%o9 to i32*
%pb=load i32,i32*%pa,align 4
%pc=getelementptr inbounds i8,i8*%o9,i64 4
%pd=bitcast i8*%pc to i32*
%pe=load i32,i32*%pd,align 4
%pf=call i8*@sml_alloc(i32 inreg 36)#0
%pg=getelementptr inbounds i8,i8*%pf,i64 -4
%ph=bitcast i8*%pg to i32*
store i32 1342177312,i32*%ph,align 4
store i8*%pf,i8**%w,align 8
%pi=load i8*,i8**%c,align 8
%pj=bitcast i8*%pf to i8**
store i8*%pi,i8**%pj,align 8
%pk=load i8*,i8**%t,align 8
%pl=getelementptr inbounds i8,i8*%pf,i64 8
%pm=bitcast i8*%pl to i8**
store i8*%pk,i8**%pm,align 8
%pn=load i8*,i8**%v,align 8
%po=getelementptr inbounds i8,i8*%pf,i64 16
%pp=bitcast i8*%po to i8**
store i8*%pn,i8**%pp,align 8
%pq=getelementptr inbounds i8,i8*%pf,i64 24
%pr=bitcast i8*%pq to i32*
store i32%pb,i32*%pr,align 4
%ps=getelementptr inbounds i8,i8*%pf,i64 28
%pt=bitcast i8*%ps to i32*
store i32%pe,i32*%pt,align 4
%pu=getelementptr inbounds i8,i8*%pf,i64 32
%pv=bitcast i8*%pu to i32*
store i32 7,i32*%pv,align 4
%pw=call i8*@sml_alloc(i32 inreg 28)#0
%px=getelementptr inbounds i8,i8*%pw,i64 -4
%py=bitcast i8*%px to i32*
store i32 1342177304,i32*%py,align 4
store i8*%pw,i8**%x,align 8
%pz=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%pA=bitcast i8*%pw to i8**
store i8*%pz,i8**%pA,align 8
%pB=getelementptr inbounds i8,i8*%pw,i64 8
%pC=bitcast i8*%pB to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL7compare_298 to void(...)*),void(...)**%pC,align 8
%pD=getelementptr inbounds i8,i8*%pw,i64 16
%pE=bitcast i8*%pD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7compare_384 to void(...)*),void(...)**%pE,align 8
%pF=getelementptr inbounds i8,i8*%pw,i64 24
%pG=bitcast i8*%pF to i32*
store i32 -2147483647,i32*%pG,align 4
%pH=load i8*,i8**%d,align 8
%pI=bitcast i8*%pH to i32*
%pJ=load i32,i32*%pI,align 4
%pK=getelementptr inbounds i8,i8*%pH,i64 4
%pL=bitcast i8*%pK to i32*
%pM=load i32,i32*%pL,align 4
%pN=call i8*@sml_alloc(i32 inreg 36)#0
%pO=getelementptr inbounds i8,i8*%pN,i64 -4
%pP=bitcast i8*%pO to i32*
store i32 1342177312,i32*%pP,align 4
store i8*%pN,i8**%w,align 8
%pQ=load i8*,i8**%c,align 8
%pR=bitcast i8*%pN to i8**
store i8*%pQ,i8**%pR,align 8
%pS=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%pT=getelementptr inbounds i8,i8*%pN,i64 8
%pU=bitcast i8*%pT to i8**
store i8*%pS,i8**%pU,align 8
%pV=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%pW=getelementptr inbounds i8,i8*%pN,i64 16
%pX=bitcast i8*%pW to i8**
store i8*%pV,i8**%pX,align 8
%pY=getelementptr inbounds i8,i8*%pN,i64 24
%pZ=bitcast i8*%pY to i32*
store i32%pJ,i32*%pZ,align 4
%p0=getelementptr inbounds i8,i8*%pN,i64 28
%p1=bitcast i8*%p0 to i32*
store i32%pM,i32*%p1,align 4
%p2=getelementptr inbounds i8,i8*%pN,i64 32
%p3=bitcast i8*%p2 to i32*
store i32 7,i32*%p3,align 4
%p4=call i8*@sml_alloc(i32 inreg 28)#0
%p5=getelementptr inbounds i8,i8*%p4,i64 -4
%p6=bitcast i8*%p5 to i32*
store i32 1342177304,i32*%p6,align 4
store i8*%p4,i8**%t,align 8
%p7=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%p8=bitcast i8*%p4 to i8**
store i8*%p7,i8**%p8,align 8
%p9=getelementptr inbounds i8,i8*%p4,i64 8
%qa=bitcast i8*%p9 to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL8disjoint_301 to void(...)*),void(...)**%qa,align 8
%qb=getelementptr inbounds i8,i8*%p4,i64 16
%qc=bitcast i8*%qb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8disjoint_386 to void(...)*),void(...)**%qc,align 8
%qd=getelementptr inbounds i8,i8*%p4,i64 24
%qe=bitcast i8*%qd to i32*
store i32 -2147483647,i32*%qe,align 4
%qf=load i8*,i8**%d,align 8
%qg=bitcast i8*%qf to i32*
%qh=load i32,i32*%qg,align 4
%qi=getelementptr inbounds i8,i8*%qf,i64 4
%qj=bitcast i8*%qi to i32*
%qk=load i32,i32*%qj,align 4
%ql=call i8*@sml_alloc(i32 inreg 36)#0
%qm=getelementptr inbounds i8,i8*%ql,i64 -4
%qn=bitcast i8*%qm to i32*
store i32 1342177312,i32*%qn,align 4
store i8*%ql,i8**%v,align 8
%qo=load i8*,i8**%c,align 8
%qp=bitcast i8*%ql to i8**
store i8*%qo,i8**%qp,align 8
%qq=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%qr=getelementptr inbounds i8,i8*%ql,i64 8
%qs=bitcast i8*%qr to i8**
store i8*%qq,i8**%qs,align 8
%qt=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%qu=getelementptr inbounds i8,i8*%ql,i64 16
%qv=bitcast i8*%qu to i8**
store i8*%qt,i8**%qv,align 8
%qw=getelementptr inbounds i8,i8*%ql,i64 24
%qx=bitcast i8*%qw to i32*
store i32%qh,i32*%qx,align 4
%qy=getelementptr inbounds i8,i8*%ql,i64 28
%qz=bitcast i8*%qy to i32*
store i32%qk,i32*%qz,align 4
%qA=getelementptr inbounds i8,i8*%ql,i64 32
%qB=bitcast i8*%qA to i32*
store i32 7,i32*%qB,align 4
%qC=call i8*@sml_alloc(i32 inreg 28)#0
%qD=getelementptr inbounds i8,i8*%qC,i64 -4
%qE=bitcast i8*%qD to i32*
store i32 1342177304,i32*%qE,align 4
%qF=load i8*,i8**%v,align 8
%qG=bitcast i8*%qC to i8**
store i8*%qF,i8**%qG,align 8
%qH=getelementptr inbounds i8,i8*%qC,i64 8
%qI=bitcast i8*%qH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6delete_302 to void(...)*),void(...)**%qI,align 8
%qJ=getelementptr inbounds i8,i8*%qC,i64 16
%qK=bitcast i8*%qJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6delete_302 to void(...)*),void(...)**%qK,align 8
%qL=getelementptr inbounds i8,i8*%qC,i64 24
%qM=bitcast i8*%qL to i32*
store i32 -2147483647,i32*%qM,align 4
%qN=load i8*,i8**%d,align 8
%qO=bitcast i8*%qN to i32*
%qP=load i32,i32*%qO,align 4
%qQ=getelementptr inbounds i8,i8*%qN,i64 4
%qR=bitcast i8*%qQ to i32*
%qS=load i32,i32*%qR,align 4
%qT=call i8*@sml_alloc(i32 inreg 52)#0
%qU=getelementptr inbounds i8,i8*%qT,i64 -4
%qV=bitcast i8*%qU to i32*
store i32 1342177328,i32*%qV,align 4
store i8*%qT,i8**%m,align 8
%qW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%qX=bitcast i8*%qT to i8**
store i8*%qW,i8**%qX,align 8
%qY=load i8*,i8**%h,align 8
%qZ=getelementptr inbounds i8,i8*%qT,i64 8
%q0=bitcast i8*%qZ to i8**
store i8*%qY,i8**%q0,align 8
%q1=load i8*,i8**%j,align 8
%q2=getelementptr inbounds i8,i8*%qT,i64 16
%q3=bitcast i8*%q2 to i8**
store i8*%q1,i8**%q3,align 8
%q4=load i8*,i8**%o,align 8
%q5=getelementptr inbounds i8,i8*%qT,i64 24
%q6=bitcast i8*%q5 to i8**
store i8*%q4,i8**%q6,align 8
%q7=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%q8=getelementptr inbounds i8,i8*%qT,i64 32
%q9=bitcast i8*%q8 to i8**
store i8*%q7,i8**%q9,align 8
%ra=getelementptr inbounds i8,i8*%qT,i64 40
%rb=bitcast i8*%ra to i32*
store i32%qP,i32*%rb,align 4
%rc=getelementptr inbounds i8,i8*%qT,i64 44
%rd=bitcast i8*%rc to i32*
store i32%qS,i32*%rd,align 4
%re=getelementptr inbounds i8,i8*%qT,i64 48
%rf=bitcast i8*%re to i32*
store i32 31,i32*%rf,align 4
%rg=call i8*@sml_alloc(i32 inreg 28)#0
%rh=getelementptr inbounds i8,i8*%rg,i64 -4
%ri=bitcast i8*%rh to i32*
store i32 1342177304,i32*%ri,align 4
%rj=load i8*,i8**%m,align 8
%rk=bitcast i8*%rg to i8**
store i8*%rj,i8**%rk,align 8
%rl=getelementptr inbounds i8,i8*%rg,i64 8
%rm=bitcast i8*%rl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12intersection_304 to void(...)*),void(...)**%rm,align 8
%rn=getelementptr inbounds i8,i8*%rg,i64 16
%ro=bitcast i8*%rn to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12intersection_304 to void(...)*),void(...)**%ro,align 8
%rp=getelementptr inbounds i8,i8*%rg,i64 24
%rq=bitcast i8*%rp to i32*
store i32 -2147483647,i32*%rq,align 4
%rr=load i8*,i8**%d,align 8
%rs=bitcast i8*%rr to i32*
%rt=load i32,i32*%rs,align 4
%ru=getelementptr inbounds i8,i8*%rr,i64 4
%rv=bitcast i8*%ru to i32*
%rw=load i32,i32*%rv,align 4
%rx=call i8*@sml_alloc(i32 inreg 36)#0
%ry=getelementptr inbounds i8,i8*%rx,i64 -4
%rz=bitcast i8*%ry to i32*
store i32 1342177312,i32*%rz,align 4
store i8*%rx,i8**%g,align 8
%rA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%rB=bitcast i8*%rx to i8**
store i8*%rA,i8**%rB,align 8
%rC=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%rD=getelementptr inbounds i8,i8*%rx,i64 8
%rE=bitcast i8*%rD to i8**
store i8*%rC,i8**%rE,align 8
%rF=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%rG=getelementptr inbounds i8,i8*%rx,i64 16
%rH=bitcast i8*%rG to i8**
store i8*%rF,i8**%rH,align 8
%rI=getelementptr inbounds i8,i8*%rx,i64 24
%rJ=bitcast i8*%rI to i32*
store i32%rt,i32*%rJ,align 4
%rK=getelementptr inbounds i8,i8*%rx,i64 28
%rL=bitcast i8*%rK to i32*
store i32%rw,i32*%rL,align 4
%rM=getelementptr inbounds i8,i8*%rx,i64 32
%rN=bitcast i8*%rM to i32*
store i32 7,i32*%rN,align 4
%rO=call i8*@sml_alloc(i32 inreg 28)#0
%rP=getelementptr inbounds i8,i8*%rO,i64 -4
%rQ=bitcast i8*%rP to i32*
store i32 1342177304,i32*%rQ,align 4
%rR=load i8*,i8**%g,align 8
%rS=bitcast i8*%rO to i8**
store i8*%rR,i8**%rS,align 8
%rT=getelementptr inbounds i8,i8*%rO,i64 8
%rU=bitcast i8*%rT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10difference_305 to void(...)*),void(...)**%rU,align 8
%rV=getelementptr inbounds i8,i8*%rO,i64 16
%rW=bitcast i8*%rV to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10difference_305 to void(...)*),void(...)**%rW,align 8
%rX=getelementptr inbounds i8,i8*%rO,i64 24
%rY=bitcast i8*%rX to i32*
store i32 -2147483647,i32*%rY,align 4
%rZ=load i8*,i8**%d,align 8
%r0=bitcast i8*%rZ to i32*
%r1=load i32,i32*%r0,align 4
%r2=getelementptr inbounds i8,i8*%rZ,i64 4
%r3=bitcast i8*%r2 to i32*
%r4=load i32,i32*%r3,align 4
%r5=call i8*@sml_alloc(i32 inreg 20)#0
%r6=getelementptr inbounds i8,i8*%r5,i64 -4
%r7=bitcast i8*%r6 to i32*
store i32 1342177296,i32*%r7,align 4
store i8*%r5,i8**%h,align 8
%r8=load i8*,i8**%g,align 8
%r9=bitcast i8*%r5 to i8**
store i8*%r8,i8**%r9,align 8
%sa=getelementptr inbounds i8,i8*%r5,i64 8
%sb=bitcast i8*%sa to i32*
store i32%r1,i32*%sb,align 4
%sc=getelementptr inbounds i8,i8*%r5,i64 12
%sd=bitcast i8*%sc to i32*
store i32%r4,i32*%sd,align 4
%se=getelementptr inbounds i8,i8*%r5,i64 16
%sf=bitcast i8*%se to i32*
store i32 1,i32*%sf,align 4
%sg=call i8*@sml_alloc(i32 inreg 28)#0
%sh=getelementptr inbounds i8,i8*%sg,i64 -4
%si=bitcast i8*%sh to i32*
store i32 1342177304,i32*%si,align 4
store i8*%sg,i8**%j,align 8
%sj=load i8*,i8**%h,align 8
%sk=bitcast i8*%sg to i8**
store i8*%sj,i8**%sk,align 8
%sl=getelementptr inbounds i8,i8*%sg,i64 8
%sm=bitcast i8*%sl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8subtract_306 to void(...)*),void(...)**%sm,align 8
%sn=getelementptr inbounds i8,i8*%sg,i64 16
%so=bitcast i8*%sn to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8subtract_306 to void(...)*),void(...)**%so,align 8
%sp=getelementptr inbounds i8,i8*%sg,i64 24
%sq=bitcast i8*%sp to i32*
store i32 -2147483647,i32*%sq,align 4
%sr=load i8*,i8**%d,align 8
%ss=bitcast i8*%sr to i32*
%st=load i32,i32*%ss,align 4
%su=getelementptr inbounds i8,i8*%sr,i64 4
%sv=bitcast i8*%su to i32*
%sw=load i32,i32*%sv,align 4
%sx=call i8*@sml_alloc(i32 inreg 28)#0
%sy=getelementptr inbounds i8,i8*%sx,i64 -4
%sz=bitcast i8*%sy to i32*
store i32 1342177304,i32*%sz,align 4
store i8*%sx,i8**%n,align 8
%sA=load i8*,i8**%i,align 8
%sB=bitcast i8*%sx to i8**
store i8*%sA,i8**%sB,align 8
%sC=load i8*,i8**%g,align 8
%sD=getelementptr inbounds i8,i8*%sx,i64 8
%sE=bitcast i8*%sD to i8**
store i8*%sC,i8**%sE,align 8
%sF=getelementptr inbounds i8,i8*%sx,i64 16
%sG=bitcast i8*%sF to i32*
store i32%st,i32*%sG,align 4
%sH=getelementptr inbounds i8,i8*%sx,i64 20
%sI=bitcast i8*%sH to i32*
store i32%sw,i32*%sI,align 4
%sJ=getelementptr inbounds i8,i8*%sx,i64 24
%sK=bitcast i8*%sJ to i32*
store i32 3,i32*%sK,align 4
%sL=call i8*@sml_alloc(i32 inreg 28)#0
%sM=getelementptr inbounds i8,i8*%sL,i64 -4
%sN=bitcast i8*%sM to i32*
store i32 1342177304,i32*%sN,align 4
store i8*%sL,i8**%o,align 8
%sO=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%sP=bitcast i8*%sL to i8**
store i8*%sO,i8**%sP,align 8
%sQ=getelementptr inbounds i8,i8*%sL,i64 8
%sR=bitcast i8*%sQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12subtractList_308 to void(...)*),void(...)**%sR,align 8
%sS=getelementptr inbounds i8,i8*%sL,i64 16
%sT=bitcast i8*%sS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12subtractList_308 to void(...)*),void(...)**%sT,align 8
%sU=getelementptr inbounds i8,i8*%sL,i64 24
%sV=bitcast i8*%sU to i32*
store i32 -2147483647,i32*%sV,align 4
%sW=load i8*,i8**%d,align 8
%sX=bitcast i8*%sW to i32*
%sY=load i32,i32*%sX,align 4
%sZ=getelementptr inbounds i8,i8*%sW,i64 4
%s0=bitcast i8*%sZ to i32*
%s1=load i32,i32*%s0,align 4
%s2=call i8*@sml_alloc(i32 inreg 20)#0
%s3=getelementptr inbounds i8,i8*%s2,i64 -4
%s4=bitcast i8*%s3 to i32*
store i32 1342177296,i32*%s4,align 4
store i8*%s2,i8**%n,align 8
%s5=load i8*,i8**%i,align 8
%s6=bitcast i8*%s2 to i8**
store i8*%s5,i8**%s6,align 8
%s7=getelementptr inbounds i8,i8*%s2,i64 8
%s8=bitcast i8*%s7 to i32*
store i32%sY,i32*%s8,align 4
%s9=getelementptr inbounds i8,i8*%s2,i64 12
%ta=bitcast i8*%s9 to i32*
store i32%s1,i32*%ta,align 4
%tb=getelementptr inbounds i8,i8*%s2,i64 16
%tc=bitcast i8*%tb to i32*
store i32 1,i32*%tc,align 4
%td=call i8*@sml_alloc(i32 inreg 28)#0
%te=getelementptr inbounds i8,i8*%td,i64 -4
%tf=bitcast i8*%te to i32*
store i32 1342177304,i32*%tf,align 4
store i8*%td,i8**%q,align 8
%tg=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%th=bitcast i8*%td to i8**
store i8*%tg,i8**%th,align 8
%ti=getelementptr inbounds i8,i8*%td,i64 8
%tj=bitcast i8*%ti to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3map_311 to void(...)*),void(...)**%tj,align 8
%tk=getelementptr inbounds i8,i8*%td,i64 16
%tl=bitcast i8*%tk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3map_311 to void(...)*),void(...)**%tl,align 8
%tm=getelementptr inbounds i8,i8*%td,i64 24
%tn=bitcast i8*%tm to i32*
store i32 -2147483647,i32*%tn,align 4
%to=load i8*,i8**%d,align 8
%tp=bitcast i8*%to to i32*
%tq=load i32,i32*%tp,align 4
%tr=getelementptr inbounds i8,i8*%to,i64 4
%ts=bitcast i8*%tr to i32*
%tt=load i32,i32*%ts,align 4
%tu=call i8*@sml_alloc(i32 inreg 20)#0
%tv=getelementptr inbounds i8,i8*%tu,i64 -4
%tw=bitcast i8*%tv to i32*
store i32 1342177296,i32*%tw,align 4
store i8*%tu,i8**%n,align 8
%tx=load i8*,i8**%i,align 8
%ty=bitcast i8*%tu to i8**
store i8*%tx,i8**%ty,align 8
%tz=getelementptr inbounds i8,i8*%tu,i64 8
%tA=bitcast i8*%tz to i32*
store i32%tq,i32*%tA,align 4
%tB=getelementptr inbounds i8,i8*%tu,i64 12
%tC=bitcast i8*%tB to i32*
store i32%tt,i32*%tC,align 4
%tD=getelementptr inbounds i8,i8*%tu,i64 16
%tE=bitcast i8*%tD to i32*
store i32 1,i32*%tE,align 4
%tF=call i8*@sml_alloc(i32 inreg 28)#0
%tG=getelementptr inbounds i8,i8*%tF,i64 -4
%tH=bitcast i8*%tG to i32*
store i32 1342177304,i32*%tH,align 4
store i8*%tF,i8**%w,align 8
%tI=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%tJ=bitcast i8*%tF to i8**
store i8*%tI,i8**%tJ,align 8
%tK=getelementptr inbounds i8,i8*%tF,i64 8
%tL=bitcast i8*%tK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10mapPartial_314 to void(...)*),void(...)**%tL,align 8
%tM=getelementptr inbounds i8,i8*%tF,i64 16
%tN=bitcast i8*%tM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10mapPartial_314 to void(...)*),void(...)**%tN,align 8
%tO=getelementptr inbounds i8,i8*%tF,i64 24
%tP=bitcast i8*%tO to i32*
store i32 -2147483647,i32*%tP,align 4
%tQ=load i8*,i8**%d,align 8
%tR=bitcast i8*%tQ to i32*
%tS=load i32,i32*%tR,align 4
%tT=getelementptr inbounds i8,i8*%tQ,i64 4
%tU=bitcast i8*%tT to i32*
%tV=load i32,i32*%tU,align 4
%tW=call i8*@sml_alloc(i32 inreg 12)#0
%tX=bitcast i8*%tW to i32*
%tY=getelementptr inbounds i8,i8*%tW,i64 -4
%tZ=bitcast i8*%tY to i32*
store i32 1342177288,i32*%tZ,align 4
store i8*%tW,i8**%n,align 8
store i32%tS,i32*%tX,align 4
%t0=getelementptr inbounds i8,i8*%tW,i64 4
%t1=bitcast i8*%t0 to i32*
store i32%tV,i32*%t1,align 4
%t2=getelementptr inbounds i8,i8*%tW,i64 8
%t3=bitcast i8*%t2 to i32*
store i32 0,i32*%t3,align 4
%t4=call i8*@sml_alloc(i32 inreg 28)#0
%t5=getelementptr inbounds i8,i8*%t4,i64 -4
%t6=bitcast i8*%t5 to i32*
store i32 1342177304,i32*%t6,align 4
%t7=load i8*,i8**%n,align 8
%t8=bitcast i8*%t4 to i8**
store i8*%t7,i8**%t8,align 8
%t9=getelementptr inbounds i8,i8*%t4,i64 8
%ua=bitcast i8*%t9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3app_317 to void(...)*),void(...)**%ua,align 8
%ub=getelementptr inbounds i8,i8*%t4,i64 16
%uc=bitcast i8*%ub to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3app_317 to void(...)*),void(...)**%uc,align 8
%ud=getelementptr inbounds i8,i8*%t4,i64 24
%ue=bitcast i8*%ud to i32*
store i32 -2147483647,i32*%ue,align 4
%uf=load i8*,i8**%d,align 8
%ug=bitcast i8*%uf to i32*
%uh=load i32,i32*%ug,align 4
%ui=getelementptr inbounds i8,i8*%uf,i64 4
%uj=bitcast i8*%ui to i32*
%uk=load i32,i32*%uj,align 4
%ul=call i8*@sml_alloc(i32 inreg 12)#0
%um=bitcast i8*%ul to i32*
%un=getelementptr inbounds i8,i8*%ul,i64 -4
%uo=bitcast i8*%un to i32*
store i32 1342177288,i32*%uo,align 4
store i8*%ul,i8**%y,align 8
store i32%uh,i32*%um,align 4
%up=getelementptr inbounds i8,i8*%ul,i64 4
%uq=bitcast i8*%up to i32*
store i32%uk,i32*%uq,align 4
%ur=getelementptr inbounds i8,i8*%ul,i64 8
%us=bitcast i8*%ur to i32*
store i32 0,i32*%us,align 4
%ut=call i8*@sml_alloc(i32 inreg 28)#0
%uu=getelementptr inbounds i8,i8*%ut,i64 -4
%uv=bitcast i8*%uu to i32*
store i32 1342177304,i32*%uv,align 4
%uw=load i8*,i8**%y,align 8
%ux=bitcast i8*%ut to i8**
store i8*%uw,i8**%ux,align 8
%uy=getelementptr inbounds i8,i8*%ut,i64 8
%uz=bitcast i8*%uy to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLL5foldl_322 to void(...)*),void(...)**%uz,align 8
%uA=getelementptr inbounds i8,i8*%ut,i64 16
%uB=bitcast i8*%uA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL5foldl_389 to void(...)*),void(...)**%uB,align 8
%uC=getelementptr inbounds i8,i8*%ut,i64 24
%uD=bitcast i8*%uC to i32*
store i32 -2147483647,i32*%uD,align 4
%uE=load i8*,i8**%d,align 8
%uF=bitcast i8*%uE to i32*
%uG=load i32,i32*%uF,align 4
%uH=getelementptr inbounds i8,i8*%uE,i64 4
%uI=bitcast i8*%uH to i32*
%uJ=load i32,i32*%uI,align 4
%uK=call i8*@sml_alloc(i32 inreg 12)#0
%uL=bitcast i8*%uK to i32*
%uM=getelementptr inbounds i8,i8*%uK,i64 -4
%uN=bitcast i8*%uM to i32*
store i32 1342177288,i32*%uN,align 4
store i8*%uK,i8**%z,align 8
store i32%uG,i32*%uL,align 4
%uO=getelementptr inbounds i8,i8*%uK,i64 4
%uP=bitcast i8*%uO to i32*
store i32%uJ,i32*%uP,align 4
%uQ=getelementptr inbounds i8,i8*%uK,i64 8
%uR=bitcast i8*%uQ to i32*
store i32 0,i32*%uR,align 4
%uS=call i8*@sml_alloc(i32 inreg 28)#0
%uT=getelementptr inbounds i8,i8*%uS,i64 -4
%uU=bitcast i8*%uT to i32*
store i32 1342177304,i32*%uU,align 4
%uV=load i8*,i8**%z,align 8
%uW=bitcast i8*%uS to i8**
store i8*%uV,i8**%uW,align 8
%uX=getelementptr inbounds i8,i8*%uS,i64 8
%uY=bitcast i8*%uX to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLL5foldr_327 to void(...)*),void(...)**%uY,align 8
%uZ=getelementptr inbounds i8,i8*%uS,i64 16
%u0=bitcast i8*%uZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL5foldr_390 to void(...)*),void(...)**%u0,align 8
%u1=getelementptr inbounds i8,i8*%uS,i64 24
%u2=bitcast i8*%u1 to i32*
store i32 -2147483647,i32*%u2,align 4
%u3=load i8*,i8**%d,align 8
%u4=bitcast i8*%u3 to i32*
%u5=load i32,i32*%u4,align 4
%u6=getelementptr inbounds i8,i8*%u3,i64 4
%u7=bitcast i8*%u6 to i32*
%u8=load i32,i32*%u7,align 4
%u9=call i8*@sml_alloc(i32 inreg 28)#0
%va=getelementptr inbounds i8,i8*%u9,i64 -4
%vb=bitcast i8*%va to i32*
store i32 1342177304,i32*%vb,align 4
store i8*%u9,i8**%A,align 8
%vc=load i8*,i8**%i,align 8
%vd=bitcast i8*%u9 to i8**
store i8*%vc,i8**%vd,align 8
%ve=load i8*,i8**%y,align 8
%vf=getelementptr inbounds i8,i8*%u9,i64 8
%vg=bitcast i8*%vf to i8**
store i8*%ve,i8**%vg,align 8
%vh=getelementptr inbounds i8,i8*%u9,i64 16
%vi=bitcast i8*%vh to i32*
store i32%u5,i32*%vi,align 4
%vj=getelementptr inbounds i8,i8*%u9,i64 20
%vk=bitcast i8*%vj to i32*
store i32%u8,i32*%vk,align 4
%vl=getelementptr inbounds i8,i8*%u9,i64 24
%vm=bitcast i8*%vl to i32*
store i32 3,i32*%vm,align 4
%vn=call i8*@sml_alloc(i32 inreg 28)#0
%vo=getelementptr inbounds i8,i8*%vn,i64 -4
%vp=bitcast i8*%vo to i32*
store i32 1342177304,i32*%vp,align 4
store i8*%vn,i8**%B,align 8
%vq=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%vr=bitcast i8*%vn to i8**
store i8*%vq,i8**%vr,align 8
%vs=getelementptr inbounds i8,i8*%vn,i64 8
%vt=bitcast i8*%vs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6filter_330 to void(...)*),void(...)**%vt,align 8
%vu=getelementptr inbounds i8,i8*%vn,i64 16
%vv=bitcast i8*%vu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6filter_330 to void(...)*),void(...)**%vv,align 8
%vw=getelementptr inbounds i8,i8*%vn,i64 24
%vx=bitcast i8*%vw to i32*
store i32 -2147483647,i32*%vx,align 4
%vy=load i8*,i8**%d,align 8
%vz=bitcast i8*%vy to i32*
%vA=load i32,i32*%vz,align 4
%vB=getelementptr inbounds i8,i8*%vy,i64 4
%vC=bitcast i8*%vB to i32*
%vD=load i32,i32*%vC,align 4
%vE=call i8*@sml_alloc(i32 inreg 28)#0
%vF=getelementptr inbounds i8,i8*%vE,i64 -4
%vG=bitcast i8*%vF to i32*
store i32 1342177304,i32*%vG,align 4
store i8*%vE,i8**%A,align 8
%vH=load i8*,i8**%i,align 8
%vI=bitcast i8*%vE to i8**
store i8*%vH,i8**%vI,align 8
%vJ=load i8*,i8**%y,align 8
%vK=getelementptr inbounds i8,i8*%vE,i64 8
%vL=bitcast i8*%vK to i8**
store i8*%vJ,i8**%vL,align 8
%vM=getelementptr inbounds i8,i8*%vE,i64 16
%vN=bitcast i8*%vM to i32*
store i32%vA,i32*%vN,align 4
%vO=getelementptr inbounds i8,i8*%vE,i64 20
%vP=bitcast i8*%vO to i32*
store i32%vD,i32*%vP,align 4
%vQ=getelementptr inbounds i8,i8*%vE,i64 24
%vR=bitcast i8*%vQ to i32*
store i32 3,i32*%vR,align 4
%vS=call i8*@sml_alloc(i32 inreg 28)#0
%vT=getelementptr inbounds i8,i8*%vS,i64 -4
%vU=bitcast i8*%vT to i32*
store i32 1342177304,i32*%vU,align 4
store i8*%vS,i8**%C,align 8
%vV=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%vW=bitcast i8*%vS to i8**
store i8*%vV,i8**%vW,align 8
%vX=getelementptr inbounds i8,i8*%vS,i64 8
%vY=bitcast i8*%vX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9partition_334 to void(...)*),void(...)**%vY,align 8
%vZ=getelementptr inbounds i8,i8*%vS,i64 16
%v0=bitcast i8*%vZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9partition_334 to void(...)*),void(...)**%v0,align 8
%v1=getelementptr inbounds i8,i8*%vS,i64 24
%v2=bitcast i8*%v1 to i32*
store i32 -2147483647,i32*%v2,align 4
%v3=load i8*,i8**%d,align 8
%v4=bitcast i8*%v3 to i32*
%v5=load i32,i32*%v4,align 4
%v6=getelementptr inbounds i8,i8*%v3,i64 4
%v7=bitcast i8*%v6 to i32*
%v8=load i32,i32*%v7,align 4
%v9=call i8*@sml_alloc(i32 inreg 12)#0
%wa=bitcast i8*%v9 to i32*
%wb=getelementptr inbounds i8,i8*%v9,i64 -4
%wc=bitcast i8*%wb to i32*
store i32 1342177288,i32*%wc,align 4
store i8*%v9,i8**%A,align 8
store i32%v5,i32*%wa,align 4
%wd=getelementptr inbounds i8,i8*%v9,i64 4
%we=bitcast i8*%wd to i32*
store i32%v8,i32*%we,align 4
%wf=getelementptr inbounds i8,i8*%v9,i64 8
%wg=bitcast i8*%wf to i32*
store i32 0,i32*%wg,align 4
%wh=call i8*@sml_alloc(i32 inreg 28)#0
%wi=getelementptr inbounds i8,i8*%wh,i64 -4
%wj=bitcast i8*%wi to i32*
store i32 1342177304,i32*%wj,align 4
%wk=load i8*,i8**%A,align 8
%wl=bitcast i8*%wh to i8**
store i8*%wk,i8**%wl,align 8
%wm=getelementptr inbounds i8,i8*%wh,i64 8
%wn=bitcast i8*%wm to void(...)**
store void(...)*bitcast(i32(i8*,i8*,i8*)*@_SMLL6exists_335 to void(...)*),void(...)**%wn,align 8
%wo=getelementptr inbounds i8,i8*%wh,i64 16
%wp=bitcast i8*%wo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL6exists_391 to void(...)*),void(...)**%wp,align 8
%wq=getelementptr inbounds i8,i8*%wh,i64 24
%wr=bitcast i8*%wq to i32*
store i32 -2147483647,i32*%wr,align 4
%ws=load i8*,i8**%d,align 8
%wt=bitcast i8*%ws to i32*
%wu=load i32,i32*%wt,align 4
%wv=getelementptr inbounds i8,i8*%ws,i64 4
%ww=bitcast i8*%wv to i32*
%wx=load i32,i32*%ww,align 4
%wy=call i8*@sml_alloc(i32 inreg 12)#0
%wz=bitcast i8*%wy to i32*
%wA=getelementptr inbounds i8,i8*%wy,i64 -4
%wB=bitcast i8*%wA to i32*
store i32 1342177288,i32*%wB,align 4
store i8*%wy,i8**%D,align 8
store i32%wu,i32*%wz,align 4
%wC=getelementptr inbounds i8,i8*%wy,i64 4
%wD=bitcast i8*%wC to i32*
store i32%wx,i32*%wD,align 4
%wE=getelementptr inbounds i8,i8*%wy,i64 8
%wF=bitcast i8*%wE to i32*
store i32 0,i32*%wF,align 4
%wG=call i8*@sml_alloc(i32 inreg 28)#0
%wH=getelementptr inbounds i8,i8*%wG,i64 -4
%wI=bitcast i8*%wH to i32*
store i32 1342177304,i32*%wI,align 4
%wJ=load i8*,i8**%D,align 8
%wK=bitcast i8*%wG to i8**
store i8*%wJ,i8**%wK,align 8
%wL=getelementptr inbounds i8,i8*%wG,i64 8
%wM=bitcast i8*%wL to void(...)**
store void(...)*bitcast(i32(i8*,i8*,i8*)*@_SMLL3all_336 to void(...)*),void(...)**%wM,align 8
%wN=getelementptr inbounds i8,i8*%wG,i64 16
%wO=bitcast i8*%wN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL3all_392 to void(...)*),void(...)**%wO,align 8
%wP=getelementptr inbounds i8,i8*%wG,i64 24
%wQ=bitcast i8*%wP to i32*
store i32 -2147483647,i32*%wQ,align 4
%wR=load i8*,i8**%d,align 8
%wS=bitcast i8*%wR to i32*
%wT=load i32,i32*%wS,align 4
%wU=getelementptr inbounds i8,i8*%wR,i64 4
%wV=bitcast i8*%wU to i32*
%wW=load i32,i32*%wV,align 4
%wX=call i8*@sml_alloc(i32 inreg 12)#0
%wY=bitcast i8*%wX to i32*
%wZ=getelementptr inbounds i8,i8*%wX,i64 -4
%w0=bitcast i8*%wZ to i32*
store i32 1342177288,i32*%w0,align 4
store i8*%wX,i8**%E,align 8
store i32%wT,i32*%wY,align 4
%w1=getelementptr inbounds i8,i8*%wX,i64 4
%w2=bitcast i8*%w1 to i32*
store i32%wW,i32*%w2,align 4
%w3=getelementptr inbounds i8,i8*%wX,i64 8
%w4=bitcast i8*%w3 to i32*
store i32 0,i32*%w4,align 4
%w5=call i8*@sml_alloc(i32 inreg 28)#0
%w6=getelementptr inbounds i8,i8*%w5,i64 -4
%w7=bitcast i8*%w6 to i32*
store i32 1342177304,i32*%w7,align 4
%w8=load i8*,i8**%E,align 8
%w9=bitcast i8*%w5 to i8**
store i8*%w8,i8**%w9,align 8
%xa=getelementptr inbounds i8,i8*%w5,i64 8
%xb=bitcast i8*%xa to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL4find_337 to void(...)*),void(...)**%xb,align 8
%xc=getelementptr inbounds i8,i8*%w5,i64 16
%xd=bitcast i8*%xc to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL4find_337 to void(...)*),void(...)**%xd,align 8
%xe=getelementptr inbounds i8,i8*%w5,i64 24
%xf=bitcast i8*%xe to i32*
store i32 -2147483647,i32*%xf,align 4
%xg=call i8*@sml_alloc(i32 inreg 12)#0
%xh=getelementptr inbounds i8,i8*%xg,i64 -4
%xi=bitcast i8*%xh to i32*
store i32 1342177288,i32*%xi,align 4
store i8*%xg,i8**%F,align 8
%xj=load i8*,i8**%i,align 8
%xk=bitcast i8*%xg to i8**
store i8*%xj,i8**%xk,align 8
%xl=getelementptr inbounds i8,i8*%xg,i64 8
%xm=bitcast i8*%xl to i32*
store i32 1,i32*%xm,align 4
%xn=call i8*@sml_alloc(i32 inreg 28)#0
%xo=getelementptr inbounds i8,i8*%xn,i64 -4
%xp=bitcast i8*%xo to i32*
store i32 1342177304,i32*%xp,align 4
store i8*%xn,i8**%G,align 8
%xq=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%xr=bitcast i8*%xn to i8**
store i8*%xq,i8**%xr,align 8
%xs=getelementptr inbounds i8,i8*%xn,i64 8
%xt=bitcast i8*%xs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3add_338 to void(...)*),void(...)**%xt,align 8
%xu=getelementptr inbounds i8,i8*%xn,i64 16
%xv=bitcast i8*%xu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3add_338 to void(...)*),void(...)**%xv,align 8
%xw=getelementptr inbounds i8,i8*%xn,i64 24
%xx=bitcast i8*%xw to i32*
store i32 -2147483647,i32*%xx,align 4
%xy=load i8*,i8**%d,align 8
%xz=bitcast i8*%xy to i32*
%xA=load i32,i32*%xz,align 4
%xB=getelementptr inbounds i8,i8*%xy,i64 4
%xC=bitcast i8*%xB to i32*
%xD=load i32,i32*%xC,align 4
%xE=call i8*@sml_alloc(i32 inreg 20)#0
%xF=getelementptr inbounds i8,i8*%xE,i64 -4
%xG=bitcast i8*%xF to i32*
store i32 1342177296,i32*%xG,align 4
store i8*%xE,i8**%F,align 8
%xH=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%xI=bitcast i8*%xE to i8**
store i8*%xH,i8**%xI,align 8
%xJ=getelementptr inbounds i8,i8*%xE,i64 8
%xK=bitcast i8*%xJ to i32*
store i32%xA,i32*%xK,align 4
%xL=getelementptr inbounds i8,i8*%xE,i64 12
%xM=bitcast i8*%xL to i32*
store i32%xD,i32*%xM,align 4
%xN=getelementptr inbounds i8,i8*%xE,i64 16
%xO=bitcast i8*%xN to i32*
store i32 1,i32*%xO,align 4
%xP=call i8*@sml_alloc(i32 inreg 28)#0
%xQ=getelementptr inbounds i8,i8*%xP,i64 -4
%xR=bitcast i8*%xQ to i32*
store i32 1342177304,i32*%xR,align 4
store i8*%xP,i8**%i,align 8
%xS=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%xT=bitcast i8*%xP to i8**
store i8*%xS,i8**%xT,align 8
%xU=getelementptr inbounds i8,i8*%xP,i64 8
%xV=bitcast i8*%xU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4add_G_339 to void(...)*),void(...)**%xV,align 8
%xW=getelementptr inbounds i8,i8*%xP,i64 16
%xX=bitcast i8*%xW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4add_G_339 to void(...)*),void(...)**%xX,align 8
%xY=getelementptr inbounds i8,i8*%xP,i64 24
%xZ=bitcast i8*%xY to i32*
store i32 -2147483647,i32*%xZ,align 4
%x0=call i8*@sml_alloc(i32 inreg 12)#0
%x1=getelementptr inbounds i8,i8*%x0,i64 -4
%x2=bitcast i8*%x1 to i32*
store i32 1342177288,i32*%x2,align 4
store i8*%x0,i8**%F,align 8
%x3=load i8*,i8**%D,align 8
store i8*null,i8**%D,align 8
%x4=bitcast i8*%x0 to i8**
store i8*%x3,i8**%x4,align 8
%x5=getelementptr inbounds i8,i8*%x0,i64 8
%x6=bitcast i8*%x5 to i32*
store i32 1,i32*%x6,align 4
%x7=call i8*@sml_alloc(i32 inreg 28)#0
%x8=getelementptr inbounds i8,i8*%x7,i64 -4
%x9=bitcast i8*%x8 to i32*
store i32 1342177304,i32*%x9,align 4
store i8*%x7,i8**%D,align 8
%ya=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%yb=bitcast i8*%x7 to i8**
store i8*%ya,i8**%yb,align 8
%yc=getelementptr inbounds i8,i8*%x7,i64 8
%yd=bitcast i8*%yc to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3all_341 to void(...)*),void(...)**%yd,align 8
%ye=getelementptr inbounds i8,i8*%x7,i64 16
%yf=bitcast i8*%ye to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3all_341 to void(...)*),void(...)**%yf,align 8
%yg=getelementptr inbounds i8,i8*%x7,i64 24
%yh=bitcast i8*%yg to i32*
store i32 -2147483647,i32*%yh,align 4
%yi=call i8*@sml_alloc(i32 inreg 12)#0
%yj=getelementptr inbounds i8,i8*%yi,i64 -4
%yk=bitcast i8*%yj to i32*
store i32 1342177288,i32*%yk,align 4
store i8*%yi,i8**%F,align 8
%yl=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%ym=bitcast i8*%yi to i8**
store i8*%yl,i8**%ym,align 8
%yn=getelementptr inbounds i8,i8*%yi,i64 8
%yo=bitcast i8*%yn to i32*
store i32 1,i32*%yo,align 4
%yp=call i8*@sml_alloc(i32 inreg 28)#0
%yq=getelementptr inbounds i8,i8*%yp,i64 -4
%yr=bitcast i8*%yq to i32*
store i32 1342177304,i32*%yr,align 4
store i8*%yp,i8**%n,align 8
%ys=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%yt=bitcast i8*%yp to i8**
store i8*%ys,i8**%yt,align 8
%yu=getelementptr inbounds i8,i8*%yp,i64 8
%yv=bitcast i8*%yu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3app_342 to void(...)*),void(...)**%yv,align 8
%yw=getelementptr inbounds i8,i8*%yp,i64 16
%yx=bitcast i8*%yw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3app_342 to void(...)*),void(...)**%yx,align 8
%yy=getelementptr inbounds i8,i8*%yp,i64 24
%yz=bitcast i8*%yy to i32*
store i32 -2147483647,i32*%yz,align 4
%yA=call i8*@sml_alloc(i32 inreg 12)#0
%yB=getelementptr inbounds i8,i8*%yA,i64 -4
%yC=bitcast i8*%yB to i32*
store i32 1342177288,i32*%yC,align 4
store i8*%yA,i8**%F,align 8
%yD=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%yE=bitcast i8*%yA to i8**
store i8*%yD,i8**%yE,align 8
%yF=getelementptr inbounds i8,i8*%yA,i64 8
%yG=bitcast i8*%yF to i32*
store i32 1,i32*%yG,align 4
%yH=call i8*@sml_alloc(i32 inreg 28)#0
%yI=getelementptr inbounds i8,i8*%yH,i64 -4
%yJ=bitcast i8*%yI to i32*
store i32 1342177304,i32*%yJ,align 4
store i8*%yH,i8**%v,align 8
%yK=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%yL=bitcast i8*%yH to i8**
store i8*%yK,i8**%yL,align 8
%yM=getelementptr inbounds i8,i8*%yH,i64 8
%yN=bitcast i8*%yM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6delete_343 to void(...)*),void(...)**%yN,align 8
%yO=getelementptr inbounds i8,i8*%yH,i64 16
%yP=bitcast i8*%yO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6delete_343 to void(...)*),void(...)**%yP,align 8
%yQ=getelementptr inbounds i8,i8*%yH,i64 24
%yR=bitcast i8*%yQ to i32*
store i32 -2147483647,i32*%yR,align 4
%yS=call i8*@sml_alloc(i32 inreg 12)#0
%yT=getelementptr inbounds i8,i8*%yS,i64 -4
%yU=bitcast i8*%yT to i32*
store i32 1342177288,i32*%yU,align 4
store i8*%yS,i8**%F,align 8
%yV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%yW=bitcast i8*%yS to i8**
store i8*%yV,i8**%yW,align 8
%yX=getelementptr inbounds i8,i8*%yS,i64 8
%yY=bitcast i8*%yX to i32*
store i32 1,i32*%yY,align 4
%yZ=call i8*@sml_alloc(i32 inreg 28)#0
%y0=getelementptr inbounds i8,i8*%yZ,i64 -4
%y1=bitcast i8*%y0 to i32*
store i32 1342177304,i32*%y1,align 4
store i8*%yZ,i8**%g,align 8
%y2=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%y3=bitcast i8*%yZ to i8**
store i8*%y2,i8**%y3,align 8
%y4=getelementptr inbounds i8,i8*%yZ,i64 8
%y5=bitcast i8*%y4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10difference_344 to void(...)*),void(...)**%y5,align 8
%y6=getelementptr inbounds i8,i8*%yZ,i64 16
%y7=bitcast i8*%y6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10difference_344 to void(...)*),void(...)**%y7,align 8
%y8=getelementptr inbounds i8,i8*%yZ,i64 24
%y9=bitcast i8*%y8 to i32*
store i32 -2147483647,i32*%y9,align 4
%za=call i8*@sml_alloc(i32 inreg 12)#0
%zb=getelementptr inbounds i8,i8*%za,i64 -4
%zc=bitcast i8*%zb to i32*
store i32 1342177288,i32*%zc,align 4
store i8*%za,i8**%F,align 8
%zd=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%ze=bitcast i8*%za to i8**
store i8*%zd,i8**%ze,align 8
%zf=getelementptr inbounds i8,i8*%za,i64 8
%zg=bitcast i8*%zf to i32*
store i32 1,i32*%zg,align 4
%zh=call i8*@sml_alloc(i32 inreg 28)#0
%zi=getelementptr inbounds i8,i8*%zh,i64 -4
%zj=bitcast i8*%zi to i32*
store i32 1342177304,i32*%zj,align 4
store i8*%zh,i8**%A,align 8
%zk=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%zl=bitcast i8*%zh to i8**
store i8*%zk,i8**%zl,align 8
%zm=getelementptr inbounds i8,i8*%zh,i64 8
%zn=bitcast i8*%zm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6exists_346 to void(...)*),void(...)**%zn,align 8
%zo=getelementptr inbounds i8,i8*%zh,i64 16
%zp=bitcast i8*%zo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6exists_346 to void(...)*),void(...)**%zp,align 8
%zq=getelementptr inbounds i8,i8*%zh,i64 24
%zr=bitcast i8*%zq to i32*
store i32 -2147483647,i32*%zr,align 4
%zs=call i8*@sml_alloc(i32 inreg 12)#0
%zt=getelementptr inbounds i8,i8*%zs,i64 -4
%zu=bitcast i8*%zt to i32*
store i32 1342177288,i32*%zu,align 4
store i8*%zs,i8**%F,align 8
%zv=load i8*,i8**%E,align 8
store i8*null,i8**%E,align 8
%zw=bitcast i8*%zs to i8**
store i8*%zv,i8**%zw,align 8
%zx=getelementptr inbounds i8,i8*%zs,i64 8
%zy=bitcast i8*%zx to i32*
store i32 1,i32*%zy,align 4
%zz=call i8*@sml_alloc(i32 inreg 28)#0
%zA=getelementptr inbounds i8,i8*%zz,i64 -4
%zB=bitcast i8*%zA to i32*
store i32 1342177304,i32*%zB,align 4
store i8*%zz,i8**%E,align 8
%zC=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%zD=bitcast i8*%zz to i8**
store i8*%zC,i8**%zD,align 8
%zE=getelementptr inbounds i8,i8*%zz,i64 8
%zF=bitcast i8*%zE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4find_348 to void(...)*),void(...)**%zF,align 8
%zG=getelementptr inbounds i8,i8*%zz,i64 16
%zH=bitcast i8*%zG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4find_348 to void(...)*),void(...)**%zH,align 8
%zI=getelementptr inbounds i8,i8*%zz,i64 24
%zJ=bitcast i8*%zI to i32*
store i32 -2147483647,i32*%zJ,align 4
%zK=call i8*@sml_alloc(i32 inreg 12)#0
%zL=getelementptr inbounds i8,i8*%zK,i64 -4
%zM=bitcast i8*%zL to i32*
store i32 1342177288,i32*%zM,align 4
store i8*%zK,i8**%F,align 8
%zN=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%zO=bitcast i8*%zK to i8**
store i8*%zN,i8**%zO,align 8
%zP=getelementptr inbounds i8,i8*%zK,i64 8
%zQ=bitcast i8*%zP to i32*
store i32 1,i32*%zQ,align 4
%zR=call i8*@sml_alloc(i32 inreg 28)#0
%zS=getelementptr inbounds i8,i8*%zR,i64 -4
%zT=bitcast i8*%zS to i32*
store i32 1342177304,i32*%zT,align 4
%zU=load i8*,i8**%F,align 8
%zV=bitcast i8*%zR to i8**
store i8*%zU,i8**%zV,align 8
%zW=getelementptr inbounds i8,i8*%zR,i64 8
%zX=bitcast i8*%zW to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLL5foldl_350 to void(...)*),void(...)**%zX,align 8
%zY=getelementptr inbounds i8,i8*%zR,i64 16
%zZ=bitcast i8*%zY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL5foldl_395 to void(...)*),void(...)**%zZ,align 8
%z0=getelementptr inbounds i8,i8*%zR,i64 24
%z1=bitcast i8*%z0 to i32*
store i32 -2147483647,i32*%z1,align 4
%z2=call i8*@sml_alloc(i32 inreg 12)#0
%z3=getelementptr inbounds i8,i8*%z2,i64 -4
%z4=bitcast i8*%z3 to i32*
store i32 1342177288,i32*%z4,align 4
store i8*%z2,i8**%y,align 8
%z5=load i8*,i8**%z,align 8
%z6=bitcast i8*%z2 to i8**
store i8*%z5,i8**%z6,align 8
%z7=getelementptr inbounds i8,i8*%z2,i64 8
%z8=bitcast i8*%z7 to i32*
store i32 1,i32*%z8,align 4
%z9=call i8*@sml_alloc(i32 inreg 28)#0
%Aa=getelementptr inbounds i8,i8*%z9,i64 -4
%Ab=bitcast i8*%Aa to i32*
store i32 1342177304,i32*%Ab,align 4
%Ac=load i8*,i8**%y,align 8
%Ad=bitcast i8*%z9 to i8**
store i8*%Ac,i8**%Ad,align 8
%Ae=getelementptr inbounds i8,i8*%z9,i64 8
%Af=bitcast i8*%Ae to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLL5foldr_352 to void(...)*),void(...)**%Af,align 8
%Ag=getelementptr inbounds i8,i8*%z9,i64 16
%Ah=bitcast i8*%Ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL5foldr_396 to void(...)*),void(...)**%Ah,align 8
%Ai=getelementptr inbounds i8,i8*%z9,i64 24
%Aj=bitcast i8*%Ai to i32*
store i32 -2147483647,i32*%Aj,align 4
%Ak=call i8*@sml_alloc(i32 inreg 12)#0
%Al=getelementptr inbounds i8,i8*%Ak,i64 -4
%Am=bitcast i8*%Al to i32*
store i32 1342177288,i32*%Am,align 4
store i8*%Ak,i8**%H,align 8
%An=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%Ao=bitcast i8*%Ak to i8**
store i8*%An,i8**%Ao,align 8
%Ap=getelementptr inbounds i8,i8*%Ak,i64 8
%Aq=bitcast i8*%Ap to i32*
store i32 1,i32*%Aq,align 4
%Ar=call i8*@sml_alloc(i32 inreg 28)#0
%As=getelementptr inbounds i8,i8*%Ar,i64 -4
%At=bitcast i8*%As to i32*
store i32 1342177304,i32*%At,align 4
store i8*%Ar,i8**%k,align 8
%Au=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%Av=bitcast i8*%Ar to i8**
store i8*%Au,i8**%Av,align 8
%Aw=getelementptr inbounds i8,i8*%Ar,i64 8
%Ax=bitcast i8*%Aw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8fromList_353 to void(...)*),void(...)**%Ax,align 8
%Ay=getelementptr inbounds i8,i8*%Ar,i64 16
%Az=bitcast i8*%Ay to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8fromList_353 to void(...)*),void(...)**%Az,align 8
%AA=getelementptr inbounds i8,i8*%Ar,i64 24
%AB=bitcast i8*%AA to i32*
store i32 -2147483647,i32*%AB,align 4
%AC=call i8*@sml_alloc(i32 inreg 12)#0
%AD=getelementptr inbounds i8,i8*%AC,i64 -4
%AE=bitcast i8*%AD to i32*
store i32 1342177288,i32*%AE,align 4
store i8*%AC,i8**%H,align 8
%AF=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%AG=bitcast i8*%AC to i8**
store i8*%AF,i8**%AG,align 8
%AH=getelementptr inbounds i8,i8*%AC,i64 8
%AI=bitcast i8*%AH to i32*
store i32 1,i32*%AI,align 4
%AJ=call i8*@sml_alloc(i32 inreg 28)#0
%AK=getelementptr inbounds i8,i8*%AJ,i64 -4
%AL=bitcast i8*%AK to i32*
store i32 1342177304,i32*%AL,align 4
store i8*%AJ,i8**%m,align 8
%AM=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%AN=bitcast i8*%AJ to i8**
store i8*%AM,i8**%AN,align 8
%AO=getelementptr inbounds i8,i8*%AJ,i64 8
%AP=bitcast i8*%AO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12intersection_354 to void(...)*),void(...)**%AP,align 8
%AQ=getelementptr inbounds i8,i8*%AJ,i64 16
%AR=bitcast i8*%AQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12intersection_354 to void(...)*),void(...)**%AR,align 8
%AS=getelementptr inbounds i8,i8*%AJ,i64 24
%AT=bitcast i8*%AS to i32*
store i32 -2147483647,i32*%AT,align 4
%AU=call i8*@sml_alloc(i32 inreg 12)#0
%AV=getelementptr inbounds i8,i8*%AU,i64 -4
%AW=bitcast i8*%AV to i32*
store i32 1342177288,i32*%AW,align 4
store i8*%AU,i8**%H,align 8
%AX=load i8*,i8**%z,align 8
%AY=bitcast i8*%AU to i8**
store i8*%AX,i8**%AY,align 8
%AZ=getelementptr inbounds i8,i8*%AU,i64 8
%A0=bitcast i8*%AZ to i32*
store i32 1,i32*%A0,align 4
%A1=call i8*@sml_alloc(i32 inreg 28)#0
%A2=getelementptr inbounds i8,i8*%A1,i64 -4
%A3=bitcast i8*%A2 to i32*
store i32 1342177304,i32*%A3,align 4
store i8*%A1,i8**%I,align 8
%A4=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%A5=bitcast i8*%A1 to i8**
store i8*%A4,i8**%A5,align 8
%A6=getelementptr inbounds i8,i8*%A1,i64 8
%A7=bitcast i8*%A6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9listItems_359 to void(...)*),void(...)**%A7,align 8
%A8=getelementptr inbounds i8,i8*%A1,i64 16
%A9=bitcast i8*%A8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9listItems_359 to void(...)*),void(...)**%A9,align 8
%Ba=getelementptr inbounds i8,i8*%A1,i64 24
%Bb=bitcast i8*%Ba to i32*
store i32 -2147483647,i32*%Bb,align 4
%Bc=call i8*@sml_alloc(i32 inreg 12)#0
%Bd=getelementptr inbounds i8,i8*%Bc,i64 -4
%Be=bitcast i8*%Bd to i32*
store i32 1342177288,i32*%Be,align 4
store i8*%Bc,i8**%H,align 8
%Bf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Bg=bitcast i8*%Bc to i8**
store i8*%Bf,i8**%Bg,align 8
%Bh=getelementptr inbounds i8,i8*%Bc,i64 8
%Bi=bitcast i8*%Bh to i32*
store i32 1,i32*%Bi,align 4
%Bj=call i8*@sml_alloc(i32 inreg 28)#0
%Bk=getelementptr inbounds i8,i8*%Bj,i64 -4
%Bl=bitcast i8*%Bk to i32*
store i32 1342177304,i32*%Bl,align 4
store i8*%Bj,i8**%f,align 8
%Bm=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%Bn=bitcast i8*%Bj to i8**
store i8*%Bm,i8**%Bn,align 8
%Bo=getelementptr inbounds i8,i8*%Bj,i64 8
%Bp=bitcast i8*%Bo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7maxItem_360 to void(...)*),void(...)**%Bp,align 8
%Bq=getelementptr inbounds i8,i8*%Bj,i64 16
%Br=bitcast i8*%Bq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7maxItem_360 to void(...)*),void(...)**%Br,align 8
%Bs=getelementptr inbounds i8,i8*%Bj,i64 24
%Bt=bitcast i8*%Bs to i32*
store i32 1,i32*%Bt,align 4
%Bu=call i8*@sml_alloc(i32 inreg 12)#0
%Bv=getelementptr inbounds i8,i8*%Bu,i64 -4
%Bw=bitcast i8*%Bv to i32*
store i32 1342177288,i32*%Bw,align 4
store i8*%Bu,i8**%H,align 8
%Bx=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%By=bitcast i8*%Bu to i8**
store i8*%Bx,i8**%By,align 8
%Bz=getelementptr inbounds i8,i8*%Bu,i64 8
%BA=bitcast i8*%Bz to i32*
store i32 1,i32*%BA,align 4
%BB=call i8*@sml_alloc(i32 inreg 28)#0
%BC=getelementptr inbounds i8,i8*%BB,i64 -4
%BD=bitcast i8*%BC to i32*
store i32 1342177304,i32*%BD,align 4
store i8*%BB,i8**%e,align 8
%BE=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%BF=bitcast i8*%BB to i8**
store i8*%BE,i8**%BF,align 8
%BG=getelementptr inbounds i8,i8*%BB,i64 8
%BH=bitcast i8*%BG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minItem_361 to void(...)*),void(...)**%BH,align 8
%BI=getelementptr inbounds i8,i8*%BB,i64 16
%BJ=bitcast i8*%BI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minItem_361 to void(...)*),void(...)**%BJ,align 8
%BK=getelementptr inbounds i8,i8*%BB,i64 24
%BL=bitcast i8*%BK to i32*
store i32 1,i32*%BL,align 4
%BM=load i8*,i8**%d,align 8
%BN=bitcast i8*%BM to i32*
%BO=load i32,i32*%BN,align 4
%BP=getelementptr inbounds i8,i8*%BM,i64 4
%BQ=bitcast i8*%BP to i32*
%BR=load i32,i32*%BQ,align 4
%BS=call i8*@sml_alloc(i32 inreg 12)#0
%BT=bitcast i8*%BS to i32*
%BU=getelementptr inbounds i8,i8*%BS,i64 -4
%BV=bitcast i8*%BU to i32*
store i32 1342177288,i32*%BV,align 4
store i8*%BS,i8**%H,align 8
store i32%BO,i32*%BT,align 4
%BW=getelementptr inbounds i8,i8*%BS,i64 4
%BX=bitcast i8*%BW to i32*
store i32%BR,i32*%BX,align 4
%BY=getelementptr inbounds i8,i8*%BS,i64 8
%BZ=bitcast i8*%BY to i32*
store i32 0,i32*%BZ,align 4
%B0=call i8*@sml_alloc(i32 inreg 28)#0
%B1=getelementptr inbounds i8,i8*%B0,i64 -4
%B2=bitcast i8*%B1 to i32*
store i32 1342177304,i32*%B2,align 4
store i8*%B0,i8**%J,align 8
%B3=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%B4=bitcast i8*%B0 to i8**
store i8*%B3,i8**%B4,align 8
%B5=getelementptr inbounds i8,i8*%B0,i64 8
%B6=bitcast i8*%B5 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9singleton_364 to void(...)*),void(...)**%B6,align 8
%B7=getelementptr inbounds i8,i8*%B0,i64 16
%B8=bitcast i8*%B7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9singleton_364 to void(...)*),void(...)**%B8,align 8
%B9=getelementptr inbounds i8,i8*%B0,i64 24
%Ca=bitcast i8*%B9 to i32*
store i32 1,i32*%Ca,align 4
%Cb=load i8*,i8**%d,align 8
%Cc=bitcast i8*%Cb to i32*
%Cd=load i32,i32*%Cc,align 4
store i8*null,i8**%d,align 8
%Ce=getelementptr inbounds i8,i8*%Cb,i64 4
%Cf=bitcast i8*%Ce to i32*
%Cg=load i32,i32*%Cf,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
store i8*%Ch,i8**%d,align 8
%Ck=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 i32*
store i32%Cd,i32*%Cn,align 4
%Co=getelementptr inbounds i8,i8*%Ch,i64 12
%Cp=bitcast i8*%Co to i32*
store i32%Cg,i32*%Cp,align 4
%Cq=getelementptr inbounds i8,i8*%Ch,i64 16
%Cr=bitcast i8*%Cq to i32*
store i32 1,i32*%Cr,align 4
%Cs=call i8*@sml_alloc(i32 inreg 28)#0
%Ct=getelementptr inbounds i8,i8*%Cs,i64 -4
%Cu=bitcast i8*%Ct to i32*
store i32 1342177304,i32*%Cu,align 4
store i8*%Cs,i8**%h,align 8
%Cv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Cw=bitcast i8*%Cs to i8**
store i8*%Cv,i8**%Cw,align 8
%Cx=getelementptr inbounds i8,i8*%Cs,i64 8
%Cy=bitcast i8*%Cx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9subtract_G_365 to void(...)*),void(...)**%Cy,align 8
%Cz=getelementptr inbounds i8,i8*%Cs,i64 16
%CA=bitcast i8*%Cz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9subtract_G_365 to void(...)*),void(...)**%CA,align 8
%CB=getelementptr inbounds i8,i8*%Cs,i64 24
%CC=bitcast i8*%CB to i32*
store i32 -2147483647,i32*%CC,align 4
%CD=call i8*@sml_alloc(i32 inreg 12)#0
%CE=getelementptr inbounds i8,i8*%CD,i64 -4
%CF=bitcast i8*%CE to i32*
store i32 1342177288,i32*%CF,align 4
store i8*%CD,i8**%d,align 8
%CG=load i8*,i8**%z,align 8
store i8*null,i8**%z,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 i32*
store i32 1,i32*%CJ,align 4
%CK=call i8*@sml_alloc(i32 inreg 28)#0
%CL=getelementptr inbounds i8,i8*%CK,i64 -4
%CM=bitcast i8*%CL to i32*
store i32 1342177304,i32*%CM,align 4
store i8*%CK,i8**%z,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6toList_368 to void(...)*),void(...)**%CQ,align 8
%CR=getelementptr inbounds i8,i8*%CK,i64 16
%CS=bitcast i8*%CR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6toList_368 to void(...)*),void(...)**%CS,align 8
%CT=getelementptr inbounds i8,i8*%CK,i64 24
%CU=bitcast i8*%CT to i32*
store i32 -2147483647,i32*%CU,align 4
%CV=call i8*@sml_alloc(i32 inreg 12)#0
%CW=getelementptr inbounds i8,i8*%CV,i64 -4
%CX=bitcast i8*%CW to i32*
store i32 1342177288,i32*%CX,align 4
store i8*%CV,i8**%d,align 8
%CY=load i8*,i8**%F,align 8
store i8*null,i8**%F,align 8
%CZ=bitcast i8*%CV to i8**
store i8*%CY,i8**%CZ,align 8
%C0=getelementptr inbounds i8,i8*%CV,i64 8
%C1=bitcast i8*%C0 to i32*
store i32 1,i32*%C1,align 4
%C2=call i8*@sml_alloc(i32 inreg 28)#0
%C3=getelementptr inbounds i8,i8*%C2,i64 -4
%C4=bitcast i8*%C3 to i32*
store i32 1342177304,i32*%C4,align 4
store i8*%C2,i8**%F,align 8
%C5=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C6=bitcast i8*%C2 to i8**
store i8*%C5,i8**%C6,align 8
%C7=getelementptr inbounds i8,i8*%C2,i64 8
%C8=bitcast i8*%C7 to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLLN11BinarySetFn5foldlE_370 to void(...)*),void(...)**%C8,align 8
%C9=getelementptr inbounds i8,i8*%C2,i64 16
%Da=bitcast i8*%C9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN11BinarySetFn5foldlE_401 to void(...)*),void(...)**%Da,align 8
%Db=getelementptr inbounds i8,i8*%C2,i64 24
%Dc=bitcast i8*%Db to i32*
store i32 -2147483647,i32*%Dc,align 4
%Dd=call i8*@sml_alloc(i32 inreg 12)#0
%De=getelementptr inbounds i8,i8*%Dd,i64 -4
%Df=bitcast i8*%De to i32*
store i32 1342177288,i32*%Df,align 4
store i8*%Dd,i8**%d,align 8
%Dg=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%Dh=bitcast i8*%Dd to i8**
store i8*%Dg,i8**%Dh,align 8
%Di=getelementptr inbounds i8,i8*%Dd,i64 8
%Dj=bitcast i8*%Di to i32*
store i32 1,i32*%Dj,align 4
%Dk=call i8*@sml_alloc(i32 inreg 28)#0
%Dl=getelementptr inbounds i8,i8*%Dk,i64 -4
%Dm=bitcast i8*%Dl to i32*
store i32 1342177304,i32*%Dm,align 4
store i8*%Dk,i8**%y,align 8
%Dn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Do=bitcast i8*%Dk to i8**
store i8*%Dn,i8**%Do,align 8
%Dp=getelementptr inbounds i8,i8*%Dk,i64 8
%Dq=bitcast i8*%Dp to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLLN11BinarySetFn5foldrE_372 to void(...)*),void(...)**%Dq,align 8
%Dr=getelementptr inbounds i8,i8*%Dk,i64 16
%Ds=bitcast i8*%Dr to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN11BinarySetFn5foldrE_402 to void(...)*),void(...)**%Ds,align 8
%Dt=getelementptr inbounds i8,i8*%Dk,i64 24
%Du=bitcast i8*%Dt to i32*
store i32 -2147483647,i32*%Du,align 4
%Dv=call i8*@sml_alloc(i32 inreg 288)#0
%Dw=getelementptr inbounds i8,i8*%Dv,i64 -4
%Dx=bitcast i8*%Dw to i32*
store i32 1342177560,i32*%Dx,align 4
%Dy=load i8*,i8**%c,align 8
%Dz=bitcast i8*%Dv to i8**
store i8*%Dy,i8**%Dz,align 8
%DA=load i8*,i8**%G,align 8
%DB=getelementptr inbounds i8,i8*%Dv,i64 8
%DC=bitcast i8*%DB to i8**
store i8*%DA,i8**%DC,align 8
%DD=load i8*,i8**%i,align 8
%DE=getelementptr inbounds i8,i8*%Dv,i64 16
%DF=bitcast i8*%DE to i8**
store i8*%DD,i8**%DF,align 8
%DG=load i8*,i8**%p,align 8
%DH=getelementptr inbounds i8,i8*%Dv,i64 24
%DI=bitcast i8*%DH to i8**
store i8*%DG,i8**%DI,align 8
%DJ=load i8*,i8**%D,align 8
%DK=getelementptr inbounds i8,i8*%Dv,i64 32
%DL=bitcast i8*%DK to i8**
store i8*%DJ,i8**%DL,align 8
%DM=load i8*,i8**%n,align 8
%DN=getelementptr inbounds i8,i8*%Dv,i64 40
%DO=bitcast i8*%DN to i8**
store i8*%DM,i8**%DO,align 8
%DP=load i8*,i8**%x,align 8
%DQ=getelementptr inbounds i8,i8*%Dv,i64 48
%DR=bitcast i8*%DQ to i8**
store i8*%DP,i8**%DR,align 8
%DS=load i8*,i8**%v,align 8
%DT=getelementptr inbounds i8,i8*%Dv,i64 56
%DU=bitcast i8*%DT to i8**
store i8*%DS,i8**%DU,align 8
%DV=load i8*,i8**%g,align 8
%DW=getelementptr inbounds i8,i8*%Dv,i64 64
%DX=bitcast i8*%DW to i8**
store i8*%DV,i8**%DX,align 8
%DY=load i8*,i8**%t,align 8
%DZ=getelementptr inbounds i8,i8*%Dv,i64 72
%D0=bitcast i8*%DZ to i8**
store i8*%DY,i8**%D0,align 8
%D1=getelementptr inbounds i8,i8*%Dv,i64 80
%D2=bitcast i8*%D1 to i8**
store i8*null,i8**%D2,align 8
%D3=load i8*,i8**%s,align 8
%D4=getelementptr inbounds i8,i8*%Dv,i64 88
%D5=bitcast i8*%D4 to i8**
store i8*%D3,i8**%D5,align 8
%D6=load i8*,i8**%A,align 8
%D7=getelementptr inbounds i8,i8*%Dv,i64 96
%D8=bitcast i8*%D7 to i8**
store i8*%D6,i8**%D8,align 8
%D9=load i8*,i8**%B,align 8
%Ea=getelementptr inbounds i8,i8*%Dv,i64 104
%Eb=bitcast i8*%Ea to i8**
store i8*%D9,i8**%Eb,align 8
%Ec=load i8*,i8**%E,align 8
%Ed=getelementptr inbounds i8,i8*%Dv,i64 112
%Ee=bitcast i8*%Ed to i8**
store i8*%Ec,i8**%Ee,align 8
%Ef=load i8*,i8**%F,align 8
%Eg=getelementptr inbounds i8,i8*%Dv,i64 120
%Eh=bitcast i8*%Eg to i8**
store i8*%Ef,i8**%Eh,align 8
%Ei=load i8*,i8**%y,align 8
%Ej=getelementptr inbounds i8,i8*%Dv,i64 128
%Ek=bitcast i8*%Ej to i8**
store i8*%Ei,i8**%Ek,align 8
%El=load i8*,i8**%k,align 8
%Em=getelementptr inbounds i8,i8*%Dv,i64 136
%En=bitcast i8*%Em to i8**
store i8*%El,i8**%En,align 8
%Eo=load i8*,i8**%m,align 8
%Ep=getelementptr inbounds i8,i8*%Dv,i64 144
%Eq=bitcast i8*%Ep to i8**
store i8*%Eo,i8**%Eq,align 8
%Er=getelementptr inbounds i8,i8*%Dv,i64 152
%Es=bitcast i8*%Er to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*),i8**%Es,align 8
%Et=load i8*,i8**%u,align 8
%Eu=getelementptr inbounds i8,i8*%Dv,i64 160
%Ev=bitcast i8*%Eu to i8**
store i8*%Et,i8**%Ev,align 8
%Ew=load i8*,i8**%I,align 8
%Ex=getelementptr inbounds i8,i8*%Dv,i64 168
%Ey=bitcast i8*%Ex to i8**
store i8*%Ew,i8**%Ey,align 8
%Ez=load i8*,i8**%q,align 8
%EA=getelementptr inbounds i8,i8*%Dv,i64 176
%EB=bitcast i8*%EA to i8**
store i8*%Ez,i8**%EB,align 8
%EC=load i8*,i8**%w,align 8
%ED=getelementptr inbounds i8,i8*%Dv,i64 184
%EE=bitcast i8*%ED to i8**
store i8*%EC,i8**%EE,align 8
%EF=load i8*,i8**%f,align 8
%EG=getelementptr inbounds i8,i8*%Dv,i64 192
%EH=bitcast i8*%EG to i8**
store i8*%EF,i8**%EH,align 8
%EI=load i8*,i8**%r,align 8
%EJ=getelementptr inbounds i8,i8*%Dv,i64 200
%EK=bitcast i8*%EJ to i8**
store i8*%EI,i8**%EK,align 8
%EL=load i8*,i8**%e,align 8
%EM=getelementptr inbounds i8,i8*%Dv,i64 208
%EN=bitcast i8*%EM to i8**
store i8*%EL,i8**%EN,align 8
%EO=getelementptr inbounds i8,i8*%Dv,i64 216
%EP=bitcast i8*%EO to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@p,i64 0,i32 2)to i8*),i8**%EP,align 8
%EQ=load i8*,i8**%C,align 8
%ER=getelementptr inbounds i8,i8*%Dv,i64 224
%ES=bitcast i8*%ER to i8**
store i8*%EQ,i8**%ES,align 8
%ET=load i8*,i8**%J,align 8
%EU=getelementptr inbounds i8,i8*%Dv,i64 232
%EV=bitcast i8*%EU to i8**
store i8*%ET,i8**%EV,align 8
%EW=load i8*,i8**%j,align 8
%EX=getelementptr inbounds i8,i8*%Dv,i64 240
%EY=bitcast i8*%EX to i8**
store i8*%EW,i8**%EY,align 8
%EZ=load i8*,i8**%h,align 8
%E0=getelementptr inbounds i8,i8*%Dv,i64 248
%E1=bitcast i8*%E0 to i8**
store i8*%EZ,i8**%E1,align 8
%E2=load i8*,i8**%o,align 8
%E3=getelementptr inbounds i8,i8*%Dv,i64 256
%E4=bitcast i8*%E3 to i8**
store i8*%E2,i8**%E4,align 8
%E5=load i8*,i8**%z,align 8
%E6=getelementptr inbounds i8,i8*%Dv,i64 264
%E7=bitcast i8*%E6 to i8**
store i8*%E5,i8**%E7,align 8
%E8=load i8*,i8**%l,align 8
%E9=getelementptr inbounds i8,i8*%Dv,i64 272
%Fa=bitcast i8*%E9 to i8**
store i8*%E8,i8**%Fa,align 8
%Fb=getelementptr inbounds i8,i8*%Dv,i64 280
%Fc=bitcast i8*%Fb to i32*
store i32 -1,i32*%Fc,align 4
%Fd=getelementptr inbounds i8,i8*%Dv,i64 284
%Fe=bitcast i8*%Fd to i32*
store i32 7,i32*%Fe,align 4
ret i8*%Dv
}
define internal fastcc i8*@_SMLLN1__11BinarySetFnE_374(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=bitcast i8*%a to i32*
%e=load i32,i32*%d,align 4
%f=getelementptr inbounds i8,i8*%a,i64 4
%g=bitcast i8*%f to i32*
%h=load i32,i32*%g,align 4
%i=call i8*@sml_alloc(i32 inreg 12)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177288,i32*%l,align 4
store i8*%i,i8**%c,align 8
store i32%e,i32*%j,align 4
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
store i32%h,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 4
%q=call i8*@sml_alloc(i32 inreg 28)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177304,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN1__11BinarySetFnE_373 to void(...)*),void(...)**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN1__11BinarySetFnE_373 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%q,i64 24
%A=bitcast i8*%z to i32*
store i32 -2147483647,i32*%A,align 4
ret i8*%q
}
define fastcc i8*@_SMLFN1__11BinarySetFnE(i32 inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,i8**%c,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN1__11BinarySetFnE_374 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN1__11BinarySetFnE_374 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLL2pk_377(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL2pk_287(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL6member_378(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL6member_289(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL4isIn_379(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL4isIn_290(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL6treeIn_380(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL6treeIn_291(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL8isSubset_381(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL8isSubset_292(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL5equal_382(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL5equal_293(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL3cmp_383(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL3cmp_297(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL7compare_384(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL7compare_298(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL4walk_385(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL4walk_299(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL8disjoint_386(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL8disjoint_301(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL5apply_387(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL5apply_315(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLL3app_388(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL3app_316(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLL5foldl_389(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLL5foldl_322(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLL5foldr_390(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLL5foldr_327(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLL6exists_391(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
%d=tail call fastcc i32@_SMLL6exists_335(i8*inreg%a,i8*inreg%b,i8*inreg%c)
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32%d,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLL3all_392(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
%d=tail call fastcc i32@_SMLL3all_336(i8*inreg%a,i8*inreg%b,i8*inreg%c)
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32%d,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLL3all_393(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL3all_340(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL6exists_394(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL6exists_345(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL5foldl_395(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLL5foldl_350(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLL5foldr_396(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLL5foldr_352(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLL7isEmpty_397(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=icmp eq i8*%b,null
%d=zext i1%c to i32
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32%d,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLL9listItems_398(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLL8numItems_399(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
i:
%c=icmp eq i8*%b,null
br i1%c,label%g,label%d
d:
%e=bitcast i8*%b to i32*
%f=load i32,i32*%e,align 4
br label%g
g:
%h=phi i32[%f,%d],[0,%i]
%j=tail call i8*@sml_alloc(i32 inreg 4)#0
%k=bitcast i8*%j to i32*
%l=getelementptr inbounds i8,i8*%j,i64 -4
%m=bitcast i8*%l to i32*
store i32 4,i32*%m,align 4
store i32%h,i32*%k,align 4
ret i8*%j
}
define internal fastcc i8*@_SMLL6toList_400(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLLN11BinarySetFn5foldlE_401(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN11BinarySetFn5foldlE_370(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLLN11BinarySetFn5foldrE_402(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN11BinarySetFn5foldrE_372(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLLN1__11BinarySetFnE_403(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLFN1__11BinarySetFnE(i32 inreg%e,i32 inreg%g)
ret i8*%h
}
declare void@llvm.memcpy.p0i8.p0i8.i32(i8*,i8*,i32,i1)#0
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
