@sml_check_flag=external local_unnamed_addr global i32
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"GetOptLong.NoArg\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,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 16,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL79=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i32 0,i32 0,i32 0),i32 8)}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"GetOptLong.HasArg\00"}>,align 8
@d=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,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@c,i32 0,i32 0,i32 0),i32 8),i32 16,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL82=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@d,i32 0,i32 0,i32 0),i32 8)}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"GetOptLong.Unknown\00"}>,align 8
@f=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,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@e,i32 0,i32 0,i32 0),i32 8),i32 16,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL85=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@f,i32 0,i32 0,i32 0),i32 8)}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:72.21(1926)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:75.41(2052)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:65.8(1620)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:66.24(1689)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:63.22(1575)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL85,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@k,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@l,i32 0,i32 0,i32 0),i32 8),i32 7}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLL10isNotDelim_100 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10isNotDelim_129 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:93.21(2781)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:96.41(2903)\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:89.8(2586)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:90.24(2657)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c"--\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"-\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN10GetOptLong9parseArgvE_114 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong9parseArgvE_132 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/compilePhases/main/main/GetOptLong.sml:128.15(4105)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL4desc_119 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4desc_134 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,i8*null,i8*null,i32 7}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32)*@_SMLFN10GetOptLong6getoptE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN10GetOptLong6getoptE_135 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN10GetOptLong5NoArgE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL79,i64 0,i32 2)to i8*)
@_SMLZN10GetOptLong6HasArgE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL82,i64 0,i32 2)to i8*)
@_SMLZN10GetOptLong7UnknownE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL85,i64 0,i32 2)to i8*)
@_SMLZN10GetOptLong6getoptE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*)
@_SML_ftab783c6bfcb25b8e44_GetOptLong=external global i8
@z=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_obj_equal(i8*inreg,i8*inreg)local_unnamed_addr#0
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
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*@_SMLFN4List4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldrE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String3strE(i8 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring4fullE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring4getcE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN9Substring4sizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring5trimlE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring6splitlE(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 i8*@_SMLFN9Substring8isPrefixE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main145db56e6796da5b_Substring()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load145db56e6796da5b_Substring(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
define private void@_SML_tabb783c6bfcb25b8e44_GetOptLong()#3{
unreachable
}
define void@_SML_load783c6bfcb25b8e44_GetOptLong(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@z,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@z,align 1
tail call void@_SML_load145db56e6796da5b_Substring(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb783c6bfcb25b8e44_GetOptLong,i8*@_SML_ftab783c6bfcb25b8e44_GetOptLong,i8*null)#0
ret void
}
define void@_SML_main783c6bfcb25b8e44_GetOptLong()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@z,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*@z,align 1
tail call void@_SML_main145db56e6796da5b_Substring()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
br label%d
}
define internal fastcc i32@_SMLLN10GetOptLong10parseShortE_90(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%c,%d
%f=zext i1%e to i32
ret i32%f
}
define internal fastcc i8*@_SMLLN10GetOptLong10parseShortE_89(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
q:
%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**%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**%d,align 8
store i8*%c,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%o,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%e,align 8
%n=load i8*,i8**%h,align 8
br label%o
o:
%p=phi i8*[%n,%l],[%a,%q]
%r=phi i8*[%m,%l],[%c,%q]
%s=getelementptr inbounds i8,i8*%p,i64 4
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=add i32%u,3
%w=sub i32 0,%u
%x=and i32%v,%w
%y=add i32%u,7
%z=add i32%y,%x
%A=and i32%z,-8
%B=lshr i32%x,3
%C=bitcast i8*%p to i32*
%D=load i32,i32*%C,align 4
%E=shl i32%D,%B
%F=or i32%A,4
%G=getelementptr inbounds i8,i8*%r,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%e,align 8
%J=bitcast i8*%r to i8**
%K=load i8*,i8**%J,align 8
%L=call fastcc i8*@_SMLFN9Substring4getcE(i8*inreg%K)
%M=icmp eq i8*%L,null
br i1%M,label%N,label%U
N:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%O=call i8*@sml_alloc(i32 inreg 60)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177336,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 56
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=bitcast i8*%O to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i8*,i32}>*@m,i64 0,i32 2)to i8*),i8**%T,align 8
call void@sml_raise(i8*inreg%O)#1
unreachable
U:
%V=bitcast i8*%L to i8**
%W=load i8*,i8**%V,align 8
%X=load i8,i8*%W,align 1
%Y=getelementptr inbounds i8,i8*%W,i64 8
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%f,align 8
%ab=call fastcc i8*@_SMLFN4List4findE(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
store i8*%ag,i8**%g,align 8
%ah=call i8*@sml_alloc(i32 inreg 12)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177288,i32*%aj,align 4
store i8*%ah,i8**%i,align 8
store i8%X,i8*%ah,align 1
%ak=getelementptr inbounds i8,i8*%ah,i64 8
%al=bitcast i8*%ak to i32*
store i32 0,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 28)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177304,i32*%ao,align 4
%ap=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN10GetOptLong10parseShortE_90 to void(...)*),void(...)**%as,align 8
%at=getelementptr inbounds i8,i8*%am,i64 16
%au=bitcast i8*%at to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong10parseShortE_127 to void(...)*),void(...)**%au,align 8
%av=getelementptr inbounds i8,i8*%am,i64 24
%aw=bitcast i8*%av to i32*
store i32 -2147483647,i32*%aw,align 4
%ax=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ay=call fastcc i8*%ae(i8*inreg%ax,i8*inreg%am)
%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
%aE=load i8*,i8**%d,align 8
%aF=call fastcc i8*%aB(i8*inreg%aD,i8*inreg%aE)
%aG=icmp eq i8*%aF,null
br i1%aG,label%aH,label%a1
aH:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
%aI=call fastcc i8*@_SMLFN6String3strE(i8 inreg%X)
store i8*%aI,i8**%d,align 8
%aJ=call i8*@sml_alloc(i32 inreg 28)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177304,i32*%aL,align 4
store i8*%aJ,i8**%e,align 8
%aM=bitcast i8*%aJ to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL85,i64 0,i32 2)to i8*),i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aJ,i64 8
%aO=bitcast i8*%aN to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@j,i64 0,i32 2,i64 0),i8**%aO,align 8
%aP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aQ=getelementptr inbounds i8,i8*%aJ,i64 16
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aJ,i64 24
%aT=bitcast i8*%aS to i32*
store i32 7,i32*%aT,align 4
%aU=call i8*@sml_alloc(i32 inreg 60)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177336,i32*%aW,align 4
%aX=getelementptr inbounds i8,i8*%aU,i64 56
%aY=bitcast i8*%aX to i32*
store i32 1,i32*%aY,align 4
%aZ=load i8*,i8**%e,align 8
%a0=bitcast i8*%aU to i8**
store i8*%aZ,i8**%a0,align 8
call void@sml_raise(i8*inreg%aU)#1
unreachable
a1:
%a2=bitcast i8*%aF to i8**
%a3=load i8*,i8**%a2,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**%g,align 8
%a7=bitcast i8*%a6 to i32*
%a8=load i32,i32*%a7,align 4
switch i32%a8,label%a9[
i32 0,label%f8
i32 2,label%dC
i32 1,label%br
]
a9:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%ba=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ba,i8**%d,align 8
%bb=call i8*@sml_alloc(i32 inreg 20)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177296,i32*%bd,align 4
store i8*%bb,i8**%e,align 8
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=bitcast i8*%bb to i8**
store i8*%be,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%bb,i64 8
%bh=bitcast i8*%bg to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@i,i64 0,i32 2,i64 0),i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%bb,i64 16
%bj=bitcast i8*%bi to i32*
store i32 3,i32*%bj,align 4
%bk=call i8*@sml_alloc(i32 inreg 60)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177336,i32*%bm,align 4
%bn=getelementptr inbounds i8,i8*%bk,i64 56
%bo=bitcast i8*%bn to i32*
store i32 1,i32*%bo,align 4
%bp=load i8*,i8**%e,align 8
%bq=bitcast i8*%bk to i8**
store i8*%bp,i8**%bq,align 8
call void@sml_raise(i8*inreg%bk)#1
unreachable
br:
store i8*null,i8**%g,align 8
%bs=getelementptr inbounds i8,i8*%a6,i64 8
%bt=bitcast i8*%bs to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%d,align 8
%bv=load i8*,i8**%f,align 8
%bw=call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%bv)
%bx=icmp eq i32%bw,0
br i1%bx,label%cv,label%by
by:
store i8*null,i8**%f,align 8
%bz=load i8*,i8**%d,align 8
%bA=getelementptr inbounds i8,i8*%bz,i64 16
%bB=bitcast i8*%bA to i8*(i8*,i8*)**
%bC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bB,align 8
store i8*null,i8**%d,align 8
%bD=bitcast i8*%bz to i8**
%bE=load i8*,i8**%bD,align 8
%bF=call fastcc i8*%bC(i8*inreg%bE,i8*inreg null)
store i8*%bF,i8**%d,align 8
%bG=load i8*,i8**%h,align 8
%bH=getelementptr inbounds i8,i8*%bG,i64 4
%bI=bitcast i8*%bH to i32*
%bJ=load i32,i32*%bI,align 4
store i8*null,i8**%h,align 8
%bK=bitcast i8*%bG to i32*
%bL=load i32,i32*%bK,align 4
%bM=call i8*@sml_alloc(i32 inreg%F)#0
%bN=or i32%A,1342177280
%bO=getelementptr inbounds i8,i8*%bM,i64 -4
%bP=bitcast i8*%bO to i32*
store i32%bN,i32*%bP,align 4
store i8*%bM,i8**%f,align 8
call void@llvm.memset.p0i8.i32(i8*%bM,i8 0,i32%F,i1 false)
%bQ=bitcast i8*%bM to i32*
store i32 1,i32*%bQ,align 4
%bR=icmp eq i32%bL,0
%bS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bT=sext i32%x to i64
%bU=getelementptr inbounds i8,i8*%bM,i64%bT
br i1%bR,label%bX,label%bV
bV:
%bW=bitcast i8*%bU to i8**
store i8*%bS,i8**%bW,align 8
br label%bY
bX:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bU,i8*%bS,i32%bJ,i1 false)
br label%bY
bY:
%bZ=sext i32%A to i64
%b0=getelementptr inbounds i8,i8*%bM,i64%bZ
%b1=bitcast i8*%b0 to i32*
store i32%E,i32*%b1,align 4
%b2=call i8*@sml_alloc(i32 inreg 20)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177296,i32*%b4,align 4
%b5=load i8*,i8**%f,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%b2,i64 8
%b8=bitcast i8*%b7 to i8**
store i8*null,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b2,i64 16
%ca=bitcast i8*%b9 to i32*
store i32 3,i32*%ca,align 4
store i8*%b5,i8**%d,align 8
store i8*null,i8**%f,align 8
%cb=call i8*@sml_alloc(i32 inreg 20)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177296,i32*%cd,align 4
store i8*%cb,i8**%g,align 8
%ce=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cf=bitcast i8*%cb to i8**
store i8*%ce,i8**%cf,align 8
%cg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ch=getelementptr inbounds i8,i8*%cb,i64 8
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%cb,i64 16
%ck=bitcast i8*%cj to i32*
store i32 3,i32*%ck,align 4
%cl=call i8*@sml_alloc(i32 inreg 20)#0
%cm=getelementptr inbounds i8,i8*%cl,i64 -4
%cn=bitcast i8*%cm to i32*
store i32 1342177296,i32*%cn,align 4
%co=load i8*,i8**%g,align 8
%cp=bitcast i8*%cl to i8**
store i8*%co,i8**%cp,align 8
%cq=load i8*,i8**%e,align 8
%cr=getelementptr inbounds i8,i8*%cl,i64 8
%cs=bitcast i8*%cr to i8**
store i8*%cq,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%cl,i64 16
%cu=bitcast i8*%ct to i32*
store i32 3,i32*%cu,align 4
ret i8*%cl
cv:
%cw=load i8*,i8**%d,align 8
%cx=getelementptr inbounds i8,i8*%cw,i64 16
%cy=bitcast i8*%cx to i8*(i8*,i8*)**
%cz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cy,align 8
store i8*null,i8**%d,align 8
%cA=bitcast i8*%cw to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%g,align 8
%cC=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cD=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%cC)
store i8*%cD,i8**%d,align 8
%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
%cH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cI=bitcast i8*%cE to i8**
store i8*%cH,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cE,i64 8
%cK=bitcast i8*%cJ to i32*
store i32 1,i32*%cK,align 4
%cL=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cM=call fastcc i8*%cz(i8*inreg%cL,i8*inreg%cE)
store i8*%cM,i8**%d,align 8
%cN=load i8*,i8**%h,align 8
%cO=getelementptr inbounds i8,i8*%cN,i64 4
%cP=bitcast i8*%cO to i32*
%cQ=load i32,i32*%cP,align 4
store i8*null,i8**%h,align 8
%cR=bitcast i8*%cN to i32*
%cS=load i32,i32*%cR,align 4
%cT=call i8*@sml_alloc(i32 inreg%F)#0
%cU=or i32%A,1342177280
%cV=getelementptr inbounds i8,i8*%cT,i64 -4
%cW=bitcast i8*%cV to i32*
store i32%cU,i32*%cW,align 4
store i8*%cT,i8**%f,align 8
call void@llvm.memset.p0i8.i32(i8*%cT,i8 0,i32%F,i1 false)
%cX=bitcast i8*%cT to i32*
store i32 1,i32*%cX,align 4
%cY=icmp eq i32%cS,0
%cZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c0=sext i32%x to i64
%c1=getelementptr inbounds i8,i8*%cT,i64%c0
br i1%cY,label%c4,label%c2
c2:
%c3=bitcast i8*%c1 to i8**
store i8*%cZ,i8**%c3,align 8
br label%c5
c4:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c1,i8*%cZ,i32%cQ,i1 false)
br label%c5
c5:
%c6=sext i32%A to i64
%c7=getelementptr inbounds i8,i8*%cT,i64%c6
%c8=bitcast i8*%c7 to i32*
store i32%E,i32*%c8,align 4
%c9=call i8*@sml_alloc(i32 inreg 20)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177296,i32*%db,align 4
%dc=load i8*,i8**%f,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 i8**
store i8*null,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%c9,i64 16
%dh=bitcast i8*%dg to i32*
store i32 3,i32*%dh,align 4
store i8*%dc,i8**%d,align 8
store i8*null,i8**%f,align 8
%di=call i8*@sml_alloc(i32 inreg 20)#0
%dj=getelementptr inbounds i8,i8*%di,i64 -4
%dk=bitcast i8*%dj to i32*
store i32 1342177296,i32*%dk,align 4
store i8*%di,i8**%g,align 8
%dl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dm=bitcast i8*%di to i8**
store i8*%dl,i8**%dm,align 8
%dn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%do=getelementptr inbounds i8,i8*%di,i64 8
%dp=bitcast i8*%do to i8**
store i8*%dn,i8**%dp,align 8
%dq=getelementptr inbounds i8,i8*%di,i64 16
%dr=bitcast i8*%dq to i32*
store i32 3,i32*%dr,align 4
%ds=call i8*@sml_alloc(i32 inreg 20)#0
%dt=getelementptr inbounds i8,i8*%ds,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177296,i32*%du,align 4
%dv=load i8*,i8**%g,align 8
%dw=bitcast i8*%ds to i8**
store i8*%dv,i8**%dw,align 8
%dx=load i8*,i8**%e,align 8
%dy=getelementptr inbounds i8,i8*%ds,i64 8
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=getelementptr inbounds i8,i8*%ds,i64 16
%dB=bitcast i8*%dA to i32*
store i32 3,i32*%dB,align 4
ret i8*%ds
dC:
store i8*null,i8**%g,align 8
%dD=getelementptr inbounds i8,i8*%a6,i64 8
%dE=bitcast i8*%dD to i8**
%dF=load i8*,i8**%dE,align 8
store i8*%dF,i8**%d,align 8
%dG=load i8*,i8**%f,align 8
%dH=call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%dG)
%dI=icmp eq i32%dH,0
br i1%dI,label%e8,label%dJ
dJ:
%dK=load i8*,i8**%e,align 8
%dL=icmp eq i8*%dK,null
br i1%dL,label%dM,label%d6
dM:
store i8*null,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%h,align 8
%dN=call fastcc i8*@_SMLFN6String3strE(i8 inreg%X)
store i8*%dN,i8**%d,align 8
%dO=call i8*@sml_alloc(i32 inreg 28)#0
%dP=getelementptr inbounds i8,i8*%dO,i64 -4
%dQ=bitcast i8*%dP to i32*
store i32 1342177304,i32*%dQ,align 4
store i8*%dO,i8**%e,align 8
%dR=bitcast i8*%dO to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL79,i64 0,i32 2)to i8*),i8**%dR,align 8
%dS=getelementptr inbounds i8,i8*%dO,i64 8
%dT=bitcast i8*%dS to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@h,i64 0,i32 2,i64 0),i8**%dT,align 8
%dU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dV=getelementptr inbounds i8,i8*%dO,i64 16
%dW=bitcast i8*%dV to i8**
store i8*%dU,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dO,i64 24
%dY=bitcast i8*%dX to i32*
store i32 7,i32*%dY,align 4
%dZ=call i8*@sml_alloc(i32 inreg 60)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177336,i32*%d1,align 4
%d2=getelementptr inbounds i8,i8*%dZ,i64 56
%d3=bitcast i8*%d2 to i32*
store i32 1,i32*%d3,align 4
%d4=load i8*,i8**%e,align 8
%d5=bitcast i8*%dZ to i8**
store i8*%d4,i8**%d5,align 8
call void@sml_raise(i8*inreg%dZ)#1
unreachable
d6:
%d7=bitcast i8*%dK to i8**
%d8=getelementptr inbounds i8,i8*%dK,i64 8
%d9=bitcast i8*%d8 to i8**
%ea=load i8*,i8**%d9,align 8
store i8*%ea,i8**%f,align 8
%eb=load i8*,i8**%d,align 8
%ec=getelementptr inbounds i8,i8*%eb,i64 16
%ed=bitcast i8*%ec to i8*(i8*,i8*)**
%ee=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ed,align 8
store i8*null,i8**%d,align 8
%ef=bitcast i8*%eb to i8**
%eg=load i8*,i8**%ef,align 8
store i8*null,i8**%e,align 8
%eh=load i8*,i8**%d7,align 8
%ei=call fastcc i8*%ee(i8*inreg%eg,i8*inreg%eh)
store i8*%ei,i8**%d,align 8
%ej=load i8*,i8**%h,align 8
%ek=getelementptr inbounds i8,i8*%ej,i64 4
%el=bitcast i8*%ek to i32*
%em=load i32,i32*%el,align 4
store i8*null,i8**%h,align 8
%en=bitcast i8*%ej to i32*
%eo=load i32,i32*%en,align 4
%ep=call i8*@sml_alloc(i32 inreg%F)#0
%eq=or i32%A,1342177280
%er=getelementptr inbounds i8,i8*%ep,i64 -4
%es=bitcast i8*%er to i32*
store i32%eq,i32*%es,align 4
store i8*%ep,i8**%e,align 8
call void@llvm.memset.p0i8.i32(i8*%ep,i8 0,i32%F,i1 false)
%et=bitcast i8*%ep to i32*
store i32 1,i32*%et,align 4
%eu=icmp eq i32%eo,0
%ev=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ew=sext i32%x to i64
%ex=getelementptr inbounds i8,i8*%ep,i64%ew
br i1%eu,label%eA,label%ey
ey:
%ez=bitcast i8*%ex to i8**
store i8*%ev,i8**%ez,align 8
br label%eB
eA:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ex,i8*%ev,i32%em,i1 false)
br label%eB
eB:
%eC=sext i32%A to i64
%eD=getelementptr inbounds i8,i8*%ep,i64%eC
%eE=bitcast i8*%eD to i32*
store i32%E,i32*%eE,align 4
%eF=call i8*@sml_alloc(i32 inreg 20)#0
%eG=getelementptr inbounds i8,i8*%eF,i64 -4
%eH=bitcast i8*%eG to i32*
store i32 1342177296,i32*%eH,align 4
%eI=load i8*,i8**%e,align 8
%eJ=bitcast i8*%eF to i8**
store i8*%eI,i8**%eJ,align 8
%eK=getelementptr inbounds i8,i8*%eF,i64 8
%eL=bitcast i8*%eK to i8**
store i8*null,i8**%eL,align 8
%eM=getelementptr inbounds i8,i8*%eF,i64 16
%eN=bitcast i8*%eM to i32*
store i32 3,i32*%eN,align 4
store i8*%eI,i8**%d,align 8
store i8*null,i8**%e,align 8
%eO=call i8*@sml_alloc(i32 inreg 20)#0
%eP=getelementptr inbounds i8,i8*%eO,i64 -4
%eQ=bitcast i8*%eP to i32*
store i32 1342177296,i32*%eQ,align 4
store i8*%eO,i8**%g,align 8
%eR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eS=bitcast i8*%eO to i8**
store i8*%eR,i8**%eS,align 8
%eT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eU=getelementptr inbounds i8,i8*%eO,i64 8
%eV=bitcast i8*%eU to i8**
store i8*%eT,i8**%eV,align 8
%eW=getelementptr inbounds i8,i8*%eO,i64 16
%eX=bitcast i8*%eW to i32*
store i32 3,i32*%eX,align 4
%eY=call i8*@sml_alloc(i32 inreg 20)#0
%eZ=getelementptr inbounds i8,i8*%eY,i64 -4
%e0=bitcast i8*%eZ to i32*
store i32 1342177296,i32*%e0,align 4
%e1=load i8*,i8**%g,align 8
%e2=bitcast i8*%eY to i8**
store i8*%e1,i8**%e2,align 8
%e3=load i8*,i8**%f,align 8
%e4=getelementptr inbounds i8,i8*%eY,i64 8
%e5=bitcast i8*%e4 to i8**
store i8*%e3,i8**%e5,align 8
%e6=getelementptr inbounds i8,i8*%eY,i64 16
%e7=bitcast i8*%e6 to i32*
store i32 3,i32*%e7,align 4
ret i8*%eY
e8:
%e9=load i8*,i8**%d,align 8
%fa=getelementptr inbounds i8,i8*%e9,i64 16
%fb=bitcast i8*%fa to i8*(i8*,i8*)**
%fc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fb,align 8
%fd=bitcast i8*%e9 to i8**
%fe=load i8*,i8**%fd,align 8
store i8*%fe,i8**%d,align 8
%ff=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fg=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%ff)
%fh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fi=call fastcc i8*%fc(i8*inreg%fh,i8*inreg%fg)
store i8*%fi,i8**%d,align 8
%fj=load i8*,i8**%h,align 8
%fk=getelementptr inbounds i8,i8*%fj,i64 4
%fl=bitcast i8*%fk to i32*
%fm=load i32,i32*%fl,align 4
store i8*null,i8**%h,align 8
%fn=bitcast i8*%fj to i32*
%fo=load i32,i32*%fn,align 4
%fp=call i8*@sml_alloc(i32 inreg%F)#0
%fq=or i32%A,1342177280
%fr=getelementptr inbounds i8,i8*%fp,i64 -4
%fs=bitcast i8*%fr to i32*
store i32%fq,i32*%fs,align 4
store i8*%fp,i8**%f,align 8
call void@llvm.memset.p0i8.i32(i8*%fp,i8 0,i32%F,i1 false)
%ft=bitcast i8*%fp to i32*
store i32 1,i32*%ft,align 4
%fu=icmp eq i32%fo,0
%fv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fw=sext i32%x to i64
%fx=getelementptr inbounds i8,i8*%fp,i64%fw
br i1%fu,label%fA,label%fy
fy:
%fz=bitcast i8*%fx to i8**
store i8*%fv,i8**%fz,align 8
br label%fB
fA:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fx,i8*%fv,i32%fm,i1 false)
br label%fB
fB:
%fC=sext i32%A to i64
%fD=getelementptr inbounds i8,i8*%fp,i64%fC
%fE=bitcast i8*%fD to i32*
store i32%E,i32*%fE,align 4
%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
%fI=load i8*,i8**%f,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*null,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
store i8*%fI,i8**%d,align 8
store i8*null,i8**%f,align 8
%fO=call i8*@sml_alloc(i32 inreg 20)#0
%fP=getelementptr inbounds i8,i8*%fO,i64 -4
%fQ=bitcast i8*%fP to i32*
store i32 1342177296,i32*%fQ,align 4
store i8*%fO,i8**%g,align 8
%fR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fS=bitcast i8*%fO to i8**
store i8*%fR,i8**%fS,align 8
%fT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fU=getelementptr inbounds i8,i8*%fO,i64 8
%fV=bitcast i8*%fU to i8**
store i8*%fT,i8**%fV,align 8
%fW=getelementptr inbounds i8,i8*%fO,i64 16
%fX=bitcast i8*%fW to i32*
store i32 3,i32*%fX,align 4
%fY=call i8*@sml_alloc(i32 inreg 20)#0
%fZ=getelementptr inbounds i8,i8*%fY,i64 -4
%f0=bitcast i8*%fZ to i32*
store i32 1342177296,i32*%f0,align 4
%f1=load i8*,i8**%g,align 8
%f2=bitcast i8*%fY to i8**
store i8*%f1,i8**%f2,align 8
%f3=load i8*,i8**%e,align 8
%f4=getelementptr inbounds i8,i8*%fY,i64 8
%f5=bitcast i8*%f4 to i8**
store i8*%f3,i8**%f5,align 8
%f6=getelementptr inbounds i8,i8*%fY,i64 16
%f7=bitcast i8*%f6 to i32*
store i32 3,i32*%f7,align 4
ret i8*%fY
f8:
%f9=load i8*,i8**%h,align 8
%ga=bitcast i8*%f9 to i32*
%gb=load i32,i32*%ga,align 4
%gc=icmp eq i32%gb,0
br i1%gc,label%gi,label%gd
gd:
store i8*null,i8**%g,align 8
%ge=sext i32%x to i64
%gf=getelementptr inbounds i8,i8*%a6,i64%ge
%gg=bitcast i8*%gf to i8**
%gh=load i8*,i8**%gg,align 8
br label%gs
gi:
%gj=getelementptr inbounds i8,i8*%f9,i64 4
%gk=bitcast i8*%gj to i32*
%gl=load i32,i32*%gk,align 4
%gm=call i8*@sml_alloc(i32 inreg%gl)#0
%gn=getelementptr inbounds i8,i8*%gm,i64 -4
%go=bitcast i8*%gn to i32*
store i32%gl,i32*%go,align 4
%gp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gq=sext i32%x to i64
%gr=getelementptr inbounds i8,i8*%gp,i64%gq
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gm,i8*%gr,i32%gl,i1 false)
br label%gs
gs:
%gt=phi i8*[%gm,%gi],[%gh,%gd]
store i8*%gt,i8**%g,align 8
store i8*null,i8**%d,align 8
%gu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gv=call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%gu)
%gw=icmp eq i32%gv,0
br i1%gw,label%hd,label%gx
gx:
%gy=load i8*,i8**%h,align 8
%gz=getelementptr inbounds i8,i8*%gy,i64 4
%gA=bitcast i8*%gz to i32*
%gB=load i32,i32*%gA,align 4
store i8*null,i8**%h,align 8
%gC=bitcast i8*%gy to i32*
%gD=load i32,i32*%gC,align 4
%gE=call i8*@sml_alloc(i32 inreg%F)#0
%gF=or i32%A,1342177280
%gG=getelementptr inbounds i8,i8*%gE,i64 -4
%gH=bitcast i8*%gG to i32*
store i32%gF,i32*%gH,align 4
store i8*%gE,i8**%d,align 8
call void@llvm.memset.p0i8.i32(i8*%gE,i8 0,i32%F,i1 false)
%gI=bitcast i8*%gE to i32*
store i32 1,i32*%gI,align 4
%gJ=icmp eq i32%gD,0
%gK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gL=sext i32%x to i64
%gM=getelementptr inbounds i8,i8*%gE,i64%gL
br i1%gJ,label%gP,label%gN
gN:
%gO=bitcast i8*%gM to i8**
store i8*%gK,i8**%gO,align 8
br label%gQ
gP:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gM,i8*%gK,i32%gB,i1 false)
br label%gQ
gQ:
%gR=sext i32%A to i64
%gS=getelementptr inbounds i8,i8*%gE,i64%gR
%gT=bitcast i8*%gS to i32*
store i32%E,i32*%gT,align 4
%gU=call i8*@sml_alloc(i32 inreg 20)#0
%gV=getelementptr inbounds i8,i8*%gU,i64 -4
%gW=bitcast i8*%gV to i32*
store i32 1342177296,i32*%gW,align 4
store i8*%gU,i8**%f,align 8
%gX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gY=bitcast i8*%gU to i8**
store i8*%gX,i8**%gY,align 8
%gZ=getelementptr inbounds i8,i8*%gU,i64 8
%g0=bitcast i8*%gZ to i8**
store i8*null,i8**%g0,align 8
%g1=getelementptr inbounds i8,i8*%gU,i64 16
%g2=bitcast i8*%g1 to i32*
store i32 3,i32*%g2,align 4
%g3=call i8*@sml_alloc(i32 inreg 20)#0
%g4=getelementptr inbounds i8,i8*%g3,i64 -4
%g5=bitcast i8*%g4 to i32*
store i32 1342177296,i32*%g5,align 4
%g6=load i8*,i8**%f,align 8
%g7=bitcast i8*%g3 to i8**
store i8*%g6,i8**%g7,align 8
%g8=load i8*,i8**%e,align 8
%g9=getelementptr inbounds i8,i8*%g3,i64 8
%ha=bitcast i8*%g9 to i8**
store i8*%g8,i8**%ha,align 8
%hb=getelementptr inbounds i8,i8*%g3,i64 16
%hc=bitcast i8*%hb to i32*
store i32 3,i32*%hc,align 4
ret i8*%g3
hd:
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%he=call fastcc i8*@_SMLFN6String3strE(i8 inreg%X)
store i8*%he,i8**%d,align 8
%hf=call i8*@sml_alloc(i32 inreg 28)#0
%hg=getelementptr inbounds i8,i8*%hf,i64 -4
%hh=bitcast i8*%hg to i32*
store i32 1342177304,i32*%hh,align 4
store i8*%hf,i8**%e,align 8
%hi=bitcast i8*%hf to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL82,i64 0,i32 2)to i8*),i8**%hi,align 8
%hj=getelementptr inbounds i8,i8*%hf,i64 8
%hk=bitcast i8*%hj to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@g,i64 0,i32 2,i64 0),i8**%hk,align 8
%hl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hm=getelementptr inbounds i8,i8*%hf,i64 16
%hn=bitcast i8*%hm to i8**
store i8*%hl,i8**%hn,align 8
%ho=getelementptr inbounds i8,i8*%hf,i64 24
%hp=bitcast i8*%ho to i32*
store i32 7,i32*%hp,align 4
%hq=call i8*@sml_alloc(i32 inreg 60)#0
%hr=getelementptr inbounds i8,i8*%hq,i64 -4
%hs=bitcast i8*%hr to i32*
store i32 1342177336,i32*%hs,align 4
%ht=getelementptr inbounds i8,i8*%hq,i64 56
%hu=bitcast i8*%ht to i32*
store i32 1,i32*%hu,align 4
%hv=load i8*,i8**%e,align 8
%hw=bitcast i8*%hq to i8**
store i8*%hv,i8**%hw,align 8
call void@sml_raise(i8*inreg%hq)#1
unreachable
}
define internal fastcc i32@_SMLL10isNotDelim_100(i8 inreg%a)#4 gc"smlsharp"{
%b=icmp ne i8%a,61
%c=icmp ne i8%a,44
%d=and i1%b,%c
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i32@_SMLLN10GetOptLong9parseLongE_102(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
%g=tail call i32@sml_obj_equal(i8*inreg%d,i8*inreg%f)#0
ret i32%g
}
define internal fastcc i8*@_SMLLN10GetOptLong9parseLongE_107(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%g,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%a,%p]
%q=phi i8*[%l,%k],[%b,%p]
%r=getelementptr inbounds i8,i8*%o,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=add i32%t,3
%v=sub i32 0,%t
%w=and i32%u,%v
%x=add i32%t,7
%y=add i32%x,%w
%z=and i32%y,-8
%A=lshr i32%w,3
%B=getelementptr inbounds i8,i8*%o,i64 8
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
%E=shl i32%D,%A
%F=or i32%z,4
%G=getelementptr inbounds i8,i8*%q,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%e,align 8
%J=call fastcc i8*@_SMLFN9Substring6splitlE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*))
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
%P=bitcast i8**%c to i8***
%Q=load i8**,i8***%P,align 8
store i8*null,i8**%c,align 8
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*%M(i8*inreg%O,i8*inreg%R)
store i8*%S,i8**%d,align 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%U)
store i8*%V,i8**%c,align 8
%W=call fastcc i8*@_SMLFN4List4findE(i32 inreg 1,i32 inreg 8)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%f,align 8
%ac=call i8*@sml_alloc(i32 inreg 12)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177288,i32*%ae,align 4
store i8*%ac,i8**%h,align 8
%af=load i8*,i8**%c,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to i32*
store i32 1,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 28)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177304,i32*%al,align 4
%am=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN10GetOptLong9parseLongE_102 to void(...)*),void(...)**%ap,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 16
%ar=bitcast i8*%aq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong9parseLongE_130 to void(...)*),void(...)**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 24
%at=bitcast i8*%as to i32*
store i32 -2147483647,i32*%at,align 4
%au=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%av=call fastcc i8*%Z(i8*inreg%au,i8*inreg%aj)
%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
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
%aB=bitcast i8**%g to i8***
%aC=load i8**,i8***%aB,align 8
%aD=load i8*,i8**%aC,align 8
%aE=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aD)
%aF=icmp eq i8*%aE,null
br i1%aF,label%aG,label%aZ
aG:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
%aH=call i8*@sml_alloc(i32 inreg 28)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,i32*%aJ,align 4
store i8*%aH,i8**%d,align 8
%aK=bitcast i8*%aH to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL85,i64 0,i32 2)to i8*),i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aH,i64 8
%aM=bitcast i8*%aL to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@r,i64 0,i32 2,i64 0),i8**%aM,align 8
%aN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 24
%aR=bitcast i8*%aQ to i32*
store i32 7,i32*%aR,align 4
%aS=call i8*@sml_alloc(i32 inreg 60)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177336,i32*%aU,align 4
%aV=getelementptr inbounds i8,i8*%aS,i64 56
%aW=bitcast i8*%aV to i32*
store i32 1,i32*%aW,align 4
%aX=load i8*,i8**%d,align 8
%aY=bitcast i8*%aS to i8**
store i8*%aX,i8**%aY,align 8
call void@sml_raise(i8*inreg%aS)#1
unreachable
aZ:
%a0=bitcast i8*%aE to i8**
%a1=load i8*,i8**%a0,align 8
%a2=getelementptr inbounds i8,i8*%a1,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%f,align 8
%a5=bitcast i8*%a4 to i32*
%a6=load i32,i32*%a5,align 4
switch i32%a6,label%a7[
i32 0,label%gz
i32 2,label%dP
i32 1,label%bp
]
a7:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%a8=load i8*,i8**@_SMLZ5Match,align 8
store i8*%a8,i8**%c,align 8
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
store i8*%a9,i8**%d,align 8
%bc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a9,i64 8
%bf=bitcast i8*%be to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@q,i64 0,i32 2,i64 0),i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a9,i64 16
%bh=bitcast i8*%bg to i32*
store i32 3,i32*%bh,align 4
%bi=call i8*@sml_alloc(i32 inreg 60)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177336,i32*%bk,align 4
%bl=getelementptr inbounds i8,i8*%bi,i64 56
%bm=bitcast i8*%bl to i32*
store i32 1,i32*%bm,align 4
%bn=load i8*,i8**%d,align 8
%bo=bitcast i8*%bi to i8**
store i8*%bn,i8**%bo,align 8
call void@sml_raise(i8*inreg%bi)#1
unreachable
bp:
store i8*null,i8**%f,align 8
%bq=getelementptr inbounds i8,i8*%a4,i64 8
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%c,align 8
%bt=load i8*,i8**%d,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 8
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
%bx=call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%bw)
%by=icmp eq i32%bx,0
br i1%by,label%cx,label%bz
bz:
store i8*null,i8**%d,align 8
%bA=load i8*,i8**%c,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
store i8*null,i8**%c,align 8
%bE=bitcast i8*%bA to i8**
%bF=load i8*,i8**%bE,align 8
%bG=call fastcc i8*%bD(i8*inreg%bF,i8*inreg null)
store i8*%bG,i8**%c,align 8
%bH=load i8*,i8**%g,align 8
%bI=getelementptr inbounds i8,i8*%bH,i64 12
%bJ=bitcast i8*%bI to i32*
%bK=load i32,i32*%bJ,align 4
store i8*null,i8**%g,align 8
%bL=getelementptr inbounds i8,i8*%bH,i64 8
%bM=bitcast i8*%bL to i32*
%bN=load i32,i32*%bM,align 4
%bO=call i8*@sml_alloc(i32 inreg%F)#0
%bP=or i32%z,1342177280
%bQ=getelementptr inbounds i8,i8*%bO,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32%bP,i32*%bR,align 4
store i8*%bO,i8**%d,align 8
call void@llvm.memset.p0i8.i32(i8*%bO,i8 0,i32%F,i1 false)
%bS=bitcast i8*%bO to i32*
store i32 1,i32*%bS,align 4
%bT=icmp eq i32%bN,0
%bU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bV=sext i32%w to i64
%bW=getelementptr inbounds i8,i8*%bO,i64%bV
br i1%bT,label%bZ,label%bX
bX:
%bY=bitcast i8*%bW to i8**
store i8*%bU,i8**%bY,align 8
br label%b0
bZ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bW,i8*%bU,i32%bK,i1 false)
br label%b0
b0:
%b1=sext i32%z to i64
%b2=getelementptr inbounds i8,i8*%bO,i64%b1
%b3=bitcast i8*%b2 to i32*
store i32%E,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=load i8*,i8**%d,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b4,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*null,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 16
%cc=bitcast i8*%cb to i32*
store i32 3,i32*%cc,align 4
store i8*%b7,i8**%c,align 8
store i8*null,i8**%d,align 8
%cd=call i8*@sml_alloc(i32 inreg 20)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177296,i32*%cf,align 4
store i8*%cd,i8**%f,align 8
%cg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ch=bitcast i8*%cd to i8**
store i8*%cg,i8**%ch,align 8
%ci=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cj=getelementptr inbounds i8,i8*%cd,i64 8
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cd,i64 16
%cm=bitcast i8*%cl to i32*
store i32 3,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg 20)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177296,i32*%cp,align 4
%cq=load i8*,i8**%f,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=load i8*,i8**%e,align 8
%ct=getelementptr inbounds i8,i8*%cn,i64 8
%cu=bitcast i8*%ct to i8**
store i8*%cs,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cn,i64 16
%cw=bitcast i8*%cv to i32*
store i32 3,i32*%cw,align 4
ret i8*%cn
cx:
%cy=load i8*,i8**%c,align 8
%cz=getelementptr inbounds i8,i8*%cy,i64 16
%cA=bitcast i8*%cz to i8*(i8*,i8*)**
%cB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cA,align 8
store i8*null,i8**%c,align 8
%cC=bitcast i8*%cy to i8**
%cD=load i8*,i8**%cC,align 8
store i8*%cD,i8**%f,align 8
%cE=call fastcc i8*@_SMLFN9Substring5trimlE(i32 inreg 1)
%cF=getelementptr inbounds i8,i8*%cE,i64 16
%cG=bitcast i8*%cF to i8*(i8*,i8*)**
%cH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cG,align 8
%cI=bitcast i8*%cE to i8**
%cJ=load i8*,i8**%cI,align 8
%cK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cL=getelementptr inbounds i8,i8*%cK,i64 8
%cM=bitcast i8*%cL to i8**
%cN=load i8*,i8**%cM,align 8
%cO=call fastcc i8*%cH(i8*inreg%cJ,i8*inreg%cN)
%cP=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%cO)
store i8*%cP,i8**%c,align 8
%cQ=call i8*@sml_alloc(i32 inreg 12)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177288,i32*%cS,align 4
%cT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cU=bitcast i8*%cQ to i8**
store i8*%cT,i8**%cU,align 8
%cV=getelementptr inbounds i8,i8*%cQ,i64 8
%cW=bitcast i8*%cV to i32*
store i32 1,i32*%cW,align 4
%cX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cY=call fastcc i8*%cB(i8*inreg%cX,i8*inreg%cQ)
store i8*%cY,i8**%c,align 8
%cZ=load i8*,i8**%g,align 8
%c0=getelementptr inbounds i8,i8*%cZ,i64 12
%c1=bitcast i8*%c0 to i32*
%c2=load i32,i32*%c1,align 4
store i8*null,i8**%g,align 8
%c3=getelementptr inbounds i8,i8*%cZ,i64 8
%c4=bitcast i8*%c3 to i32*
%c5=load i32,i32*%c4,align 4
%c6=call i8*@sml_alloc(i32 inreg%F)#0
%c7=or i32%z,1342177280
%c8=getelementptr inbounds i8,i8*%c6,i64 -4
%c9=bitcast i8*%c8 to i32*
store i32%c7,i32*%c9,align 4
store i8*%c6,i8**%d,align 8
call void@llvm.memset.p0i8.i32(i8*%c6,i8 0,i32%F,i1 false)
%da=bitcast i8*%c6 to i32*
store i32 1,i32*%da,align 4
%db=icmp eq i32%c5,0
%dc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dd=sext i32%w to i64
%de=getelementptr inbounds i8,i8*%c6,i64%dd
br i1%db,label%dh,label%df
df:
%dg=bitcast i8*%de to i8**
store i8*%dc,i8**%dg,align 8
br label%di
dh:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%de,i8*%dc,i32%c2,i1 false)
br label%di
di:
%dj=sext i32%z to i64
%dk=getelementptr inbounds i8,i8*%c6,i64%dj
%dl=bitcast i8*%dk to i32*
store i32%E,i32*%dl,align 4
%dm=call i8*@sml_alloc(i32 inreg 20)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177296,i32*%do,align 4
%dp=load i8*,i8**%d,align 8
%dq=bitcast i8*%dm to i8**
store i8*%dp,i8**%dq,align 8
%dr=getelementptr inbounds i8,i8*%dm,i64 8
%ds=bitcast i8*%dr to i8**
store i8*null,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dm,i64 16
%du=bitcast i8*%dt to i32*
store i32 3,i32*%du,align 4
store i8*%dp,i8**%c,align 8
store i8*null,i8**%d,align 8
%dv=call i8*@sml_alloc(i32 inreg 20)#0
%dw=getelementptr inbounds i8,i8*%dv,i64 -4
%dx=bitcast i8*%dw to i32*
store i32 1342177296,i32*%dx,align 4
store i8*%dv,i8**%f,align 8
%dy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dz=bitcast i8*%dv to i8**
store i8*%dy,i8**%dz,align 8
%dA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dB=getelementptr inbounds i8,i8*%dv,i64 8
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=getelementptr inbounds i8,i8*%dv,i64 16
%dE=bitcast i8*%dD to i32*
store i32 3,i32*%dE,align 4
%dF=call i8*@sml_alloc(i32 inreg 20)#0
%dG=getelementptr inbounds i8,i8*%dF,i64 -4
%dH=bitcast i8*%dG to i32*
store i32 1342177296,i32*%dH,align 4
%dI=load i8*,i8**%f,align 8
%dJ=bitcast i8*%dF to i8**
store i8*%dI,i8**%dJ,align 8
%dK=load i8*,i8**%e,align 8
%dL=getelementptr inbounds i8,i8*%dF,i64 8
%dM=bitcast i8*%dL to i8**
store i8*%dK,i8**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dF,i64 16
%dO=bitcast i8*%dN to i32*
store i32 3,i32*%dO,align 4
ret i8*%dF
dP:
%dQ=getelementptr inbounds i8,i8*%a4,i64 8
%dR=bitcast i8*%dQ to i8**
%dS=load i8*,i8**%dR,align 8
store i8*%dS,i8**%f,align 8
%dT=load i8*,i8**%d,align 8
%dU=getelementptr inbounds i8,i8*%dT,i64 8
%dV=bitcast i8*%dU to i8**
%dW=load i8*,i8**%dV,align 8
%dX=call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%dW)
%dY=icmp eq i32%dX,0
br i1%dY,label%fo,label%dZ
dZ:
%d0=load i8*,i8**%e,align 8
%d1=icmp eq i8*%d0,null
br i1%d1,label%d2,label%el
d2:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%d3=call i8*@sml_alloc(i32 inreg 28)#0
%d4=getelementptr inbounds i8,i8*%d3,i64 -4
%d5=bitcast i8*%d4 to i32*
store i32 1342177304,i32*%d5,align 4
store i8*%d3,i8**%d,align 8
%d6=bitcast i8*%d3 to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL79,i64 0,i32 2)to i8*),i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%d3,i64 8
%d8=bitcast i8*%d7 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@p,i64 0,i32 2,i64 0),i8**%d8,align 8
%d9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ea=getelementptr inbounds i8,i8*%d3,i64 16
%eb=bitcast i8*%ea to i8**
store i8*%d9,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d3,i64 24
%ed=bitcast i8*%ec to i32*
store i32 7,i32*%ed,align 4
%ee=call i8*@sml_alloc(i32 inreg 60)#0
%ef=getelementptr inbounds i8,i8*%ee,i64 -4
%eg=bitcast i8*%ef to i32*
store i32 1342177336,i32*%eg,align 4
%eh=getelementptr inbounds i8,i8*%ee,i64 56
%ei=bitcast i8*%eh to i32*
store i32 1,i32*%ei,align 4
%ej=load i8*,i8**%d,align 8
%ek=bitcast i8*%ee to i8**
store i8*%ej,i8**%ek,align 8
call void@sml_raise(i8*inreg%ee)#1
unreachable
el:
%em=bitcast i8*%d0 to i8**
store i8*null,i8**%c,align 8
%en=getelementptr inbounds i8,i8*%d0,i64 8
%eo=bitcast i8*%en to i8**
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%d,align 8
%eq=load i8*,i8**%f,align 8
%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
store i8*null,i8**%f,align 8
%eu=bitcast i8*%eq to i8**
%ev=load i8*,i8**%eu,align 8
store i8*null,i8**%e,align 8
%ew=load i8*,i8**%em,align 8
%ex=call fastcc i8*%et(i8*inreg%ev,i8*inreg%ew)
store i8*%ex,i8**%c,align 8
%ey=load i8*,i8**%g,align 8
%ez=getelementptr inbounds i8,i8*%ey,i64 12
%eA=bitcast i8*%ez to i32*
%eB=load i32,i32*%eA,align 4
store i8*null,i8**%g,align 8
%eC=getelementptr inbounds i8,i8*%ey,i64 8
%eD=bitcast i8*%eC to i32*
%eE=load i32,i32*%eD,align 4
%eF=call i8*@sml_alloc(i32 inreg%F)#0
%eG=or i32%z,1342177280
%eH=getelementptr inbounds i8,i8*%eF,i64 -4
%eI=bitcast i8*%eH to i32*
store i32%eG,i32*%eI,align 4
store i8*%eF,i8**%e,align 8
call void@llvm.memset.p0i8.i32(i8*%eF,i8 0,i32%F,i1 false)
%eJ=bitcast i8*%eF to i32*
store i32 1,i32*%eJ,align 4
%eK=icmp eq i32%eE,0
%eL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eM=sext i32%w to i64
%eN=getelementptr inbounds i8,i8*%eF,i64%eM
br i1%eK,label%eQ,label%eO
eO:
%eP=bitcast i8*%eN to i8**
store i8*%eL,i8**%eP,align 8
br label%eR
eQ:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eN,i8*%eL,i32%eB,i1 false)
br label%eR
eR:
%eS=sext i32%z to i64
%eT=getelementptr inbounds i8,i8*%eF,i64%eS
%eU=bitcast i8*%eT to i32*
store i32%E,i32*%eU,align 4
%eV=call i8*@sml_alloc(i32 inreg 20)#0
%eW=getelementptr inbounds i8,i8*%eV,i64 -4
%eX=bitcast i8*%eW to i32*
store i32 1342177296,i32*%eX,align 4
%eY=load i8*,i8**%e,align 8
%eZ=bitcast i8*%eV to i8**
store i8*%eY,i8**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eV,i64 8
%e1=bitcast i8*%e0 to i8**
store i8*null,i8**%e1,align 8
%e2=getelementptr inbounds i8,i8*%eV,i64 16
%e3=bitcast i8*%e2 to i32*
store i32 3,i32*%e3,align 4
store i8*%eY,i8**%c,align 8
store i8*null,i8**%e,align 8
%e4=call i8*@sml_alloc(i32 inreg 20)#0
%e5=getelementptr inbounds i8,i8*%e4,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177296,i32*%e6,align 4
store i8*%e4,i8**%f,align 8
%e7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e8=bitcast i8*%e4 to i8**
store i8*%e7,i8**%e8,align 8
%e9=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fa=getelementptr inbounds i8,i8*%e4,i64 8
%fb=bitcast i8*%fa to i8**
store i8*%e9,i8**%fb,align 8
%fc=getelementptr inbounds i8,i8*%e4,i64 16
%fd=bitcast i8*%fc to i32*
store i32 3,i32*%fd,align 4
%fe=call i8*@sml_alloc(i32 inreg 20)#0
%ff=getelementptr inbounds i8,i8*%fe,i64 -4
%fg=bitcast i8*%ff to i32*
store i32 1342177296,i32*%fg,align 4
%fh=load i8*,i8**%f,align 8
%fi=bitcast i8*%fe to i8**
store i8*%fh,i8**%fi,align 8
%fj=load i8*,i8**%d,align 8
%fk=getelementptr inbounds i8,i8*%fe,i64 8
%fl=bitcast i8*%fk to i8**
store i8*%fj,i8**%fl,align 8
%fm=getelementptr inbounds i8,i8*%fe,i64 16
%fn=bitcast i8*%fm to i32*
store i32 3,i32*%fn,align 4
ret i8*%fe
fo:
%fp=load i8*,i8**%f,align 8
%fq=getelementptr inbounds i8,i8*%fp,i64 16
%fr=bitcast i8*%fq to i8*(i8*,i8*)**
%fs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fr,align 8
store i8*null,i8**%f,align 8
%ft=bitcast i8*%fp to i8**
%fu=load i8*,i8**%ft,align 8
store i8*%fu,i8**%c,align 8
%fv=call fastcc i8*@_SMLFN9Substring5trimlE(i32 inreg 1)
%fw=getelementptr inbounds i8,i8*%fv,i64 16
%fx=bitcast i8*%fw to i8*(i8*,i8*)**
%fy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fx,align 8
%fz=bitcast i8*%fv to i8**
%fA=load i8*,i8**%fz,align 8
%fB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fC=getelementptr inbounds i8,i8*%fB,i64 8
%fD=bitcast i8*%fC to i8**
%fE=load i8*,i8**%fD,align 8
%fF=call fastcc i8*%fy(i8*inreg%fA,i8*inreg%fE)
%fG=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%fF)
%fH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fI=call fastcc i8*%fs(i8*inreg%fH,i8*inreg%fG)
store i8*%fI,i8**%c,align 8
%fJ=load i8*,i8**%g,align 8
%fK=getelementptr inbounds i8,i8*%fJ,i64 12
%fL=bitcast i8*%fK to i32*
%fM=load i32,i32*%fL,align 4
store i8*null,i8**%g,align 8
%fN=getelementptr inbounds i8,i8*%fJ,i64 8
%fO=bitcast i8*%fN to i32*
%fP=load i32,i32*%fO,align 4
%fQ=call i8*@sml_alloc(i32 inreg%F)#0
%fR=or i32%z,1342177280
%fS=getelementptr inbounds i8,i8*%fQ,i64 -4
%fT=bitcast i8*%fS to i32*
store i32%fR,i32*%fT,align 4
store i8*%fQ,i8**%d,align 8
call void@llvm.memset.p0i8.i32(i8*%fQ,i8 0,i32%F,i1 false)
%fU=bitcast i8*%fQ to i32*
store i32 1,i32*%fU,align 4
%fV=icmp eq i32%fP,0
%fW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fX=sext i32%w to i64
%fY=getelementptr inbounds i8,i8*%fQ,i64%fX
br i1%fV,label%f1,label%fZ
fZ:
%f0=bitcast i8*%fY to i8**
store i8*%fW,i8**%f0,align 8
br label%f2
f1:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fY,i8*%fW,i32%fM,i1 false)
br label%f2
f2:
%f3=sext i32%z to i64
%f4=getelementptr inbounds i8,i8*%fQ,i64%f3
%f5=bitcast i8*%f4 to i32*
store i32%E,i32*%f5,align 4
%f6=call i8*@sml_alloc(i32 inreg 20)#0
%f7=getelementptr inbounds i8,i8*%f6,i64 -4
%f8=bitcast i8*%f7 to i32*
store i32 1342177296,i32*%f8,align 4
%f9=load i8*,i8**%d,align 8
%ga=bitcast i8*%f6 to i8**
store i8*%f9,i8**%ga,align 8
%gb=getelementptr inbounds i8,i8*%f6,i64 8
%gc=bitcast i8*%gb to i8**
store i8*null,i8**%gc,align 8
%gd=getelementptr inbounds i8,i8*%f6,i64 16
%ge=bitcast i8*%gd to i32*
store i32 3,i32*%ge,align 4
store i8*%f9,i8**%c,align 8
store i8*null,i8**%d,align 8
%gf=call i8*@sml_alloc(i32 inreg 20)#0
%gg=getelementptr inbounds i8,i8*%gf,i64 -4
%gh=bitcast i8*%gg to i32*
store i32 1342177296,i32*%gh,align 4
store i8*%gf,i8**%f,align 8
%gi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gj=bitcast i8*%gf to i8**
store i8*%gi,i8**%gj,align 8
%gk=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gl=getelementptr inbounds i8,i8*%gf,i64 8
%gm=bitcast i8*%gl to i8**
store i8*%gk,i8**%gm,align 8
%gn=getelementptr inbounds i8,i8*%gf,i64 16
%go=bitcast i8*%gn to i32*
store i32 3,i32*%go,align 4
%gp=call i8*@sml_alloc(i32 inreg 20)#0
%gq=getelementptr inbounds i8,i8*%gp,i64 -4
%gr=bitcast i8*%gq to i32*
store i32 1342177296,i32*%gr,align 4
%gs=load i8*,i8**%f,align 8
%gt=bitcast i8*%gp to i8**
store i8*%gs,i8**%gt,align 8
%gu=load i8*,i8**%e,align 8
%gv=getelementptr inbounds i8,i8*%gp,i64 8
%gw=bitcast i8*%gv to i8**
store i8*%gu,i8**%gw,align 8
%gx=getelementptr inbounds i8,i8*%gp,i64 16
%gy=bitcast i8*%gx to i32*
store i32 3,i32*%gy,align 4
ret i8*%gp
gz:
%gA=load i8*,i8**%g,align 8
%gB=getelementptr inbounds i8,i8*%gA,i64 8
%gC=bitcast i8*%gB to i32*
%gD=load i32,i32*%gC,align 4
%gE=icmp eq i32%gD,0
br i1%gE,label%gK,label%gF
gF:
store i8*null,i8**%f,align 8
%gG=sext i32%w to i64
%gH=getelementptr inbounds i8,i8*%a4,i64%gG
%gI=bitcast i8*%gH to i8**
%gJ=load i8*,i8**%gI,align 8
br label%gU
gK:
%gL=getelementptr inbounds i8,i8*%gA,i64 12
%gM=bitcast i8*%gL to i32*
%gN=load i32,i32*%gM,align 4
%gO=call i8*@sml_alloc(i32 inreg%gN)#0
%gP=getelementptr inbounds i8,i8*%gO,i64 -4
%gQ=bitcast i8*%gP to i32*
store i32%gN,i32*%gQ,align 4
%gR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gS=sext i32%w to i64
%gT=getelementptr inbounds i8,i8*%gR,i64%gS
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%gO,i8*%gT,i32%gN,i1 false)
br label%gU
gU:
%gV=phi i8*[%gO,%gK],[%gJ,%gF]
store i8*%gV,i8**%f,align 8
%gW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gX=getelementptr inbounds i8,i8*%gW,i64 8
%gY=bitcast i8*%gX to i8**
%gZ=load i8*,i8**%gY,align 8
%g0=call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%gZ)
%g1=icmp eq i32%g0,0
br i1%g1,label%hJ,label%g2
g2:
store i8*null,i8**%c,align 8
%g3=load i8*,i8**%g,align 8
%g4=getelementptr inbounds i8,i8*%g3,i64 12
%g5=bitcast i8*%g4 to i32*
%g6=load i32,i32*%g5,align 4
store i8*null,i8**%g,align 8
%g7=getelementptr inbounds i8,i8*%g3,i64 8
%g8=bitcast i8*%g7 to i32*
%g9=load i32,i32*%g8,align 4
%ha=call i8*@sml_alloc(i32 inreg%F)#0
%hb=or i32%z,1342177280
%hc=getelementptr inbounds i8,i8*%ha,i64 -4
%hd=bitcast i8*%hc to i32*
store i32%hb,i32*%hd,align 4
store i8*%ha,i8**%c,align 8
call void@llvm.memset.p0i8.i32(i8*%ha,i8 0,i32%F,i1 false)
%he=bitcast i8*%ha to i32*
store i32 1,i32*%he,align 4
%hf=icmp eq i32%g9,0
%hg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hh=sext i32%w to i64
%hi=getelementptr inbounds i8,i8*%ha,i64%hh
br i1%hf,label%hl,label%hj
hj:
%hk=bitcast i8*%hi to i8**
store i8*%hg,i8**%hk,align 8
br label%hm
hl:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%hi,i8*%hg,i32%g6,i1 false)
br label%hm
hm:
%hn=sext i32%z to i64
%ho=getelementptr inbounds i8,i8*%ha,i64%hn
%hp=bitcast i8*%ho to i32*
store i32%E,i32*%hp,align 4
%hq=call i8*@sml_alloc(i32 inreg 20)#0
%hr=getelementptr inbounds i8,i8*%hq,i64 -4
%hs=bitcast i8*%hr to i32*
store i32 1342177296,i32*%hs,align 4
store i8*%hq,i8**%d,align 8
%ht=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hu=bitcast i8*%hq to i8**
store i8*%ht,i8**%hu,align 8
%hv=getelementptr inbounds i8,i8*%hq,i64 8
%hw=bitcast i8*%hv to i8**
store i8*null,i8**%hw,align 8
%hx=getelementptr inbounds i8,i8*%hq,i64 16
%hy=bitcast i8*%hx to i32*
store i32 3,i32*%hy,align 4
%hz=call i8*@sml_alloc(i32 inreg 20)#0
%hA=getelementptr inbounds i8,i8*%hz,i64 -4
%hB=bitcast i8*%hA to i32*
store i32 1342177296,i32*%hB,align 4
%hC=load i8*,i8**%d,align 8
%hD=bitcast i8*%hz to i8**
store i8*%hC,i8**%hD,align 8
%hE=load i8*,i8**%e,align 8
%hF=getelementptr inbounds i8,i8*%hz,i64 8
%hG=bitcast i8*%hF to i8**
store i8*%hE,i8**%hG,align 8
%hH=getelementptr inbounds i8,i8*%hz,i64 16
%hI=bitcast i8*%hH to i32*
store i32 3,i32*%hI,align 4
ret i8*%hz
hJ:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%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**%d,align 8
%hN=bitcast i8*%hK to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL82,i64 0,i32 2)to i8*),i8**%hN,align 8
%hO=getelementptr inbounds i8,i8*%hK,i64 8
%hP=bitcast i8*%hO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@o,i64 0,i32 2,i64 0),i8**%hP,align 8
%hQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hR=getelementptr inbounds i8,i8*%hK,i64 16
%hS=bitcast i8*%hR to i8**
store i8*%hQ,i8**%hS,align 8
%hT=getelementptr inbounds i8,i8*%hK,i64 24
%hU=bitcast i8*%hT to i32*
store i32 7,i32*%hU,align 4
%hV=call i8*@sml_alloc(i32 inreg 60)#0
%hW=getelementptr inbounds i8,i8*%hV,i64 -4
%hX=bitcast i8*%hW to i32*
store i32 1342177336,i32*%hX,align 4
%hY=getelementptr inbounds i8,i8*%hV,i64 56
%hZ=bitcast i8*%hY to i32*
store i32 1,i32*%hZ,align 4
%h0=load i8*,i8**%d,align 8
%h1=bitcast i8*%hV to i8**
store i8*%h0,i8**%h1,align 8
call void@sml_raise(i8*inreg%hV)#1
unreachable
}
define internal fastcc i8*@_SMLLN10GetOptLong9parseLongE_108(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong9parseLongE_107 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong9parseLongE_107 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN10GetOptLong9parseLongE_109(i32 inreg%a,i32 inreg%b)unnamed_addr#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,i8**%c,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong9parseLongE_108 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*)*@_SMLLN10GetOptLong9parseLongE_108 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLLN10GetOptLong9parseArgvE_114(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=call i8*@sml_alloc(i32 inreg 20)#0
%d=getelementptr inbounds i8,i8*%c,i64 -4
%e=bitcast i8*%d to i32*
store i32 1342177296,i32*%e,align 4
%f=bitcast i8*%c to i64*
store i64 0,i64*%f,align 4
%g=load i8*,i8**%b,align 8
%h=getelementptr inbounds i8,i8*%c,i64 8
%i=bitcast i8*%h to i8**
store i8*%g,i8**%i,align 8
%j=getelementptr inbounds i8,i8*%c,i64 16
%k=bitcast i8*%j to i32*
store i32 2,i32*%k,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN10GetOptLong9parseArgvE_111(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"personality i32(...)*@sml_personality{
r:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%e,align 8
store i8*%c,i8**%f,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%p,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%f,align 8
%o=load i8*,i8**%e,align 8
br label%p
p:
%q=phi i8*[%o,%m],[%b,%r]
%s=phi i8*[%n,%m],[%c,%r]
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*%q,i8**%g,align 8
%t=icmp eq i8*%s,null
br i1%t,label%u,label%v
u:
ret i8*null
v:
%w=getelementptr inbounds i8,i8*%s,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%h,align 8
%z=bitcast i8*%s to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%A)
store i8*%B,i8**%e,align 8
%C=call fastcc i8*@_SMLFN9Substring8isPrefixE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@s,i64 0,i32 2,i64 0))
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=load i8*,i8**%e,align 8
%J=call fastcc i8*%F(i8*inreg%H,i8*inreg%I)
%K=bitcast i8*%J to i32*
%L=load i32,i32*%K,align 4
%M=icmp eq i32%L,0
br i1%M,label%bg,label%N
N:
%O=load i8*,i8**%e,align 8
%P=call fastcc i32@_SMLFN9Substring4sizeE(i8*inreg%O)
%Q=icmp slt i32%P,3
br i1%Q,label%aI,label%R
R:
%S=load i8*,i8**%i,align 8
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=getelementptr inbounds i8,i8*%S,i64 4
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=call fastcc i8*@_SMLLN10GetOptLong9parseLongE_109(i32 inreg%U,i32 inreg%X)
%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**%g,align 8
%af=getelementptr inbounds i8,i8*%ae,i64 16
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=call fastcc i8*%ab(i8*inreg%ad,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
store i8*%an,i8**%f,align 8
%ao=call fastcc i8*@_SMLFN9Substring5trimlE(i32 inreg 2)
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
%as=bitcast i8*%ao to i8**
%at=load i8*,i8**%as,align 8
%au=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%av=call fastcc i8*%ar(i8*inreg%at,i8*inreg%au)
store i8*%av,i8**%e,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
%az=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aC=getelementptr inbounds i8,i8*%aw,i64 8
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%aw,i64 16
%aF=bitcast i8*%aE to i32*
store i32 3,i32*%aF,align 4
%aG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aH=call fastcc i8*%al(i8*inreg%aG,i8*inreg%aw)
br label%d1
aI:
store i8*null,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=call fastcc i8*%aM(i8*inreg%aO,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*))
%aQ=getelementptr inbounds i8,i8*%aP,i64 16
%aR=bitcast i8*%aQ to i8*(i8*,i8*)**
%aS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aR,align 8
%aT=bitcast i8*%aP to i8**
%aU=load i8*,i8**%aT,align 8
%aV=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aW=call fastcc i8*%aS(i8*inreg%aU,i8*inreg%aV)
store i8*%aW,i8**%e,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**%e,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*null,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 16
%a5=bitcast i8*%a4 to i32*
store i32 3,i32*%a5,align 4
store i8*null,i8**%f,align 8
%a6=call i8*@sml_alloc(i32 inreg 20)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177296,i32*%a8,align 4
%a9=load i8*,i8**%e,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=load i8*,i8**%f,align 8
%bc=getelementptr inbounds i8,i8*%a6,i64 8
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a6,i64 16
%bf=bitcast i8*%be to i32*
store i32 3,i32*%bf,align 4
br label%d1
bg:
%bh=call fastcc i8*@_SMLFN9Substring8isPrefixE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@t,i64 0,i32 2,i64 0))
%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
%bl=bitcast i8*%bh to i8**
%bm=load i8*,i8**%bl,align 8
%bn=load i8*,i8**%e,align 8
%bo=call fastcc i8*%bk(i8*inreg%bm,i8*inreg%bn)
%bp=bitcast i8*%bo to i32*
%bq=load i32,i32*%bp,align 4
%br=icmp eq i32%bq,0
br i1%br,label%dm,label%bs
bs:
%bt=load i8*,i8**%e,align 8
%bu=call fastcc i32@_SMLFN9Substring4sizeE(i8*inreg%bt)
%bv=icmp slt i32%bu,2
br i1%bv,label%dm,label%bw
bw:
%bx=load i8*,i8**%i,align 8
%by=bitcast i8*%bx to i32*
%bz=load i32,i32*%by,align 4
%bA=getelementptr inbounds i8,i8*%bx,i64 4
%bB=bitcast i8*%bA to i32*
%bC=load i32,i32*%bB,align 4
%bD=call fastcc i8*@_SMLLN10GetOptLong9parseLongE_109(i32 inreg%bz,i32 inreg%bC)
%bE=getelementptr inbounds i8,i8*%bD,i64 16
%bF=bitcast i8*%bE to i8*(i8*,i8*)**
%bG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bF,align 8
%bH=bitcast i8*%bD to i8**
%bI=load i8*,i8**%bH,align 8
%bJ=load i8*,i8**%g,align 8
%bK=getelementptr inbounds i8,i8*%bJ,i64 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
%bN=invoke fastcc i8*%bG(i8*inreg%bI,i8*inreg%bM)
to label%bO unwind label%ch
bO:
%bP=getelementptr inbounds i8,i8*%bN,i64 16
%bQ=bitcast i8*%bP to i8*(i8*,i8*)**
%bR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bQ,align 8
%bS=bitcast i8*%bN to i8**
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%j,align 8
%bU=invoke fastcc i8*@_SMLFN9Substring5trimlE(i32 inreg 1)
to label%bV unwind label%ch
bV:
%bW=getelementptr inbounds i8,i8*%bU,i64 16
%bX=bitcast i8*%bW to i8*(i8*,i8*)**
%bY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bX,align 8
%bZ=bitcast i8*%bU to i8**
%b0=load i8*,i8**%bZ,align 8
%b1=load i8*,i8**%e,align 8
%b2=invoke fastcc i8*%bY(i8*inreg%b0,i8*inreg%b1)
to label%b3 unwind label%ch
b3:
store i8*%b2,i8**%f,align 8
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%h,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b4,i64 16
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
%ce=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cf=invoke fastcc i8*%bR(i8*inreg%ce,i8*inreg%b4)
to label%cg unwind label%ch
cg:
store i8*null,i8**%h,align 8
br label%d1
ch:
%ci=landingpad{i8*,i8*}
catch i8*null
%cj=extractvalue{i8*,i8*}%ci,1
%ck=bitcast i8*%cj to i8**
%cl=load i8*,i8**%ck,align 8
store i8*null,i8**%j,align 8
store i8*%cl,i8**%f,align 8
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
%co=icmp eq i8*%cn,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL85,i64 0,i32 2)to i8*)
br i1%co,label%cp,label%de
cp:
store i8*null,i8**%f,align 8
%cq=load i8*,i8**%i,align 8
%cr=bitcast i8*%cq to i32*
%cs=load i32,i32*%cr,align 4
%ct=getelementptr inbounds i8,i8*%cq,i64 4
%cu=bitcast i8*%ct to i32*
%cv=load i32,i32*%cu,align 4
%cw=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cw)
call void@llvm.gcroot(i8**%d,i8*null)#0
%cx=call i8*@sml_alloc(i32 inreg 12)#0
%cy=bitcast i8*%cx to i32*
%cz=getelementptr inbounds i8,i8*%cx,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177288,i32*%cA,align 4
store i8*%cx,i8**%d,align 8
store i32%cs,i32*%cy,align 4
%cB=getelementptr inbounds i8,i8*%cx,i64 4
%cC=bitcast i8*%cB to i32*
store i32%cv,i32*%cC,align 4
%cD=getelementptr inbounds i8,i8*%cx,i64 8
%cE=bitcast i8*%cD to i32*
store i32 0,i32*%cE,align 4
%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=load i8*,i8**%d,align 8
%cJ=bitcast i8*%cF to i8**
store i8*%cI,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cF,i64 8
%cL=bitcast i8*%cK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN10GetOptLong10parseShortE_89 to void(...)*),void(...)**%cL,align 8
%cM=getelementptr inbounds i8,i8*%cF,i64 16
%cN=bitcast i8*%cM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN10GetOptLong10parseShortE_89 to void(...)*),void(...)**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cF,i64 24
%cP=bitcast i8*%cO to i32*
store i32 -2147483647,i32*%cP,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cw)
store i8*%cI,i8**%f,align 8
%cQ=bitcast i8**%g to i8***
%cR=load i8**,i8***%cQ,align 8
%cS=load i8*,i8**%cR,align 8
store i8*%cS,i8**%j,align 8
%cT=call fastcc i8*@_SMLFN9Substring5trimlE(i32 inreg 1)
%cU=getelementptr inbounds i8,i8*%cT,i64 16
%cV=bitcast i8*%cU to i8*(i8*,i8*)**
%cW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cV,align 8
%cX=bitcast i8*%cT to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c0=call fastcc i8*%cW(i8*inreg%cY,i8*inreg%cZ)
store i8*%c0,i8**%e,align 8
%c1=call i8*@sml_alloc(i32 inreg 20)#0
%c2=getelementptr inbounds i8,i8*%c1,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32 1342177296,i32*%c3,align 4
%c4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c5=bitcast i8*%c1 to i8**
store i8*%c4,i8**%c5,align 8
%c6=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%c7=getelementptr inbounds i8,i8*%c1,i64 8
%c8=bitcast i8*%c7 to i8**
store i8*%c6,i8**%c8,align 8
%c9=getelementptr inbounds i8,i8*%c1,i64 16
%da=bitcast i8*%c9 to i32*
store i32 3,i32*%da,align 4
%db=load i8*,i8**%f,align 8
%dc=load i8*,i8**%j,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%j,align 8
%dd=call fastcc i8*@_SMLLN10GetOptLong10parseShortE_89(i8*inreg%db,i8*inreg%dc,i8*inreg%c1)
br label%d1
de:
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
%df=call i8*@sml_alloc(i32 inreg 60)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177336,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%df,i64 56
%dj=bitcast i8*%di to i32*
store i32 1,i32*%dj,align 4
%dk=load i8*,i8**%f,align 8
%dl=bitcast i8*%df to i8**
store i8*%dk,i8**%dl,align 8
call void@sml_raise(i8*inreg%df)#1
unreachable
dm:
%dn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%do=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%dn)
store i8*%do,i8**%e,align 8
%dp=call i8*@sml_alloc(i32 inreg 20)#0
%dq=getelementptr inbounds i8,i8*%dp,i64 -4
%dr=bitcast i8*%dq to i32*
store i32 1342177296,i32*%dr,align 4
store i8*%dp,i8**%f,align 8
%ds=bitcast i8*%dp to i64*
store i64 0,i64*%ds,align 4
%dt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%du=getelementptr inbounds i8,i8*%dp,i64 8
%dv=bitcast i8*%du to i8**
store i8*%dt,i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dp,i64 16
%dx=bitcast i8*%dw to i32*
store i32 2,i32*%dx,align 4
%dy=call i8*@sml_alloc(i32 inreg 20)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32 1342177296,i32*%dA,align 4
%dB=load i8*,i8**%f,align 8
%dC=bitcast i8*%dy to i8**
store i8*%dB,i8**%dC,align 8
%dD=getelementptr inbounds i8,i8*%dy,i64 8
%dE=bitcast i8*%dD to i8**
store i8*null,i8**%dE,align 8
%dF=getelementptr inbounds i8,i8*%dy,i64 16
%dG=bitcast i8*%dF to i32*
store i32 3,i32*%dG,align 4
store i8*%dB,i8**%e,align 8
store i8*null,i8**%f,align 8
%dH=call i8*@sml_alloc(i32 inreg 20)#0
%dI=getelementptr inbounds i8,i8*%dH,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32 1342177296,i32*%dJ,align 4
store i8*%dH,i8**%j,align 8
%dK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dL=bitcast i8*%dH to i8**
store i8*%dK,i8**%dL,align 8
%dM=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dN=getelementptr inbounds i8,i8*%dH,i64 8
%dO=bitcast i8*%dN to i8**
store i8*%dM,i8**%dO,align 8
%dP=getelementptr inbounds i8,i8*%dH,i64 16
%dQ=bitcast i8*%dP to i32*
store i32 3,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
%dU=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dV=bitcast i8*%dR to i8**
store i8*%dU,i8**%dV,align 8
%dW=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dX=getelementptr inbounds i8,i8*%dR,i64 8
%dY=bitcast i8*%dX to i8**
store i8*%dW,i8**%dY,align 8
%dZ=getelementptr inbounds i8,i8*%dR,i64 16
%d0=bitcast i8*%dZ to i32*
store i32 3,i32*%d0,align 4
br label%d1
d1:
%d2=phi i8*[%aH,%R],[%a6,%aI],[%dR,%dm],[%cf,%cg],[%dd,%cp]
store i8*%d2,i8**%f,align 8
%d3=bitcast i8*%d2 to i8**
%d4=load i8*,i8**%d3,align 8
store i8*%d4,i8**%e,align 8
%d5=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%d6=getelementptr inbounds i8,i8*%d5,i64 16
%d7=bitcast i8*%d6 to i8*(i8*,i8*)**
%d8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d7,align 8
%d9=bitcast i8*%d5 to i8**
%ea=load i8*,i8**%d9,align 8
store i8*%ea,i8**%h,align 8
%eb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ec=getelementptr inbounds i8,i8*%eb,i64 8
%ed=bitcast i8*%ec to i8**
%ee=load i8*,i8**%ed,align 8
%ef=load i8*,i8**%g,align 8
%eg=load i8*,i8**%i,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
%eh=call fastcc i8*@_SMLLN10GetOptLong9parseArgvE_111(i8*inreg%eg,i8*inreg%ef,i8*inreg%ee)
store i8*%eh,i8**%f,align 8
%ei=call i8*@sml_alloc(i32 inreg 20)#0
%ej=getelementptr inbounds i8,i8*%ei,i64 -4
%ek=bitcast i8*%ej to i32*
store i32 1342177296,i32*%ek,align 4
%el=load i8*,i8**%e,align 8
%em=bitcast i8*%ei to i8**
store i8*%el,i8**%em,align 8
%en=load i8*,i8**%f,align 8
%eo=getelementptr inbounds i8,i8*%ei,i64 8
%ep=bitcast i8*%eo to i8**
store i8*%en,i8**%ep,align 8
%eq=getelementptr inbounds i8,i8*%ei,i64 16
%er=bitcast i8*%eq to i32*
store i32 3,i32*%er,align 4
%es=load i8*,i8**%h,align 8
%et=tail call fastcc i8*%d8(i8*inreg%es,i8*inreg%ei)
ret i8*%et
}
define internal fastcc i8*@_SMLL4desc_119(i8*inreg%a)#2 gc"smlsharp"{
m:
%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
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%b,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**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 1,label%a1
i32 2,label%as
i32 0,label%J
]
r:
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%b,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%c,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@v,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=getelementptr inbounds i8,i8*%o,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%b,align 8
%N=getelementptr inbounds i8,i8*%l,i64 8
%O=bitcast i8*%N to i8***
%P=load i8**,i8***%O,align 8
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%c,align 8
%R=getelementptr inbounds i8*,i8**%P,i64 1
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=getelementptr inbounds i8*,i8**%P,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**%f,align 8
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,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**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=load i8*,i8**%f,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 16
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%af,i64 24
%ar=bitcast i8*%aq to i32*
store i32 7,i32*%ar,align 4
ret i8*%af
as:
%at=getelementptr inbounds i8,i8*%o,i64 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%b,align 8
%aw=getelementptr inbounds i8,i8*%l,i64 8
%ax=bitcast i8*%aw to i8***
%ay=load i8**,i8***%ax,align 8
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%c,align 8
%aA=getelementptr inbounds i8*,i8**%ay,i64 1
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%d,align 8
%aC=getelementptr inbounds i8*,i8**%ay,i64 2
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%e,align 8
%aE=call i8*@sml_alloc(i32 inreg 20)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177296,i32*%aG,align 4
store i8*%aE,i8**%f,align 8
%aH=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aI=bitcast i8*%aE to i8**
store i8*%aH,i8**%aI,align 8
%aJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aK=getelementptr inbounds i8,i8*%aE,i64 8
%aL=bitcast i8*%aK to i8**
store i8*%aJ,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aE,i64 16
%aN=bitcast i8*%aM to i32*
store i32 3,i32*%aN,align 4
%aO=call i8*@sml_alloc(i32 inreg 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**%c,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=load i8*,i8**%f,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=load i8*,i8**%e,align 8
%aX=getelementptr inbounds i8,i8*%aO,i64 16
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aO,i64 24
%a0=bitcast i8*%aZ to i32*
store i32 7,i32*%a0,align 4
ret i8*%aO
a1:
%a2=getelementptr inbounds i8,i8*%o,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%b,align 8
%a5=getelementptr inbounds i8,i8*%l,i64 8
%a6=bitcast i8*%a5 to i8***
%a7=load i8**,i8***%a6,align 8
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%c,align 8
%a9=getelementptr inbounds i8*,i8**%a7,i64 1
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%d,align 8
%bb=getelementptr inbounds i8*,i8**%a7,i64 2
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%e,align 8
%bd=call i8*@sml_alloc(i32 inreg 20)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177296,i32*%bf,align 4
store i8*%bd,i8**%f,align 8
%bg=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bj=getelementptr inbounds i8,i8*%bd,i64 8
%bk=bitcast i8*%bj to i8**
store i8*%bi,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bd,i64 16
%bm=bitcast i8*%bl to i32*
store i32 3,i32*%bm,align 4
%bn=call i8*@sml_alloc(i32 inreg 28)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177304,i32*%bp,align 4
%bq=load i8*,i8**%f,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%d,align 8
%bt=getelementptr inbounds i8,i8*%bn,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=load i8*,i8**%e,align 8
%bw=getelementptr inbounds i8,i8*%bn,i64 16
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bn,i64 24
%bz=bitcast i8*%by to i32*
store i32 7,i32*%bz,align 4
ret i8*%bn
}
define internal fastcc i8*@_SMLLN10GetOptLong6getoptE_122(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**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%d,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*null,i8**%d,align 8
store i8*%l,i8**%e,align 8
%n=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
%t=call fastcc i8*%q(i8*inreg%s,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*))
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%w(i8*inreg%y,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i8*,i32}>*@x,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
%F=bitcast i8**%f to i8***
%G=load i8**,i8***%F,align 8
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*%C(i8*inreg%E,i8*inreg%H)
store i8*%I,i8**%d,align 8
%J=load i8*,i8**%f,align 8
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
store i8*null,i8**%f,align 8
%N=getelementptr inbounds i8,i8*%J,i64 12
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
call void@llvm.gcroot(i8**%c,i8*null)#0
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177288,i32*%U,align 4
store i8*%R,i8**%c,align 8
store i32%M,i32*%S,align 4
%V=getelementptr inbounds i8,i8*%R,i64 4
%W=bitcast i8*%V to i32*
store i32%P,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 28)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=load i8*,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN10GetOptLong9parseArgvE_111 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN10GetOptLong9parseArgvE_111 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 24
%aj=bitcast i8*%ai to i32*
store i32 -2147483647,i32*%aj,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
%ak=load i8*,i8**%d,align 8
%al=load i8*,i8**%e,align 8
%am=tail call fastcc i8*@_SMLLN10GetOptLong9parseArgvE_111(i8*inreg%ac,i8*inreg%ak,i8*inreg%al)
ret i8*%am
}
define internal fastcc i8*@_SMLLN10GetOptLong6getoptE_123(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong6getoptE_122 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong6getoptE_122 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
ret i8*%u
}
define fastcc i8*@_SMLFN10GetOptLong6getoptE(i32 inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,i8**%c,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN10GetOptLong6getoptE_123 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*)*@_SMLLN10GetOptLong6getoptE_123 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLLN10GetOptLong10parseShortE_127(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%c,%d
%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*@_SMLL10isNotDelim_129(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=icmp ne i8%c,61
%e=icmp ne i8%c,44
%f=and i1%d,%e
%g=zext i1%f to i32
%h=tail call i8*@sml_alloc(i32 inreg 4)#0
%i=bitcast i8*%h to i32*
%j=getelementptr inbounds i8,i8*%h,i64 -4
%k=bitcast i8*%j to i32*
store i32 4,i32*%k,align 4
store i32%g,i32*%i,align 4
ret i8*%h
}
define internal fastcc i8*@_SMLLN10GetOptLong9parseLongE_130(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN10GetOptLong9parseLongE_102(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*@_SMLLN10GetOptLong9parseArgvE_132(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN10GetOptLong9parseArgvE_114(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4desc_134(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL4desc_119(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN10GetOptLong6getoptE_135(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLFN10GetOptLong6getoptE(i32 inreg%e,i32 inreg%g)
ret i8*%h
}
declare void@llvm.memcpy.p0i8.p0i8.i32(i8*,i8*,i32,i1)#0
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
