@sml_check_flag=external local_unnamed_addr global i32
@_SMLZ5Match=external unnamed_addr constant i8*
@_SMLZ8Overflow=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[33x i8]}><{[4x i8]zeroinitializer,i32 -2147483615,[33x i8]c"PrettyPrinter.UnMatchEndOfIndent\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,[33x i8]}>,<{[4x i8],i32,[33x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL98=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,[30x i8]}><{[4x i8]zeroinitializer,i32 -2147483618,[30x i8]c"PrettyPrinter.IndentUnderFlow\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,[30x i8]}>,<{[4x i8],i32,[30x i8]}>*@c,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL101=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,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 0,[4x i8]zeroinitializer,i8*null,i32 2}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[60x i8]}><{[4x i8]zeroinitializer,i32 -2147483588,[60x i8]c"src/smlformat/formatlib/main/PrettyPrinter.sml:131.22(4456)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c"..\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@g,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL12appendToLine_129 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12appendToLine_168 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 0,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@e,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL9closeLine_134 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9closeLine_169 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/smlformat/formatlib/main/PrettyPrinter.sml:169.6(5976)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL11environment_144 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11environment_171 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[61x i8]}><{[4x i8]zeroinitializer,i32 -2147483587,[61x i8]c"src/smlformat/formatlib/main/PrettyPrinter.sml:322.68(11728)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[61x i8]}><{[4x i8]zeroinitializer,i32 -2147483587,[61x i8]c"src/smlformat/formatlib/main/PrettyPrinter.sml:317.26(11508)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL98,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[61x i8]}>,<{[4x i8],i32,[61x i8]}>*@o,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/smlformat/formatlib/main/PrettyPrinter.sml:182.6(6582)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN13PrettyPrinter6formatE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13PrettyPrinter6formatE_175 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN13PrettyPrinter18UnMatchEndOfIndentE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL98,i64 0,i32 2)to i8*)
@_SMLZN13PrettyPrinter15IndentUnderFlowE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL101,i64 0,i32 2)to i8*)
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32)*@_SMLFN13PrettyPrinter4sortE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN13PrettyPrinter4sortE_176 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN13PrettyPrinter4sortE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*)
@_SMLZN13PrettyPrinter6formatE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*)
@_SML_ftabcb676e916d8d52a7_PrettyPrinter=external global i8
@u=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN10CharVector6concatE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN22PreProcessedExpression12isHigherThanE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List8tabulateE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String9substringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()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_mainf2ccb98f82def81c_PreProcessedExpression()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_loadf2ccb98f82def81c_PreProcessedExpression(i8*)local_unnamed_addr
define private void@_SML_tabbcb676e916d8d52a7_PrettyPrinter()#3{
unreachable
}
define void@_SML_loadcb676e916d8d52a7_PrettyPrinter(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@u,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@u,align 1
tail call void@_SML_loadadbb5309e852b68c_CharVector(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_loadf2ccb98f82def81c_PreProcessedExpression(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbcb676e916d8d52a7_PrettyPrinter,i8*@_SML_ftabcb676e916d8d52a7_PrettyPrinter,i8*null)#0
ret void
}
define void@_SML_maincb676e916d8d52a7_PrettyPrinter()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@u,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*@u,align 1
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_mainf2ccb98f82def81c_PreProcessedExpression()#2
br label%d
}
define internal fastcc i8*@_SMLLN13PrettyPrinter5foldlE_102(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#2 gc"smlsharp"{
m:
%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**%h,align 8
store i8*%b,i8**%f,align 8
br label%k
k:
%l=phi i8*[%c,%m],[%bc,%a7]
%n=phi i8*[%d,%m],[%bh,%a7]
store i8*%l,i8**%j,align 8
store i8*%n,i8**%e,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%s,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%e,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%n,%k]
%u=load i8*,i8**%h,align 8
%v=getelementptr inbounds i8,i8*%u,i64 4
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=add i32%x,-1
%z=sub i32 0,%x
%A=and i32%y,%z
%B=add i32%A,%x
%C=getelementptr inbounds i8,i8*%u,i64 12
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=add i32%E,-1
%G=add i32%F,%B
%H=sub i32 0,%E
%I=and i32%G,%H
%J=add i32%E,7
%K=add i32%J,%I
%L=and i32%K,-8
%M=lshr i32%I,3
%N=lshr i32%A,3
%O=sub nsw i32%M,%N
%P=getelementptr inbounds i8,i8*%u,i64 8
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=shl i32%R,%O
%T=bitcast i8*%u to i32*
%U=load i32,i32*%T,align 4
%V=or i32%S,%U
%W=or i32%L,4
%X=add i32%B,7
%Y=and i32%X,-8
%Z=icmp eq i8*%t,null
br i1%Z,label%aa,label%ac
aa:
%ab=load i8*,i8**%j,align 8
ret i8*%ab
ac:
%ad=icmp eq i32%U,0
br i1%ad,label%aj,label%ae
ae:
%af=sext i32%A to i64
%ag=getelementptr inbounds i8,i8*%t,i64%af
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
br label%aA
aj:
%ak=call i8*@sml_alloc(i32 inreg%x)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32%x,i32*%am,align 4
%an=load i8*,i8**%e,align 8
%ao=sext i32%A to i64
%ap=getelementptr inbounds i8,i8*%an,i64%ao
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ak,i8*%ap,i32%x,i1 false)
%aq=load i8*,i8**%h,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 12
%as=bitcast i8*%ar to i32*
%at=load i32,i32*%as,align 4
%au=getelementptr inbounds i8,i8*%aq,i64 8
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
%ax=getelementptr inbounds i8,i8*%aq,i64 4
%ay=bitcast i8*%ax to i32*
%az=bitcast i8*%aq to i32*
br label%aA
aA:
%aB=phi i64[%ao,%aj],[%af,%ae]
%aC=phi i32*[%az,%aj],[%T,%ae]
%aD=phi i32*[%ay,%aj],[%w,%ae]
%aE=phi i32[%aw,%aj],[%R,%ae]
%aF=phi i32[%at,%aj],[%E,%ae]
%aG=phi i8*[%ak,%aj],[%ai,%ae]
store i8*%aG,i8**%g,align 8
%aH=load i8*,i8**%f,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
store i8*%aM,i8**%i,align 8
%aN=load i32,i32*%aD,align 4
%aO=load i32,i32*%aC,align 4
%aP=call i8*@sml_alloc(i32 inreg%W)#0
%aQ=or i32%L,1342177280
%aR=getelementptr inbounds i8,i8*%aP,i64 -4
%aS=bitcast i8*%aR to i32*
store i32%aQ,i32*%aS,align 4
call void@llvm.memset.p0i8.i32(i8*%aP,i8 0,i32%W,i1 false)
%aT=icmp eq i32%aO,0
%aU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aV=getelementptr inbounds i8,i8*%aP,i64%aB
br i1%aT,label%aY,label%aW
aW:
%aX=bitcast i8*%aV to i8**
store i8*%aU,i8**%aX,align 8
br label%aZ
aY:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aV,i8*%aU,i32%aN,i1 false)
br label%aZ
aZ:
%a0=icmp eq i32%aE,0
%a1=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%a2=sext i32%I to i64
%a3=getelementptr inbounds i8,i8*%aP,i64%a2
br i1%a0,label%a6,label%a4
a4:
%a5=bitcast i8*%a3 to i8**
store i8*%a1,i8**%a5,align 8
br label%a7
a6:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a3,i8*%a1,i32%aF,i1 false)
br label%a7
a7:
%a8=sext i32%L to i64
%a9=getelementptr inbounds i8,i8*%aP,i64%a8
%ba=bitcast i8*%a9 to i32*
store i32%V,i32*%ba,align 4
%bb=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bc=call fastcc i8*%aK(i8*inreg%bb,i8*inreg%aP)
%bd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%be=sext i32%Y to i64
%bf=getelementptr inbounds i8,i8*%bd,i64%be
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
br label%k
}
define internal fastcc i8*@_SMLLN13PrettyPrinter5foldlE_103(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)unnamed_addr#4 gc"smlsharp"{
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=call i8*@sml_alloc(i32 inreg 20)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177296,i32*%i,align 4
store i8*%f,i8**%e,align 8
store i32%a,i32*%g,align 4
%j=getelementptr inbounds i8,i8*%f,i64 4
%k=bitcast i8*%j to i32*
store i32%b,i32*%k,align 4
%l=getelementptr inbounds i8,i8*%f,i64 8
%m=bitcast i8*%l to i32*
store i32%c,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%f,i64 12
%o=bitcast i8*%n to i32*
store i32%d,i32*%o,align 4
%p=getelementptr inbounds i8,i8*%f,i64 16
%q=bitcast i8*%p to i32*
store i32 0,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLLN13PrettyPrinter5foldlE_102 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLLN13PrettyPrinter5foldlE_102 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL6insert_105(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%f,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=getelementptr inbounds i8,i8*%m,i64 12
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,-1
%s=sub i32 0,%q
%t=and i32%r,%s
%u=add i32%t,%q
%v=add i32%u,7
%w=and i32%v,-8
%x=add i32%r,%u
%y=and i32%x,%s
%z=add i32%q,7
%A=add i32%z,%y
%B=and i32%A,-8
%C=lshr i32%y,3
%D=lshr i32%t,3
%E=sub nsw i32%C,%D
%F=getelementptr inbounds i8,i8*%m,i64 8
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
%I=shl i32%H,%E
%J=or i32%I,%H
%K=or i32%B,4
%L=add i32%w,15
%M=and i32%L,-8
%N=lshr i32%v,3
%O=sub nsw i32%N,%D
%P=shl i32 1,%O
%Q=or i32%P,%H
%R=or i32%M,4
%S=icmp eq i32%H,0
br i1%S,label%Z,label%T
T:
%U=load i8*,i8**%c,align 8
%V=sext i32%t to i64
%W=getelementptr inbounds i8,i8*%U,i64%V
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
br label%ag
Z:
%aa=call i8*@sml_alloc(i32 inreg%q)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32%q,i32*%ac,align 4
%ad=load i8*,i8**%c,align 8
%ae=sext i32%t to i64
%af=getelementptr inbounds i8,i8*%ad,i64%ae
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aa,i8*%af,i32%q,i1 false)
br label%ag
ag:
%ah=phi i8*[%ad,%Z],[%U,%T]
%ai=phi i8*[%aa,%Z],[%Y,%T]
store i8*%ai,i8**%d,align 8
%aj=sext i32%w to i64
%ak=getelementptr inbounds i8,i8*%ah,i64%aj
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
%an=icmp eq i8*%am,null
br i1%an,label%ao,label%aN
ao:
store i8*null,i8**%c,align 8
%ap=load i8*,i8**%f,align 8
%aq=getelementptr inbounds i8,i8*%ap,i64 12
%ar=bitcast i8*%aq to i32*
%as=load i32,i32*%ar,align 4
store i8*null,i8**%f,align 8
%at=getelementptr inbounds i8,i8*%ap,i64 8
%au=bitcast i8*%at to i32*
%av=load i32,i32*%au,align 4
%aw=call i8*@sml_alloc(i32 inreg%R)#0
%ax=or i32%M,1342177280
%ay=getelementptr inbounds i8,i8*%aw,i64 -4
%az=bitcast i8*%ay to i32*
store i32%ax,i32*%az,align 4
call void@llvm.memset.p0i8.i32(i8*%aw,i8 0,i32%R,i1 false)
%aA=icmp eq i32%av,0
%aB=load i8*,i8**%d,align 8
%aC=sext i32%t to i64
%aD=getelementptr inbounds i8,i8*%aw,i64%aC
br i1%aA,label%aG,label%aE
aE:
%aF=bitcast i8*%aD to i8**
store i8*%aB,i8**%aF,align 8
br label%aH
aG:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aD,i8*%aB,i32%as,i1 false)
br label%aH
aH:
%aI=getelementptr inbounds i8,i8*%aw,i64%aj
%aJ=bitcast i8*%aI to i8**
store i8*null,i8**%aJ,align 8
%aK=sext i32%M to i64
%aL=getelementptr inbounds i8,i8*%aw,i64%aK
%aM=bitcast i8*%aL to i32*
store i32%Q,i32*%aM,align 4
ret i8*%aw
aN:
store i8*%am,i8**%c,align 8
%aO=load i8*,i8**%f,align 8
%aP=getelementptr inbounds i8,i8*%aO,i64 8
%aQ=bitcast i8*%aP to i32*
%aR=load i32,i32*%aQ,align 4
%aS=icmp eq i32%aR,0
br i1%aS,label%aZ,label%aT
aT:
%aU=bitcast i8*%aO to i8**
%aV=sext i32%t to i64
%aW=getelementptr inbounds i8,i8*%am,i64%aV
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
br label%bf
aZ:
%a0=getelementptr inbounds i8,i8*%aO,i64 12
%a1=bitcast i8*%a0 to i32*
%a2=load i32,i32*%a1,align 4
%a3=call i8*@sml_alloc(i32 inreg%a2)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32%a2,i32*%a5,align 4
%a6=load i8*,i8**%c,align 8
%a7=sext i32%t to i64
%a8=getelementptr inbounds i8,i8*%a6,i64%a7
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%a3,i8*%a8,i32%a2,i1 false)
%a9=bitcast i8**%f to i8***
%ba=load i8**,i8***%a9,align 8
%bb=bitcast i8**%ba to i8*
%bc=getelementptr inbounds i8*,i8**%ba,i64 1
%bd=bitcast i8**%bc to i32*
%be=load i32,i32*%bd,align 4
br label%bf
bf:
%bg=phi i64[%a7,%aZ],[%aV,%aT]
%bh=phi i32[%be,%aZ],[%aR,%aT]
%bi=phi i8*[%bb,%aZ],[%aO,%aT]
%bj=phi i8**[%ba,%aZ],[%aU,%aT]
%bk=phi i8*[%a6,%aZ],[%am,%aT]
%bl=phi i8*[%a3,%aZ],[%aY,%aT]
store i8*%bl,i8**%e,align 8
%bm=getelementptr inbounds i8,i8*%bk,i64%aj
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
store i8*%bo,i8**%c,align 8
%bp=load i8*,i8**%bj,align 8
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%g,align 8
%bv=getelementptr inbounds i8,i8*%bi,i64 12
%bw=bitcast i8*%bv to i32*
%bx=load i32,i32*%bw,align 4
%by=call i8*@sml_alloc(i32 inreg%K)#0
%bz=or i32%B,1342177280
%bA=getelementptr inbounds i8,i8*%by,i64 -4
%bB=bitcast i8*%bA to i32*
store i32%bz,i32*%bB,align 4
call void@llvm.memset.p0i8.i32(i8*%by,i8 0,i32%K,i1 false)
%bC=icmp eq i32%bh,0
%bD=load i8*,i8**%d,align 8
%bE=getelementptr inbounds i8,i8*%by,i64%bg
br i1%bC,label%bL,label%bF
bF:
%bG=bitcast i8*%bE to i8**
store i8*%bD,i8**%bG,align 8
%bH=load i8*,i8**%e,align 8
%bI=sext i32%y to i64
%bJ=getelementptr inbounds i8,i8*%by,i64%bI
%bK=bitcast i8*%bJ to i8**
store i8*%bH,i8**%bK,align 8
br label%bP
bL:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bE,i8*%bD,i32%bx,i1 false)
%bM=load i8*,i8**%e,align 8
%bN=sext i32%y to i64
%bO=getelementptr inbounds i8,i8*%by,i64%bN
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bO,i8*%bM,i32%bx,i1 false)
br label%bP
bP:
%bQ=sext i32%B to i64
%bR=getelementptr inbounds i8,i8*%by,i64%bQ
%bS=bitcast i8*%bR to i32*
store i32%J,i32*%bS,align 4
%bT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bU=call fastcc i8*%bs(i8*inreg%bT,i8*inreg%by)
%bV=bitcast i8*%bU to i32*
%bW=load i32,i32*%bV,align 4
%bX=icmp eq i32%bW,0
%bY=load i8*,i8**%f,align 8
%bZ=getelementptr inbounds i8,i8*%bY,i64 12
%b0=bitcast i8*%bZ to i32*
%b1=load i32,i32*%b0,align 4
%b2=getelementptr inbounds i8,i8*%bY,i64 8
%b3=bitcast i8*%b2 to i32*
%b4=load i32,i32*%b3,align 4
br i1%bX,label%cB,label%b5
b5:
store i8*null,i8**%f,align 8
%b6=call i8*@sml_alloc(i32 inreg%R)#0
%b7=or i32%M,1342177280
%b8=getelementptr inbounds i8,i8*%b6,i64 -4
%b9=bitcast i8*%b8 to i32*
store i32%b7,i32*%b9,align 4
store i8*%b6,i8**%f,align 8
call void@llvm.memset.p0i8.i32(i8*%b6,i8 0,i32%R,i1 false)
%ca=icmp eq i32%b4,0
%cb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cc=getelementptr inbounds i8,i8*%b6,i64%bg
br i1%ca,label%cf,label%cd
cd:
%ce=bitcast i8*%cc to i8**
store i8*%cb,i8**%ce,align 8
br label%cg
cf:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cc,i8*%cb,i32%b1,i1 false)
br label%cg
cg:
%ch=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ci=getelementptr inbounds i8,i8*%b6,i64%aj
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=sext i32%M to i64
%cl=getelementptr inbounds i8,i8*%b6,i64%ck
%cm=bitcast i8*%cl to i32*
store i32%Q,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg%R)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32%b7,i32*%cp,align 4
call void@llvm.memset.p0i8.i32(i8*%cn,i8 0,i32%R,i1 false)
%cq=load i8*,i8**%d,align 8
%cr=getelementptr inbounds i8,i8*%cn,i64%bg
br i1%ca,label%cu,label%cs
cs:
%ct=bitcast i8*%cr to i8**
store i8*%cq,i8**%ct,align 8
br label%cv
cu:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cr,i8*%cq,i32%b1,i1 false)
br label%cv
cv:
%cw=load i8*,i8**%f,align 8
%cx=getelementptr inbounds i8,i8*%cn,i64%aj
%cy=bitcast i8*%cx to i8**
store i8*%cw,i8**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cn,i64%ck
%cA=bitcast i8*%cz to i32*
store i32%Q,i32*%cA,align 4
ret i8*%cn
cB:
%cC=call i8*@sml_alloc(i32 inreg%R)#0
%cD=or i32%M,1342177280
%cE=getelementptr inbounds i8,i8*%cC,i64 -4
%cF=bitcast i8*%cE to i32*
store i32%cD,i32*%cF,align 4
call void@llvm.memset.p0i8.i32(i8*%cC,i8 0,i32%R,i1 false)
%cG=icmp eq i32%b4,0
%cH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cI=getelementptr inbounds i8,i8*%cC,i64%bg
br i1%cG,label%cL,label%cJ
cJ:
%cK=bitcast i8*%cI to i8**
store i8*%cH,i8**%cK,align 8
br label%cM
cL:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cI,i8*%cH,i32%b1,i1 false)
br label%cM
cM:
%cN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cO=getelementptr inbounds i8,i8*%cC,i64%aj
%cP=bitcast i8*%cO to i8**
store i8*%cN,i8**%cP,align 8
%cQ=sext i32%M to i64
%cR=getelementptr inbounds i8,i8*%cC,i64%cQ
%cS=bitcast i8*%cR to i32*
store i32%Q,i32*%cS,align 4
%cT=load i8*,i8**%f,align 8
%cU=call fastcc i8*@_SMLL6insert_105(i8*inreg%cT,i8*inreg%cC)
store i8*%cU,i8**%c,align 8
%cV=load i8*,i8**%f,align 8
%cW=getelementptr inbounds i8,i8*%cV,i64 12
%cX=bitcast i8*%cW to i32*
%cY=load i32,i32*%cX,align 4
store i8*null,i8**%f,align 8
%cZ=getelementptr inbounds i8,i8*%cV,i64 8
%c0=bitcast i8*%cZ to i32*
%c1=load i32,i32*%c0,align 4
%c2=call i8*@sml_alloc(i32 inreg%R)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32%cD,i32*%c4,align 4
call void@llvm.memset.p0i8.i32(i8*%c2,i8 0,i32%R,i1 false)
%c5=icmp eq i32%c1,0
%c6=load i8*,i8**%e,align 8
%c7=getelementptr inbounds i8,i8*%c2,i64%bg
br i1%c5,label%da,label%c8
c8:
%c9=bitcast i8*%c7 to i8**
store i8*%c6,i8**%c9,align 8
br label%db
da:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%c7,i8*%c6,i32%cY,i1 false)
br label%db
db:
%dc=load i8*,i8**%c,align 8
%dd=getelementptr inbounds i8,i8*%c2,i64%aj
%de=bitcast i8*%dd to i8**
store i8*%dc,i8**%de,align 8
%df=getelementptr inbounds i8,i8*%c2,i64%cQ
%dg=bitcast i8*%df to i32*
store i32%Q,i32*%dg,align 4
ret i8*%c2
}
define internal fastcc i8*@_SMLLN13PrettyPrinter4sortE_106(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLL6insert_105(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN13PrettyPrinter4sortE_107(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%o
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
%n=bitcast i8**%m to i8*
br label%o
o:
%p=phi i8*[%n,%k],[%a,%i]
%q=phi i8**[%m,%k],[%j,%i]
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%e,align 8
%s=getelementptr inbounds i8*,i8**%q,i64 1
%t=bitcast i8**%s to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%p,i64 12
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%f,align 8
%B=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i32*
store i32%u,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%y,i64 12
%G=bitcast i8*%F to i32*
store i32%x,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%y,i64 16
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=call i8*@sml_alloc(i32 inreg 28)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177304,i32*%L,align 4
%M=load i8*,i8**%f,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6insert_105 to void(...)*),void(...)**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6insert_105 to void(...)*),void(...)**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 24
%T=bitcast i8*%S to i32*
store i32 -2147483647,i32*%T,align 4
%U=load i8*,i8**%d,align 8
%V=getelementptr inbounds i8,i8*%U,i64 8
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
store i8*null,i8**%d,align 8
%Y=getelementptr inbounds i8,i8*%U,i64 12
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=call fastcc i8*@_SMLLN13PrettyPrinter5foldlE_103(i32 inreg%X,i32 inreg%aa,i32 inreg 1,i32 inreg 8)
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8*(i8*,i8*,i8*,i8*)**
%ae=load i8*(i8*,i8*,i8*,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**%d,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**%e,align 8
%ak=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to i32*
store i32 1,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**%e,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13PrettyPrinter4sortE_106 to void(...)*),void(...)**%au,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 16
%aw=bitcast i8*%av to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13PrettyPrinter4sortE_106 to void(...)*),void(...)**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 24
%ay=bitcast i8*%ax to i32*
store i32 -2147483647,i32*%ay,align 4
%az=load i8*,i8**%c,align 8
%aA=load i8*,i8**%d,align 8
%aB=call fastcc i8*%ae(i8*inreg%aA,i8*inreg%ao,i8*inreg null,i8*inreg%az)
ret i8*%aB
}
define internal fastcc i8*@_SMLLN13PrettyPrinter4sortE_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*)*@_SMLLN13PrettyPrinter4sortE_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*)*@_SMLLN13PrettyPrinter4sortE_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*@_SMLLN13PrettyPrinter4sortE_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*)*@_SMLLN13PrettyPrinter4sortE_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*)*@_SMLLN13PrettyPrinter4sortE_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*@_SMLL6append_112(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=getelementptr inbounds i8,i8*%g,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=getelementptr inbounds i8,i8*%b,i64 -4
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=and i32%o,268435455
%q=add i32%i,-1
%r=add i32%q,%p
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
store i8*%s,i8**%e,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%s,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%C,i64 4
%H=bitcast i8*%G to i32*
store i32 0,i32*%H,align 1
store i32%r,i32*%D,align 4
%I=load i8*,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%C,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i32*
store i32 2,i32*%M,align 4
ret i8*%C
}
define internal fastcc i8*@_SMLL6append_113(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6append_112 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6append_112 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLL12extendIndent_119(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL12extendIndent_121(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=icmp eq i32%b,0
br i1%m,label%n,label%r
n:
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
ret i8*%q
r:
%s=getelementptr inbounds i8,i8*%k,i64 16
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=add nsw i32%u,%b
%w=icmp sgt i32%v,-1
br i1%w,label%R,label%x
x:
store i8*null,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
store i8*%y,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%y,i64 20
%C=bitcast i8*%B to i32*
store i32 0,i32*%C,align 1
%D=bitcast i8*%y to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL101,i64 0,i32 2)to i8*),i8**%D,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[60x i8]}>,<{[4x i8],i32,[60x i8]}>*@f,i64 0,i32 2,i64 0),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i32*
store i32%b,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%y,i64 24
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
%K=call i8*@sml_alloc(i32 inreg 60)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177336,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%K,i64 56
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
%P=load i8*,i8**%c,align 8
%Q=bitcast i8*%K to i8**
store i8*%P,i8**%Q,align 8
call void@sml_raise(i8*inreg%K)#1
unreachable
R:
%S=call fastcc i8*@_SMLFN4List8tabulateE(i32 inreg 1,i32 inreg 8)
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%S to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%d,align 8
%Y=bitcast i8**%c to i8***
%Z=load i8**,i8***%Y,align 8
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%c,align 8
%ab=call i8*@sml_alloc(i32 inreg 12)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177288,i32*%ad,align 4
store i8*%ab,i8**%e,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=call i8*@sml_alloc(i32 inreg 28)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177304,i32*%ak,align 4
store i8*%ai,i8**%c,align 8
%al=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ai,i64 8
%ao=bitcast i8*%an to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLL12extendIndent_119 to void(...)*),void(...)**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 16
%aq=bitcast i8*%ap to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12extendIndent_165 to void(...)*),void(...)**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ai,i64 24
%as=bitcast i8*%ar to i32*
store i32 -2147483647,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=bitcast i8*%at to i32*
%av=getelementptr inbounds i8,i8*%at,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177296,i32*%aw,align 4
%ax=getelementptr inbounds i8,i8*%at,i64 4
%ay=bitcast i8*%ax to i32*
store i32 0,i32*%ay,align 1
store i32%v,i32*%au,align 4
%az=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%at,i64 16
%aD=bitcast i8*%aC to i32*
store i32 2,i32*%aD,align 4
%aE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aF=call fastcc i8*%V(i8*inreg%aE,i8*inreg%at)
%aG=tail call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%aF)
ret i8*%aG
}
define internal fastcc i8*@_SMLL12extendIndent_122(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%c,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i8**
%j=load i8*,i8**%i,align 8
store i8*%j,i8**%d,align 8
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
store i8*%k,i8**%e,align 8
%n=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%k,i64 16
%t=bitcast i8*%s to i32*
store i32%b,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%k,i64 24
%v=bitcast i8*%u to i32*
store i32 3,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%e,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLL12extendIndent_121 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12extendIndent_166 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 -2147483647,i32*%G,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLL12extendIndent_123(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLL12extendIndent_122 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12extendIndent_167 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL13checkOverTail_127(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%g,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%m,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%g,align 8
%l=load i8*,i8**%f,align 8
br label%m
m:
%n=phi i8*[%l,%j],[%a,%o]
%p=phi i8*[%k,%j],[%b,%o]
store i8*null,i8**%g,align 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=bitcast i8*%n to i8**
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 4
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=icmp eq i32%w,0
br i1%x,label%bS,label%y
y:
%z=getelementptr inbounds i8,i8*%n,i64 16
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp slt i32%B,%r
br i1%C,label%D,label%bS
D:
%E=icmp sgt i32%B,1
%F=icmp sgt i32%r,1
%G=and i1%F,%E
store i8*null,i8**%f,align 8
br i1%G,label%S,label%H
H:
%I=call i8*@sml_alloc(i32 inreg 20)#0
%J=bitcast i8*%I to i32*
%K=getelementptr inbounds i8,i8*%I,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%I,i64 4
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 1
store i32 2,i32*%J,align 4
%O=getelementptr inbounds i8,i8*%I,i64 8
%P=bitcast i8*%O to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@h,i64 0,i32 2)to i8*),i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i32*
store i32 2,i32*%R,align 4
br label%bF
S:
%T=add nsw i32%B,-2
%U=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%U)
%V=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%V)
%W=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%W)
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
%X=icmp slt i32%B,3
br label%Y
Y:
%Z=phi i8*[%aL,%aG],[%p,%S]
store i8*%Z,i8**%c,align 8
%aa=load atomic i32,i32*@sml_check_flag unordered,align 4
%ab=icmp eq i32%aa,0
br i1%ab,label%ae,label%ac
ac:
call void@sml_check(i32 inreg%aa)
%ad=load i8*,i8**%c,align 8
br label%ae
ae:
%af=phi i8*[%ad,%ac],[%Z,%Y]
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=getelementptr inbounds i8,i8*%af,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=icmp eq i8*%ak,null
br i1%al,label%ao,label%aq
am:
%an=select i1%aw,i8*%af,i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@e,i64 0,i32 2)to i8*)
br label%ao
ao:
%ap=phi i8*[%an,%am],[%af,%ae]
call void@llvm.lifetime.end.p0i8(i64 8,i8*%U)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%V)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%W)
br label%bw
aq:
%ar=bitcast i8*%ak to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%c,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%d,align 8
%aw=icmp sge i32%T,%ah
%ax=or i1%X,%aw
br i1%ax,label%am,label%ay
ay:
%az=getelementptr inbounds i8,i8*%as,i64 -4
%aA=bitcast i8*%az to i32*
%aB=load i32,i32*%aA,align 4
%aC=and i32%aB,268435455
%aD=add nsw i32%aC,-1
%aE=sub nsw i32%ah,%aD
%aF=icmp slt i32%aE,%T
br i1%aF,label%aW,label%aG
aG:
store i8*null,i8**%c,align 8
%aH=load i32,i32*%aA,align 4
%aI=and i32%aH,268435455
%aJ=add i32%ah,1
%aK=sub i32%aJ,%aI
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=bitcast i8*%aL to i32*
%aN=getelementptr inbounds i8,i8*%aL,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
%aP=getelementptr inbounds i8,i8*%aL,i64 4
%aQ=bitcast i8*%aP to i32*
store i32 0,i32*%aQ,align 1
store i32%aK,i32*%aM,align 4
%aR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aS=getelementptr inbounds i8,i8*%aL,i64 8
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aL,i64 16
%aV=bitcast i8*%aU to i32*
store i32 2,i32*%aV,align 4
br label%Y
aW:
%aX=sub i32%T,%ah
%aY=add i32%aX,%aD
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aZ,i64 8
%a5=bitcast i8*%a4 to i32*
store i32 0,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%aZ,i64 12
%a7=bitcast i8*%a6 to i32*
store i32%aY,i32*%a7,align 4
%a8=getelementptr inbounds i8,i8*%aZ,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 1,i32*%a9,align 4
%ba=call fastcc i8*@_SMLFN6String9substringE(i8*inreg%aZ)
store i8*%ba,i8**%c,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**%c,align 8
store i8*null,i8**%c,align 8
%bf=bitcast i8*%bb to i8**
store i8*%be,i8**%bf,align 8
%bg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%bb,i64 16
%bk=bitcast i8*%bj to i32*
store i32 3,i32*%bk,align 4
%bl=call i8*@sml_alloc(i32 inreg 20)#0
%bm=bitcast i8*%bl to i32*
%bn=getelementptr inbounds i8,i8*%bl,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177296,i32*%bo,align 4
%bp=getelementptr inbounds i8,i8*%bl,i64 4
%bq=bitcast i8*%bp to i32*
store i32 0,i32*%bq,align 1
store i32%T,i32*%bm,align 4
%br=load i8*,i8**%e,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 16
%bv=bitcast i8*%bu to i32*
store i32 2,i32*%bv,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%U)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%V)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%W)
br label%bw
bw:
%bx=phi i8*[%ap,%ao],[%bl,%aW]
%by=call fastcc i8*@_SMLL6append_113(i8*inreg%bx)
%bz=getelementptr inbounds i8,i8*%by,i64 16
%bA=bitcast i8*%bz to i8*(i8*,i8*)**
%bB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bA,align 8
%bC=bitcast i8*%by to i8**
%bD=load i8*,i8**%bC,align 8
%bE=call fastcc i8*%bB(i8*inreg%bD,i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@g,i64 0,i32 2,i64 0))
br label%bF
bF:
%bG=phi i8*[%bE,%bw],[%I,%H]
store i8*%bG,i8**%f,align 8
%bH=call i8*@sml_alloc(i32 inreg 20)#0
%bI=bitcast i8*%bH to i32*
%bJ=getelementptr inbounds i8,i8*%bH,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177296,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bH,i64 4
%bM=bitcast i8*%bL to i32*
store i32 0,i32*%bM,align 1
store i32 1,i32*%bI,align 4
%bN=load i8*,i8**%f,align 8
%bO=getelementptr inbounds i8,i8*%bH,i64 8
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bH,i64 16
%bR=bitcast i8*%bQ to i32*
store i32 2,i32*%bR,align 4
ret i8*%bH
bS:
%bT=getelementptr inbounds i8,i8*%n,i64 8
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
%bW=getelementptr inbounds i8,i8*%bV,i64 16
%bX=bitcast i8*%bW to i8*(i8*,i8*)**
%bY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bX,align 8
%bZ=bitcast i8*%bV to i8**
%b0=load i8*,i8**%bZ,align 8
%b1=tail call fastcc i8*%bY(i8*inreg%b0,i8*inreg%p)
ret i8*%b1
}
define internal fastcc i8*@_SMLL13checkOverTail_128(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
store i8*%k,i8**%e,align 8
%n=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%k,i64 16
%t=bitcast i8*%s to i32*
store i32%j,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%k,i64 24
%v=bitcast i8*%u to i32*
store i32 3,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%e,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13checkOverTail_127 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13checkOverTail_127 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 -2147483647,i32*%G,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLL12appendToLine_129(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=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177296,i32*%f,align 4
%g=getelementptr inbounds i8,i8*%c,i64 4
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 1
store i32 2,i32*%d,align 4
%i=load i8*,i8**%b,align 8
%j=getelementptr inbounds i8,i8*%c,i64 8
%k=bitcast i8*%j to i8**
store i8*%i,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%c,i64 16
%m=bitcast i8*%l to i32*
store i32 2,i32*%m,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLL12appendToLine_131(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=icmp eq i8*%k,null
br i1%m,label%ag,label%n
n:
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
switch i32%r,label%ag[
i32 2,label%t
i32 1,label%s
]
s:
ret i8*%k
t:
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%k,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%A=call fastcc i8*@_SMLL6append_113(i8*inreg%w)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
%G=bitcast i8**%e to i8***
%H=load i8**,i8***%G,align 8
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%D(i8*inreg%F,i8*inreg%I)
store i8*%J,i8**%c,align 8
%K=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*@_SMLL13checkOverTail_128(i8*inreg%N,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%V=call fastcc i8*%R(i8*inreg%T,i8*inreg%U)
store i8*%V,i8**%c,align 8
%W=call i8*@sml_alloc(i32 inreg 20)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177296,i32*%Y,align 4
%Z=load i8*,i8**%c,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
ret i8*%W
ag:
%ah=bitcast i8**%e to i8***
%ai=load i8**,i8***%ah,align 8
store i8*null,i8**%e,align 8
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%c,align 8
store i8*%k,i8**%d,align 8
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
%am=load i32,i32*%al,align 4
%an=and i32%am,268435455
%ao=add nsw i32%an,-1
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%e,align 8
%as=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to i8**
store i8*null,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
store i8*%ay,i8**%c,align 8
%aB=getelementptr inbounds i8,i8*%ay,i64 4
%aC=bitcast i8*%aB to i32*
store i32 0,i32*%aC,align 1
%aD=bitcast i8*%ay to i32*
store i32%ao,i32*%aD,align 4
%aE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aF=getelementptr inbounds i8,i8*%ay,i64 8
%aG=bitcast i8*%aF to i8**
store i8*%aE,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%ay,i64 16
%aI=bitcast i8*%aH to i32*
store i32 2,i32*%aI,align 4
%aJ=call i8*@sml_alloc(i32 inreg 20)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177296,i32*%aL,align 4
store i8*%aJ,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%aJ,i64 4
%aN=bitcast i8*%aM to i32*
store i32 0,i32*%aN,align 1
%aO=bitcast i8*%aJ to i32*
store i32 2,i32*%aO,align 4
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aQ=getelementptr inbounds i8,i8*%aJ,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aJ,i64 16
%aT=bitcast i8*%aS to i32*
store i32 2,i32*%aT,align 4
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
%aX=load i8*,i8**%e,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=load i8*,i8**%d,align 8
%a0=getelementptr inbounds i8,i8*%aU,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aU,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 3,i32*%a3,align 4
ret i8*%aU
}
define internal fastcc i8*@_SMLL12appendToLine_132(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12appendToLine_131 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12appendToLine_131 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL9closeLine_134(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*@_SMLL9closeLine_136(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=icmp eq i8*%k,null
br i1%m,label%au,label%n
n:
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
switch i32%r,label%au[
i32 2,label%S
i32 1,label%s
]
s:
store i8*null,i8**%e,align 8
%t=getelementptr inbounds i8,i8*%p,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=getelementptr inbounds i8,i8*%k,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
store i8*%z,i8**%e,align 8
%C=bitcast i8*%z to i64*
store i64 0,i64*%C,align 4
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 2,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 20)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
%L=load i8*,i8**%e,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=load i8*,i8**%d,align 8
%O=getelementptr inbounds i8,i8*%I,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
ret i8*%I
S:
%T=getelementptr inbounds i8,i8*%p,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%c,align 8
%W=getelementptr inbounds i8,i8*%k,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%d,align 8
%Z=bitcast i8**%e to i8***
%aa=load i8**,i8***%Z,align 8
store i8*null,i8**%e,align 8
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*@_SMLL13checkOverTail_128(i8*inreg%ab,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*))
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=call fastcc i8*%af(i8*inreg%ah,i8*inreg%ai)
store i8*%aj,i8**%c,align 8
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
%an=load i8*,i8**%c,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=load i8*,i8**%d,align 8
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%ak,i64 16
%at=bitcast i8*%as to i32*
store i32 3,i32*%at,align 4
ret i8*%ak
au:
store i8*null,i8**%e,align 8
%av=call i8*@sml_alloc(i32 inreg 20)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177296,i32*%ax,align 4
%ay=bitcast i8*%av to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@j,i64 0,i32 2)to i8*),i8**%ay,align 8
%az=load i8*,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to i32*
store i32 3,i32*%aD,align 4
ret i8*%av
}
define internal fastcc i8*@_SMLL9revAppend_137(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
h:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
br label%f
f:
%g=phi i8*[%a,%h],[%I,%s]
%i=phi i8*[%b,%h],[%y,%s]
store i8*%g,i8**%d,align 8
store i8*%i,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%d,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%g,%f]
%p=icmp eq i8*%o,null
br i1%p,label%q,label%s
q:
%r=load i8*,i8**%c,align 8
ret i8*%r
s:
%t=bitcast i8*%o to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%o,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%f
}
define internal fastcc i8*@_SMLL11concatLines_139(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
store i8*%c,i8**%d,align 8
%i=bitcast i8**%f to i8***
br label%j
j:
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%n,label%m
m:
call void@sml_check(i32 inreg%k)
br label%n
n:
%o=load i8*,i8**%e,align 8
%p=icmp eq i8*%o,null
br i1%p,label%q,label%s
q:
%r=load i8*,i8**%d,align 8
ret i8*%r
s:
%t=bitcast i8*%o to i8**
%u=load i8*,i8**%t,align 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
switch i32%w,label%x[
i32 2,label%aO
i32 0,label%ap
i32 1,label%P
]
x:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%y=load i8*,i8**@_SMLZ5Match,align 8
store i8*%y,i8**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
store i8*%z,i8**%e,align 8
%C=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@l,i64 0,i32 2,i64 0),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 60)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177336,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%I,i64 56
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%e,align 8
%O=bitcast i8*%I to i8**
store i8*%N,i8**%O,align 8
call void@sml_raise(i8*inreg%I)#1
unreachable
P:
%Q=getelementptr inbounds i8,i8*%u,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=getelementptr inbounds i8,i8*%S,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=getelementptr inbounds i8,i8*%o,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%h,align 8
%Z=load i8**,i8***%i,align 8
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%g,align 8
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
%ae=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ab,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=call fastcc i8*@_SMLL9revAppend_137(i8*inreg%ab,i8*inreg%al)
%an=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
store i8*%an,i8**%e,align 8
store i8*%am,i8**%d,align 8
br label%ao
ao:
br label%j
ap:
%aq=getelementptr inbounds i8,i8*%u,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
%at=getelementptr inbounds i8,i8*%as,i64 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%e,align 8
%aw=getelementptr inbounds i8,i8*%o,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%h,align 8
%az=load i8**,i8***%i,align 8
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%g,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
%aE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aH=getelementptr inbounds i8,i8*%aB,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aB,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
%aL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aM=call fastcc i8*@_SMLL9revAppend_137(i8*inreg%aB,i8*inreg%aL)
%aN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
store i8*%aN,i8**%e,align 8
store i8*%aM,i8**%d,align 8
br label%ao
aO:
%aP=getelementptr inbounds i8,i8*%u,i64 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
%aS=getelementptr inbounds i8,i8*%o,i64 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%e,align 8
%aV=getelementptr inbounds i8,i8*%aR,i64 8
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
%aY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aZ=call fastcc i8*@_SMLL9revAppend_137(i8*inreg%aX,i8*inreg%aY)
store i8*%aZ,i8**%d,align 8
br label%ao
}
define internal fastcc i8*@_SMLL13linesToString_142(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=bitcast i8*%k to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 48
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=icmp eq i8*%r,null
br i1%s,label%t,label%C
t:
store i8*null,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%k,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%m,i64 32
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*@_SMLL11concatLines_139(i8*inreg%w,i8*inreg%z,i8*inreg null)
%B=tail call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%A)
ret i8*%B
C:
%D=bitcast i8*%r to i8**
%E=load i8*,i8**%D,align 8
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
store i8*null,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%k,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=getelementptr inbounds i8,i8*%m,i64 32
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=call fastcc i8*@_SMLL11concatLines_139(i8*inreg%M,i8*inreg%P,i8*inreg null)
%R=call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%Q)
%S=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%T=call fastcc i8*%H(i8*inreg%S,i8*inreg%R)
ret i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@r,i64 0,i32 2,i64 0)
}
define internal fastcc i32@_SMLL11environment_144(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=getelementptr inbounds i8,i8*%l,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
%y=load i8*,i8**%b,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=load i8*,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%v,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=tail call fastcc i32@_SMLFN22PreProcessedExpression12isHigherThanE(i8*inreg%v)
ret i32%F
}
define internal fastcc i32@_SMLL22allPreferredMultiLined_146(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
v:
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
%e=bitcast i8*%d to i32**
%f=load i32*,i32**%e,align 8
%g=getelementptr inbounds i8,i8*%b,i64 8
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=icmp eq i32%i,0
br i1%j,label%t,label%k
k:
%l=getelementptr inbounds i8,i8*%d,i64 16
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=bitcast i8*%a to i32**
%p=load i32*,i32**%o,align 8
%q=load i32,i32*%p,align 4
%r=icmp slt i32%q,%n
%s=zext i1%r to i32
br label%t
t:
%u=phi i32[%s,%k],[0,%v]
store i32%u,i32*%f,align 4
ret i32%u
}
define internal fastcc i8*@_SMLL10newContext_147(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=bitcast i8*%k to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=bitcast i8*%m to i8**
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*@_SMLL5visit_143(i8*inreg%o,i32 inreg%r,i8*inreg%u,i8*inreg%w)
ret i8*%x
}
define internal fastcc i8*@_SMLL10newContext_148(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL5visit_143(i8*inreg%a,i32 inreg%b,i8*inreg%c,i8*inreg%d)#2 gc"smlsharp"{
r:
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%c,i8**%e,align 8
store i8*%d,i8**%f,align 8
%m=icmp eq i32%b,0
%n=bitcast i8**%h to i32**
%o=bitcast i8**%g to i8***
br label%p
p:
%q=phi i8*[%eI,%eB],[%c,%r]
%s=phi i8*[%eC,%eB],[%d,%r]
%t=load atomic i32,i32*@sml_check_flag unordered,align 4
%u=icmp eq i32%t,0
br i1%u,label%y,label%v
v:
call void@sml_check(i32 inreg%t)
%w=load i8*,i8**%f,align 8
%x=load i8*,i8**%e,align 8
br label%y
y:
%z=phi i8*[%x,%v],[%q,%p]
%A=phi i8*[%w,%v],[%s,%p]
store i8*%z,i8**%h,align 8
%B=icmp eq i8*%A,null
%C=bitcast i8*%z to i32*
br i1%B,label%Y,label%D
D:
%E=bitcast i8*%A to i32*
%F=load i32,i32*%E,align 4
switch i32%F,label%G[
i32 5,label%jG
i32 3,label%gf
i32 2,label%eK
i32 0,label%c4
i32 4,label%bL
i32 1,label%Y
]
G:
store i8*null,i8**%h,align 8
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%H=load i8*,i8**@_SMLZ5Match,align 8
store i8*%H,i8**%e,align 8
%I=call i8*@sml_alloc(i32 inreg 20)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
store i8*%I,i8**%f,align 8
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@q,i64 0,i32 2,i64 0),i8**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 60)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177336,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%R,i64 56
%V=bitcast i8*%U to i32*
store i32 1,i32*%V,align 4
%W=load i8*,i8**%f,align 8
%X=bitcast i8*%R to i8**
store i8*%W,i8**%X,align 8
call void@sml_raise(i8*inreg%R)#1
unreachable
Y:
%Z=getelementptr inbounds i8,i8*%z,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=icmp eq i8*%ab,null
br i1%ac,label%ad,label%ak
ad:
store i8*null,i8**%h,align 8
store i8*null,i8**%g,align 8
%ae=call i8*@sml_alloc(i32 inreg 60)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177336,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ae,i64 56
%ai=bitcast i8*%ah to i32*
store i32 1,i32*%ai,align 4
%aj=bitcast i8*%ae to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@p,i64 0,i32 2)to i8*),i8**%aj,align 8
call void@sml_raise(i8*inreg%ae)#1
unreachable
ak:
%al=bitcast i8*%ab to i32*
%am=load i32,i32*%al,align 4
%an=getelementptr inbounds i8,i8*%ab,i64 8
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%f,align 8
%aq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=getelementptr inbounds i8,i8*%z,i64 16
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=call fastcc i8*@_SMLL12extendIndent_123(i8*inreg%at,i8*inreg%aw)
%ay=getelementptr inbounds i8,i8*%ax,i64 16
%az=bitcast i8*%ay to i8*(i8*,i8*)**
%aA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%az,align 8
%aB=bitcast i8*%ax to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%e,align 8
%aD=load i8*,i8**%h,align 8
%aE=getelementptr inbounds i8,i8*%aD,i64 24
%aF=bitcast i8*%aE to i32*
%aG=load i32,i32*%aF,align 4
%aH=call i8*@sml_alloc(i32 inreg 4)#0
%aI=bitcast i8*%aH to i32*
%aJ=getelementptr inbounds i8,i8*%aH,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 4,i32*%aK,align 4
store i32%aG,i32*%aI,align 4
%aL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aM=call fastcc i8*%aA(i8*inreg%aL,i8*inreg%aH)
%aN=getelementptr inbounds i8,i8*%aM,i64 16
%aO=bitcast i8*%aN to i8*(i8*,i8*)**
%aP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aO,align 8
%aQ=bitcast i8*%aM to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%e,align 8
%aS=icmp eq i32%am,-2147483648
br i1%aS,label%bt,label%aT
aT:
%aU=sub nsw i32 0,%am
%aV=call i8*@sml_alloc(i32 inreg 4)#0
%aW=bitcast i8*%aV to i32*
%aX=getelementptr inbounds i8,i8*%aV,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 4,i32*%aY,align 4
store i32%aU,i32*%aW,align 4
%aZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a0=call fastcc i8*%aP(i8*inreg%aZ,i8*inreg%aV)
store i8*%a0,i8**%e,align 8
%a1=load i8*,i8**%h,align 8
%a2=getelementptr inbounds i8,i8*%a1,i64 24
%a3=bitcast i8*%a2 to i32*
%a4=load i32,i32*%a3,align 4
%a5=sub nsw i32%a4,%am
%a6=bitcast i8*%a1 to i32*
%a7=load i32,i32*%a6,align 4
store i8*null,i8**%h,align 8
%a8=getelementptr inbounds i8,i8*%a1,i64 32
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%g,align 8
%bb=call i8*@sml_alloc(i32 inreg 44)#0
%bc=bitcast i8*%bb to i32*
%bd=getelementptr inbounds i8,i8*%bb,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177320,i32*%be,align 4
%bf=getelementptr inbounds i8,i8*%bb,i64 4
call void@llvm.memset.p0i8.i32(i8*%bf,i8 0,i32 28,i1 false)
store i32%a7,i32*%bc,align 4
%bg=load i8*,i8**%f,align 8
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=load i8*,i8**%e,align 8
%bk=getelementptr inbounds i8,i8*%bb,i64 16
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bb,i64 24
%bn=bitcast i8*%bm to i32*
store i32%a5,i32*%bn,align 4
%bo=load i8*,i8**%g,align 8
%bp=getelementptr inbounds i8,i8*%bb,i64 32
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bb,i64 40
%bs=bitcast i8*%br to i32*
store i32 22,i32*%bs,align 4
ret i8*%bb
bt:
store i8*null,i8**%h,align 8
store i8*null,i8**%f,align 8
%bu=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%bu,i8**%e,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
store i8*%bv,i8**%f,align 8
%by=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bv,i64 8
%bB=bitcast i8*%bA to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[61x i8]}>,<{[4x i8],i32,[61x i8]}>*@n,i64 0,i32 2,i64 0),i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 16
%bD=bitcast i8*%bC to i32*
store i32 3,i32*%bD,align 4
%bE=call i8*@sml_alloc(i32 inreg 60)#0
%bF=getelementptr inbounds i8,i8*%bE,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 1342177336,i32*%bG,align 4
%bH=getelementptr inbounds i8,i8*%bE,i64 56
%bI=bitcast i8*%bH to i32*
store i32 1,i32*%bI,align 4
%bJ=load i8*,i8**%f,align 8
%bK=bitcast i8*%bE to i8**
store i8*%bJ,i8**%bK,align 8
call void@sml_raise(i8*inreg%bE)#1
unreachable
bL:
%bM=getelementptr inbounds i8,i8*%A,i64 4
%bN=bitcast i8*%bM to i32*
%bO=load i32,i32*%bN,align 4
%bP=getelementptr inbounds i8,i8*%z,i64 8
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%e,align 8
%bS=call i8*@sml_alloc(i32 inreg 20)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177296,i32*%bU,align 4
store i8*%bS,i8**%i,align 8
%bV=getelementptr inbounds i8,i8*%bS,i64 4
%bW=bitcast i8*%bV to i32*
store i32 0,i32*%bW,align 1
%bX=bitcast i8*%bS to i32*
store i32%bO,i32*%bX,align 4
%bY=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bZ=getelementptr inbounds i8,i8*%bS,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bS,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 2,i32*%b2,align 4
%b3=load i8*,i8**%h,align 8
%b4=getelementptr inbounds i8,i8*%b3,i64 24
%b5=bitcast i8*%b4 to i32*
%b6=load i32,i32*%b5,align 4
%b7=add nsw i32%b6,%bO
%b8=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b9=getelementptr inbounds i8,i8*%b8,i64 8
%ca=bitcast i8*%b9 to i8**
%cb=load i8*,i8**%ca,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 16
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
%cf=call fastcc i8*@_SMLL12extendIndent_123(i8*inreg%cb,i8*inreg%ce)
%cg=getelementptr inbounds i8,i8*%cf,i64 16
%ch=bitcast i8*%cg to i8*(i8*,i8*)**
%ci=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ch,align 8
%cj=bitcast i8*%cf to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%e,align 8
%cl=load i8*,i8**%h,align 8
%cm=getelementptr inbounds i8,i8*%cl,i64 24
%cn=bitcast i8*%cm to i32*
%co=load i32,i32*%cn,align 4
%cp=call i8*@sml_alloc(i32 inreg 4)#0
%cq=bitcast i8*%cp to i32*
%cr=getelementptr inbounds i8,i8*%cp,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 4,i32*%cs,align 4
store i32%co,i32*%cq,align 4
%ct=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cu=call fastcc i8*%ci(i8*inreg%ct,i8*inreg%cp)
%cv=getelementptr inbounds i8,i8*%cu,i64 16
%cw=bitcast i8*%cv to i8*(i8*,i8*)**
%cx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cw,align 8
%cy=bitcast i8*%cu to i8**
%cz=load i8*,i8**%cy,align 8
store i8*%cz,i8**%e,align 8
%cA=call i8*@sml_alloc(i32 inreg 4)#0
%cB=bitcast i8*%cA to i32*
%cC=getelementptr inbounds i8,i8*%cA,i64 -4
%cD=bitcast i8*%cC to i32*
store i32 4,i32*%cD,align 4
store i32%bO,i32*%cB,align 4
%cE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cF=call fastcc i8*%cx(i8*inreg%cE,i8*inreg%cA)
store i8*%cF,i8**%e,align 8
%cG=load i8*,i8**%h,align 8
%cH=bitcast i8*%cG to i32*
%cI=load i32,i32*%cH,align 4
store i8*null,i8**%h,align 8
%cJ=getelementptr inbounds i8,i8*%cG,i64 32
%cK=bitcast i8*%cJ to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%f,align 8
%cM=call i8*@sml_alloc(i32 inreg 44)#0
%cN=bitcast i8*%cM to i32*
%cO=getelementptr inbounds i8,i8*%cM,i64 -4
%cP=bitcast i8*%cO to i32*
store i32 1342177320,i32*%cP,align 4
%cQ=getelementptr inbounds i8,i8*%cM,i64 4
call void@llvm.memset.p0i8.i32(i8*%cQ,i8 0,i32 28,i1 false)
store i32%cI,i32*%cN,align 4
%cR=load i8*,i8**%i,align 8
%cS=getelementptr inbounds i8,i8*%cM,i64 8
%cT=bitcast i8*%cS to i8**
store i8*%cR,i8**%cT,align 8
%cU=load i8*,i8**%e,align 8
%cV=getelementptr inbounds i8,i8*%cM,i64 16
%cW=bitcast i8*%cV to i8**
store i8*%cU,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cM,i64 24
%cY=bitcast i8*%cX to i32*
store i32%b7,i32*%cY,align 4
%cZ=load i8*,i8**%f,align 8
%c0=getelementptr inbounds i8,i8*%cM,i64 32
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cM,i64 40
%c3=bitcast i8*%c2 to i32*
store i32 22,i32*%c3,align 4
ret i8*%cM
c4:
%c5=getelementptr inbounds i8,i8*%A,i64 8
%c6=bitcast i8*%c5 to i8**
%c7=load i8*,i8**%c6,align 8
br i1%m,label%ec,label%c8
c8:
%c9=bitcast i8*%c7 to i32**
%da=load i32*,i32**%c9,align 8
%db=load i32,i32*%da,align 4
%dc=load i32,i32*%C,align 4
%dd=icmp slt i32%dc,%db
br i1%dd,label%de,label%ec
de:
%df=getelementptr inbounds i8,i8*%z,i64 24
%dg=bitcast i8*%df to i32*
%dh=load i32,i32*%dg,align 4
%di=load i8*,i8**%g,align 8
%dj=getelementptr inbounds i8,i8*%di,i64 32
%dk=bitcast i8*%dj to i32*
%dl=load i32,i32*%dk,align 4
%dm=sub nsw i32%dl,%dh
%dn=getelementptr inbounds i8,i8*%di,i64 16
%do=bitcast i8*%dn to i8**
%dp=load i8*,i8**%do,align 8
%dq=getelementptr inbounds i8,i8*%z,i64 16
%dr=bitcast i8*%dq to i8**
%ds=load i8*,i8**%dr,align 8
%dt=call fastcc i8*@_SMLL12appendToLine_132(i8*inreg%dp,i8*inreg%ds)
%du=getelementptr inbounds i8,i8*%dt,i64 16
%dv=bitcast i8*%du to i8*(i8*,i8*)**
%dw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dv,align 8
%dx=bitcast i8*%dt to i8**
%dy=load i8*,i8**%dx,align 8
store i8*%dy,i8**%e,align 8
%dz=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dA=getelementptr inbounds i8,i8*%dz,i64 24
%dB=bitcast i8*%dA to i8**
%dC=load i8*,i8**%dB,align 8
%dD=load i8*,i8**%h,align 8
%dE=getelementptr inbounds i8,i8*%dD,i64 32
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
%dH=call fastcc i8*@_SMLL9closeLine_136(i8*inreg%dC,i8*inreg%dG)
%dI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dJ=call fastcc i8*%dw(i8*inreg%dI,i8*inreg%dH)
store i8*%dJ,i8**%e,align 8
%dK=load i8*,i8**%h,align 8
%dL=getelementptr inbounds i8,i8*%dK,i64 8
%dM=bitcast i8*%dL to i8**
%dN=load i8*,i8**%dM,align 8
store i8*%dN,i8**%f,align 8
%dO=getelementptr inbounds i8,i8*%dK,i64 16
%dP=bitcast i8*%dO to i8**
%dQ=load i8*,i8**%dP,align 8
store i8*%dQ,i8**%g,align 8
store i8*null,i8**%h,align 8
%dR=getelementptr inbounds i8,i8*%dK,i64 24
%dS=bitcast i8*%dR to i32*
%dT=load i32,i32*%dS,align 4
%dU=call i8*@sml_alloc(i32 inreg 44)#0
%dV=bitcast i8*%dU to i32*
%dW=getelementptr inbounds i8,i8*%dU,i64 -4
%dX=bitcast i8*%dW to i32*
store i32 1342177320,i32*%dX,align 4
%dY=getelementptr inbounds i8,i8*%dU,i64 4
call void@llvm.memset.p0i8.i32(i8*%dY,i8 0,i32 28,i1 false)
store i32%dm,i32*%dV,align 4
%dZ=load i8*,i8**%f,align 8
%d0=getelementptr inbounds i8,i8*%dU,i64 8
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=load i8*,i8**%g,align 8
%d3=getelementptr inbounds i8,i8*%dU,i64 16
%d4=bitcast i8*%d3 to i8**
store i8*%d2,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dU,i64 24
%d6=bitcast i8*%d5 to i32*
store i32%dT,i32*%d6,align 4
%d7=load i8*,i8**%e,align 8
%d8=getelementptr inbounds i8,i8*%dU,i64 32
%d9=bitcast i8*%d8 to i8**
store i8*%d7,i8**%d9,align 8
%ea=getelementptr inbounds i8,i8*%dU,i64 40
%eb=bitcast i8*%ea to i32*
store i32 22,i32*%eb,align 4
ret i8*%dU
ec:
%ed=getelementptr inbounds i8,i8*%c7,i64 8
%ee=bitcast i8*%ed to i32*
%ef=load i32,i32*%ee,align 4
%eg=icmp eq i32%ef,0
br i1%eg,label%eJ,label%eh
eh:
%ei=load i8**,i8***%o,align 8
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%e,align 8
%ek=call i8*@sml_alloc(i32 inreg 20)#0
%el=getelementptr inbounds i8,i8*%ek,i64 -4
%em=bitcast i8*%el to i32*
store i32 1342177296,i32*%em,align 4
store i8*%ek,i8**%f,align 8
%en=getelementptr inbounds i8,i8*%ek,i64 4
%eo=bitcast i8*%en to i32*
store i32 0,i32*%eo,align 1
%ep=bitcast i8*%ek to i32*
store i32 1,i32*%ep,align 4
%eq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%er=getelementptr inbounds i8,i8*%ek,i64 8
%es=bitcast i8*%er to i8**
store i8*%eq,i8**%es,align 8
%et=getelementptr inbounds i8,i8*%ek,i64 16
%eu=bitcast i8*%et to i32*
store i32 2,i32*%eu,align 4
%ev=call i8*@sml_alloc(i32 inreg 20)#0
%ew=bitcast i8*%ev to i32*
%ex=getelementptr inbounds i8,i8*%ev,i64 -4
%ey=bitcast i8*%ex to i32*
store i32 1342177296,i32*%ey,align 4
%ez=getelementptr inbounds i8,i8*%ev,i64 4
%eA=bitcast i8*%ez to i32*
store i32 0,i32*%eA,align 1
store i32 5,i32*%ew,align 4
br label%eB
eB:
%eC=phi i8*[%ev,%eh],[%f9,%fV]
%eD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eE=getelementptr inbounds i8,i8*%eC,i64 8
%eF=bitcast i8*%eE to i8**
store i8*%eD,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%eC,i64 16
%eH=bitcast i8*%eG to i32*
store i32 2,i32*%eH,align 4
%eI=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
store i8*%eI,i8**%e,align 8
store i8*%eC,i8**%f,align 8
br label%p
eJ:
ret i8*%z
eK:
%eL=getelementptr inbounds i8,i8*%A,i64 8
%eM=bitcast i8*%eL to i8**
%eN=load i8*,i8**%eM,align 8
%eO=bitcast i8*%eN to i32**
%eP=load i32*,i32**%eO,align 8
%eQ=load i32,i32*%eP,align 4
%eR=icmp eq i32%eQ,0
br i1%eR,label%fQ,label%eS
eS:
%eT=getelementptr inbounds i8,i8*%z,i64 24
%eU=bitcast i8*%eT to i32*
%eV=load i32,i32*%eU,align 4
%eW=load i8*,i8**%g,align 8
%eX=getelementptr inbounds i8,i8*%eW,i64 32
%eY=bitcast i8*%eX to i32*
%eZ=load i32,i32*%eY,align 4
%e0=sub nsw i32%eZ,%eV
%e1=getelementptr inbounds i8,i8*%eW,i64 16
%e2=bitcast i8*%e1 to i8**
%e3=load i8*,i8**%e2,align 8
%e4=getelementptr inbounds i8,i8*%z,i64 16
%e5=bitcast i8*%e4 to i8**
%e6=load i8*,i8**%e5,align 8
%e7=call fastcc i8*@_SMLL12appendToLine_132(i8*inreg%e3,i8*inreg%e6)
%e8=getelementptr inbounds i8,i8*%e7,i64 16
%e9=bitcast i8*%e8 to i8*(i8*,i8*)**
%fa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e9,align 8
%fb=bitcast i8*%e7 to i8**
%fc=load i8*,i8**%fb,align 8
store i8*%fc,i8**%e,align 8
%fd=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fe=getelementptr inbounds i8,i8*%fd,i64 24
%ff=bitcast i8*%fe to i8**
%fg=load i8*,i8**%ff,align 8
%fh=load i8*,i8**%h,align 8
%fi=getelementptr inbounds i8,i8*%fh,i64 32
%fj=bitcast i8*%fi to i8**
%fk=load i8*,i8**%fj,align 8
%fl=call fastcc i8*@_SMLL9closeLine_136(i8*inreg%fg,i8*inreg%fk)
%fm=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fn=call fastcc i8*%fa(i8*inreg%fm,i8*inreg%fl)
store i8*%fn,i8**%e,align 8
%fo=load i8*,i8**%h,align 8
%fp=getelementptr inbounds i8,i8*%fo,i64 8
%fq=bitcast i8*%fp to i8**
%fr=load i8*,i8**%fq,align 8
store i8*%fr,i8**%f,align 8
%fs=getelementptr inbounds i8,i8*%fo,i64 16
%ft=bitcast i8*%fs to i8**
%fu=load i8*,i8**%ft,align 8
store i8*%fu,i8**%g,align 8
store i8*null,i8**%h,align 8
%fv=getelementptr inbounds i8,i8*%fo,i64 24
%fw=bitcast i8*%fv to i32*
%fx=load i32,i32*%fw,align 4
%fy=call i8*@sml_alloc(i32 inreg 44)#0
%fz=bitcast i8*%fy to i32*
%fA=getelementptr inbounds i8,i8*%fy,i64 -4
%fB=bitcast i8*%fA to i32*
store i32 1342177320,i32*%fB,align 4
%fC=getelementptr inbounds i8,i8*%fy,i64 4
call void@llvm.memset.p0i8.i32(i8*%fC,i8 0,i32 28,i1 false)
store i32%e0,i32*%fz,align 4
%fD=load i8*,i8**%f,align 8
%fE=getelementptr inbounds i8,i8*%fy,i64 8
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=load i8*,i8**%g,align 8
%fH=getelementptr inbounds i8,i8*%fy,i64 16
%fI=bitcast i8*%fH to i8**
store i8*%fG,i8**%fI,align 8
%fJ=getelementptr inbounds i8,i8*%fy,i64 24
%fK=bitcast i8*%fJ to i32*
store i32%fx,i32*%fK,align 4
%fL=load i8*,i8**%e,align 8
%fM=getelementptr inbounds i8,i8*%fy,i64 32
%fN=bitcast i8*%fM to i8**
store i8*%fL,i8**%fN,align 8
%fO=getelementptr inbounds i8,i8*%fy,i64 40
%fP=bitcast i8*%fO to i32*
store i32 22,i32*%fP,align 4
ret i8*%fy
fQ:
%fR=getelementptr inbounds i8,i8*%eN,i64 8
%fS=bitcast i8*%fR to i32*
%fT=load i32,i32*%fS,align 4
%fU=icmp eq i32%fT,0
br i1%fU,label%eJ,label%fV
fV:
%fW=load i8**,i8***%o,align 8
%fX=load i8*,i8**%fW,align 8
store i8*%fX,i8**%e,align 8
%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
store i8*%fY,i8**%f,align 8
%f1=getelementptr inbounds i8,i8*%fY,i64 4
%f2=bitcast i8*%f1 to i32*
store i32 0,i32*%f2,align 1
%f3=bitcast i8*%fY to i32*
store i32 1,i32*%f3,align 4
%f4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%f5=getelementptr inbounds i8,i8*%fY,i64 8
%f6=bitcast i8*%f5 to i8**
store i8*%f4,i8**%f6,align 8
%f7=getelementptr inbounds i8,i8*%fY,i64 16
%f8=bitcast i8*%f7 to i32*
store i32 2,i32*%f8,align 4
%f9=call i8*@sml_alloc(i32 inreg 20)#0
%ga=bitcast i8*%f9 to i32*
%gb=getelementptr inbounds i8,i8*%f9,i64 -4
%gc=bitcast i8*%gb to i32*
store i32 1342177296,i32*%gc,align 4
%gd=getelementptr inbounds i8,i8*%f9,i64 4
%ge=bitcast i8*%gd to i32*
store i32 0,i32*%ge,align 1
store i32 5,i32*%ga,align 4
br label%eB
gf:
%gg=getelementptr inbounds i8,i8*%A,i64 8
%gh=bitcast i8*%gg to i8**
%gi=load i8*,i8**%gh,align 8
store i8*%gi,i8**%i,align 8
%gj=call fastcc i8*@_SMLLN13PrettyPrinter4sortE_109(i32 inreg 1,i32 inreg 8)
%gk=getelementptr inbounds i8,i8*%gj,i64 16
%gl=bitcast i8*%gk to i8*(i8*,i8*)**
%gm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gl,align 8
%gn=bitcast i8*%gj to i8**
%go=load i8*,i8**%gn,align 8
%gp=call fastcc i8*%gm(i8*inreg%go,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*))
%gq=getelementptr inbounds i8,i8*%gp,i64 16
%gr=bitcast i8*%gq to i8*(i8*,i8*)**
%gs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gr,align 8
%gt=bitcast i8*%gp to i8**
%gu=load i8*,i8**%gt,align 8
%gv=bitcast i8**%i to i8***
%gw=load i8**,i8***%gv,align 8
%gx=load i8*,i8**%gw,align 8
%gy=call fastcc i8*%gs(i8*inreg%gu,i8*inreg%gx)
store i8*%gy,i8**%e,align 8
%gz=call fastcc i8*@_SMLLN13PrettyPrinter5foldlE_103(i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 4)
%gA=getelementptr inbounds i8,i8*%gz,i64 16
%gB=bitcast i8*%gA to i8*(i8*,i8*,i8*,i8*)**
%gC=load i8*(i8*,i8*,i8*,i8*)*,i8*(i8*,i8*,i8*,i8*)**%gB,align 8
%gD=bitcast i8*%gz to i8**
%gE=load i8*,i8**%gD,align 8
store i8*%gE,i8**%f,align 8
%gF=call i8*@sml_alloc(i32 inreg 12)#0
%gG=getelementptr inbounds i8,i8*%gF,i64 -4
%gH=bitcast i8*%gG to i32*
store i32 1342177288,i32*%gH,align 4
store i8*%gF,i8**%j,align 8
%gI=load i8*,i8**%h,align 8
%gJ=bitcast i8*%gF to i8**
store i8*%gI,i8**%gJ,align 8
%gK=getelementptr inbounds i8,i8*%gF,i64 8
%gL=bitcast i8*%gK to i32*
store i32 1,i32*%gL,align 4
%gM=call i8*@sml_alloc(i32 inreg 28)#0
%gN=getelementptr inbounds i8,i8*%gM,i64 -4
%gO=bitcast i8*%gN to i32*
store i32 1342177304,i32*%gO,align 4
store i8*%gM,i8**%k,align 8
%gP=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%gQ=bitcast i8*%gM to i8**
store i8*%gP,i8**%gQ,align 8
%gR=getelementptr inbounds i8,i8*%gM,i64 8
%gS=bitcast i8*%gR to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL22allPreferredMultiLined_146 to void(...)*),void(...)**%gS,align 8
%gT=getelementptr inbounds i8,i8*%gM,i64 16
%gU=bitcast i8*%gT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL22allPreferredMultiLined_172 to void(...)*),void(...)**%gU,align 8
%gV=getelementptr inbounds i8,i8*%gM,i64 24
%gW=bitcast i8*%gV to i32*
store i32 -2147483647,i32*%gW,align 4
%gX=call i8*@sml_alloc(i32 inreg 4)#0
%gY=bitcast i8*%gX to i32*
%gZ=getelementptr inbounds i8,i8*%gX,i64 -4
%g0=bitcast i8*%gZ to i32*
store i32 4,i32*%g0,align 4
store i32%b,i32*%gY,align 4
%g1=load i8*,i8**%e,align 8
%g2=load i8*,i8**%f,align 8
%g3=load i8*,i8**%k,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%k,align 8
%g4=call fastcc i8*%gC(i8*inreg%g2,i8*inreg%g3,i8*inreg%gX,i8*inreg%g1)
%g5=bitcast i8*%g4 to i32*
%g6=load i32,i32*%g5,align 4
%g7=call fastcc i8*@_SMLLN13PrettyPrinter5foldlE_103(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%g8=getelementptr inbounds i8,i8*%g7,i64 16
%g9=bitcast i8*%g8 to i8*(i8*,i8*,i8*,i8*)**
%ha=load i8*(i8*,i8*,i8*,i8*)*,i8*(i8*,i8*,i8*,i8*)**%g9,align 8
%hb=bitcast i8*%g7 to i8**
%hc=load i8*,i8**%hb,align 8
store i8*%hc,i8**%j,align 8
%hd=call i8*@sml_alloc(i32 inreg 20)#0
%he=getelementptr inbounds i8,i8*%hd,i64 -4
%hf=bitcast i8*%he to i32*
store i32 1342177296,i32*%hf,align 4
store i8*%hd,i8**%e,align 8
%hg=load i8*,i8**%g,align 8
%hh=bitcast i8*%hd to i8**
store i8*%hg,i8**%hh,align 8
%hi=getelementptr inbounds i8,i8*%hd,i64 8
%hj=bitcast i8*%hi to i32*
store i32%g6,i32*%hj,align 4
%hk=getelementptr inbounds i8,i8*%hd,i64 16
%hl=bitcast i8*%hk to i32*
store i32 1,i32*%hl,align 4
%hm=call i8*@sml_alloc(i32 inreg 28)#0
%hn=getelementptr inbounds i8,i8*%hm,i64 -4
%ho=bitcast i8*%hn to i32*
store i32 1342177304,i32*%ho,align 4
store i8*%hm,i8**%k,align 8
%hp=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hq=bitcast i8*%hm to i8**
store i8*%hp,i8**%hq,align 8
%hr=getelementptr inbounds i8,i8*%hm,i64 8
%hs=bitcast i8*%hr to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10newContext_147 to void(...)*),void(...)**%hs,align 8
%ht=getelementptr inbounds i8,i8*%hm,i64 16
%hu=bitcast i8*%ht to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10newContext_147 to void(...)*),void(...)**%hu,align 8
%hv=getelementptr inbounds i8,i8*%hm,i64 24
%hw=bitcast i8*%hv to i32*
store i32 -2147483647,i32*%hw,align 4
%hx=load i32*,i32**%n,align 8
%hy=load i32,i32*%hx,align 4
%hz=load i8*,i8**%g,align 8
%hA=getelementptr inbounds i8,i8*%hz,i64 32
%hB=bitcast i8*%hA to i32*
%hC=load i32,i32*%hB,align 4
%hD=sub nsw i32%hC,%hy
%hE=call fastcc i8*@_SMLFN4List8tabulateE(i32 inreg 1,i32 inreg 8)
%hF=getelementptr inbounds i8,i8*%hE,i64 16
%hG=bitcast i8*%hF to i8*(i8*,i8*)**
%hH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hG,align 8
%hI=bitcast i8*%hE to i8**
%hJ=load i8*,i8**%hI,align 8
store i8*%hJ,i8**%f,align 8
%hK=load i8**,i8***%o,align 8
%hL=load i8*,i8**%hK,align 8
store i8*%hL,i8**%e,align 8
%hM=call i8*@sml_alloc(i32 inreg 12)#0
%hN=getelementptr inbounds i8,i8*%hM,i64 -4
%hO=bitcast i8*%hN to i32*
store i32 1342177288,i32*%hO,align 4
store i8*%hM,i8**%l,align 8
%hP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hQ=bitcast i8*%hM to i8**
store i8*%hP,i8**%hQ,align 8
%hR=getelementptr inbounds i8,i8*%hM,i64 8
%hS=bitcast i8*%hR to i32*
store i32 1,i32*%hS,align 4
%hT=call i8*@sml_alloc(i32 inreg 28)#0
%hU=getelementptr inbounds i8,i8*%hT,i64 -4
%hV=bitcast i8*%hU to i32*
store i32 1342177304,i32*%hV,align 4
store i8*%hT,i8**%e,align 8
%hW=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%hX=bitcast i8*%hT to i8**
store i8*%hW,i8**%hX,align 8
%hY=getelementptr inbounds i8,i8*%hT,i64 8
%hZ=bitcast i8*%hY to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLL10newContext_148 to void(...)*),void(...)**%hZ,align 8
%h0=getelementptr inbounds i8,i8*%hT,i64 16
%h1=bitcast i8*%h0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10newContext_173 to void(...)*),void(...)**%h1,align 8
%h2=getelementptr inbounds i8,i8*%hT,i64 24
%h3=bitcast i8*%h2 to i32*
store i32 -2147483647,i32*%h3,align 4
%h4=call i8*@sml_alloc(i32 inreg 20)#0
%h5=bitcast i8*%h4 to i32*
%h6=getelementptr inbounds i8,i8*%h4,i64 -4
%h7=bitcast i8*%h6 to i32*
store i32 1342177296,i32*%h7,align 4
%h8=getelementptr inbounds i8,i8*%h4,i64 4
%h9=bitcast i8*%h8 to i32*
store i32 0,i32*%h9,align 1
store i32%hD,i32*%h5,align 4
%ia=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ib=getelementptr inbounds i8,i8*%h4,i64 8
%ic=bitcast i8*%ib to i8**
store i8*%ia,i8**%ic,align 8
%id=getelementptr inbounds i8,i8*%h4,i64 16
%ie=bitcast i8*%id to i32*
store i32 2,i32*%ie,align 4
%if=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ig=call fastcc i8*%hH(i8*inreg%if,i8*inreg%h4)
%ih=call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%ig)
store i8*%ih,i8**%e,align 8
%ii=load i32*,i32**%n,align 8
%ij=load i32,i32*%ii,align 4
%ik=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%il=getelementptr inbounds i8,i8*%ik,i64 32
%im=bitcast i8*%il to i32*
%in=load i32,i32*%im,align 4
%io=sub nsw i32%in,%ij
%ip=load i32,i32*%ii,align 4
%iq=getelementptr inbounds i32,i32*%ii,i64 8
%ir=bitcast i32*%iq to i8**
%is=load i8*,i8**%ir,align 8
store i8*%is,i8**%f,align 8
%it=call i8*@sml_alloc(i32 inreg 44)#0
%iu=bitcast i8*%it to i32*
%iv=getelementptr inbounds i8,i8*%it,i64 -4
%iw=bitcast i8*%iv to i32*
store i32 1342177320,i32*%iw,align 4
%ix=getelementptr inbounds i8,i8*%it,i64 4
call void@llvm.memset.p0i8.i32(i8*%ix,i8 0,i32 28,i1 false)
store i32%ip,i32*%iu,align 4
%iy=getelementptr inbounds i8,i8*%it,i64 8
%iz=bitcast i8*%iy to i8**
store i8*null,i8**%iz,align 8
%iA=load i8*,i8**%e,align 8
%iB=getelementptr inbounds i8,i8*%it,i64 16
%iC=bitcast i8*%iB to i8**
store i8*%iA,i8**%iC,align 8
%iD=getelementptr inbounds i8,i8*%it,i64 24
%iE=bitcast i8*%iD to i32*
store i32%io,i32*%iE,align 4
%iF=load i8*,i8**%f,align 8
%iG=getelementptr inbounds i8,i8*%it,i64 32
%iH=bitcast i8*%iG to i8**
store i8*%iF,i8**%iH,align 8
%iI=getelementptr inbounds i8,i8*%it,i64 40
%iJ=bitcast i8*%iI to i32*
store i32 22,i32*%iJ,align 4
store i8*null,i8**%e,align 8
store i8*%iA,i8**%f,align 8
store i8*%iF,i8**%g,align 8
%iK=call i8*@sml_alloc(i32 inreg 44)#0
%iL=bitcast i8*%iK to i32*
%iM=getelementptr inbounds i8,i8*%iK,i64 -4
%iN=bitcast i8*%iM to i32*
store i32 1342177320,i32*%iN,align 4
%iO=getelementptr inbounds i8,i8*%iK,i64 4
call void@llvm.memset.p0i8.i32(i8*%iO,i8 0,i32 28,i1 false)
store i32%ip,i32*%iL,align 4
%iP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iQ=getelementptr inbounds i8,i8*%iK,i64 8
%iR=bitcast i8*%iQ to i8**
store i8*%iP,i8**%iR,align 8
%iS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iT=getelementptr inbounds i8,i8*%iK,i64 16
%iU=bitcast i8*%iT to i8**
store i8*%iS,i8**%iU,align 8
%iV=getelementptr inbounds i8,i8*%iK,i64 24
%iW=bitcast i8*%iV to i32*
store i32%io,i32*%iW,align 4
%iX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%iY=getelementptr inbounds i8,i8*%iK,i64 32
%iZ=bitcast i8*%iY to i8**
store i8*%iX,i8**%iZ,align 8
%i0=getelementptr inbounds i8,i8*%iK,i64 40
%i1=bitcast i8*%i0 to i32*
store i32 22,i32*%i1,align 4
%i2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%i3=getelementptr inbounds i8,i8*%i2,i64 8
%i4=bitcast i8*%i3 to i8**
%i5=load i8*,i8**%i4,align 8
%i6=load i8*,i8**%j,align 8
%i7=load i8*,i8**%k,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%i8=call fastcc i8*%ha(i8*inreg%i6,i8*inreg%i7,i8*inreg%iK,i8*inreg%i5)
%i9=bitcast i8*%i8 to i32*
%ja=load i32,i32*%i9,align 4
%jb=load i8*,i8**%h,align 8
%jc=getelementptr inbounds i8,i8*%jb,i64 8
%jd=bitcast i8*%jc to i8**
%je=load i8*,i8**%jd,align 8
store i8*%je,i8**%e,align 8
%jf=getelementptr inbounds i8,i8*%jb,i64 16
%jg=bitcast i8*%jf to i8**
%jh=load i8*,i8**%jg,align 8
store i8*%jh,i8**%f,align 8
store i8*null,i8**%h,align 8
%ji=getelementptr inbounds i8,i8*%jb,i64 24
%jj=bitcast i8*%ji to i32*
%jk=load i32,i32*%jj,align 4
%jl=getelementptr inbounds i8,i8*%i8,i64 32
%jm=bitcast i8*%jl to i8**
%jn=load i8*,i8**%jm,align 8
store i8*%jn,i8**%g,align 8
%jo=call i8*@sml_alloc(i32 inreg 44)#0
%jp=bitcast i8*%jo to i32*
%jq=getelementptr inbounds i8,i8*%jo,i64 -4
%jr=bitcast i8*%jq to i32*
store i32 1342177320,i32*%jr,align 4
%js=getelementptr inbounds i8,i8*%jo,i64 4
call void@llvm.memset.p0i8.i32(i8*%js,i8 0,i32 28,i1 false)
store i32%ja,i32*%jp,align 4
%jt=load i8*,i8**%e,align 8
%ju=getelementptr inbounds i8,i8*%jo,i64 8
%jv=bitcast i8*%ju to i8**
store i8*%jt,i8**%jv,align 8
%jw=load i8*,i8**%f,align 8
%jx=getelementptr inbounds i8,i8*%jo,i64 16
%jy=bitcast i8*%jx to i8**
store i8*%jw,i8**%jy,align 8
%jz=getelementptr inbounds i8,i8*%jo,i64 24
%jA=bitcast i8*%jz to i32*
store i32%jk,i32*%jA,align 4
%jB=load i8*,i8**%g,align 8
%jC=getelementptr inbounds i8,i8*%jo,i64 32
%jD=bitcast i8*%jC to i8**
store i8*%jB,i8**%jD,align 8
%jE=getelementptr inbounds i8,i8*%jo,i64 40
%jF=bitcast i8*%jE to i32*
store i32 22,i32*%jF,align 4
ret i8*%jo
jG:
%jH=bitcast i8*%z to i32*
%jI=getelementptr inbounds i8,i8*%A,i64 8
%jJ=bitcast i8*%jI to i8**
%jK=load i8*,i8**%jJ,align 8
%jL=bitcast i8*%jK to i32*
%jM=load i32,i32*%jL,align 4
%jN=load i32,i32*%jH,align 4
%jO=sub nsw i32%jN,%jM
%jP=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jQ=getelementptr inbounds i8,i8*%jP,i64 16
%jR=bitcast i8*%jQ to i8**
%jS=load i8*,i8**%jR,align 8
%jT=getelementptr inbounds i8,i8*%jK,i64 8
%jU=bitcast i8*%jT to i8**
%jV=load i8*,i8**%jU,align 8
%jW=call fastcc i8*@_SMLL12appendToLine_132(i8*inreg%jS,i8*inreg%jV)
%jX=getelementptr inbounds i8,i8*%jW,i64 16
%jY=bitcast i8*%jX to i8*(i8*,i8*)**
%jZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jY,align 8
%j0=bitcast i8*%jW to i8**
%j1=load i8*,i8**%j0,align 8
%j2=load i8*,i8**%h,align 8
%j3=getelementptr inbounds i8,i8*%j2,i64 32
%j4=bitcast i8*%j3 to i8**
%j5=load i8*,i8**%j4,align 8
%j6=call fastcc i8*%jZ(i8*inreg%j1,i8*inreg%j5)
store i8*%j6,i8**%e,align 8
%j7=load i8*,i8**%h,align 8
%j8=getelementptr inbounds i8,i8*%j7,i64 8
%j9=bitcast i8*%j8 to i8**
%ka=load i8*,i8**%j9,align 8
store i8*%ka,i8**%f,align 8
%kb=getelementptr inbounds i8,i8*%j7,i64 16
%kc=bitcast i8*%kb to i8**
%kd=load i8*,i8**%kc,align 8
store i8*%kd,i8**%g,align 8
store i8*null,i8**%h,align 8
%ke=getelementptr inbounds i8,i8*%j7,i64 24
%kf=bitcast i8*%ke to i32*
%kg=load i32,i32*%kf,align 4
%kh=call i8*@sml_alloc(i32 inreg 44)#0
%ki=bitcast i8*%kh to i32*
%kj=getelementptr inbounds i8,i8*%kh,i64 -4
%kk=bitcast i8*%kj to i32*
store i32 1342177320,i32*%kk,align 4
%kl=getelementptr inbounds i8,i8*%kh,i64 4
call void@llvm.memset.p0i8.i32(i8*%kl,i8 0,i32 28,i1 false)
store i32%jO,i32*%ki,align 4
%km=load i8*,i8**%f,align 8
%kn=getelementptr inbounds i8,i8*%kh,i64 8
%ko=bitcast i8*%kn to i8**
store i8*%km,i8**%ko,align 8
%kp=load i8*,i8**%g,align 8
%kq=getelementptr inbounds i8,i8*%kh,i64 16
%kr=bitcast i8*%kq to i8**
store i8*%kp,i8**%kr,align 8
%ks=getelementptr inbounds i8,i8*%kh,i64 24
%kt=bitcast i8*%ks to i32*
store i32%kg,i32*%kt,align 4
%ku=load i8*,i8**%e,align 8
%kv=getelementptr inbounds i8,i8*%kh,i64 32
%kw=bitcast i8*%kv to i8**
store i8*%ku,i8**%kw,align 8
%kx=getelementptr inbounds i8,i8*%kh,i64 40
%ky=bitcast i8*%kx to i32*
store i32 22,i32*%ky,align 4
ret i8*%kh
}
define internal fastcc i8*@_SMLLN13PrettyPrinter6formatE_154(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
store i8*null,i8**%d,align 8
%p=getelementptr inbounds i8*,i8**%n,i64 1
%q=bitcast i8**%p to i32*
%r=load i32,i32*%q,align 4
%s=call i8*@sml_alloc(i32 inreg 44)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177320,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%s,i64 4
call void@llvm.memset.p0i8.i32(i8*%w,i8 0,i32 28,i1 false)
store i32%r,i32*%t,align 4
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*null,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@r,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 0,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%s,i64 32
%E=bitcast i8*%D to i8**
store i8*null,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%s,i64 40
%G=bitcast i8*%F to i32*
store i32 22,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=load i8*,i8**%e,align 8
%J=call fastcc i8*@_SMLL5visit_143(i8*inreg%I,i32 inreg 1,i8*inreg%s,i8*inreg%H)
ret i8*%J
}
define internal fastcc i8*@_SMLLN13PrettyPrinter6formatE_155(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
store i8*%p,i8**%d,align 8
store i8*null,i8**%c,align 8
%q=getelementptr inbounds i8*,i8**%n,i64 1
%r=load i8*,i8**%q,align 8
%s=call fastcc i8*@_SMLLN13PrettyPrinter6formatE_154(i8*inreg%r,i8*inreg%o)
%t=load i8*,i8**%d,align 8
%u=tail call fastcc i8*@_SMLL13linesToString_142(i8*inreg%t,i8*inreg%s)
ret i8*%u
}
define fastcc i8*@_SMLFN13PrettyPrinter6formatE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%b,align 8
%i=bitcast i8*%a to i32*
%j=load i32,i32*%i,align 4
%k=getelementptr inbounds i8,i8*%a,i64 56
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%a,i64 40
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,align 8
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
store i8*%q,i8**%e,align 8
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
%A=load i8*,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12extendIndent_123 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12extendIndent_123 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 20)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
store i8*%I,i8**%f,align 8
%L=load i8*,i8**%b,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i32*
store i32%j,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to i32*
store i32 1,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=load i8*,i8**%f,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13checkOverTail_128 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13checkOverTail_128 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 -2147483647,i32*%ab,align 4
%ac=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**%g,align 8
%af=load i8*,i8**%f,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**%g,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12appendToLine_132 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*)*@_SMLL12appendToLine_132 to void(...)*),void(...)**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 24
%at=bitcast i8*%as to i32*
store i32 -2147483647,i32*%at,align 4
%au=call i8*@sml_alloc(i32 inreg 12)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177288,i32*%aw,align 4
store i8*%au,i8**%h,align 8
%ax=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%au,i64 8
%aA=bitcast i8*%az to i32*
store i32 1,i32*%aA,align 4
%aB=call i8*@sml_alloc(i32 inreg 28)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177304,i32*%aD,align 4
%aE=load i8*,i8**%h,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9closeLine_136 to void(...)*),void(...)**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9closeLine_136 to void(...)*),void(...)**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aB,i64 24
%aL=bitcast i8*%aK to i32*
store i32 -2147483647,i32*%aL,align 4
%aM=call i8*@sml_alloc(i32 inreg 12)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177288,i32*%aO,align 4
store i8*%aM,i8**%f,align 8
%aP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i32*
store i32 1,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 28)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177304,i32*%aV,align 4
%aW=load i8*,i8**%f,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aT,i64 8
%aZ=bitcast i8*%aY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL11concatLines_139 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 16
%a1=bitcast i8*%a0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL11concatLines_139 to void(...)*),void(...)**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aT,i64 24
%a3=bitcast i8*%a2 to i32*
store i32 -2147483647,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%d,align 8
%a7=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ba=getelementptr inbounds i8,i8*%a4,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a4,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 28)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177304,i32*%bg,align 4
%bh=load i8*,i8**%d,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%be,i64 8
%bk=bitcast i8*%bj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13linesToString_142 to void(...)*),void(...)**%bk,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 16
%bm=bitcast i8*%bl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13linesToString_142 to void(...)*),void(...)**%bm,align 8
%bn=getelementptr inbounds i8,i8*%be,i64 24
%bo=bitcast i8*%bn to i32*
store i32 -2147483647,i32*%bo,align 4
%bp=call i8*@sml_alloc(i32 inreg 44)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177320,i32*%br,align 4
store i8*%bp,i8**%b,align 8
%bs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bv=getelementptr inbounds i8,i8*%bp,i64 8
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%by=getelementptr inbounds i8,i8*%bp,i64 16
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bB=getelementptr inbounds i8,i8*%bp,i64 24
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bp,i64 32
%bE=bitcast i8*%bD to i32*
store i32%j,i32*%bE,align 4
%bF=getelementptr inbounds i8,i8*%bp,i64 40
%bG=bitcast i8*%bF to i32*
store i32 15,i32*%bG,align 4
%bH=call i8*@sml_alloc(i32 inreg 28)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177304,i32*%bJ,align 4
%bK=load i8*,i8**%b,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bH,i64 8
%bN=bitcast i8*%bM to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i8*,i8*)*@_SMLL5visit_143 to void(...)*),void(...)**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bH,i64 16
%bP=bitcast i8*%bO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLL5visit_174 to void(...)*),void(...)**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bH,i64 24
%bR=bitcast i8*%bQ to i32*
store i32 -2147483647,i32*%bR,align 4
%bS=call i8*@sml_alloc(i32 inreg 20)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177296,i32*%bU,align 4
store i8*%bS,i8**%c,align 8
%bV=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bS,i64 8
%bY=bitcast i8*%bX to i32*
store i32%j,i32*%bY,align 4
%bZ=getelementptr inbounds i8,i8*%bS,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 1,i32*%b0,align 4
%b1=call i8*@sml_alloc(i32 inreg 28)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177304,i32*%b3,align 4
%b4=load i8*,i8**%c,align 8
%b5=bitcast i8*%b1 to i8**
store i8*%b4,i8**%b5,align 8
%b6=getelementptr inbounds i8,i8*%b1,i64 8
%b7=bitcast i8*%b6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13PrettyPrinter6formatE_154 to void(...)*),void(...)**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 16
%b9=bitcast i8*%b8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13PrettyPrinter6formatE_154 to void(...)*),void(...)**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 24
%cb=bitcast i8*%ca to i32*
store i32 -2147483647,i32*%cb,align 4
%cc=call i8*@sml_alloc(i32 inreg 20)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177296,i32*%ce,align 4
store i8*%cc,i8**%b,align 8
%cf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ci=getelementptr inbounds i8,i8*%cc,i64 8
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=getelementptr inbounds i8,i8*%cc,i64 16
%cl=bitcast i8*%ck to i32*
store i32 3,i32*%cl,align 4
%cm=call i8*@sml_alloc(i32 inreg 28)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177304,i32*%co,align 4
%cp=load i8*,i8**%b,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%cm,i64 8
%cs=bitcast i8*%cr to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13PrettyPrinter6formatE_155 to void(...)*),void(...)**%cs,align 8
%ct=getelementptr inbounds i8,i8*%cm,i64 16
%cu=bitcast i8*%ct to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN13PrettyPrinter6formatE_155 to void(...)*),void(...)**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cm,i64 24
%cw=bitcast i8*%cv to i32*
store i32 -2147483647,i32*%cw,align 4
ret i8*%cm
}
define internal fastcc i8*@_SMLLN13PrettyPrinter4sortE_158(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%j,i64 4
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=call fastcc i8*@_SMLLN13PrettyPrinter4sortE_109(i32 inreg%m,i32 inreg%p)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=call fastcc i8*%t(i8*inreg%v,i8*inreg%w)
ret i8*%x
}
define fastcc i8*@_SMLFN13PrettyPrinter4sortE(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*)*@_SMLLN13PrettyPrinter4sortE_158 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*)*@_SMLLN13PrettyPrinter4sortE_158 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*@_SMLL12extendIndent_165(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL12extendIndent_166(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLL12extendIndent_121(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLL12extendIndent_167(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLL12extendIndent_122(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLL12appendToLine_168(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL12appendToLine_129(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL9closeLine_169(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL9closeLine_134(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL11environment_171(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL11environment_144(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*@_SMLL22allPreferredMultiLined_172(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL22allPreferredMultiLined_146(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*@_SMLL10newContext_173(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL5visit_174(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#2 gc"smlsharp"{
%e=bitcast i8*%b to i32*
%f=load i32,i32*%e,align 4
%g=tail call fastcc i8*@_SMLL5visit_143(i8*inreg%a,i32 inreg%f,i8*inreg%c,i8*inreg%d)
ret i8*%g
}
define internal fastcc i8*@_SMLLN13PrettyPrinter6formatE_175(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN13PrettyPrinter6formatE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN13PrettyPrinter4sortE_176(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*@_SMLFN13PrettyPrinter4sortE(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}
