@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN2IO12ClosedStreamE=external local_unnamed_addr global i8*
@_SMLZN5Int327compareE=external local_unnamed_addr global i8*
@_SMLZ8Overflow=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN10TextPrimIO13augmentReaderE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO13augmentReaderE_208 to void(...)*),i32 -2147483647}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN10TextPrimIO13augmentWriterE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO13augmentWriterE_217 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:256.34(7966)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:259.14(8010)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:247.34(7763)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:250.14(7807)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:242.44(7619)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:244.20(7685)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"<vector>\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN10TextPrimIO10openVectorE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO10openVectorE_225 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:285.44(8737)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 0,[4x i8]zeroinitializer,i32 0}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLLLN10TextPrimIO6nullRdE_172 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_231 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN10TextPrimIO6nullRdE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_233 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/smlnj/Basis/IO/prim-io-text.sml:307.44(9384)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLLLN10TextPrimIO6nullWrE_188 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullWrE_237 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306360,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@p,i32 0,i32 0,i32 0),i32 8),i32 1}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"<null>\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN10TextPrimIO6nullWrE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullWrE_239 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN10TextPrimIO10openVectorE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*)
@_SMLZN10TextPrimIO6nullRdE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*)
@_SMLZN10TextPrimIO6nullWrE=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*)
@_SMLZN10TextPrimIO13augmentReaderE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a,i64 0,i32 2)to i8*)
@_SMLZN10TextPrimIO13augmentWriterE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@b,i64 0,i32 2)to i8*)
@_SML_gvar4f4a36ea37e56c58_prim_io_text=private global<{[4x i8],i32,[1x i8*]}><{[4x i8]zeroinitializer,i32 -1342177272,[1x i8*]zeroinitializer}>,align 8
@t=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar4f4a36ea37e56c58_prim_io_text,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@t to i64))]
@_SML_ftab4f4a36ea37e56c58_prim_io_text=external global i8
@u=private unnamed_addr global i8 0
@_SMLZN10TextPrimIO7compareE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar4f4a36ea37e56c58_prim_io_text,i32 0,i32 2,i32 0)
declare void@llvm.gcroot(i8**,i8*)#0
declare{i32,i1}@llvm.sadd.with.overflow.i32(i32,i32)#0
declare{i32,i1}@llvm.ssub.with.overflow.i32(i32,i32)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_end()local_unnamed_addr#0
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN10CharVector8fromListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14CharArraySlice4baseE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14CharArraySlice4fullE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN14CharArraySlice6lengthE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN14CharArraySlice7copyVecE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8@_SMLFN15CharVectorSlice3subE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15CharVectorSlice4fullE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15CharVectorSlice5sliceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15CharVectorSlice6vectorE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15CharVectorSlice8subsliceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5Int323minE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Option5valOfE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9CharArray5arrayE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN9CharArray7copyVecE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3a60343781315c1e_Option()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main84d772f4dc36a05f_CharVectorSlice()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main83aaee9bdacb8a0e_CharArray()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main4beb4c3c7634547e_CharArraySlice()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainfe9066b69eea2866_IO()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load3a60343781315c1e_Option(i8*)local_unnamed_addr
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load84d772f4dc36a05f_CharVectorSlice(i8*)local_unnamed_addr
declare void@_SML_load83aaee9bdacb8a0e_CharArray(i8*)local_unnamed_addr
declare void@_SML_load4beb4c3c7634547e_CharArraySlice(i8*)local_unnamed_addr
declare void@_SML_loadfe9066b69eea2866_IO(i8*)local_unnamed_addr
define private void@_SML_tabb4f4a36ea37e56c58_prim_io_text()#3{
unreachable
}
define void@_SML_load4f4a36ea37e56c58_prim_io_text(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_load3a60343781315c1e_Option(i8*%a)#0
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(i8*%a)#0
tail call void@_SML_load84d772f4dc36a05f_CharVectorSlice(i8*%a)#0
tail call void@_SML_load83aaee9bdacb8a0e_CharArray(i8*%a)#0
tail call void@_SML_load4beb4c3c7634547e_CharArraySlice(i8*%a)#0
tail call void@_SML_loadfe9066b69eea2866_IO(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb4f4a36ea37e56c58_prim_io_text,i8*@_SML_ftab4f4a36ea37e56c58_prim_io_text,i8*bitcast([2x i64]*@t to i8*))#0
ret void
}
define void@_SML_main4f4a36ea37e56c58_prim_io_text()local_unnamed_addr#2 gc"smlsharp"{
%a=alloca[3x i8*],align 8
%b=load i8,i8*@u,align 1
%c=and i8%b,2
%d=icmp eq i8%c,0
br i1%d,label%f,label%e
e:
ret void
f:
store i8 3,i8*@u,align 1
tail call void@_SML_main3a60343781315c1e_Option()#2
tail call void@_SML_main5148a836b3728be9_Int32()#2
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main84d772f4dc36a05f_CharVectorSlice()#2
tail call void@_SML_main83aaee9bdacb8a0e_CharArray()#2
tail call void@_SML_main4beb4c3c7634547e_CharArraySlice()#2
tail call void@_SML_mainfe9066b69eea2866_IO()#2
%g=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%g)#0
%h=load i8*,i8**@_SMLZN5Int327compareE,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar4f4a36ea37e56c58_prim_io_text,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar4f4a36ea37e56c58_prim_io_text,i64 0,i32 2,i64 0),i8*inreg%h)#0
call void@sml_end()#0
ret void
}
define internal fastcc i8*@_SMLLL8readVec_G_99(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call i8*@sml_alloc(i32 inreg 12)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177288,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 5
call void@llvm.memset.p0i8.i32(i8*%m,i8 0,i32 3,i1 false)
store i32%b,i32*%j,align 4
%n=getelementptr inbounds i8,i8*%i,i64 4
store i8 0,i8*%n,align 1
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 4
%q=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%i)
store i8*%q,i8**%c,align 8
%r=bitcast i8**%d to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%q)
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=call fastcc i8*%w(i8*inreg%A,i8*inreg%z)
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
%E=call i8*@sml_alloc(i32 inreg 12)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177288,i32*%G,align 4
store i8*%E,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%E,i64 4
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 1
%J=bitcast i8*%E to i32*
store i32%D,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 28)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177304,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%M,i64 12
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 1
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=bitcast i8*%M to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 8
%U=bitcast i8*%T to i32*
store i32 0,i32*%U,align 4
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=getelementptr inbounds i8,i8*%M,i64 16
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%M,i64 24
%Z=bitcast i8*%Y to i32*
store i32 5,i32*%Z,align 4
%aa=call fastcc i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg%M)
%ab=tail call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%aa)
ret i8*%ab
}
define internal fastcc i8*@_SMLLL8readVec_G_100(i8*inreg%a,i32 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**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call i8*@sml_alloc(i32 inreg 4)#0
%u=bitcast i8*%t to i32*
%v=getelementptr inbounds i8,i8*%t,i64 -4
%w=bitcast i8*%v to i32*
store i32 4,i32*%w,align 4
store i32 0,i32*%u,align 4
%x=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%y=call fastcc i8*%q(i8*inreg%x,i8*inreg%t)
%z=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 1,i32 inreg 8)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%d,align 8
%F=bitcast i8**%c to i8***
%G=load i8**,i8***%F,align 8
%H=load i8*,i8**%G,align 8
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=call i8*@sml_alloc(i32 inreg 4)#0
%O=bitcast i8*%N to i32*
%P=getelementptr inbounds i8,i8*%N,i64 -4
%Q=bitcast i8*%P to i32*
store i32 4,i32*%Q,align 4
store i32%b,i32*%O,align 4
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=call fastcc i8*%K(i8*inreg%R,i8*inreg%N)
%T=load i8*,i8**%d,align 8
%U=tail call fastcc i8*%C(i8*inreg%T,i8*inreg%S)
ret i8*%U
}
define internal fastcc i8*@_SMLLL8readVec_G_101(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call i8*@sml_alloc(i32 inreg 12)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177288,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 5
call void@llvm.memset.p0i8.i32(i8*%m,i8 0,i32 3,i1 false)
store i32%b,i32*%j,align 4
%n=getelementptr inbounds i8,i8*%i,i64 4
store i8 0,i8*%n,align 1
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 4
%q=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%i)
store i8*%q,i8**%c,align 8
%r=bitcast i8**%d to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%q)
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=call fastcc i8*%w(i8*inreg%A,i8*inreg%z)
%C=icmp eq i8*%B,null
br i1%C,label%D,label%E
D:
ret i8*null
E:
%F=bitcast i8*%B to i32*
%G=load i32,i32*%F,align 4
%H=call i8*@sml_alloc(i32 inreg 12)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177288,i32*%J,align 4
store i8*%H,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%H,i64 4
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 1
%M=bitcast i8*%H to i32*
store i32%G,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=getelementptr inbounds i8,i8*%P,i64 12
%T=bitcast i8*%S to i32*
store i32 0,i32*%T,align 1
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%V=bitcast i8*%P to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 8
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 4
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%P,i64 16
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%P,i64 24
%ac=bitcast i8*%ab to i32*
store i32 5,i32*%ac,align 4
%ad=call fastcc i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg%P)
%ae=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%ad)
store i8*%ae,i8**%c,align 8
%af=call i8*@sml_alloc(i32 inreg 12)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177288,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to i32*
store i32 1,i32*%al,align 4
ret i8*%af
}
define internal fastcc i8*@_SMLLL8readVec_G_102(i8*inreg%a,i32 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**%e,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**%e 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
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 1,i32 inreg 8)
store i8*%A,i8**%c,align 8
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=bitcast i8*%B to i32*
%D=getelementptr inbounds i8,i8*%B,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177288,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%B,i64 5
call void@llvm.memset.p0i8.i32(i8*%F,i8 0,i32 3,i1 false)
store i32%b,i32*%C,align 4
%G=getelementptr inbounds i8,i8*%B,i64 4
store i8 0,i8*%G,align 1
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 4
%J=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%B)
store i8*%J,i8**%d,align 8
%K=load i8*,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=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%e,align 8
%T=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%J)
%U=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%V=call fastcc i8*%Q(i8*inreg%U,i8*inreg%T)
%W=load i8*,i8**%c,align 8
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
store i8*null,i8**%c,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%e,align 8
%ac=icmp eq i8*%V,null
br i1%ac,label%aM,label%ad
ad:
%ae=bitcast i8*%V to i32*
%af=load i32,i32*%ae,align 4
%ag=call i8*@sml_alloc(i32 inreg 12)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177288,i32*%ai,align 4
store i8*%ag,i8**%c,align 8
%aj=getelementptr inbounds i8,i8*%ag,i64 4
%ak=bitcast i8*%aj to i32*
store i32 0,i32*%ak,align 1
%al=bitcast i8*%ag to i32*
store i32%af,i32*%al,align 4
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i32*
store i32 0,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 28)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177304,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%ao,i64 12
%as=bitcast i8*%ar to i32*
store i32 0,i32*%as,align 1
%at=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%au=bitcast i8*%ao to i8**
store i8*%at,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 8
%aw=bitcast i8*%av to i32*
store i32 0,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ay=getelementptr inbounds i8,i8*%ao,i64 16
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%ao,i64 24
%aB=bitcast i8*%aA to i32*
store i32 5,i32*%aB,align 4
%aC=call fastcc i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg%ao)
%aD=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%aC)
store i8*%aD,i8**%c,align 8
%aE=call i8*@sml_alloc(i32 inreg 12)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177288,i32*%aG,align 4
%aH=load i8*,i8**%c,align 8
%aI=bitcast i8*%aE to i8**
store i8*%aH,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aE,i64 8
%aK=bitcast i8*%aJ to i32*
store i32 1,i32*%aK,align 4
%aL=load i8*,i8**%e,align 8
br label%aM
aM:
%aN=phi i8*[%aL,%ad],[%ab,%m]
%aO=phi i8*[%aE,%ad],[null,%m]
%aP=tail call fastcc i8*%Z(i8*inreg%aN,i8*inreg%aO)
ret i8*%aP
}
define internal fastcc i32@_SMLLL8readArr_G_103(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%c,align 8
%l=call fastcc i8*@_SMLFN14CharArraySlice4baseE(i8*inreg%j)
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%l,i64 8
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=getelementptr inbounds i8,i8*%l,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=bitcast i8**%d to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,align 8
%C=call i8*@sml_alloc(i32 inreg 4)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 4,i32*%F,align 4
store i32%t,i32*%D,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=call fastcc i8*%z(i8*inreg%G,i8*inreg%C)
store i8*%H,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=and i32%K,268435455
%M=add nsw i32%L,-1
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=bitcast i8*%N to i32*
%P=getelementptr inbounds i8,i8*%N,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177304,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%N,i64 4
%S=bitcast i8*%R to i32*
store i32 0,i32*%S,align 1
store i32%q,i32*%O,align 4
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%N,i64 8
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=getelementptr inbounds i8,i8*%N,i64 16
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%N,i64 24
%aa=bitcast i8*%Z to i32*
store i32 6,i32*%aa,align 4
call fastcc void@_SMLFN9CharArray7copyVecE(i8*inreg%N)
ret i32%M
}
define internal fastcc i32@_SMLLL8readArr_G_104(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 0,i32 inreg 4)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=bitcast i8**%d to i8***
%H=load i8**,i8***%G,align 8
%I=load i8*,i8**%H,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
store i8*null,i8**%d,align 8
%M=bitcast i8**%H to i8***
%N=load i8**,i8***%M,align 8
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=call fastcc i8*%L(i8*inreg%O,i8*inreg%P)
%R=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%S=call fastcc i8*%D(i8*inreg%R,i8*inreg%Q)
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
ret i32%U
}
define internal fastcc i8*@_SMLLL8readArr_G_105(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%c,align 8
%l=call fastcc i8*@_SMLFN14CharArraySlice4baseE(i8*inreg%j)
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%l,i64 8
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=getelementptr inbounds i8,i8*%l,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=bitcast i8**%d to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,align 8
%C=call i8*@sml_alloc(i32 inreg 4)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 4,i32*%F,align 4
store i32%t,i32*%D,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=call fastcc i8*%z(i8*inreg%G,i8*inreg%C)
%I=icmp eq i8*%H,null
br i1%I,label%J,label%K
J:
ret i8*null
K:
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=and i32%P,268435455
%R=add nsw i32%Q,-1
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%S,i64 4
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
store i32%q,i32*%T,align 4
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%S,i64 16
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%S,i64 24
%af=bitcast i8*%ae to i32*
store i32 6,i32*%af,align 4
call fastcc void@_SMLFN9CharArray7copyVecE(i8*inreg%S)
%ag=call i8*@sml_alloc(i32 inreg 12)#0
%ah=bitcast i8*%ag to i32*
%ai=getelementptr inbounds i8,i8*%ag,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177288,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ag,i64 4
%al=bitcast i8*%ak to i32*
store i32 0,i32*%al,align 1
store i32%R,i32*%ah,align 4
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i32*
store i32 0,i32*%an,align 4
ret i8*%ag
}
define internal fastcc i32@_SMLLL8readArr_G_106(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**%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%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%e 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
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 0,i32 inreg 4)
store i8*%A,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=call fastcc i8*@_SMLFN14CharArraySlice4baseE(i8*inreg%B)
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%c,align 8
%F=getelementptr inbounds i8,i8*%C,i64 8
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
%I=getelementptr inbounds i8,i8*%C,i64 12
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=load i8*,i8**%e,align 8
%M=getelementptr inbounds i8,i8*%L,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%e,align 8
%U=call i8*@sml_alloc(i32 inreg 4)#0
%V=bitcast i8*%U to i32*
%W=getelementptr inbounds i8,i8*%U,i64 -4
%X=bitcast i8*%W to i32*
store i32 4,i32*%X,align 4
store i32%K,i32*%V,align 4
%Y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Z=call fastcc i8*%R(i8*inreg%Y,i8*inreg%U)
%aa=load i8*,i8**%d,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
store i8*null,i8**%d,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%e,align 8
%ag=icmp eq i8*%Z,null
br i1%ag,label%ah,label%ai
ah:
store i8*null,i8**%c,align 8
br label%aN
ai:
%aj=bitcast i8*%Z to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=and i32%an,268435455
%ap=add nsw i32%ao,-1
%aq=call i8*@sml_alloc(i32 inreg 28)#0
%ar=bitcast i8*%aq to i32*
%as=getelementptr inbounds i8,i8*%aq,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177304,i32*%at,align 4
%au=getelementptr inbounds i8,i8*%aq,i64 4
%av=bitcast i8*%au to i32*
store i32 0,i32*%av,align 1
store i32%H,i32*%ar,align 4
%aw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aA=getelementptr inbounds i8,i8*%aq,i64 16
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%aq,i64 24
%aD=bitcast i8*%aC to i32*
store i32 6,i32*%aD,align 4
call fastcc void@_SMLFN9CharArray7copyVecE(i8*inreg%aq)
%aE=call i8*@sml_alloc(i32 inreg 12)#0
%aF=bitcast i8*%aE to i32*
%aG=getelementptr inbounds i8,i8*%aE,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177288,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aE,i64 4
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
store i32%ap,i32*%aF,align 4
%aK=getelementptr inbounds i8,i8*%aE,i64 8
%aL=bitcast i8*%aK to i32*
store i32 0,i32*%aL,align 4
%aM=load i8*,i8**%e,align 8
br label%aN
aN:
%aO=phi i8*[%af,%ah],[%aM,%ai]
%aP=phi i8*[null,%ah],[%aE,%ai]
store i8*null,i8**%e,align 8
%aQ=call fastcc i8*%ad(i8*inreg%aO,i8*inreg%aP)
%aR=bitcast i8*%aQ to i32*
%aS=load i32,i32*%aR,align 4
ret i32%aS
}
define internal fastcc i8*@_SMLLL10readVecNB_G_107(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call i8*@sml_alloc(i32 inreg 12)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177288,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 5
call void@llvm.memset.p0i8.i32(i8*%m,i8 0,i32 3,i1 false)
store i32%b,i32*%j,align 4
%n=getelementptr inbounds i8,i8*%i,i64 4
store i8 0,i8*%n,align 1
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 4
%q=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%i)
store i8*%q,i8**%c,align 8
%r=bitcast i8**%d to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%q)
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=call fastcc i8*%w(i8*inreg%A,i8*inreg%z)
%C=icmp eq i8*%B,null
br i1%C,label%D,label%E
D:
ret i8*null
E:
%F=bitcast i8*%B to i32*
%G=load i32,i32*%F,align 4
%H=call i8*@sml_alloc(i32 inreg 12)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177288,i32*%J,align 4
store i8*%H,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%H,i64 4
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 1
%M=bitcast i8*%H to i32*
store i32%G,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=getelementptr inbounds i8,i8*%P,i64 12
%T=bitcast i8*%S to i32*
store i32 0,i32*%T,align 1
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%V=bitcast i8*%P to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 8
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 4
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%P,i64 16
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%P,i64 24
%ac=bitcast i8*%ab to i32*
store i32 5,i32*%ac,align 4
%ad=call fastcc i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg%P)
%ae=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%ad)
store i8*%ae,i8**%c,align 8
%af=call i8*@sml_alloc(i32 inreg 12)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177288,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to i32*
store i32 1,i32*%al,align 4
ret i8*%af
}
define internal fastcc i8*@_SMLLL10readVecNB_G_108(i8*inreg%a,i32 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**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call i8*@sml_alloc(i32 inreg 4)#0
%u=bitcast i8*%t to i32*
%v=getelementptr inbounds i8,i8*%t,i64 -4
%w=bitcast i8*%v to i32*
store i32 4,i32*%w,align 4
store i32 0,i32*%u,align 4
%x=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%y=call fastcc i8*%q(i8*inreg%x,i8*inreg%t)
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=icmp eq i32%A,0
br i1%B,label%Y,label%C
C:
%D=bitcast i8**%c to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%c,align 8
%L=call i8*@sml_alloc(i32 inreg 4)#0
%M=bitcast i8*%L to i32*
%N=getelementptr inbounds i8,i8*%L,i64 -4
%O=bitcast i8*%N to i32*
store i32 4,i32*%O,align 4
store i32%b,i32*%M,align 4
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=call fastcc i8*%I(i8*inreg%P,i8*inreg%L)
store i8*%Q,i8**%c,align 8
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177288,i32*%T,align 4
%U=load i8*,i8**%c,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
ret i8*%R
Y:
ret i8*null
}
define internal fastcc i8*@_SMLLL10readVecNB_G_109(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call i8*@sml_alloc(i32 inreg 12)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177288,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 5
call void@llvm.memset.p0i8.i32(i8*%m,i8 0,i32 3,i1 false)
store i32%b,i32*%j,align 4
%n=getelementptr inbounds i8,i8*%i,i64 4
store i8 0,i8*%n,align 1
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 4
%q=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%i)
store i8*%q,i8**%c,align 8
%r=bitcast i8**%d to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%d,align 8
%z=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%q)
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=call fastcc i8*%w(i8*inreg%A,i8*inreg%z)
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
%E=call i8*@sml_alloc(i32 inreg 12)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177288,i32*%G,align 4
store i8*%E,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%E,i64 4
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 1
%J=bitcast i8*%E to i32*
store i32%D,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 28)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177304,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%M,i64 12
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 1
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=bitcast i8*%M to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 8
%U=bitcast i8*%T to i32*
store i32 0,i32*%U,align 4
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=getelementptr inbounds i8,i8*%M,i64 16
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%M,i64 24
%Z=bitcast i8*%Y to i32*
store i32 5,i32*%Z,align 4
%aa=call fastcc i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg%M)
%ab=tail call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%aa)
ret i8*%ab
}
define internal fastcc i8*@_SMLLL10readVecNB_G_110(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 4)#0
%u=bitcast i8*%t to i32*
%v=getelementptr inbounds i8,i8*%t,i64 -4
%w=bitcast i8*%v to i32*
store i32 4,i32*%w,align 4
store i32 0,i32*%u,align 4
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=call fastcc i8*%q(i8*inreg%x,i8*inreg%t)
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=icmp eq i32%A,0
br i1%B,label%aF,label%C
C:
%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
%H=getelementptr inbounds i8,i8*%D,i64 5
call void@llvm.memset.p0i8.i32(i8*%H,i8 0,i32 3,i1 false)
store i32%b,i32*%E,align 4
%I=getelementptr inbounds i8,i8*%D,i64 4
store i8 0,i8*%I,align 1
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i32*
store i32 0,i32*%K,align 4
%L=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%D)
store i8*%L,i8**%c,align 8
%M=load i8*,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%M,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%d,align 8
%V=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%L)
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=call fastcc i8*%S(i8*inreg%W,i8*inreg%V)
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
%aa=call i8*@sml_alloc(i32 inreg 12)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177288,i32*%ac,align 4
store i8*%aa,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%aa,i64 4
%ae=bitcast i8*%ad to i32*
store i32 0,i32*%ae,align 1
%af=bitcast i8*%aa to i32*
store i32%Z,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i32*
store i32 0,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
%al=getelementptr inbounds i8,i8*%ai,i64 12
%am=bitcast i8*%al to i32*
store i32 0,i32*%am,align 1
%an=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ao=bitcast i8*%ai to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 8
%aq=bitcast i8*%ap to i32*
store i32 0,i32*%aq,align 4
%ar=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%as=getelementptr inbounds i8,i8*%ai,i64 16
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ai,i64 24
%av=bitcast i8*%au to i32*
store i32 5,i32*%av,align 4
%aw=call fastcc i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg%ai)
%ax=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%aw)
store i8*%ax,i8**%c,align 8
%ay=call i8*@sml_alloc(i32 inreg 12)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177288,i32*%aA,align 4
%aB=load i8*,i8**%c,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%ay,i64 8
%aE=bitcast i8*%aD to i32*
store i32 1,i32*%aE,align 4
ret i8*%ay
aF:
ret i8*null
}
define internal fastcc i8*@_SMLLL10readArrNB_G_111(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%c,align 8
%l=call fastcc i8*@_SMLFN14CharArraySlice4baseE(i8*inreg%j)
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%l,i64 8
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=getelementptr inbounds i8,i8*%l,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=bitcast i8**%d to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,align 8
%C=call i8*@sml_alloc(i32 inreg 4)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 4,i32*%F,align 4
store i32%t,i32*%D,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=call fastcc i8*%z(i8*inreg%G,i8*inreg%C)
%I=icmp eq i8*%H,null
br i1%I,label%J,label%K
J:
ret i8*null
K:
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=and i32%P,268435455
%R=add nsw i32%Q,-1
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%S,i64 4
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
store i32%q,i32*%T,align 4
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%S,i64 16
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%S,i64 24
%af=bitcast i8*%ae to i32*
store i32 6,i32*%af,align 4
call fastcc void@_SMLFN9CharArray7copyVecE(i8*inreg%S)
%ag=call i8*@sml_alloc(i32 inreg 12)#0
%ah=bitcast i8*%ag to i32*
%ai=getelementptr inbounds i8,i8*%ag,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177288,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ag,i64 4
%al=bitcast i8*%ak to i32*
store i32 0,i32*%al,align 1
store i32%R,i32*%ah,align 4
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i32*
store i32 0,i32*%an,align 4
ret i8*%ag
}
define internal fastcc i8*@_SMLLL10readArrNB_G_112(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp eq i32%B,0
br i1%C,label%Z,label%D
D:
%E=bitcast i8**%d to i8***
%F=load i8**,i8***%E,align 8
%G=load i8*,i8**%F,align 8
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
store i8*null,i8**%d,align 8
%K=bitcast i8**%F to i8***
%L=load i8**,i8***%K,align 8
%M=load i8*,i8**%L,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=call fastcc i8*%J(i8*inreg%M,i8*inreg%N)
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177288,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%R,i64 4
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 1
store i32%Q,i32*%S,align 4
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 4
ret i8*%R
Z:
ret i8*null
}
define internal fastcc i32@_SMLLL10readArrNB_G_113(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%c,align 8
%l=call fastcc i8*@_SMLFN14CharArraySlice4baseE(i8*inreg%j)
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%l,i64 8
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=getelementptr inbounds i8,i8*%l,i64 12
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=bitcast i8**%d to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,align 8
%C=call i8*@sml_alloc(i32 inreg 4)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 4,i32*%F,align 4
store i32%t,i32*%D,align 4
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=call fastcc i8*%z(i8*inreg%G,i8*inreg%C)
store i8*%H,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=and i32%K,268435455
%M=add nsw i32%L,-1
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=bitcast i8*%N to i32*
%P=getelementptr inbounds i8,i8*%N,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177304,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%N,i64 4
%S=bitcast i8*%R to i32*
store i32 0,i32*%S,align 1
store i32%q,i32*%O,align 4
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%N,i64 8
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=getelementptr inbounds i8,i8*%N,i64 16
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%N,i64 24
%aa=bitcast i8*%Z to i32*
store i32 6,i32*%aa,align 4
call fastcc void@_SMLFN9CharArray7copyVecE(i8*inreg%N)
ret i32%M
}
define internal fastcc i8*@_SMLLL10readArrNB_G_114(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
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp eq i32%B,0
br i1%C,label%aE,label%D
D:
%E=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%F=call fastcc i8*@_SMLFN14CharArraySlice4baseE(i8*inreg%E)
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%F,i64 8
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=getelementptr inbounds i8,i8*%F,i64 12
%M=bitcast i8*%L to i32*
%N=load i32,i32*%M,align 4
%O=load i8*,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8*(i8*,i8*)**
%U=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%T,align 8
%V=bitcast i8*%R to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%d,align 8
%X=call i8*@sml_alloc(i32 inreg 4)#0
%Y=bitcast i8*%X to i32*
%Z=getelementptr inbounds i8,i8*%X,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 4,i32*%aa,align 4
store i32%N,i32*%Y,align 4
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=call fastcc i8*%U(i8*inreg%ab,i8*inreg%X)
store i8*%ac,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=and i32%af,268435455
%ah=add nsw i32%ag,-1
%ai=call i8*@sml_alloc(i32 inreg 28)#0
%aj=bitcast i8*%ai to i32*
%ak=getelementptr inbounds i8,i8*%ai,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177304,i32*%al,align 4
%am=getelementptr inbounds i8,i8*%ai,i64 4
%an=bitcast i8*%am to i32*
store i32 0,i32*%an,align 1
store i32%K,i32*%aj,align 4
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 8
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%as=getelementptr inbounds i8,i8*%ai,i64 16
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ai,i64 24
%av=bitcast i8*%au to i32*
store i32 6,i32*%av,align 4
call fastcc void@_SMLFN9CharArray7copyVecE(i8*inreg%ai)
%aw=call i8*@sml_alloc(i32 inreg 12)#0
%ax=bitcast i8*%aw to i32*
%ay=getelementptr inbounds i8,i8*%aw,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177288,i32*%az,align 4
%aA=getelementptr inbounds i8,i8*%aw,i64 4
%aB=bitcast i8*%aA to i32*
store i32 0,i32*%aB,align 1
store i32%ah,i32*%ax,align 4
%aC=getelementptr inbounds i8,i8*%aw,i64 8
%aD=bitcast i8*%aC to i32*
store i32 0,i32*%aD,align 4
ret i8*%aw
aE:
ret i8*null
}
define fastcc i8*@_SMLFN10TextPrimIO13augmentReaderE(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
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
store i8*%a,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%a,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=icmp eq i8*%r,null
br i1%s,label%t,label%N
t:
%u=getelementptr inbounds i8,i8*%a,i64 72
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=icmp eq i8*%w,null
%y=getelementptr inbounds i8,i8*%a,i64 88
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=icmp eq i8*%A,null
br i1%x,label%C,label%G
C:
br i1%B,label%cN,label%D
D:
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%c,align 8
br label%cF
G:
br i1%B,label%H,label%K
H:
%I=bitcast i8*%w to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%c,align 8
br label%cf
K:
%L=bitcast i8*%A to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
br label%cF
N:
%O=bitcast i8*%r to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%c,align 8
%Q=getelementptr inbounds i8,i8*%a,i64 72
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=icmp eq i8*%S,null
br i1%T,label%U,label%bo
U:
%V=getelementptr inbounds i8,i8*%a,i64 80
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
%Y=icmp eq i8*%X,null
br i1%Y,label%Z,label%an
Z:
%aa=getelementptr inbounds i8,i8*%a,i64 88
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
%ad=icmp eq i8*%ac,null
br i1%ad,label%ae,label%ak
ae:
%af=getelementptr inbounds i8,i8*%a,i64 96
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=icmp eq i8*%ah,null
br i1%ai,label%aj,label%bJ
aj:
store i8*null,i8**%c,align 8
br label%cN
ak:
store i8*null,i8**%c,align 8
%al=bitcast i8*%ac to i8**
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%c,align 8
br label%cF
an:
%ao=bitcast i8*%X to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%d,align 8
%aq=getelementptr inbounds i8,i8*%a,i64 88
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
%at=icmp eq i8*%as,null
br i1%at,label%au,label%bl
au:
%av=getelementptr inbounds i8,i8*%a,i64 96
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
%ay=icmp eq i8*%ax,null
br i1%ay,label%az,label%bk
az:
%aA=call i8*@sml_alloc(i32 inreg 12)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177288,i32*%aC,align 4
store i8*%aA,i8**%e,align 8
%aD=load i8*,i8**%d,align 8
%aE=bitcast i8*%aA to i8**
store i8*%aD,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aA,i64 8
%aG=bitcast i8*%aF to i32*
store i32 1,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 28)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,i32*%aJ,align 4
%aK=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL8readVec_G_101 to void(...)*),void(...)**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readVec_G_198 to void(...)*),void(...)**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 24
%aR=bitcast i8*%aQ to i32*
store i32 -2147483647,i32*%aR,align 4
%aS=call i8*@sml_alloc(i32 inreg 20)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177296,i32*%aU,align 4
store i8*%aS,i8**%e,align 8
%aV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aY=getelementptr inbounds i8,i8*%aS,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*%aX,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aS,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 3,i32*%a1,align 4
%a2=call i8*@sml_alloc(i32 inreg 28)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177304,i32*%a4,align 4
store i8*%a2,i8**%c,align 8
%a5=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a2,i64 8
%a8=bitcast i8*%a7 to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL8readVec_G_102 to void(...)*),void(...)**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a2,i64 16
%ba=bitcast i8*%a9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readVec_G_199 to void(...)*),void(...)**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 24
%bc=bitcast i8*%bb to i32*
store i32 -2147483647,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 12)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177288,i32*%bf,align 4
%bg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%bd,i64 8
%bj=bitcast i8*%bi to i32*
store i32 1,i32*%bj,align 4
br label%cN
bk:
store i8*null,i8**%d,align 8
br label%bJ
bl:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%bm=bitcast i8*%as to i8**
%bn=load i8*,i8**%bm,align 8
store i8*%bn,i8**%c,align 8
br label%cF
bo:
store i8*null,i8**%c,align 8
%bp=bitcast i8*%S to i8**
%bq=load i8*,i8**%bp,align 8
%br=getelementptr inbounds i8,i8*%a,i64 80
%bs=bitcast i8*%br to i8**
%bt=load i8*,i8**%bs,align 8
%bu=icmp eq i8*%bt,null
%bv=getelementptr inbounds i8,i8*%a,i64 88
%bw=bitcast i8*%bv to i8**
%bx=load i8*,i8**%bw,align 8
%by=icmp ne i8*%bx,null
br i1%bu,label%bz,label%bE
bz:
br i1%by,label%bB,label%bA
bA:
store i8*%bq,i8**%c,align 8
br label%cf
bB:
%bC=bitcast i8*%bx to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%c,align 8
br label%cF
bE:
br i1%by,label%bG,label%bF
bF:
store i8*%bq,i8**%c,align 8
br label%cf
bG:
%bH=bitcast i8*%bx to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%c,align 8
br label%cF
bJ:
%bK=phi i8*[%ax,%bk],[%ah,%ae]
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
store i8*%bM,i8**%c,align 8
store i8*%P,i8**%d,align 8
%bN=call i8*@sml_alloc(i32 inreg 20)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177296,i32*%bP,align 4
store i8*%bN,i8**%e,align 8
%bQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bT=getelementptr inbounds i8,i8*%bN,i64 8
%bU=bitcast i8*%bT to i8**
store i8*%bS,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bN,i64 16
%bW=bitcast i8*%bV to i32*
store i32 3,i32*%bW,align 4
%bX=call i8*@sml_alloc(i32 inreg 28)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177304,i32*%bZ,align 4
store i8*%bX,i8**%c,align 8
%b0=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b1=bitcast i8*%bX to i8**
store i8*%b0,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bX,i64 8
%b3=bitcast i8*%b2 to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL8readVec_G_100 to void(...)*),void(...)**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bX,i64 16
%b5=bitcast i8*%b4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readVec_G_197 to void(...)*),void(...)**%b5,align 8
%b6=getelementptr inbounds i8,i8*%bX,i64 24
%b7=bitcast i8*%b6 to i32*
store i32 -2147483647,i32*%b7,align 4
%b8=call i8*@sml_alloc(i32 inreg 12)#0
%b9=getelementptr inbounds i8,i8*%b8,i64 -4
%ca=bitcast i8*%b9 to i32*
store i32 1342177288,i32*%ca,align 4
%cb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cc=bitcast i8*%b8 to i8**
store i8*%cb,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b8,i64 8
%ce=bitcast i8*%cd to i32*
store i32 1,i32*%ce,align 4
br label%cN
cf:
%cg=call i8*@sml_alloc(i32 inreg 12)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177288,i32*%ci,align 4
store i8*%cg,i8**%d,align 8
%cj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ck=bitcast i8*%cg to i8**
store i8*%cj,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cg,i64 8
%cm=bitcast i8*%cl to i32*
store i32 1,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg 28)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177304,i32*%cp,align 4
store i8*%cn,i8**%c,align 8
%cq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cn,i64 8
%ct=bitcast i8*%cs to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL8readVec_G_99 to void(...)*),void(...)**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 16
%cv=bitcast i8*%cu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readVec_G_196 to void(...)*),void(...)**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cn,i64 24
%cx=bitcast i8*%cw to i32*
store i32 -2147483647,i32*%cx,align 4
%cy=call i8*@sml_alloc(i32 inreg 12)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177288,i32*%cA,align 4
%cB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cC=bitcast i8*%cy to i8**
store i8*%cB,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cy,i64 8
%cE=bitcast i8*%cD to i32*
store i32 1,i32*%cE,align 4
br label%cN
cF:
%cG=call i8*@sml_alloc(i32 inreg 12)#0
%cH=getelementptr inbounds i8,i8*%cG,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 1342177288,i32*%cI,align 4
%cJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cK=bitcast i8*%cG to i8**
store i8*%cJ,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cG,i64 8
%cM=bitcast i8*%cL to i32*
store i32 1,i32*%cM,align 4
br label%cN
cN:
%cO=phi i8*[%cG,%cF],[%cy,%cf],[%b8,%bJ],[%bd,%az],[null,%C],[null,%aj]
store i8*%cO,i8**%c,align 8
%cP=load i8*,i8**%b,align 8
%cQ=getelementptr inbounds i8,i8*%cP,i64 8
%cR=bitcast i8*%cQ to i8**
%cS=load i8*,i8**%cR,align 8
%cT=icmp eq i8*%cS,null
br i1%cT,label%cU,label%c7
cU:
%cV=getelementptr inbounds i8,i8*%cP,i64 72
%cW=bitcast i8*%cV to i8**
%cX=load i8*,i8**%cW,align 8
%cY=icmp eq i8*%cX,null
br i1%cY,label%cZ,label%fk
cZ:
%c0=getelementptr inbounds i8,i8*%cP,i64 88
%c1=bitcast i8*%c0 to i8**
%c2=load i8*,i8**%c1,align 8
%c3=icmp eq i8*%c2,null
br i1%c3,label%fv,label%c4
c4:
%c5=bitcast i8*%c2 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%d,align 8
br label%eU
c7:
%c8=bitcast i8*%cS to i8**
%c9=load i8*,i8**%c8,align 8
store i8*%c9,i8**%d,align 8
%da=getelementptr inbounds i8,i8*%cP,i64 72
%db=bitcast i8*%da to i8**
%dc=load i8*,i8**%db,align 8
%dd=icmp eq i8*%dc,null
br i1%dd,label%de,label%eT
de:
%df=getelementptr inbounds i8,i8*%cP,i64 80
%dg=bitcast i8*%df to i8**
%dh=load i8*,i8**%dg,align 8
%di=icmp eq i8*%dh,null
%dj=getelementptr inbounds i8,i8*%cP,i64 88
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
%dm=icmp eq i8*%dl,null
br i1%di,label%dn,label%ek
dn:
br i1%dm,label%do,label%eh
do:
%dp=getelementptr inbounds i8,i8*%cP,i64 96
%dq=bitcast i8*%dp to i8**
%dr=load i8*,i8**%dq,align 8
%ds=icmp eq i8*%dr,null
br i1%ds,label%dt,label%du
dt:
store i8*null,i8**%d,align 8
br label%fv
du:
%dv=bitcast i8*%dr to i8**
%dw=load i8*,i8**%dv,align 8
store i8*%dw,i8**%e,align 8
%dx=call i8*@sml_alloc(i32 inreg 12)#0
%dy=getelementptr inbounds i8,i8*%dx,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177288,i32*%dz,align 4
store i8*%dx,i8**%f,align 8
%dA=load i8*,i8**%e,align 8
%dB=bitcast i8*%dx to i8**
store i8*%dA,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%dx,i64 8
%dD=bitcast i8*%dC to i32*
store i32 1,i32*%dD,align 4
%dE=call i8*@sml_alloc(i32 inreg 28)#0
%dF=getelementptr inbounds i8,i8*%dE,i64 -4
%dG=bitcast i8*%dF to i32*
store i32 1342177304,i32*%dG,align 4
%dH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dI=bitcast i8*%dE to i8**
store i8*%dH,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dE,i64 8
%dK=bitcast i8*%dJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readArr_G_105 to void(...)*),void(...)**%dK,align 8
%dL=getelementptr inbounds i8,i8*%dE,i64 16
%dM=bitcast i8*%dL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readArr_G_105 to void(...)*),void(...)**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dE,i64 24
%dO=bitcast i8*%dN to i32*
store i32 -2147483647,i32*%dO,align 4
%dP=call i8*@sml_alloc(i32 inreg 20)#0
%dQ=getelementptr inbounds i8,i8*%dP,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177296,i32*%dR,align 4
store i8*%dP,i8**%f,align 8
%dS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dT=bitcast i8*%dP to i8**
store i8*%dS,i8**%dT,align 8
%dU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dV=getelementptr inbounds i8,i8*%dP,i64 8
%dW=bitcast i8*%dV to i8**
store i8*%dU,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dP,i64 16
%dY=bitcast i8*%dX to i32*
store i32 3,i32*%dY,align 4
%dZ=call i8*@sml_alloc(i32 inreg 28)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177304,i32*%d1,align 4
store i8*%dZ,i8**%d,align 8
%d2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d3=bitcast i8*%dZ to i8**
store i8*%d2,i8**%d3,align 8
%d4=getelementptr inbounds i8,i8*%dZ,i64 8
%d5=bitcast i8*%d4 to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL8readArr_G_106 to void(...)*),void(...)**%d5,align 8
%d6=getelementptr inbounds i8,i8*%dZ,i64 16
%d7=bitcast i8*%d6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readArr_G_202 to void(...)*),void(...)**%d7,align 8
%d8=getelementptr inbounds i8,i8*%dZ,i64 24
%d9=bitcast i8*%d8 to i32*
store i32 -2147483647,i32*%d9,align 4
%ea=call i8*@sml_alloc(i32 inreg 12)#0
%eb=getelementptr inbounds i8,i8*%ea,i64 -4
%ec=bitcast i8*%eb to i32*
store i32 1342177288,i32*%ec,align 4
%ed=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ee=bitcast i8*%ea to i8**
store i8*%ed,i8**%ee,align 8
%ef=getelementptr inbounds i8,i8*%ea,i64 8
%eg=bitcast i8*%ef to i32*
store i32 1,i32*%eg,align 4
br label%fv
eh:
store i8*null,i8**%d,align 8
%ei=bitcast i8*%dl to i8**
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%d,align 8
br label%eU
ek:
br i1%dm,label%el,label%eQ
el:
%em=bitcast i8*%dh to i8**
%en=load i8*,i8**%em,align 8
store i8*%en,i8**%d,align 8
store i8*%c9,i8**%e,align 8
%eo=call i8*@sml_alloc(i32 inreg 20)#0
%ep=getelementptr inbounds i8,i8*%eo,i64 -4
%eq=bitcast i8*%ep to i32*
store i32 1342177296,i32*%eq,align 4
store i8*%eo,i8**%f,align 8
%er=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%es=bitcast i8*%eo to i8**
store i8*%er,i8**%es,align 8
%et=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eu=getelementptr inbounds i8,i8*%eo,i64 8
%ev=bitcast i8*%eu to i8**
store i8*%et,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%eo,i64 16
%ex=bitcast i8*%ew to i32*
store i32 3,i32*%ex,align 4
%ey=call i8*@sml_alloc(i32 inreg 28)#0
%ez=getelementptr inbounds i8,i8*%ey,i64 -4
%eA=bitcast i8*%ez to i32*
store i32 1342177304,i32*%eA,align 4
store i8*%ey,i8**%d,align 8
%eB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eC=bitcast i8*%ey to i8**
store i8*%eB,i8**%eC,align 8
%eD=getelementptr inbounds i8,i8*%ey,i64 8
%eE=bitcast i8*%eD to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL8readArr_G_104 to void(...)*),void(...)**%eE,align 8
%eF=getelementptr inbounds i8,i8*%ey,i64 16
%eG=bitcast i8*%eF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readArr_G_201 to void(...)*),void(...)**%eG,align 8
%eH=getelementptr inbounds i8,i8*%ey,i64 24
%eI=bitcast i8*%eH to i32*
store i32 -2147483647,i32*%eI,align 4
%eJ=call i8*@sml_alloc(i32 inreg 12)#0
%eK=getelementptr inbounds i8,i8*%eJ,i64 -4
%eL=bitcast i8*%eK to i32*
store i32 1342177288,i32*%eL,align 4
%eM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eN=bitcast i8*%eJ to i8**
store i8*%eM,i8**%eN,align 8
%eO=getelementptr inbounds i8,i8*%eJ,i64 8
%eP=bitcast i8*%eO to i32*
store i32 1,i32*%eP,align 4
br label%fv
eQ:
store i8*null,i8**%d,align 8
%eR=bitcast i8*%dl to i8**
%eS=load i8*,i8**%eR,align 8
store i8*%eS,i8**%d,align 8
br label%eU
eT:
store i8*null,i8**%d,align 8
br label%fk
eU:
%eV=call i8*@sml_alloc(i32 inreg 12)#0
%eW=getelementptr inbounds i8,i8*%eV,i64 -4
%eX=bitcast i8*%eW to i32*
store i32 1342177288,i32*%eX,align 4
store i8*%eV,i8**%e,align 8
%eY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eZ=bitcast i8*%eV to i8**
store i8*%eY,i8**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eV,i64 8
%e1=bitcast i8*%e0 to i32*
store i32 1,i32*%e1,align 4
%e2=call i8*@sml_alloc(i32 inreg 28)#0
%e3=getelementptr inbounds i8,i8*%e2,i64 -4
%e4=bitcast i8*%e3 to i32*
store i32 1342177304,i32*%e4,align 4
store i8*%e2,i8**%d,align 8
%e5=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%e6=bitcast i8*%e2 to i8**
store i8*%e5,i8**%e6,align 8
%e7=getelementptr inbounds i8,i8*%e2,i64 8
%e8=bitcast i8*%e7 to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL8readArr_G_103 to void(...)*),void(...)**%e8,align 8
%e9=getelementptr inbounds i8,i8*%e2,i64 16
%fa=bitcast i8*%e9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8readArr_G_200 to void(...)*),void(...)**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e2,i64 24
%fc=bitcast i8*%fb to i32*
store i32 -2147483647,i32*%fc,align 4
%fd=call i8*@sml_alloc(i32 inreg 12)#0
%fe=getelementptr inbounds i8,i8*%fd,i64 -4
%ff=bitcast i8*%fe to i32*
store i32 1342177288,i32*%ff,align 4
%fg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fh=bitcast i8*%fd to i8**
store i8*%fg,i8**%fh,align 8
%fi=getelementptr inbounds i8,i8*%fd,i64 8
%fj=bitcast i8*%fi to i32*
store i32 1,i32*%fj,align 4
br label%fv
fk:
%fl=phi i8*[%dc,%eT],[%cX,%cU]
%fm=bitcast i8*%fl to i8**
%fn=load i8*,i8**%fm,align 8
store i8*%fn,i8**%d,align 8
%fo=call i8*@sml_alloc(i32 inreg 12)#0
%fp=getelementptr inbounds i8,i8*%fo,i64 -4
%fq=bitcast i8*%fp to i32*
store i32 1342177288,i32*%fq,align 4
%fr=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fs=bitcast i8*%fo to i8**
store i8*%fr,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%fo,i64 8
%fu=bitcast i8*%ft to i32*
store i32 1,i32*%fu,align 4
br label%fv
fv:
%fw=phi i8*[%fo,%fk],[%fd,%eU],[%eJ,%el],[%ea,%du],[null,%cZ],[null,%dt]
store i8*%fw,i8**%d,align 8
%fx=load i8*,i8**%b,align 8
%fy=getelementptr inbounds i8,i8*%fx,i64 16
%fz=bitcast i8*%fy to i8**
%fA=load i8*,i8**%fz,align 8
%fB=icmp eq i8*%fA,null
br i1%fB,label%fC,label%fW
fC:
%fD=getelementptr inbounds i8,i8*%fx,i64 80
%fE=bitcast i8*%fD to i8**
%fF=load i8*,i8**%fE,align 8
%fG=icmp eq i8*%fF,null
%fH=getelementptr inbounds i8,i8*%fx,i64 96
%fI=bitcast i8*%fH to i8**
%fJ=load i8*,i8**%fI,align 8
%fK=icmp eq i8*%fJ,null
br i1%fG,label%fL,label%fP
fL:
br i1%fK,label%jq,label%fM
fM:
%fN=bitcast i8*%fJ to i8**
%fO=load i8*,i8**%fN,align 8
store i8*%fO,i8**%e,align 8
br label%ji
fP:
br i1%fK,label%fQ,label%fT
fQ:
%fR=bitcast i8*%fF to i8**
%fS=load i8*,i8**%fR,align 8
store i8*%fS,i8**%e,align 8
br label%iS
fT:
%fU=bitcast i8*%fJ to i8**
%fV=load i8*,i8**%fU,align 8
store i8*%fV,i8**%e,align 8
br label%ji
fW:
%fX=bitcast i8*%fA to i8**
%fY=load i8*,i8**%fX,align 8
store i8*%fY,i8**%e,align 8
%fZ=getelementptr inbounds i8,i8*%fx,i64 72
%f0=bitcast i8*%fZ to i8**
%f1=load i8*,i8**%f0,align 8
%f2=icmp eq i8*%f1,null
br i1%f2,label%f3,label%gO
f3:
%f4=getelementptr inbounds i8,i8*%fx,i64 80
%f5=bitcast i8*%f4 to i8**
%f6=load i8*,i8**%f5,align 8
%f7=icmp eq i8*%f6,null
br i1%f7,label%f8,label%gt
f8:
%f9=getelementptr inbounds i8,i8*%fx,i64 88
%ga=bitcast i8*%f9 to i8**
%gb=load i8*,i8**%ga,align 8
%gc=icmp eq i8*%gb,null
br i1%gc,label%gd,label%gl
gd:
store i8*null,i8**%e,align 8
%ge=getelementptr inbounds i8,i8*%fx,i64 96
%gf=bitcast i8*%ge to i8**
%gg=load i8*,i8**%gf,align 8
%gh=icmp eq i8*%gg,null
br i1%gh,label%jq,label%gi
gi:
%gj=bitcast i8*%gg to i8**
%gk=load i8*,i8**%gj,align 8
store i8*%gk,i8**%e,align 8
br label%ji
gl:
%gm=getelementptr inbounds i8,i8*%fx,i64 96
%gn=bitcast i8*%gm to i8**
%go=load i8*,i8**%gn,align 8
%gp=icmp eq i8*%go,null
br i1%gp,label%im,label%gq
gq:
store i8*null,i8**%e,align 8
%gr=bitcast i8*%go to i8**
%gs=load i8*,i8**%gr,align 8
store i8*%gs,i8**%e,align 8
br label%ji
gt:
store i8*null,i8**%e,align 8
%gu=bitcast i8*%f6 to i8**
%gv=load i8*,i8**%gu,align 8
%gw=getelementptr inbounds i8,i8*%fx,i64 88
%gx=bitcast i8*%gw to i8**
%gy=load i8*,i8**%gx,align 8
%gz=icmp eq i8*%gy,null
%gA=getelementptr inbounds i8,i8*%fx,i64 96
%gB=bitcast i8*%gA to i8**
%gC=load i8*,i8**%gB,align 8
%gD=icmp ne i8*%gC,null
br i1%gz,label%gE,label%gJ
gE:
br i1%gD,label%gG,label%gF
gF:
store i8*%gv,i8**%e,align 8
br label%iS
gG:
%gH=bitcast i8*%gC to i8**
%gI=load i8*,i8**%gH,align 8
store i8*%gI,i8**%e,align 8
br label%ji
gJ:
br i1%gD,label%gL,label%gK
gK:
store i8*%gv,i8**%e,align 8
br label%iS
gL:
%gM=bitcast i8*%gC to i8**
%gN=load i8*,i8**%gM,align 8
store i8*%gN,i8**%e,align 8
br label%ji
gO:
%gP=bitcast i8*%f1 to i8**
%gQ=load i8*,i8**%gP,align 8
store i8*%gQ,i8**%f,align 8
%gR=getelementptr inbounds i8,i8*%fx,i64 80
%gS=bitcast i8*%gR to i8**
%gT=load i8*,i8**%gS,align 8
%gU=icmp eq i8*%gT,null
br i1%gU,label%gV,label%h1
gV:
%gW=getelementptr inbounds i8,i8*%fx,i64 88
%gX=bitcast i8*%gW to i8**
%gY=load i8*,i8**%gX,align 8
%gZ=icmp eq i8*%gY,null
br i1%gZ,label%g0,label%hT
g0:
%g1=getelementptr inbounds i8,i8*%fx,i64 96
%g2=bitcast i8*%g1 to i8**
%g3=load i8*,i8**%g2,align 8
%g4=icmp eq i8*%g3,null
br i1%g4,label%g5,label%hQ
g5:
%g6=call i8*@sml_alloc(i32 inreg 12)#0
%g7=getelementptr inbounds i8,i8*%g6,i64 -4
%g8=bitcast i8*%g7 to i32*
store i32 1342177288,i32*%g8,align 4
store i8*%g6,i8**%g,align 8
%g9=load i8*,i8**%f,align 8
%ha=bitcast i8*%g6 to i8**
store i8*%g9,i8**%ha,align 8
%hb=getelementptr inbounds i8,i8*%g6,i64 8
%hc=bitcast i8*%hb to i32*
store i32 1,i32*%hc,align 4
%hd=call i8*@sml_alloc(i32 inreg 28)#0
%he=getelementptr inbounds i8,i8*%hd,i64 -4
%hf=bitcast i8*%he to i32*
store i32 1342177304,i32*%hf,align 4
%hg=load i8*,i8**%g,align 8
store i8*null,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 void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL10readVecNB_G_109 to void(...)*),void(...)**%hj,align 8
%hk=getelementptr inbounds i8,i8*%hd,i64 16
%hl=bitcast i8*%hk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readVecNB_G_205 to void(...)*),void(...)**%hl,align 8
%hm=getelementptr inbounds i8,i8*%hd,i64 24
%hn=bitcast i8*%hm to i32*
store i32 -2147483647,i32*%hn,align 4
%ho=call i8*@sml_alloc(i32 inreg 20)#0
%hp=getelementptr inbounds i8,i8*%ho,i64 -4
%hq=bitcast i8*%hp to i32*
store i32 1342177296,i32*%hq,align 4
store i8*%ho,i8**%g,align 8
%hr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hs=bitcast i8*%ho to i8**
store i8*%hr,i8**%hs,align 8
%ht=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hu=getelementptr inbounds i8,i8*%ho,i64 8
%hv=bitcast i8*%hu to i8**
store i8*%ht,i8**%hv,align 8
%hw=getelementptr inbounds i8,i8*%ho,i64 16
%hx=bitcast i8*%hw to i32*
store i32 3,i32*%hx,align 4
%hy=call i8*@sml_alloc(i32 inreg 28)#0
%hz=getelementptr inbounds i8,i8*%hy,i64 -4
%hA=bitcast i8*%hz to i32*
store i32 1342177304,i32*%hA,align 4
store i8*%hy,i8**%e,align 8
%hB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hC=bitcast i8*%hy to i8**
store i8*%hB,i8**%hC,align 8
%hD=getelementptr inbounds i8,i8*%hy,i64 8
%hE=bitcast i8*%hD to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL10readVecNB_G_110 to void(...)*),void(...)**%hE,align 8
%hF=getelementptr inbounds i8,i8*%hy,i64 16
%hG=bitcast i8*%hF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readVecNB_G_206 to void(...)*),void(...)**%hG,align 8
%hH=getelementptr inbounds i8,i8*%hy,i64 24
%hI=bitcast i8*%hH to i32*
store i32 -2147483647,i32*%hI,align 4
%hJ=call i8*@sml_alloc(i32 inreg 12)#0
%hK=getelementptr inbounds i8,i8*%hJ,i64 -4
%hL=bitcast i8*%hK to i32*
store i32 1342177288,i32*%hL,align 4
%hM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hN=bitcast i8*%hJ to i8**
store i8*%hM,i8**%hN,align 8
%hO=getelementptr inbounds i8,i8*%hJ,i64 8
%hP=bitcast i8*%hO to i32*
store i32 1,i32*%hP,align 4
br label%jq
hQ:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%hR=bitcast i8*%g3 to i8**
%hS=load i8*,i8**%hR,align 8
store i8*%hS,i8**%e,align 8
br label%ji
hT:
store i8*null,i8**%f,align 8
%hU=getelementptr inbounds i8,i8*%fx,i64 96
%hV=bitcast i8*%hU to i8**
%hW=load i8*,i8**%hV,align 8
%hX=icmp eq i8*%hW,null
br i1%hX,label%im,label%hY
hY:
store i8*null,i8**%e,align 8
%hZ=bitcast i8*%hW to i8**
%h0=load i8*,i8**%hZ,align 8
store i8*%h0,i8**%e,align 8
br label%ji
h1:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%h2=bitcast i8*%gT to i8**
%h3=load i8*,i8**%h2,align 8
%h4=getelementptr inbounds i8,i8*%fx,i64 88
%h5=bitcast i8*%h4 to i8**
%h6=load i8*,i8**%h5,align 8
%h7=icmp eq i8*%h6,null
%h8=getelementptr inbounds i8,i8*%fx,i64 96
%h9=bitcast i8*%h8 to i8**
%ia=load i8*,i8**%h9,align 8
%ib=icmp ne i8*%ia,null
br i1%h7,label%ic,label%ih
ic:
br i1%ib,label%ie,label%id
id:
store i8*%h3,i8**%e,align 8
br label%iS
ie:
%if=bitcast i8*%ia to i8**
%ig=load i8*,i8**%if,align 8
store i8*%ig,i8**%e,align 8
br label%ji
ih:
br i1%ib,label%ij,label%ii
ii:
store i8*%h3,i8**%e,align 8
br label%iS
ij:
%ik=bitcast i8*%ia to i8**
%il=load i8*,i8**%ik,align 8
store i8*%il,i8**%e,align 8
br label%ji
im:
%in=phi i8*[%gb,%gl],[%gY,%hT]
%io=bitcast i8*%in to i8**
%ip=load i8*,i8**%io,align 8
store i8*%ip,i8**%e,align 8
store i8*%fY,i8**%f,align 8
%iq=call i8*@sml_alloc(i32 inreg 20)#0
%ir=getelementptr inbounds i8,i8*%iq,i64 -4
%is=bitcast i8*%ir to i32*
store i32 1342177296,i32*%is,align 4
store i8*%iq,i8**%g,align 8
%it=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iu=bitcast i8*%iq to i8**
store i8*%it,i8**%iu,align 8
%iv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iw=getelementptr inbounds i8,i8*%iq,i64 8
%ix=bitcast i8*%iw to i8**
store i8*%iv,i8**%ix,align 8
%iy=getelementptr inbounds i8,i8*%iq,i64 16
%iz=bitcast i8*%iy to i32*
store i32 3,i32*%iz,align 4
%iA=call i8*@sml_alloc(i32 inreg 28)#0
%iB=getelementptr inbounds i8,i8*%iA,i64 -4
%iC=bitcast i8*%iB to i32*
store i32 1342177304,i32*%iC,align 4
store i8*%iA,i8**%e,align 8
%iD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%iE=bitcast i8*%iA to i8**
store i8*%iD,i8**%iE,align 8
%iF=getelementptr inbounds i8,i8*%iA,i64 8
%iG=bitcast i8*%iF to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL10readVecNB_G_108 to void(...)*),void(...)**%iG,align 8
%iH=getelementptr inbounds i8,i8*%iA,i64 16
%iI=bitcast i8*%iH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readVecNB_G_204 to void(...)*),void(...)**%iI,align 8
%iJ=getelementptr inbounds i8,i8*%iA,i64 24
%iK=bitcast i8*%iJ to i32*
store i32 -2147483647,i32*%iK,align 4
%iL=call i8*@sml_alloc(i32 inreg 12)#0
%iM=getelementptr inbounds i8,i8*%iL,i64 -4
%iN=bitcast i8*%iM to i32*
store i32 1342177288,i32*%iN,align 4
%iO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iP=bitcast i8*%iL to i8**
store i8*%iO,i8**%iP,align 8
%iQ=getelementptr inbounds i8,i8*%iL,i64 8
%iR=bitcast i8*%iQ to i32*
store i32 1,i32*%iR,align 4
br label%jq
iS:
%iT=call i8*@sml_alloc(i32 inreg 12)#0
%iU=getelementptr inbounds i8,i8*%iT,i64 -4
%iV=bitcast i8*%iU to i32*
store i32 1342177288,i32*%iV,align 4
store i8*%iT,i8**%f,align 8
%iW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iX=bitcast i8*%iT to i8**
store i8*%iW,i8**%iX,align 8
%iY=getelementptr inbounds i8,i8*%iT,i64 8
%iZ=bitcast i8*%iY to i32*
store i32 1,i32*%iZ,align 4
%i0=call i8*@sml_alloc(i32 inreg 28)#0
%i1=getelementptr inbounds i8,i8*%i0,i64 -4
%i2=bitcast i8*%i1 to i32*
store i32 1342177304,i32*%i2,align 4
store i8*%i0,i8**%e,align 8
%i3=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%i4=bitcast i8*%i0 to i8**
store i8*%i3,i8**%i4,align 8
%i5=getelementptr inbounds i8,i8*%i0,i64 8
%i6=bitcast i8*%i5 to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL10readVecNB_G_107 to void(...)*),void(...)**%i6,align 8
%i7=getelementptr inbounds i8,i8*%i0,i64 16
%i8=bitcast i8*%i7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readVecNB_G_203 to void(...)*),void(...)**%i8,align 8
%i9=getelementptr inbounds i8,i8*%i0,i64 24
%ja=bitcast i8*%i9 to i32*
store i32 -2147483647,i32*%ja,align 4
%jb=call i8*@sml_alloc(i32 inreg 12)#0
%jc=getelementptr inbounds i8,i8*%jb,i64 -4
%jd=bitcast i8*%jc to i32*
store i32 1342177288,i32*%jd,align 4
%je=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jf=bitcast i8*%jb to i8**
store i8*%je,i8**%jf,align 8
%jg=getelementptr inbounds i8,i8*%jb,i64 8
%jh=bitcast i8*%jg to i32*
store i32 1,i32*%jh,align 4
br label%jq
ji:
%jj=call i8*@sml_alloc(i32 inreg 12)#0
%jk=getelementptr inbounds i8,i8*%jj,i64 -4
%jl=bitcast i8*%jk to i32*
store i32 1342177288,i32*%jl,align 4
%jm=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jn=bitcast i8*%jj to i8**
store i8*%jm,i8**%jn,align 8
%jo=getelementptr inbounds i8,i8*%jj,i64 8
%jp=bitcast i8*%jo to i32*
store i32 1,i32*%jp,align 4
br label%jq
jq:
%jr=phi i8*[%jj,%ji],[%jb,%iS],[%iL,%im],[%hJ,%g5],[null,%gd],[null,%fL]
store i8*%jr,i8**%e,align 8
%js=load i8*,i8**%b,align 8
%jt=getelementptr inbounds i8,i8*%js,i64 16
%ju=bitcast i8*%jt to i8**
%jv=load i8*,i8**%ju,align 8
%jw=icmp eq i8*%jv,null
br i1%jw,label%jx,label%jN
jx:
%jy=getelementptr inbounds i8,i8*%js,i64 80
%jz=bitcast i8*%jy to i8**
%jA=load i8*,i8**%jz,align 8
%jB=icmp eq i8*%jA,null
br i1%jB,label%jC,label%jK
jC:
%jD=getelementptr inbounds i8,i8*%js,i64 96
%jE=bitcast i8*%jD to i8**
%jF=load i8*,i8**%jE,align 8
%jG=icmp eq i8*%jF,null
br i1%jG,label%mC,label%jH
jH:
%jI=bitcast i8*%jF to i8**
%jJ=load i8*,i8**%jI,align 8
store i8*%jJ,i8**%f,align 8
br label%l4
jK:
%jL=bitcast i8*%jA to i8**
%jM=load i8*,i8**%jL,align 8
store i8*%jM,i8**%f,align 8
br label%mu
jN:
%jO=bitcast i8*%jv to i8**
%jP=load i8*,i8**%jO,align 8
store i8*%jP,i8**%f,align 8
%jQ=getelementptr inbounds i8,i8*%js,i64 72
%jR=bitcast i8*%jQ to i8**
%jS=load i8*,i8**%jR,align 8
%jT=icmp eq i8*%jS,null
br i1%jT,label%jU,label%la
jU:
%jV=getelementptr inbounds i8,i8*%js,i64 80
%jW=bitcast i8*%jV to i8**
%jX=load i8*,i8**%jW,align 8
%jY=icmp eq i8*%jX,null
br i1%jY,label%jZ,label%k7
jZ:
%j0=getelementptr inbounds i8,i8*%js,i64 88
%j1=bitcast i8*%j0 to i8**
%j2=load i8*,i8**%j1,align 8
%j3=icmp eq i8*%j2,null
br i1%j3,label%j4,label%kc
j4:
store i8*null,i8**%f,align 8
%j5=getelementptr inbounds i8,i8*%js,i64 96
%j6=bitcast i8*%j5 to i8**
%j7=load i8*,i8**%j6,align 8
%j8=icmp eq i8*%j7,null
br i1%j8,label%mC,label%j9
j9:
%ka=bitcast i8*%j7 to i8**
%kb=load i8*,i8**%ka,align 8
store i8*%kb,i8**%f,align 8
br label%l4
kc:
%kd=bitcast i8*%j2 to i8**
%ke=load i8*,i8**%kd,align 8
store i8*%ke,i8**%g,align 8
%kf=getelementptr inbounds i8,i8*%js,i64 96
%kg=bitcast i8*%kf to i8**
%kh=load i8*,i8**%kg,align 8
%ki=icmp eq i8*%kh,null
br i1%ki,label%kj,label%k4
kj:
%kk=call i8*@sml_alloc(i32 inreg 12)#0
%kl=getelementptr inbounds i8,i8*%kk,i64 -4
%km=bitcast i8*%kl to i32*
store i32 1342177288,i32*%km,align 4
store i8*%kk,i8**%h,align 8
%kn=load i8*,i8**%g,align 8
%ko=bitcast i8*%kk to i8**
store i8*%kn,i8**%ko,align 8
%kp=getelementptr inbounds i8,i8*%kk,i64 8
%kq=bitcast i8*%kp to i32*
store i32 1,i32*%kq,align 4
%kr=call i8*@sml_alloc(i32 inreg 28)#0
%ks=getelementptr inbounds i8,i8*%kr,i64 -4
%kt=bitcast i8*%ks to i32*
store i32 1342177304,i32*%kt,align 4
%ku=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kv=bitcast i8*%kr to i8**
store i8*%ku,i8**%kv,align 8
%kw=getelementptr inbounds i8,i8*%kr,i64 8
%kx=bitcast i8*%kw to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL10readArrNB_G_113 to void(...)*),void(...)**%kx,align 8
%ky=getelementptr inbounds i8,i8*%kr,i64 16
%kz=bitcast i8*%ky to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readArrNB_G_207 to void(...)*),void(...)**%kz,align 8
%kA=getelementptr inbounds i8,i8*%kr,i64 24
%kB=bitcast i8*%kA to i32*
store i32 -2147483647,i32*%kB,align 4
%kC=call i8*@sml_alloc(i32 inreg 20)#0
%kD=getelementptr inbounds i8,i8*%kC,i64 -4
%kE=bitcast i8*%kD to i32*
store i32 1342177296,i32*%kE,align 4
store i8*%kC,i8**%h,align 8
%kF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kG=bitcast i8*%kC to i8**
store i8*%kF,i8**%kG,align 8
%kH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kI=getelementptr inbounds i8,i8*%kC,i64 8
%kJ=bitcast i8*%kI to i8**
store i8*%kH,i8**%kJ,align 8
%kK=getelementptr inbounds i8,i8*%kC,i64 16
%kL=bitcast i8*%kK to i32*
store i32 3,i32*%kL,align 4
%kM=call i8*@sml_alloc(i32 inreg 28)#0
%kN=getelementptr inbounds i8,i8*%kM,i64 -4
%kO=bitcast i8*%kN to i32*
store i32 1342177304,i32*%kO,align 4
store i8*%kM,i8**%f,align 8
%kP=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kQ=bitcast i8*%kM to i8**
store i8*%kP,i8**%kQ,align 8
%kR=getelementptr inbounds i8,i8*%kM,i64 8
%kS=bitcast i8*%kR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readArrNB_G_114 to void(...)*),void(...)**%kS,align 8
%kT=getelementptr inbounds i8,i8*%kM,i64 16
%kU=bitcast i8*%kT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readArrNB_G_114 to void(...)*),void(...)**%kU,align 8
%kV=getelementptr inbounds i8,i8*%kM,i64 24
%kW=bitcast i8*%kV to i32*
store i32 -2147483647,i32*%kW,align 4
%kX=call i8*@sml_alloc(i32 inreg 12)#0
%kY=getelementptr inbounds i8,i8*%kX,i64 -4
%kZ=bitcast i8*%kY to i32*
store i32 1342177288,i32*%kZ,align 4
%k0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%k1=bitcast i8*%kX to i8**
store i8*%k0,i8**%k1,align 8
%k2=getelementptr inbounds i8,i8*%kX,i64 8
%k3=bitcast i8*%k2 to i32*
store i32 1,i32*%k3,align 4
br label%mC
k4:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%k5=bitcast i8*%kh to i8**
%k6=load i8*,i8**%k5,align 8
store i8*%k6,i8**%f,align 8
br label%l4
k7:
store i8*null,i8**%f,align 8
%k8=bitcast i8*%jX to i8**
%k9=load i8*,i8**%k8,align 8
store i8*%k9,i8**%f,align 8
br label%mu
la:
%lb=bitcast i8*%jS to i8**
%lc=load i8*,i8**%lb,align 8
%ld=getelementptr inbounds i8,i8*%js,i64 80
%le=bitcast i8*%ld to i8**
%lf=load i8*,i8**%le,align 8
%lg=icmp eq i8*%lf,null
br i1%lg,label%lh,label%ly
lh:
%li=getelementptr inbounds i8,i8*%js,i64 88
%lj=bitcast i8*%li to i8**
%lk=load i8*,i8**%lj,align 8
%ll=icmp eq i8*%lk,null
%lm=getelementptr inbounds i8,i8*%js,i64 96
%ln=bitcast i8*%lm to i8**
%lo=load i8*,i8**%ln,align 8
%lp=icmp ne i8*%lo,null
br i1%ll,label%lq,label%lu
lq:
br i1%lp,label%lr,label%lB
lr:
store i8*null,i8**%f,align 8
%ls=bitcast i8*%lo to i8**
%lt=load i8*,i8**%ls,align 8
store i8*%lt,i8**%f,align 8
br label%l4
lu:
br i1%lp,label%lv,label%lB
lv:
store i8*null,i8**%f,align 8
%lw=bitcast i8*%lo to i8**
%lx=load i8*,i8**%lw,align 8
store i8*%lx,i8**%f,align 8
br label%l4
ly:
store i8*null,i8**%f,align 8
%lz=bitcast i8*%lf to i8**
%lA=load i8*,i8**%lz,align 8
store i8*%lA,i8**%f,align 8
br label%mu
lB:
store i8*%lc,i8**%f,align 8
store i8*%jP,i8**%g,align 8
%lC=call i8*@sml_alloc(i32 inreg 20)#0
%lD=getelementptr inbounds i8,i8*%lC,i64 -4
%lE=bitcast i8*%lD to i32*
store i32 1342177296,i32*%lE,align 4
store i8*%lC,i8**%h,align 8
%lF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lG=bitcast i8*%lC to i8**
store i8*%lF,i8**%lG,align 8
%lH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lI=getelementptr inbounds i8,i8*%lC,i64 8
%lJ=bitcast i8*%lI to i8**
store i8*%lH,i8**%lJ,align 8
%lK=getelementptr inbounds i8,i8*%lC,i64 16
%lL=bitcast i8*%lK to i32*
store i32 3,i32*%lL,align 4
%lM=call i8*@sml_alloc(i32 inreg 28)#0
%lN=getelementptr inbounds i8,i8*%lM,i64 -4
%lO=bitcast i8*%lN to i32*
store i32 1342177304,i32*%lO,align 4
store i8*%lM,i8**%f,align 8
%lP=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%lQ=bitcast i8*%lM to i8**
store i8*%lP,i8**%lQ,align 8
%lR=getelementptr inbounds i8,i8*%lM,i64 8
%lS=bitcast i8*%lR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readArrNB_G_112 to void(...)*),void(...)**%lS,align 8
%lT=getelementptr inbounds i8,i8*%lM,i64 16
%lU=bitcast i8*%lT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readArrNB_G_112 to void(...)*),void(...)**%lU,align 8
%lV=getelementptr inbounds i8,i8*%lM,i64 24
%lW=bitcast i8*%lV to i32*
store i32 -2147483647,i32*%lW,align 4
%lX=call i8*@sml_alloc(i32 inreg 12)#0
%lY=getelementptr inbounds i8,i8*%lX,i64 -4
%lZ=bitcast i8*%lY to i32*
store i32 1342177288,i32*%lZ,align 4
%l0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%l1=bitcast i8*%lX to i8**
store i8*%l0,i8**%l1,align 8
%l2=getelementptr inbounds i8,i8*%lX,i64 8
%l3=bitcast i8*%l2 to i32*
store i32 1,i32*%l3,align 4
br label%mC
l4:
%l5=call i8*@sml_alloc(i32 inreg 12)#0
%l6=getelementptr inbounds i8,i8*%l5,i64 -4
%l7=bitcast i8*%l6 to i32*
store i32 1342177288,i32*%l7,align 4
store i8*%l5,i8**%g,align 8
%l8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%l9=bitcast i8*%l5 to i8**
store i8*%l8,i8**%l9,align 8
%ma=getelementptr inbounds i8,i8*%l5,i64 8
%mb=bitcast i8*%ma to i32*
store i32 1,i32*%mb,align 4
%mc=call i8*@sml_alloc(i32 inreg 28)#0
%md=getelementptr inbounds i8,i8*%mc,i64 -4
%me=bitcast i8*%md to i32*
store i32 1342177304,i32*%me,align 4
store i8*%mc,i8**%f,align 8
%mf=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%mg=bitcast i8*%mc to i8**
store i8*%mf,i8**%mg,align 8
%mh=getelementptr inbounds i8,i8*%mc,i64 8
%mi=bitcast i8*%mh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readArrNB_G_111 to void(...)*),void(...)**%mi,align 8
%mj=getelementptr inbounds i8,i8*%mc,i64 16
%mk=bitcast i8*%mj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL10readArrNB_G_111 to void(...)*),void(...)**%mk,align 8
%ml=getelementptr inbounds i8,i8*%mc,i64 24
%mm=bitcast i8*%ml to i32*
store i32 -2147483647,i32*%mm,align 4
%mn=call i8*@sml_alloc(i32 inreg 12)#0
%mo=getelementptr inbounds i8,i8*%mn,i64 -4
%mp=bitcast i8*%mo to i32*
store i32 1342177288,i32*%mp,align 4
%mq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mr=bitcast i8*%mn to i8**
store i8*%mq,i8**%mr,align 8
%ms=getelementptr inbounds i8,i8*%mn,i64 8
%mt=bitcast i8*%ms to i32*
store i32 1,i32*%mt,align 4
br label%mC
mu:
%mv=call i8*@sml_alloc(i32 inreg 12)#0
%mw=getelementptr inbounds i8,i8*%mv,i64 -4
%mx=bitcast i8*%mw to i32*
store i32 1342177288,i32*%mx,align 4
%my=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mz=bitcast i8*%mv to i8**
store i8*%my,i8**%mz,align 8
%mA=getelementptr inbounds i8,i8*%mv,i64 8
%mB=bitcast i8*%mA to i32*
store i32 1,i32*%mB,align 4
br label%mC
mC:
%mD=phi i8*[%mv,%mu],[%mn,%l4],[%lX,%lB],[%kX,%kj],[null,%j4],[null,%jC]
store i8*%mD,i8**%f,align 8
%mE=bitcast i8**%b to i8***
%mF=load i8**,i8***%mE,align 8
%mG=load i8*,i8**%mF,align 8
store i8*%mG,i8**%g,align 8
%mH=getelementptr inbounds i8*,i8**%mF,i64 1
%mI=load i8*,i8**%mH,align 8
store i8*%mI,i8**%h,align 8
%mJ=getelementptr inbounds i8*,i8**%mF,i64 2
%mK=load i8*,i8**%mJ,align 8
store i8*%mK,i8**%i,align 8
%mL=getelementptr inbounds i8*,i8**%mF,i64 3
%mM=bitcast i8**%mL to i32*
%mN=load i32,i32*%mM,align 4
%mO=getelementptr inbounds i8*,i8**%mF,i64 4
%mP=load i8*,i8**%mO,align 8
store i8*%mP,i8**%j,align 8
%mQ=getelementptr inbounds i8*,i8**%mF,i64 5
%mR=load i8*,i8**%mQ,align 8
store i8*%mR,i8**%k,align 8
%mS=getelementptr inbounds i8*,i8**%mF,i64 6
%mT=load i8*,i8**%mS,align 8
store i8*%mT,i8**%l,align 8
%mU=getelementptr inbounds i8*,i8**%mF,i64 7
%mV=load i8*,i8**%mU,align 8
store i8*%mV,i8**%m,align 8
%mW=getelementptr inbounds i8*,i8**%mF,i64 8
%mX=load i8*,i8**%mW,align 8
store i8*%mX,i8**%n,align 8
%mY=getelementptr inbounds i8*,i8**%mF,i64 13
%mZ=load i8*,i8**%mY,align 8
store i8*%mZ,i8**%o,align 8
%m0=getelementptr inbounds i8*,i8**%mF,i64 14
%m1=load i8*,i8**%m0,align 8
store i8*%m1,i8**%b,align 8
%m2=call i8*@sml_alloc(i32 inreg 124)#0
%m3=getelementptr inbounds i8,i8*%m2,i64 -4
%m4=bitcast i8*%m3 to i32*
store i32 1342177400,i32*%m4,align 4
%m5=getelementptr inbounds i8,i8*%m2,i64 28
%m6=bitcast i8*%m5 to i32*
store i32 0,i32*%m6,align 1
%m7=load i8*,i8**%g,align 8
%m8=bitcast i8*%m2 to i8**
store i8*%m7,i8**%m8,align 8
%m9=load i8*,i8**%h,align 8
%na=getelementptr inbounds i8,i8*%m2,i64 8
%nb=bitcast i8*%na to i8**
store i8*%m9,i8**%nb,align 8
%nc=load i8*,i8**%i,align 8
%nd=getelementptr inbounds i8,i8*%m2,i64 16
%ne=bitcast i8*%nd to i8**
store i8*%nc,i8**%ne,align 8
%nf=getelementptr inbounds i8,i8*%m2,i64 24
%ng=bitcast i8*%nf to i32*
store i32%mN,i32*%ng,align 4
%nh=load i8*,i8**%j,align 8
%ni=getelementptr inbounds i8,i8*%m2,i64 32
%nj=bitcast i8*%ni to i8**
store i8*%nh,i8**%nj,align 8
%nk=load i8*,i8**%k,align 8
%nl=getelementptr inbounds i8,i8*%m2,i64 40
%nm=bitcast i8*%nl to i8**
store i8*%nk,i8**%nm,align 8
%nn=load i8*,i8**%l,align 8
%no=getelementptr inbounds i8,i8*%m2,i64 48
%np=bitcast i8*%no to i8**
store i8*%nn,i8**%np,align 8
%nq=load i8*,i8**%m,align 8
%nr=getelementptr inbounds i8,i8*%m2,i64 56
%ns=bitcast i8*%nr to i8**
store i8*%nq,i8**%ns,align 8
%nt=load i8*,i8**%n,align 8
%nu=getelementptr inbounds i8,i8*%m2,i64 64
%nv=bitcast i8*%nu to i8**
store i8*%nt,i8**%nv,align 8
%nw=load i8*,i8**%d,align 8
%nx=getelementptr inbounds i8,i8*%m2,i64 72
%ny=bitcast i8*%nx to i8**
store i8*%nw,i8**%ny,align 8
%nz=load i8*,i8**%f,align 8
%nA=getelementptr inbounds i8,i8*%m2,i64 80
%nB=bitcast i8*%nA to i8**
store i8*%nz,i8**%nB,align 8
%nC=load i8*,i8**%c,align 8
%nD=getelementptr inbounds i8,i8*%m2,i64 88
%nE=bitcast i8*%nD to i8**
store i8*%nC,i8**%nE,align 8
%nF=load i8*,i8**%e,align 8
%nG=getelementptr inbounds i8,i8*%m2,i64 96
%nH=bitcast i8*%nG to i8**
store i8*%nF,i8**%nH,align 8
%nI=load i8*,i8**%o,align 8
%nJ=getelementptr inbounds i8,i8*%m2,i64 104
%nK=bitcast i8*%nJ to i8**
store i8*%nI,i8**%nK,align 8
%nL=load i8*,i8**%b,align 8
%nM=getelementptr inbounds i8,i8*%m2,i64 112
%nN=bitcast i8*%nM to i8**
store i8*%nL,i8**%nN,align 8
%nO=getelementptr inbounds i8,i8*%m2,i64 120
%nP=bitcast i8*%nO to i32*
store i32 32759,i32*%nP,align 4
ret i8*%m2
}
define internal fastcc i32@_SMLLL9writeVec_G_117(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=call fastcc i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg%k)
%n=icmp eq i32%m,0
br i1%n,label%aB,label%o
o:
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%p,i64 12
%t=bitcast i8*%s to i32*
store i32 0,i32*%t,align 1
%u=load i8*,i8**%c,align 8
%v=bitcast i8*%p to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 8
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call fastcc i8@_SMLFN15CharVectorSlice3subE(i8*inreg%p)
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=bitcast i8*%B to i32*
%D=getelementptr inbounds i8,i8*%B,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177288,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%B,i64 5
call void@llvm.memset.p0i8.i32(i8*%F,i8 0,i32 3,i1 false)
store i32%m,i32*%C,align 4
%G=getelementptr inbounds i8,i8*%B,i64 4
store i8%A,i8*%G,align 1
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 4
%J=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%B)
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
%N=getelementptr inbounds i8,i8*%K,i64 12
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 1
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=bitcast i8*%K to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 8
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i8**
store i8*null,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%K,i64 24
%W=bitcast i8*%V to i32*
store i32 5,i32*%W,align 4
%X=call fastcc i8*@_SMLFN15CharVectorSlice8subsliceE(i8*inreg%K)
store i8*%X,i8**%c,align 8
%Y=call i8*@sml_alloc(i32 inreg 28)#0
%Z=bitcast i8*%Y to i32*
%aa=getelementptr inbounds i8,i8*%Y,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%Y,i64 4
%ad=bitcast i8*%ac to i32*
store i32 0,i32*%ad,align 1
store i32 1,i32*%Z,align 4
%ae=load i8*,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%Y,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%Y,i64 24
%al=bitcast i8*%ak to i32*
store i32 6,i32*%al,align 4
call fastcc void@_SMLFN14CharArraySlice7copyVecE(i8*inreg%Y)
%am=bitcast i8**%e to i8***
%an=load i8**,i8***%am,align 8
%ao=load i8*,i8**%an,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
store i8*null,i8**%e,align 8
%as=bitcast i8**%an to i8***
%at=load i8**,i8***%as,align 8
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%c,align 8
%av=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aw=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%av)
%ax=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ay=call fastcc i8*%ar(i8*inreg%ax,i8*inreg%aw)
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
ret i32%aA
aB:
ret i32 0
}
define internal fastcc i32@_SMLLL9writeVec_G_118(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 0,i32 inreg 4)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=bitcast i8**%d to i8***
%H=load i8**,i8***%G,align 8
%I=load i8*,i8**%H,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
store i8*null,i8**%d,align 8
%M=bitcast i8**%H to i8***
%N=load i8**,i8***%M,align 8
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=call fastcc i8*%L(i8*inreg%O,i8*inreg%P)
%R=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%S=call fastcc i8*%D(i8*inreg%R,i8*inreg%Q)
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
ret i32%U
}
define internal fastcc i32@_SMLLL9writeVec_G_119(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**%f,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%f to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%k],[%j,%i]
%p=load i8*,i8**%o,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=call i8*@sml_alloc(i32 inreg 4)#0
%w=bitcast i8*%v to i32*
%x=getelementptr inbounds i8,i8*%v,i64 -4
%y=bitcast i8*%x to i32*
store i32 4,i32*%y,align 4
store i32 0,i32*%w,align 4
%z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%A=call fastcc i8*%s(i8*inreg%z,i8*inreg%v)
%B=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 0,i32 inreg 4)
store i8*%B,i8**%d,align 8
%C=load i8*,i8**%c,align 8
%D=call fastcc i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg%C)
%E=icmp eq i32%D,0
br i1%E,label%a0,label%F
F:
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 12
%K=bitcast i8*%J to i32*
store i32 0,i32*%K,align 1
%L=load i8*,i8**%c,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 8
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%G,i64 16
%Q=bitcast i8*%P to i32*
store i32 1,i32*%Q,align 4
%R=call fastcc i8@_SMLFN15CharVectorSlice3subE(i8*inreg%G)
%S=call i8*@sml_alloc(i32 inreg 12)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177288,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%S,i64 5
call void@llvm.memset.p0i8.i32(i8*%W,i8 0,i32 3,i1 false)
store i32%D,i32*%T,align 4
%X=getelementptr inbounds i8,i8*%S,i64 4
store i8%R,i8*%X,align 1
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i32*
store i32 0,i32*%Z,align 4
%aa=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%S)
store i8*%aa,i8**%e,align 8
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 12
%af=bitcast i8*%ae to i32*
store i32 0,i32*%af,align 1
%ag=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 8
%aj=bitcast i8*%ai to i32*
store i32 1,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ab,i64 16
%al=bitcast i8*%ak to i8**
store i8*null,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ab,i64 24
%an=bitcast i8*%am to i32*
store i32 5,i32*%an,align 4
%ao=call fastcc i8*@_SMLFN15CharVectorSlice8subsliceE(i8*inreg%ab)
store i8*%ao,i8**%c,align 8
%ap=call i8*@sml_alloc(i32 inreg 28)#0
%aq=bitcast i8*%ap to i32*
%ar=getelementptr inbounds i8,i8*%ap,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177304,i32*%as,align 4
%at=getelementptr inbounds i8,i8*%ap,i64 4
%au=bitcast i8*%at to i32*
store i32 0,i32*%au,align 1
store i32 1,i32*%aq,align 4
%av=load i8*,i8**%e,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%az=getelementptr inbounds i8,i8*%ap,i64 16
%aA=bitcast i8*%az to i8**
store i8*%ay,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%ap,i64 24
%aC=bitcast i8*%aB to i32*
store i32 6,i32*%aC,align 4
call fastcc void@_SMLFN14CharArraySlice7copyVecE(i8*inreg%ap)
%aD=load i8*,i8**%d,align 8
%aE=getelementptr inbounds i8,i8*%aD,i64 16
%aF=bitcast i8*%aE to i8*(i8*,i8*)**
%aG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aF,align 8
%aH=bitcast i8*%aD to i8**
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%d,align 8
%aJ=load i8*,i8**%f,align 8
%aK=getelementptr inbounds i8,i8*%aJ,i64 8
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
%aN=getelementptr inbounds i8,i8*%aM,i64 16
%aO=bitcast i8*%aN to i8*(i8*,i8*)**
%aP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aO,align 8
store i8*null,i8**%f,align 8
%aQ=bitcast i8*%aM to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%c,align 8
%aS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aT=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%aS)
%aU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aV=call fastcc i8*%aP(i8*inreg%aU,i8*inreg%aT)
%aW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aX=call fastcc i8*%aG(i8*inreg%aW,i8*inreg%aV)
%aY=bitcast i8*%aX to i32*
%aZ=load i32,i32*%aY,align 4
ret i32%aZ
a0:
ret i32 0
}
define internal fastcc i32@_SMLLL9writeArr_G_120(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%o)
%w=call fastcc i8*@_SMLFN15CharVectorSlice4fullE(i8*inreg%v)
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=call fastcc i8*%s(i8*inreg%x,i8*inreg%w)
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
ret i32%A
}
define internal fastcc i32@_SMLLL9writeArr_G_121(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 0,i32 inreg 4)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=bitcast i8**%d to i8***
%H=load i8**,i8***%G,align 8
%I=load i8*,i8**%H,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
store i8*null,i8**%d,align 8
%M=bitcast i8**%H to i8***
%N=load i8**,i8***%M,align 8
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=call fastcc i8*%L(i8*inreg%O,i8*inreg%P)
%R=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%S=call fastcc i8*%D(i8*inreg%R,i8*inreg%Q)
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
ret i32%U
}
define internal fastcc i8*@_SMLLL9writeArr_G_122(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%o)
%w=call fastcc i8*@_SMLFN15CharVectorSlice4fullE(i8*inreg%v)
%x=load i8*,i8**%c,align 8
%y=tail call fastcc i8*%s(i8*inreg%x,i8*inreg%w)
ret i8*%y
}
define internal fastcc i32@_SMLLL9writeArr_G_123(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
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=call fastcc i8*@_SMLFN6Option5valOfE(i32 inreg 0,i32 inreg 4)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=load i8*,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%G,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%d,align 8
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%P)
%R=call fastcc i8*@_SMLFN15CharVectorSlice4fullE(i8*inreg%Q)
%S=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%T=call fastcc i8*%M(i8*inreg%S,i8*inreg%R)
%U=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%V=call fastcc i8*%D(i8*inreg%U,i8*inreg%T)
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
ret i32%X
}
define internal fastcc i8*@_SMLLL11writeVecNB_G_125(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=call fastcc i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg%k)
%n=icmp eq i32%m,0
br i1%n,label%az,label%o
o:
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%p,i64 12
%t=bitcast i8*%s to i32*
store i32 0,i32*%t,align 1
%u=load i8*,i8**%c,align 8
%v=bitcast i8*%p to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 8
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call fastcc i8@_SMLFN15CharVectorSlice3subE(i8*inreg%p)
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=bitcast i8*%B to i32*
%D=getelementptr inbounds i8,i8*%B,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177288,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%B,i64 5
call void@llvm.memset.p0i8.i32(i8*%F,i8 0,i32 3,i1 false)
store i32%m,i32*%C,align 4
%G=getelementptr inbounds i8,i8*%B,i64 4
store i8%A,i8*%G,align 1
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 4
%J=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%B)
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
%N=getelementptr inbounds i8,i8*%K,i64 12
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 1
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=bitcast i8*%K to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 8
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i8**
store i8*null,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%K,i64 24
%W=bitcast i8*%V to i32*
store i32 5,i32*%W,align 4
%X=call fastcc i8*@_SMLFN15CharVectorSlice8subsliceE(i8*inreg%K)
store i8*%X,i8**%c,align 8
%Y=call i8*@sml_alloc(i32 inreg 28)#0
%Z=bitcast i8*%Y to i32*
%aa=getelementptr inbounds i8,i8*%Y,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%Y,i64 4
%ad=bitcast i8*%ac to i32*
store i32 0,i32*%ad,align 1
store i32 1,i32*%Z,align 4
%ae=load i8*,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%Y,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%Y,i64 24
%al=bitcast i8*%ak to i32*
store i32 6,i32*%al,align 4
call fastcc void@_SMLFN14CharArraySlice7copyVecE(i8*inreg%Y)
%am=bitcast i8**%e to i8***
%an=load i8**,i8***%am,align 8
%ao=load i8*,i8**%an,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
store i8*null,i8**%e,align 8
%as=bitcast i8**%an to i8***
%at=load i8**,i8***%as,align 8
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%c,align 8
%av=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aw=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%av)
%ax=load i8*,i8**%c,align 8
%ay=tail call fastcc i8*%ar(i8*inreg%ax,i8*inreg%aw)
ret i8*%ay
az:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@l,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLL11writeVecNB_G_126(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp eq i32%B,0
br i1%C,label%Z,label%D
D:
%E=bitcast i8**%d to i8***
%F=load i8**,i8***%E,align 8
%G=load i8*,i8**%F,align 8
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
store i8*null,i8**%d,align 8
%K=bitcast i8**%F to i8***
%L=load i8**,i8***%K,align 8
%M=load i8*,i8**%L,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=call fastcc i8*%J(i8*inreg%M,i8*inreg%N)
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177288,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%R,i64 4
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 1
store i32%Q,i32*%S,align 4
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 4
ret i8*%R
Z:
ret i8*null
}
define internal fastcc i32@_SMLLL11writeVecNB_G_127(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=call fastcc i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg%k)
%n=icmp eq i32%m,0
br i1%n,label%aB,label%o
o:
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%p,i64 12
%t=bitcast i8*%s to i32*
store i32 0,i32*%t,align 1
%u=load i8*,i8**%c,align 8
%v=bitcast i8*%p to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 8
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call fastcc i8@_SMLFN15CharVectorSlice3subE(i8*inreg%p)
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=bitcast i8*%B to i32*
%D=getelementptr inbounds i8,i8*%B,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177288,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%B,i64 5
call void@llvm.memset.p0i8.i32(i8*%F,i8 0,i32 3,i1 false)
store i32%m,i32*%C,align 4
%G=getelementptr inbounds i8,i8*%B,i64 4
store i8%A,i8*%G,align 1
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 4
%J=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%B)
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
%N=getelementptr inbounds i8,i8*%K,i64 12
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 1
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=bitcast i8*%K to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 8
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%K,i64 16
%U=bitcast i8*%T to i8**
store i8*null,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%K,i64 24
%W=bitcast i8*%V to i32*
store i32 5,i32*%W,align 4
%X=call fastcc i8*@_SMLFN15CharVectorSlice8subsliceE(i8*inreg%K)
store i8*%X,i8**%c,align 8
%Y=call i8*@sml_alloc(i32 inreg 28)#0
%Z=bitcast i8*%Y to i32*
%aa=getelementptr inbounds i8,i8*%Y,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%Y,i64 4
%ad=bitcast i8*%ac to i32*
store i32 0,i32*%ad,align 1
store i32 1,i32*%Z,align 4
%ae=load i8*,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%Y,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%Y,i64 24
%al=bitcast i8*%ak to i32*
store i32 6,i32*%al,align 4
call fastcc void@_SMLFN14CharArraySlice7copyVecE(i8*inreg%Y)
%am=bitcast i8**%e to i8***
%an=load i8**,i8***%am,align 8
%ao=load i8*,i8**%an,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
store i8*null,i8**%e,align 8
%as=bitcast i8**%an to i8***
%at=load i8**,i8***%as,align 8
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%c,align 8
%av=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aw=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%av)
%ax=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ay=call fastcc i8*%ar(i8*inreg%ax,i8*inreg%aw)
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
ret i32%aA
aB:
ret i32 0
}
define internal fastcc i8*@_SMLLL11writeVecNB_G_128(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**%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%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%e 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
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp eq i32%B,0
br i1%C,label%a5,label%D
D:
%E=load i8*,i8**%c,align 8
%F=call fastcc i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg%E)
%G=icmp eq i32%F,0
br i1%G,label%aU,label%H
H:
%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=getelementptr inbounds i8,i8*%I,i64 12
%M=bitcast i8*%L to i32*
store i32 0,i32*%M,align 1
%N=load i8*,i8**%c,align 8
%O=bitcast i8*%I to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 8
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%I,i64 16
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=call fastcc i8@_SMLFN15CharVectorSlice3subE(i8*inreg%I)
%U=call i8*@sml_alloc(i32 inreg 12)#0
%V=bitcast i8*%U to i32*
%W=getelementptr inbounds i8,i8*%U,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177288,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%U,i64 5
call void@llvm.memset.p0i8.i32(i8*%Y,i8 0,i32 3,i1 false)
store i32%F,i32*%V,align 4
%Z=getelementptr inbounds i8,i8*%U,i64 4
store i8%T,i8*%Z,align 1
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i32*
store i32 0,i32*%ab,align 4
%ac=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg%U)
store i8*%ac,i8**%d,align 8
%ad=call i8*@sml_alloc(i32 inreg 28)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177304,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 12
%ah=bitcast i8*%ag to i32*
store i32 0,i32*%ah,align 1
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 8
%al=bitcast i8*%ak to i32*
store i32 1,i32*%al,align 4
%am=getelementptr inbounds i8,i8*%ad,i64 16
%an=bitcast i8*%am to i8**
store i8*null,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ad,i64 24
%ap=bitcast i8*%ao to i32*
store i32 5,i32*%ap,align 4
%aq=call fastcc i8*@_SMLFN15CharVectorSlice8subsliceE(i8*inreg%ad)
store i8*%aq,i8**%c,align 8
%ar=call i8*@sml_alloc(i32 inreg 28)#0
%as=bitcast i8*%ar to i32*
%at=getelementptr inbounds i8,i8*%ar,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177304,i32*%au,align 4
%av=getelementptr inbounds i8,i8*%ar,i64 4
%aw=bitcast i8*%av to i32*
store i32 0,i32*%aw,align 1
store i32 1,i32*%as,align 4
%ax=load i8*,i8**%d,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 8
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aB=getelementptr inbounds i8,i8*%ar,i64 16
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%ar,i64 24
%aE=bitcast i8*%aD to i32*
store i32 6,i32*%aE,align 4
call fastcc void@_SMLFN14CharArraySlice7copyVecE(i8*inreg%ar)
%aF=load i8*,i8**%e,align 8
%aG=getelementptr inbounds i8,i8*%aF,i64 8
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=getelementptr inbounds i8,i8*%aI,i64 16
%aK=bitcast i8*%aJ to i8*(i8*,i8*)**
%aL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aK,align 8
store i8*null,i8**%e,align 8
%aM=bitcast i8*%aI to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%c,align 8
%aO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aP=call fastcc i8*@_SMLFN14CharArraySlice4fullE(i8*inreg%aO)
%aQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aR=call fastcc i8*%aL(i8*inreg%aQ,i8*inreg%aP)
%aS=bitcast i8*%aR to i32*
%aT=load i32,i32*%aS,align 4
br label%aV
aU:
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
br label%aV
aV:
%aW=phi i32[%aT,%H],[0,%aU]
%aX=call i8*@sml_alloc(i32 inreg 12)#0
%aY=bitcast i8*%aX to i32*
%aZ=getelementptr inbounds i8,i8*%aX,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177288,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aX,i64 4
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 1
store i32%aW,i32*%aY,align 4
%a3=getelementptr inbounds i8,i8*%aX,i64 8
%a4=bitcast i8*%a3 to i32*
store i32 0,i32*%a4,align 4
ret i8*%aX
a5:
ret i8*null
}
define internal fastcc i8*@_SMLLL11writeArrNB_G_129(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%o)
%w=call fastcc i8*@_SMLFN15CharVectorSlice4fullE(i8*inreg%v)
%x=load i8*,i8**%c,align 8
%y=tail call fastcc i8*%s(i8*inreg%x,i8*inreg%w)
ret i8*%y
}
define internal fastcc i8*@_SMLLL11writeArrNB_G_130(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp eq i32%B,0
br i1%C,label%Z,label%D
D:
%E=bitcast i8**%d to i8***
%F=load i8**,i8***%E,align 8
%G=load i8*,i8**%F,align 8
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
store i8*null,i8**%d,align 8
%K=bitcast i8**%F to i8***
%L=load i8**,i8***%K,align 8
%M=load i8*,i8**%L,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=call fastcc i8*%J(i8*inreg%M,i8*inreg%N)
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177288,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%R,i64 4
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 1
store i32%Q,i32*%S,align 4
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 4
ret i8*%R
Z:
ret i8*null
}
define internal fastcc i32@_SMLLL11writeArrNB_G_131(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%o)
%w=call fastcc i8*@_SMLFN15CharVectorSlice4fullE(i8*inreg%v)
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=call fastcc i8*%s(i8*inreg%x,i8*inreg%w)
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
ret i32%A
}
define internal fastcc i8*@_SMLLL11writeArrNB_G_132(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
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 0,i32*%v,align 4
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp eq i32%B,0
br i1%C,label%ac,label%D
D:
%E=load i8*,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%d,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%N)
%P=call fastcc i8*@_SMLFN15CharVectorSlice4fullE(i8*inreg%O)
%Q=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%R=call fastcc i8*%K(i8*inreg%Q,i8*inreg%P)
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
%U=call i8*@sml_alloc(i32 inreg 12)#0
%V=bitcast i8*%U to i32*
%W=getelementptr inbounds i8,i8*%U,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177288,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%U,i64 4
%Z=bitcast i8*%Y to i32*
store i32 0,i32*%Z,align 1
store i32%T,i32*%V,align 4
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i32*
store i32 0,i32*%ab,align 4
ret i8*%U
ac:
ret i8*null
}
define fastcc i8*@_SMLFN10TextPrimIO13augmentWriterE(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
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%a,i8**%b,align 8
%o=bitcast i8*%a to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
br i1%q,label%r,label%L
r:
%s=getelementptr inbounds i8,i8*%a,i64 80
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=icmp eq i8*%u,null
%w=getelementptr inbounds i8,i8*%a,i64 96
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=icmp eq i8*%y,null
br i1%v,label%A,label%E
A:
br i1%z,label%ct,label%B
B:
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%c,align 8
br label%cl
E:
br i1%z,label%F,label%I
F:
%G=bitcast i8*%u to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
br label%bV
I:
%J=bitcast i8*%y to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%c,align 8
br label%cl
L:
%M=bitcast i8*%p to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%c,align 8
%O=getelementptr inbounds i8,i8*%a,i64 80
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=icmp eq i8*%Q,null
br i1%R,label%S,label%a4
S:
%T=getelementptr inbounds i8,i8*%a,i64 88
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=icmp eq i8*%V,null
br i1%W,label%X,label%al
X:
%Y=getelementptr inbounds i8,i8*%a,i64 96
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
%ab=icmp eq i8*%aa,null
br i1%ab,label%ac,label%ai
ac:
%ad=getelementptr inbounds i8,i8*%a,i64 104
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
%ag=icmp eq i8*%af,null
br i1%ag,label%ah,label%bp
ah:
store i8*null,i8**%c,align 8
br label%ct
ai:
store i8*null,i8**%c,align 8
%aj=bitcast i8*%aa to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%c,align 8
br label%cl
al:
%am=bitcast i8*%V to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%d,align 8
%ao=getelementptr inbounds i8,i8*%a,i64 96
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
%ar=icmp eq i8*%aq,null
br i1%ar,label%as,label%a1
as:
%at=getelementptr inbounds i8,i8*%a,i64 104
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
%aw=icmp eq i8*%av,null
br i1%aw,label%ax,label%a0
ax:
%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**%e,align 8
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,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(i32(i8*,i8*)*@_SMLLL9writeVec_G_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*)*@_SMLLL9writeVec_G_211 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 12)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177288,i32*%aV,align 4
%aW=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%aZ,align 4
br label%ct
a0:
store i8*null,i8**%d,align 8
br label%bp
a1:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%a2=bitcast i8*%aq to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%c,align 8
br label%cl
a4:
store i8*null,i8**%c,align 8
%a5=bitcast i8*%Q to i8**
%a6=load i8*,i8**%a5,align 8
%a7=getelementptr inbounds i8,i8*%a,i64 88
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=icmp eq i8*%a9,null
%bb=getelementptr inbounds i8,i8*%a,i64 96
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
%be=icmp ne i8*%bd,null
br i1%ba,label%bf,label%bk
bf:
br i1%be,label%bh,label%bg
bg:
store i8*%a6,i8**%c,align 8
br label%bV
bh:
%bi=bitcast i8*%bd to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%c,align 8
br label%cl
bk:
br i1%be,label%bm,label%bl
bl:
store i8*%a6,i8**%c,align 8
br label%bV
bm:
%bn=bitcast i8*%bd to i8**
%bo=load i8*,i8**%bn,align 8
store i8*%bo,i8**%c,align 8
br label%cl
bp:
%bq=phi i8*[%av,%a0],[%af,%ac]
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%c,align 8
store i8*%N,i8**%d,align 8
%bt=call i8*@sml_alloc(i32 inreg 20)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177296,i32*%bv,align 4
store i8*%bt,i8**%e,align 8
%bw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bz=getelementptr inbounds i8,i8*%bt,i64 8
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bt,i64 16
%bC=bitcast i8*%bB to i32*
store i32 3,i32*%bC,align 4
%bD=call i8*@sml_alloc(i32 inreg 28)#0
%bE=getelementptr inbounds i8,i8*%bD,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177304,i32*%bF,align 4
store i8*%bD,i8**%c,align 8
%bG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bH=bitcast i8*%bD to i8**
store i8*%bG,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bD,i64 8
%bJ=bitcast i8*%bI to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL9writeVec_G_118 to void(...)*),void(...)**%bJ,align 8
%bK=getelementptr inbounds i8,i8*%bD,i64 16
%bL=bitcast i8*%bK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9writeVec_G_210 to void(...)*),void(...)**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bD,i64 24
%bN=bitcast i8*%bM to i32*
store i32 -2147483647,i32*%bN,align 4
%bO=call i8*@sml_alloc(i32 inreg 12)#0
%bP=getelementptr inbounds i8,i8*%bO,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177288,i32*%bQ,align 4
%bR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bS=bitcast i8*%bO to i8**
store i8*%bR,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bO,i64 8
%bU=bitcast i8*%bT to i32*
store i32 1,i32*%bU,align 4
br label%ct
bV:
%bW=call i8*@sml_alloc(i32 inreg 12)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177288,i32*%bY,align 4
store i8*%bW,i8**%d,align 8
%bZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bW,i64 8
%b2=bitcast i8*%b1 to i32*
store i32 1,i32*%b2,align 4
%b3=call i8*@sml_alloc(i32 inreg 28)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177304,i32*%b5,align 4
store i8*%b3,i8**%c,align 8
%b6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b3,i64 8
%b9=bitcast i8*%b8 to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL9writeVec_G_117 to void(...)*),void(...)**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 16
%cb=bitcast i8*%ca to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9writeVec_G_209 to void(...)*),void(...)**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 24
%cd=bitcast i8*%cc to i32*
store i32 -2147483647,i32*%cd,align 4
%ce=call i8*@sml_alloc(i32 inreg 12)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177288,i32*%cg,align 4
%ch=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ce,i64 8
%ck=bitcast i8*%cj to i32*
store i32 1,i32*%ck,align 4
br label%ct
cl:
%cm=call i8*@sml_alloc(i32 inreg 12)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177288,i32*%co,align 4
%cp=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%cs,align 4
br label%ct
ct:
%cu=phi i8*[%cm,%cl],[%ce,%bV],[%bO,%bp],[%aT,%ax],[null,%A],[null,%ah]
store i8*%cu,i8**%c,align 8
%cv=load i8*,i8**%b,align 8
%cw=bitcast i8*%cv to i8**
%cx=load i8*,i8**%cw,align 8
%cy=icmp eq i8*%cx,null
br i1%cy,label%cz,label%cM
cz:
%cA=getelementptr inbounds i8,i8*%cv,i64 80
%cB=bitcast i8*%cA to i8**
%cC=load i8*,i8**%cB,align 8
%cD=icmp eq i8*%cC,null
br i1%cD,label%cE,label%eZ
cE:
%cF=getelementptr inbounds i8,i8*%cv,i64 96
%cG=bitcast i8*%cF to i8**
%cH=load i8*,i8**%cG,align 8
%cI=icmp eq i8*%cH,null
br i1%cI,label%fa,label%cJ
cJ:
%cK=bitcast i8*%cH to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%d,align 8
br label%ez
cM:
%cN=bitcast i8*%cx to i8**
%cO=load i8*,i8**%cN,align 8
store i8*%cO,i8**%d,align 8
%cP=getelementptr inbounds i8,i8*%cv,i64 80
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
%cS=icmp eq i8*%cR,null
br i1%cS,label%cT,label%ey
cT:
%cU=getelementptr inbounds i8,i8*%cv,i64 88
%cV=bitcast i8*%cU to i8**
%cW=load i8*,i8**%cV,align 8
%cX=icmp eq i8*%cW,null
%cY=getelementptr inbounds i8,i8*%cv,i64 96
%cZ=bitcast i8*%cY to i8**
%c0=load i8*,i8**%cZ,align 8
%c1=icmp eq i8*%c0,null
br i1%cX,label%c2,label%dZ
c2:
br i1%c1,label%c3,label%dW
c3:
%c4=getelementptr inbounds i8,i8*%cv,i64 104
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
%c7=icmp eq i8*%c6,null
br i1%c7,label%c8,label%c9
c8:
store i8*null,i8**%d,align 8
br label%fa
c9:
%da=bitcast i8*%c6 to i8**
%db=load i8*,i8**%da,align 8
store i8*%db,i8**%e,align 8
%dc=call i8*@sml_alloc(i32 inreg 12)#0
%dd=getelementptr inbounds i8,i8*%dc,i64 -4
%de=bitcast i8*%dd to i32*
store i32 1342177288,i32*%de,align 4
store i8*%dc,i8**%f,align 8
%df=load i8*,i8**%e,align 8
%dg=bitcast i8*%dc to i8**
store i8*%df,i8**%dg,align 8
%dh=getelementptr inbounds i8,i8*%dc,i64 8
%di=bitcast i8*%dh to i32*
store i32 1,i32*%di,align 4
%dj=call i8*@sml_alloc(i32 inreg 28)#0
%dk=getelementptr inbounds i8,i8*%dj,i64 -4
%dl=bitcast i8*%dk to i32*
store i32 1342177304,i32*%dl,align 4
%dm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dn=bitcast i8*%dj to i8**
store i8*%dm,i8**%dn,align 8
%do=getelementptr inbounds i8,i8*%dj,i64 8
%dp=bitcast i8*%do to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9writeArr_G_122 to void(...)*),void(...)**%dp,align 8
%dq=getelementptr inbounds i8,i8*%dj,i64 16
%dr=bitcast i8*%dq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9writeArr_G_122 to void(...)*),void(...)**%dr,align 8
%ds=getelementptr inbounds i8,i8*%dj,i64 24
%dt=bitcast i8*%ds to i32*
store i32 -2147483647,i32*%dt,align 4
%du=call i8*@sml_alloc(i32 inreg 20)#0
%dv=getelementptr inbounds i8,i8*%du,i64 -4
%dw=bitcast i8*%dv to i32*
store i32 1342177296,i32*%dw,align 4
store i8*%du,i8**%f,align 8
%dx=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dy=bitcast i8*%du to i8**
store i8*%dx,i8**%dy,align 8
%dz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dA=getelementptr inbounds i8,i8*%du,i64 8
%dB=bitcast i8*%dA to i8**
store i8*%dz,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%du,i64 16
%dD=bitcast i8*%dC to i32*
store i32 3,i32*%dD,align 4
%dE=call i8*@sml_alloc(i32 inreg 28)#0
%dF=getelementptr inbounds i8,i8*%dE,i64 -4
%dG=bitcast i8*%dF to i32*
store i32 1342177304,i32*%dG,align 4
store i8*%dE,i8**%d,align 8
%dH=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dI=bitcast i8*%dE to i8**
store i8*%dH,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dE,i64 8
%dK=bitcast i8*%dJ to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL9writeArr_G_123 to void(...)*),void(...)**%dK,align 8
%dL=getelementptr inbounds i8,i8*%dE,i64 16
%dM=bitcast i8*%dL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9writeArr_G_214 to void(...)*),void(...)**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dE,i64 24
%dO=bitcast i8*%dN to i32*
store i32 -2147483647,i32*%dO,align 4
%dP=call i8*@sml_alloc(i32 inreg 12)#0
%dQ=getelementptr inbounds i8,i8*%dP,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177288,i32*%dR,align 4
%dS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dT=bitcast i8*%dP to i8**
store i8*%dS,i8**%dT,align 8
%dU=getelementptr inbounds i8,i8*%dP,i64 8
%dV=bitcast i8*%dU to i32*
store i32 1,i32*%dV,align 4
br label%fa
dW:
store i8*null,i8**%d,align 8
%dX=bitcast i8*%c0 to i8**
%dY=load i8*,i8**%dX,align 8
store i8*%dY,i8**%d,align 8
br label%ez
dZ:
br i1%c1,label%d0,label%ev
d0:
%d1=bitcast i8*%cW to i8**
%d2=load i8*,i8**%d1,align 8
store i8*%d2,i8**%d,align 8
store i8*%cO,i8**%e,align 8
%d3=call i8*@sml_alloc(i32 inreg 20)#0
%d4=getelementptr inbounds i8,i8*%d3,i64 -4
%d5=bitcast i8*%d4 to i32*
store i32 1342177296,i32*%d5,align 4
store i8*%d3,i8**%f,align 8
%d6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%d7=bitcast i8*%d3 to i8**
store i8*%d6,i8**%d7,align 8
%d8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d9=getelementptr inbounds i8,i8*%d3,i64 8
%ea=bitcast i8*%d9 to i8**
store i8*%d8,i8**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d3,i64 16
%ec=bitcast i8*%eb to i32*
store i32 3,i32*%ec,align 4
%ed=call i8*@sml_alloc(i32 inreg 28)#0
%ee=getelementptr inbounds i8,i8*%ed,i64 -4
%ef=bitcast i8*%ee to i32*
store i32 1342177304,i32*%ef,align 4
store i8*%ed,i8**%d,align 8
%eg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eh=bitcast i8*%ed to i8**
store i8*%eg,i8**%eh,align 8
%ei=getelementptr inbounds i8,i8*%ed,i64 8
%ej=bitcast i8*%ei to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL9writeArr_G_121 to void(...)*),void(...)**%ej,align 8
%ek=getelementptr inbounds i8,i8*%ed,i64 16
%el=bitcast i8*%ek to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9writeArr_G_213 to void(...)*),void(...)**%el,align 8
%em=getelementptr inbounds i8,i8*%ed,i64 24
%en=bitcast i8*%em to i32*
store i32 -2147483647,i32*%en,align 4
%eo=call i8*@sml_alloc(i32 inreg 12)#0
%ep=getelementptr inbounds i8,i8*%eo,i64 -4
%eq=bitcast i8*%ep to i32*
store i32 1342177288,i32*%eq,align 4
%er=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%es=bitcast i8*%eo to i8**
store i8*%er,i8**%es,align 8
%et=getelementptr inbounds i8,i8*%eo,i64 8
%eu=bitcast i8*%et to i32*
store i32 1,i32*%eu,align 4
br label%fa
ev:
store i8*null,i8**%d,align 8
%ew=bitcast i8*%c0 to i8**
%ex=load i8*,i8**%ew,align 8
store i8*%ex,i8**%d,align 8
br label%ez
ey:
store i8*null,i8**%d,align 8
br label%eZ
ez:
%eA=call i8*@sml_alloc(i32 inreg 12)#0
%eB=getelementptr inbounds i8,i8*%eA,i64 -4
%eC=bitcast i8*%eB to i32*
store i32 1342177288,i32*%eC,align 4
store i8*%eA,i8**%e,align 8
%eD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eE=bitcast i8*%eA to i8**
store i8*%eD,i8**%eE,align 8
%eF=getelementptr inbounds i8,i8*%eA,i64 8
%eG=bitcast i8*%eF to i32*
store i32 1,i32*%eG,align 4
%eH=call i8*@sml_alloc(i32 inreg 28)#0
%eI=getelementptr inbounds i8,i8*%eH,i64 -4
%eJ=bitcast i8*%eI to i32*
store i32 1342177304,i32*%eJ,align 4
store i8*%eH,i8**%d,align 8
%eK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eL=bitcast i8*%eH to i8**
store i8*%eK,i8**%eL,align 8
%eM=getelementptr inbounds i8,i8*%eH,i64 8
%eN=bitcast i8*%eM to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL9writeArr_G_120 to void(...)*),void(...)**%eN,align 8
%eO=getelementptr inbounds i8,i8*%eH,i64 16
%eP=bitcast i8*%eO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL9writeArr_G_212 to void(...)*),void(...)**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eH,i64 24
%eR=bitcast i8*%eQ to i32*
store i32 -2147483647,i32*%eR,align 4
%eS=call i8*@sml_alloc(i32 inreg 12)#0
%eT=getelementptr inbounds i8,i8*%eS,i64 -4
%eU=bitcast i8*%eT to i32*
store i32 1342177288,i32*%eU,align 4
%eV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eW=bitcast i8*%eS to i8**
store i8*%eV,i8**%eW,align 8
%eX=getelementptr inbounds i8,i8*%eS,i64 8
%eY=bitcast i8*%eX to i32*
store i32 1,i32*%eY,align 4
br label%fa
eZ:
%e0=phi i8*[%cR,%ey],[%cC,%cz]
%e1=bitcast i8*%e0 to i8**
%e2=load i8*,i8**%e1,align 8
store i8*%e2,i8**%d,align 8
%e3=call i8*@sml_alloc(i32 inreg 12)#0
%e4=getelementptr inbounds i8,i8*%e3,i64 -4
%e5=bitcast i8*%e4 to i32*
store i32 1342177288,i32*%e5,align 4
%e6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%e7=bitcast i8*%e3 to i8**
store i8*%e6,i8**%e7,align 8
%e8=getelementptr inbounds i8,i8*%e3,i64 8
%e9=bitcast i8*%e8 to i32*
store i32 1,i32*%e9,align 4
br label%fa
fa:
%fb=phi i8*[%e3,%eZ],[%eS,%ez],[%eo,%d0],[%dP,%c9],[null,%cE],[null,%c8]
store i8*%fb,i8**%d,align 8
%fc=load i8*,i8**%b,align 8
%fd=getelementptr inbounds i8,i8*%fc,i64 8
%fe=bitcast i8*%fd to i8**
%ff=load i8*,i8**%fe,align 8
%fg=icmp eq i8*%ff,null
br i1%fg,label%fh,label%fB
fh:
%fi=getelementptr inbounds i8,i8*%fc,i64 88
%fj=bitcast i8*%fi to i8**
%fk=load i8*,i8**%fj,align 8
%fl=icmp eq i8*%fk,null
%fm=getelementptr inbounds i8,i8*%fc,i64 104
%fn=bitcast i8*%fm to i8**
%fo=load i8*,i8**%fn,align 8
%fp=icmp eq i8*%fo,null
br i1%fl,label%fq,label%fu
fq:
br i1%fp,label%i5,label%fr
fr:
%fs=bitcast i8*%fo to i8**
%ft=load i8*,i8**%fs,align 8
store i8*%ft,i8**%e,align 8
br label%iX
fu:
br i1%fp,label%fv,label%fy
fv:
%fw=bitcast i8*%fk to i8**
%fx=load i8*,i8**%fw,align 8
store i8*%fx,i8**%e,align 8
br label%ix
fy:
%fz=bitcast i8*%fo to i8**
%fA=load i8*,i8**%fz,align 8
store i8*%fA,i8**%e,align 8
br label%iX
fB:
%fC=bitcast i8*%ff to i8**
%fD=load i8*,i8**%fC,align 8
store i8*%fD,i8**%e,align 8
%fE=getelementptr inbounds i8,i8*%fc,i64 80
%fF=bitcast i8*%fE to i8**
%fG=load i8*,i8**%fF,align 8
%fH=icmp eq i8*%fG,null
br i1%fH,label%fI,label%gt
fI:
%fJ=getelementptr inbounds i8,i8*%fc,i64 88
%fK=bitcast i8*%fJ to i8**
%fL=load i8*,i8**%fK,align 8
%fM=icmp eq i8*%fL,null
br i1%fM,label%fN,label%f8
fN:
%fO=getelementptr inbounds i8,i8*%fc,i64 96
%fP=bitcast i8*%fO to i8**
%fQ=load i8*,i8**%fP,align 8
%fR=icmp eq i8*%fQ,null
br i1%fR,label%fS,label%f0
fS:
store i8*null,i8**%e,align 8
%fT=getelementptr inbounds i8,i8*%fc,i64 104
%fU=bitcast i8*%fT to i8**
%fV=load i8*,i8**%fU,align 8
%fW=icmp eq i8*%fV,null
br i1%fW,label%i5,label%fX
fX:
%fY=bitcast i8*%fV to i8**
%fZ=load i8*,i8**%fY,align 8
store i8*%fZ,i8**%e,align 8
br label%iX
f0:
%f1=getelementptr inbounds i8,i8*%fc,i64 104
%f2=bitcast i8*%f1 to i8**
%f3=load i8*,i8**%f2,align 8
%f4=icmp eq i8*%f3,null
br i1%f4,label%h1,label%f5
f5:
store i8*null,i8**%e,align 8
%f6=bitcast i8*%f3 to i8**
%f7=load i8*,i8**%f6,align 8
store i8*%f7,i8**%e,align 8
br label%iX
f8:
store i8*null,i8**%e,align 8
%f9=bitcast i8*%fL to i8**
%ga=load i8*,i8**%f9,align 8
%gb=getelementptr inbounds i8,i8*%fc,i64 96
%gc=bitcast i8*%gb to i8**
%gd=load i8*,i8**%gc,align 8
%ge=icmp eq i8*%gd,null
%gf=getelementptr inbounds i8,i8*%fc,i64 104
%gg=bitcast i8*%gf to i8**
%gh=load i8*,i8**%gg,align 8
%gi=icmp ne i8*%gh,null
br i1%ge,label%gj,label%go
gj:
br i1%gi,label%gl,label%gk
gk:
store i8*%ga,i8**%e,align 8
br label%ix
gl:
%gm=bitcast i8*%gh to i8**
%gn=load i8*,i8**%gm,align 8
store i8*%gn,i8**%e,align 8
br label%iX
go:
br i1%gi,label%gq,label%gp
gp:
store i8*%ga,i8**%e,align 8
br label%ix
gq:
%gr=bitcast i8*%gh to i8**
%gs=load i8*,i8**%gr,align 8
store i8*%gs,i8**%e,align 8
br label%iX
gt:
%gu=bitcast i8*%fG to i8**
%gv=load i8*,i8**%gu,align 8
store i8*%gv,i8**%f,align 8
%gw=getelementptr inbounds i8,i8*%fc,i64 88
%gx=bitcast i8*%gw to i8**
%gy=load i8*,i8**%gx,align 8
%gz=icmp eq i8*%gy,null
br i1%gz,label%gA,label%hG
gA:
%gB=getelementptr inbounds i8,i8*%fc,i64 96
%gC=bitcast i8*%gB to i8**
%gD=load i8*,i8**%gC,align 8
%gE=icmp eq i8*%gD,null
br i1%gE,label%gF,label%hy
gF:
%gG=getelementptr inbounds i8,i8*%fc,i64 104
%gH=bitcast i8*%gG to i8**
%gI=load i8*,i8**%gH,align 8
%gJ=icmp eq i8*%gI,null
br i1%gJ,label%gK,label%hv
gK:
%gL=call i8*@sml_alloc(i32 inreg 12)#0
%gM=getelementptr inbounds i8,i8*%gL,i64 -4
%gN=bitcast i8*%gM to i32*
store i32 1342177288,i32*%gN,align 4
store i8*%gL,i8**%g,align 8
%gO=load i8*,i8**%f,align 8
%gP=bitcast i8*%gL to i8**
store i8*%gO,i8**%gP,align 8
%gQ=getelementptr inbounds i8,i8*%gL,i64 8
%gR=bitcast i8*%gQ to i32*
store i32 1,i32*%gR,align 4
%gS=call i8*@sml_alloc(i32 inreg 28)#0
%gT=getelementptr inbounds i8,i8*%gS,i64 -4
%gU=bitcast i8*%gT to i32*
store i32 1342177304,i32*%gU,align 4
%gV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gW=bitcast i8*%gS to i8**
store i8*%gV,i8**%gW,align 8
%gX=getelementptr inbounds i8,i8*%gS,i64 8
%gY=bitcast i8*%gX to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL11writeVecNB_G_127 to void(...)*),void(...)**%gY,align 8
%gZ=getelementptr inbounds i8,i8*%gS,i64 16
%g0=bitcast i8*%gZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeVecNB_G_215 to void(...)*),void(...)**%g0,align 8
%g1=getelementptr inbounds i8,i8*%gS,i64 24
%g2=bitcast i8*%g1 to i32*
store i32 -2147483647,i32*%g2,align 4
%g3=call i8*@sml_alloc(i32 inreg 20)#0
%g4=getelementptr inbounds i8,i8*%g3,i64 -4
%g5=bitcast i8*%g4 to i32*
store i32 1342177296,i32*%g5,align 4
store i8*%g3,i8**%g,align 8
%g6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%g7=bitcast i8*%g3 to i8**
store i8*%g6,i8**%g7,align 8
%g8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%g9=getelementptr inbounds i8,i8*%g3,i64 8
%ha=bitcast i8*%g9 to i8**
store i8*%g8,i8**%ha,align 8
%hb=getelementptr inbounds i8,i8*%g3,i64 16
%hc=bitcast i8*%hb to i32*
store i32 3,i32*%hc,align 4
%hd=call i8*@sml_alloc(i32 inreg 28)#0
%he=getelementptr inbounds i8,i8*%hd,i64 -4
%hf=bitcast i8*%he to i32*
store i32 1342177304,i32*%hf,align 4
store i8*%hd,i8**%e,align 8
%hg=load i8*,i8**%g,align 8
store i8*null,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeVecNB_G_128 to void(...)*),void(...)**%hj,align 8
%hk=getelementptr inbounds i8,i8*%hd,i64 16
%hl=bitcast i8*%hk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeVecNB_G_128 to void(...)*),void(...)**%hl,align 8
%hm=getelementptr inbounds i8,i8*%hd,i64 24
%hn=bitcast i8*%hm to i32*
store i32 -2147483647,i32*%hn,align 4
%ho=call i8*@sml_alloc(i32 inreg 12)#0
%hp=getelementptr inbounds i8,i8*%ho,i64 -4
%hq=bitcast i8*%hp to i32*
store i32 1342177288,i32*%hq,align 4
%hr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hs=bitcast i8*%ho to i8**
store i8*%hr,i8**%hs,align 8
%ht=getelementptr inbounds i8,i8*%ho,i64 8
%hu=bitcast i8*%ht to i32*
store i32 1,i32*%hu,align 4
br label%i5
hv:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%hw=bitcast i8*%gI to i8**
%hx=load i8*,i8**%hw,align 8
store i8*%hx,i8**%e,align 8
br label%iX
hy:
store i8*null,i8**%f,align 8
%hz=getelementptr inbounds i8,i8*%fc,i64 104
%hA=bitcast i8*%hz to i8**
%hB=load i8*,i8**%hA,align 8
%hC=icmp eq i8*%hB,null
br i1%hC,label%h1,label%hD
hD:
store i8*null,i8**%e,align 8
%hE=bitcast i8*%hB to i8**
%hF=load i8*,i8**%hE,align 8
store i8*%hF,i8**%e,align 8
br label%iX
hG:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%hH=bitcast i8*%gy to i8**
%hI=load i8*,i8**%hH,align 8
%hJ=getelementptr inbounds i8,i8*%fc,i64 96
%hK=bitcast i8*%hJ to i8**
%hL=load i8*,i8**%hK,align 8
%hM=icmp eq i8*%hL,null
%hN=getelementptr inbounds i8,i8*%fc,i64 104
%hO=bitcast i8*%hN to i8**
%hP=load i8*,i8**%hO,align 8
%hQ=icmp ne i8*%hP,null
br i1%hM,label%hR,label%hW
hR:
br i1%hQ,label%hT,label%hS
hS:
store i8*%hI,i8**%e,align 8
br label%ix
hT:
%hU=bitcast i8*%hP to i8**
%hV=load i8*,i8**%hU,align 8
store i8*%hV,i8**%e,align 8
br label%iX
hW:
br i1%hQ,label%hY,label%hX
hX:
store i8*%hI,i8**%e,align 8
br label%ix
hY:
%hZ=bitcast i8*%hP to i8**
%h0=load i8*,i8**%hZ,align 8
store i8*%h0,i8**%e,align 8
br label%iX
h1:
%h2=phi i8*[%fQ,%f0],[%gD,%hy]
%h3=bitcast i8*%h2 to i8**
%h4=load i8*,i8**%h3,align 8
store i8*%h4,i8**%e,align 8
store i8*%fD,i8**%f,align 8
%h5=call i8*@sml_alloc(i32 inreg 20)#0
%h6=getelementptr inbounds i8,i8*%h5,i64 -4
%h7=bitcast i8*%h6 to i32*
store i32 1342177296,i32*%h7,align 4
store i8*%h5,i8**%g,align 8
%h8=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%h9=bitcast i8*%h5 to i8**
store i8*%h8,i8**%h9,align 8
%ia=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ib=getelementptr inbounds i8,i8*%h5,i64 8
%ic=bitcast i8*%ib to i8**
store i8*%ia,i8**%ic,align 8
%id=getelementptr inbounds i8,i8*%h5,i64 16
%ie=bitcast i8*%id to i32*
store i32 3,i32*%ie,align 4
%if=call i8*@sml_alloc(i32 inreg 28)#0
%ig=getelementptr inbounds i8,i8*%if,i64 -4
%ih=bitcast i8*%ig to i32*
store i32 1342177304,i32*%ih,align 4
store i8*%if,i8**%e,align 8
%ii=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ij=bitcast i8*%if to i8**
store i8*%ii,i8**%ij,align 8
%ik=getelementptr inbounds i8,i8*%if,i64 8
%il=bitcast i8*%ik to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeVecNB_G_126 to void(...)*),void(...)**%il,align 8
%im=getelementptr inbounds i8,i8*%if,i64 16
%in=bitcast i8*%im to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeVecNB_G_126 to void(...)*),void(...)**%in,align 8
%io=getelementptr inbounds i8,i8*%if,i64 24
%ip=bitcast i8*%io to i32*
store i32 -2147483647,i32*%ip,align 4
%iq=call i8*@sml_alloc(i32 inreg 12)#0
%ir=getelementptr inbounds i8,i8*%iq,i64 -4
%is=bitcast i8*%ir to i32*
store i32 1342177288,i32*%is,align 4
%it=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iu=bitcast i8*%iq to i8**
store i8*%it,i8**%iu,align 8
%iv=getelementptr inbounds i8,i8*%iq,i64 8
%iw=bitcast i8*%iv to i32*
store i32 1,i32*%iw,align 4
br label%i5
ix:
%iy=call i8*@sml_alloc(i32 inreg 12)#0
%iz=getelementptr inbounds i8,i8*%iy,i64 -4
%iA=bitcast i8*%iz to i32*
store i32 1342177288,i32*%iA,align 4
store i8*%iy,i8**%f,align 8
%iB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iC=bitcast i8*%iy to i8**
store i8*%iB,i8**%iC,align 8
%iD=getelementptr inbounds i8,i8*%iy,i64 8
%iE=bitcast i8*%iD to i32*
store i32 1,i32*%iE,align 4
%iF=call i8*@sml_alloc(i32 inreg 28)#0
%iG=getelementptr inbounds i8,i8*%iF,i64 -4
%iH=bitcast i8*%iG to i32*
store i32 1342177304,i32*%iH,align 4
store i8*%iF,i8**%e,align 8
%iI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iJ=bitcast i8*%iF to i8**
store i8*%iI,i8**%iJ,align 8
%iK=getelementptr inbounds i8,i8*%iF,i64 8
%iL=bitcast i8*%iK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeVecNB_G_125 to void(...)*),void(...)**%iL,align 8
%iM=getelementptr inbounds i8,i8*%iF,i64 16
%iN=bitcast i8*%iM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeVecNB_G_125 to void(...)*),void(...)**%iN,align 8
%iO=getelementptr inbounds i8,i8*%iF,i64 24
%iP=bitcast i8*%iO to i32*
store i32 -2147483647,i32*%iP,align 4
%iQ=call i8*@sml_alloc(i32 inreg 12)#0
%iR=getelementptr inbounds i8,i8*%iQ,i64 -4
%iS=bitcast i8*%iR to i32*
store i32 1342177288,i32*%iS,align 4
%iT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iU=bitcast i8*%iQ to i8**
store i8*%iT,i8**%iU,align 8
%iV=getelementptr inbounds i8,i8*%iQ,i64 8
%iW=bitcast i8*%iV to i32*
store i32 1,i32*%iW,align 4
br label%i5
iX:
%iY=call i8*@sml_alloc(i32 inreg 12)#0
%iZ=getelementptr inbounds i8,i8*%iY,i64 -4
%i0=bitcast i8*%iZ to i32*
store i32 1342177288,i32*%i0,align 4
%i1=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%i2=bitcast i8*%iY to i8**
store i8*%i1,i8**%i2,align 8
%i3=getelementptr inbounds i8,i8*%iY,i64 8
%i4=bitcast i8*%i3 to i32*
store i32 1,i32*%i4,align 4
br label%i5
i5:
%i6=phi i8*[%iY,%iX],[%iQ,%ix],[%iq,%h1],[%ho,%gK],[null,%fS],[null,%fq]
store i8*%i6,i8**%e,align 8
%i7=load i8*,i8**%b,align 8
%i8=getelementptr inbounds i8,i8*%i7,i64 8
%i9=bitcast i8*%i8 to i8**
%ja=load i8*,i8**%i9,align 8
%jb=icmp eq i8*%ja,null
br i1%jb,label%jc,label%js
jc:
%jd=getelementptr inbounds i8,i8*%i7,i64 88
%je=bitcast i8*%jd to i8**
%jf=load i8*,i8**%je,align 8
%jg=icmp eq i8*%jf,null
br i1%jg,label%jh,label%jp
jh:
%ji=getelementptr inbounds i8,i8*%i7,i64 104
%jj=bitcast i8*%ji to i8**
%jk=load i8*,i8**%jj,align 8
%jl=icmp eq i8*%jk,null
br i1%jl,label%mh,label%jm
jm:
%jn=bitcast i8*%jk to i8**
%jo=load i8*,i8**%jn,align 8
store i8*%jo,i8**%f,align 8
br label%lJ
jp:
%jq=bitcast i8*%jf to i8**
%jr=load i8*,i8**%jq,align 8
store i8*%jr,i8**%f,align 8
br label%l9
js:
%jt=bitcast i8*%ja to i8**
%ju=load i8*,i8**%jt,align 8
store i8*%ju,i8**%f,align 8
%jv=getelementptr inbounds i8,i8*%i7,i64 80
%jw=bitcast i8*%jv to i8**
%jx=load i8*,i8**%jw,align 8
%jy=icmp eq i8*%jx,null
br i1%jy,label%jz,label%kP
jz:
%jA=getelementptr inbounds i8,i8*%i7,i64 88
%jB=bitcast i8*%jA to i8**
%jC=load i8*,i8**%jB,align 8
%jD=icmp eq i8*%jC,null
br i1%jD,label%jE,label%kM
jE:
%jF=getelementptr inbounds i8,i8*%i7,i64 96
%jG=bitcast i8*%jF to i8**
%jH=load i8*,i8**%jG,align 8
%jI=icmp eq i8*%jH,null
br i1%jI,label%jJ,label%jR
jJ:
store i8*null,i8**%f,align 8
%jK=getelementptr inbounds i8,i8*%i7,i64 104
%jL=bitcast i8*%jK to i8**
%jM=load i8*,i8**%jL,align 8
%jN=icmp eq i8*%jM,null
br i1%jN,label%mh,label%jO
jO:
%jP=bitcast i8*%jM to i8**
%jQ=load i8*,i8**%jP,align 8
store i8*%jQ,i8**%f,align 8
br label%lJ
jR:
%jS=bitcast i8*%jH to i8**
%jT=load i8*,i8**%jS,align 8
store i8*%jT,i8**%g,align 8
%jU=getelementptr inbounds i8,i8*%i7,i64 104
%jV=bitcast i8*%jU to i8**
%jW=load i8*,i8**%jV,align 8
%jX=icmp eq i8*%jW,null
br i1%jX,label%jY,label%kJ
jY:
%jZ=call i8*@sml_alloc(i32 inreg 12)#0
%j0=getelementptr inbounds i8,i8*%jZ,i64 -4
%j1=bitcast i8*%j0 to i32*
store i32 1342177288,i32*%j1,align 4
store i8*%jZ,i8**%h,align 8
%j2=load i8*,i8**%g,align 8
%j3=bitcast i8*%jZ to i8**
store i8*%j2,i8**%j3,align 8
%j4=getelementptr inbounds i8,i8*%jZ,i64 8
%j5=bitcast i8*%j4 to i32*
store i32 1,i32*%j5,align 4
%j6=call i8*@sml_alloc(i32 inreg 28)#0
%j7=getelementptr inbounds i8,i8*%j6,i64 -4
%j8=bitcast i8*%j7 to i32*
store i32 1342177304,i32*%j8,align 4
%j9=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ka=bitcast i8*%j6 to i8**
store i8*%j9,i8**%ka,align 8
%kb=getelementptr inbounds i8,i8*%j6,i64 8
%kc=bitcast i8*%kb to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL11writeArrNB_G_131 to void(...)*),void(...)**%kc,align 8
%kd=getelementptr inbounds i8,i8*%j6,i64 16
%ke=bitcast i8*%kd to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeArrNB_G_216 to void(...)*),void(...)**%ke,align 8
%kf=getelementptr inbounds i8,i8*%j6,i64 24
%kg=bitcast i8*%kf to i32*
store i32 -2147483647,i32*%kg,align 4
%kh=call i8*@sml_alloc(i32 inreg 20)#0
%ki=getelementptr inbounds i8,i8*%kh,i64 -4
%kj=bitcast i8*%ki to i32*
store i32 1342177296,i32*%kj,align 4
store i8*%kh,i8**%h,align 8
%kk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kl=bitcast i8*%kh to i8**
store i8*%kk,i8**%kl,align 8
%km=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kn=getelementptr inbounds i8,i8*%kh,i64 8
%ko=bitcast i8*%kn to i8**
store i8*%km,i8**%ko,align 8
%kp=getelementptr inbounds i8,i8*%kh,i64 16
%kq=bitcast i8*%kp to i32*
store i32 3,i32*%kq,align 4
%kr=call i8*@sml_alloc(i32 inreg 28)#0
%ks=getelementptr inbounds i8,i8*%kr,i64 -4
%kt=bitcast i8*%ks to i32*
store i32 1342177304,i32*%kt,align 4
store i8*%kr,i8**%f,align 8
%ku=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kv=bitcast i8*%kr to i8**
store i8*%ku,i8**%kv,align 8
%kw=getelementptr inbounds i8,i8*%kr,i64 8
%kx=bitcast i8*%kw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeArrNB_G_132 to void(...)*),void(...)**%kx,align 8
%ky=getelementptr inbounds i8,i8*%kr,i64 16
%kz=bitcast i8*%ky to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeArrNB_G_132 to void(...)*),void(...)**%kz,align 8
%kA=getelementptr inbounds i8,i8*%kr,i64 24
%kB=bitcast i8*%kA to i32*
store i32 -2147483647,i32*%kB,align 4
%kC=call i8*@sml_alloc(i32 inreg 12)#0
%kD=getelementptr inbounds i8,i8*%kC,i64 -4
%kE=bitcast i8*%kD to i32*
store i32 1342177288,i32*%kE,align 4
%kF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kG=bitcast i8*%kC to i8**
store i8*%kF,i8**%kG,align 8
%kH=getelementptr inbounds i8,i8*%kC,i64 8
%kI=bitcast i8*%kH to i32*
store i32 1,i32*%kI,align 4
br label%mh
kJ:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%kK=bitcast i8*%jW to i8**
%kL=load i8*,i8**%kK,align 8
store i8*%kL,i8**%f,align 8
br label%lJ
kM:
store i8*null,i8**%f,align 8
%kN=bitcast i8*%jC to i8**
%kO=load i8*,i8**%kN,align 8
store i8*%kO,i8**%f,align 8
br label%l9
kP:
%kQ=bitcast i8*%jx to i8**
%kR=load i8*,i8**%kQ,align 8
%kS=getelementptr inbounds i8,i8*%i7,i64 88
%kT=bitcast i8*%kS to i8**
%kU=load i8*,i8**%kT,align 8
%kV=icmp eq i8*%kU,null
br i1%kV,label%kW,label%ld
kW:
%kX=getelementptr inbounds i8,i8*%i7,i64 96
%kY=bitcast i8*%kX to i8**
%kZ=load i8*,i8**%kY,align 8
%k0=icmp eq i8*%kZ,null
%k1=getelementptr inbounds i8,i8*%i7,i64 104
%k2=bitcast i8*%k1 to i8**
%k3=load i8*,i8**%k2,align 8
%k4=icmp ne i8*%k3,null
br i1%k0,label%k5,label%k9
k5:
br i1%k4,label%k6,label%lg
k6:
store i8*null,i8**%f,align 8
%k7=bitcast i8*%k3 to i8**
%k8=load i8*,i8**%k7,align 8
store i8*%k8,i8**%f,align 8
br label%lJ
k9:
br i1%k4,label%la,label%lg
la:
store i8*null,i8**%f,align 8
%lb=bitcast i8*%k3 to i8**
%lc=load i8*,i8**%lb,align 8
store i8*%lc,i8**%f,align 8
br label%lJ
ld:
store i8*null,i8**%f,align 8
%le=bitcast i8*%kU to i8**
%lf=load i8*,i8**%le,align 8
store i8*%lf,i8**%f,align 8
br label%l9
lg:
store i8*%kR,i8**%f,align 8
store i8*%ju,i8**%g,align 8
%lh=call i8*@sml_alloc(i32 inreg 20)#0
%li=getelementptr inbounds i8,i8*%lh,i64 -4
%lj=bitcast i8*%li to i32*
store i32 1342177296,i32*%lj,align 4
store i8*%lh,i8**%h,align 8
%lk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ll=bitcast i8*%lh to i8**
store i8*%lk,i8**%ll,align 8
%lm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ln=getelementptr inbounds i8,i8*%lh,i64 8
%lo=bitcast i8*%ln to i8**
store i8*%lm,i8**%lo,align 8
%lp=getelementptr inbounds i8,i8*%lh,i64 16
%lq=bitcast i8*%lp to i32*
store i32 3,i32*%lq,align 4
%lr=call i8*@sml_alloc(i32 inreg 28)#0
%ls=getelementptr inbounds i8,i8*%lr,i64 -4
%lt=bitcast i8*%ls to i32*
store i32 1342177304,i32*%lt,align 4
store i8*%lr,i8**%f,align 8
%lu=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%lv=bitcast i8*%lr to i8**
store i8*%lu,i8**%lv,align 8
%lw=getelementptr inbounds i8,i8*%lr,i64 8
%lx=bitcast i8*%lw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeArrNB_G_130 to void(...)*),void(...)**%lx,align 8
%ly=getelementptr inbounds i8,i8*%lr,i64 16
%lz=bitcast i8*%ly to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeArrNB_G_130 to void(...)*),void(...)**%lz,align 8
%lA=getelementptr inbounds i8,i8*%lr,i64 24
%lB=bitcast i8*%lA to i32*
store i32 -2147483647,i32*%lB,align 4
%lC=call i8*@sml_alloc(i32 inreg 12)#0
%lD=getelementptr inbounds i8,i8*%lC,i64 -4
%lE=bitcast i8*%lD to i32*
store i32 1342177288,i32*%lE,align 4
%lF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lG=bitcast i8*%lC to i8**
store i8*%lF,i8**%lG,align 8
%lH=getelementptr inbounds i8,i8*%lC,i64 8
%lI=bitcast i8*%lH to i32*
store i32 1,i32*%lI,align 4
br label%mh
lJ:
%lK=call i8*@sml_alloc(i32 inreg 12)#0
%lL=getelementptr inbounds i8,i8*%lK,i64 -4
%lM=bitcast i8*%lL to i32*
store i32 1342177288,i32*%lM,align 4
store i8*%lK,i8**%g,align 8
%lN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lO=bitcast i8*%lK to i8**
store i8*%lN,i8**%lO,align 8
%lP=getelementptr inbounds i8,i8*%lK,i64 8
%lQ=bitcast i8*%lP to i32*
store i32 1,i32*%lQ,align 4
%lR=call i8*@sml_alloc(i32 inreg 28)#0
%lS=getelementptr inbounds i8,i8*%lR,i64 -4
%lT=bitcast i8*%lS to i32*
store i32 1342177304,i32*%lT,align 4
store i8*%lR,i8**%f,align 8
%lU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lV=bitcast i8*%lR to i8**
store i8*%lU,i8**%lV,align 8
%lW=getelementptr inbounds i8,i8*%lR,i64 8
%lX=bitcast i8*%lW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeArrNB_G_129 to void(...)*),void(...)**%lX,align 8
%lY=getelementptr inbounds i8,i8*%lR,i64 16
%lZ=bitcast i8*%lY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11writeArrNB_G_129 to void(...)*),void(...)**%lZ,align 8
%l0=getelementptr inbounds i8,i8*%lR,i64 24
%l1=bitcast i8*%l0 to i32*
store i32 -2147483647,i32*%l1,align 4
%l2=call i8*@sml_alloc(i32 inreg 12)#0
%l3=getelementptr inbounds i8,i8*%l2,i64 -4
%l4=bitcast i8*%l3 to i32*
store i32 1342177288,i32*%l4,align 4
%l5=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%l6=bitcast i8*%l2 to i8**
store i8*%l5,i8**%l6,align 8
%l7=getelementptr inbounds i8,i8*%l2,i64 8
%l8=bitcast i8*%l7 to i32*
store i32 1,i32*%l8,align 4
br label%mh
l9:
%ma=call i8*@sml_alloc(i32 inreg 12)#0
%mb=getelementptr inbounds i8,i8*%ma,i64 -4
%mc=bitcast i8*%mb to i32*
store i32 1342177288,i32*%mc,align 4
%md=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%me=bitcast i8*%ma to i8**
store i8*%md,i8**%me,align 8
%mf=getelementptr inbounds i8,i8*%ma,i64 8
%mg=bitcast i8*%mf to i32*
store i32 1,i32*%mg,align 4
br label%mh
mh:
%mi=phi i8*[%ma,%l9],[%l2,%lJ],[%lC,%lg],[%kC,%jY],[null,%jJ],[null,%jh]
store i8*%mi,i8**%f,align 8
%mj=bitcast i8**%b to i8***
%mk=load i8**,i8***%mj,align 8
%ml=load i8*,i8**%mk,align 8
store i8*%ml,i8**%g,align 8
%mm=getelementptr inbounds i8*,i8**%mk,i64 1
%mn=load i8*,i8**%mm,align 8
store i8*%mn,i8**%h,align 8
%mo=getelementptr inbounds i8*,i8**%mk,i64 2
%mp=bitcast i8**%mo to i32*
%mq=load i32,i32*%mp,align 4
%mr=getelementptr inbounds i8*,i8**%mk,i64 3
%ms=load i8*,i8**%mr,align 8
store i8*%ms,i8**%i,align 8
%mt=getelementptr inbounds i8*,i8**%mk,i64 4
%mu=load i8*,i8**%mt,align 8
store i8*%mu,i8**%j,align 8
%mv=getelementptr inbounds i8*,i8**%mk,i64 5
%mw=load i8*,i8**%mv,align 8
store i8*%mw,i8**%k,align 8
%mx=getelementptr inbounds i8*,i8**%mk,i64 6
%my=load i8*,i8**%mx,align 8
store i8*%my,i8**%l,align 8
%mz=getelementptr inbounds i8*,i8**%mk,i64 7
%mA=load i8*,i8**%mz,align 8
store i8*%mA,i8**%m,align 8
%mB=getelementptr inbounds i8*,i8**%mk,i64 8
%mC=load i8*,i8**%mB,align 8
store i8*%mC,i8**%n,align 8
%mD=getelementptr inbounds i8*,i8**%mk,i64 9
%mE=load i8*,i8**%mD,align 8
store i8*%mE,i8**%b,align 8
%mF=call i8*@sml_alloc(i32 inreg 116)#0
%mG=getelementptr inbounds i8,i8*%mF,i64 -4
%mH=bitcast i8*%mG to i32*
store i32 1342177392,i32*%mH,align 4
%mI=getelementptr inbounds i8,i8*%mF,i64 20
%mJ=bitcast i8*%mI to i32*
store i32 0,i32*%mJ,align 1
%mK=load i8*,i8**%g,align 8
%mL=bitcast i8*%mF to i8**
store i8*%mK,i8**%mL,align 8
%mM=load i8*,i8**%h,align 8
%mN=getelementptr inbounds i8,i8*%mF,i64 8
%mO=bitcast i8*%mN to i8**
store i8*%mM,i8**%mO,align 8
%mP=getelementptr inbounds i8,i8*%mF,i64 16
%mQ=bitcast i8*%mP to i32*
store i32%mq,i32*%mQ,align 4
%mR=load i8*,i8**%i,align 8
%mS=getelementptr inbounds i8,i8*%mF,i64 24
%mT=bitcast i8*%mS to i8**
store i8*%mR,i8**%mT,align 8
%mU=load i8*,i8**%j,align 8
%mV=getelementptr inbounds i8,i8*%mF,i64 32
%mW=bitcast i8*%mV to i8**
store i8*%mU,i8**%mW,align 8
%mX=load i8*,i8**%k,align 8
%mY=getelementptr inbounds i8,i8*%mF,i64 40
%mZ=bitcast i8*%mY to i8**
store i8*%mX,i8**%mZ,align 8
%m0=load i8*,i8**%l,align 8
%m1=getelementptr inbounds i8,i8*%mF,i64 48
%m2=bitcast i8*%m1 to i8**
store i8*%m0,i8**%m2,align 8
%m3=load i8*,i8**%m,align 8
%m4=getelementptr inbounds i8,i8*%mF,i64 56
%m5=bitcast i8*%m4 to i8**
store i8*%m3,i8**%m5,align 8
%m6=load i8*,i8**%n,align 8
%m7=getelementptr inbounds i8,i8*%mF,i64 64
%m8=bitcast i8*%m7 to i8**
store i8*%m6,i8**%m8,align 8
%m9=load i8*,i8**%b,align 8
%na=getelementptr inbounds i8,i8*%mF,i64 72
%nb=bitcast i8*%na to i8**
store i8*%m9,i8**%nb,align 8
%nc=load i8*,i8**%d,align 8
%nd=getelementptr inbounds i8,i8*%mF,i64 80
%ne=bitcast i8*%nd to i8**
store i8*%nc,i8**%ne,align 8
%nf=load i8*,i8**%f,align 8
%ng=getelementptr inbounds i8,i8*%mF,i64 88
%nh=bitcast i8*%ng to i8**
store i8*%nf,i8**%nh,align 8
%ni=load i8*,i8**%c,align 8
%nj=getelementptr inbounds i8,i8*%mF,i64 96
%nk=bitcast i8*%nj to i8**
store i8*%ni,i8**%nk,align 8
%nl=load i8*,i8**%e,align 8
%nm=getelementptr inbounds i8,i8*%mF,i64 104
%nn=bitcast i8*%nm to i8**
store i8*%nl,i8**%nn,align 8
%no=getelementptr inbounds i8,i8*%mF,i64 112
%np=bitcast i8*%no to i32*
store i32 16379,i32*%np,align 4
ret i8*%mF
}
define internal fastcc void@_SMLLL11checkClosed_136(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@g,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
ret void
}
define internal fastcc i8*@_SMLLL5readV_140(i8*inreg%a,i32 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**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i32**
%n=load i32*,i32**%m,align 8
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%j,i64 24
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%r,i32%o)#0
%t=extractvalue{i32,i1}%s,1
br i1%t,label%u,label%M
u:
%v=load i8*,i8**@_SMLZ8Overflow,align 8
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
store i8*%w,i8**%d,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@e,i64 0,i32 2,i64 0),i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%d,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=sub nsw i32%r,%o
%O=call i8*@sml_alloc(i32 inreg 12)#0
%P=bitcast i8*%O to i32*
%Q=getelementptr inbounds i8,i8*%O,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177288,i32*%R,align 4
store i32%b,i32*%P,align 4
%S=getelementptr inbounds i8,i8*%O,i64 4
%T=bitcast i8*%S to i32*
store i32%N,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%O,i64 8
%V=bitcast i8*%U to i32*
store i32 0,i32*%V,align 4
%W=call fastcc i32@_SMLFN5Int323minE(i8*inreg%O)
%X=load i8*,i8**%c,align 8
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i32**
%aa=load i32*,i32**%Z,align 8
%ab=load i32,i32*%aa,align 4
%ac=icmp eq i32%ab,0
br i1%ac,label%av,label%ad
ad:
%ae=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%ae,i8**%c,align 8
%af=call i8*@sml_alloc(i32 inreg 20)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
store i8*%af,i8**%d,align 8
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@g,i64 0,i32 2,i64 0),i8**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 60)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177336,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%ao,i64 56
%as=bitcast i8*%ar to i32*
store i32 1,i32*%as,align 4
%at=load i8*,i8**%d,align 8
%au=bitcast i8*%ao to i8**
store i8*%at,i8**%au,align 8
call void@sml_raise(i8*inreg%ao)#1
unreachable
av:
%aw=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%o,i32%W)#0
%ax=extractvalue{i32,i1}%aw,1
br i1%ax,label%ay,label%aQ
ay:
%az=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%az,i8**%c,align 8
%aA=call i8*@sml_alloc(i32 inreg 20)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177296,i32*%aC,align 4
store i8*%aA,i8**%d,align 8
%aD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aE=bitcast i8*%aA to i8**
store i8*%aD,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aA,i64 8
%aG=bitcast i8*%aF to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@f,i64 0,i32 2,i64 0),i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aA,i64 16
%aI=bitcast i8*%aH to i32*
store i32 3,i32*%aI,align 4
%aJ=call i8*@sml_alloc(i32 inreg 60)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177336,i32*%aL,align 4
%aM=getelementptr inbounds i8,i8*%aJ,i64 56
%aN=bitcast i8*%aM to i32*
store i32 1,i32*%aN,align 4
%aO=load i8*,i8**%d,align 8
%aP=bitcast i8*%aJ to i8**
store i8*%aO,i8**%aP,align 8
call void@sml_raise(i8*inreg%aJ)#1
unreachable
aQ:
%aR=getelementptr inbounds i8,i8*%X,i64 8
%aS=bitcast i8*%aR to i32**
%aT=load i32*,i32**%aS,align 8
%aU=add nsw i32%W,%o
store i32%aU,i32*%aT,align 4
%aV=bitcast i8**%c to i8***
%aW=load i8**,i8***%aV,align 8
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%c,align 8
%aY=call i8*@sml_alloc(i32 inreg 12)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177288,i32*%a0,align 4
store i8*%aY,i8**%d,align 8
%a1=getelementptr inbounds i8,i8*%aY,i64 4
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 1
%a3=bitcast i8*%aY to i32*
store i32%W,i32*%a3,align 4
%a4=getelementptr inbounds i8,i8*%aY,i64 8
%a5=bitcast i8*%a4 to i32*
store i32 0,i32*%a5,align 4
%a6=call i8*@sml_alloc(i32 inreg 28)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177304,i32*%a8,align 4
%a9=getelementptr inbounds i8,i8*%a6,i64 12
%ba=bitcast i8*%a9 to i32*
store i32 0,i32*%ba,align 1
%bb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bc=bitcast i8*%a6 to i8**
store i8*%bb,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a6,i64 8
%be=bitcast i8*%bd to i32*
store i32%o,i32*%be,align 4
%bf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bg=getelementptr inbounds i8,i8*%a6,i64 16
%bh=bitcast i8*%bg to i8**
store i8*%bf,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%a6,i64 24
%bj=bitcast i8*%bi to i32*
store i32 5,i32*%bj,align 4
%bk=call fastcc i8*@_SMLFN15CharVectorSlice5sliceE(i8*inreg%a6)
%bl=tail call fastcc i8*@_SMLFN15CharVectorSlice6vectorE(i8*inreg%bk)
ret i8*%bl
}
define internal fastcc i32@_SMLLL5readA_144(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%a,%m]
%n=phi i8*[%i,%h],[%b,%m]
store i8*null,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%l,i64 8
%p=bitcast i8*%o to i32**
%q=load i32*,i32**%p,align 8
%r=load i32,i32*%q,align 4
%s=call fastcc i8*@_SMLFN14CharArraySlice4baseE(i8*inreg%n)
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%s,i64 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=load i8*,i8**%d,align 8
%z=getelementptr inbounds i8,i8*%y,i64 24
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%B,i32%r)#0
%D=extractvalue{i32,i1}%C,1
br i1%D,label%E,label%W
E:
store i8*null,i8**%d,align 8
%F=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%F,i8**%c,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
store i8*%G,i8**%d,align 8
%J=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@c,i64 0,i32 2,i64 0),i8**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 60)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177336,i32*%R,align 4
%S=getelementptr inbounds i8,i8*%P,i64 56
%T=bitcast i8*%S to i32*
store i32 1,i32*%T,align 4
%U=load i8*,i8**%d,align 8
%V=bitcast i8*%P to i8**
store i8*%U,i8**%V,align 8
call void@sml_raise(i8*inreg%P)#1
unreachable
W:
%X=getelementptr inbounds i8,i8*%s,i64 12
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
%aa=sub nsw i32%B,%r
%ab=call i8*@sml_alloc(i32 inreg 12)#0
%ac=bitcast i8*%ab to i32*
%ad=getelementptr inbounds i8,i8*%ab,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177288,i32*%ae,align 4
store i32%Z,i32*%ac,align 4
%af=getelementptr inbounds i8,i8*%ab,i64 4
%ag=bitcast i8*%af to i32*
store i32%aa,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i32*
store i32 0,i32*%ai,align 4
%aj=call fastcc i32@_SMLFN5Int323minE(i8*inreg%ab)
%ak=load i8*,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i32**
%an=load i32*,i32**%am,align 8
%ao=load i32,i32*%an,align 4
%ap=icmp eq i32%ao,0
br i1%ap,label%aI,label%aq
aq:
store i8*null,i8**%d,align 8
%ar=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%ar,i8**%c,align 8
%as=call i8*@sml_alloc(i32 inreg 20)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177296,i32*%au,align 4
store i8*%as,i8**%d,align 8
%av=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@g,i64 0,i32 2,i64 0),i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
%aB=call i8*@sml_alloc(i32 inreg 60)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177336,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%aB,i64 56
%aF=bitcast i8*%aE to i32*
store i32 1,i32*%aF,align 4
%aG=load i8*,i8**%d,align 8
%aH=bitcast i8*%aB to i8**
store i8*%aG,i8**%aH,align 8
call void@sml_raise(i8*inreg%aB)#1
unreachable
aI:
%aJ=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%r,i32%aj)#0
%aK=extractvalue{i32,i1}%aJ,1
br i1%aK,label%aL,label%a3
aL:
store i8*null,i8**%d,align 8
%aM=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aM,i8**%c,align 8
%aN=call i8*@sml_alloc(i32 inreg 20)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177296,i32*%aP,align 4
store i8*%aN,i8**%d,align 8
%aQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aR=bitcast i8*%aN to i8**
store i8*%aQ,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aN,i64 8
%aT=bitcast i8*%aS to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@d,i64 0,i32 2,i64 0),i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aN,i64 16
%aV=bitcast i8*%aU to i32*
store i32 3,i32*%aV,align 4
%aW=call i8*@sml_alloc(i32 inreg 60)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177336,i32*%aY,align 4
%aZ=getelementptr inbounds i8,i8*%aW,i64 56
%a0=bitcast i8*%aZ to i32*
store i32 1,i32*%a0,align 4
%a1=load i8*,i8**%d,align 8
%a2=bitcast i8*%aW to i8**
store i8*%a1,i8**%a2,align 8
call void@sml_raise(i8*inreg%aW)#1
unreachable
a3:
%a4=getelementptr inbounds i8,i8*%ak,i64 8
%a5=bitcast i8*%a4 to i32**
%a6=load i32*,i32**%a5,align 8
%a7=add nsw i32%aj,%r
store i32%a7,i32*%a6,align 4
%a8=bitcast i8**%d to i8***
%a9=load i8**,i8***%a8,align 8
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%d,align 8
%bb=call i8*@sml_alloc(i32 inreg 12)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177288,i32*%bd,align 4
store i8*%bb,i8**%e,align 8
%be=getelementptr inbounds i8,i8*%bb,i64 4
%bf=bitcast i8*%be to i32*
store i32 0,i32*%bf,align 1
%bg=bitcast i8*%bb to i32*
store i32%aj,i32*%bg,align 4
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i32*
store i32 0,i32*%bi,align 4
%bj=call i8*@sml_alloc(i32 inreg 28)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177304,i32*%bl,align 4
%bm=getelementptr inbounds i8,i8*%bj,i64 12
%bn=bitcast i8*%bm to i32*
store i32 0,i32*%bn,align 1
%bo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bp=bitcast i8*%bj to i8**
store i8*%bo,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bj,i64 8
%br=bitcast i8*%bq to i32*
store i32%r,i32*%br,align 4
%bs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bt=getelementptr inbounds i8,i8*%bj,i64 16
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bj,i64 24
%bw=bitcast i8*%bv to i32*
store i32 5,i32*%bw,align 4
%bx=call fastcc i8*@_SMLFN15CharVectorSlice5sliceE(i8*inreg%bj)
store i8*%bx,i8**%d,align 8
%by=call i8*@sml_alloc(i32 inreg 28)#0
%bz=bitcast i8*%by to i32*
%bA=getelementptr inbounds i8,i8*%by,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177304,i32*%bB,align 4
%bC=getelementptr inbounds i8,i8*%by,i64 4
%bD=bitcast i8*%bC to i32*
store i32 0,i32*%bD,align 1
store i32%x,i32*%bz,align 4
%bE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bI=getelementptr inbounds i8,i8*%by,i64 16
%bJ=bitcast i8*%bI to i8**
store i8*%bH,i8**%bJ,align 8
%bK=getelementptr inbounds i8,i8*%by,i64 24
%bL=bitcast i8*%bK to i32*
store i32 6,i32*%bL,align 4
call fastcc void@_SMLFN14CharArraySlice7copyVecE(i8*inreg%by)
ret i32%aj
}
define internal fastcc i8*@_SMLLLN10TextPrimIO10openVectorE_148(i8*inreg%a,i32 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**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i32**
%n=load i32*,i32**%m,align 8
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%j,i64 24
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%r,i32%o)#0
%t=extractvalue{i32,i1}%s,1
br i1%t,label%u,label%M
u:
%v=load i8*,i8**@_SMLZ8Overflow,align 8
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
store i8*%w,i8**%d,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@e,i64 0,i32 2,i64 0),i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%d,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=sub nsw i32%r,%o
%O=call i8*@sml_alloc(i32 inreg 12)#0
%P=bitcast i8*%O to i32*
%Q=getelementptr inbounds i8,i8*%O,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177288,i32*%R,align 4
store i32%b,i32*%P,align 4
%S=getelementptr inbounds i8,i8*%O,i64 4
%T=bitcast i8*%S to i32*
store i32%N,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%O,i64 8
%V=bitcast i8*%U to i32*
store i32 0,i32*%V,align 4
%W=call fastcc i32@_SMLFN5Int323minE(i8*inreg%O)
%X=load i8*,i8**%c,align 8
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i32**
%aa=load i32*,i32**%Z,align 8
%ab=load i32,i32*%aa,align 4
%ac=icmp eq i32%ab,0
br i1%ac,label%av,label%ad
ad:
%ae=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%ae,i8**%c,align 8
%af=call i8*@sml_alloc(i32 inreg 20)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
store i8*%af,i8**%d,align 8
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@g,i64 0,i32 2,i64 0),i8**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 60)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177336,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%ao,i64 56
%as=bitcast i8*%ar to i32*
store i32 1,i32*%as,align 4
%at=load i8*,i8**%d,align 8
%au=bitcast i8*%ao to i8**
store i8*%at,i8**%au,align 8
call void@sml_raise(i8*inreg%ao)#1
unreachable
av:
%aw=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%o,i32%W)#0
%ax=extractvalue{i32,i1}%aw,1
br i1%ax,label%ay,label%aQ
ay:
%az=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%az,i8**%c,align 8
%aA=call i8*@sml_alloc(i32 inreg 20)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177296,i32*%aC,align 4
store i8*%aA,i8**%d,align 8
%aD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aE=bitcast i8*%aA to i8**
store i8*%aD,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aA,i64 8
%aG=bitcast i8*%aF to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@f,i64 0,i32 2,i64 0),i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aA,i64 16
%aI=bitcast i8*%aH to i32*
store i32 3,i32*%aI,align 4
%aJ=call i8*@sml_alloc(i32 inreg 60)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177336,i32*%aL,align 4
%aM=getelementptr inbounds i8,i8*%aJ,i64 56
%aN=bitcast i8*%aM to i32*
store i32 1,i32*%aN,align 4
%aO=load i8*,i8**%d,align 8
%aP=bitcast i8*%aJ to i8**
store i8*%aO,i8**%aP,align 8
call void@sml_raise(i8*inreg%aJ)#1
unreachable
aQ:
%aR=getelementptr inbounds i8,i8*%X,i64 8
%aS=bitcast i8*%aR to i32**
%aT=load i32*,i32**%aS,align 8
%aU=add nsw i32%W,%o
store i32%aU,i32*%aT,align 4
%aV=bitcast i8**%c to i8***
%aW=load i8**,i8***%aV,align 8
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%c,align 8
%aY=call i8*@sml_alloc(i32 inreg 12)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177288,i32*%a0,align 4
store i8*%aY,i8**%d,align 8
%a1=getelementptr inbounds i8,i8*%aY,i64 4
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 1
%a3=bitcast i8*%aY to i32*
store i32%W,i32*%a3,align 4
%a4=getelementptr inbounds i8,i8*%aY,i64 8
%a5=bitcast i8*%a4 to i32*
store i32 0,i32*%a5,align 4
%a6=call i8*@sml_alloc(i32 inreg 28)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177304,i32*%a8,align 4
%a9=getelementptr inbounds i8,i8*%a6,i64 12
%ba=bitcast i8*%a9 to i32*
store i32 0,i32*%ba,align 1
%bb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bc=bitcast i8*%a6 to i8**
store i8*%bb,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a6,i64 8
%be=bitcast i8*%bd to i32*
store i32%o,i32*%be,align 4
%bf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bg=getelementptr inbounds i8,i8*%a6,i64 16
%bh=bitcast i8*%bg to i8**
store i8*%bf,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%a6,i64 24
%bj=bitcast i8*%bi to i32*
store i32 5,i32*%bj,align 4
%bk=call fastcc i8*@_SMLFN15CharVectorSlice5sliceE(i8*inreg%a6)
%bl=call fastcc i8*@_SMLFN15CharVectorSlice6vectorE(i8*inreg%bk)
store i8*%bl,i8**%c,align 8
%bm=call i8*@sml_alloc(i32 inreg 12)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177288,i32*%bo,align 4
%bp=load i8*,i8**%c,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bm,i64 8
%bs=bitcast i8*%br to i32*
store i32 1,i32*%bs,align 4
ret i8*%bm
}
define internal fastcc i8*@_SMLLLN10TextPrimIO10openVectorE_149(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i8*,i8**%n,align 8
%q=call fastcc i32@_SMLLL5readA_144(i8*inreg%p,i8*inreg%o)
%r=call i8*@sml_alloc(i32 inreg 12)#0
%s=bitcast i8*%r to i32*
%t=getelementptr inbounds i8,i8*%r,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177288,i32*%u,align 4
%v=getelementptr inbounds i8,i8*%r,i64 4
%w=bitcast i8*%v to i32*
store i32 0,i32*%w,align 1
store i32%q,i32*%s,align 4
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i32*
store i32 0,i32*%y,align 4
ret i8*%r
}
define internal fastcc i32@_SMLLLN10TextPrimIO10openVectorE_151(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@g,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
ret i32 1
}
define internal fastcc i8*@_SMLLLN10TextPrimIO10openVectorE_153(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%j,i32%g)#0
%l=extractvalue{i32,i1}%k,1
br i1%l,label%m,label%E
m:
%n=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%n,i8**%c,align 8
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177296,i32*%q,align 4
store i8*%o,i8**%d,align 8
%r=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=getelementptr inbounds i8,i8*%o,i64 8
%u=bitcast i8*%t to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@h,i64 0,i32 2,i64 0),i8**%u,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i32*
store i32 3,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 60)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177336,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%x,i64 56
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
%C=load i8*,i8**%d,align 8
%D=bitcast i8*%x to i8**
store i8*%C,i8**%D,align 8
call void@sml_raise(i8*inreg%x)#1
unreachable
E:
%F=sub nsw i32%j,%g
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=bitcast i8*%G to i32*
%I=getelementptr inbounds i8,i8*%G,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177288,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%G,i64 4
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 1
store i32%F,i32*%H,align 4
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 4
ret i8*%G
}
define internal fastcc void@_SMLLLN10TextPrimIO10openVectorE_154(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
store i32 1,i32*%d,align 4
ret void
}
define fastcc i8*@_SMLFN10TextPrimIO10openVectorE(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
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=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
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%b,align 8
%l=call i8*@sml_alloc(i32 inreg 4)#0
%m=bitcast i8*%l to i32*
%n=getelementptr inbounds i8,i8*%l,i64 -4
%o=bitcast i8*%n to i32*
store i32 536870916,i32*%o,align 4
store i8*%l,i8**%e,align 8
store i32 0,i32*%m,align 4
%p=call i8*@sml_alloc(i32 inreg 4)#0
%q=bitcast i8*%p to i32*
%r=getelementptr inbounds i8,i8*%p,i64 -4
%s=bitcast i8*%r to i32*
store i32 536870916,i32*%s,align 4
store i8*%p,i8**%f,align 8
store i32 0,i32*%q,align 4
%t=call i8*@sml_alloc(i32 inreg 12)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
store i8*%t,i8**%c,align 8
%w=load i8*,i8**%f,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
store i8*%A,i8**%g,align 8
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(void(i8*,i32)*@_SMLLL11checkClosed_136 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11checkClosed_218 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 24
%K=bitcast i8*%J to i32*
store i32 -2147483647,i32*%K,align 4
%L=bitcast i8**%b to i32**
%M=load i32*,i32**%L,align 8
%N=getelementptr inbounds i32,i32*%M,i64 -1
%O=load i32,i32*%N,align 4
%P=and i32%O,268435455
%Q=add nsw i32%P,-1
%R=call i8*@sml_alloc(i32 inreg 36)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177312,i32*%T,align 4
store i8*%R,i8**%c,align 8
%U=load i8*,i8**%b,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=load i8*,i8**%f,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 16
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%R,i64 24
%ad=bitcast i8*%ac to i32*
store i32%Q,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%R,i64 32
%af=bitcast i8*%ae to i32*
store i32 7,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 28)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177304,i32*%ai,align 4
store i8*%ag,i8**%h,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLL5readV_140 to void(...)*),void(...)**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5readV_219 to void(...)*),void(...)**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 24
%aq=bitcast i8*%ap to i32*
store i32 -2147483647,i32*%aq,align 4
%ar=call i8*@sml_alloc(i32 inreg 36)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177312,i32*%at,align 4
store i8*%ar,i8**%c,align 8
%au=load i8*,i8**%b,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=load i8*,i8**%e,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=load i8*,i8**%f,align 8
%aA=getelementptr inbounds i8,i8*%ar,i64 16
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%ar,i64 24
%aD=bitcast i8*%aC to i32*
store i32%Q,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%ar,i64 32
%aF=bitcast i8*%aE to i32*
store i32 7,i32*%aF,align 4
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
store i8*%aG,i8**%i,align 8
%aJ=load i8*,i8**%c,align 8
%aK=bitcast i8*%aG to i8**
store i8*%aJ,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aG,i64 8
%aM=bitcast i8*%aL to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL5readA_144 to void(...)*),void(...)**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 16
%aO=bitcast i8*%aN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5readA_220 to void(...)*),void(...)**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 24
%aQ=bitcast i8*%aP to i32*
store i32 -2147483647,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 36)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177312,i32*%aT,align 4
store i8*%aR,i8**%d,align 8
%aU=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=load i8*,i8**%e,align 8
%aX=getelementptr inbounds i8,i8*%aR,i64 8
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=load i8*,i8**%f,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 16
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aR,i64 24
%a3=bitcast i8*%a2 to i32*
store i32%Q,i32*%a3,align 4
%a4=getelementptr inbounds i8,i8*%aR,i64 32
%a5=bitcast i8*%a4 to i32*
store i32 7,i32*%a5,align 4
%a6=call i8*@sml_alloc(i32 inreg 28)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177304,i32*%a8,align 4
store i8*%a6,i8**%j,align 8
%a9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a6,i64 8
%bc=bitcast i8*%bb to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLLN10TextPrimIO10openVectorE_148 to void(...)*),void(...)**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a6,i64 16
%be=bitcast i8*%bd to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO10openVectorE_221 to void(...)*),void(...)**%be,align 8
%bf=getelementptr inbounds i8,i8*%a6,i64 24
%bg=bitcast i8*%bf to i32*
store i32 -2147483647,i32*%bg,align 4
%bh=call i8*@sml_alloc(i32 inreg 12)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177288,i32*%bj,align 4
store i8*%bh,i8**%b,align 8
%bk=load i8*,i8**%j,align 8
store i8*null,i8**%j,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 i32*
store i32 1,i32*%bn,align 4
%bo=call i8*@sml_alloc(i32 inreg 12)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177288,i32*%bq,align 4
store i8*%bo,i8**%d,align 8
%br=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bo,i64 8
%bu=bitcast i8*%bt to i32*
store i32 1,i32*%bu,align 4
%bv=call i8*@sml_alloc(i32 inreg 28)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177304,i32*%bx,align 4
store i8*%bv,i8**%j,align 8
%by=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO10openVectorE_149 to void(...)*),void(...)**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 16
%bD=bitcast i8*%bC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO10openVectorE_149 to void(...)*),void(...)**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 24
%bF=bitcast i8*%bE to i32*
store i32 -2147483647,i32*%bF,align 4
%bG=call i8*@sml_alloc(i32 inreg 12)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177288,i32*%bI,align 4
store i8*%bG,i8**%c,align 8
%bJ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bG,i64 8
%bM=bitcast i8*%bL to i32*
store i32 1,i32*%bM,align 4
%bN=call i8*@sml_alloc(i32 inreg 12)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177288,i32*%bP,align 4
store i8*%bN,i8**%d,align 8
%bQ=load i8*,i8**%f,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bN,i64 8
%bT=bitcast i8*%bS to i32*
store i32 1,i32*%bT,align 4
%bU=call i8*@sml_alloc(i32 inreg 28)#0
%bV=getelementptr inbounds i8,i8*%bU,i64 -4
%bW=bitcast i8*%bV to i32*
store i32 1342177304,i32*%bW,align 4
store i8*%bU,i8**%j,align 8
%bX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bU,i64 8
%b0=bitcast i8*%bZ to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLLN10TextPrimIO10openVectorE_151 to void(...)*),void(...)**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bU,i64 16
%b2=bitcast i8*%b1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO10openVectorE_222 to void(...)*),void(...)**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bU,i64 24
%b4=bitcast i8*%b3 to i32*
store i32 -2147483647,i32*%b4,align 4
%b5=call i8*@sml_alloc(i32 inreg 12)#0
%b6=getelementptr inbounds i8,i8*%b5,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32 1342177288,i32*%b7,align 4
store i8*%b5,i8**%d,align 8
%b8=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%b9=bitcast i8*%b5 to i8**
store i8*%b8,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b5,i64 8
%cb=bitcast i8*%ca to i32*
store i32 1,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**%j,align 8
%cf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%cc,i64 8
%ci=bitcast i8*%ch to i32*
store i32%Q,i32*%ci,align 4
%cj=getelementptr inbounds i8,i8*%cc,i64 16
%ck=bitcast i8*%cj to i32*
store i32 1,i32*%ck,align 4
%cl=call i8*@sml_alloc(i32 inreg 28)#0
%cm=getelementptr inbounds i8,i8*%cl,i64 -4
%cn=bitcast i8*%cm to i32*
store i32 1342177304,i32*%cn,align 4
store i8*%cl,i8**%k,align 8
%co=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cp=bitcast i8*%cl to i8**
store i8*%co,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%cl,i64 8
%cr=bitcast i8*%cq to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLLN10TextPrimIO10openVectorE_153 to void(...)*),void(...)**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cl,i64 16
%ct=bitcast i8*%cs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO10openVectorE_223 to void(...)*),void(...)**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cl,i64 24
%cv=bitcast i8*%cu to i32*
store i32 -2147483647,i32*%cv,align 4
%cw=call i8*@sml_alloc(i32 inreg 12)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177288,i32*%cy,align 4
store i8*%cw,i8**%e,align 8
%cz=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cw,i64 8
%cC=bitcast i8*%cB to i32*
store i32 1,i32*%cC,align 4
%cD=call i8*@sml_alloc(i32 inreg 12)#0
%cE=getelementptr inbounds i8,i8*%cD,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177288,i32*%cF,align 4
store i8*%cD,i8**%g,align 8
%cG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cH=bitcast i8*%cD to i8**
store i8*%cG,i8**%cH,align 8
%cI=getelementptr inbounds i8,i8*%cD,i64 8
%cJ=bitcast i8*%cI to i32*
store i32 1,i32*%cJ,align 4
%cK=call i8*@sml_alloc(i32 inreg 28)#0
%cL=getelementptr inbounds i8,i8*%cK,i64 -4
%cM=bitcast i8*%cL to i32*
store i32 1342177304,i32*%cM,align 4
store i8*%cK,i8**%j,align 8
%cN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cO=bitcast i8*%cK to i8**
store i8*%cN,i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cK,i64 8
%cQ=bitcast i8*%cP to void(...)**
store void(...)*bitcast(void(i8*,i32)*@_SMLLLN10TextPrimIO10openVectorE_154 to void(...)*),void(...)**%cQ,align 8
%cR=getelementptr inbounds i8,i8*%cK,i64 16
%cS=bitcast i8*%cR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO10openVectorE_224 to void(...)*),void(...)**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cK,i64 24
%cU=bitcast i8*%cT to i32*
store i32 -2147483647,i32*%cU,align 4
%cV=call i8*@sml_alloc(i32 inreg 12)#0
%cW=getelementptr inbounds i8,i8*%cV,i64 -4
%cX=bitcast i8*%cW to i32*
store i32 1342177288,i32*%cX,align 4
store i8*%cV,i8**%f,align 8
%cY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cZ=bitcast i8*%cV to i8**
store i8*%cY,i8**%cZ,align 8
%c0=getelementptr inbounds i8,i8*%cV,i64 8
%c1=bitcast i8*%c0 to i32*
store i32 1,i32*%c1,align 4
%c2=call i8*@sml_alloc(i32 inreg 12)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177288,i32*%c4,align 4
store i8*%c2,i8**%g,align 8
%c5=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%c6=bitcast i8*%c2 to i8**
store i8*%c5,i8**%c6,align 8
%c7=getelementptr inbounds i8,i8*%c2,i64 8
%c8=bitcast i8*%c7 to i32*
store i32 1,i32*%c8,align 4
%c9=call i8*@sml_alloc(i32 inreg 124)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177400,i32*%db,align 4
%dc=getelementptr inbounds i8,i8*%c9,i64 28
%dd=bitcast i8*%dc to i32*
store i32 0,i32*%dd,align 1
%de=load i8*,i8**%k,align 8
%df=bitcast i8*%c9 to i8**
store i8*%de,i8**%df,align 8
%dg=load i8*,i8**%e,align 8
%dh=getelementptr inbounds i8,i8*%c9,i64 8
%di=bitcast i8*%dh to i8**
store i8*%dg,i8**%di,align 8
%dj=load i8*,i8**%d,align 8
%dk=getelementptr inbounds i8,i8*%c9,i64 16
%dl=bitcast i8*%dk to i8**
store i8*%dj,i8**%dl,align 8
%dm=getelementptr inbounds i8,i8*%c9,i64 24
%dn=bitcast i8*%dm to i32*
store i32%Q,i32*%dn,align 4
%do=load i8*,i8**%j,align 8
%dp=getelementptr inbounds i8,i8*%c9,i64 32
%dq=bitcast i8*%dp to i8**
store i8*%do,i8**%dq,align 8
%dr=getelementptr inbounds i8,i8*%c9,i64 40
%ds=getelementptr inbounds i8,i8*%c9,i64 64
%dt=bitcast i8*%ds to i8**
call void@llvm.memset.p0i8.i64(i8*%dr,i8 0,i64 24,i1 false)
store i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@i,i64 0,i32 2,i64 0),i8**%dt,align 8
%du=load i8*,i8**%f,align 8
%dv=getelementptr inbounds i8,i8*%c9,i64 72
%dw=bitcast i8*%dv to i8**
store i8*%du,i8**%dw,align 8
%dx=load i8*,i8**%c,align 8
%dy=getelementptr inbounds i8,i8*%c9,i64 80
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=load i8*,i8**%g,align 8
%dB=getelementptr inbounds i8,i8*%c9,i64 88
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=load i8*,i8**%b,align 8
%dE=getelementptr inbounds i8,i8*%c9,i64 96
%dF=bitcast i8*%dE to i8**
store i8*%dD,i8**%dF,align 8
%dG=getelementptr inbounds i8,i8*%c9,i64 104
%dH=getelementptr inbounds i8,i8*%c9,i64 120
%dI=bitcast i8*%dH to i32*
call void@llvm.memset.p0i8.i64(i8*%dG,i8 0,i64 16,i1 false)
store i32 32759,i32*%dI,align 4
ret i8*%c9
}
define internal fastcc void@_SMLLL11checkClosed_159(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@k,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
ret void
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_161(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@k,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
%B=getelementptr inbounds i8,i8*%a,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
ret i8*%D
}
define internal fastcc i32@_SMLLLN10TextPrimIO6nullRdE_163(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@k,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
ret i32 0
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_165(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@k,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
%B=getelementptr inbounds i8,i8*%a,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
ret i8*%D
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_168(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@k,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@l,i64 0,i32 2)to i8*)
}
define internal fastcc i32@_SMLLLN10TextPrimIO6nullRdE_170(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@k,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
ret i32 1
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_172(i32 inreg%a)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@l,i64 0,i32 2)to i8*)
}
define internal fastcc void@_SMLLLN10TextPrimIO6nullRdE_174(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
store i32 1,i32*%d,align 4
ret void
}
define fastcc i8*@_SMLFN10TextPrimIO6nullRdE(i32 inreg%a)#2 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
%i=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
call void@llvm.gcroot(i8**%i,i8*null)#0
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%m,label%l
l:
call void@sml_check(i32 inreg%j)
br label%m
m:
%n=call i8*@sml_alloc(i32 inreg 4)#0
%o=bitcast i8*%n to i32*
%p=getelementptr inbounds i8,i8*%n,i64 -4
%q=bitcast i8*%p to i32*
store i32 536870916,i32*%q,align 4
store i8*%n,i8**%h,align 8
store i32 0,i32*%o,align 4
%r=call i8*@sml_alloc(i32 inreg 12)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177288,i32*%t,align 4
store i8*%r,i8**%b,align 8
%u=load i8*,i8**%h,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 i32*
store i32 1,i32*%x,align 4
%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**%i,align 8
%B=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 void(...)**
store void(...)*bitcast(void(i8*,i32)*@_SMLLL11checkClosed_159 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL11checkClosed_226 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
%J=call fastcc i8*@_SMLFN10CharVector8fromListE(i8*inreg null)
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
store i8*%K,i8**%c,align 8
%N=load i8*,i8**%h,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 3,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
store i8*%U,i8**%d,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLLN10TextPrimIO6nullRdE_161 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_227 to void(...)*),void(...)**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 24
%ae=bitcast i8*%ad to i32*
store i32 -2147483647,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 12)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177288,i32*%ah,align 4
store i8*%af,i8**%b,align 8
%ai=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to i32*
store i32 1,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**%c,align 8
%ap=load i8*,i8**%h,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
store i8*%at,i8**%d,align 8
%aw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%at,i64 8
%az=bitcast i8*%ay to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_163 to void(...)*),void(...)**%az,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 16
%aB=bitcast i8*%aA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_228 to void(...)*),void(...)**%aB,align 8
%aC=getelementptr inbounds i8,i8*%at,i64 24
%aD=bitcast i8*%aC to i32*
store i32 -2147483647,i32*%aD,align 4
%aE=call i8*@sml_alloc(i32 inreg 12)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177288,i32*%aG,align 4
store i8*%aE,i8**%c,align 8
%aH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aI=bitcast i8*%aE to i8**
store i8*%aH,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aE,i64 8
%aK=bitcast i8*%aJ to i32*
store i32 1,i32*%aK,align 4
%aL=call fastcc i8*@_SMLFN10CharVector8fromListE(i8*inreg null)
store i8*%aL,i8**%e,align 8
%aM=call i8*@sml_alloc(i32 inreg 12)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177288,i32*%aO,align 4
store i8*%aM,i8**%d,align 8
%aP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i32*
store i32 1,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 20)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177296,i32*%aV,align 4
store i8*%aT,i8**%e,align 8
%aW=load i8*,i8**%h,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aZ=getelementptr inbounds i8,i8*%aT,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aT,i64 16
%a2=bitcast i8*%a1 to i32*
store i32 3,i32*%a2,align 4
%a3=call i8*@sml_alloc(i32 inreg 28)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177304,i32*%a5,align 4
store i8*%a3,i8**%f,align 8
%a6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a3,i64 8
%a9=bitcast i8*%a8 to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLLN10TextPrimIO6nullRdE_165 to void(...)*),void(...)**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a3,i64 16
%bb=bitcast i8*%ba to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_229 to void(...)*),void(...)**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a3,i64 24
%bd=bitcast i8*%bc to i32*
store i32 -2147483647,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 12)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177288,i32*%bg,align 4
store i8*%be,i8**%d,align 8
%bh=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%be,i64 8
%bk=bitcast i8*%bj to i32*
store i32 1,i32*%bk,align 4
%bl=call i8*@sml_alloc(i32 inreg 12)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177288,i32*%bn,align 4
store i8*%bl,i8**%e,align 8
%bo=load i8*,i8**%h,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bl,i64 8
%br=bitcast i8*%bq to i32*
store i32 1,i32*%br,align 4
%bs=call i8*@sml_alloc(i32 inreg 28)#0
%bt=getelementptr inbounds i8,i8*%bs,i64 -4
%bu=bitcast i8*%bt to i32*
store i32 1342177304,i32*%bu,align 4
store i8*%bs,i8**%f,align 8
%bv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bw=bitcast i8*%bs to i8**
store i8*%bv,i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bs,i64 8
%by=bitcast i8*%bx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_168 to void(...)*),void(...)**%by,align 8
%bz=getelementptr inbounds i8,i8*%bs,i64 16
%bA=bitcast i8*%bz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_168 to void(...)*),void(...)**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bs,i64 24
%bC=bitcast i8*%bB to i32*
store i32 -2147483647,i32*%bC,align 4
%bD=call i8*@sml_alloc(i32 inreg 12)#0
%bE=getelementptr inbounds i8,i8*%bD,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177288,i32*%bF,align 4
store i8*%bD,i8**%e,align 8
%bG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bH=bitcast i8*%bD to i8**
store i8*%bG,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bD,i64 8
%bJ=bitcast i8*%bI to i32*
store i32 1,i32*%bJ,align 4
%bK=call i8*@sml_alloc(i32 inreg 12)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177288,i32*%bM,align 4
store i8*%bK,i8**%f,align 8
%bN=load i8*,i8**%h,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bK,i64 8
%bQ=bitcast i8*%bP to i32*
store i32 1,i32*%bQ,align 4
%bR=call i8*@sml_alloc(i32 inreg 28)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177304,i32*%bT,align 4
store i8*%bR,i8**%g,align 8
%bU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bR,i64 8
%bX=bitcast i8*%bW to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLLN10TextPrimIO6nullRdE_170 to void(...)*),void(...)**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bR,i64 16
%bZ=bitcast i8*%bY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_230 to void(...)*),void(...)**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bR,i64 24
%b1=bitcast i8*%b0 to i32*
store i32 -2147483647,i32*%b1,align 4
%b2=call i8*@sml_alloc(i32 inreg 12)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177288,i32*%b4,align 4
store i8*%b2,i8**%f,align 8
%b5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%b2,i64 8
%b8=bitcast i8*%b7 to i32*
store i32 1,i32*%b8,align 4
%b9=call i8*@sml_alloc(i32 inreg 12)#0
%ca=getelementptr inbounds i8,i8*%b9,i64 -4
%cb=bitcast i8*%ca to i32*
store i32 1342177288,i32*%cb,align 4
store i8*%b9,i8**%g,align 8
%cc=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cd=bitcast i8*%b9 to i8**
store i8*%cc,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b9,i64 8
%cf=bitcast i8*%ce to i32*
store i32 1,i32*%cf,align 4
%cg=call i8*@sml_alloc(i32 inreg 12)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177288,i32*%ci,align 4
store i8*%cg,i8**%i,align 8
%cj=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ck=bitcast i8*%cg to i8**
store i8*%cj,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cg,i64 8
%cm=bitcast i8*%cl to i32*
store i32 1,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg 28)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177304,i32*%cp,align 4
store i8*%cn,i8**%h,align 8
%cq=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cn,i64 8
%ct=bitcast i8*%cs to void(...)**
store void(...)*bitcast(void(i8*,i32)*@_SMLLLN10TextPrimIO6nullRdE_174 to void(...)*),void(...)**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 16
%cv=bitcast i8*%cu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullRdE_232 to void(...)*),void(...)**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cn,i64 24
%cx=bitcast i8*%cw to i32*
store i32 -2147483647,i32*%cx,align 4
%cy=call i8*@sml_alloc(i32 inreg 124)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177400,i32*%cA,align 4
%cB=getelementptr inbounds i8,i8*%cy,i64 28
%cC=bitcast i8*%cB to i32*
store i32 0,i32*%cC,align 1
%cD=bitcast i8*%cy to i8**
store i8*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*),i8**%cD,align 8
%cE=load i8*,i8**%g,align 8
%cF=getelementptr inbounds i8,i8*%cy,i64 8
%cG=bitcast i8*%cF to i8**
store i8*%cE,i8**%cG,align 8
%cH=load i8*,i8**%f,align 8
%cI=getelementptr inbounds i8,i8*%cy,i64 16
%cJ=bitcast i8*%cI to i8**
store i8*%cH,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cy,i64 24
%cL=bitcast i8*%cK to i32*
store i32 1,i32*%cL,align 4
%cM=load i8*,i8**%h,align 8
%cN=getelementptr inbounds i8,i8*%cy,i64 32
%cO=bitcast i8*%cN to i8**
store i8*%cM,i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cy,i64 40
%cQ=getelementptr inbounds i8,i8*%cy,i64 64
%cR=bitcast i8*%cQ to i8**
call void@llvm.memset.p0i8.i64(i8*%cP,i8 0,i64 24,i1 false)
store i8*getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@r,i64 0,i32 2,i64 0),i8**%cR,align 8
%cS=load i8*,i8**%c,align 8
%cT=getelementptr inbounds i8,i8*%cy,i64 72
%cU=bitcast i8*%cT to i8**
store i8*%cS,i8**%cU,align 8
%cV=load i8*,i8**%e,align 8
%cW=getelementptr inbounds i8,i8*%cy,i64 80
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=load i8*,i8**%b,align 8
%cZ=getelementptr inbounds i8,i8*%cy,i64 88
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=load i8*,i8**%d,align 8
%c2=getelementptr inbounds i8,i8*%cy,i64 96
%c3=bitcast i8*%c2 to i8**
store i8*%c1,i8**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cy,i64 104
%c5=getelementptr inbounds i8,i8*%cy,i64 120
%c6=bitcast i8*%c5 to i32*
call void@llvm.memset.p0i8.i64(i8*%c4,i8 0,i64 16,i1 false)
store i32 32759,i32*%c6,align 4
ret i8*%cy
}
define internal fastcc void@_SMLLL11checkClosed_179(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i32**
%f=load i32*,i32**%e,align 8
%g=load i32,i32*%f,align 4
%h=icmp eq i32%g,0
br i1%h,label%A,label%i
i:
%j=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%j,i8**%c,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
store i8*%k,i8**%d,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=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@o,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=load i8*,i8**%d,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
A:
ret void
}
define internal fastcc i32@_SMLLL8writeVec_181(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 i32**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32***
%l=load i32**,i32***%k,align 8
br label%m
m:
%n=phi i32**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=load i32*,i32**%n,align 8
%q=load i32,i32*%p,align 4
%r=icmp eq i32%q,0
br i1%r,label%K,label%s
s:
%t=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
store i8*%u,i8**%d,align 8
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@o,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=tail call fastcc i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg%o)
ret i32%L
}
define internal fastcc i32@_SMLLL8writeArr_183(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 i32**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32***
%l=load i32**,i32***%k,align 8
br label%m
m:
%n=phi i32**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=load i32*,i32**%n,align 8
%q=load i32,i32*%p,align 4
%r=icmp eq i32%q,0
br i1%r,label%K,label%s
s:
%t=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
store i8*%u,i8**%d,align 8
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@o,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=tail call fastcc i32@_SMLFN14CharArraySlice6lengthE(i8*inreg%o)
ret i32%L
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullWrE_185(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 i32**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32***
%l=load i32**,i32***%k,align 8
br label%m
m:
%n=phi i32**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i32*,i32**%n,align 8
%q=load i32,i32*%p,align 4
%r=icmp eq i32%q,0
br i1%r,label%K,label%s
s:
%t=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
store i8*%u,i8**%d,align 8
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@o,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=call fastcc i32@_SMLFN15CharVectorSlice6lengthE(i8*inreg%o)
%M=call i8*@sml_alloc(i32 inreg 12)#0
%N=bitcast i8*%M to i32*
%O=getelementptr inbounds i8,i8*%M,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177288,i32*%P,align 4
%Q=getelementptr inbounds i8,i8*%M,i64 4
%R=bitcast i8*%Q to i32*
store i32 0,i32*%R,align 1
store i32%L,i32*%N,align 4
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i32*
store i32 0,i32*%T,align 4
ret i8*%M
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullWrE_187(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 i32**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i32***
%l=load i32**,i32***%k,align 8
br label%m
m:
%n=phi i32**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%p=load i32*,i32**%n,align 8
%q=load i32,i32*%p,align 4
%r=icmp eq i32%q,0
br i1%r,label%K,label%s
s:
%t=load i8*,i8**@_SMLZN2IO12ClosedStreamE,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
store i8*%u,i8**%d,align 8
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@o,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=call fastcc i32@_SMLFN14CharArraySlice6lengthE(i8*inreg%o)
%M=call i8*@sml_alloc(i32 inreg 12)#0
%N=bitcast i8*%M to i32*
%O=getelementptr inbounds i8,i8*%M,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177288,i32*%P,align 4
%Q=getelementptr inbounds i8,i8*%M,i64 4
%R=bitcast i8*%Q to i32*
store i32 0,i32*%R,align 1
store i32%L,i32*%N,align 4
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i32*
store i32 0,i32*%T,align 4
ret i8*%M
}
define internal fastcc i32@_SMLLLN10TextPrimIO6nullWrE_188(i32 inreg%a)#4 gc"smlsharp"{
ret i32 1
}
define internal fastcc void@_SMLLLN10TextPrimIO6nullWrE_191(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
store i32 1,i32*%d,align 4
ret void
}
define fastcc i8*@_SMLFN10TextPrimIO6nullWrE(i32 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
%i=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
call void@llvm.gcroot(i8**%i,i8*null)#0
%j=call i8*@sml_alloc(i32 inreg 4)#0
%k=bitcast i8*%j to i32*
%l=getelementptr inbounds i8,i8*%j,i64 -4
%m=bitcast i8*%l to i32*
store i32 536870916,i32*%m,align 4
store i8*%j,i8**%e,align 8
store i32 0,i32*%k,align 4
%n=call i8*@sml_alloc(i32 inreg 12)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177288,i32*%p,align 4
store i8*%n,i8**%b,align 8
%q=load i8*,i8**%e,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to 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
store i8*%u,i8**%f,align 8
%x=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(void(i8*,i32)*@_SMLLL11checkClosed_179 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*)*@_SMLLL11checkClosed_234 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 12)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177288,i32*%H,align 4
store i8*%F,i8**%b,align 8
%I=load i8*,i8**%e,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 28)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177304,i32*%O,align 4
store i8*%M,i8**%g,align 8
%P=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL8writeVec_181 to void(...)*),void(...)**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 16
%U=bitcast i8*%T to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8writeVec_235 to void(...)*),void(...)**%U,align 8
%V=getelementptr inbounds i8,i8*%M,i64 24
%W=bitcast i8*%V to i32*
store i32 -2147483647,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 12)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177288,i32*%Z,align 4
store i8*%X,i8**%b,align 8
%aa=load i8*,i8**%e,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=call i8*@sml_alloc(i32 inreg 28)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177304,i32*%ag,align 4
store i8*%ae,i8**%h,align 8
%ah=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ae,i64 8
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL8writeArr_183 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 16
%am=bitcast i8*%al to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8writeArr_236 to void(...)*),void(...)**%am,align 8
%an=getelementptr inbounds i8,i8*%ae,i64 24
%ao=bitcast i8*%an to i32*
store i32 -2147483647,i32*%ao,align 4
%ap=call i8*@sml_alloc(i32 inreg 12)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177288,i32*%ar,align 4
store i8*%ap,i8**%b,align 8
%as=load i8*,i8**%e,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 i32*
store i32 1,i32*%av,align 4
%aw=call i8*@sml_alloc(i32 inreg 28)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177304,i32*%ay,align 4
store i8*%aw,i8**%c,align 8
%az=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullWrE_185 to void(...)*),void(...)**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullWrE_185 to void(...)*),void(...)**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aw,i64 24
%aG=bitcast i8*%aF to i32*
store i32 -2147483647,i32*%aG,align 4
%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**%b,align 8
%aK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=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 12)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177288,i32*%aQ,align 4
store i8*%aO,i8**%c,align 8
%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 i32*
store i32 1,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 28)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177304,i32*%aX,align 4
store i8*%aV,i8**%d,align 8
%aY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aV,i64 8
%a1=bitcast i8*%a0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullWrE_187 to void(...)*),void(...)**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 16
%a3=bitcast i8*%a2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullWrE_187 to void(...)*),void(...)**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aV,i64 24
%a5=bitcast i8*%a4 to i32*
store i32 -2147483647,i32*%a5,align 4
%a6=call i8*@sml_alloc(i32 inreg 12)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177288,i32*%a8,align 4
store i8*%a6,i8**%c,align 8
%a9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a6,i64 8
%bc=bitcast i8*%bb to i32*
store i32 1,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 12)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177288,i32*%bf,align 4
store i8*%bd,i8**%d,align 8
%bg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bh=bitcast i8*%bd to i8**
store i8*%bg,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%bd,i64 8
%bj=bitcast i8*%bi to i32*
store i32 1,i32*%bj,align 4
%bk=call i8*@sml_alloc(i32 inreg 12)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177288,i32*%bm,align 4
store i8*%bk,i8**%f,align 8
%bn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to i32*
store i32 1,i32*%bq,align 4
%br=call i8*@sml_alloc(i32 inreg 28)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177304,i32*%bt,align 4
store i8*%br,i8**%i,align 8
%bu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%br,i64 8
%bx=bitcast i8*%bw to void(...)**
store void(...)*bitcast(void(i8*,i32)*@_SMLLLN10TextPrimIO6nullWrE_191 to void(...)*),void(...)**%bx,align 8
%by=getelementptr inbounds i8,i8*%br,i64 16
%bz=bitcast i8*%by to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN10TextPrimIO6nullWrE_238 to void(...)*),void(...)**%bz,align 8
%bA=getelementptr inbounds i8,i8*%br,i64 24
%bB=bitcast i8*%bA to i32*
store i32 -2147483647,i32*%bB,align 4
%bC=call i8*@sml_alloc(i32 inreg 12)#0
%bD=getelementptr inbounds i8,i8*%bC,i64 -4
%bE=bitcast i8*%bD to i32*
store i32 1342177288,i32*%bE,align 4
store i8*%bC,i8**%e,align 8
%bF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bG=bitcast i8*%bC to i8**
store i8*%bF,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bC,i64 8
%bI=bitcast i8*%bH to i32*
store i32 1,i32*%bI,align 4
%bJ=call i8*@sml_alloc(i32 inreg 12)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177288,i32*%bL,align 4
store i8*%bJ,i8**%f,align 8
%bM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bJ,i64 8
%bP=bitcast i8*%bO to i32*
store i32 1,i32*%bP,align 4
%bQ=call i8*@sml_alloc(i32 inreg 116)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177392,i32*%bS,align 4
%bT=getelementptr inbounds i8,i8*%bQ,i64 20
%bU=bitcast i8*%bT to i32*
store i32 0,i32*%bU,align 1
%bV=load i8*,i8**%d,align 8
%bW=bitcast i8*%bQ to i8**
store i8*%bV,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bQ,i64 8
%bY=bitcast i8*%bX to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32}>,<{[4x i8],i32,i8*,i32}>*@q,i64 0,i32 2)to i8*),i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bQ,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 1,i32*%b0,align 4
%b1=load i8*,i8**%i,align 8
%b2=getelementptr inbounds i8,i8*%bQ,i64 24
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bQ,i64 32
%b5=getelementptr inbounds i8,i8*%bQ,i64 56
%b6=bitcast i8*%b5 to i8**
call void@llvm.memset.p0i8.i64(i8*%b4,i8 0,i64 24,i1 false)
store i8*getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@r,i64 0,i32 2,i64 0),i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%bQ,i64 64
call void@llvm.memset.p0i8.i64(i8*%b7,i8 0,i64 16,i1 false)
%b8=load i8*,i8**%e,align 8
%b9=getelementptr inbounds i8,i8*%bQ,i64 80
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=load i8*,i8**%c,align 8
%cc=getelementptr inbounds i8,i8*%bQ,i64 88
%cd=bitcast i8*%cc to i8**
store i8*%cb,i8**%cd,align 8
%ce=load i8*,i8**%f,align 8
%cf=getelementptr inbounds i8,i8*%bQ,i64 96
%cg=bitcast i8*%cf to i8**
store i8*%ce,i8**%cg,align 8
%ch=load i8*,i8**%b,align 8
%ci=getelementptr inbounds i8,i8*%bQ,i64 104
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=getelementptr inbounds i8,i8*%bQ,i64 112
%cl=bitcast i8*%ck to i32*
store i32 16379,i32*%cl,align 4
ret i8*%bQ
}
define fastcc i32@_SMLFN10TextPrimIO7compareE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar4f4a36ea37e56c58_prim_io_text,i64 0,i32 2,i64 0),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
ret i32%r
}
define internal fastcc i8*@_SMLLL8readVec_G_196(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*@_SMLLL8readVec_G_99(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL8readVec_G_197(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*@_SMLLL8readVec_G_100(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL8readVec_G_198(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*@_SMLLL8readVec_G_101(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL8readVec_G_199(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*@_SMLLL8readVec_G_102(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL8readArr_G_200(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL8readArr_G_103(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*@_SMLLL8readArr_G_201(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL8readArr_G_104(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*@_SMLLL8readArr_G_202(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL8readArr_G_106(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*@_SMLLL10readVecNB_G_203(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*@_SMLLL10readVecNB_G_107(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL10readVecNB_G_204(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*@_SMLLL10readVecNB_G_108(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL10readVecNB_G_205(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*@_SMLLL10readVecNB_G_109(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL10readVecNB_G_206(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*@_SMLLL10readVecNB_G_110(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL10readArrNB_G_207(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL10readArrNB_G_113(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*@_SMLLLN10TextPrimIO13augmentReaderE_208(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN10TextPrimIO13augmentReaderE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL9writeVec_G_209(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL9writeVec_G_117(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*@_SMLLL9writeVec_G_210(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL9writeVec_G_118(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*@_SMLLL9writeVec_G_211(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL9writeVec_G_119(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*@_SMLLL9writeArr_G_212(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL9writeArr_G_120(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*@_SMLLL9writeArr_G_213(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL9writeArr_G_121(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*@_SMLLL9writeArr_G_214(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL9writeArr_G_123(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*@_SMLLL11writeVecNB_G_215(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL11writeVecNB_G_127(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*@_SMLLL11writeArrNB_G_216(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL11writeArrNB_G_131(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*@_SMLLLN10TextPrimIO13augmentWriterE_217(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN10TextPrimIO13augmentWriterE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL11checkClosed_218(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
tail call fastcc void@_SMLLL11checkClosed_136(i8*inreg%a,i32 inreg%d)
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLL5readV_219(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*@_SMLLL5readV_140(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLL5readA_220(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL5readA_144(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*@_SMLLLN10TextPrimIO10openVectorE_221(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*@_SMLLLN10TextPrimIO10openVectorE_148(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO10openVectorE_222(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 i32@_SMLLLN10TextPrimIO10openVectorE_151(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32 1,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLLN10TextPrimIO10openVectorE_223(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*@_SMLLLN10TextPrimIO10openVectorE_153(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO10openVectorE_224(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
store i32 1,i32*%d,align 4
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO10openVectorE_225(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN10TextPrimIO10openVectorE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL11checkClosed_226(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
tail call fastcc void@_SMLLL11checkClosed_159(i8*inreg%a,i32 inreg%d)
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_227(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*@_SMLLLN10TextPrimIO6nullRdE_161(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_228(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLLN10TextPrimIO6nullRdE_163(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 0,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_229(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*@_SMLLLN10TextPrimIO6nullRdE_165(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_230(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 i32@_SMLLLN10TextPrimIO6nullRdE_170(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32 1,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_231(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@l,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_232(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
store i32 1,i32*%d,align 4
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullRdE_233(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN10TextPrimIO6nullRdE(i32 inreg undef)
ret i8*%c
}
define internal fastcc i8*@_SMLLL11checkClosed_234(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
tail call fastcc void@_SMLLL11checkClosed_179(i8*inreg%a,i32 inreg%d)
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLL8writeVec_235(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL8writeVec_181(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*@_SMLLL8writeArr_236(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL8writeArr_183(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*@_SMLLLN10TextPrimIO6nullWrE_237(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 1,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullWrE_238(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
store i32 1,i32*%d,align 4
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLLN10TextPrimIO6nullWrE_239(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN10TextPrimIO6nullWrE(i32 inreg undef)
ret i8*%c
}
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
declare void@llvm.memset.p0i8.i64(i8*,i8,i64,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
