@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN9Substring6stringE=external local_unnamed_addr global i8*
@_SMLZ4Fail=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"InvalidArc\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[46x i8]}><{[4x i8]zeroinitializer,i32 -2147483602,[46x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:92.18(2777)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[46x i8]}><{[4x i8]zeroinitializer,i32 -2147483602,[46x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:84.58(2493)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*null,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLLL12splitBaseExt_205 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12splitBaseExt_305 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c".\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:179.23(5497)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[24x i8]}><{[4x i8]zeroinitializer,i32 -2147483624,[24x i8]c"mkCanonical: impossible\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 3,[4x i8]zeroinitializer,i32 0}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 2,[4x i8]zeroinitializer,i32 0}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@k,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,[4x i8]zeroinitializer,i32 0}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@m,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:200.40(6228)\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:210.17(6574)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:240.16(7557)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:231.17(7293)\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:252.15(7992)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:248.39(7793)\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[46x i8]}><{[4x i8]zeroinitializer,i32 -2147483602,[46x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:57.61(1691)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLLL12fromUnixPath_283 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12fromUnixPath_322 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,i32 0,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i32 0,i32 0,i32 0),i32 8),i32 5}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[47x i8]}><{[4x i8]zeroinitializer,i32 -2147483601,[47x i8]c"src/smlnj/Basis/OS/os-path-fn.sml:274.25(8705)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"/\00"}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*)*@_SMLFN1__24SMLSharp__SMLNJ__OS__PathFnE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*)*@_SMLLLN1__24SMLSharp__SMLNJ__OS__PathFnE_324 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN1__24SMLSharp__SMLNJ__OS__PathFnE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@B,i64 0,i32 2)to i8*)
@_SML_ftaba86fb7da431cf755_os_path_fn=external global i8
@C=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 i32@sml_obj_equal(i8*inreg,i8*inreg)local_unnamed_addr#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN10CharVector6concatE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Bool3notE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List1_VE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3revE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String10concatWithE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String3strE(i8 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String6fieldsE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring4fullE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN9Substring4sizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring5trimrE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring6fieldsE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring6splitrE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring6stringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN9Substring7isEmptyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main145db56e6796da5b_Substring()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_loaddaa180c1799f3810_Bool(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load145db56e6796da5b_Substring(i8*)local_unnamed_addr
define private void@_SML_tabba86fb7da431cf755_os_path_fn()#3{
unreachable
}
define void@_SML_loada86fb7da431cf755_os_path_fn(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@C,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@C,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load145db56e6796da5b_Substring(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabba86fb7da431cf755_os_path_fn,i8*@_SML_ftaba86fb7da431cf755_os_path_fn,i8*null)#0
ret void
}
define void@_SML_maina86fb7da431cf755_os_path_fn()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@C,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*@C,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main145db56e6796da5b_Substring()#2
br label%d
}
define internal fastcc i8*@_SMLLL10concatArcs_162(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*null,i8**%b,align 8
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=icmp eq i8*%m,null
br i1%n,label%o,label%s
o:
%p=getelementptr inbounds i8,i8*%j,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
ret i8*%r
s:
%t=bitcast i8*%m to i8**
%u=load i8*,i8**%t,align 8
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=and i32%x,268435455
%z=icmp eq i32%y,1
%A=getelementptr inbounds i8,i8*%m,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
br i1%z,label%D,label%J
D:
%E=icmp eq i8*%C,null
%F=getelementptr inbounds i8,i8*%j,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
br i1%E,label%I,label%N
I:
ret i8*%H
J:
%K=getelementptr inbounds i8,i8*%j,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
br label%N
N:
%O=phi i8*[%M,%J],[%H,%D]
store i8*%u,i8**%b,align 8
store i8*%C,i8**%c,align 8
store i8*%O,i8**%d,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**%d,align 8
store i8*null,i8**%d,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=call fastcc i8*@_SMLLL10concatArcs_162(i8*inreg%P)
store i8*%Z,i8**%c,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=load i8*,i8**%b,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%c,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
ret i8*%aa
}
define internal fastcc i32@_SMLLL11validVolume_164(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8**%n to i8***
%u=load i8**,i8***%t,align 8
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=bitcast i8*%o to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%o,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%A)
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%C,i64 4
%H=bitcast i8*%G to i32*
store i32 0,i32*%H,align 1
store i32%x,i32*%D,align 4
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=getelementptr inbounds i8,i8*%C,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i32*
store i32 2,i32*%M,align 4
%N=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%O=call fastcc i8*%s(i8*inreg%N,i8*inreg%C)
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
ret i32%Q
}
define internal fastcc i32@_SMLLL6fields_165(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL10fromString_168(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 i32*
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i32**
%m=load i32*,i32**%l,align 8
br label%n
n:
%o=phi i32*[%m,%k],[%j,%i]
%p=getelementptr inbounds i32,i32*%o,i64 -1
%q=load i32,i32*%p,align 4
%r=and i32%q,268435455
%s=icmp eq i32%r,1
br i1%s,label%t,label%u
t:
ret i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>*@x,i64 0,i32 2)to i8*)
u:
%v=load i8*,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=load i8,i8*%w,align 1
%y=call i8*@sml_alloc(i32 inreg 12)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177288,i32*%A,align 4
store i8*%y,i8**%d,align 8
store i8%x,i8*%y,align 1
%B=getelementptr inbounds i8,i8*%y,i64 8
%C=bitcast i8*%B to i32*
store i32 0,i32*%C,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
%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=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_165 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_299 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%D,i64 24
%N=bitcast i8*%M to i32*
store i32 -2147483647,i32*%N,align 4
%O=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%D)
store i8*%O,i8**%d,align 8
%P=bitcast i8**%e to i8***
%Q=load i8**,i8***%P,align 8
%R=load i8*,i8**%Q,align 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
store i8*null,i8**%e,align 8
%V=bitcast i8**%Q to i8***
%W=load i8**,i8***%V,align 8
%X=load i8*,i8**%W,align 8
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=call fastcc i8*%U(i8*inreg%X,i8*inreg%Y)
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=getelementptr inbounds i8,i8*%Z,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 16
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%c,align 8
%ai=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ae)
store i8*%ai,i8**%e,align 8
%aj=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%aq=call fastcc i8*%am(i8*inreg%ao,i8*inreg%ap)
%ar=getelementptr inbounds i8,i8*%aq,i64 16
%as=bitcast i8*%ar to i8*(i8*,i8*)**
%at=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%as,align 8
%au=bitcast i8*%aq to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%f,align 8
%aw=load i8*,i8**%d,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
store i8*null,i8**%d,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=call fastcc i8*%az(i8*inreg%aB,i8*inreg%aC)
%aE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aF=call fastcc i8*%at(i8*inreg%aE,i8*inreg%aD)
store i8*%aF,i8**%c,align 8
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aG,i64 12
%aK=bitcast i8*%aJ to i32*
store i32 0,i32*%aK,align 1
%aL=load i8*,i8**%c,align 8
%aM=bitcast i8*%aG to i8**
store i8*%aL,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 8
%aO=bitcast i8*%aN to i32*
store i32%ab,i32*%aO,align 4
%aP=load i8*,i8**%e,align 8
%aQ=getelementptr inbounds i8,i8*%aG,i64 16
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aG,i64 24
%aT=bitcast i8*%aS to i32*
store i32 5,i32*%aT,align 4
ret i8*%aG
}
define internal fastcc i8*@_SMLLL1f_169(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**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=icmp eq i8*%l,null
br i1%n,label%o,label%p
o:
ret i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@o,i64 0,i32 2)to i8*)
p:
%q=bitcast i8*%l to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%l,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%ao
w:
store i8*null,i8**%d,align 8
%x=bitcast i8**%e to i8***
%y=load i8**,i8***%x,align 8
%z=load i8*,i8**%y,align 8
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=call fastcc i8*%C(i8*inreg%E,i8*inreg%r)
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
%I=icmp eq i32%H,0
br i1%I,label%T,label%J
J:
store i8*null,i8**%e,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
%N=load i8*,i8**%c,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*null,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
ret i8*%K
T:
%U=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%V=getelementptr inbounds i8,i8*%U,i64 8
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%c,align 8
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
store i8*%Y,i8**%d,align 8
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[46x i8]}>,<{[4x i8],i32,[46x i8]}>*@v,i64 0,i32 2,i64 0),i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
%ah=call i8*@sml_alloc(i32 inreg 60)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177336,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ah,i64 56
%al=bitcast i8*%ak to i32*
store i32 1,i32*%al,align 4
%am=load i8*,i8**%d,align 8
%an=bitcast i8*%ah to i8**
store i8*%am,i8**%an,align 8
call void@sml_raise(i8*inreg%ah)#1
unreachable
ao:
%ap=bitcast i8**%e to i8***
%aq=load i8**,i8***%ap,align 8
%ar=load i8*,i8**%aq,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=call fastcc i8*%au(i8*inreg%aw,i8*inreg%r)
%ay=bitcast i8*%ax to i32*
%az=load i32,i32*%ay,align 4
%aA=icmp eq i32%az,0
br i1%aA,label%a2,label%aB
aB:
%aC=load i8*,i8**%e,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64 16
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%f,align 8
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%aH=call fastcc i8*@_SMLLL1f_169(i8*inreg%aC,i8*inreg%aG)
store i8*%aH,i8**%d,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
store i8*%aI,i8**%e,align 8
%aL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%d,align 8
store i8*null,i8**%d,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=call i8*@sml_alloc(i32 inreg 20)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177296,i32*%aU,align 4
%aV=load i8*,i8**%c,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=load i8*,i8**%e,align 8
%aY=getelementptr inbounds i8,i8*%aS,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aS,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 3,i32*%a1,align 4
ret i8*%aS
a2:
store i8*null,i8**%d,align 8
%a3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a4=getelementptr inbounds i8,i8*%a3,i64 8
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%c,align 8
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177296,i32*%a9,align 4
store i8*%a7,i8**%d,align 8
%ba=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a7,i64 8
%bd=bitcast i8*%bc to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[46x i8]}>,<{[4x i8],i32,[46x i8]}>*@v,i64 0,i32 2,i64 0),i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 16
%bf=bitcast i8*%be to i32*
store i32 3,i32*%bf,align 4
%bg=call i8*@sml_alloc(i32 inreg 60)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177336,i32*%bi,align 4
%bj=getelementptr inbounds i8,i8*%bg,i64 56
%bk=bitcast i8*%bj to i32*
store i32 1,i32*%bk,align 4
%bl=load i8*,i8**%d,align 8
%bm=bitcast i8*%bg to i8**
store i8*%bl,i8**%bm,align 8
call void@sml_raise(i8*inreg%bg)#1
unreachable
}
define internal fastcc i8*@_SMLLL8toString_177(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
store i8*null,i8**%c,align 8
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=icmp eq i8*%r,null
br i1%s,label%t,label%A
t:
%u=getelementptr inbounds i8,i8*%o,i64 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=getelementptr inbounds i8,i8*%o,i64 16
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%c,align 8
store i8*null,i8**%d,align 8
br label%ap
A:
%B=bitcast i8*%r to i32**
%C=load i32*,i32**%B,align 8
%D=getelementptr inbounds i32,i32*%C,i64 -1
%E=load i32,i32*%D,align 4
%F=and i32%E,268435455
%G=icmp eq i32%F,1
%H=getelementptr inbounds i8,i8*%o,i64 8
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
br i1%G,label%K,label%al
K:
%L=icmp eq i32%J,0
br i1%L,label%Q,label%M
M:
%N=getelementptr inbounds i8,i8*%o,i64 16
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%c,align 8
store i8*%r,i8**%d,align 8
br label%ap
Q:
%R=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%R,i64 24
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%c,align 8
%V=call i8*@sml_alloc(i32 inreg 20)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177296,i32*%X,align 4
store i8*%V,i8**%d,align 8
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%V,i64 8
%ab=bitcast i8*%aa to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[46x i8]}>,<{[4x i8],i32,[46x i8]}>*@d,i64 0,i32 2,i64 0),i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%V,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:
%am=getelementptr inbounds i8,i8*%o,i64 16
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%c,align 8
store i8*%r,i8**%d,align 8
br label%ap
ap:
%aq=phi i32[%w,%t],[%J,%M],[%J,%al]
%ar=load i8*,i8**%e,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%f,align 8
%av=getelementptr inbounds i8,i8*%ar,i64 32
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%g,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 40
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%h,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**%i,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=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aH=getelementptr inbounds i8,i8*%aB,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aK=getelementptr inbounds i8,i8*%aB,i64 16
%aL=bitcast i8*%aK to i8**
store i8*%aJ,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aB,i64 24
%aN=bitcast i8*%aM to i32*
store i32 7,i32*%aN,align 4
%aO=call i8*@sml_alloc(i32 inreg 28)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177304,i32*%aQ,align 4
%aR=load i8*,i8**%i,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aO,i64 8
%aU=bitcast i8*%aT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1f_169 to void(...)*),void(...)**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aO,i64 16
%aW=bitcast i8*%aV to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL1f_169 to void(...)*),void(...)**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aO,i64 24
%aY=bitcast i8*%aX to i32*
store i32 -2147483647,i32*%aY,align 4
%aZ=load i8*,i8**%e,align 8
%a0=getelementptr inbounds i8,i8*%aZ,i64 16
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
%a3=getelementptr inbounds i8,i8*%a2,i64 16
%a4=bitcast i8*%a3 to i8*(i8*,i8*)**
%a5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a4,align 8
%a6=bitcast i8*%a2 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%g,align 8
%a8=load i8*,i8**%c,align 8
%a9=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%a8)
store i8*%a9,i8**%f,align 8
%ba=call i8*@sml_alloc(i32 inreg 20)#0
%bb=bitcast i8*%ba to i32*
%bc=getelementptr inbounds i8,i8*%ba,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177296,i32*%bd,align 4
%be=getelementptr inbounds i8,i8*%ba,i64 4
%bf=bitcast i8*%be to i32*
store i32 0,i32*%bf,align 1
store i32%aq,i32*%bb,align 4
%bg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%ba,i64 16
%bk=bitcast i8*%bj to i32*
store i32 2,i32*%bk,align 4
%bl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bm=call fastcc i8*%a5(i8*inreg%bl,i8*inreg%ba)
%bn=bitcast i8*%bm to i32*
%bo=load i32,i32*%bn,align 4
%bp=icmp eq i32%bo,0
br i1%bp,label%b2,label%bq
bq:
%br=bitcast i8**%e to i8***
%bs=load i8**,i8***%br,align 8
%bt=load i8*,i8**%bs,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 16
%bv=bitcast i8*%bu to i8*(i8*,i8*)**
%bw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bv,align 8
%bx=bitcast i8*%bt to i8**
%by=load i8*,i8**%bx,align 8
store i8*%by,i8**%e,align 8
%bz=call i8*@sml_alloc(i32 inreg 28)#0
%bA=bitcast i8*%bz to i32*
%bB=getelementptr inbounds i8,i8*%bz,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177304,i32*%bC,align 4
%bD=getelementptr inbounds i8,i8*%bz,i64 4
%bE=bitcast i8*%bD to i32*
store i32 0,i32*%bE,align 1
store i32%aq,i32*%bA,align 4
%bF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bG=getelementptr inbounds i8,i8*%bz,i64 8
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bz,i64 16
%bJ=bitcast i8*%bI to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),i8**%bJ,align 8
%bK=getelementptr inbounds i8,i8*%bz,i64 24
%bL=bitcast i8*%bK to i32*
store i32 6,i32*%bL,align 4
%bM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bN=call fastcc i8*%bw(i8*inreg%bM,i8*inreg%bz)
store i8*%bN,i8**%c,align 8
%bO=load i8*,i8**%d,align 8
%bP=load i8*,i8**%i,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%i,align 8
%bQ=call fastcc i8*@_SMLLL1f_169(i8*inreg%bP,i8*inreg%bO)
store i8*%bQ,i8**%d,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
%bU=load i8*,i8**%c,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=load i8*,i8**%d,align 8
%bX=getelementptr inbounds i8,i8*%bR,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bR,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 3,i32*%b0,align 4
%b1=tail call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%bR)
ret i8*%b1
b2:
store i8*null,i8**%d,align 8
store i8*null,i8**%i,align 8
%b3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b4=getelementptr inbounds i8,i8*%b3,i64 24
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%c,align 8
%b7=call i8*@sml_alloc(i32 inreg 20)#0
%b8=getelementptr inbounds i8,i8*%b7,i64 -4
%b9=bitcast i8*%b8 to i32*
store i32 1342177296,i32*%b9,align 4
store i8*%b7,i8**%d,align 8
%ca=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cb=bitcast i8*%b7 to i8**
store i8*%ca,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b7,i64 8
%cd=bitcast i8*%cc to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[46x i8]}>,<{[4x i8],i32,[46x i8]}>*@c,i64 0,i32 2,i64 0),i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b7,i64 16
%cf=bitcast i8*%ce to i32*
store i32 3,i32*%cf,align 4
%cg=call i8*@sml_alloc(i32 inreg 60)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177336,i32*%ci,align 4
%cj=getelementptr inbounds i8,i8*%cg,i64 56
%ck=bitcast i8*%cj to i32*
store i32 1,i32*%ck,align 4
%cl=load i8*,i8**%d,align 8
%cm=bitcast i8*%cg to i8**
store i8*%cl,i8**%cm,align 8
call void@sml_raise(i8*inreg%cg)#1
unreachable
}
define internal fastcc i32@_SMLLL6fields_178(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL9getVolume_181(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 i32*
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i32**
%m=load i32*,i32**%l,align 8
br label%n
n:
%o=phi i32*[%m,%k],[%j,%i]
%p=getelementptr inbounds i32,i32*%o,i64 -1
%q=load i32,i32*%p,align 4
%r=and i32%q,268435455
%s=icmp eq i32%r,1
br i1%s,label%aT,label%t
t:
%u=load i8*,i8**%e,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=load i8,i8*%v,align 1
%x=call i8*@sml_alloc(i32 inreg 12)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177288,i32*%z,align 4
store i8*%x,i8**%d,align 8
store i8%w,i8*%x,align 1
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_178 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_300 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
%N=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%C)
store i8*%N,i8**%d,align 8
%O=bitcast i8**%e to i8***
%P=load i8**,i8***%O,align 8
%Q=load i8*,i8**%P,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
store i8*null,i8**%e,align 8
%U=bitcast i8**%P to i8***
%V=load i8**,i8***%U,align 8
%W=load i8*,i8**%V,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%T(i8*inreg%W,i8*inreg%X)
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=getelementptr inbounds i8,i8*%Y,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ad)
store i8*%ah,i8**%e,align 8
%ai=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ap=call fastcc i8*%al(i8*inreg%an,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
store i8*%au,i8**%f,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
store i8*null,i8**%d,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
%aD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aE=call fastcc i8*%as(i8*inreg%aD,i8*inreg%aC)
store i8*%aE,i8**%c,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177304,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 12
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i32*
store i32%aa,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aF,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aF,i64 24
%aS=bitcast i8*%aR to i32*
store i32 5,i32*%aS,align 4
br label%aT
aT:
%aU=phi i8*[%aO,%t],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),%n]
ret i8*%aU
}
define internal fastcc i8*@_SMLLL10getParent_G_182(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**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%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=icmp eq i8*%k,null
br i1%m,label%n,label%B
n:
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
%v=load i8*,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*null,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
ret i8*%s
B:
%C=bitcast i8*%k to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%c,align 8
%E=getelementptr inbounds i8,i8*%k,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
%H=icmp eq i8*%G,null
%I=load i8*,i8**%d,align 8
br i1%H,label%J,label%aV
J:
%K=bitcast i8*%I to i8**
%L=load i8*,i8**%K,align 8
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
store i8*null,i8**%c,align 8
%R=call fastcc i8*%O(i8*inreg%Q,i8*inreg%D)
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
switch i32%T,label%U[
i32 3,label%ax
i32 2,label%aj
i32 1,label%V
]
U:
ret i8*null
V:
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=getelementptr inbounds i8,i8*%W,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%c,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=load i8*,i8**%c,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%aa,i64 8
%ag=bitcast i8*%af to i8**
store i8*null,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 16
%ai=bitcast i8*%ah to i32*
store i32 3,i32*%ai,align 4
ret i8*%aa
aj:
%ak=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%c,align 8
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177296,i32*%aq,align 4
%ar=load i8*,i8**%c,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to i8**
store i8*null,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 16
%aw=bitcast i8*%av to i32*
store i32 3,i32*%aw,align 4
ret i8*%ao
ax:
%ay=load i8*,i8**%d,align 8
%az=getelementptr inbounds i8,i8*%ay,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%c,align 8
store i8*%aB,i8**%d,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
store i8*%aC,i8**%e,align 8
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i8**
store i8*null,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aC,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
%aO=load i8*,i8**%c,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=load i8*,i8**%e,align 8
%aR=getelementptr inbounds i8,i8*%aL,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aL,i64 16
%aU=bitcast i8*%aT to i32*
store i32 3,i32*%aU,align 4
ret i8*%aL
aV:
store i8*null,i8**%d,align 8
%aW=call fastcc i8*@_SMLLL10getParent_G_182(i8*inreg%I,i8*inreg%G)
store i8*%aW,i8**%d,align 8
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177296,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=load i8*,i8**%d,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i32*
store i32 3,i32*%a6,align 4
ret i8*%aX
}
define internal fastcc i32@_SMLLL6fields_183(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL9getParent_186(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
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%n
l:
%m=bitcast i8*%a to i8**
br label%q
n:
call void@sml_check(i32 inreg%j)
%o=bitcast i8**%g to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%n],[%m,%l]
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=getelementptr inbounds i8*,i8**%r,i64 2
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%i,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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%v,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
%I=load i8*,i8**%i,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10getParent_G_182 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10getParent_G_182 to void(...)*),void(...)**%N,align 8
%O=getelementptr inbounds i8,i8*%F,i64 24
%P=bitcast i8*%O to i32*
store i32 -2147483647,i32*%P,align 4
%Q=bitcast i8**%c to i32**
%R=load i32*,i32**%Q,align 8
%S=getelementptr inbounds i32,i32*%R,i64 -1
%T=load i32,i32*%S,align 4
%U=and i32%T,268435455
%V=icmp eq i32%U,1
br i1%V,label%bn,label%W
W:
%X=load i8*,i8**%g,align 8
%Y=getelementptr inbounds i8,i8*%X,i64 40
%Z=load i8,i8*%Y,align 1
%aa=call i8*@sml_alloc(i32 inreg 12)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177288,i32*%ac,align 4
store i8*%aa,i8**%d,align 8
store i8%Z,i8*%aa,align 1
%ad=getelementptr inbounds i8,i8*%aa,i64 8
%ae=bitcast i8*%ad to i32*
store i32 0,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_183 to void(...)*),void(...)**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_301 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 24
%ap=bitcast i8*%ao to i32*
store i32 -2147483647,i32*%ap,align 4
%aq=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%af)
store i8*%aq,i8**%d,align 8
%ar=load i8*,i8**%g,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 24
%at=bitcast i8*%as to i8**
%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
%aA=load i8*,i8**%c,align 8
%aB=call fastcc i8*%ax(i8*inreg%az,i8*inreg%aA)
%aC=bitcast i8*%aB to i32*
%aD=load i32,i32*%aC,align 4
%aE=getelementptr inbounds i8,i8*%aB,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
%aH=getelementptr inbounds i8,i8*%aB,i64 16
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%e,align 8
%aK=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%aG)
store i8*%aK,i8**%f,align 8
%aL=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i8*(i8*,i8*)**
%aO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aN,align 8
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
%aR=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%aS=call fastcc i8*%aO(i8*inreg%aQ,i8*inreg%aR)
%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**%h,align 8
%aY=load i8*,i8**%d,align 8
%aZ=getelementptr inbounds i8,i8*%aY,i64 16
%a0=bitcast i8*%aZ to i8*(i8*,i8*)**
%a1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a0,align 8
store i8*null,i8**%d,align 8
%a2=bitcast i8*%aY to i8**
%a3=load i8*,i8**%a2,align 8
%a4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a5=call fastcc i8*%a1(i8*inreg%a3,i8*inreg%a4)
%a6=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a7=call fastcc i8*%aV(i8*inreg%a6,i8*inreg%a5)
store i8*%a7,i8**%d,align 8
%a8=call i8*@sml_alloc(i32 inreg 28)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177304,i32*%ba,align 4
%bb=getelementptr inbounds i8,i8*%a8,i64 12
%bc=bitcast i8*%bb to i32*
store i32 0,i32*%bc,align 1
%bd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%be=bitcast i8*%a8 to i8**
store i8*%bd,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%a8,i64 8
%bg=bitcast i8*%bf to i32*
store i32%aD,i32*%bg,align 4
%bh=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bi=getelementptr inbounds i8,i8*%a8,i64 16
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%a8,i64 24
%bl=bitcast i8*%bk to i32*
store i32 5,i32*%bl,align 4
%bm=icmp eq i8*%bd,null
br i1%bm,label%bn,label%bw
bn:
%bo=phi i8*[%a8,%W],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>*@x,i64 0,i32 2)to i8*),%q]
%bp=getelementptr inbounds i8,i8*%bo,i64 8
%bq=bitcast i8*%bp to i32*
%br=load i32,i32*%bq,align 4
%bs=icmp eq i32%br,0
%bt=getelementptr inbounds i8,i8*%bo,i64 16
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%c,align 8
br i1%bs,label%b5,label%c1
bw:
%bx=bitcast i8*%bd to i32**
%by=load i32*,i32**%bx,align 8
%bz=getelementptr inbounds i32,i32*%by,i64 -1
%bA=load i32,i32*%bz,align 4
%bB=and i32%bA,268435455
%bC=icmp eq i32%bB,1
br i1%bC,label%bL,label%bD
bD:
%bE=getelementptr inbounds i8,i8*%a8,i64 8
%bF=bitcast i8*%bE to i32*
%bG=load i32,i32*%bF,align 4
%bH=icmp eq i32%bG,0
%bI=getelementptr inbounds i8,i8*%a8,i64 16
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%c,align 8
br i1%bH,label%b5,label%c1
bL:
%bM=getelementptr inbounds i8,i8*%bd,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
%bP=icmp eq i8*%bO,null
%bQ=getelementptr inbounds i8,i8*%a8,i64 8
%bR=bitcast i8*%bQ to i32*
%bS=load i32,i32*%bR,align 4
%bT=icmp eq i32%bS,0
br i1%bP,label%bU,label%b1
bU:
br i1%bT,label%bX,label%bV
bV:
%bW=load i8*,i8**%c,align 8
ret i8*%bW
bX:
%bY=getelementptr inbounds i8,i8*%a8,i64 16
%bZ=bitcast i8*%bY to i8**
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%c,align 8
br label%b5
b1:
%b2=getelementptr inbounds i8,i8*%a8,i64 16
%b3=bitcast i8*%b2 to i8**
%b4=load i8*,i8**%b3,align 8
store i8*%b4,i8**%c,align 8
br i1%bT,label%b5,label%c1
b5:
%b6=phi i8*[%bd,%bD],[%bd,%b1],[null,%bn],[%bd,%bX]
%b7=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b8=call fastcc i8*@_SMLLL10getParent_G_182(i8*inreg%b7,i8*inreg%b6)
store i8*%b8,i8**%d,align 8
%b9=icmp eq i8*%b8,null
%ca=load i8*,i8**%g,align 8
br i1%b9,label%cb,label%cH
cb:
%cc=getelementptr inbounds i8,i8*%ca,i64 32
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
store i8*%ce,i8**%e,align 8
store i8*null,i8**%g,align 8
%cf=getelementptr inbounds i8,i8*%ca,i64 8
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
store i8*%ch,i8**%d,align 8
%ci=call i8*@sml_alloc(i32 inreg 20)#0
%cj=getelementptr inbounds i8,i8*%ci,i64 -4
%ck=bitcast i8*%cj to i32*
store i32 1342177296,i32*%ck,align 4
store i8*%ci,i8**%f,align 8
%cl=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=getelementptr inbounds i8,i8*%ci,i64 8
%co=bitcast i8*%cn to i8**
store i8*null,i8**%co,align 8
%cp=getelementptr inbounds i8,i8*%ci,i64 16
%cq=bitcast i8*%cp to i32*
store i32 3,i32*%cq,align 4
%cr=call i8*@sml_alloc(i32 inreg 28)#0
%cs=getelementptr inbounds i8,i8*%cr,i64 -4
%ct=bitcast i8*%cs to i32*
store i32 1342177304,i32*%ct,align 4
%cu=getelementptr inbounds i8,i8*%cr,i64 12
%cv=bitcast i8*%cu to i32*
store i32 0,i32*%cv,align 1
%cw=load i8*,i8**%f,align 8
%cx=bitcast i8*%cr to i8**
store i8*%cw,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cr,i64 8
%cz=bitcast i8*%cy to i32*
store i32 0,i32*%cz,align 4
%cA=load i8*,i8**%c,align 8
%cB=getelementptr inbounds i8,i8*%cr,i64 16
%cC=bitcast i8*%cB to i8**
store i8*%cA,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cr,i64 24
%cE=bitcast i8*%cD to i32*
store i32 5,i32*%cE,align 4
%cF=load i8*,i8**%e,align 8
%cG=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%cF,i8*inreg%cr)
ret i8*%cG
cH:
store i8*null,i8**%g,align 8
%cI=getelementptr inbounds i8,i8*%ca,i64 32
%cJ=bitcast i8*%cI to i8**
%cK=load i8*,i8**%cJ,align 8
store i8*%cK,i8**%e,align 8
%cL=call i8*@sml_alloc(i32 inreg 28)#0
%cM=getelementptr inbounds i8,i8*%cL,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177304,i32*%cN,align 4
%cO=getelementptr inbounds i8,i8*%cL,i64 12
%cP=bitcast i8*%cO to i32*
store i32 0,i32*%cP,align 1
%cQ=load i8*,i8**%d,align 8
%cR=bitcast i8*%cL to i8**
store i8*%cQ,i8**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cL,i64 8
%cT=bitcast i8*%cS to i32*
store i32 0,i32*%cT,align 4
%cU=load i8*,i8**%c,align 8
%cV=getelementptr inbounds i8,i8*%cL,i64 16
%cW=bitcast i8*%cV to i8**
store i8*%cU,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cL,i64 24
%cY=bitcast i8*%cX to i32*
store i32 5,i32*%cY,align 4
%cZ=load i8*,i8**%e,align 8
%c0=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%cZ,i8*inreg%cL)
ret i8*%c0
c1:
%c2=phi i8*[%bd,%bD],[%bd,%b1],[null,%bn]
%c3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c4=getelementptr inbounds i8,i8*%c3,i64 32
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%e,align 8
%c7=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%c8=call fastcc i8*@_SMLLL10getParent_G_182(i8*inreg%c7,i8*inreg%c2)
store i8*%c8,i8**%d,align 8
%c9=call i8*@sml_alloc(i32 inreg 28)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177304,i32*%db,align 4
%dc=getelementptr inbounds i8,i8*%c9,i64 12
%dd=bitcast i8*%dc to i32*
store i32 0,i32*%dd,align 1
%de=load i8*,i8**%d,align 8
%df=bitcast i8*%c9 to i8**
store i8*%de,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%c9,i64 8
%dh=bitcast i8*%dg to i32*
store i32 1,i32*%dh,align 4
%di=load i8*,i8**%c,align 8
%dj=getelementptr inbounds i8,i8*%c9,i64 16
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%c9,i64 24
%dm=bitcast i8*%dl to i32*
store i32 5,i32*%dm,align 4
%dn=load i8*,i8**%e,align 8
%do=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%dn,i8*inreg%c9)
ret i8*%do
}
define internal fastcc i32@_SMLLL6fields_187(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL5split_190(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=icmp eq i8*%k,null
br i1%m,label%n,label%o
n:
ret i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@e,i64 0,i32 2)to i8*)
o:
%p=bitcast i8*%k to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=getelementptr inbounds i8,i8*%k,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=icmp eq i8*%t,null
br i1%u,label%v,label%F
v:
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=bitcast i8*%w to i8**
store i8*null,i8**%z,align 8
%A=load i8*,i8**%b,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
ret i8*%w
F:
%G=call fastcc i8*@_SMLLL5split_190(i8*inreg%t)
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%c,align 8
%J=getelementptr inbounds i8,i8*%G,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%d,align 8
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
store i8*%M,i8**%e,align 8
%P=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i8**
store i8*%R,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
%W=call i8*@sml_alloc(i32 inreg 20)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177296,i32*%Y,align 4
%Z=load i8*,i8**%e,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
ret i8*%W
}
define internal fastcc i8*@_SMLLL12splitDirFile_196(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 i32*
br label%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c to i32**
%n=load i32*,i32**%m,align 8
br label%o
o:
%p=phi i32*[%n,%l],[%k,%j]
%q=getelementptr inbounds i32,i32*%p,i64 -1
%r=load i32,i32*%q,align 4
%s=and i32%r,268435455
%t=icmp eq i32%s,1
br i1%t,label%aT,label%u
u:
%v=load i8*,i8**%f,align 8
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=load i8,i8*%w,align 1
%y=call i8*@sml_alloc(i32 inreg 12)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177288,i32*%A,align 4
store i8*%y,i8**%d,align 8
store i8%x,i8*%y,align 1
%B=getelementptr inbounds i8,i8*%y,i64 8
%C=bitcast i8*%B to i32*
store i32 0,i32*%C,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
%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=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_187 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_302 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%D,i64 24
%N=bitcast i8*%M to i32*
store i32 -2147483647,i32*%N,align 4
%O=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%D)
store i8*%O,i8**%d,align 8
%P=bitcast i8**%f to i8***
%Q=load i8**,i8***%P,align 8
%R=load i8*,i8**%Q,align 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
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%U(i8*inreg%W,i8*inreg%X)
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=getelementptr inbounds i8,i8*%Y,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ad)
store i8*%ah,i8**%e,align 8
%ai=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ap=call fastcc i8*%al(i8*inreg%an,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
store i8*%au,i8**%g,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
store i8*null,i8**%d,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
%aD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aE=call fastcc i8*%as(i8*inreg%aD,i8*inreg%aC)
store i8*%aE,i8**%c,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177304,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 12
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i32*
store i32%aa,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aF,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aF,i64 24
%aS=bitcast i8*%aR to i32*
store i32 5,i32*%aS,align 4
br label%aT
aT:
%aU=phi i8*[%aK,%u],[null,%o]
%aV=phi i8*[%aO,%u],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),%o]
%aW=phi i32[%aa,%u],[0,%o]
store i8*%aV,i8**%c,align 8
%aX=call fastcc i8*@_SMLLL5split_190(i8*inreg%aU)
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%d,align 8
%a0=getelementptr inbounds i8,i8*%aX,i64 8
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%e,align 8
%a3=load i8*,i8**%f,align 8
%a4=getelementptr inbounds i8,i8*%a3,i64 8
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%f,align 8
%a7=call i8*@sml_alloc(i32 inreg 28)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177304,i32*%a9,align 4
%ba=getelementptr inbounds i8,i8*%a7,i64 12
%bb=bitcast i8*%ba to i32*
store i32 0,i32*%bb,align 1
%bc=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bd=bitcast i8*%a7 to i8**
store i8*%bc,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 8
%bf=bitcast i8*%be to i32*
store i32%aW,i32*%bf,align 4
%bg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bh=getelementptr inbounds i8,i8*%a7,i64 16
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%a7,i64 24
%bk=bitcast i8*%bj to i32*
store i32 5,i32*%bk,align 4
%bl=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bm=call fastcc i8*@_SMLLL8toString_177(i8*inreg%bl,i8*inreg%a7)
store i8*%bm,i8**%c,align 8
%bn=call i8*@sml_alloc(i32 inreg 20)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177296,i32*%bp,align 4
%bq=load i8*,i8**%c,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%e,align 8
%bt=getelementptr inbounds i8,i8*%bn,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bn,i64 16
%bw=bitcast i8*%bv to i32*
store i32 3,i32*%bw,align 4
ret i8*%bn
}
define internal fastcc i32@_SMLLL6fields_197(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL11joinDirFile_202(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
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%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=bitcast i8*%n to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=and i32%t,268435455
%v=icmp eq i32%u,1
%w=getelementptr inbounds i8,i8*%n,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
br i1%v,label%z,label%ak
z:
store i8*%y,i8**%c,align 8
%A=load i8*,i8**%g,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%G(i8*inreg%I,i8*inreg%y)
%K=bitcast i8*%J to i32*
%L=load i32,i32*%K,align 4
%M=icmp eq i32%L,0
br i1%M,label%P,label%N
N:
%O=load i8*,i8**%c,align 8
ret i8*%O
P:
%Q=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%c,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
store i8*%U,i8**%d,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[46x i8]}>,<{[4x i8],i32,[46x i8]}>*@v,i64 0,i32 2,i64 0),i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,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*%y,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%q,i64 -4
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=and i32%an,268435455
%ap=icmp eq i32%ao,1
br i1%ap,label%bG,label%aq
aq:
%ar=load i8*,i8**%g,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 32
%at=load i8,i8*%as,align 1
%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**%e,align 8
store i8%at,i8*%au,align 1
%ax=getelementptr inbounds i8,i8*%au,i64 8
%ay=bitcast i8*%ax to i32*
store i32 0,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 28)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177304,i32*%aB,align 4
%aC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_197 to void(...)*),void(...)**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 16
%aH=bitcast i8*%aG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_304 to void(...)*),void(...)**%aH,align 8
%aI=getelementptr inbounds i8,i8*%az,i64 24
%aJ=bitcast i8*%aI to i32*
store i32 -2147483647,i32*%aJ,align 4
%aK=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%az)
store i8*%aK,i8**%e,align 8
%aL=bitcast i8**%g to i8***
%aM=load i8**,i8***%aL,align 8
%aN=load i8*,i8**%aM,align 8
%aO=getelementptr inbounds i8,i8*%aN,i64 16
%aP=bitcast i8*%aO to i8*(i8*,i8*)**
%aQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aP,align 8
%aR=bitcast i8*%aN to i8**
%aS=load i8*,i8**%aR,align 8
%aT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aU=call fastcc i8*%aQ(i8*inreg%aS,i8*inreg%aT)
%aV=bitcast i8*%aU to i32*
%aW=load i32,i32*%aV,align 4
%aX=getelementptr inbounds i8,i8*%aU,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=getelementptr inbounds i8,i8*%aU,i64 16
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%c,align 8
%a3=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%aZ)
store i8*%a3,i8**%f,align 8
%a4=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a5=getelementptr inbounds i8,i8*%a4,i64 16
%a6=bitcast i8*%a5 to i8*(i8*,i8*)**
%a7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a6,align 8
%a8=bitcast i8*%a4 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%bb=call fastcc i8*%a7(i8*inreg%a9,i8*inreg%ba)
%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**%h,align 8
%bh=load i8*,i8**%e,align 8
%bi=getelementptr inbounds i8,i8*%bh,i64 16
%bj=bitcast i8*%bi to i8*(i8*,i8*)**
%bk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bj,align 8
store i8*null,i8**%e,align 8
%bl=bitcast i8*%bh to i8**
%bm=load i8*,i8**%bl,align 8
%bn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bo=call fastcc i8*%bk(i8*inreg%bm,i8*inreg%bn)
%bp=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bq=call fastcc i8*%be(i8*inreg%bp,i8*inreg%bo)
store i8*%bq,i8**%c,align 8
%br=call i8*@sml_alloc(i32 inreg 28)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177304,i32*%bt,align 4
%bu=getelementptr inbounds i8,i8*%br,i64 12
%bv=bitcast i8*%bu to i32*
store i32 0,i32*%bv,align 1
%bw=load i8*,i8**%c,align 8
%bx=bitcast i8*%br to i8**
store i8*%bw,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%br,i64 8
%bz=bitcast i8*%by to i32*
store i32%aW,i32*%bz,align 4
%bA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bB=getelementptr inbounds i8,i8*%br,i64 16
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%br,i64 24
%bE=bitcast i8*%bD to i32*
store i32 5,i32*%bE,align 4
%bF=load i8*,i8**%d,align 8
br label%bG
bG:
%bH=phi i8*[%bF,%aq],[%y,%ak]
%bI=phi i8*[%bw,%aq],[null,%ak]
%bJ=phi i8*[%bA,%aq],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),%ak]
%bK=phi i32[%aW,%aq],[0,%ak]
store i8*%bJ,i8**%c,align 8
store i8*%bI,i8**%e,align 8
%bL=load i8*,i8**%g,align 8
%bM=getelementptr inbounds i8,i8*%bL,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
%bP=getelementptr inbounds i8,i8*%bO,i64 16
%bQ=bitcast i8*%bP to i8*(i8*,i8*)**
%bR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bQ,align 8
%bS=bitcast i8*%bO to i8**
%bT=load i8*,i8**%bS,align 8
%bU=call fastcc i8*%bR(i8*inreg%bT,i8*inreg%bH)
%bV=bitcast i8*%bU to i32*
%bW=load i32,i32*%bV,align 4
%bX=icmp eq i32%bW,0
br i1%bX,label%cD,label%bY
bY:
%bZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b0=getelementptr inbounds i8,i8*%bZ,i64 24
%b1=bitcast i8*%b0 to i8**
%b2=load i8*,i8**%b1,align 8
store i8*%b2,i8**%f,align 8
%b3=call i8*@sml_alloc(i32 inreg 20)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
store i8*%b3,i8**%g,align 8
%b6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b3,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*null,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 16
%cb=bitcast i8*%ca to i32*
store i32 3,i32*%cb,align 4
%cc=call i8*@sml_alloc(i32 inreg 20)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177296,i32*%ce,align 4
%cf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ci=getelementptr inbounds i8,i8*%cc,i64 8
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=getelementptr inbounds i8,i8*%cc,i64 16
%cl=bitcast i8*%ck to i32*
store i32 3,i32*%cl,align 4
%cm=call fastcc i8*@_SMLLL10concatArcs_162(i8*inreg%cc)
store i8*%cm,i8**%d,align 8
%cn=call i8*@sml_alloc(i32 inreg 28)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177304,i32*%cp,align 4
%cq=getelementptr inbounds i8,i8*%cn,i64 12
%cr=bitcast i8*%cq to i32*
store i32 0,i32*%cr,align 1
%cs=load i8*,i8**%d,align 8
%ct=bitcast i8*%cn to i8**
store i8*%cs,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 8
%cv=bitcast i8*%cu to i32*
store i32%bK,i32*%cv,align 4
%cw=load i8*,i8**%c,align 8
%cx=getelementptr inbounds i8,i8*%cn,i64 16
%cy=bitcast i8*%cx to i8**
store i8*%cw,i8**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cn,i64 24
%cA=bitcast i8*%cz to i32*
store i32 5,i32*%cA,align 4
%cB=load i8*,i8**%f,align 8
%cC=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%cB,i8*inreg%cn)
ret i8*%cC
cD:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%cE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cF=getelementptr inbounds i8,i8*%cE,i64 16
%cG=bitcast i8*%cF to i8**
%cH=load i8*,i8**%cG,align 8
store i8*%cH,i8**%c,align 8
%cI=call i8*@sml_alloc(i32 inreg 20)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 1342177296,i32*%cK,align 4
store i8*%cI,i8**%d,align 8
%cL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cI,i64 8
%cO=bitcast i8*%cN to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[46x i8]}>,<{[4x i8],i32,[46x i8]}>*@v,i64 0,i32 2,i64 0),i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cI,i64 16
%cQ=bitcast i8*%cP to i32*
store i32 3,i32*%cQ,align 4
%cR=call i8*@sml_alloc(i32 inreg 60)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32 1342177336,i32*%cT,align 4
%cU=getelementptr inbounds i8,i8*%cR,i64 56
%cV=bitcast i8*%cU to i32*
store i32 1,i32*%cV,align 4
%cW=load i8*,i8**%d,align 8
%cX=bitcast i8*%cR to i8**
store i8*%cW,i8**%cX,align 8
call void@sml_raise(i8*inreg%cR)#1
unreachable
}
define internal fastcc i8*@_SMLLL3dir_203(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*@_SMLLL12splitDirFile_196(i8*inreg%p,i8*inreg%o)
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
ret i8*%s
}
define internal fastcc i8*@_SMLLL4file_204(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*@_SMLLL12splitDirFile_196(i8*inreg%p,i8*inreg%o)
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
ret i8*%t
}
define internal fastcc i32@_SMLLL12splitBaseExt_205(i8 inreg%a)#4 gc"smlsharp"{
%b=icmp ne i8%a,46
%c=zext i1%b to i32
ret i32%c
}
define internal fastcc i8*@_SMLLL12splitBaseExt_207(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**%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%j,label%l
j:
%k=bitcast i8*%a to i8**
br label%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%c,align 8
%n=bitcast i8**%g to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%l],[%k,%j]
%r=phi i8*[%m,%l],[%b,%j]
store i8*null,i8**%c,align 8
%s=load i8*,i8**%q,align 8
%t=call fastcc i8*@_SMLLL12splitDirFile_196(i8*inreg%s,i8*inreg%r)
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=getelementptr inbounds i8,i8*%t,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call fastcc i8*@_SMLFN9Substring6splitrE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*))
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%e,align 8
%F=load i8*,i8**%d,align 8
%G=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%F)
%H=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%I=call fastcc i8*%C(i8*inreg%H,i8*inreg%G)
%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*%I,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%f,align 8
%O=call fastcc i32@_SMLFN9Substring4sizeE(i8*inreg%K)
%P=icmp sgt i32%O,1
br i1%P,label%Q,label%U
Q:
%R=load i8*,i8**%f,align 8
%S=call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%R)
%T=icmp eq i32%S,0
br i1%T,label%aa,label%U
U:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%V=call i8*@sml_alloc(i32 inreg 20)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177296,i32*%X,align 4
%Y=load i8*,i8**%d,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
br label%az
aa:
store i8*null,i8**%d,align 8
%ab=call fastcc i8*@_SMLFN9Substring5trimrE(i32 inreg 1)
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8*(i8*,i8*)**
%ae=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ad,align 8
%af=bitcast i8*%ab to i8**
%ag=load i8*,i8**%af,align 8
%ah=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ai=call fastcc i8*%ae(i8*inreg%ag,i8*inreg%ah)
%aj=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ai)
store i8*%aj,i8**%d,align 8
%ak=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%al=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ak)
store i8*%al,i8**%e,align 8
%am=call i8*@sml_alloc(i32 inreg 12)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177288,i32*%ao,align 4
store i8*%am,i8**%f,align 8
%ap=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i32*
store i32 1,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177296,i32*%av,align 4
%aw=load i8*,i8**%d,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=load i8*,i8**%f,align 8
br label%az
az:
%aA=phi i8*[%at,%aa],[%V,%U]
%aB=phi i8*[%ay,%aa],[null,%U]
%aC=phi i8*[%aw,%aa],[%Y,%U]
%aD=getelementptr inbounds i8,i8*%aA,i64 8
%aE=bitcast i8*%aD to i8**
store i8*%aB,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aA,i64 16
%aG=bitcast i8*%aF to i32*
store i32 3,i32*%aG,align 4
store i8*%aC,i8**%d,align 8
store i8*%aB,i8**%e,align 8
%aH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%f,align 8
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
%aO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aR=getelementptr inbounds i8,i8*%aL,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aL,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*@_SMLLL11joinDirFile_202(i8*inreg%aV,i8*inreg%aL)
store i8*%aW,i8**%c,align 8
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177296,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=load i8*,i8**%e,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i32*
store i32 3,i32*%a6,align 4
ret i8*%aX
}
define internal fastcc i8*@_SMLLL11joinBaseExt_209(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=getelementptr inbounds i8,i8*%m,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%v
u:
ret i8*%p
v:
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%c,align 8
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=and i32%A,268435455
%C=icmp eq i32%B,1
br i1%C,label%u,label%D
D:
%E=bitcast i8**%f to i8***
%F=load i8**,i8***%E,align 8
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*@_SMLLL12splitDirFile_196(i8*inreg%G,i8*inreg%p)
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%H,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%e,align 8
%N=load i8*,i8**%f,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%f,align 8
%R=call i8*@sml_alloc(i32 inreg 20)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177296,i32*%T,align 4
store i8*%R,i8**%g,align 8
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to i8**
store i8*null,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to i32*
store i32 3,i32*%Z,align 4
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
store i8*%aa,i8**%c,align 8
%ad=bitcast i8*%aa to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@g,i64 0,i32 2,i64 0),i8**%ad,align 8
%ae=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%af=getelementptr inbounds i8,i8*%aa,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 16
%ai=bitcast i8*%ah to i32*
store i32 3,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
%am=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,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=call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%aj)
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
%ax=load i8*,i8**%d,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%au,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%au,i64 16
%aD=bitcast i8*%aC to i32*
store i32 3,i32*%aD,align 4
%aE=load i8*,i8**%f,align 8
%aF=tail call fastcc i8*@_SMLLL11joinDirFile_202(i8*inreg%aE,i8*inreg%au)
ret i8*%aF
}
define internal fastcc i8*@_SMLLL4base_210(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*@_SMLLL12splitBaseExt_207(i8*inreg%p,i8*inreg%o)
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
ret i8*%s
}
define internal fastcc i8*@_SMLLL3ext_211(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*@_SMLLL12splitBaseExt_207(i8*inreg%p,i8*inreg%o)
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
ret i8*%t
}
define internal fastcc i8*@_SMLLL5mkArc_214(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
%e=bitcast i8*%b to i32*
%f=load i32,i32*%e,align 4
switch i32%f,label%g[
i32 3,label%E
i32 0,label%A
]
g:
%h=load i8*,i8**@_SMLZ4Fail,align 8
store i8*%h,i8**%c,align 8
%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
store i8*%i,i8**%d,align 8
%l=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@h,i64 0,i32 2,i64 0),i8**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[24x i8]}>,<{[4x i8],i32,[24x i8]}>*@i,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 7,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
%B=getelementptr inbounds i8,i8*%b,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
ret i8*%D
E:
%F=bitcast i8*%a to i8**
%G=load i8*,i8**%F,align 8
ret i8*%G
}
define internal fastcc i32@_SMLLL6fields_215(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL11mkCanonical_229(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
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%o
l:
%m=bitcast i8*%b to i32*
%n=bitcast i8**%c to i32**
br label%s
o:
call void@sml_check(i32 inreg%j)
%p=bitcast i8**%c to i32**
%q=load i32*,i32**%p,align 8
%r=load i8*,i8**%g,align 8
br label%s
s:
%t=phi i32**[%n,%l],[%p,%o]
%u=phi i8*[%a,%l],[%r,%o]
%v=phi i32*[%m,%l],[%q,%o]
%w=getelementptr inbounds i32,i32*%v,i64 -1
%x=load i32,i32*%w,align 4
%y=and i32%x,268435455
%z=icmp eq i32%y,1
br i1%z,label%A,label%E
A:
%B=getelementptr inbounds i8,i8*%u,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
ret i8*%D
E:
%F=getelementptr inbounds i8,i8*%u,i64 16
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%d,align 8
%I=call i8*@sml_alloc(i32 inreg 12)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177288,i32*%K,align 4
store i8*%I,i8**%e,align 8
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,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**%h,align 8
%S=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5mkArc_214 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5mkArc_214 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i32*
store i32 -2147483647,i32*%Z,align 4
%aa=load i32*,i32**%t,align 8
%ab=getelementptr inbounds i32,i32*%aa,i64 -1
%ac=load i32,i32*%ab,align 4
%ad=and i32%ac,268435455
%ae=icmp eq i32%ad,1
br i1%ae,label%bv,label%af
af:
%ag=load i8*,i8**%g,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 40
%ai=load i8,i8*%ah,align 1
%aj=call i8*@sml_alloc(i32 inreg 12)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177288,i32*%al,align 4
store i8*%aj,i8**%d,align 8
store i8%ai,i8*%aj,align 1
%am=getelementptr inbounds i8,i8*%aj,i64 8
%an=bitcast i8*%am to i32*
store i32 0,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 28)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177304,i32*%aq,align 4
%ar=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_215 to void(...)*),void(...)**%au,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 16
%aw=bitcast i8*%av to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_306 to void(...)*),void(...)**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 24
%ay=bitcast i8*%ax to i32*
store i32 -2147483647,i32*%ay,align 4
%az=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%ao)
store i8*%az,i8**%d,align 8
%aA=load i8*,i8**%g,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 24
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=getelementptr inbounds i8,i8*%aD,i64 16
%aF=bitcast i8*%aE to i8*(i8*,i8*)**
%aG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aF,align 8
%aH=bitcast i8*%aD to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aK=call fastcc i8*%aG(i8*inreg%aI,i8*inreg%aJ)
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
%aN=getelementptr inbounds i8,i8*%aK,i64 8
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=getelementptr inbounds i8,i8*%aK,i64 16
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%c,align 8
%aT=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%aP)
store i8*%aT,i8**%e,align 8
%aU=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 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
%a0=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%a1=call fastcc i8*%aX(i8*inreg%aZ,i8*inreg%a0)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%f,align 8
%a7=load i8*,i8**%d,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
store i8*null,i8**%d,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%be=call fastcc i8*%ba(i8*inreg%bc,i8*inreg%bd)
%bf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bg=call fastcc i8*%a4(i8*inreg%bf,i8*inreg%be)
store i8*%bg,i8**%c,align 8
%bh=call i8*@sml_alloc(i32 inreg 28)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177304,i32*%bj,align 4
%bk=getelementptr inbounds i8,i8*%bh,i64 12
%bl=bitcast i8*%bk to i32*
store i32 0,i32*%bl,align 1
%bm=load i8*,i8**%c,align 8
%bn=bitcast i8*%bh to i8**
store i8*%bm,i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bh,i64 8
%bp=bitcast i8*%bo to i32*
store i32%aM,i32*%bp,align 4
%bq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%br=getelementptr inbounds i8,i8*%bh,i64 16
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bh,i64 24
%bu=bitcast i8*%bt to i32*
store i32 5,i32*%bu,align 4
br label%bv
bv:
%bw=phi i8*[%bm,%af],[null,%E]
%bx=phi i8*[%bq,%af],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),%E]
%by=phi i32[%aM,%af],[0,%E]
store i8*%bx,i8**%c,align 8
store i8*%bw,i8**%d,align 8
%bz=call i8*@sml_alloc(i32 inreg 20)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
%bC=bitcast i8*%bz to i8**
store i8*null,i8**%bC,align 8
%bD=load i8*,i8**%d,align 8
%bE=getelementptr inbounds i8,i8*%bz,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bz,i64 16
%bH=bitcast i8*%bG to i32*
store i32 3,i32*%bH,align 4
%bI=bitcast i8**%g to i8***
br label%bJ
bJ:
%bK=phi i8*[%bD,%bv],[%cQ,%cO]
%bL=phi i8*[null,%bv],[%cR,%cO]
store i8*%bL,i8**%d,align 8
%bM=icmp eq i8*%bL,null
%bN=icmp ne i8*%bK,null
br i1%bM,label%bO,label%b5
bO:
br i1%bN,label%bQ,label%bP
bP:
store i8*null,i8**%d,align 8
br label%dI
bQ:
%bR=bitcast i8*%bK to i8**
%bS=load i8*,i8**%bR,align 8
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
%bV=load i32,i32*%bU,align 4
%bW=and i32%bV,268435455
%bX=icmp eq i32%bW,1
%bY=getelementptr inbounds i8,i8*%bK,i64 8
%bZ=bitcast i8*%bY to i8**
%b0=load i8*,i8**%bZ,align 8
br i1%bX,label%b1,label%b4
b1:
%b2=icmp eq i8*%b0,null
store i8*null,i8**%d,align 8
br i1%b2,label%dI,label%b3
b3:
store i8*%b0,i8**%e,align 8
br label%cl
b4:
store i8*null,i8**%d,align 8
store i8*%b0,i8**%e,align 8
br label%cl
b5:
br i1%bN,label%cf,label%b6
b6:
%b7=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%b8=getelementptr inbounds i8,i8*%b7,i64 16
%b9=bitcast i8*%b8 to i8*(i8*,i8*)**
%ca=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b9,align 8
%cb=bitcast i8*%b7 to i8**
%cc=load i8*,i8**%cb,align 8
%cd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ce=call fastcc i8*%ca(i8*inreg%cc,i8*inreg%cd)
br label%dI
cf:
%cg=bitcast i8*%bK to i8**
%ch=load i8*,i8**%cg,align 8
%ci=getelementptr inbounds i8,i8*%bK,i64 8
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%bL,i8**%d,align 8
store i8*%ck,i8**%e,align 8
br label%cl
cl:
%cm=phi i8*[%bS,%b3],[%bS,%b4],[%ch,%cf]
%cn=load i8**,i8***%bI,align 8
%co=load i8*,i8**%cn,align 8
%cp=getelementptr inbounds i8,i8*%co,i64 16
%cq=bitcast i8*%cp to i8*(i8*,i8*)**
%cr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cq,align 8
%cs=bitcast i8*%co to i8**
%ct=load i8*,i8**%cs,align 8
%cu=call fastcc i8*%cr(i8*inreg%ct,i8*inreg%cm)
store i8*%cu,i8**%f,align 8
%cv=bitcast i8*%cu to i32*
%cw=load i32,i32*%cv,align 4
switch i32%cw,label%cx[
i32 3,label%da
i32 2,label%c3
i32 1,label%cW
]
cx:
%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**%i,align 8
%cB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cC=bitcast i8*%cy to i8**
store i8*%cB,i8**%cC,align 8
%cD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cE=getelementptr inbounds i8,i8*%cy,i64 8
%cF=bitcast i8*%cE to i8**
store i8*%cD,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cy,i64 16
%cH=bitcast i8*%cG to i32*
store i32 3,i32*%cH,align 4
%cI=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**%i,align 8
store i8*null,i8**%i,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%cO
cO:
%cP=phi i8*[%cI,%cx],[%cX,%cW],[%c4,%c3],[%dm,%di],[%dC,%ds]
%cQ=phi i8*[%cN,%cx],[%c2,%cW],[%c9,%c3],[%dr,%di],[%dH,%ds]
%cR=phi i8*[%cL,%cx],[%c0,%cW],[%c7,%c3],[%dp,%di],[%dF,%ds]
%cS=getelementptr inbounds i8,i8*%cP,i64 8
%cT=bitcast i8*%cS to i8**
store i8*%cQ,i8**%cT,align 8
%cU=getelementptr inbounds i8,i8*%cP,i64 16
%cV=bitcast i8*%cU to i32*
store i32 3,i32*%cV,align 4
br label%bJ
cW:
store i8*null,i8**%f,align 8
%cX=call i8*@sml_alloc(i32 inreg 20)#0
%cY=getelementptr inbounds i8,i8*%cX,i64 -4
%cZ=bitcast i8*%cY to i32*
store i32 1342177296,i32*%cZ,align 4
%c0=load i8*,i8**%d,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%cO
c3:
store i8*null,i8**%f,align 8
%c4=call i8*@sml_alloc(i32 inreg 20)#0
%c5=getelementptr inbounds i8,i8*%c4,i64 -4
%c6=bitcast i8*%c5 to i32*
store i32 1342177296,i32*%c6,align 4
%c7=load i8*,i8**%d,align 8
%c8=bitcast i8*%c4 to i8**
store i8*%c7,i8**%c8,align 8
%c9=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%cO
da:
store i8*null,i8**%f,align 8
%db=load i8*,i8**%d,align 8
%dc=icmp eq i8*%db,null
br i1%dc,label%ds,label%dd
dd:
%de=bitcast i8*%db to i32**
%df=load i32*,i32**%de,align 8
%dg=load i32,i32*%df,align 4
%dh=icmp eq i32%dg,0
br i1%dh,label%di,label%ds
di:
%dj=getelementptr inbounds i8,i8*%db,i64 8
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%d,align 8
%dm=call i8*@sml_alloc(i32 inreg 20)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177296,i32*%do,align 4
%dp=load i8*,i8**%d,align 8
%dq=bitcast i8*%dm to i8**
store i8*%dp,i8**%dq,align 8
%dr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%cO
ds:
%dt=call i8*@sml_alloc(i32 inreg 20)#0
%du=getelementptr inbounds i8,i8*%dt,i64 -4
%dv=bitcast i8*%du to i32*
store i32 1342177296,i32*%dv,align 4
store i8*%dt,i8**%f,align 8
%dw=bitcast i8*%dt to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@j,i64 0,i32 2)to i8*),i8**%dw,align 8
%dx=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dy=getelementptr inbounds i8,i8*%dt,i64 8
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=getelementptr inbounds i8,i8*%dt,i64 16
%dB=bitcast i8*%dA to i32*
store i32 3,i32*%dB,align 4
%dC=call i8*@sml_alloc(i32 inreg 20)#0
%dD=getelementptr inbounds i8,i8*%dC,i64 -4
%dE=bitcast i8*%dD to i32*
store i32 1342177296,i32*%dE,align 4
%dF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dG=bitcast i8*%dC to i8**
store i8*%dF,i8**%dG,align 8
%dH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%cO
dI:
%dJ=phi i8*[%ce,%b6],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@n,i64 0,i32 2)to i8*),%bP],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@l,i64 0,i32 2)to i8*),%b1]
store i8*%dJ,i8**%d,align 8
%dK=call i8*@sml_alloc(i32 inreg 20)#0
%dL=bitcast i8*%dK to i32*
%dM=getelementptr inbounds i8,i8*%dK,i64 -4
%dN=bitcast i8*%dM to i32*
store i32 1342177296,i32*%dN,align 4
%dO=getelementptr inbounds i8,i8*%dK,i64 4
%dP=bitcast i8*%dO to i32*
store i32 0,i32*%dP,align 1
store i32%by,i32*%dL,align 4
%dQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dR=getelementptr inbounds i8,i8*%dK,i64 8
%dS=bitcast i8*%dR to i8**
store i8*%dQ,i8**%dS,align 8
%dT=getelementptr inbounds i8,i8*%dK,i64 16
%dU=bitcast i8*%dT to i32*
store i32 2,i32*%dU,align 4
%dV=load i8*,i8**%g,align 8
%dW=getelementptr inbounds i8,i8*%dV,i64 32
%dX=bitcast i8*%dW to i8**
%dY=load i8*,i8**%dX,align 8
store i8*%dY,i8**%e,align 8
br label%dZ
dZ:
%d0=phi i8*[%dQ,%dI],[%ez,%ep]
%d1=phi i32[%by,%dI],[1,%ep]
%d2=icmp eq i32%d1,0
%d3=icmp ne i8*%d0,null
br i1%d2,label%eE,label%d4
d4:
br i1%d3,label%d6,label%d5
d5:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
br label%fm
d6:
%d7=bitcast i8*%d0 to i32**
%d8=load i32*,i32**%d7,align 8
%d9=load i32,i32*%d8,align 4
switch i32%d9,label%ea[
i32 3,label%ep
i32 2,label%ei
i32 1,label%eb
]
ea:
store i8*null,i8**%g,align 8
store i8*%d0,i8**%d,align 8
br label%e6
eb:
store i8*null,i8**%g,align 8
%ec=getelementptr inbounds i8,i8*%d0,i64 8
%ed=bitcast i8*%ec to i8**
%ee=load i8*,i8**%ed,align 8
%ef=icmp eq i8*%ee,null
br i1%ef,label%eg,label%eh
eg:
store i8*null,i8**%h,align 8
br label%fm
eh:
store i8*%d0,i8**%d,align 8
br label%e6
ei:
store i8*null,i8**%g,align 8
%ej=getelementptr inbounds i8,i8*%d0,i64 8
%ek=bitcast i8*%ej to i8**
%el=load i8*,i8**%ek,align 8
%em=icmp eq i8*%el,null
br i1%em,label%en,label%eo
en:
store i8*null,i8**%h,align 8
br label%fm
eo:
store i8*%d0,i8**%d,align 8
br label%e6
ep:
%eq=getelementptr inbounds i8,i8*%d0,i64 8
%er=bitcast i8*%eq to i8**
%es=load i8*,i8**%er,align 8
store i8*%es,i8**%d,align 8
%et=call i8*@sml_alloc(i32 inreg 20)#0
%eu=bitcast i8*%et to i32*
%ev=getelementptr inbounds i8,i8*%et,i64 -4
%ew=bitcast i8*%ev to i32*
store i32 1342177296,i32*%ew,align 4
%ex=getelementptr inbounds i8,i8*%et,i64 4
%ey=bitcast i8*%ex to i32*
store i32 0,i32*%ey,align 1
store i32 1,i32*%eu,align 4
%ez=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eA=getelementptr inbounds i8,i8*%et,i64 8
%eB=bitcast i8*%eA to i8**
store i8*%ez,i8**%eB,align 8
%eC=getelementptr inbounds i8,i8*%et,i64 16
%eD=bitcast i8*%eC to i32*
store i32 2,i32*%eD,align 4
br label%dZ
eE:
br i1%d3,label%eG,label%eF
eF:
store i8*null,i8**%g,align 8
store i8*null,i8**%d,align 8
br label%e6
eG:
%eH=bitcast i8*%d0 to i32**
%eI=load i32*,i32**%eH,align 8
%eJ=load i32,i32*%eI,align 4
%eK=icmp eq i32%eJ,1
br i1%eK,label%eM,label%eL
eL:
store i8*null,i8**%g,align 8
store i8*%d0,i8**%d,align 8
br label%e6
eM:
%eN=getelementptr inbounds i8,i8*%d0,i64 8
%eO=bitcast i8*%eN to i8**
%eP=load i8*,i8**%eO,align 8
%eQ=icmp eq i8*%eP,null
br i1%eQ,label%eR,label%e5
eR:
store i8*null,i8**%h,align 8
%eS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eT=getelementptr inbounds i8,i8*%eS,i64 8
%eU=bitcast i8*%eT to i8**
%eV=load i8*,i8**%eU,align 8
store i8*%eV,i8**%d,align 8
%eW=call i8*@sml_alloc(i32 inreg 20)#0
%eX=getelementptr inbounds i8,i8*%eW,i64 -4
%eY=bitcast i8*%eX to i32*
store i32 1342177296,i32*%eY,align 4
%eZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%e0=bitcast i8*%eW to i8**
store i8*%eZ,i8**%e0,align 8
%e1=getelementptr inbounds i8,i8*%eW,i64 8
%e2=bitcast i8*%e1 to i8**
store i8*null,i8**%e2,align 8
%e3=getelementptr inbounds i8,i8*%eW,i64 16
%e4=bitcast i8*%e3 to i32*
store i32 3,i32*%e4,align 4
br label%fm
e5:
store i8*null,i8**%g,align 8
store i8*%d0,i8**%d,align 8
br label%e6
e6:
%e7=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%e8=getelementptr inbounds i8,i8*%e7,i64 16
%e9=bitcast i8*%e8 to i8*(i8*,i8*)**
%fa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e9,align 8
%fb=bitcast i8*%e7 to i8**
%fc=load i8*,i8**%fb,align 8
%fd=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fe=call fastcc i8*%fa(i8*inreg%fc,i8*inreg%fd)
%ff=getelementptr inbounds i8,i8*%fe,i64 16
%fg=bitcast i8*%ff to i8*(i8*,i8*)**
%fh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fg,align 8
%fi=bitcast i8*%fe to i8**
%fj=load i8*,i8**%fi,align 8
%fk=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fl=call fastcc i8*%fh(i8*inreg%fj,i8*inreg%fk)
br label%fm
fm:
%fn=phi i8*[%fl,%e6],[%eW,%eR],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@o,i64 0,i32 2)to i8*),%d5],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@o,i64 0,i32 2)to i8*),%eg],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@o,i64 0,i32 2)to i8*),%en]
store i8*%fn,i8**%d,align 8
%fo=call i8*@sml_alloc(i32 inreg 28)#0
%fp=getelementptr inbounds i8,i8*%fo,i64 -4
%fq=bitcast i8*%fp to i32*
store i32 1342177304,i32*%fq,align 4
%fr=getelementptr inbounds i8,i8*%fo,i64 12
%fs=bitcast i8*%fr to i32*
store i32 0,i32*%fs,align 1
%ft=load i8*,i8**%d,align 8
%fu=bitcast i8*%fo to i8**
store i8*%ft,i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fo,i64 8
%fw=bitcast i8*%fv to i32*
store i32%by,i32*%fw,align 4
%fx=load i8*,i8**%c,align 8
%fy=getelementptr inbounds i8,i8*%fo,i64 16
%fz=bitcast i8*%fy to i8**
store i8*%fx,i8**%fz,align 8
%fA=getelementptr inbounds i8,i8*%fo,i64 24
%fB=bitcast i8*%fA to i32*
store i32 5,i32*%fB,align 4
%fC=load i8*,i8**%e,align 8
%fD=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%fC,i8*inreg%fo)
ret i8*%fD
}
define internal fastcc i32@_SMLLL11isCanonical_230(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%m
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%i],[%b,%g]
%o=phi i8**[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%p=load i8*,i8**%o,align 8
%q=call fastcc i8*@_SMLLL11mkCanonical_229(i8*inreg%p,i8*inreg%n)
%r=load i8*,i8**%c,align 8
%s=call i32@sml_obj_equal(i8*inreg%r,i8*inreg%q)#0
ret i32%s
}
define internal fastcc i32@_SMLLL6fields_231(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL10isAbsolute_234(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 i32*
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i32**
%m=load i32*,i32**%l,align 8
br label%n
n:
%o=phi i32*[%m,%k],[%j,%i]
%p=getelementptr inbounds i32,i32*%o,i64 -1
%q=load i32,i32*%p,align 4
%r=and i32%q,268435455
%s=icmp eq i32%r,1
br i1%s,label%aT,label%t
t:
%u=load i8*,i8**%e,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=load i8,i8*%v,align 1
%x=call i8*@sml_alloc(i32 inreg 12)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177288,i32*%z,align 4
store i8*%x,i8**%d,align 8
store i8%w,i8*%x,align 1
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_231 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_308 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
%N=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%C)
store i8*%N,i8**%d,align 8
%O=bitcast i8**%e to i8***
%P=load i8**,i8***%O,align 8
%Q=load i8*,i8**%P,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
store i8*null,i8**%e,align 8
%U=bitcast i8**%P to i8***
%V=load i8**,i8***%U,align 8
%W=load i8*,i8**%V,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%T(i8*inreg%W,i8*inreg%X)
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=getelementptr inbounds i8,i8*%Y,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ad)
store i8*%ah,i8**%e,align 8
%ai=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ap=call fastcc i8*%al(i8*inreg%an,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
store i8*%au,i8**%f,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
store i8*null,i8**%d,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
%aD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aE=call fastcc i8*%as(i8*inreg%aD,i8*inreg%aC)
store i8*%aE,i8**%c,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177304,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 12
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i32*
store i32%aa,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aF,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aF,i64 24
%aS=bitcast i8*%aR to i32*
store i32 5,i32*%aS,align 4
br label%aT
aT:
%aU=phi i32[%aa,%t],[0,%n]
ret i32%aU
}
define internal fastcc i32@_SMLLL6fields_235(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL10isRelative_238(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 i32*
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i32**
%m=load i32*,i32**%l,align 8
br label%n
n:
%o=phi i32*[%m,%k],[%j,%i]
%p=getelementptr inbounds i32,i32*%o,i64 -1
%q=load i32,i32*%p,align 4
%r=and i32%q,268435455
%s=icmp eq i32%r,1
br i1%s,label%aT,label%t
t:
%u=load i8*,i8**%e,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=load i8,i8*%v,align 1
%x=call i8*@sml_alloc(i32 inreg 12)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177288,i32*%z,align 4
store i8*%x,i8**%d,align 8
store i8%w,i8*%x,align 1
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_235 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_310 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
%N=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%C)
store i8*%N,i8**%d,align 8
%O=bitcast i8**%e to i8***
%P=load i8**,i8***%O,align 8
%Q=load i8*,i8**%P,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
store i8*null,i8**%e,align 8
%U=bitcast i8**%P to i8***
%V=load i8**,i8***%U,align 8
%W=load i8*,i8**%V,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%T(i8*inreg%W,i8*inreg%X)
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=getelementptr inbounds i8,i8*%Y,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ad)
store i8*%ah,i8**%e,align 8
%ai=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ap=call fastcc i8*%al(i8*inreg%an,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
store i8*%au,i8**%f,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
store i8*null,i8**%d,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
%aD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aE=call fastcc i8*%as(i8*inreg%aD,i8*inreg%aC)
store i8*%aE,i8**%c,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177304,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 12
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i32*
store i32%aa,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aF,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aF,i64 24
%aS=bitcast i8*%aR to i32*
store i32 5,i32*%aS,align 4
br label%aT
aT:
%aU=phi i32[%aa,%t],[0,%n]
%aV=tail call fastcc i32@_SMLFN4Bool3notE(i32 inreg%aU)
ret i32%aV
}
define internal fastcc i32@_SMLLL6fields_239(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL6fields_242(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL10mkAbsolute_249(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%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%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%r,i64 -4
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=and i32%x,268435455
%z=icmp eq i32%y,1
br i1%z,label%A,label%C
A:
%B=bitcast i8*%u to i32*
br label%a4
C:
%D=load i8*,i8**%h,align 8
%E=getelementptr inbounds i8,i8*%D,i64 40
%F=load i8,i8*%E,align 1
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177288,i32*%I,align 4
store i8*%G,i8**%e,align 8
store i8%F,i8*%G,align 1
%J=getelementptr inbounds i8,i8*%G,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**%e,align 8
store i8*null,i8**%e,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(i32(i8*,i8)*@_SMLLL6fields_239 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*)*@_SMLLL6fields_312 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
%W=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%L)
store i8*%W,i8**%e,align 8
%X=load i8*,i8**%h,align 8
%Y=getelementptr inbounds i8,i8*%X,i64 8
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
%ag=load i8*,i8**%c,align 8
%ah=call fastcc i8*%ad(i8*inreg%af,i8*inreg%ag)
%ai=bitcast i8*%ah to i32*
%aj=load i32,i32*%ai,align 4
%ak=getelementptr inbounds i8,i8*%ah,i64 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 16
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%f,align 8
%aq=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%am)
store i8*%aq,i8**%g,align 8
%ar=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ay=call fastcc i8*%au(i8*inreg%aw,i8*inreg%ax)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%i,align 8
%aE=load i8*,i8**%e,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
store i8*null,i8**%e,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aL=call fastcc i8*%aH(i8*inreg%aJ,i8*inreg%aK)
%aM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aN=call fastcc i8*%aB(i8*inreg%aM,i8*inreg%aL)
store i8*%aN,i8**%e,align 8
%aO=call i8*@sml_alloc(i32 inreg 28)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177304,i32*%aQ,align 4
%aR=getelementptr inbounds i8,i8*%aO,i64 12
%aS=bitcast i8*%aR to i32*
store i32 0,i32*%aS,align 1
%aT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aU=bitcast i8*%aO to i8**
store i8*%aT,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aO,i64 8
%aW=bitcast i8*%aV to i32*
store i32%aj,i32*%aW,align 4
%aX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aY=getelementptr inbounds i8,i8*%aO,i64 16
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aO,i64 24
%a1=bitcast i8*%a0 to i32*
store i32 5,i32*%a1,align 4
%a2=bitcast i8**%d to i32**
%a3=load i32*,i32**%a2,align 8
br label%a4
a4:
%a5=phi i32*[%a3,%C],[%B,%A]
%a6=phi i8*[%aO,%C],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>*@x,i64 0,i32 2)to i8*),%A]
store i8*%a6,i8**%e,align 8
%a7=getelementptr inbounds i32,i32*%a5,i64 -1
%a8=load i32,i32*%a7,align 4
%a9=and i32%a8,268435455
%ba=icmp eq i32%a9,1
br i1%ba,label%bb,label%bd
bb:
%bc=bitcast i8*%a6 to i8**
br label%cv
bd:
%be=load i8*,i8**%h,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 40
%bg=load i8,i8*%bf,align 1
%bh=call i8*@sml_alloc(i32 inreg 12)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177288,i32*%bj,align 4
store i8*%bh,i8**%f,align 8
store i8%bg,i8*%bh,align 1
%bk=getelementptr inbounds i8,i8*%bh,i64 8
%bl=bitcast i8*%bk to i32*
store i32 0,i32*%bl,align 4
%bm=call i8*@sml_alloc(i32 inreg 28)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177304,i32*%bo,align 4
%bp=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bm,i64 8
%bs=bitcast i8*%br to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_242 to void(...)*),void(...)**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bm,i64 16
%bu=bitcast i8*%bt to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_313 to void(...)*),void(...)**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bm,i64 24
%bw=bitcast i8*%bv to i32*
store i32 -2147483647,i32*%bw,align 4
%bx=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%bm)
store i8*%bx,i8**%f,align 8
%by=load i8*,i8**%h,align 8
%bz=getelementptr inbounds i8,i8*%by,i64 8
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,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
%bH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bI=call fastcc i8*%bE(i8*inreg%bG,i8*inreg%bH)
%bJ=bitcast i8*%bI to i32*
%bK=load i32,i32*%bJ,align 4
%bL=getelementptr inbounds i8,i8*%bI,i64 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
%bO=getelementptr inbounds i8,i8*%bI,i64 16
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%d,align 8
%bR=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%bN)
store i8*%bR,i8**%g,align 8
%bS=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bT=getelementptr inbounds i8,i8*%bS,i64 16
%bU=bitcast i8*%bT to i8*(i8*,i8*)**
%bV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bU,align 8
%bW=bitcast i8*%bS to i8**
%bX=load i8*,i8**%bW,align 8
%bY=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%bZ=call fastcc i8*%bV(i8*inreg%bX,i8*inreg%bY)
%b0=getelementptr inbounds i8,i8*%bZ,i64 16
%b1=bitcast i8*%b0 to i8*(i8*,i8*)**
%b2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b1,align 8
%b3=bitcast i8*%bZ to i8**
%b4=load i8*,i8**%b3,align 8
store i8*%b4,i8**%i,align 8
%b5=load i8*,i8**%f,align 8
%b6=getelementptr inbounds i8,i8*%b5,i64 16
%b7=bitcast i8*%b6 to i8*(i8*,i8*)**
%b8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b7,align 8
store i8*null,i8**%f,align 8
%b9=bitcast i8*%b5 to i8**
%ca=load i8*,i8**%b9,align 8
%cb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cc=call fastcc i8*%b8(i8*inreg%ca,i8*inreg%cb)
%cd=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ce=call fastcc i8*%b2(i8*inreg%cd,i8*inreg%cc)
store i8*%ce,i8**%d,align 8
%cf=call i8*@sml_alloc(i32 inreg 28)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177304,i32*%ch,align 4
%ci=getelementptr inbounds i8,i8*%cf,i64 12
%cj=bitcast i8*%ci to i32*
store i32 0,i32*%cj,align 1
%ck=load i8*,i8**%d,align 8
%cl=bitcast i8*%cf to i8**
store i8*%ck,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%cf,i64 8
%cn=bitcast i8*%cm to i32*
store i32%bK,i32*%cn,align 4
%co=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cp=getelementptr inbounds i8,i8*%cf,i64 16
%cq=bitcast i8*%cp to i8**
store i8*%co,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%cf,i64 24
%cs=bitcast i8*%cr to i32*
store i32 5,i32*%cs,align 4
%ct=bitcast i8**%e to i8***
%cu=load i8**,i8***%ct,align 8
br label%cv
cv:
%cw=phi i8**[%cu,%bd],[%bc,%bb]
%cx=phi i8*[%cf,%bd],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>*@x,i64 0,i32 2)to i8*),%bb]
%cy=load i8*,i8**%cw,align 8
store i8*%cy,i8**%d,align 8
%cz=getelementptr inbounds i8*,i8**%cw,i64 1
%cA=bitcast i8**%cz to i32*
%cB=load i32,i32*%cA,align 4
%cC=icmp eq i32%cB,0
br i1%cC,label%cK,label%cD
cD:
store i8*null,i8**%e,align 8
store i8*null,i8**%d,align 8
%cE=getelementptr inbounds i8,i8*%cx,i64 8
%cF=bitcast i8*%cE to i32*
%cG=load i32,i32*%cF,align 4
%cH=icmp eq i32%cG,0
br i1%cH,label%fW,label%cI
cI:
%cJ=load i8*,i8**%c,align 8
ret i8*%cJ
cK:
%cL=getelementptr inbounds i8*,i8**%cw,i64 2
%cM=load i8*,i8**%cL,align 8
store i8*%cM,i8**%c,align 8
%cN=bitcast i8*%cx to i8**
%cO=load i8*,i8**%cN,align 8
store i8*%cO,i8**%e,align 8
%cP=getelementptr inbounds i8,i8*%cx,i64 8
%cQ=bitcast i8*%cP to i32*
%cR=load i32,i32*%cQ,align 4
%cS=icmp eq i32%cR,0
br i1%cS,label%fV,label%cT
cT:
%cU=getelementptr inbounds i8,i8*%cx,i64 16
%cV=bitcast i8*%cU to i8**
%cW=load i8*,i8**%cV,align 8
store i8*%cW,i8**%f,align 8
%cX=bitcast i8**%h to i8***
%cY=load i8**,i8***%cX,align 8
%cZ=load i8*,i8**%cY,align 8
%c0=getelementptr inbounds i8,i8*%cZ,i64 16
%c1=bitcast i8*%c0 to i8*(i8*,i8*)**
%c2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c1,align 8
%c3=bitcast i8*%cZ to i8**
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%g,align 8
%c5=call i8*@sml_alloc(i32 inreg 20)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177296,i32*%c7,align 4
%c8=load i8*,i8**%c,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=load i8*,i8**%f,align 8
%db=getelementptr inbounds i8,i8*%c5,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64 16
%de=bitcast i8*%dd to i32*
store i32 3,i32*%de,align 4
%df=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dg=call fastcc i8*%c2(i8*inreg%df,i8*inreg%c5)
%dh=bitcast i8*%dg to i32*
%di=load i32,i32*%dh,align 4
%dj=icmp eq i32%di,0
br i1%dj,label%d2,label%dk
dk:
store i8*null,i8**%f,align 8
%dl=load i8*,i8**%h,align 8
%dm=getelementptr inbounds i8,i8*%dl,i64 32
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%g,align 8
%dp=getelementptr inbounds i8,i8*%dl,i64 24
%dq=bitcast i8*%dp to i8**
%dr=load i8*,i8**%dq,align 8
store i8*%dr,i8**%h,align 8
%ds=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%dt=getelementptr inbounds i8,i8*%ds,i64 16
%du=bitcast i8*%dt to i8*(i8*,i8*)**
%dv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%du,align 8
%dw=bitcast i8*%ds to i8**
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%f,align 8
%dy=call i8*@sml_alloc(i32 inreg 20)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32 1342177296,i32*%dA,align 4
%dB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dC=bitcast i8*%dy to i8**
store i8*%dB,i8**%dC,align 8
%dD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dE=getelementptr inbounds i8,i8*%dy,i64 8
%dF=bitcast i8*%dE to i8**
store i8*%dD,i8**%dF,align 8
%dG=getelementptr inbounds i8,i8*%dy,i64 16
%dH=bitcast i8*%dG to i32*
store i32 3,i32*%dH,align 4
%dI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dJ=call fastcc i8*%dv(i8*inreg%dI,i8*inreg%dy)
store i8*%dJ,i8**%d,align 8
%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
%dN=getelementptr inbounds i8,i8*%dK,i64 12
%dO=bitcast i8*%dN to i32*
store i32 0,i32*%dO,align 1
%dP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dQ=bitcast i8*%dK to i8**
store i8*%dP,i8**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dK,i64 8
%dS=bitcast i8*%dR to i32*
store i32 1,i32*%dS,align 4
%dT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dU=getelementptr inbounds i8,i8*%dK,i64 16
%dV=bitcast i8*%dU to i8**
store i8*%dT,i8**%dV,align 8
%dW=getelementptr inbounds i8,i8*%dK,i64 24
%dX=bitcast i8*%dW to i32*
store i32 5,i32*%dX,align 4
%dY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dZ=call fastcc i8*@_SMLLL8toString_177(i8*inreg%dY,i8*inreg%dK)
%d0=load i8*,i8**%g,align 8
%d1=tail call fastcc i8*@_SMLLL11mkCanonical_229(i8*inreg%d0,i8*inreg%dZ)
ret i8*%d1
d2:
%d3=load i8*,i8**%c,align 8
%d4=call i32@sml_obj_equal(i8*inreg%d3,i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0))#0
%d5=icmp eq i32%d4,0
br i1%d5,label%eO,label%d6
d6:
store i8*null,i8**%c,align 8
%d7=load i8*,i8**%h,align 8
%d8=getelementptr inbounds i8,i8*%d7,i64 32
%d9=bitcast i8*%d8 to i8**
%ea=load i8*,i8**%d9,align 8
store i8*%ea,i8**%g,align 8
%eb=getelementptr inbounds i8,i8*%d7,i64 24
%ec=bitcast i8*%eb to i8**
%ed=load i8*,i8**%ec,align 8
store i8*%ed,i8**%h,align 8
%ee=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%ef=getelementptr inbounds i8,i8*%ee,i64 16
%eg=bitcast i8*%ef to i8*(i8*,i8*)**
%eh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eg,align 8
%ei=bitcast i8*%ee to i8**
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%c,align 8
%ek=call i8*@sml_alloc(i32 inreg 20)#0
%el=getelementptr inbounds i8,i8*%ek,i64 -4
%em=bitcast i8*%el to i32*
store i32 1342177296,i32*%em,align 4
%en=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eo=bitcast i8*%ek to i8**
store i8*%en,i8**%eo,align 8
%ep=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eq=getelementptr inbounds i8,i8*%ek,i64 8
%er=bitcast i8*%eq to i8**
store i8*%ep,i8**%er,align 8
%es=getelementptr inbounds i8,i8*%ek,i64 16
%et=bitcast i8*%es to i32*
store i32 3,i32*%et,align 4
%eu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ev=call fastcc i8*%eh(i8*inreg%eu,i8*inreg%ek)
store i8*%ev,i8**%c,align 8
%ew=call i8*@sml_alloc(i32 inreg 28)#0
%ex=getelementptr inbounds i8,i8*%ew,i64 -4
%ey=bitcast i8*%ex to i32*
store i32 1342177304,i32*%ey,align 4
%ez=getelementptr inbounds i8,i8*%ew,i64 12
%eA=bitcast i8*%ez to i32*
store i32 0,i32*%eA,align 1
%eB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eC=bitcast i8*%ew to i8**
store i8*%eB,i8**%eC,align 8
%eD=getelementptr inbounds i8,i8*%ew,i64 8
%eE=bitcast i8*%eD to i32*
store i32 1,i32*%eE,align 4
%eF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eG=getelementptr inbounds i8,i8*%ew,i64 16
%eH=bitcast i8*%eG to i8**
store i8*%eF,i8**%eH,align 8
%eI=getelementptr inbounds i8,i8*%ew,i64 24
%eJ=bitcast i8*%eI to i32*
store i32 5,i32*%eJ,align 4
%eK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eL=call fastcc i8*@_SMLLL8toString_177(i8*inreg%eK,i8*inreg%ew)
%eM=load i8*,i8**%g,align 8
%eN=tail call fastcc i8*@_SMLLL11mkCanonical_229(i8*inreg%eM,i8*inreg%eL)
ret i8*%eN
eO:
%eP=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eQ=call i32@sml_obj_equal(i8*inreg%eP,i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0))#0
%eR=icmp eq i32%eQ,0
br i1%eR,label%fA,label%eS
eS:
%eT=load i8*,i8**%h,align 8
%eU=getelementptr inbounds i8,i8*%eT,i64 32
%eV=bitcast i8*%eU to i8**
%eW=load i8*,i8**%eV,align 8
store i8*%eW,i8**%g,align 8
%eX=getelementptr inbounds i8,i8*%eT,i64 24
%eY=bitcast i8*%eX to i8**
%eZ=load i8*,i8**%eY,align 8
store i8*%eZ,i8**%h,align 8
%e0=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%e1=getelementptr inbounds i8,i8*%e0,i64 16
%e2=bitcast i8*%e1 to i8*(i8*,i8*)**
%e3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e2,align 8
%e4=bitcast i8*%e0 to i8**
%e5=load i8*,i8**%e4,align 8
store i8*%e5,i8**%f,align 8
%e6=call i8*@sml_alloc(i32 inreg 20)#0
%e7=getelementptr inbounds i8,i8*%e6,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32 1342177296,i32*%e8,align 4
%e9=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fa=bitcast i8*%e6 to i8**
store i8*%e9,i8**%fa,align 8
%fb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fc=getelementptr inbounds i8,i8*%e6,i64 8
%fd=bitcast i8*%fc to i8**
store i8*%fb,i8**%fd,align 8
%fe=getelementptr inbounds i8,i8*%e6,i64 16
%ff=bitcast i8*%fe to i32*
store i32 3,i32*%ff,align 4
%fg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fh=call fastcc i8*%e3(i8*inreg%fg,i8*inreg%e6)
store i8*%fh,i8**%d,align 8
%fi=call i8*@sml_alloc(i32 inreg 28)#0
%fj=getelementptr inbounds i8,i8*%fi,i64 -4
%fk=bitcast i8*%fj to i32*
store i32 1342177304,i32*%fk,align 4
%fl=getelementptr inbounds i8,i8*%fi,i64 12
%fm=bitcast i8*%fl to i32*
store i32 0,i32*%fm,align 1
%fn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fo=bitcast i8*%fi to i8**
store i8*%fn,i8**%fo,align 8
%fp=getelementptr inbounds i8,i8*%fi,i64 8
%fq=bitcast i8*%fp to i32*
store i32 1,i32*%fq,align 4
%fr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fs=getelementptr inbounds i8,i8*%fi,i64 16
%ft=bitcast i8*%fs to i8**
store i8*%fr,i8**%ft,align 8
%fu=getelementptr inbounds i8,i8*%fi,i64 24
%fv=bitcast i8*%fu to i32*
store i32 5,i32*%fv,align 4
%fw=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fx=call fastcc i8*@_SMLLL8toString_177(i8*inreg%fw,i8*inreg%fi)
%fy=load i8*,i8**%g,align 8
%fz=tail call fastcc i8*@_SMLLL11mkCanonical_229(i8*inreg%fy,i8*inreg%fx)
ret i8*%fz
fA:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%fB=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fC=getelementptr inbounds i8,i8*%fB,i64 16
%fD=bitcast i8*%fC to i8**
%fE=load i8*,i8**%fD,align 8
store i8*%fE,i8**%c,align 8
%fF=call i8*@sml_alloc(i32 inreg 20)#0
%fG=getelementptr inbounds i8,i8*%fF,i64 -4
%fH=bitcast i8*%fG to i32*
store i32 1342177296,i32*%fH,align 4
store i8*%fF,i8**%d,align 8
%fI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fJ=bitcast i8*%fF to i8**
store i8*%fI,i8**%fJ,align 8
%fK=getelementptr inbounds i8,i8*%fF,i64 8
%fL=bitcast i8*%fK to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@q,i64 0,i32 2,i64 0),i8**%fL,align 8
%fM=getelementptr inbounds i8,i8*%fF,i64 16
%fN=bitcast i8*%fM to i32*
store i32 3,i32*%fN,align 4
%fO=call i8*@sml_alloc(i32 inreg 60)#0
%fP=getelementptr inbounds i8,i8*%fO,i64 -4
%fQ=bitcast i8*%fP to i32*
store i32 1342177336,i32*%fQ,align 4
%fR=getelementptr inbounds i8,i8*%fO,i64 56
%fS=bitcast i8*%fR to i32*
store i32 1,i32*%fS,align 4
%fT=load i8*,i8**%d,align 8
%fU=bitcast i8*%fO to i8**
store i8*%fT,i8**%fU,align 8
call void@sml_raise(i8*inreg%fO)#1
unreachable
fV:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
br label%fW
fW:
%fX=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fY=getelementptr inbounds i8,i8*%fX,i64 16
%fZ=bitcast i8*%fY to i8**
%f0=load i8*,i8**%fZ,align 8
store i8*%f0,i8**%c,align 8
%f1=call i8*@sml_alloc(i32 inreg 20)#0
%f2=getelementptr inbounds i8,i8*%f1,i64 -4
%f3=bitcast i8*%f2 to i32*
store i32 1342177296,i32*%f3,align 4
store i8*%f1,i8**%d,align 8
%f4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%f5=bitcast i8*%f1 to i8**
store i8*%f4,i8**%f5,align 8
%f6=getelementptr inbounds i8,i8*%f1,i64 8
%f7=bitcast i8*%f6 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@p,i64 0,i32 2,i64 0),i8**%f7,align 8
%f8=getelementptr inbounds i8,i8*%f1,i64 16
%f9=bitcast i8*%f8 to i32*
store i32 3,i32*%f9,align 4
%ga=call i8*@sml_alloc(i32 inreg 60)#0
%gb=getelementptr inbounds i8,i8*%ga,i64 -4
%gc=bitcast i8*%gb to i32*
store i32 1342177336,i32*%gc,align 4
%gd=getelementptr inbounds i8,i8*%ga,i64 56
%ge=bitcast i8*%gd to i32*
store i32 1,i32*%ge,align 4
%gf=load i8*,i8**%d,align 8
%gg=bitcast i8*%ga to i8**
store i8*%gf,i8**%gg,align 8
call void@sml_raise(i8*inreg%ga)#1
unreachable
}
define internal fastcc i32@_SMLLL6fields_250(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL6fields_254(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL6fields_257(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL6fields_260(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL10mkRelative_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
%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%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=and i32%x,268435455
%z=icmp eq i32%y,1
br i1%z,label%ke,label%A
A:
%B=load i8*,i8**%h,align 8
%C=getelementptr inbounds i8,i8*%B,i64 56
%D=load i8,i8*%C,align 1
%E=call i8*@sml_alloc(i32 inreg 12)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177288,i32*%G,align 4
store i8*%E,i8**%e,align 8
store i8%D,i8*%E,align 1
%H=getelementptr inbounds i8,i8*%E,i64 8
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,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
%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 void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_250 to void(...)*),void(...)**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_314 to void(...)*),void(...)**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 24
%T=bitcast i8*%S to i32*
store i32 -2147483647,i32*%T,align 4
%U=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%J)
store i8*%U,i8**%e,align 8
%V=load i8*,i8**%h,align 8
%W=getelementptr inbounds i8,i8*%V,i64 24
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
%ae=load i8*,i8**%d,align 8
%af=call fastcc i8*%ab(i8*inreg%ad,i8*inreg%ae)
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=getelementptr inbounds i8,i8*%af,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=getelementptr inbounds i8,i8*%af,i64 16
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%f,align 8
%ao=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ak)
store i8*%ao,i8**%g,align 8
%ap=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**@_SMLZN9Substring6stringE,align 8
%aw=call fastcc i8*%as(i8*inreg%au,i8*inreg%av)
%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**%i,align 8
%aC=load i8*,i8**%e,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64 16
%aE=bitcast i8*%aD to i8*(i8*,i8*)**
%aF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aE,align 8
store i8*null,i8**%e,align 8
%aG=bitcast i8*%aC to i8**
%aH=load i8*,i8**%aG,align 8
%aI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aJ=call fastcc i8*%aF(i8*inreg%aH,i8*inreg%aI)
%aK=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aL=call fastcc i8*%az(i8*inreg%aK,i8*inreg%aJ)
store i8*%aL,i8**%e,align 8
%aM=call i8*@sml_alloc(i32 inreg 28)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177304,i32*%aO,align 4
%aP=getelementptr inbounds i8,i8*%aM,i64 12
%aQ=bitcast i8*%aP to i32*
store i32 0,i32*%aQ,align 1
%aR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aS=bitcast i8*%aM to i8**
store i8*%aR,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 8
%aU=bitcast i8*%aT to i32*
store i32%ah,i32*%aU,align 4
%aV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aW=getelementptr inbounds i8,i8*%aM,i64 16
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aM,i64 24
%aZ=bitcast i8*%aY to i32*
store i32 5,i32*%aZ,align 4
%a0=icmp eq i32%ah,0
br i1%a0,label%ke,label%a1
a1:
%a2=bitcast i8**%c to i32**
%a3=load i32*,i32**%a2,align 8
%a4=getelementptr inbounds i32,i32*%a3,i64 -1
%a5=load i32,i32*%a4,align 4
%a6=and i32%a5,268435455
%a7=icmp eq i32%a6,1
br i1%a7,label%co,label%a8
a8:
%a9=load i8*,i8**%h,align 8
%ba=getelementptr inbounds i8,i8*%a9,i64 56
%bb=load i8,i8*%ba,align 1
%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**%e,align 8
store i8%bb,i8*%bc,align 1
%bf=getelementptr inbounds i8,i8*%bc,i64 8
%bg=bitcast i8*%bf to i32*
store i32 0,i32*%bg,align 4
%bh=call i8*@sml_alloc(i32 inreg 28)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177304,i32*%bj,align 4
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bh,i64 8
%bn=bitcast i8*%bm to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_254 to void(...)*),void(...)**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bh,i64 16
%bp=bitcast i8*%bo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_315 to void(...)*),void(...)**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bh,i64 24
%br=bitcast i8*%bq to i32*
store i32 -2147483647,i32*%br,align 4
%bs=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%bh)
store i8*%bs,i8**%e,align 8
%bt=load i8*,i8**%h,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 24
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
%bx=getelementptr inbounds i8,i8*%bw,i64 16
%by=bitcast i8*%bx to i8*(i8*,i8*)**
%bz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%by,align 8
%bA=bitcast i8*%bw to i8**
%bB=load i8*,i8**%bA,align 8
%bC=load i8*,i8**%c,align 8
%bD=call fastcc i8*%bz(i8*inreg%bB,i8*inreg%bC)
%bE=bitcast i8*%bD to i32*
%bF=load i32,i32*%bE,align 4
%bG=getelementptr inbounds i8,i8*%bD,i64 8
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
%bJ=getelementptr inbounds i8,i8*%bD,i64 16
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%f,align 8
%bM=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%bI)
store i8*%bM,i8**%g,align 8
%bN=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bO=getelementptr inbounds i8,i8*%bN,i64 16
%bP=bitcast i8*%bO to i8*(i8*,i8*)**
%bQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bP,align 8
%bR=bitcast i8*%bN to i8**
%bS=load i8*,i8**%bR,align 8
%bT=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%bU=call fastcc i8*%bQ(i8*inreg%bS,i8*inreg%bT)
%bV=getelementptr inbounds i8,i8*%bU,i64 16
%bW=bitcast i8*%bV to i8*(i8*,i8*)**
%bX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bW,align 8
%bY=bitcast i8*%bU to i8**
%bZ=load i8*,i8**%bY,align 8
store i8*%bZ,i8**%i,align 8
%b0=load i8*,i8**%e,align 8
%b1=getelementptr inbounds i8,i8*%b0,i64 16
%b2=bitcast i8*%b1 to i8*(i8*,i8*)**
%b3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b2,align 8
store i8*null,i8**%e,align 8
%b4=bitcast i8*%b0 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b7=call fastcc i8*%b3(i8*inreg%b5,i8*inreg%b6)
%b8=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b9=call fastcc i8*%bX(i8*inreg%b8,i8*inreg%b7)
store i8*%b9,i8**%e,align 8
%ca=call i8*@sml_alloc(i32 inreg 28)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177304,i32*%cc,align 4
%cd=getelementptr inbounds i8,i8*%ca,i64 12
%ce=bitcast i8*%cd to i32*
store i32 0,i32*%ce,align 1
%cf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cg=bitcast i8*%ca to i8**
store i8*%cf,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%ca,i64 8
%ci=bitcast i8*%ch to i32*
store i32%bF,i32*%ci,align 4
%cj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ck=getelementptr inbounds i8,i8*%ca,i64 16
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%ca,i64 24
%cn=bitcast i8*%cm to i32*
store i32 5,i32*%cn,align 4
br label%co
co:
%cp=phi i32[%bF,%a8],[0,%a1]
%cq=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%cp)
%cr=icmp eq i32%cq,0
%cs=load i8*,i8**%c,align 8
br i1%cr,label%cu,label%ct
ct:
ret i8*%cs
cu:
%cv=getelementptr inbounds i8,i8*%cs,i64 -4
%cw=bitcast i8*%cv to i32*
%cx=load i32,i32*%cw,align 4
%cy=and i32%cx,268435455
%cz=icmp eq i32%cy,1
br i1%cz,label%dQ,label%cA
cA:
%cB=load i8*,i8**%h,align 8
%cC=getelementptr inbounds i8,i8*%cB,i64 56
%cD=load i8,i8*%cC,align 1
%cE=call i8*@sml_alloc(i32 inreg 12)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177288,i32*%cG,align 4
store i8*%cE,i8**%e,align 8
store i8%cD,i8*%cE,align 1
%cH=getelementptr inbounds i8,i8*%cE,i64 8
%cI=bitcast i8*%cH to i32*
store i32 0,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**%e,align 8
store i8*null,i8**%e,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(i32(i8*,i8)*@_SMLLL6fields_257 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*)*@_SMLLL6fields_316 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=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%cJ)
store i8*%cU,i8**%e,align 8
%cV=load i8*,i8**%h,align 8
%cW=getelementptr inbounds i8,i8*%cV,i64 24
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=getelementptr inbounds i8,i8*%cY,i64 16
%c0=bitcast i8*%cZ to i8*(i8*,i8*)**
%c1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c0,align 8
%c2=bitcast i8*%cY to i8**
%c3=load i8*,i8**%c2,align 8
%c4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c5=call fastcc i8*%c1(i8*inreg%c3,i8*inreg%c4)
%c6=bitcast i8*%c5 to i32*
%c7=load i32,i32*%c6,align 4
%c8=getelementptr inbounds i8,i8*%c5,i64 8
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
%db=getelementptr inbounds i8,i8*%c5,i64 16
%dc=bitcast i8*%db to i8**
%dd=load i8*,i8**%dc,align 8
store i8*%dd,i8**%c,align 8
%de=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%da)
store i8*%de,i8**%f,align 8
%df=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dg=getelementptr inbounds i8,i8*%df,i64 16
%dh=bitcast i8*%dg to i8*(i8*,i8*)**
%di=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dh,align 8
%dj=bitcast i8*%df to i8**
%dk=load i8*,i8**%dj,align 8
%dl=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%dm=call fastcc i8*%di(i8*inreg%dk,i8*inreg%dl)
%dn=getelementptr inbounds i8,i8*%dm,i64 16
%do=bitcast i8*%dn to i8*(i8*,i8*)**
%dp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%do,align 8
%dq=bitcast i8*%dm to i8**
%dr=load i8*,i8**%dq,align 8
store i8*%dr,i8**%g,align 8
%ds=load i8*,i8**%e,align 8
%dt=getelementptr inbounds i8,i8*%ds,i64 16
%du=bitcast i8*%dt to i8*(i8*,i8*)**
%dv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%du,align 8
store i8*null,i8**%e,align 8
%dw=bitcast i8*%ds to i8**
%dx=load i8*,i8**%dw,align 8
%dy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dz=call fastcc i8*%dv(i8*inreg%dx,i8*inreg%dy)
%dA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dB=call fastcc i8*%dp(i8*inreg%dA,i8*inreg%dz)
store i8*%dB,i8**%c,align 8
%dC=call i8*@sml_alloc(i32 inreg 28)#0
%dD=getelementptr inbounds i8,i8*%dC,i64 -4
%dE=bitcast i8*%dD to i32*
store i32 1342177304,i32*%dE,align 4
%dF=getelementptr inbounds i8,i8*%dC,i64 12
%dG=bitcast i8*%dF to i32*
store i32 0,i32*%dG,align 1
%dH=load i8*,i8**%c,align 8
%dI=bitcast i8*%dC to i8**
store i8*%dH,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dC,i64 8
%dK=bitcast i8*%dJ to i32*
store i32%c7,i32*%dK,align 4
%dL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dM=getelementptr inbounds i8,i8*%dC,i64 16
%dN=bitcast i8*%dM to i8**
store i8*%dL,i8**%dN,align 8
%dO=getelementptr inbounds i8,i8*%dC,i64 24
%dP=bitcast i8*%dO to i32*
store i32 5,i32*%dP,align 4
br label%dQ
dQ:
%dR=phi i8*[%dH,%cA],[null,%cu]
%dS=phi i8*[%dL,%cA],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),%cu]
store i8*%dS,i8**%c,align 8
store i8*%dR,i8**%e,align 8
%dT=load i8*,i8**%h,align 8
%dU=getelementptr inbounds i8,i8*%dT,i64 48
%dV=bitcast i8*%dU to i8**
%dW=load i8*,i8**%dV,align 8
%dX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dY=call fastcc i8*@_SMLLL11mkCanonical_229(i8*inreg%dW,i8*inreg%dX)
store i8*%dY,i8**%d,align 8
%dZ=getelementptr inbounds i8,i8*%dY,i64 -4
%d0=bitcast i8*%dZ to i32*
%d1=load i32,i32*%d0,align 4
%d2=and i32%d1,268435455
%d3=icmp eq i32%d2,1
br i1%d3,label%fk,label%d4
d4:
%d5=load i8*,i8**%h,align 8
%d6=getelementptr inbounds i8,i8*%d5,i64 56
%d7=load i8,i8*%d6,align 1
%d8=call i8*@sml_alloc(i32 inreg 12)#0
%d9=getelementptr inbounds i8,i8*%d8,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 1342177288,i32*%ea,align 4
store i8*%d8,i8**%f,align 8
store i8%d7,i8*%d8,align 1
%eb=getelementptr inbounds i8,i8*%d8,i64 8
%ec=bitcast i8*%eb to i32*
store i32 0,i32*%ec,align 4
%ed=call i8*@sml_alloc(i32 inreg 28)#0
%ee=getelementptr inbounds i8,i8*%ed,i64 -4
%ef=bitcast i8*%ee to i32*
store i32 1342177304,i32*%ef,align 4
%eg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eh=bitcast i8*%ed to i8**
store i8*%eg,i8**%eh,align 8
%ei=getelementptr inbounds i8,i8*%ed,i64 8
%ej=bitcast i8*%ei to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_260 to void(...)*),void(...)**%ej,align 8
%ek=getelementptr inbounds i8,i8*%ed,i64 16
%el=bitcast i8*%ek to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_317 to void(...)*),void(...)**%el,align 8
%em=getelementptr inbounds i8,i8*%ed,i64 24
%en=bitcast i8*%em to i32*
store i32 -2147483647,i32*%en,align 4
%eo=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%ed)
store i8*%eo,i8**%f,align 8
%ep=load i8*,i8**%h,align 8
%eq=getelementptr inbounds i8,i8*%ep,i64 24
%er=bitcast i8*%eq to i8**
%es=load i8*,i8**%er,align 8
%et=getelementptr inbounds i8,i8*%es,i64 16
%eu=bitcast i8*%et to i8*(i8*,i8*)**
%ev=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eu,align 8
%ew=bitcast i8*%es to i8**
%ex=load i8*,i8**%ew,align 8
%ey=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ez=call fastcc i8*%ev(i8*inreg%ex,i8*inreg%ey)
%eA=bitcast i8*%ez to i32*
%eB=load i32,i32*%eA,align 4
%eC=getelementptr inbounds i8,i8*%ez,i64 8
%eD=bitcast i8*%eC to i8**
%eE=load i8*,i8**%eD,align 8
%eF=getelementptr inbounds i8,i8*%ez,i64 16
%eG=bitcast i8*%eF to i8**
%eH=load i8*,i8**%eG,align 8
store i8*%eH,i8**%d,align 8
%eI=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%eE)
store i8*%eI,i8**%g,align 8
%eJ=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%eK=getelementptr inbounds i8,i8*%eJ,i64 16
%eL=bitcast i8*%eK to i8*(i8*,i8*)**
%eM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eL,align 8
%eN=bitcast i8*%eJ to i8**
%eO=load i8*,i8**%eN,align 8
%eP=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%eQ=call fastcc i8*%eM(i8*inreg%eO,i8*inreg%eP)
%eR=getelementptr inbounds i8,i8*%eQ,i64 16
%eS=bitcast i8*%eR to i8*(i8*,i8*)**
%eT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eS,align 8
%eU=bitcast i8*%eQ to i8**
%eV=load i8*,i8**%eU,align 8
store i8*%eV,i8**%i,align 8
%eW=load i8*,i8**%f,align 8
%eX=getelementptr inbounds i8,i8*%eW,i64 16
%eY=bitcast i8*%eX to i8*(i8*,i8*)**
%eZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eY,align 8
store i8*null,i8**%f,align 8
%e0=bitcast i8*%eW to i8**
%e1=load i8*,i8**%e0,align 8
%e2=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%e3=call fastcc i8*%eZ(i8*inreg%e1,i8*inreg%e2)
%e4=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%e5=call fastcc i8*%eT(i8*inreg%e4,i8*inreg%e3)
store i8*%e5,i8**%d,align 8
%e6=call i8*@sml_alloc(i32 inreg 28)#0
%e7=getelementptr inbounds i8,i8*%e6,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32 1342177304,i32*%e8,align 4
%e9=getelementptr inbounds i8,i8*%e6,i64 12
%fa=bitcast i8*%e9 to i32*
store i32 0,i32*%fa,align 1
%fb=load i8*,i8**%d,align 8
%fc=bitcast i8*%e6 to i8**
store i8*%fb,i8**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e6,i64 8
%fe=bitcast i8*%fd to i32*
store i32%eB,i32*%fe,align 4
%ff=load i8*,i8**%g,align 8
%fg=getelementptr inbounds i8,i8*%e6,i64 16
%fh=bitcast i8*%fg to i8**
store i8*%ff,i8**%fh,align 8
%fi=getelementptr inbounds i8,i8*%e6,i64 24
%fj=bitcast i8*%fi to i32*
store i32 5,i32*%fj,align 4
br label%fk
fk:
%fl=phi i8*[%fb,%d4],[null,%dQ]
%fm=phi i8*[%ff,%d4],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),%dQ]
store i8*%fm,i8**%d,align 8
store i8*%fl,i8**%f,align 8
%fn=load i8*,i8**%h,align 8
%fo=getelementptr inbounds i8,i8*%fn,i64 16
%fp=bitcast i8*%fo to i8**
%fq=load i8*,i8**%fp,align 8
%fr=getelementptr inbounds i8,i8*%fq,i64 16
%fs=bitcast i8*%fr to i8*(i8*,i8*)**
%ft=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fs,align 8
%fu=bitcast i8*%fq to i8**
%fv=load i8*,i8**%fu,align 8
store i8*%fv,i8**%g,align 8
%fw=call i8*@sml_alloc(i32 inreg 20)#0
%fx=getelementptr inbounds i8,i8*%fw,i64 -4
%fy=bitcast i8*%fx to i32*
store i32 1342177296,i32*%fy,align 4
%fz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fA=bitcast i8*%fw to i8**
store i8*%fz,i8**%fA,align 8
%fB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fC=getelementptr inbounds i8,i8*%fw,i64 8
%fD=bitcast i8*%fC to i8**
store i8*%fB,i8**%fD,align 8
%fE=getelementptr inbounds i8,i8*%fw,i64 16
%fF=bitcast i8*%fE to i32*
store i32 3,i32*%fF,align 4
%fG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fH=call fastcc i8*%ft(i8*inreg%fG,i8*inreg%fw)
%fI=bitcast i8*%fH to i32*
%fJ=load i32,i32*%fI,align 4
%fK=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%fJ)
%fL=icmp eq i32%fK,0
br i1%fL,label%f7,label%fM
fM:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%fN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fO=getelementptr inbounds i8,i8*%fN,i64 32
%fP=bitcast i8*%fO to i8**
%fQ=load i8*,i8**%fP,align 8
store i8*%fQ,i8**%c,align 8
%fR=call i8*@sml_alloc(i32 inreg 20)#0
%fS=getelementptr inbounds i8,i8*%fR,i64 -4
%fT=bitcast i8*%fS to i32*
store i32 1342177296,i32*%fT,align 4
store i8*%fR,i8**%d,align 8
%fU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fV=bitcast i8*%fR to i8**
store i8*%fU,i8**%fV,align 8
%fW=getelementptr inbounds i8,i8*%fR,i64 8
%fX=bitcast i8*%fW to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@s,i64 0,i32 2,i64 0),i8**%fX,align 8
%fY=getelementptr inbounds i8,i8*%fR,i64 16
%fZ=bitcast i8*%fY to i32*
store i32 3,i32*%fZ,align 4
%f0=call i8*@sml_alloc(i32 inreg 60)#0
%f1=getelementptr inbounds i8,i8*%f0,i64 -4
%f2=bitcast i8*%f1 to i32*
store i32 1342177336,i32*%f2,align 4
%f3=getelementptr inbounds i8,i8*%f0,i64 56
%f4=bitcast i8*%f3 to i32*
store i32 1,i32*%f4,align 4
%f5=load i8*,i8**%d,align 8
%f6=bitcast i8*%f0 to i8**
store i8*%f5,i8**%f6,align 8
call void@sml_raise(i8*inreg%f0)#1
unreachable
f7:
%f8=load i8*,i8**%e,align 8
%f9=icmp eq i8*%f8,null
br i1%f9,label%gF,label%ga
ga:
%gb=bitcast i8*%f8 to i32**
%gc=load i32*,i32**%gb,align 8
%gd=getelementptr inbounds i32,i32*%gc,i64 -1
%ge=load i32,i32*%gd,align 4
%gf=and i32%ge,268435455
%gg=icmp eq i32%gf,1
br i1%gg,label%gh,label%gF
gh:
%gi=getelementptr inbounds i8,i8*%f8,i64 8
%gj=bitcast i8*%gi to i8**
%gk=load i8*,i8**%gj,align 8
%gl=icmp eq i8*%gk,null
br i1%gl,label%gm,label%gF
gm:
store i8*null,i8**%e,align 8
%gn=load i8*,i8**%f,align 8
%go=icmp eq i8*%gn,null
br i1%go,label%je,label%gp
gp:
%gq=bitcast i8*%gn to i32**
%gr=load i32*,i32**%gq,align 8
%gs=getelementptr inbounds i32,i32*%gr,i64 -1
%gt=load i32,i32*%gs,align 4
%gu=and i32%gt,268435455
%gv=icmp eq i32%gu,1
br i1%gv,label%gw,label%je
gw:
%gx=getelementptr inbounds i8,i8*%gn,i64 8
%gy=bitcast i8*%gx to i8**
%gz=load i8*,i8**%gy,align 8
%gA=icmp eq i8*%gz,null
br i1%gA,label%gB,label%je
gB:
%gC=bitcast i8**%h to i8***
%gD=load i8**,i8***%gC,align 8
%gE=load i8*,i8**%gD,align 8
ret i8*%gE
gF:
%gG=call i8*@sml_alloc(i32 inreg 20)#0
%gH=getelementptr inbounds i8,i8*%gG,i64 -4
%gI=bitcast i8*%gH to i32*
store i32 1342177296,i32*%gI,align 4
%gJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gK=bitcast i8*%gG to i8**
store i8*%gJ,i8**%gK,align 8
%gL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gM=getelementptr inbounds i8,i8*%gG,i64 8
%gN=bitcast i8*%gM to i8**
store i8*%gL,i8**%gN,align 8
%gO=getelementptr inbounds i8,i8*%gG,i64 16
%gP=bitcast i8*%gO to i32*
store i32 3,i32*%gP,align 4
%gQ=load i8*,i8**%h,align 8
%gR=getelementptr inbounds i8,i8*%gQ,i64 40
%gS=bitcast i8*%gR to i8**
%gT=load i8*,i8**%gS,align 8
store i8*%gT,i8**%g,align 8
br label%gU
gU:
%gV=phi i8*[%gL,%gF],[%hZ,%hT]
%gW=phi i8*[%gJ,%gF],[%hX,%hT]
store i8*%gW,i8**%c,align 8
%gX=icmp eq i8*%gW,null
br i1%gX,label%gY,label%hE
gY:
store i8*%gV,i8**%d,align 8
%gZ=icmp eq i8*%gV,null
br i1%gZ,label%iJ,label%g0
g0:
store i8*null,i8**%c,align 8
%g1=call i8*@sml_alloc(i32 inreg 20)#0
%g2=getelementptr inbounds i8,i8*%g1,i64 -4
%g3=bitcast i8*%g2 to i32*
store i32 1342177296,i32*%g3,align 4
%g4=bitcast i8*%g1 to i8**
store i8*null,i8**%g4,align 8
%g5=load i8*,i8**%d,align 8
br label%g6
g6:
%g7=phi i8*[%hy,%hg],[%g1,%g0]
%g8=phi i8*[%hD,%hg],[%g5,%g0]
%g9=phi i8*[%hB,%hg],[null,%g0]
store i8*null,i8**%d,align 8
%ha=getelementptr inbounds i8,i8*%g7,i64 8
%hb=bitcast i8*%ha to i8**
store i8*%g8,i8**%hb,align 8
%hc=getelementptr inbounds i8,i8*%g7,i64 16
%hd=bitcast i8*%hc to i32*
store i32 3,i32*%hd,align 4
store i8*%g9,i8**%c,align 8
%he=icmp eq i8*%g8,null
br i1%he,label%hf,label%hg
hf:
store i8*null,i8**%h,align 8
store i8*null,i8**%c,align 8
br label%iX
hg:
%hh=getelementptr inbounds i8,i8*%g8,i64 8
%hi=bitcast i8*%hh to i8**
%hj=load i8*,i8**%hi,align 8
store i8*%hj,i8**%d,align 8
%hk=load i8*,i8**%h,align 8
%hl=getelementptr inbounds i8,i8*%hk,i64 8
%hm=bitcast i8*%hl to i8**
%hn=load i8*,i8**%hm,align 8
store i8*%hn,i8**%e,align 8
%ho=call i8*@sml_alloc(i32 inreg 20)#0
%hp=getelementptr inbounds i8,i8*%ho,i64 -4
%hq=bitcast i8*%hp to i32*
store i32 1342177296,i32*%hq,align 4
store i8*%ho,i8**%f,align 8
%hr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hs=bitcast i8*%ho to i8**
store i8*%hr,i8**%hs,align 8
%ht=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hu=getelementptr inbounds i8,i8*%ho,i64 8
%hv=bitcast i8*%hu to i8**
store i8*%ht,i8**%hv,align 8
%hw=getelementptr inbounds i8,i8*%ho,i64 16
%hx=bitcast i8*%hw to i32*
store i32 3,i32*%hx,align 4
%hy=call i8*@sml_alloc(i32 inreg 20)#0
%hz=getelementptr inbounds i8,i8*%hy,i64 -4
%hA=bitcast i8*%hz to i32*
store i32 1342177296,i32*%hA,align 4
%hB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hC=bitcast i8*%hy to i8**
store i8*%hB,i8**%hC,align 8
%hD=load i8*,i8**%d,align 8
br label%g6
hE:
%hF=bitcast i8*%gW to i8**
%hG=load i8*,i8**%hF,align 8
%hH=getelementptr inbounds i8,i8*%gW,i64 8
%hI=bitcast i8*%hH to i8**
%hJ=load i8*,i8**%hI,align 8
store i8*%hJ,i8**%d,align 8
store i8*%gV,i8**%e,align 8
%hK=icmp eq i8*%gV,null
br i1%hK,label%iW,label%hL
hL:
%hM=bitcast i8*%gV to i8**
%hN=load i8*,i8**%hM,align 8
%hO=getelementptr inbounds i8,i8*%gV,i64 8
%hP=bitcast i8*%hO to i8**
%hQ=load i8*,i8**%hP,align 8
store i8*%hQ,i8**%f,align 8
%hR=call i32@sml_obj_equal(i8*inreg%hG,i8*inreg%hN)#0
%hS=icmp eq i32%hR,0
br i1%hS,label%h4,label%hT
hT:
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
%hU=call i8*@sml_alloc(i32 inreg 20)#0
%hV=getelementptr inbounds i8,i8*%hU,i64 -4
%hW=bitcast i8*%hV to i32*
store i32 1342177296,i32*%hW,align 4
%hX=load i8*,i8**%d,align 8
%hY=bitcast i8*%hU to i8**
store i8*%hX,i8**%hY,align 8
%hZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%h0=getelementptr inbounds i8,i8*%hU,i64 8
%h1=bitcast i8*%h0 to i8**
store i8*%hZ,i8**%h1,align 8
%h2=getelementptr inbounds i8,i8*%hU,i64 16
%h3=bitcast i8*%h2 to i32*
store i32 3,i32*%h3,align 4
br label%gU
h4:
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%h5=call i8*@sml_alloc(i32 inreg 20)#0
%h6=getelementptr inbounds i8,i8*%h5,i64 -4
%h7=bitcast i8*%h6 to i32*
store i32 1342177296,i32*%h7,align 4
%h8=load i8*,i8**%c,align 8
%h9=bitcast i8*%h5 to i8**
store i8*%h8,i8**%h9,align 8
%ia=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%ib
ib:
%ic=phi i8*[%iD,%il],[%h5,%h4]
%id=phi i8*[%iI,%il],[%ia,%h4]
%ie=phi i8*[%iG,%il],[%h8,%h4]
%if=getelementptr inbounds i8,i8*%ic,i64 8
%ig=bitcast i8*%if to i8**
store i8*%id,i8**%ig,align 8
%ih=getelementptr inbounds i8,i8*%ic,i64 16
%ii=bitcast i8*%ih to i32*
store i32 3,i32*%ii,align 4
store i8*%ie,i8**%c,align 8
%ij=icmp eq i8*%id,null
br i1%ij,label%ik,label%il
ik:
store i8*null,i8**%h,align 8
store i8*null,i8**%c,align 8
br label%iX
il:
%im=getelementptr inbounds i8,i8*%id,i64 8
%in=bitcast i8*%im to i8**
%io=load i8*,i8**%in,align 8
store i8*%io,i8**%d,align 8
%ip=load i8*,i8**%h,align 8
%iq=getelementptr inbounds i8,i8*%ip,i64 8
%ir=bitcast i8*%iq to i8**
%is=load i8*,i8**%ir,align 8
store i8*%is,i8**%e,align 8
%it=call i8*@sml_alloc(i32 inreg 20)#0
%iu=getelementptr inbounds i8,i8*%it,i64 -4
%iv=bitcast i8*%iu to i32*
store i32 1342177296,i32*%iv,align 4
store i8*%it,i8**%f,align 8
%iw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ix=bitcast i8*%it to i8**
store i8*%iw,i8**%ix,align 8
%iy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iz=getelementptr inbounds i8,i8*%it,i64 8
%iA=bitcast i8*%iz to i8**
store i8*%iy,i8**%iA,align 8
%iB=getelementptr inbounds i8,i8*%it,i64 16
%iC=bitcast i8*%iB to i32*
store i32 3,i32*%iC,align 4
%iD=call i8*@sml_alloc(i32 inreg 20)#0
%iE=getelementptr inbounds i8,i8*%iD,i64 -4
%iF=bitcast i8*%iE to i32*
store i32 1342177296,i32*%iF,align 4
%iG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iH=bitcast i8*%iD to i8**
store i8*%iG,i8**%iH,align 8
%iI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
br label%ib
iJ:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%iK=bitcast i8**%h to i8***
%iL=load i8**,i8***%iK,align 8
store i8*null,i8**%h,align 8
%iM=load i8*,i8**%iL,align 8
store i8*%iM,i8**%c,align 8
%iN=call i8*@sml_alloc(i32 inreg 20)#0
%iO=getelementptr inbounds i8,i8*%iN,i64 -4
%iP=bitcast i8*%iO to i32*
store i32 1342177296,i32*%iP,align 4
%iQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iR=bitcast i8*%iN to i8**
store i8*%iQ,i8**%iR,align 8
%iS=getelementptr inbounds i8,i8*%iN,i64 8
%iT=bitcast i8*%iS to i8**
store i8*null,i8**%iT,align 8
%iU=getelementptr inbounds i8,i8*%iN,i64 16
%iV=bitcast i8*%iU to i32*
store i32 3,i32*%iV,align 4
br label%iX
iW:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%h,align 8
br label%iX
iX:
%iY=phi i8*[%g9,%hf],[%ie,%ik],[%iN,%iJ],[%gW,%iW]
store i8*%iY,i8**%c,align 8
%iZ=call i8*@sml_alloc(i32 inreg 28)#0
%i0=getelementptr inbounds i8,i8*%iZ,i64 -4
%i1=bitcast i8*%i0 to i32*
store i32 1342177304,i32*%i1,align 4
%i2=getelementptr inbounds i8,i8*%iZ,i64 12
%i3=bitcast i8*%i2 to i32*
store i32 0,i32*%i3,align 1
%i4=load i8*,i8**%c,align 8
%i5=bitcast i8*%iZ to i8**
store i8*%i4,i8**%i5,align 8
%i6=getelementptr inbounds i8,i8*%iZ,i64 8
%i7=bitcast i8*%i6 to i32*
store i32 0,i32*%i7,align 4
%i8=getelementptr inbounds i8,i8*%iZ,i64 16
%i9=bitcast i8*%i8 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),i8**%i9,align 8
%ja=getelementptr inbounds i8,i8*%iZ,i64 24
%jb=bitcast i8*%ja to i32*
store i32 5,i32*%jb,align 4
%jc=load i8*,i8**%g,align 8
%jd=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%jc,i8*inreg%iZ)
ret i8*%jd
je:
%jf=call i8*@sml_alloc(i32 inreg 20)#0
%jg=getelementptr inbounds i8,i8*%jf,i64 -4
%jh=bitcast i8*%jg to i32*
store i32 1342177296,i32*%jh,align 4
%ji=bitcast i8*%jf to i8**
store i8*null,i8**%ji,align 8
%jj=load i8*,i8**%f,align 8
%jk=getelementptr inbounds i8,i8*%jf,i64 8
%jl=bitcast i8*%jk to i8**
store i8*%jj,i8**%jl,align 8
%jm=getelementptr inbounds i8,i8*%jf,i64 16
%jn=bitcast i8*%jm to i32*
store i32 3,i32*%jn,align 4
%jo=load i8*,i8**%h,align 8
%jp=getelementptr inbounds i8,i8*%jo,i64 40
%jq=bitcast i8*%jp to i8**
%jr=load i8*,i8**%jq,align 8
store i8*%jr,i8**%f,align 8
br label%js
js:
%jt=phi i8*[%jj,%je],[%j9,%jM]
%ju=phi i8*[null,%je],[%j7,%jM]
store i8*%ju,i8**%c,align 8
%jv=icmp eq i8*%jt,null
br i1%jv,label%jw,label%jM
jw:
store i8*null,i8**%h,align 8
%jx=call i8*@sml_alloc(i32 inreg 28)#0
%jy=getelementptr inbounds i8,i8*%jx,i64 -4
%jz=bitcast i8*%jy to i32*
store i32 1342177304,i32*%jz,align 4
%jA=getelementptr inbounds i8,i8*%jx,i64 12
%jB=bitcast i8*%jA to i32*
store i32 0,i32*%jB,align 1
%jC=load i8*,i8**%c,align 8
%jD=bitcast i8*%jx to i8**
store i8*%jC,i8**%jD,align 8
%jE=getelementptr inbounds i8,i8*%jx,i64 8
%jF=bitcast i8*%jE to i32*
store i32 0,i32*%jF,align 4
%jG=getelementptr inbounds i8,i8*%jx,i64 16
%jH=bitcast i8*%jG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),i8**%jH,align 8
%jI=getelementptr inbounds i8,i8*%jx,i64 24
%jJ=bitcast i8*%jI to i32*
store i32 5,i32*%jJ,align 4
%jK=load i8*,i8**%f,align 8
%jL=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%jK,i8*inreg%jx)
ret i8*%jL
jM:
%jN=getelementptr inbounds i8,i8*%jt,i64 8
%jO=bitcast i8*%jN to i8**
%jP=load i8*,i8**%jO,align 8
store i8*%jP,i8**%d,align 8
%jQ=load i8*,i8**%h,align 8
%jR=getelementptr inbounds i8,i8*%jQ,i64 8
%jS=bitcast i8*%jR to i8**
%jT=load i8*,i8**%jS,align 8
store i8*%jT,i8**%e,align 8
%jU=call i8*@sml_alloc(i32 inreg 20)#0
%jV=getelementptr inbounds i8,i8*%jU,i64 -4
%jW=bitcast i8*%jV to i32*
store i32 1342177296,i32*%jW,align 4
store i8*%jU,i8**%g,align 8
%jX=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jY=bitcast i8*%jU to i8**
store i8*%jX,i8**%jY,align 8
%jZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%j0=getelementptr inbounds i8,i8*%jU,i64 8
%j1=bitcast i8*%j0 to i8**
store i8*%jZ,i8**%j1,align 8
%j2=getelementptr inbounds i8,i8*%jU,i64 16
%j3=bitcast i8*%j2 to i32*
store i32 3,i32*%j3,align 4
%j4=call i8*@sml_alloc(i32 inreg 20)#0
%j5=getelementptr inbounds i8,i8*%j4,i64 -4
%j6=bitcast i8*%j5 to i32*
store i32 1342177296,i32*%j6,align 4
%j7=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%j8=bitcast i8*%j4 to i8**
store i8*%j7,i8**%j8,align 8
%j9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ka=getelementptr inbounds i8,i8*%j4,i64 8
%kb=bitcast i8*%ka to i8**
store i8*%j9,i8**%kb,align 8
%kc=getelementptr inbounds i8,i8*%j4,i64 16
%kd=bitcast i8*%kc to i32*
store i32 3,i32*%kd,align 4
br label%js
ke:
store i8*null,i8**%d,align 8
%kf=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kg=getelementptr inbounds i8,i8*%kf,i64 32
%kh=bitcast i8*%kg to i8**
%ki=load i8*,i8**%kh,align 8
store i8*%ki,i8**%c,align 8
%kj=call i8*@sml_alloc(i32 inreg 20)#0
%kk=getelementptr inbounds i8,i8*%kj,i64 -4
%kl=bitcast i8*%kk to i32*
store i32 1342177296,i32*%kl,align 4
store i8*%kj,i8**%d,align 8
%km=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kn=bitcast i8*%kj to i8**
store i8*%km,i8**%kn,align 8
%ko=getelementptr inbounds i8,i8*%kj,i64 8
%kp=bitcast i8*%ko to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@r,i64 0,i32 2,i64 0),i8**%kp,align 8
%kq=getelementptr inbounds i8,i8*%kj,i64 16
%kr=bitcast i8*%kq to i32*
store i32 3,i32*%kr,align 4
%ks=call i8*@sml_alloc(i32 inreg 60)#0
%kt=getelementptr inbounds i8,i8*%ks,i64 -4
%ku=bitcast i8*%kt to i32*
store i32 1342177336,i32*%ku,align 4
%kv=getelementptr inbounds i8,i8*%ks,i64 56
%kw=bitcast i8*%kv to i32*
store i32 1,i32*%kw,align 4
%kx=load i8*,i8**%d,align 8
%ky=bitcast i8*%ks to i8**
store i8*%kx,i8**%ky,align 8
call void@sml_raise(i8*inreg%ks)#1
unreachable
}
define internal fastcc i32@_SMLLL6fields_267(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL6isRoot_270(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 i32*
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i32**
%m=load i32*,i32**%l,align 8
br label%n
n:
%o=phi i32*[%m,%k],[%j,%i]
%p=getelementptr inbounds i32,i32*%o,i64 -1
%q=load i32,i32*%p,align 4
%r=and i32%q,268435455
%s=icmp eq i32%r,1
br i1%s,label%bd,label%t
t:
%u=load i8*,i8**%e,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=load i8,i8*%v,align 1
%x=call i8*@sml_alloc(i32 inreg 12)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177288,i32*%z,align 4
store i8*%x,i8**%d,align 8
store i8%w,i8*%x,align 1
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_267 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_318 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
%N=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%C)
store i8*%N,i8**%d,align 8
%O=bitcast i8**%e to i8***
%P=load i8**,i8***%O,align 8
%Q=load i8*,i8**%P,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
store i8*null,i8**%e,align 8
%U=bitcast i8**%P to i8***
%V=load i8**,i8***%U,align 8
%W=load i8*,i8**%V,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%T(i8*inreg%W,i8*inreg%X)
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=getelementptr inbounds i8,i8*%Y,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ad)
store i8*%ah,i8**%e,align 8
%ai=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ap=call fastcc i8*%al(i8*inreg%an,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
store i8*%au,i8**%f,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
store i8*null,i8**%d,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
%aD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aE=call fastcc i8*%as(i8*inreg%aD,i8*inreg%aC)
store i8*%aE,i8**%c,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177304,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 12
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i32*
store i32%aa,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aF,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aF,i64 24
%aS=bitcast i8*%aR to i32*
store i32 5,i32*%aS,align 4
%aT=icmp eq i8*%aK,null
br i1%aT,label%bd,label%aU
aU:
%aV=bitcast i8*%aK to i32**
%aW=load i32*,i32**%aV,align 8
%aX=getelementptr inbounds i32,i32*%aW,i64 -1
%aY=load i32,i32*%aX,align 4
%aZ=and i32%aY,268435455
%a0=icmp eq i32%aZ,1
br i1%a0,label%a1,label%bd
a1:
%a2=getelementptr inbounds i8,i8*%aK,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
%a5=icmp eq i8*%a4,null
br i1%a5,label%a6,label%bd
a6:
%a7=getelementptr inbounds i8,i8*%aF,i64 8
%a8=bitcast i8*%a7 to i32*
%a9=load i32,i32*%a8,align 4
%ba=icmp eq i32%a9,0
br i1%ba,label%bd,label%bb
bb:
%bc=phi i32[1,%a6],[0,%bd]
ret i32%bc
bd:
br label%bb
}
define internal fastcc i32@_SMLLL6fields_271(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLL6fields_274(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL6concat_280(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
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%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=bitcast i8*%n to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%n,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%q,i64 -4
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=and i32%w,268435455
%y=icmp eq i32%x,1
br i1%y,label%z,label%B
z:
%A=bitcast i8*%t to i32*
br label%a3
B:
%C=load i8*,i8**%g,align 8
%D=getelementptr inbounds i8,i8*%C,i64 32
%E=load i8,i8*%D,align 1
%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**%e,align 8
store i8%E,i8*%F,align 1
%I=getelementptr inbounds i8,i8*%F,i64 8
%J=bitcast i8*%I to i32*
store i32 0,i32*%J,align 4
%K=call i8*@sml_alloc(i32 inreg 28)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177304,i32*%M,align 4
%N=load i8*,i8**%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 void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_271 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_320 to void(...)*),void(...)**%S,align 8
%T=getelementptr inbounds i8,i8*%K,i64 24
%U=bitcast i8*%T to i32*
store i32 -2147483647,i32*%U,align 4
%V=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%K)
store i8*%V,i8**%e,align 8
%W=load i8*,i8**%g,align 8
%X=getelementptr inbounds i8,i8*%W,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=call fastcc i8*%ac(i8*inreg%ae,i8*inreg%af)
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
%aj=getelementptr inbounds i8,i8*%ag,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 16
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%c,align 8
%ap=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%al)
store i8*%ap,i8**%f,align 8
%aq=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ar=getelementptr inbounds i8,i8*%aq,i64 16
%as=bitcast i8*%ar to i8*(i8*,i8*)**
%at=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%as,align 8
%au=bitcast i8*%aq to i8**
%av=load i8*,i8**%au,align 8
%aw=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ax=call fastcc i8*%at(i8*inreg%av,i8*inreg%aw)
%ay=getelementptr inbounds i8,i8*%ax,i64 16
%az=bitcast i8*%ay to i8*(i8*,i8*)**
%aA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%az,align 8
%aB=bitcast i8*%ax to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%h,align 8
%aD=load i8*,i8**%e,align 8
%aE=getelementptr inbounds i8,i8*%aD,i64 16
%aF=bitcast i8*%aE to i8*(i8*,i8*)**
%aG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aF,align 8
store i8*null,i8**%e,align 8
%aH=bitcast i8*%aD to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aK=call fastcc i8*%aG(i8*inreg%aI,i8*inreg%aJ)
%aL=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aM=call fastcc i8*%aA(i8*inreg%aL,i8*inreg%aK)
store i8*%aM,i8**%c,align 8
%aN=call i8*@sml_alloc(i32 inreg 28)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177304,i32*%aP,align 4
%aQ=getelementptr inbounds i8,i8*%aN,i64 12
%aR=bitcast i8*%aQ to i32*
store i32 0,i32*%aR,align 1
%aS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aT=bitcast i8*%aN to i8**
store i8*%aS,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aN,i64 8
%aV=bitcast i8*%aU to i32*
store i32%ai,i32*%aV,align 4
%aW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aX=getelementptr inbounds i8,i8*%aN,i64 16
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aN,i64 24
%a0=bitcast i8*%aZ to i32*
store i32 5,i32*%a0,align 4
%a1=bitcast i8**%d to i32**
%a2=load i32*,i32**%a1,align 8
br label%a3
a3:
%a4=phi i32*[%a2,%B],[%A,%z]
%a5=phi i8*[%aN,%B],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>*@x,i64 0,i32 2)to i8*),%z]
store i8*%a5,i8**%c,align 8
%a6=getelementptr inbounds i32,i32*%a4,i64 -1
%a7=load i32,i32*%a6,align 4
%a8=and i32%a7,268435455
%a9=icmp eq i32%a8,1
br i1%a9,label%ba,label%bc
ba:
%bb=bitcast i8*%a5 to i8**
br label%cv
bc:
%bd=load i8*,i8**%g,align 8
%be=getelementptr inbounds i8,i8*%bd,i64 32
%bf=load i8,i8*%be,align 1
%bg=call i8*@sml_alloc(i32 inreg 12)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177288,i32*%bi,align 4
store i8*%bg,i8**%e,align 8
store i8%bf,i8*%bg,align 1
%bj=getelementptr inbounds i8,i8*%bg,i64 8
%bk=bitcast i8*%bj to i32*
store i32 0,i32*%bk,align 4
%bl=call i8*@sml_alloc(i32 inreg 28)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177304,i32*%bn,align 4
%bo=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bl,i64 8
%br=bitcast i8*%bq to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_274 to void(...)*),void(...)**%br,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 16
%bt=bitcast i8*%bs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_321 to void(...)*),void(...)**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 24
%bv=bitcast i8*%bu to i32*
store i32 -2147483647,i32*%bv,align 4
%bw=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%bl)
store i8*%bw,i8**%e,align 8
%bx=load i8*,i8**%g,align 8
%by=getelementptr inbounds i8,i8*%bx,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,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
%bG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bH=call fastcc i8*%bD(i8*inreg%bF,i8*inreg%bG)
%bI=bitcast i8*%bH to i32*
%bJ=load i32,i32*%bI,align 4
%bK=getelementptr inbounds i8,i8*%bH,i64 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
%bN=getelementptr inbounds i8,i8*%bH,i64 16
%bO=bitcast i8*%bN to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%d,align 8
%bQ=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%bM)
store i8*%bQ,i8**%f,align 8
%bR=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bS=getelementptr inbounds i8,i8*%bR,i64 16
%bT=bitcast i8*%bS to i8*(i8*,i8*)**
%bU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bT,align 8
%bV=bitcast i8*%bR to i8**
%bW=load i8*,i8**%bV,align 8
%bX=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%bY=call fastcc i8*%bU(i8*inreg%bW,i8*inreg%bX)
%bZ=getelementptr inbounds i8,i8*%bY,i64 16
%b0=bitcast i8*%bZ to i8*(i8*,i8*)**
%b1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b0,align 8
%b2=bitcast i8*%bY to i8**
%b3=load i8*,i8**%b2,align 8
store i8*%b3,i8**%h,align 8
%b4=load i8*,i8**%e,align 8
%b5=getelementptr inbounds i8,i8*%b4,i64 16
%b6=bitcast i8*%b5 to i8*(i8*,i8*)**
%b7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b6,align 8
store i8*null,i8**%e,align 8
%b8=bitcast i8*%b4 to i8**
%b9=load i8*,i8**%b8,align 8
%ca=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cb=call fastcc i8*%b7(i8*inreg%b9,i8*inreg%ca)
%cc=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cd=call fastcc i8*%b1(i8*inreg%cc,i8*inreg%cb)
store i8*%cd,i8**%d,align 8
%ce=call i8*@sml_alloc(i32 inreg 28)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177304,i32*%cg,align 4
%ch=getelementptr inbounds i8,i8*%ce,i64 12
%ci=bitcast i8*%ch to i32*
store i32 0,i32*%ci,align 1
%cj=load i8*,i8**%d,align 8
%ck=bitcast i8*%ce to i8**
store i8*%cj,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%ce,i64 8
%cm=bitcast i8*%cl to i32*
store i32%bJ,i32*%cm,align 4
%cn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%co=getelementptr inbounds i8,i8*%ce,i64 16
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%ce,i64 24
%cr=bitcast i8*%cq to i32*
store i32 5,i32*%cr,align 4
%cs=bitcast i8**%c to i8***
%ct=load i8**,i8***%cs,align 8
%cu=icmp eq i32%bJ,0
br label%cv
cv:
%cw=phi i1[%cu,%bc],[true,%ba]
%cx=phi i8*[%cj,%bc],[null,%ba]
%cy=phi i8**[%ct,%bc],[%bb,%ba]
%cz=phi i8*[%ce,%bc],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>*@x,i64 0,i32 2)to i8*),%ba]
%cA=load i8*,i8**%cy,align 8
store i8*%cA,i8**%d,align 8
%cB=getelementptr inbounds i8*,i8**%cy,i64 1
%cC=bitcast i8**%cB to i32*
%cD=load i32,i32*%cC,align 4
%cE=getelementptr inbounds i8*,i8**%cy,i64 2
%cF=load i8*,i8**%cE,align 8
store i8*%cF,i8**%c,align 8
store i8*%cx,i8**%e,align 8
br i1%cw,label%c1,label%cG
cG:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%cH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cI=getelementptr inbounds i8,i8*%cH,i64 16
%cJ=bitcast i8*%cI to i8**
%cK=load i8*,i8**%cJ,align 8
store i8*%cK,i8**%c,align 8
%cL=call i8*@sml_alloc(i32 inreg 20)#0
%cM=getelementptr inbounds i8,i8*%cL,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177296,i32*%cN,align 4
store i8*%cL,i8**%d,align 8
%cO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cP=bitcast i8*%cL to i8**
store i8*%cO,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cL,i64 8
%cR=bitcast i8*%cQ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@u,i64 0,i32 2,i64 0),i8**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cL,i64 16
%cT=bitcast i8*%cS to i32*
store i32 3,i32*%cT,align 4
%cU=call i8*@sml_alloc(i32 inreg 60)#0
%cV=getelementptr inbounds i8,i8*%cU,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177336,i32*%cW,align 4
%cX=getelementptr inbounds i8,i8*%cU,i64 56
%cY=bitcast i8*%cX to i32*
store i32 1,i32*%cY,align 4
%cZ=load i8*,i8**%d,align 8
%c0=bitcast i8*%cU to i8**
store i8*%cZ,i8**%c0,align 8
call void@sml_raise(i8*inreg%cU)#1
unreachable
c1:
%c2=getelementptr inbounds i8,i8*%cz,i64 16
%c3=bitcast i8*%c2 to i8**
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%f,align 8
%c5=bitcast i8**%g to i8***
%c6=load i8**,i8***%c5,align 8
%c7=load i8*,i8**%c6,align 8
%c8=getelementptr inbounds i8,i8*%c7,i64 16
%c9=bitcast i8*%c8 to i8*(i8*,i8*)**
%da=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c9,align 8
%db=bitcast i8*%c7 to i8**
%dc=load i8*,i8**%db,align 8
store i8*%dc,i8**%h,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**%f,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,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,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=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dn=call fastcc i8*%da(i8*inreg%dm,i8*inreg%dd)
%do=bitcast i8*%dn to i32*
%dp=load i32,i32*%do,align 4
%dq=icmp eq i32%dp,0
br i1%dq,label%ds,label%dr
dr:
store i8*null,i8**%f,align 8
br label%dP
ds:
%dt=load i8**,i8***%c5,align 8
%du=load i8*,i8**%dt,align 8
%dv=getelementptr inbounds i8,i8*%du,i64 16
%dw=bitcast i8*%dv to i8*(i8*,i8*)**
%dx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dw,align 8
%dy=bitcast i8*%du to i8**
%dz=load i8*,i8**%dy,align 8
store i8*%dz,i8**%h,align 8
%dA=call i8*@sml_alloc(i32 inreg 20)#0
%dB=getelementptr inbounds i8,i8*%dA,i64 -4
%dC=bitcast i8*%dB to i32*
store i32 1342177296,i32*%dC,align 4
%dD=load i8*,i8**%c,align 8
%dE=bitcast i8*%dA to i8**
store i8*%dD,i8**%dE,align 8
%dF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dG=getelementptr inbounds i8,i8*%dA,i64 8
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dA,i64 16
%dJ=bitcast i8*%dI to i32*
store i32 3,i32*%dJ,align 4
%dK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dL=call fastcc i8*%dx(i8*inreg%dK,i8*inreg%dA)
%dM=bitcast i8*%dL to i32*
%dN=load i32,i32*%dM,align 4
%dO=icmp eq i32%dN,0
br i1%dO,label%el,label%dP
dP:
%dQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dR=getelementptr inbounds i8,i8*%dQ,i64 24
%dS=bitcast i8*%dR to i8**
%dT=load i8*,i8**%dS,align 8
store i8*%dT,i8**%f,align 8
%dU=call i8*@sml_alloc(i32 inreg 20)#0
%dV=getelementptr inbounds i8,i8*%dU,i64 -4
%dW=bitcast i8*%dV to i32*
store i32 1342177296,i32*%dW,align 4
%dX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dY=bitcast i8*%dU to i8**
store i8*%dX,i8**%dY,align 8
%dZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d0=getelementptr inbounds i8,i8*%dU,i64 8
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dU,i64 16
%d3=bitcast i8*%d2 to i32*
store i32 3,i32*%d3,align 4
%d4=call fastcc i8*@_SMLLL10concatArcs_162(i8*inreg%dU)
store i8*%d4,i8**%d,align 8
%d5=call i8*@sml_alloc(i32 inreg 28)#0
%d6=getelementptr inbounds i8,i8*%d5,i64 -4
%d7=bitcast i8*%d6 to i32*
store i32 1342177304,i32*%d7,align 4
%d8=getelementptr inbounds i8,i8*%d5,i64 12
%d9=bitcast i8*%d8 to i32*
store i32 0,i32*%d9,align 1
%ea=load i8*,i8**%d,align 8
%eb=bitcast i8*%d5 to i8**
store i8*%ea,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d5,i64 8
%ed=bitcast i8*%ec to i32*
store i32%cD,i32*%ed,align 4
%ee=load i8*,i8**%c,align 8
%ef=getelementptr inbounds i8,i8*%d5,i64 16
%eg=bitcast i8*%ef to i8**
store i8*%ee,i8**%eg,align 8
%eh=getelementptr inbounds i8,i8*%d5,i64 24
%ei=bitcast i8*%eh to i32*
store i32 5,i32*%ei,align 4
%ej=load i8*,i8**%f,align 8
%ek=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%ej,i8*inreg%d5)
ret i8*%ek
el:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%em=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%en=getelementptr inbounds i8,i8*%em,i64 16
%eo=bitcast i8*%en to i8**
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%c,align 8
%eq=call i8*@sml_alloc(i32 inreg 20)#0
%er=getelementptr inbounds i8,i8*%eq,i64 -4
%es=bitcast i8*%er to i32*
store i32 1342177296,i32*%es,align 4
store i8*%eq,i8**%d,align 8
%et=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eu=bitcast i8*%eq to i8**
store i8*%et,i8**%eu,align 8
%ev=getelementptr inbounds i8,i8*%eq,i64 8
%ew=bitcast i8*%ev to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@t,i64 0,i32 2,i64 0),i8**%ew,align 8
%ex=getelementptr inbounds i8,i8*%eq,i64 16
%ey=bitcast i8*%ex to i32*
store i32 3,i32*%ey,align 4
%ez=call i8*@sml_alloc(i32 inreg 60)#0
%eA=getelementptr inbounds i8,i8*%ez,i64 -4
%eB=bitcast i8*%eA to i32*
store i32 1342177336,i32*%eB,align 4
%eC=getelementptr inbounds i8,i8*%ez,i64 56
%eD=bitcast i8*%eC to i32*
store i32 1,i32*%eD,align 4
%eE=load i8*,i8**%d,align 8
%eF=bitcast i8*%ez to i8**
store i8*%eE,i8**%eF,align 8
call void@sml_raise(i8*inreg%ez)#1
unreachable
}
define internal fastcc i8*@_SMLLL2tr_282(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**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
%l=getelementptr inbounds i8,i8*%j,i64 -4
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=trunc i32%n to i28
switch i28%o,label%I[
i28 2,label%B
i28 3,label%p
]
p:
%q=load i8,i8*%j,align 1
%r=icmp eq i8%q,46
br i1%r,label%s,label%I
s:
%t=getelementptr inbounds i8,i8*%j,i64 1
%u=load i8,i8*%t,align 1
%v=icmp eq i8%u,46
br i1%v,label%w,label%I
w:
%x=load i8*,i8**%d,align 8
%y=getelementptr inbounds i8,i8*%x,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
ret i8*%A
B:
%C=load i8,i8*%j,align 1
%D=icmp eq i8%C,46
br i1%D,label%E,label%I
E:
%F=bitcast i8**%d to i8***
%G=load i8**,i8***%F,align 8
%H=load i8*,i8**%G,align 8
ret i8*%H
I:
%J=load i8*,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*%P(i8*inreg%R,i8*inreg%j)
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=icmp eq i32%U,0
br i1%V,label%Y,label%W
W:
%X=load i8*,i8**%c,align 8
ret i8*%X
Y:
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%Z,i64 24
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%c,align 8
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
store i8*%ad,i8**%d,align 8
%ag=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ad,i64 8
%aj=bitcast i8*%ai to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[46x i8]}>,<{[4x i8],i32,[46x i8]}>*@v,i64 0,i32 2,i64 0),i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 16
%al=bitcast i8*%ak to i32*
store i32 3,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 60)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177336,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%am,i64 56
%aq=bitcast i8*%ap to i32*
store i32 1,i32*%aq,align 4
%ar=load i8*,i8**%d,align 8
%as=bitcast i8*%am to i8**
store i8*%ar,i8**%as,align 8
call void@sml_raise(i8*inreg%am)#1
unreachable
}
define internal fastcc i32@_SMLLL12fromUnixPath_283(i8 inreg%a)#4 gc"smlsharp"{
%b=icmp eq i8%a,47
%c=zext i1%b to i32
ret i32%c
}
define internal fastcc i8*@_SMLLL12fromUnixPath_287(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
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**%d,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%l,label%n
l:
%m=bitcast i8*%a to i8**
br label%r
n:
call void@sml_check(i32 inreg%j)
%o=bitcast i8**%d to i8***
%p=load i8**,i8***%o,align 8
%q=bitcast i8**%p to i8*
br label%r
r:
%s=phi i8*[%q,%n],[%a,%l]
%t=phi i8**[%p,%n],[%m,%l]
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=getelementptr inbounds i8*,i8**%t,i64 1
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%f,align 8
%x=getelementptr inbounds i8*,i8**%t,i64 2
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%g,align 8
%z=getelementptr inbounds i8,i8*%s,i64 24
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%h,align 8
%C=call i8*@sml_alloc(i32 inreg 36)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177312,i32*%E,align 4
store i8*%C,i8**%i,align 8
%F=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%O=getelementptr inbounds i8,i8*%C,i64 24
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%C,i64 32
%R=bitcast i8*%Q to i32*
store i32 15,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
store i8*%S,i8**%e,align 8
%V=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%S,i64 8
%Y=bitcast i8*%X to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL2tr_282 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL2tr_282 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 24
%ac=bitcast i8*%ab to i32*
store i32 -2147483647,i32*%ac,align 4
%ad=call fastcc i8*@_SMLFN6String6fieldsE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*))
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=call fastcc i8*%ag(i8*inreg%ai,i8*inreg%aj)
%al=load i8*,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%al,i64 32
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%d,align 8
%ap=icmp eq i8*%ak,null
br i1%ap,label%aV,label%aq
aq:
%ar=bitcast i8*%ak to i32**
%as=load i32*,i32**%ar,align 8
%at=getelementptr inbounds i32,i32*%as,i64 -1
%au=load i32,i32*%at,align 4
%av=and i32%au,268435455
%aw=icmp eq i32%av,1
br i1%aw,label%ax,label%aV
ax:
%ay=getelementptr inbounds i8,i8*%ak,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%c,align 8
%aB=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aC=getelementptr inbounds i8,i8*%aB,i64 16
%aD=bitcast i8*%aC to i8*(i8*,i8*)**
%aE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aD,align 8
%aF=bitcast i8*%aB to i8**
%aG=load i8*,i8**%aF,align 8
%aH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aI=call fastcc i8*%aE(i8*inreg%aG,i8*inreg%aH)
%aJ=getelementptr inbounds i8,i8*%aI,i64 16
%aK=bitcast i8*%aJ to i8*(i8*,i8*)**
%aL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aK,align 8
%aM=bitcast i8*%aI to i8**
%aN=load i8*,i8**%aM,align 8
%aO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aP=call fastcc i8*%aL(i8*inreg%aN,i8*inreg%aO)
store i8*%aP,i8**%c,align 8
%aQ=call i8*@sml_alloc(i32 inreg 28)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177304,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aQ,i64 12
%aU=bitcast i8*%aT to i32*
store i32 0,i32*%aU,align 1
br label%bg
aV:
store i8*%ak,i8**%c,align 8
%aW=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 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
%a0=bitcast i8*%aW to i8**
%a1=load i8*,i8**%a0,align 8
%a2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a3=call fastcc i8*%aZ(i8*inreg%a1,i8*inreg%a2)
%a4=getelementptr inbounds i8,i8*%a3,i64 16
%a5=bitcast i8*%a4 to i8*(i8*,i8*)**
%a6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a5,align 8
%a7=bitcast i8*%a3 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ba=call fastcc i8*%a6(i8*inreg%a8,i8*inreg%a9)
store i8*%ba,i8**%c,align 8
%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
%be=getelementptr inbounds i8,i8*%bb,i64 12
%bf=bitcast i8*%be to i32*
store i32 0,i32*%bf,align 1
br label%bg
bg:
%bh=phi i8*[%bb,%aV],[%aQ,%ax]
%bi=phi i32[0,%aV],[1,%ax]
%bj=load i8*,i8**%c,align 8
%bk=bitcast i8*%bh to i8**
store i8*%bj,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bh,i64 8
%bm=bitcast i8*%bl to i32*
store i32%bi,i32*%bm,align 4
%bn=getelementptr inbounds i8,i8*%bh,i64 16
%bo=bitcast i8*%bn to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bh,i64 24
%bq=bitcast i8*%bp to i32*
store i32 5,i32*%bq,align 4
%br=load i8*,i8**%d,align 8
%bs=tail call fastcc i8*@_SMLLL8toString_177(i8*inreg%br,i8*inreg%bh)
ret i8*%bs
}
define internal fastcc i32@_SMLLL6fields_288(i8*inreg%a,i8 inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%a,align 1
%d=icmp eq i8%c,%b
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLL10toUnixPath_294(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%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 i32*
br label%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c to i32**
%n=load i32*,i32**%m,align 8
br label%o
o:
%p=phi i32*[%n,%l],[%k,%j]
%q=getelementptr inbounds i32,i32*%p,i64 -1
%r=load i32,i32*%q,align 4
%s=and i32%r,268435455
%t=icmp eq i32%s,1
br i1%t,label%aT,label%u
u:
%v=load i8*,i8**%f,align 8
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=load i8,i8*%w,align 1
%y=call i8*@sml_alloc(i32 inreg 12)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177288,i32*%A,align 4
store i8*%y,i8**%d,align 8
store i8%x,i8*%y,align 1
%B=getelementptr inbounds i8,i8*%y,i64 8
%C=bitcast i8*%B to i32*
store i32 0,i32*%C,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
%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=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i32(i8*,i8)*@_SMLLL6fields_288 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6fields_323 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%D,i64 24
%N=bitcast i8*%M to i32*
store i32 -2147483647,i32*%N,align 4
%O=call fastcc i8*@_SMLFN9Substring6fieldsE(i8*inreg%D)
store i8*%O,i8**%d,align 8
%P=bitcast i8**%f to i8***
%Q=load i8**,i8***%P,align 8
%R=load i8*,i8**%Q,align 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
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%U(i8*inreg%W,i8*inreg%X)
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=getelementptr inbounds i8,i8*%Y,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 16
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ad)
store i8*%ah,i8**%e,align 8
%ai=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**@_SMLZN9Substring6stringE,align 8
%ap=call fastcc i8*%al(i8*inreg%an,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
store i8*%au,i8**%g,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
store i8*null,i8**%d,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
%aD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aE=call fastcc i8*%as(i8*inreg%aD,i8*inreg%aC)
store i8*%aE,i8**%c,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177304,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 12
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i32*
store i32%aa,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aP=getelementptr inbounds i8,i8*%aF,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aF,i64 24
%aS=bitcast i8*%aR to i32*
store i32 5,i32*%aS,align 4
br label%aT
aT:
%aU=phi i8*[%aK,%u],[null,%o]
%aV=phi i8*[%aF,%u],[bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i8*,i32}>*@x,i64 0,i32 2)to i8*),%o]
store i8*%aU,i8**%c,align 8
%aW=getelementptr inbounds i8,i8*%aV,i64 16
%aX=bitcast i8*%aW to i32**
%aY=load i32*,i32**%aX,align 8
%aZ=getelementptr inbounds i32,i32*%aY,i64 -1
%a0=load i32,i32*%aZ,align 4
%a1=and i32%a0,268435455
%a2=icmp eq i32%a1,1
br i1%a2,label%a3,label%bv
a3:
%a4=getelementptr inbounds i8,i8*%aV,i64 8
%a5=bitcast i8*%a4 to i32*
%a6=load i32,i32*%a5,align 4
store i8*null,i8**%f,align 8
%a7=call fastcc i8*@_SMLFN6String10concatWithE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@z,i64 0,i32 2,i64 0))
%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**%d,align 8
%bd=icmp eq i32%a6,0
br i1%bd,label%bp,label%be
be:
%bf=call i8*@sml_alloc(i32 inreg 20)#0
%bg=getelementptr inbounds i8,i8*%bf,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177296,i32*%bh,align 4
%bi=bitcast i8*%bf to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@A,i64 0,i32 2,i64 0),i8**%bi,align 8
%bj=load i8*,i8**%c,align 8
%bk=getelementptr inbounds i8,i8*%bf,i64 8
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bf,i64 16
%bn=bitcast i8*%bm to i32*
store i32 3,i32*%bn,align 4
%bo=load i8*,i8**%d,align 8
br label%br
bp:
%bq=load i8*,i8**%c,align 8
br label%br
br:
%bs=phi i8*[%bo,%be],[%bc,%bp]
%bt=phi i8*[%bf,%be],[%bq,%bp]
%bu=tail call fastcc i8*%ba(i8*inreg%bs,i8*inreg%bt)
ret i8*%bu
bv:
%bw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bx=getelementptr inbounds i8,i8*%bw,i64 8
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
store i8*%bz,i8**%c,align 8
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177296,i32*%bC,align 4
store i8*%bA,i8**%d,align 8
%bD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bE=bitcast i8*%bA to i8**
store i8*%bD,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bA,i64 8
%bG=bitcast i8*%bF to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[47x i8]}>,<{[4x i8],i32,[47x i8]}>*@y,i64 0,i32 2,i64 0),i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 16
%bI=bitcast i8*%bH to i32*
store i32 3,i32*%bI,align 4
%bJ=call i8*@sml_alloc(i32 inreg 60)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177336,i32*%bL,align 4
%bM=getelementptr inbounds i8,i8*%bJ,i64 56
%bN=bitcast i8*%bM to i32*
store i32 1,i32*%bN,align 4
%bO=load i8*,i8**%d,align 8
%bP=bitcast i8*%bJ to i8**
store i8*%bO,i8**%bP,align 8
call void@sml_raise(i8*inreg%bJ)#1
unreachable
}
define fastcc i8*@_SMLFN1__24SMLSharp__SMLNJ__OS__PathFnE(i8 inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e,i8*inreg%f,i8*inreg%g,i8*inreg%h,i8*inreg%i,i8*inreg%j)#2 gc"smlsharp"{
%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
%K=alloca i8*,align 8
%L=alloca i8*,align 8
%M=alloca i8*,align 8
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
call void@llvm.gcroot(i8**%K,i8*null)#0
call void@llvm.gcroot(i8**%L,i8*null)#0
call void@llvm.gcroot(i8**%M,i8*null)#0
store i8*%b,i8**%k,align 8
store i8*%c,i8**%l,align 8
store i8*%d,i8**%m,align 8
store i8*%e,i8**%n,align 8
store i8*%f,i8**%o,align 8
store i8*%g,i8**%p,align 8
store i8*%h,i8**%q,align 8
store i8*%i,i8**%r,align 8
store i8*%j,i8**%s,align 8
%N=load atomic i32,i32*@sml_check_flag unordered,align 4
%O=icmp eq i32%N,0
br i1%O,label%Q,label%P
P:
call void@sml_check(i32 inreg%N)
br label%Q
Q:
%R=call i8*@sml_alloc(i32 inreg 8)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 268435464,i32*%T,align 4
store i8*%R,i8**%u,align 8
%U=bitcast i8*%R to i64*
store i64 0,i64*%U,align 1
%V=bitcast i8*%R to i8**
call void@sml_write(i8*inreg%R,i8**inreg%V,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i64 0,i32 2)to i8*))#0
%W=call fastcc i8*@_SMLFN6String3strE(i8 inreg%a)
store i8*%W,i8**%t,align 8
%X=call i8*@sml_alloc(i32 inreg 12)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177288,i32*%Z,align 4
store i8*%X,i8**%v,align 8
%aa=load i8*,i8**%r,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=call i8*@sml_alloc(i32 inreg 28)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177304,i32*%ag,align 4
store i8*%ae,i8**%w,align 8
%ah=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ae,i64 8
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL11validVolume_164 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 16
%am=bitcast i8*%al to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11validVolume_298 to void(...)*),void(...)**%am,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 24
%ao=bitcast i8*%an to i32*
store i32 -2147483647,i32*%ao,align 4
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%v,align 8
%as=load i8*,i8**%p,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
store i8%a,i8*%au,align 1
%av=getelementptr inbounds i8,i8*%ap,i64 16
%aw=bitcast i8*%av to i32*
store i32 1,i32*%aw,align 4
%ax=call i8*@sml_alloc(i32 inreg 28)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177304,i32*%az,align 4
store i8*%ax,i8**%x,align 8
%aA=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%aB=bitcast i8*%ax to i8**
store i8*%aA,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%ax,i64 8
%aD=bitcast i8*%aC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10fromString_168 to void(...)*),void(...)**%aD,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 16
%aF=bitcast i8*%aE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10fromString_168 to void(...)*),void(...)**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ax,i64 24
%aH=bitcast i8*%aG to i32*
store i32 -2147483647,i32*%aH,align 4
%aI=call i8*@sml_alloc(i32 inreg 52)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177328,i32*%aK,align 4
store i8*%aI,i8**%v,align 8
%aL=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%q,align 8
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%aR=getelementptr inbounds i8,i8*%aI,i64 16
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=load i8*,i8**%s,align 8
%aU=getelementptr inbounds i8,i8*%aI,i64 24
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=load i8*,i8**%u,align 8
%aX=getelementptr inbounds i8,i8*%aI,i64 32
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%a0=getelementptr inbounds i8,i8*%aI,i64 40
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aI,i64 48
%a3=bitcast i8*%a2 to i32*
store i32 63,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 28)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177304,i32*%a6,align 4
store i8*%a4,i8**%m,align 8
%a7=load i8*,i8**%v,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8toString_177 to void(...)*),void(...)**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8toString_177 to void(...)*),void(...)**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a4,i64 24
%be=bitcast i8*%bd to i32*
store i32 -2147483647,i32*%be,align 4
%bf=call i8*@sml_alloc(i32 inreg 20)#0
%bg=getelementptr inbounds i8,i8*%bf,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177296,i32*%bh,align 4
store i8*%bf,i8**%r,align 8
%bi=load i8*,i8**%p,align 8
%bj=bitcast i8*%bf to i8**
store i8*%bi,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bf,i64 8
store i8%a,i8*%bk,align 1
%bl=getelementptr inbounds i8,i8*%bf,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
store i8*%bn,i8**%t,align 8
%bq=load i8*,i8**%r,align 8
store i8*null,i8**%r,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*)*@_SMLLL9getVolume_181 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*)*@_SMLLL9getVolume_181 to void(...)*),void(...)**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bn,i64 24
%bx=bitcast i8*%bw to i32*
store i32 -2147483647,i32*%bx,align 4
%by=call i8*@sml_alloc(i32 inreg 52)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177328,i32*%bA,align 4
store i8*%by,i8**%r,align 8
%bB=load i8*,i8**%k,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=load i8*,i8**%l,align 8
%bE=getelementptr inbounds i8,i8*%by,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=load i8*,i8**%n,align 8
%bH=getelementptr inbounds i8,i8*%by,i64 16
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=load i8*,i8**%p,align 8
%bK=getelementptr inbounds i8,i8*%by,i64 24
%bL=bitcast i8*%bK to i8**
store i8*%bJ,i8**%bL,align 8
%bM=load i8*,i8**%v,align 8
%bN=getelementptr inbounds i8,i8*%by,i64 32
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%by,i64 40
store i8%a,i8*%bP,align 1
%bQ=getelementptr inbounds i8,i8*%by,i64 48
%bR=bitcast i8*%bQ to i32*
store i32 31,i32*%bR,align 4
%bS=call i8*@sml_alloc(i32 inreg 28)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177304,i32*%bU,align 4
store i8*%bS,i8**%y,align 8
%bV=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bS,i64 8
%bY=bitcast i8*%bX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9getParent_186 to void(...)*),void(...)**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bS,i64 16
%b0=bitcast i8*%bZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9getParent_186 to void(...)*),void(...)**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bS,i64 24
%b2=bitcast i8*%b1 to i32*
store i32 -2147483647,i32*%b2,align 4
%b3=call i8*@sml_alloc(i32 inreg 28)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177304,i32*%b5,align 4
store i8*%b3,i8**%r,align 8
%b6=load i8*,i8**%p,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=load i8*,i8**%v,align 8
%b9=getelementptr inbounds i8,i8*%b3,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b3,i64 16
store i8%a,i8*%cb,align 1
%cc=getelementptr inbounds i8,i8*%b3,i64 24
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
%ce=call i8*@sml_alloc(i32 inreg 28)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177304,i32*%cg,align 4
store i8*%ce,i8**%z,align 8
%ch=load i8*,i8**%r,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ce,i64 8
%ck=bitcast i8*%cj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12splitDirFile_196 to void(...)*),void(...)**%ck,align 8
%cl=getelementptr inbounds i8,i8*%ce,i64 16
%cm=bitcast i8*%cl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12splitDirFile_196 to void(...)*),void(...)**%cm,align 8
%cn=getelementptr inbounds i8,i8*%ce,i64 24
%co=bitcast i8*%cn to i32*
store i32 -2147483647,i32*%co,align 4
%cp=call i8*@sml_alloc(i32 inreg 44)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177320,i32*%cr,align 4
store i8*%cp,i8**%A,align 8
%cs=load i8*,i8**%p,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
%cu=load i8*,i8**%q,align 8
%cv=getelementptr inbounds i8,i8*%cp,i64 8
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=load i8*,i8**%u,align 8
%cy=getelementptr inbounds i8,i8*%cp,i64 16
%cz=bitcast i8*%cy to i8**
store i8*%cx,i8**%cz,align 8
%cA=load i8*,i8**%v,align 8
%cB=getelementptr inbounds i8,i8*%cp,i64 24
%cC=bitcast i8*%cB to i8**
store i8*%cA,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cp,i64 32
store i8%a,i8*%cD,align 1
%cE=getelementptr inbounds i8,i8*%cp,i64 40
%cF=bitcast i8*%cE to i32*
store i32 15,i32*%cF,align 4
%cG=call i8*@sml_alloc(i32 inreg 28)#0
%cH=getelementptr inbounds i8,i8*%cG,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 1342177304,i32*%cI,align 4
store i8*%cG,i8**%B,align 8
%cJ=load i8*,i8**%A,align 8
%cK=bitcast i8*%cG to i8**
store i8*%cJ,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cG,i64 8
%cM=bitcast i8*%cL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11joinDirFile_202 to void(...)*),void(...)**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cG,i64 16
%cO=bitcast i8*%cN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11joinDirFile_202 to void(...)*),void(...)**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cG,i64 24
%cQ=bitcast i8*%cP to i32*
store i32 -2147483647,i32*%cQ,align 4
%cR=call i8*@sml_alloc(i32 inreg 12)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32 1342177288,i32*%cT,align 4
store i8*%cR,i8**%C,align 8
%cU=load i8*,i8**%r,align 8
%cV=bitcast i8*%cR to i8**
store i8*%cU,i8**%cV,align 8
%cW=getelementptr inbounds i8,i8*%cR,i64 8
%cX=bitcast i8*%cW to i32*
store i32 1,i32*%cX,align 4
%cY=call i8*@sml_alloc(i32 inreg 28)#0
%cZ=getelementptr inbounds i8,i8*%cY,i64 -4
%c0=bitcast i8*%cZ to i32*
store i32 1342177304,i32*%c0,align 4
store i8*%cY,i8**%D,align 8
%c1=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%c2=bitcast i8*%cY to i8**
store i8*%c1,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cY,i64 8
%c4=bitcast i8*%c3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL3dir_203 to void(...)*),void(...)**%c4,align 8
%c5=getelementptr inbounds i8,i8*%cY,i64 16
%c6=bitcast i8*%c5 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL3dir_203 to void(...)*),void(...)**%c6,align 8
%c7=getelementptr inbounds i8,i8*%cY,i64 24
%c8=bitcast i8*%c7 to i32*
store i32 -2147483647,i32*%c8,align 4
%c9=call i8*@sml_alloc(i32 inreg 12)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177288,i32*%db,align 4
store i8*%c9,i8**%C,align 8
%dc=load i8*,i8**%r,align 8
%dd=bitcast i8*%c9 to i8**
store i8*%dc,i8**%dd,align 8
%de=getelementptr inbounds i8,i8*%c9,i64 8
%df=bitcast i8*%de to i32*
store i32 1,i32*%df,align 4
%dg=call i8*@sml_alloc(i32 inreg 28)#0
%dh=getelementptr inbounds i8,i8*%dg,i64 -4
%di=bitcast i8*%dh to i32*
store i32 1342177304,i32*%di,align 4
store i8*%dg,i8**%E,align 8
%dj=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%dk=bitcast i8*%dg to i8**
store i8*%dj,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dg,i64 8
%dm=bitcast i8*%dl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL4file_204 to void(...)*),void(...)**%dm,align 8
%dn=getelementptr inbounds i8,i8*%dg,i64 16
%do=bitcast i8*%dn to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL4file_204 to void(...)*),void(...)**%do,align 8
%dp=getelementptr inbounds i8,i8*%dg,i64 24
%dq=bitcast i8*%dp to i32*
store i32 -2147483647,i32*%dq,align 4
%dr=call i8*@sml_alloc(i32 inreg 20)#0
%ds=getelementptr inbounds i8,i8*%dr,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177296,i32*%dt,align 4
store i8*%dr,i8**%C,align 8
%du=load i8*,i8**%r,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=load i8*,i8**%A,align 8
%dx=getelementptr inbounds i8,i8*%dr,i64 8
%dy=bitcast i8*%dx to i8**
store i8*%dw,i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%dr,i64 16
%dA=bitcast i8*%dz to i32*
store i32 3,i32*%dA,align 4
%dB=call i8*@sml_alloc(i32 inreg 28)#0
%dC=getelementptr inbounds i8,i8*%dB,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177304,i32*%dD,align 4
store i8*%dB,i8**%F,align 8
%dE=load i8*,i8**%C,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*)*@_SMLLL12splitBaseExt_207 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*)*@_SMLLL12splitBaseExt_207 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=call i8*@sml_alloc(i32 inreg 20)#0
%dN=getelementptr inbounds i8,i8*%dM,i64 -4
%dO=bitcast i8*%dN to i32*
store i32 1342177296,i32*%dO,align 4
store i8*%dM,i8**%G,align 8
%dP=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%dQ=bitcast i8*%dM to i8**
store i8*%dP,i8**%dQ,align 8
%dR=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%dS=getelementptr inbounds i8,i8*%dM,i64 8
%dT=bitcast i8*%dS to i8**
store i8*%dR,i8**%dT,align 8
%dU=getelementptr inbounds i8,i8*%dM,i64 16
%dV=bitcast i8*%dU to i32*
store i32 3,i32*%dV,align 4
%dW=call i8*@sml_alloc(i32 inreg 28)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177304,i32*%dY,align 4
store i8*%dW,i8**%r,align 8
%dZ=load i8*,i8**%G,align 8
store i8*null,i8**%G,align 8
%d0=bitcast i8*%dW to i8**
store i8*%dZ,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dW,i64 8
%d2=bitcast i8*%d1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11joinBaseExt_209 to void(...)*),void(...)**%d2,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 16
%d4=bitcast i8*%d3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11joinBaseExt_209 to void(...)*),void(...)**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dW,i64 24
%d6=bitcast i8*%d5 to i32*
store i32 -2147483647,i32*%d6,align 4
%d7=call i8*@sml_alloc(i32 inreg 12)#0
%d8=getelementptr inbounds i8,i8*%d7,i64 -4
%d9=bitcast i8*%d8 to i32*
store i32 1342177288,i32*%d9,align 4
store i8*%d7,i8**%A,align 8
%ea=load i8*,i8**%C,align 8
%eb=bitcast i8*%d7 to i8**
store i8*%ea,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d7,i64 8
%ed=bitcast i8*%ec to i32*
store i32 1,i32*%ed,align 4
%ee=call i8*@sml_alloc(i32 inreg 28)#0
%ef=getelementptr inbounds i8,i8*%ee,i64 -4
%eg=bitcast i8*%ef to i32*
store i32 1342177304,i32*%eg,align 4
store i8*%ee,i8**%G,align 8
%eh=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%ei=bitcast i8*%ee to i8**
store i8*%eh,i8**%ei,align 8
%ej=getelementptr inbounds i8,i8*%ee,i64 8
%ek=bitcast i8*%ej to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL4base_210 to void(...)*),void(...)**%ek,align 8
%el=getelementptr inbounds i8,i8*%ee,i64 16
%em=bitcast i8*%el to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL4base_210 to void(...)*),void(...)**%em,align 8
%en=getelementptr inbounds i8,i8*%ee,i64 24
%eo=bitcast i8*%en to i32*
store i32 -2147483647,i32*%eo,align 4
%ep=call i8*@sml_alloc(i32 inreg 12)#0
%eq=getelementptr inbounds i8,i8*%ep,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177288,i32*%er,align 4
store i8*%ep,i8**%A,align 8
%es=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%et=bitcast i8*%ep to i8**
store i8*%es,i8**%et,align 8
%eu=getelementptr inbounds i8,i8*%ep,i64 8
%ev=bitcast i8*%eu to i32*
store i32 1,i32*%ev,align 4
%ew=call i8*@sml_alloc(i32 inreg 28)#0
%ex=getelementptr inbounds i8,i8*%ew,i64 -4
%ey=bitcast i8*%ex to i32*
store i32 1342177304,i32*%ey,align 4
store i8*%ew,i8**%C,align 8
%ez=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%eA=bitcast i8*%ew to i8**
store i8*%ez,i8**%eA,align 8
%eB=getelementptr inbounds i8,i8*%ew,i64 8
%eC=bitcast i8*%eB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL3ext_211 to void(...)*),void(...)**%eC,align 8
%eD=getelementptr inbounds i8,i8*%ew,i64 16
%eE=bitcast i8*%eD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL3ext_211 to void(...)*),void(...)**%eE,align 8
%eF=getelementptr inbounds i8,i8*%ew,i64 24
%eG=bitcast i8*%eF to i32*
store i32 -2147483647,i32*%eG,align 4
%eH=call i8*@sml_alloc(i32 inreg 52)#0
%eI=getelementptr inbounds i8,i8*%eH,i64 -4
%eJ=bitcast i8*%eI to i32*
store i32 1342177328,i32*%eJ,align 4
store i8*%eH,i8**%A,align 8
%eK=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eL=bitcast i8*%eH to i8**
store i8*%eK,i8**%eL,align 8
%eM=load i8*,i8**%l,align 8
%eN=getelementptr inbounds i8,i8*%eH,i64 8
%eO=bitcast i8*%eN to i8**
store i8*%eM,i8**%eO,align 8
%eP=load i8*,i8**%n,align 8
%eQ=getelementptr inbounds i8,i8*%eH,i64 16
%eR=bitcast i8*%eQ to i8**
store i8*%eP,i8**%eR,align 8
%eS=load i8*,i8**%p,align 8
%eT=getelementptr inbounds i8,i8*%eH,i64 24
%eU=bitcast i8*%eT to i8**
store i8*%eS,i8**%eU,align 8
%eV=load i8*,i8**%v,align 8
%eW=getelementptr inbounds i8,i8*%eH,i64 32
%eX=bitcast i8*%eW to i8**
store i8*%eV,i8**%eX,align 8
%eY=getelementptr inbounds i8,i8*%eH,i64 40
store i8%a,i8*%eY,align 1
%eZ=getelementptr inbounds i8,i8*%eH,i64 48
%e0=bitcast i8*%eZ to i32*
store i32 31,i32*%e0,align 4
%e1=call i8*@sml_alloc(i32 inreg 28)#0
%e2=getelementptr inbounds i8,i8*%e1,i64 -4
%e3=bitcast i8*%e2 to i32*
store i32 1342177304,i32*%e3,align 4
store i8*%e1,i8**%k,align 8
%e4=load i8*,i8**%A,align 8
%e5=bitcast i8*%e1 to i8**
store i8*%e4,i8**%e5,align 8
%e6=getelementptr inbounds i8,i8*%e1,i64 8
%e7=bitcast i8*%e6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11mkCanonical_229 to void(...)*),void(...)**%e7,align 8
%e8=getelementptr inbounds i8,i8*%e1,i64 16
%e9=bitcast i8*%e8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11mkCanonical_229 to void(...)*),void(...)**%e9,align 8
%fa=getelementptr inbounds i8,i8*%e1,i64 24
%fb=bitcast i8*%fa to i32*
store i32 -2147483647,i32*%fb,align 4
%fc=call i8*@sml_alloc(i32 inreg 12)#0
%fd=getelementptr inbounds i8,i8*%fc,i64 -4
%fe=bitcast i8*%fd to i32*
store i32 1342177288,i32*%fe,align 4
store i8*%fc,i8**%H,align 8
%ff=load i8*,i8**%A,align 8
%fg=bitcast i8*%fc to i8**
store i8*%ff,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%fc,i64 8
%fi=bitcast i8*%fh to i32*
store i32 1,i32*%fi,align 4
%fj=call i8*@sml_alloc(i32 inreg 28)#0
%fk=getelementptr inbounds i8,i8*%fj,i64 -4
%fl=bitcast i8*%fk to i32*
store i32 1342177304,i32*%fl,align 4
store i8*%fj,i8**%I,align 8
%fm=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%fn=bitcast i8*%fj to i8**
store i8*%fm,i8**%fn,align 8
%fo=getelementptr inbounds i8,i8*%fj,i64 8
%fp=bitcast i8*%fo to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL11isCanonical_230 to void(...)*),void(...)**%fp,align 8
%fq=getelementptr inbounds i8,i8*%fj,i64 16
%fr=bitcast i8*%fq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11isCanonical_307 to void(...)*),void(...)**%fr,align 8
%fs=getelementptr inbounds i8,i8*%fj,i64 24
%ft=bitcast i8*%fs to i32*
store i32 -2147483647,i32*%ft,align 4
%fu=call i8*@sml_alloc(i32 inreg 20)#0
%fv=getelementptr inbounds i8,i8*%fu,i64 -4
%fw=bitcast i8*%fv to i32*
store i32 1342177296,i32*%fw,align 4
store i8*%fu,i8**%H,align 8
%fx=load i8*,i8**%p,align 8
%fy=bitcast i8*%fu to i8**
store i8*%fx,i8**%fy,align 8
%fz=getelementptr inbounds i8,i8*%fu,i64 8
store i8%a,i8*%fz,align 1
%fA=getelementptr inbounds i8,i8*%fu,i64 16
%fB=bitcast i8*%fA to i32*
store i32 1,i32*%fB,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**%J,align 8
%fF=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%fG=bitcast i8*%fC to i8**
store i8*%fF,i8**%fG,align 8
%fH=getelementptr inbounds i8,i8*%fC,i64 8
%fI=bitcast i8*%fH to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL10isAbsolute_234 to void(...)*),void(...)**%fI,align 8
%fJ=getelementptr inbounds i8,i8*%fC,i64 16
%fK=bitcast i8*%fJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10isAbsolute_309 to void(...)*),void(...)**%fK,align 8
%fL=getelementptr inbounds i8,i8*%fC,i64 24
%fM=bitcast i8*%fL to i32*
store i32 -2147483647,i32*%fM,align 4
%fN=call i8*@sml_alloc(i32 inreg 20)#0
%fO=getelementptr inbounds i8,i8*%fN,i64 -4
%fP=bitcast i8*%fO to i32*
store i32 1342177296,i32*%fP,align 4
store i8*%fN,i8**%H,align 8
%fQ=load i8*,i8**%p,align 8
%fR=bitcast i8*%fN to i8**
store i8*%fQ,i8**%fR,align 8
%fS=getelementptr inbounds i8,i8*%fN,i64 8
store i8%a,i8*%fS,align 1
%fT=getelementptr inbounds i8,i8*%fN,i64 16
%fU=bitcast i8*%fT to i32*
store i32 1,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
store i8*%fV,i8**%K,align 8
%fY=load i8*,i8**%H,align 8
store i8*null,i8**%H,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(i32(i8*,i8*)*@_SMLLL10isRelative_238 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*)*@_SMLLL10isRelative_311 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=call i8*@sml_alloc(i32 inreg 52)#0
%f7=getelementptr inbounds i8,i8*%f6,i64 -4
%f8=bitcast i8*%f7 to i32*
store i32 1342177328,i32*%f8,align 4
store i8*%f6,i8**%H,align 8
%f9=load i8*,i8**%o,align 8
%ga=bitcast i8*%f6 to i8**
store i8*%f9,i8**%ga,align 8
%gb=load i8*,i8**%p,align 8
%gc=getelementptr inbounds i8,i8*%f6,i64 8
%gd=bitcast i8*%gc to i8**
store i8*%gb,i8**%gd,align 8
%ge=load i8*,i8**%s,align 8
%gf=getelementptr inbounds i8,i8*%f6,i64 16
%gg=bitcast i8*%gf to i8**
store i8*%ge,i8**%gg,align 8
%gh=load i8*,i8**%v,align 8
%gi=getelementptr inbounds i8,i8*%f6,i64 24
%gj=bitcast i8*%gi to i8**
store i8*%gh,i8**%gj,align 8
%gk=load i8*,i8**%A,align 8
%gl=getelementptr inbounds i8,i8*%f6,i64 32
%gm=bitcast i8*%gl to i8**
store i8*%gk,i8**%gm,align 8
%gn=getelementptr inbounds i8,i8*%f6,i64 40
store i8%a,i8*%gn,align 1
%go=getelementptr inbounds i8,i8*%f6,i64 48
%gp=bitcast i8*%go to i32*
store i32 31,i32*%gp,align 4
%gq=call i8*@sml_alloc(i32 inreg 28)#0
%gr=getelementptr inbounds i8,i8*%gq,i64 -4
%gs=bitcast i8*%gr to i32*
store i32 1342177304,i32*%gs,align 4
store i8*%gq,i8**%L,align 8
%gt=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%gu=bitcast i8*%gq to i8**
store i8*%gt,i8**%gu,align 8
%gv=getelementptr inbounds i8,i8*%gq,i64 8
%gw=bitcast i8*%gv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10mkAbsolute_249 to void(...)*),void(...)**%gw,align 8
%gx=getelementptr inbounds i8,i8*%gq,i64 16
%gy=bitcast i8*%gx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10mkAbsolute_249 to void(...)*),void(...)**%gy,align 8
%gz=getelementptr inbounds i8,i8*%gq,i64 24
%gA=bitcast i8*%gz to i32*
store i32 -2147483647,i32*%gA,align 4
%gB=call i8*@sml_alloc(i32 inreg 68)#0
%gC=getelementptr inbounds i8,i8*%gB,i64 -4
%gD=bitcast i8*%gC to i32*
store i32 1342177344,i32*%gD,align 4
store i8*%gB,i8**%H,align 8
%gE=load i8*,i8**%l,align 8
%gF=bitcast i8*%gB to i8**
store i8*%gE,i8**%gF,align 8
%gG=load i8*,i8**%n,align 8
%gH=getelementptr inbounds i8,i8*%gB,i64 8
%gI=bitcast i8*%gH to i8**
store i8*%gG,i8**%gI,align 8
%gJ=load i8*,i8**%o,align 8
%gK=getelementptr inbounds i8,i8*%gB,i64 16
%gL=bitcast i8*%gK to i8**
store i8*%gJ,i8**%gL,align 8
%gM=load i8*,i8**%p,align 8
%gN=getelementptr inbounds i8,i8*%gB,i64 24
%gO=bitcast i8*%gN to i8**
store i8*%gM,i8**%gO,align 8
%gP=load i8*,i8**%s,align 8
%gQ=getelementptr inbounds i8,i8*%gB,i64 32
%gR=bitcast i8*%gQ to i8**
store i8*%gP,i8**%gR,align 8
%gS=load i8*,i8**%v,align 8
%gT=getelementptr inbounds i8,i8*%gB,i64 40
%gU=bitcast i8*%gT to i8**
store i8*%gS,i8**%gU,align 8
%gV=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%gW=getelementptr inbounds i8,i8*%gB,i64 48
%gX=bitcast i8*%gW to i8**
store i8*%gV,i8**%gX,align 8
%gY=getelementptr inbounds i8,i8*%gB,i64 56
store i8%a,i8*%gY,align 1
%gZ=getelementptr inbounds i8,i8*%gB,i64 64
%g0=bitcast i8*%gZ to i32*
store i32 127,i32*%g0,align 4
%g1=call i8*@sml_alloc(i32 inreg 28)#0
%g2=getelementptr inbounds i8,i8*%g1,i64 -4
%g3=bitcast i8*%g2 to i32*
store i32 1342177304,i32*%g3,align 4
store i8*%g1,i8**%A,align 8
%g4=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%g5=bitcast i8*%g1 to i8**
store i8*%g4,i8**%g5,align 8
%g6=getelementptr inbounds i8,i8*%g1,i64 8
%g7=bitcast i8*%g6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10mkRelative_266 to void(...)*),void(...)**%g7,align 8
%g8=getelementptr inbounds i8,i8*%g1,i64 16
%g9=bitcast i8*%g8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10mkRelative_266 to void(...)*),void(...)**%g9,align 8
%ha=getelementptr inbounds i8,i8*%g1,i64 24
%hb=bitcast i8*%ha to i32*
store i32 -2147483647,i32*%hb,align 4
%hc=call i8*@sml_alloc(i32 inreg 20)#0
%hd=getelementptr inbounds i8,i8*%hc,i64 -4
%he=bitcast i8*%hd to i32*
store i32 1342177296,i32*%he,align 4
store i8*%hc,i8**%H,align 8
%hf=load i8*,i8**%p,align 8
%hg=bitcast i8*%hc to i8**
store i8*%hf,i8**%hg,align 8
%hh=getelementptr inbounds i8,i8*%hc,i64 8
store i8%a,i8*%hh,align 1
%hi=getelementptr inbounds i8,i8*%hc,i64 16
%hj=bitcast i8*%hi to i32*
store i32 1,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
store i8*%hk,i8**%M,align 8
%hn=load i8*,i8**%H,align 8
store i8*null,i8**%H,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(i32(i8*,i8*)*@_SMLLL6isRoot_270 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*)*@_SMLLL6isRoot_319 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=call i8*@sml_alloc(i32 inreg 44)#0
%hw=getelementptr inbounds i8,i8*%hv,i64 -4
%hx=bitcast i8*%hw to i32*
store i32 1342177320,i32*%hx,align 4
store i8*%hv,i8**%H,align 8
%hy=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%hz=bitcast i8*%hv to i8**
store i8*%hy,i8**%hz,align 8
%hA=load i8*,i8**%p,align 8
%hB=getelementptr inbounds i8,i8*%hv,i64 8
%hC=bitcast i8*%hB to i8**
store i8*%hA,i8**%hC,align 8
%hD=load i8*,i8**%s,align 8
%hE=getelementptr inbounds i8,i8*%hv,i64 16
%hF=bitcast i8*%hE to i8**
store i8*%hD,i8**%hF,align 8
%hG=load i8*,i8**%v,align 8
%hH=getelementptr inbounds i8,i8*%hv,i64 24
%hI=bitcast i8*%hH to i8**
store i8*%hG,i8**%hI,align 8
%hJ=getelementptr inbounds i8,i8*%hv,i64 32
store i8%a,i8*%hJ,align 1
%hK=getelementptr inbounds i8,i8*%hv,i64 40
%hL=bitcast i8*%hK to i32*
store i32 15,i32*%hL,align 4
%hM=call i8*@sml_alloc(i32 inreg 28)#0
%hN=getelementptr inbounds i8,i8*%hM,i64 -4
%hO=bitcast i8*%hN to i32*
store i32 1342177304,i32*%hO,align 4
store i8*%hM,i8**%o,align 8
%hP=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%hQ=bitcast i8*%hM to i8**
store i8*%hP,i8**%hQ,align 8
%hR=getelementptr inbounds i8,i8*%hM,i64 8
%hS=bitcast i8*%hR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6concat_280 to void(...)*),void(...)**%hS,align 8
%hT=getelementptr inbounds i8,i8*%hM,i64 16
%hU=bitcast i8*%hT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL6concat_280 to void(...)*),void(...)**%hU,align 8
%hV=getelementptr inbounds i8,i8*%hM,i64 24
%hW=bitcast i8*%hV to i32*
store i32 -2147483647,i32*%hW,align 4
%hX=call i8*@sml_alloc(i32 inreg 44)#0
%hY=getelementptr inbounds i8,i8*%hX,i64 -4
%hZ=bitcast i8*%hY to i32*
store i32 1342177320,i32*%hZ,align 4
store i8*%hX,i8**%H,align 8
%h0=load i8*,i8**%l,align 8
%h1=bitcast i8*%hX to i8**
store i8*%h0,i8**%h1,align 8
%h2=load i8*,i8**%n,align 8
%h3=getelementptr inbounds i8,i8*%hX,i64 8
%h4=bitcast i8*%h3 to i8**
store i8*%h2,i8**%h4,align 8
%h5=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%h6=getelementptr inbounds i8,i8*%hX,i64 16
%h7=bitcast i8*%h6 to i8**
store i8*%h5,i8**%h7,align 8
%h8=load i8*,i8**%u,align 8
%h9=getelementptr inbounds i8,i8*%hX,i64 24
%ia=bitcast i8*%h9 to i8**
store i8*%h8,i8**%ia,align 8
%ib=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%ic=getelementptr inbounds i8,i8*%hX,i64 32
%id=bitcast i8*%ic to i8**
store i8*%ib,i8**%id,align 8
%ie=getelementptr inbounds i8,i8*%hX,i64 40
%if=bitcast i8*%ie to i32*
store i32 31,i32*%if,align 4
%ig=call i8*@sml_alloc(i32 inreg 28)#0
%ih=getelementptr inbounds i8,i8*%ig,i64 -4
%ii=bitcast i8*%ih to i32*
store i32 1342177304,i32*%ii,align 4
store i8*%ig,i8**%q,align 8
%ij=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%ik=bitcast i8*%ig to i8**
store i8*%ij,i8**%ik,align 8
%il=getelementptr inbounds i8,i8*%ig,i64 8
%im=bitcast i8*%il to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12fromUnixPath_287 to void(...)*),void(...)**%im,align 8
%in=getelementptr inbounds i8,i8*%ig,i64 16
%io=bitcast i8*%in to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL12fromUnixPath_287 to void(...)*),void(...)**%io,align 8
%ip=getelementptr inbounds i8,i8*%ig,i64 24
%iq=bitcast i8*%ip to i32*
store i32 -2147483647,i32*%iq,align 4
%ir=call i8*@sml_alloc(i32 inreg 28)#0
%is=getelementptr inbounds i8,i8*%ir,i64 -4
%it=bitcast i8*%is to i32*
store i32 1342177304,i32*%it,align 4
store i8*%ir,i8**%v,align 8
%iu=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%iv=bitcast i8*%ir to i8**
store i8*%iu,i8**%iv,align 8
%iw=load i8*,i8**%s,align 8
%ix=getelementptr inbounds i8,i8*%ir,i64 8
%iy=bitcast i8*%ix to i8**
store i8*%iw,i8**%iy,align 8
%iz=getelementptr inbounds i8,i8*%ir,i64 16
store i8%a,i8*%iz,align 1
%iA=getelementptr inbounds i8,i8*%ir,i64 24
%iB=bitcast i8*%iA to i32*
store i32 3,i32*%iB,align 4
%iC=call i8*@sml_alloc(i32 inreg 28)#0
%iD=getelementptr inbounds i8,i8*%iC,i64 -4
%iE=bitcast i8*%iD to i32*
store i32 1342177304,i32*%iE,align 4
store i8*%iC,i8**%p,align 8
%iF=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%iG=bitcast i8*%iC to i8**
store i8*%iF,i8**%iG,align 8
%iH=getelementptr inbounds i8,i8*%iC,i64 8
%iI=bitcast i8*%iH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10toUnixPath_294 to void(...)*),void(...)**%iI,align 8
%iJ=getelementptr inbounds i8,i8*%iC,i64 16
%iK=bitcast i8*%iJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10toUnixPath_294 to void(...)*),void(...)**%iK,align 8
%iL=getelementptr inbounds i8,i8*%iC,i64 24
%iM=bitcast i8*%iL to i32*
store i32 -2147483647,i32*%iM,align 4
%iN=call i8*@sml_alloc(i32 inreg 220)#0
%iO=getelementptr inbounds i8,i8*%iN,i64 -4
%iP=bitcast i8*%iO to i32*
store i32 1342177496,i32*%iP,align 4
%iQ=load i8*,i8**%u,align 8
%iR=bitcast i8*%iN to i8**
store i8*%iQ,i8**%iR,align 8
%iS=load i8*,i8**%s,align 8
%iT=getelementptr inbounds i8,i8*%iN,i64 8
%iU=bitcast i8*%iT to i8**
store i8*%iS,i8**%iU,align 8
%iV=load i8*,i8**%G,align 8
%iW=getelementptr inbounds i8,i8*%iN,i64 16
%iX=bitcast i8*%iW to i8**
store i8*%iV,i8**%iX,align 8
%iY=load i8*,i8**%o,align 8
%iZ=getelementptr inbounds i8,i8*%iN,i64 24
%i0=bitcast i8*%iZ to i8**
store i8*%iY,i8**%i0,align 8
%i1=load i8*,i8**%l,align 8
%i2=getelementptr inbounds i8,i8*%iN,i64 32
%i3=bitcast i8*%i2 to i8**
store i8*%i1,i8**%i3,align 8
%i4=load i8*,i8**%D,align 8
%i5=getelementptr inbounds i8,i8*%iN,i64 40
%i6=bitcast i8*%i5 to i8**
store i8*%i4,i8**%i6,align 8
%i7=load i8*,i8**%C,align 8
%i8=getelementptr inbounds i8,i8*%iN,i64 48
%i9=bitcast i8*%i8 to i8**
store i8*%i7,i8**%i9,align 8
%ja=load i8*,i8**%E,align 8
%jb=getelementptr inbounds i8,i8*%iN,i64 56
%jc=bitcast i8*%jb to i8**
store i8*%ja,i8**%jc,align 8
%jd=load i8*,i8**%x,align 8
%je=getelementptr inbounds i8,i8*%iN,i64 64
%jf=bitcast i8*%je to i8**
store i8*%jd,i8**%jf,align 8
%jg=load i8*,i8**%q,align 8
%jh=getelementptr inbounds i8,i8*%iN,i64 72
%ji=bitcast i8*%jh to i8**
store i8*%jg,i8**%ji,align 8
%jj=load i8*,i8**%y,align 8
%jk=getelementptr inbounds i8,i8*%iN,i64 80
%jl=bitcast i8*%jk to i8**
store i8*%jj,i8**%jl,align 8
%jm=load i8*,i8**%t,align 8
%jn=getelementptr inbounds i8,i8*%iN,i64 88
%jo=bitcast i8*%jn to i8**
store i8*%jm,i8**%jo,align 8
%jp=load i8*,i8**%J,align 8
%jq=getelementptr inbounds i8,i8*%iN,i64 96
%jr=bitcast i8*%jq to i8**
store i8*%jp,i8**%jr,align 8
%js=load i8*,i8**%I,align 8
%jt=getelementptr inbounds i8,i8*%iN,i64 104
%ju=bitcast i8*%jt to i8**
store i8*%js,i8**%ju,align 8
%jv=load i8*,i8**%K,align 8
%jw=getelementptr inbounds i8,i8*%iN,i64 112
%jx=bitcast i8*%jw to i8**
store i8*%jv,i8**%jx,align 8
%jy=load i8*,i8**%M,align 8
%jz=getelementptr inbounds i8,i8*%iN,i64 120
%jA=bitcast i8*%jz to i8**
store i8*%jy,i8**%jA,align 8
%jB=load i8*,i8**%r,align 8
%jC=getelementptr inbounds i8,i8*%iN,i64 128
%jD=bitcast i8*%jC to i8**
store i8*%jB,i8**%jD,align 8
%jE=load i8*,i8**%B,align 8
%jF=getelementptr inbounds i8,i8*%iN,i64 136
%jG=bitcast i8*%jF to i8**
store i8*%jE,i8**%jG,align 8
%jH=load i8*,i8**%L,align 8
%jI=getelementptr inbounds i8,i8*%iN,i64 144
%jJ=bitcast i8*%jI to i8**
store i8*%jH,i8**%jJ,align 8
%jK=load i8*,i8**%k,align 8
%jL=getelementptr inbounds i8,i8*%iN,i64 152
%jM=bitcast i8*%jL to i8**
store i8*%jK,i8**%jM,align 8
%jN=load i8*,i8**%A,align 8
%jO=getelementptr inbounds i8,i8*%iN,i64 160
%jP=bitcast i8*%jO to i8**
store i8*%jN,i8**%jP,align 8
%jQ=load i8*,i8**%n,align 8
%jR=getelementptr inbounds i8,i8*%iN,i64 168
%jS=bitcast i8*%jR to i8**
store i8*%jQ,i8**%jS,align 8
%jT=load i8*,i8**%F,align 8
%jU=getelementptr inbounds i8,i8*%iN,i64 176
%jV=bitcast i8*%jU to i8**
store i8*%jT,i8**%jV,align 8
%jW=load i8*,i8**%z,align 8
%jX=getelementptr inbounds i8,i8*%iN,i64 184
%jY=bitcast i8*%jX to i8**
store i8*%jW,i8**%jY,align 8
%jZ=load i8*,i8**%m,align 8
%j0=getelementptr inbounds i8,i8*%iN,i64 192
%j1=bitcast i8*%j0 to i8**
store i8*%jZ,i8**%j1,align 8
%j2=load i8*,i8**%p,align 8
%j3=getelementptr inbounds i8,i8*%iN,i64 200
%j4=bitcast i8*%j3 to i8**
store i8*%j2,i8**%j4,align 8
%j5=load i8*,i8**%w,align 8
%j6=getelementptr inbounds i8,i8*%iN,i64 208
%j7=bitcast i8*%j6 to i8**
store i8*%j5,i8**%j7,align 8
%j8=getelementptr inbounds i8,i8*%iN,i64 216
%j9=bitcast i8*%j8 to i32*
store i32 134217727,i32*%j9,align 4
ret i8*%iN
}
define internal fastcc i8*@_SMLLL11validVolume_298(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL11validVolume_164(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*@_SMLLL6fields_299(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_300(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_301(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_302(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_304(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL12splitBaseExt_305(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=icmp ne i8%c,46
%e=zext i1%d to i32
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLL6fields_306(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL11isCanonical_307(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL11isCanonical_230(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*@_SMLLL6fields_308(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL10isAbsolute_309(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL10isAbsolute_234(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*@_SMLLL6fields_310(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL10isRelative_311(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL10isRelative_238(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*@_SMLLL6fields_312(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_313(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_314(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_315(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_316(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_317(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_318(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6isRoot_319(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL6isRoot_270(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*@_SMLLL6fields_320(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL6fields_321(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLL12fromUnixPath_322(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=icmp eq i8%c,47
%e=zext i1%d to i32
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLL6fields_323(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=load i8,i8*%a,align 1
%e=icmp eq i8%d,%c
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLLN1__24SMLSharp__SMLNJ__OS__PathFnE_324(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e,i8*inreg%f,i8*inreg%g,i8*inreg%h,i8*inreg%i,i8*inreg%j,i8*inreg%k)#2 gc"smlsharp"{
%l=load i8,i8*%b,align 1
%m=tail call fastcc i8*@_SMLFN1__24SMLSharp__SMLNJ__OS__PathFnE(i8 inreg%l,i8*inreg%c,i8*inreg%d,i8*inreg%e,i8*inreg%f,i8*inreg%g,i8*inreg%h,i8*inreg%i,i8*inreg%j,i8*inreg%k)
ret i8*%m
}
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
