@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN12RuntimeTypes7maxSizeE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes8charBitsE=external local_unnamed_addr global i32
@_SMLZN12RuntimeTypes8recordTyE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes8word32TyE=external local_unnamed_addr global i8*
@_SMLZN1__11BinaryMapFnE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@_SMLZ8Overflow=external unnamed_addr constant i8*
@_SMLZ3Div=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:25.31(566)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:28.27(657)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"maxShift 1\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:30.27(767)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"maxShift 2\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:44.6(1023)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:58.8(1420)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:72.53(1981)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,i32 2,i32 0}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,i32 3,i32 0}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,i32 4,i32 0}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 1,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@x,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:64.6(1571)\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:109.4(3651)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:125.6(4177)\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(i8*)*@_SMLLN12RecordLayout10compareExpE_210 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout10compareExpE_267 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLL212 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL268 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:146.6(4814)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,i32 1,i32 0}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 0,[4x i8]zeroinitializer,i8*null,i32 2}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@x,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[80x i8]}><{[4x i8]zeroinitializer,i32 -2147483568,[80x i8]c"src/compiler/compilePhases/bitmapcompilation/main/RecordLayout.sml:220.18(7645)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL8sizesRev_245 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8sizesRev_269 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,i32 0,i32 0}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL4bits_248 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4bits_270 to void(...)*),i32 -2147483647}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN12RecordLayout13computeRecordE_250 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout13computeRecordE_271 to void(...)*),i32 -2147483647}>,align 8
@_SML_gvar226e91fe36086637_RecordLayout=private global<{[4x i8],i32,[4x i8*]}><{[4x i8]zeroinitializer,i32 -1342177248,[4x i8*]zeroinitializer}>,align 8
@A=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@A to i64))]
@_SML_ftab226e91fe36086637_RecordLayout=external global i8
@B=private unnamed_addr global i8 0
@C=private unnamed_addr constant[7x i32][i32 0,i32 3,i32 2,i32 5,i32 4,i32 6,i32 1]
@_SMLZN12RecordLayout19newComputationAccumE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i32 0,i32 2,i32 0)
@_SMLZN12RecordLayout12extractDeclsE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i32 0,i32 2,i32 1)
@_SMLZN12RecordLayout12computeIndexE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i32 0,i32 2,i32 2)
@_SMLZN12RecordLayout13computeRecordE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i32 0,i32 2,i32 3)
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_end()local_unnamed_addr#0
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_save_exn(i8*inreg)local_unnamed_addr#0
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 i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3revE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5Int327compareE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5VarID7compareE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5VarID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6Word327compareE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair5mapEqE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7aa263535439ee1c_ListPair()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf19563e8df97169c_Word32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7374574ddb619c6a_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainc88dec21a8800496_RuntimeTypes_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5bfd1d1579faec9b_binary_map_fn()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load7aa263535439ee1c_ListPair(i8*)local_unnamed_addr
declare void@_SML_loadf19563e8df97169c_Word32(i8*)local_unnamed_addr
declare void@_SML_load7374574ddb619c6a_LocalID(i8*)local_unnamed_addr
declare void@_SML_loadc88dec21a8800496_RuntimeTypes_ppg(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load5bfd1d1579faec9b_binary_map_fn(i8*)local_unnamed_addr
define private void@_SML_tabb226e91fe36086637_RecordLayout()#3{
unreachable
}
define void@_SML_load226e91fe36086637_RecordLayout(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@B,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@B,align 1
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load7aa263535439ee1c_ListPair(i8*%a)#0
tail call void@_SML_loadf19563e8df97169c_Word32(i8*%a)#0
tail call void@_SML_load7374574ddb619c6a_LocalID(i8*%a)#0
tail call void@_SML_loadc88dec21a8800496_RuntimeTypes_ppg(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load5bfd1d1579faec9b_binary_map_fn(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb226e91fe36086637_RecordLayout,i8*@_SML_ftab226e91fe36086637_RecordLayout,i8*bitcast([2x i64]*@A to i8*))#0
ret void
}
define void@_SML_main226e91fe36086637_RecordLayout()local_unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=load i8,i8*@B,align 1
%l=and i8%k,2
%m=icmp eq i8%l,0
br i1%m,label%o,label%n
n:
ret void
o:
store i8 3,i8*@B,align 1
tail call void@_SML_main5148a836b3728be9_Int32()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main7aa263535439ee1c_ListPair()#2
tail call void@_SML_mainf19563e8df97169c_Word32()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_mainc88dec21a8800496_RuntimeTypes_ppg()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main5bfd1d1579faec9b_binary_map_fn()#2
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
%p=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%p)#0
%q=load atomic i32,i32*@sml_check_flag unordered,align 4
%r=icmp eq i32%q,0
br i1%r,label%t,label%s
s:
invoke void@sml_check(i32 inreg%q)
to label%t unwind label%es
t:
%u=load i8*,i8**@_SMLZN1__11BinaryMapFnE,align 8
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*,i8*)**
%x=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%b,align 8
%A=call i8*@sml_alloc(i32 inreg 4)#0
%B=bitcast i8*%A to i32*
%C=getelementptr inbounds i8,i8*%A,i64 -4
%D=bitcast i8*%C to i32*
store i32 4,i32*%D,align 4
store i8*%A,i8**%c,align 8
store i32 1,i32*%B,align 4
%E=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 8,i32*%F,align 4
%I=load i8*,i8**%b,align 8
%J=load i8*,i8**%c,align 8
store i8*null,i8**%b,align 8
store i8*null,i8**%c,align 8
%K=invoke fastcc i8*%x(i8*inreg%I,i8*inreg%J,i8*inreg%E)
to label%L unwind label%es
L:
%M=getelementptr inbounds i8,i8*%K,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%K to i8**
%Q=load i8*,i8**%P,align 8
%R=invoke fastcc i8*%O(i8*inreg%Q,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*))
to label%S unwind label%es
S:
%T=getelementptr inbounds i8,i8*%R,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%R to i8**
%X=load i8*,i8**%W,align 8
%Y=invoke fastcc i8*%V(i8*inreg%X,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@p,i64 0,i32 2)to i8*))
to label%Z unwind label%es
Z:
store i8*%Y,i8**%b,align 8
%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**%c,align 8
%ad=load i8*,i8**%b,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
store i8*%ah,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12extractDeclsE_214 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*)*@_SMLLN12RecordLayout12extractDeclsE_214 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 12)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177288,i32*%au,align 4
store i8*%as,i8**%c,align 8
%av=load i8*,i8**%b,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 i32*
store i32 1,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 28)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177304,i32*%aB,align 4
%aC=load i8*,i8**%c,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout7computeE_217 to void(...)*),void(...)**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 16
%aH=bitcast i8*%aG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout7computeE_217 to void(...)*),void(...)**%aH,align 8
%aI=getelementptr inbounds i8,i8*%az,i64 24
%aJ=bitcast i8*%aI to i32*
store i32 -2147483647,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 12)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177288,i32*%aM,align 4
store i8*%aK,i8**%e,align 8
%aN=load i8*,i8**%c,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aK,i64 8
%aQ=bitcast i8*%aP to i32*
store i32 1,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 28)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177304,i32*%aT,align 4
%aU=load i8*,i8**%e,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aR,i64 8
%aX=bitcast i8*%aW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout9alignSizeE_221 to void(...)*),void(...)**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 16
%aZ=bitcast i8*%aY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout9alignSizeE_221 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 24
%a1=bitcast i8*%a0 to i32*
store i32 -2147483647,i32*%a1,align 4
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
store i8*%a2,i8**%f,align 8
%a5=load i8*,i8**%c,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%e,align 8
%a8=getelementptr inbounds i8,i8*%a2,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a2,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
%bc=call i8*@sml_alloc(i32 inreg 28)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177304,i32*%be,align 4
%bf=load i8*,i8**%f,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%bc,i64 8
%bi=bitcast i8*%bh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN12RecordLayout15computeIndexRevE_222 to void(...)*),void(...)**%bi,align 8
%bj=getelementptr inbounds i8,i8*%bc,i64 16
%bk=bitcast i8*%bj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN12RecordLayout15computeIndexRevE_222 to void(...)*),void(...)**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bc,i64 24
%bm=bitcast i8*%bl to i32*
store i32 -2147483647,i32*%bm,align 4
%bn=call i8*@sml_alloc(i32 inreg 28)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177304,i32*%bp,align 4
%bq=load i8*,i8**%f,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bn,i64 8
%bt=bitcast i8*%bs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN12RecordLayout16computeLayoutRevE_223 to void(...)*),void(...)**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bn,i64 16
%bv=bitcast i8*%bu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN12RecordLayout16computeLayoutRevE_223 to void(...)*),void(...)**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bn,i64 24
%bx=bitcast i8*%bw to i32*
store i32 -2147483647,i32*%bx,align 4
%by=call i8*@sml_alloc(i32 inreg 12)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177288,i32*%bA,align 4
store i8*%by,i8**%g,align 8
%bB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%by,i64 8
%bE=bitcast i8*%bD to i32*
store i32 1,i32*%bE,align 4
%bF=call i8*@sml_alloc(i32 inreg 28)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177304,i32*%bH,align 4
%bI=load i8*,i8**%g,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=getelementptr inbounds i8,i8*%bF,i64 8
%bL=bitcast i8*%bK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout17alignAccumSizeRevE_228 to void(...)*),void(...)**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bF,i64 16
%bN=bitcast i8*%bM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout17alignAccumSizeRevE_228 to void(...)*),void(...)**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bF,i64 24
%bP=bitcast i8*%bO to i32*
store i32 -2147483647,i32*%bP,align 4
%bQ=call i8*@sml_alloc(i32 inreg 12)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177288,i32*%bS,align 4
store i8*%bQ,i8**%e,align 8
%bT=load i8*,i8**%c,align 8
%bU=bitcast i8*%bQ to i8**
store i8*%bT,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bQ,i64 8
%bW=bitcast i8*%bV to i32*
store i32 1,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
%b0=load i8*,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*,i8*,i8*)*@_SMLLN12RecordLayout15computeBitIndexE_229 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*,i8*)*@_SMLLN12RecordLayout15computeBitIndexE_229 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
store i8*%b8,i8**%h,align 8
%cb=load i8*,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
%cf=call i8*@sml_alloc(i32 inreg 28)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177304,i32*%ch,align 4
%ci=load i8*,i8**%h,align 8
%cj=bitcast i8*%cf to i8**
store i8*%ci,i8**%cj,align 8
%ck=getelementptr inbounds i8,i8*%cf,i64 8
%cl=bitcast i8*%ck to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12setBitmapBitE_235 to void(...)*),void(...)**%cl,align 8
%cm=getelementptr inbounds i8,i8*%cf,i64 16
%cn=bitcast i8*%cm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12setBitmapBitE_235 to void(...)*),void(...)**%cn,align 8
%co=getelementptr inbounds i8,i8*%cf,i64 24
%cp=bitcast i8*%co to i32*
store i32 -2147483647,i32*%cp,align 4
%cq=call i8*@sml_alloc(i32 inreg 12)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177288,i32*%cs,align 4
store i8*%cq,i8**%i,align 8
%ct=load i8*,i8**%c,align 8
%cu=bitcast i8*%cq to i8**
store i8*%ct,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cq,i64 8
%cw=bitcast i8*%cv to i32*
store i32 1,i32*%cw,align 4
%cx=call i8*@sml_alloc(i32 inreg 28)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177304,i32*%cz,align 4
%cA=load i8*,i8**%i,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cx,i64 8
%cD=bitcast i8*%cC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout11shiftBitmapE_242 to void(...)*),void(...)**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cx,i64 16
%cF=bitcast i8*%cE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout11shiftBitmapE_242 to void(...)*),void(...)**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cx,i64 24
%cH=bitcast i8*%cG to i32*
store i32 -2147483647,i32*%cH,align 4
%cI=call i8*@sml_alloc(i32 inreg 20)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 1342177296,i32*%cK,align 4
store i8*%cI,i8**%j,align 8
%cL=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cO=getelementptr inbounds i8,i8*%cI,i64 8
%cP=bitcast i8*%cO to i8**
store i8*%cN,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cI,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 3,i32*%cR,align 4
%cS=call i8*@sml_alloc(i32 inreg 28)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177304,i32*%cU,align 4
%cV=load i8*,i8**%j,align 8
%cW=bitcast i8*%cS to i8**
store i8*%cV,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cS,i64 8
%cY=bitcast i8*%cX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN12RecordLayout19computeRecordBitmapE_243 to void(...)*),void(...)**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cS,i64 16
%c0=bitcast i8*%cZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN12RecordLayout19computeRecordBitmapE_243 to void(...)*),void(...)**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cS,i64 24
%c2=bitcast i8*%c1 to i32*
store i32 -2147483647,i32*%c2,align 4
%c3=call i8*@sml_alloc(i32 inreg 12)#0
%c4=getelementptr inbounds i8,i8*%c3,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32 1342177288,i32*%c5,align 4
store i8*%c3,i8**%h,align 8
%c6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c7=bitcast i8*%c3 to i8**
store i8*%c6,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%c3,i64 8
%c9=bitcast i8*%c8 to i32*
store i32 1,i32*%c9,align 4
%da=call i8*@sml_alloc(i32 inreg 28)#0
%db=getelementptr inbounds i8,i8*%da,i64 -4
%dc=bitcast i8*%db to i32*
store i32 1342177304,i32*%dc,align 4
%dd=load i8*,i8**%h,align 8
%de=bitcast i8*%da to i8**
store i8*%dd,i8**%de,align 8
%df=getelementptr inbounds i8,i8*%da,i64 8
%dg=bitcast i8*%df to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLLN12RecordLayout20computeBitmapIndexesE_244 to void(...)*),void(...)**%dg,align 8
%dh=getelementptr inbounds i8,i8*%da,i64 16
%di=bitcast i8*%dh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLLN12RecordLayout20computeBitmapIndexesE_244 to void(...)*),void(...)**%di,align 8
%dj=getelementptr inbounds i8,i8*%da,i64 24
%dk=bitcast i8*%dj to i32*
store i32 -2147483647,i32*%dk,align 4
%dl=call i8*@sml_alloc(i32 inreg 44)#0
%dm=getelementptr inbounds i8,i8*%dl,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177320,i32*%dn,align 4
store i8*%dl,i8**%c,align 8
%do=load i8*,i8**%f,align 8
%dp=bitcast i8*%dl to i8**
store i8*%do,i8**%dp,align 8
%dq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dr=getelementptr inbounds i8,i8*%dl,i64 8
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%du=getelementptr inbounds i8,i8*%dl,i64 16
%dv=bitcast i8*%du to i8**
store i8*%dt,i8**%dv,align 8
%dw=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dx=getelementptr inbounds i8,i8*%dl,i64 24
%dy=bitcast i8*%dx to i8**
store i8*%dw,i8**%dy,align 8
%dz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dA=getelementptr inbounds i8,i8*%dl,i64 32
%dB=bitcast i8*%dA to i8**
store i8*%dz,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%dl,i64 40
%dD=bitcast i8*%dC to i32*
store i32 31,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**%e,align 8
%dH=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*)*@_SMLLN12RecordLayout13computeRecordE_253 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*)*@_SMLLN12RecordLayout13computeRecordE_253 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
store i8*%dP,i8**%c,align 8
%dS=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%dW=call i8*@sml_alloc(i32 inreg 28)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177304,i32*%dY,align 4
store i8*%dW,i8**%f,align 8
%dZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d0=bitcast i8*%dW to i8**
store i8*%dZ,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dW,i64 8
%d2=bitcast i8*%d1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12computeIndexE_255 to void(...)*),void(...)**%d2,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 16
%d4=bitcast i8*%d3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12computeIndexE_255 to void(...)*),void(...)**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dW,i64 24
%d6=bitcast i8*%d5 to i32*
store i32 -2147483647,i32*%d6,align 4
%d7=call i8*@sml_alloc(i32 inreg 12)#0
%d8=getelementptr inbounds i8,i8*%d7,i64 -4
%d9=bitcast i8*%d8 to i32*
store i32 1342177288,i32*%d9,align 4
store i8*%d7,i8**%c,align 8
%ea=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eb=bitcast i8*%d7 to i8**
store i8*%ea,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d7,i64 8
%ed=bitcast i8*%ec to i32*
store i32 1,i32*%ed,align 4
%ee=call i8*@sml_alloc(i32 inreg 28)#0
%ef=getelementptr inbounds i8,i8*%ee,i64 -4
%eg=bitcast i8*%ef to i32*
store i32 1342177304,i32*%eg,align 4
%eh=load i8*,i8**%c,align 8
%ei=bitcast i8*%ee to i8**
store i8*%eh,i8**%ei,align 8
%ej=getelementptr inbounds i8,i8*%ee,i64 8
%ek=bitcast i8*%ej to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN12RecordLayout19newComputationAccumE_256 to void(...)*),void(...)**%ek,align 8
%el=getelementptr inbounds i8,i8*%ee,i64 16
%em=bitcast i8*%el to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout19newComputationAccumE_272 to void(...)*),void(...)**%em,align 8
%en=getelementptr inbounds i8,i8*%ee,i64 24
%eo=bitcast i8*%en to i32*
store i32 -2147483647,i32*%eo,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 0),i8*inreg%ee)#0
%ep=load i8*,i8**%d,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 1),i8*inreg%ep)#0
%eq=load i8*,i8**%f,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 2),i8*inreg%eq)#0
%er=load i8*,i8**%e,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 3),i8*inreg%er)#0
call void@sml_end()#0
ret void
es:
%et=landingpad{i8*,i8*}
cleanup
%eu=extractvalue{i8*,i8*}%et,1
call void@sml_save_exn(i8*inreg%eu)#0
call void@sml_end()#0
resume{i8*,i8*}%et
}
define internal fastcc i32@_SMLLN12RecordLayout8maxShiftE_157()unnamed_addr#2 gc"smlsharp"{
%a=alloca i8*,align 8
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%a,i8*null)#0
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=load i8*,i8**@_SMLZN12RuntimeTypes7maxSizeE,align 8
%h=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%g)
%i=load i8*,i8**@_SMLZN12RuntimeTypes8recordTyE,align 8
%j=getelementptr inbounds i8,i8*%i,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
%m=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%l)
%n=icmp eq i32%m,0
br i1%n,label%V,label%o
o:
%p=xor i32%h,-2147483648
%q=add i32%m,1
%r=or i32%q,%p
%s=icmp eq i32%r,0
br i1%s,label%D,label%t
t:
%u=sdiv i32%h,%m
%v=srem i32%h,%m
%w=xor i32%m,%h
%x=lshr i32%w,31
%y=icmp ne i32%v,0
%z=zext i1%y to i32
%A=and i32%x,%z
%B=sub nsw i32%u,%A
%C=icmp eq i32%m,-1
br i1%C,label%aM,label%an
D:
%E=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%E,i8**%a,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
store i8*%F,i8**%b,align 8
%I=load i8*,i8**%a,align 8
store i8*null,i8**%a,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@a,i64 0,i32 2,i64 0),i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 60)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177336,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 56
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=load i8*,i8**%b,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
call void@sml_raise(i8*inreg%O)#1
unreachable
V:
%W=load i8*,i8**@_SMLZ3Div,align 8
store i8*%W,i8**%a,align 8
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
store i8*%X,i8**%b,align 8
%aa=load i8*,i8**%a,align 8
store i8*null,i8**%a,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@a,i64 0,i32 2,i64 0),i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 60)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177336,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%ag,i64 56
%ak=bitcast i8*%aj to i32*
store i32 1,i32*%ak,align 4
%al=load i8*,i8**%b,align 8
%am=bitcast i8*%ag to i8**
store i8*%al,i8**%am,align 8
call void@sml_raise(i8*inreg%ag)#1
unreachable
an:
%ao=sub nsw i32 0,%A
%ap=and i32%m,%ao
%aq=sub i32 0,%ap
%ar=icmp eq i32%v,%aq
br i1%ar,label%aM,label%as
as:
%at=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%at,i8**%a,align 8
%au=call i8*@sml_alloc(i32 inreg 28)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177304,i32*%aw,align 4
store i8*%au,i8**%b,align 8
%ax=load i8*,i8**%a,align 8
store i8*null,i8**%a,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%au,i64 8
%aA=bitcast i8*%az to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@b,i64 0,i32 2,i64 0),i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 16
%aC=bitcast i8*%aB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@c,i64 0,i32 2,i64 0),i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 24
%aE=bitcast i8*%aD to i32*
store i32 7,i32*%aE,align 4
%aF=call i8*@sml_alloc(i32 inreg 60)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177336,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 56
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
%aK=load i8*,i8**%b,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
call void@sml_raise(i8*inreg%aF)#1
unreachable
aM:
%aN=icmp slt i32%B,1
br i1%aN,label%aX,label%aO
aO:
%aP=load i8*,i8**@_SMLZN12RuntimeTypes8word32TyE,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
%aT=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%aS)
%aU=load i32,i32*@_SMLZN12RuntimeTypes8charBitsE,align 4
%aV=mul nsw i32%aU,%aT
%aW=icmp slt i32%B,%aV
br i1%aW,label%bh,label%aX
aX:
%aY=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aY,i8**%a,align 8
%aZ=call i8*@sml_alloc(i32 inreg 28)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177304,i32*%a1,align 4
store i8*%aZ,i8**%b,align 8
%a2=load i8*,i8**%a,align 8
store i8*null,i8**%a,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aZ,i64 8
%a5=bitcast i8*%a4 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@d,i64 0,i32 2,i64 0),i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aZ,i64 16
%a7=bitcast i8*%a6 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@e,i64 0,i32 2,i64 0),i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%aZ,i64 24
%a9=bitcast i8*%a8 to i32*
store i32 7,i32*%a9,align 4
%ba=call i8*@sml_alloc(i32 inreg 60)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177336,i32*%bc,align 4
%bd=getelementptr inbounds i8,i8*%ba,i64 56
%be=bitcast i8*%bd to i32*
store i32 1,i32*%be,align 4
%bf=load i8*,i8**%b,align 8
%bg=bitcast i8*%ba to i8**
store i8*%bf,i8**%bg,align 8
call void@sml_raise(i8*inreg%ba)#1
unreachable
bh:
ret i32%B
}
define internal fastcc i32@_SMLLN12RecordLayout12compareValueE_162(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=bitcast i8*%l to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 0,label%aw
i32 1,label%J
]
r:
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%b,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%c,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@f,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=bitcast i8*%o to i32*
%L=load i32,i32*%K,align 4
switch i32%L,label%M[
i32 0,label%au
i32 1,label%ae
]
M:
call void@sml_matchcomp_bug()
%N=load i8*,i8**@_SMLZ5Match,align 8
store i8*%N,i8**%b,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**%c,align 8
%R=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@f,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
%aa=getelementptr inbounds i8,i8*%X,i64 56
%ab=bitcast i8*%aa to i32*
store i32 1,i32*%ab,align 4
%ac=load i8*,i8**%c,align 8
%ad=bitcast i8*%X to i8**
store i8*%ac,i8**%ad,align 8
call void@sml_raise(i8*inreg%X)#1
unreachable
ae:
%af=getelementptr inbounds i8,i8*%l,i64 4
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=getelementptr inbounds i8,i8*%o,i64 4
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=call i8*@sml_alloc(i32 inreg 12)#0
%am=bitcast i8*%al to i32*
%an=getelementptr inbounds i8,i8*%al,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177288,i32*%ao,align 4
store i32%ah,i32*%am,align 4
%ap=getelementptr inbounds i8,i8*%al,i64 4
%aq=bitcast i8*%ap to i32*
store i32%ak,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i32*
store i32 0,i32*%as,align 4
%at=tail call fastcc i32@_SMLFN6Word327compareE(i8*inreg%al)
ret i32%at
au:
%av=phi i32[1,%J],[2,%aw]
ret i32%av
aw:
%ax=bitcast i8*%o to i32*
%ay=load i32,i32*%ax,align 4
switch i32%ay,label%az[
i32 0,label%aR
i32 1,label%au
]
az:
call void@sml_matchcomp_bug()
%aA=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aA,i8**%b,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
store i8*%aB,i8**%c,align 8
%aE=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@f,i64 0,i32 2,i64 0),i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to i32*
store i32 3,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 60)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177336,i32*%aM,align 4
%aN=getelementptr inbounds i8,i8*%aK,i64 56
%aO=bitcast i8*%aN to i32*
store i32 1,i32*%aO,align 4
%aP=load i8*,i8**%c,align 8
%aQ=bitcast i8*%aK to i8**
store i8*%aP,i8**%aQ,align 8
call void@sml_raise(i8*inreg%aK)#1
unreachable
aR:
%aS=getelementptr inbounds i8,i8*%l,i64 8
%aT=bitcast i8*%aS to i32**
%aU=load i32*,i32**%aT,align 8
%aV=load i32,i32*%aU,align 4
%aW=getelementptr inbounds i8,i8*%o,i64 8
%aX=bitcast i8*%aW to i32**
%aY=load i32*,i32**%aX,align 8
%aZ=load i32,i32*%aY,align 4
%a0=call i8*@sml_alloc(i32 inreg 12)#0
%a1=bitcast i8*%a0 to i32*
%a2=getelementptr inbounds i8,i8*%a0,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177288,i32*%a3,align 4
store i32%aV,i32*%a1,align 4
%a4=getelementptr inbounds i8,i8*%a0,i64 4
%a5=bitcast i8*%a4 to i32*
store i32%aZ,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i32*
store i32 0,i32*%a7,align 4
%a8=tail call fastcc i32@_SMLFN5VarID7compareE(i8*inreg%a0)
ret i32%a8
}
define internal fastcc i8*@_SMLLN12RecordLayout7commuteE_165(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call fastcc i32@_SMLLN12RecordLayout12compareValueE_162(i8*inreg%p)
switch i32%z,label%A[
i32 0,label%ao
i32 1,label%ad
i32 2,label%S
]
A:
store i8*null,i8**%c,align 8
call void@sml_matchcomp_bug()
%B=load i8*,i8**@_SMLZ5Match,align 8
store i8*%B,i8**%b,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
store i8*%C,i8**%c,align 8
%F=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@g,i64 0,i32 2,i64 0),i8**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%c,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
S:
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
%W=load i8*,i8**%c,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%b,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
ret i8*%T
ad:
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%b,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
ret i8*%ae
ao:
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
%as=load i8*,i8**%b,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%c,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ap,i64 16
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
ret i8*%ap
}
define internal fastcc i32@_SMLLN12RecordLayout10compareExpE_210(i8*inreg%a)#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=bitcast i8*%o to i32*
%t=load i32,i32*%s,align 4
switch i32%t,label%u[
i32 1,label%cq
i32 0,label%M
]
u:
call void@sml_matchcomp_bug()
%v=load i8*,i8**@_SMLZ5Match,align 8
store i8*%v,i8**%e,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**%f,align 8
%z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@o,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**%f,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=getelementptr inbounds i8,i8*%o,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%e,align 8
%Q=bitcast i8*%r to i32*
%R=load i32,i32*%Q,align 4
switch i32%R,label%S[
i32 1,label%co
i32 0,label%ak
]
S:
call void@sml_matchcomp_bug()
%T=load i8*,i8**@_SMLZ5Match,align 8
store i8*%T,i8**%e,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**%f,align 8
%X=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@o,i64 0,i32 2,i64 0),i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 60)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177336,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 56
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%f,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=getelementptr inbounds i8,i8*%r,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%f,align 8
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177296,i32*%aq,align 4
%ar=load i8*,i8**%e,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=load i8*,i8**%f,align 8
%au=getelementptr inbounds i8,i8*%ao,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ao,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
%ay=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ay)
%az=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%az)
%aA=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aA)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%ao,i8**%b,align 8
%aB=load atomic i32,i32*@sml_check_flag unordered,align 4
%aC=icmp eq i32%aB,0
br i1%aC,label%aK,label%aD
aD:
call void@sml_check(i32 inreg%aB)
%aE=load i8*,i8**%b,align 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
%aH=getelementptr inbounds i8,i8*%aE,i64 8
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
br label%aK
aK:
%aL=phi i8*[%aJ,%aD],[%at,%ak]
%aM=phi i8*[%aG,%aD],[%ar,%ak]
%aN=phi i8*[%aE,%aD],[%ao,%ak]
%aO=getelementptr inbounds i8,i8*%aM,i64 8
%aP=bitcast i8*%aO to i8***
%aQ=load i8**,i8***%aP,align 8
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%b,align 8
%aS=getelementptr inbounds i8,i8*%aL,i64 8
%aT=bitcast i8*%aS to i8***
%aU=load i8**,i8***%aT,align 8
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%c,align 8
%aW=getelementptr inbounds i8*,i8**%aU,i64 1
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%d,align 8
%aY=bitcast i8*%aN to i32**
%aZ=load i32*,i32**%aY,align 8
%a0=load i32,i32*%aZ,align 4
%a1=icmp ult i32%a0,7
br i1%a1,label%bk,label%a2
a2:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%a3=load i8*,i8**@_SMLZ5Match,align 8
store i8*%a3,i8**%b,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%c,align 8
%a7=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@n,i64 0,i32 2,i64 0),i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to i32*
store i32 3,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 60)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177336,i32*%bf,align 4
%bg=getelementptr inbounds i8,i8*%bd,i64 56
%bh=bitcast i8*%bg to i32*
store i32 1,i32*%bh,align 4
%bi=load i8*,i8**%c,align 8
%bj=bitcast i8*%bd to i8**
store i8*%bi,i8**%bj,align 8
call void@sml_raise(i8*inreg%bd)#1
unreachable
bk:
%bl=bitcast i8*%aL to i32*
%bm=load i32,i32*%bl,align 4
%bn=icmp ult i32%bm,7
br i1%bn,label%bG,label%bo
bo:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%bp=load i8*,i8**@_SMLZ5Match,align 8
store i8*%bp,i8**%b,align 8
%bq=call i8*@sml_alloc(i32 inreg 20)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177296,i32*%bs,align 4
store i8*%bq,i8**%c,align 8
%bt=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bq,i64 8
%bw=bitcast i8*%bv to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@n,i64 0,i32 2,i64 0),i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bq,i64 16
%by=bitcast i8*%bx to i32*
store i32 3,i32*%by,align 4
%bz=call i8*@sml_alloc(i32 inreg 60)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177336,i32*%bB,align 4
%bC=getelementptr inbounds i8,i8*%bz,i64 56
%bD=bitcast i8*%bC to i32*
store i32 1,i32*%bD,align 4
%bE=load i8*,i8**%c,align 8
%bF=bitcast i8*%bz to i8**
store i8*%bE,i8**%bF,align 8
call void@sml_raise(i8*inreg%bz)#1
unreachable
bG:
%bH=sext i32%a0 to i64
%bI=getelementptr inbounds[7x i32],[7x i32]*@C,i64 0,i64%bH
%bJ=load i32,i32*%bI,align 4
%bK=sext i32%bm to i64
%bL=getelementptr inbounds[7x i32],[7x i32]*@C,i64 0,i64%bK
%bM=load i32,i32*%bL,align 4
%bN=call i8*@sml_alloc(i32 inreg 12)#0
%bO=bitcast i8*%bN to i32*
%bP=getelementptr inbounds i8,i8*%bN,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177288,i32*%bQ,align 4
store i32%bJ,i32*%bO,align 4
%bR=getelementptr inbounds i8,i8*%bN,i64 4
%bS=bitcast i8*%bR to i32*
store i32%bM,i32*%bS,align 4
%bT=getelementptr inbounds i8,i8*%bN,i64 8
%bU=bitcast i8*%bT to i32*
store i32 0,i32*%bU,align 4
%bV=call fastcc i32@_SMLFN5Int327compareE(i8*inreg%bN)
%bW=icmp eq i32%bV,0
br i1%bW,label%bZ,label%bX
bX:
%bY=phi i32[%bV,%bG],[%ca,%bZ]
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ay)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%az)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aA)
br label%co
bZ:
%b0=call i8*@sml_alloc(i32 inreg 20)#0
%b1=getelementptr inbounds i8,i8*%b0,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177296,i32*%b2,align 4
%b3=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%b4=bitcast i8*%b0 to i8**
store i8*%b3,i8**%b4,align 8
%b5=load i8*,i8**%c,align 8
%b6=getelementptr inbounds i8,i8*%b0,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b0,i64 16
%b9=bitcast i8*%b8 to i32*
store i32 3,i32*%b9,align 4
%ca=call fastcc i32@_SMLLN12RecordLayout12compareValueE_162(i8*inreg%b0)
%cb=icmp eq i32%ca,0
br i1%cb,label%cc,label%bX
cc:
%cd=call i8*@sml_alloc(i32 inreg 20)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177296,i32*%cf,align 4
%cg=load i8*,i8**%c,align 8
%ch=bitcast i8*%cd to i8**
store i8*%cg,i8**%ch,align 8
%ci=load i8*,i8**%d,align 8
%cj=getelementptr inbounds i8,i8*%cd,i64 8
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cd,i64 16
%cm=bitcast i8*%cl to i32*
store i32 3,i32*%cm,align 4
%cn=tail call fastcc i32@_SMLLN12RecordLayout12compareValueE_162(i8*inreg%cd)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ay)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%az)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aA)
br label%co
co:
%cp=phi i32[%bY,%bX],[%cn,%cc],[%R,%M],[2,%cq]
ret i32%cp
cq:
%cr=getelementptr inbounds i8,i8*%o,i64 8
%cs=bitcast i8*%cr to i8**
%ct=load i8*,i8**%cs,align 8
store i8*%ct,i8**%e,align 8
%cu=bitcast i8*%r to i32*
%cv=load i32,i32*%cu,align 4
switch i32%cv,label%cw[
i32 1,label%cO
i32 0,label%co
]
cw:
call void@sml_matchcomp_bug()
%cx=load i8*,i8**@_SMLZ5Match,align 8
store i8*%cx,i8**%e,align 8
%cy=call i8*@sml_alloc(i32 inreg 20)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177296,i32*%cA,align 4
store i8*%cy,i8**%f,align 8
%cB=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@o,i64 0,i32 2,i64 0),i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cy,i64 16
%cG=bitcast i8*%cF to i32*
store i32 3,i32*%cG,align 4
%cH=call i8*@sml_alloc(i32 inreg 60)#0
%cI=getelementptr inbounds i8,i8*%cH,i64 -4
%cJ=bitcast i8*%cI to i32*
store i32 1342177336,i32*%cJ,align 4
%cK=getelementptr inbounds i8,i8*%cH,i64 56
%cL=bitcast i8*%cK to i32*
store i32 1,i32*%cL,align 4
%cM=load i8*,i8**%f,align 8
%cN=bitcast i8*%cH to i8**
store i8*%cM,i8**%cN,align 8
call void@sml_raise(i8*inreg%cH)#1
unreachable
cO:
%cP=getelementptr inbounds i8,i8*%r,i64 8
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
store i8*%cR,i8**%f,align 8
%cS=call i8*@sml_alloc(i32 inreg 20)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177296,i32*%cU,align 4
%cV=load i8*,i8**%e,align 8
%cW=bitcast i8*%cS to i8**
store i8*%cV,i8**%cW,align 8
%cX=load i8*,i8**%f,align 8
%cY=getelementptr inbounds i8,i8*%cS,i64 8
%cZ=bitcast i8*%cY to i8**
store i8*%cX,i8**%cZ,align 8
%c0=getelementptr inbounds i8,i8*%cS,i64 16
%c1=bitcast i8*%c0 to i32*
store i32 3,i32*%c1,align 4
%c2=tail call fastcc i32@_SMLLN12RecordLayout12compareValueE_162(i8*inreg%cS)
ret i32%c2
}
define internal fastcc i8*@_SMLLL212(i8*inreg%a)#4 gc"smlsharp"{
ret i8*%a
}
define internal fastcc i8*@_SMLLN12RecordLayout12extractDeclsE_214(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%l
i:
%j=bitcast i8*%a to i8**
%k=bitcast i8*%b to i8**
br label%q
l:
call void@sml_check(i32 inreg%g)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%d to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%l],[%j,%i]
%s=phi i8**[%n,%l],[%k,%i]
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=load i8*,i8**%r,align 8
%v=getelementptr inbounds i8,i8*%u,i64 48
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*,i8*)**
%A=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%d,align 8
%D=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 i8*%D,i8**%f,align 8
store i32 1,i32*%E,align 4
%H=call i8*@sml_alloc(i32 inreg 4)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 4,i32*%K,align 4
store i32 8,i32*%I,align 4
%L=load i8*,i8**%d,align 8
%M=load i8*,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%N=call fastcc i8*%A(i8*inreg%L,i8*inreg%M,i8*inreg%H)
store i8*%N,i8**%d,align 8
%O=call i8*@sml_alloc(i32 inreg 20)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
%R=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to i8**
store i8*null,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 16
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%X to i8**
call void@sml_write(i8*inreg%X,i8**inreg%Y,i8*inreg%O)#0
%Z=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=load i8*,i8**%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=tail call fastcc i8*%ac(i8*inreg%ae,i8*inreg%ai)
ret i8*%aj
}
define internal fastcc i8*@_SMLLN12RecordLayout7computeE_216(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%e,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%e,align 8
%p=load i8*,i8**%i,align 8
br label%q
q:
%r=phi i8*[%p,%n],[%a,%s]
%t=phi i8*[%o,%n],[%b,%s]
store i8*null,i8**%e,align 8
store i8*%t,i8**%f,align 8
%u=getelementptr inbounds i8,i8*%r,i64 8
%v=bitcast i8*%u to i8***
%w=load i8**,i8***%v,align 8
%x=load i8*,i8**%w,align 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%g,align 8
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%h,align 8
%D=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%D)
%E=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%E)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%t,i8**%c,align 8
br label%F
F:
%G=phi i8*[%t,%q],[%ii,%ih]
%H=load atomic i32,i32*@sml_check_flag unordered,align 4
%I=icmp eq i32%H,0
br i1%I,label%L,label%J
J:
call void@sml_check(i32 inreg%H)
%K=load i8*,i8**%c,align 8
br label%L
L:
%M=phi i8*[%K,%J],[%G,%F]
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
switch i32%O,label%P[
i32 1,label%a9
i32 0,label%ah
]
P:
call void@sml_matchcomp_bug()
%Q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%Q,i8**%c,align 8
%R=call i8*@sml_alloc(i32 inreg 20)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177296,i32*%T,align 4
store i8*%R,i8**%d,align 8
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@m,i64 0,i32 2,i64 0),i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to i32*
store i32 3,i32*%Z,align 4
%aa=call i8*@sml_alloc(i32 inreg 60)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177336,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%aa,i64 56
%ae=bitcast i8*%ad to i32*
store i32 1,i32*%ae,align 4
%af=load i8*,i8**%d,align 8
%ag=bitcast i8*%aa to i8**
store i8*%af,i8**%ag,align 8
call void@sml_raise(i8*inreg%aa)#1
unreachable
ah:
%ai=getelementptr inbounds i8,i8*%M,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=bitcast i8*%ak to i32*
%am=load i32,i32*%al,align 4
switch i32%am,label%an[
i32 0,label%jI
i32 6,label%iJ
i32 2,label%f3
i32 1,label%eI
i32 4,label%dJ
i32 3,label%b1
i32 5,label%aF
]
an:
call void@sml_matchcomp_bug()
%ao=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ao,i8**%c,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%d,align 8
%as=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@m,i64 0,i32 2,i64 0),i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
%ay=call i8*@sml_alloc(i32 inreg 60)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177336,i32*%aA,align 4
%aB=getelementptr inbounds i8,i8*%ay,i64 56
%aC=bitcast i8*%aB to i32*
store i32 1,i32*%aC,align 4
%aD=load i8*,i8**%d,align 8
%aE=bitcast i8*%ay to i8**
store i8*%aD,i8**%aE,align 8
call void@sml_raise(i8*inreg%ay)#1
unreachable
aF:
%aG=getelementptr inbounds i8,i8*%ak,i64 8
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
%aN=icmp eq i32%aM,1
br i1%aN,label%bp,label%aO
aO:
%aP=getelementptr inbounds i8,i8*%aI,i64 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
%aS=bitcast i8*%aR to i32*
%aT=load i32,i32*%aS,align 4
%aU=icmp eq i32%aT,1
br i1%aU,label%aV,label%a9
aV:
%aW=getelementptr inbounds i8,i8*%aR,i64 4
%aX=bitcast i8*%aW to i32*
%aY=load i32,i32*%aX,align 4
%aZ=icmp eq i32%aY,0
br i1%aZ,label%bd,label%a0
a0:
%a1=load i8*,i8**@_SMLZN12RuntimeTypes8word32TyE,align 8
%a2=getelementptr inbounds i8,i8*%a1,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
%a5=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%a4)
%a6=load i32,i32*@_SMLZN12RuntimeTypes8charBitsE,align 4
%a7=mul nsw i32%a6,%a5
%a8=icmp ult i32%aY,%a7
br i1%a8,label%bb,label%a9
a9:
%ba=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@l,i64 0,i32 2)to i8*),%a0],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@l,i64 0,i32 2)to i8*),%cj],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@l,i64 0,i32 2)to i8*),%bp],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@l,i64 0,i32 2)to i8*),%c8],[%M,%bx],[%M,%aO],[%M,%df],[%M,%iv],[%M,%jg],[%M,%iZ],[%M,%iY],[%M,%L],[%M,%b9],[%M,%gb],[%M,%gh]
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
bb:
%bc=load i8*,i8**%c,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
bd:
store i8*%aK,i8**%c,align 8
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=bitcast i8*%be to i32*
%bg=getelementptr inbounds i8,i8*%be,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177296,i32*%bh,align 4
%bi=getelementptr inbounds i8,i8*%be,i64 4
%bj=bitcast i8*%bi to i32*
store i32 0,i32*%bj,align 1
store i32 1,i32*%bf,align 4
%bk=load i8*,i8**%c,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 8
%bm=bitcast i8*%bl to i8**
store i8*%bk,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%be,i64 16
%bo=bitcast i8*%bn to i32*
store i32 2,i32*%bo,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
bp:
%bq=getelementptr inbounds i8,i8*%aK,i64 4
%br=bitcast i8*%bq to i32*
%bs=load i32,i32*%br,align 4
%bt=icmp eq i32%bs,0
%bu=getelementptr inbounds i8,i8*%aI,i64 8
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
br i1%bt,label%a9,label%bx
bx:
%by=bitcast i8*%bw to i32*
%bz=load i32,i32*%by,align 4
%bA=icmp eq i32%bz,1
br i1%bA,label%bB,label%a9
bB:
store i8*null,i8**%c,align 8
%bC=getelementptr inbounds i8,i8*%bw,i64 4
%bD=bitcast i8*%bC to i32*
%bE=load i32,i32*%bD,align 4
%bF=icmp ugt i32%bE,31
%bG=lshr i32%bs,%bE
%bH=select i1%bF,i32 0,i32%bG
%bI=call i8*@sml_alloc(i32 inreg 12)#0
%bJ=bitcast i8*%bI to i32*
%bK=getelementptr inbounds i8,i8*%bI,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177288,i32*%bL,align 4
store i8*%bI,i8**%c,align 8
store i32 1,i32*%bJ,align 4
%bM=getelementptr inbounds i8,i8*%bI,i64 4
%bN=bitcast i8*%bM to i32*
store i32%bH,i32*%bN,align 4
%bO=getelementptr inbounds i8,i8*%bI,i64 8
%bP=bitcast i8*%bO to i32*
store i32 0,i32*%bP,align 4
%bQ=call i8*@sml_alloc(i32 inreg 20)#0
%bR=bitcast i8*%bQ to i32*
%bS=getelementptr inbounds i8,i8*%bQ,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177296,i32*%bT,align 4
%bU=getelementptr inbounds i8,i8*%bQ,i64 4
%bV=bitcast i8*%bU to i32*
store i32 0,i32*%bV,align 1
store i32 1,i32*%bR,align 4
%bW=load i8*,i8**%c,align 8
%bX=getelementptr inbounds i8,i8*%bQ,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bQ,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 2,i32*%b0,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
b1:
%b2=getelementptr inbounds i8,i8*%ak,i64 8
%b3=bitcast i8*%b2 to i8***
%b4=load i8**,i8***%b3,align 8
%b5=load i8*,i8**%b4,align 8
store i8*%b5,i8**%d,align 8
%b6=bitcast i8*%b5 to i32*
%b7=load i32,i32*%b6,align 4
%b8=icmp eq i32%b7,1
br i1%b8,label%c8,label%b9
b9:
%ca=getelementptr inbounds i8*,i8**%b4,i64 1
%cb=load i8*,i8**%ca,align 8
%cc=bitcast i8*%cb to i32*
%cd=load i32,i32*%cc,align 4
%ce=icmp eq i32%cd,1
br i1%ce,label%cf,label%a9
cf:
%cg=getelementptr inbounds i8,i8*%cb,i64 4
%ch=bitcast i8*%cg to i32*
%ci=load i32,i32*%ch,align 4
switch i32%ci,label%cj[
i32 0,label%cW
i32 1,label%cu
]
cj:
store i8*null,i8**%d,align 8
%ck=load i8*,i8**@_SMLZN12RuntimeTypes8word32TyE,align 8
%cl=getelementptr inbounds i8,i8*%ck,i64 8
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
%co=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%cn)
%cp=load i32,i32*@_SMLZN12RuntimeTypes8charBitsE,align 4
%cq=mul nsw i32%cp,%co
%cr=icmp ult i32%ci,%cq
br i1%cr,label%cs,label%a9
cs:
%ct=load i8*,i8**%c,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
cu:
store i8*null,i8**%c,align 8
%cv=call i8*@sml_alloc(i32 inreg 20)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177296,i32*%cx,align 4
store i8*%cv,i8**%c,align 8
%cy=load i8*,i8**%d,align 8
%cz=bitcast i8*%cv to i8**
store i8*%cy,i8**%cz,align 8
store i8*null,i8**%d,align 8
%cA=getelementptr inbounds i8,i8*%cv,i64 8
%cB=bitcast i8*%cA to i8**
store i8*%cy,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cv,i64 16
%cD=bitcast i8*%cC to i32*
store i32 3,i32*%cD,align 4
%cE=call i8*@sml_alloc(i32 inreg 20)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177296,i32*%cG,align 4
store i8*%cE,i8**%d,align 8
%cH=bitcast i8*%cE to i64*
store i64 0,i64*%cH,align 4
%cI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cJ=getelementptr inbounds i8,i8*%cE,i64 8
%cK=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cE,i64 16
%cM=bitcast i8*%cL to i32*
store i32 2,i32*%cM,align 4
%cN=call i8*@sml_alloc(i32 inreg 20)#0
%cO=getelementptr inbounds i8,i8*%cN,i64 -4
%cP=bitcast i8*%cO to i32*
store i32 1342177296,i32*%cP,align 4
%cQ=bitcast i8*%cN to i64*
store i64 0,i64*%cQ,align 4
%cR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cS=getelementptr inbounds i8,i8*%cN,i64 8
%cT=bitcast i8*%cS to i8**
store i8*%cR,i8**%cT,align 8
%cU=getelementptr inbounds i8,i8*%cN,i64 16
%cV=bitcast i8*%cU to i32*
store i32 2,i32*%cV,align 4
store i8*%cN,i8**%c,align 8
br label%ih
cW:
store i8*null,i8**%c,align 8
%cX=call i8*@sml_alloc(i32 inreg 20)#0
%cY=bitcast i8*%cX to i32*
%cZ=getelementptr inbounds i8,i8*%cX,i64 -4
%c0=bitcast i8*%cZ to i32*
store i32 1342177296,i32*%c0,align 4
%c1=getelementptr inbounds i8,i8*%cX,i64 4
%c2=bitcast i8*%c1 to i32*
store i32 0,i32*%c2,align 1
store i32 1,i32*%cY,align 4
%c3=load i8*,i8**%d,align 8
%c4=getelementptr inbounds i8,i8*%cX,i64 8
%c5=bitcast i8*%c4 to i8**
store i8*%c3,i8**%c5,align 8
%c6=getelementptr inbounds i8,i8*%cX,i64 16
%c7=bitcast i8*%c6 to i32*
store i32 2,i32*%c7,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
c8:
store i8*null,i8**%d,align 8
%c9=getelementptr inbounds i8,i8*%b5,i64 4
%da=bitcast i8*%c9 to i32*
%db=load i32,i32*%da,align 4
%dc=icmp eq i32%db,0
%dd=getelementptr inbounds i8*,i8**%b4,i64 1
%de=load i8*,i8**%dd,align 8
br i1%dc,label%a9,label%df
df:
%dg=bitcast i8*%de to i32*
%dh=load i32,i32*%dg,align 4
%di=icmp eq i32%dh,1
br i1%di,label%dj,label%a9
dj:
store i8*null,i8**%c,align 8
%dk=getelementptr inbounds i8,i8*%de,i64 4
%dl=bitcast i8*%dk to i32*
%dm=load i32,i32*%dl,align 4
%dn=icmp ugt i32%dm,31
%do=shl i32%db,%dm
%dp=select i1%dn,i32 0,i32%do
%dq=call i8*@sml_alloc(i32 inreg 12)#0
%dr=bitcast i8*%dq to i32*
%ds=getelementptr inbounds i8,i8*%dq,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177288,i32*%dt,align 4
store i8*%dq,i8**%c,align 8
store i32 1,i32*%dr,align 4
%du=getelementptr inbounds i8,i8*%dq,i64 4
%dv=bitcast i8*%du to i32*
store i32%dp,i32*%dv,align 4
%dw=getelementptr inbounds i8,i8*%dq,i64 8
%dx=bitcast i8*%dw to i32*
store i32 0,i32*%dx,align 4
%dy=call i8*@sml_alloc(i32 inreg 20)#0
%dz=bitcast i8*%dy to i32*
%dA=getelementptr inbounds i8,i8*%dy,i64 -4
%dB=bitcast i8*%dA to i32*
store i32 1342177296,i32*%dB,align 4
%dC=getelementptr inbounds i8,i8*%dy,i64 4
%dD=bitcast i8*%dC to i32*
store i32 0,i32*%dD,align 1
store i32 1,i32*%dz,align 4
%dE=load i8*,i8**%c,align 8
%dF=getelementptr inbounds i8,i8*%dy,i64 8
%dG=bitcast i8*%dF to i8**
store i8*%dE,i8**%dG,align 8
%dH=getelementptr inbounds i8,i8*%dy,i64 16
%dI=bitcast i8*%dH to i32*
store i32 2,i32*%dI,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
dJ:
%dK=getelementptr inbounds i8,i8*%ak,i64 8
%dL=bitcast i8*%dK to i8**
%dM=load i8*,i8**%dL,align 8
%dN=bitcast i8*%dM to i8**
%dO=load i8*,i8**%dN,align 8
%dP=bitcast i8*%dO to i32*
%dQ=load i32,i32*%dP,align 4
%dR=icmp eq i32%dQ,1
%dS=getelementptr inbounds i8,i8*%dM,i64 8
%dT=bitcast i8*%dS to i8**
%dU=load i8*,i8**%dT,align 8
%dV=bitcast i8*%dU to i32*
%dW=load i32,i32*%dV,align 4
%dX=icmp eq i32%dW,1
br i1%dR,label%eg,label%dY
dY:
br i1%dX,label%dZ,label%kE
dZ:
%d0=getelementptr inbounds i8,i8*%dU,i64 4
%d1=bitcast i8*%d0 to i32*
%d2=load i32,i32*%d1,align 4
%d3=icmp eq i32%d2,0
br i1%d3,label%d4,label%kE
d4:
store i8*%dO,i8**%c,align 8
%d5=call i8*@sml_alloc(i32 inreg 20)#0
%d6=bitcast i8*%d5 to i32*
%d7=getelementptr inbounds i8,i8*%d5,i64 -4
%d8=bitcast i8*%d7 to i32*
store i32 1342177296,i32*%d8,align 4
%d9=getelementptr inbounds i8,i8*%d5,i64 4
%ea=bitcast i8*%d9 to i32*
store i32 0,i32*%ea,align 1
store i32 1,i32*%d6,align 4
%eb=load i8*,i8**%c,align 8
%ec=getelementptr inbounds i8,i8*%d5,i64 8
%ed=bitcast i8*%ec to i8**
store i8*%eb,i8**%ed,align 8
%ee=getelementptr inbounds i8,i8*%d5,i64 16
%ef=bitcast i8*%ee to i32*
store i32 2,i32*%ef,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
eg:
br i1%dX,label%eh,label%kE
eh:
%ei=getelementptr inbounds i8,i8*%dO,i64 4
%ej=bitcast i8*%ei to i32*
%ek=load i32,i32*%ej,align 4
%el=getelementptr inbounds i8,i8*%dU,i64 4
%em=bitcast i8*%el to i32*
%en=load i32,i32*%em,align 4
%eo=or i32%en,%ek
%ep=call i8*@sml_alloc(i32 inreg 12)#0
%eq=bitcast i8*%ep to i32*
%er=getelementptr inbounds i8,i8*%ep,i64 -4
%es=bitcast i8*%er to i32*
store i32 1342177288,i32*%es,align 4
store i8*%ep,i8**%c,align 8
store i32 1,i32*%eq,align 4
%et=getelementptr inbounds i8,i8*%ep,i64 4
%eu=bitcast i8*%et to i32*
store i32%eo,i32*%eu,align 4
%ev=getelementptr inbounds i8,i8*%ep,i64 8
%ew=bitcast i8*%ev to i32*
store i32 0,i32*%ew,align 4
%ex=call i8*@sml_alloc(i32 inreg 20)#0
%ey=bitcast i8*%ex to i32*
%ez=getelementptr inbounds i8,i8*%ex,i64 -4
%eA=bitcast i8*%ez to i32*
store i32 1342177296,i32*%eA,align 4
%eB=getelementptr inbounds i8,i8*%ex,i64 4
%eC=bitcast i8*%eB to i32*
store i32 0,i32*%eC,align 1
store i32 1,i32*%ey,align 4
%eD=load i8*,i8**%c,align 8
%eE=getelementptr inbounds i8,i8*%ex,i64 8
%eF=bitcast i8*%eE to i8**
store i8*%eD,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%ex,i64 16
%eH=bitcast i8*%eG to i32*
store i32 2,i32*%eH,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
eI:
%eJ=getelementptr inbounds i8,i8*%ak,i64 8
%eK=bitcast i8*%eJ to i8**
%eL=load i8*,i8**%eK,align 8
%eM=bitcast i8*%eL to i8**
%eN=load i8*,i8**%eM,align 8
%eO=bitcast i8*%eN to i32*
%eP=load i32,i32*%eO,align 4
%eQ=icmp eq i32%eP,1
%eR=getelementptr inbounds i8,i8*%eL,i64 8
%eS=bitcast i8*%eR to i8**
%eT=load i8*,i8**%eS,align 8
%eU=bitcast i8*%eT to i32*
%eV=load i32,i32*%eU,align 4
%eW=icmp eq i32%eV,1
br i1%eQ,label%fB,label%eX
eX:
br i1%eW,label%eY,label%k0
eY:
%eZ=getelementptr inbounds i8,i8*%eT,i64 4
%e0=bitcast i8*%eZ to i32*
%e1=load i32,i32*%e0,align 4
%e2=icmp eq i32%e1,-1
br i1%e2,label%e3,label%ff
e3:
store i8*%eN,i8**%c,align 8
%e4=call i8*@sml_alloc(i32 inreg 20)#0
%e5=bitcast i8*%e4 to i32*
%e6=getelementptr inbounds i8,i8*%e4,i64 -4
%e7=bitcast i8*%e6 to i32*
store i32 1342177296,i32*%e7,align 4
%e8=getelementptr inbounds i8,i8*%e4,i64 4
%e9=bitcast i8*%e8 to i32*
store i32 0,i32*%e9,align 1
store i32 1,i32*%e5,align 4
%fa=load i8*,i8**%c,align 8
%fb=getelementptr inbounds i8,i8*%e4,i64 8
%fc=bitcast i8*%fb to i8**
store i8*%fa,i8**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e4,i64 16
%fe=bitcast i8*%fd to i32*
store i32 2,i32*%fe,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
ff:
%fg=call fastcc i8*@_SMLLN12RecordLayout7commuteE_165(i8*inreg%eL)
store i8*%fg,i8**%c,align 8
%fh=call i8*@sml_alloc(i32 inreg 20)#0
%fi=getelementptr inbounds i8,i8*%fh,i64 -4
%fj=bitcast i8*%fi to i32*
store i32 1342177296,i32*%fj,align 4
store i8*%fh,i8**%d,align 8
%fk=getelementptr inbounds i8,i8*%fh,i64 4
%fl=bitcast i8*%fk to i32*
store i32 0,i32*%fl,align 1
%fm=bitcast i8*%fh to i32*
store i32 1,i32*%fm,align 4
%fn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fo=getelementptr inbounds i8,i8*%fh,i64 8
%fp=bitcast i8*%fo to i8**
store i8*%fn,i8**%fp,align 8
%fq=getelementptr inbounds i8,i8*%fh,i64 16
%fr=bitcast i8*%fq to i32*
store i32 2,i32*%fr,align 4
%fs=call i8*@sml_alloc(i32 inreg 20)#0
%ft=getelementptr inbounds i8,i8*%fs,i64 -4
%fu=bitcast i8*%ft to i32*
store i32 1342177296,i32*%fu,align 4
%fv=bitcast i8*%fs to i64*
store i64 0,i64*%fv,align 4
%fw=load i8*,i8**%d,align 8
%fx=getelementptr inbounds i8,i8*%fs,i64 8
%fy=bitcast i8*%fx to i8**
store i8*%fw,i8**%fy,align 8
%fz=getelementptr inbounds i8,i8*%fs,i64 16
%fA=bitcast i8*%fz to i32*
store i32 2,i32*%fA,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
fB:
br i1%eW,label%fC,label%k0
fC:
%fD=getelementptr inbounds i8,i8*%eN,i64 4
%fE=bitcast i8*%fD to i32*
%fF=load i32,i32*%fE,align 4
%fG=getelementptr inbounds i8,i8*%eT,i64 4
%fH=bitcast i8*%fG to i32*
%fI=load i32,i32*%fH,align 4
%fJ=and i32%fI,%fF
%fK=call i8*@sml_alloc(i32 inreg 12)#0
%fL=bitcast i8*%fK to i32*
%fM=getelementptr inbounds i8,i8*%fK,i64 -4
%fN=bitcast i8*%fM to i32*
store i32 1342177288,i32*%fN,align 4
store i8*%fK,i8**%c,align 8
store i32 1,i32*%fL,align 4
%fO=getelementptr inbounds i8,i8*%fK,i64 4
%fP=bitcast i8*%fO to i32*
store i32%fJ,i32*%fP,align 4
%fQ=getelementptr inbounds i8,i8*%fK,i64 8
%fR=bitcast i8*%fQ to i32*
store i32 0,i32*%fR,align 4
%fS=call i8*@sml_alloc(i32 inreg 20)#0
%fT=bitcast i8*%fS to i32*
%fU=getelementptr inbounds i8,i8*%fS,i64 -4
%fV=bitcast i8*%fU to i32*
store i32 1342177296,i32*%fV,align 4
%fW=getelementptr inbounds i8,i8*%fS,i64 4
%fX=bitcast i8*%fW to i32*
store i32 0,i32*%fX,align 1
store i32 1,i32*%fT,align 4
%fY=load i8*,i8**%c,align 8
%fZ=getelementptr inbounds i8,i8*%fS,i64 8
%f0=bitcast i8*%fZ to i8**
store i8*%fY,i8**%f0,align 8
%f1=getelementptr inbounds i8,i8*%fS,i64 16
%f2=bitcast i8*%f1 to i32*
store i32 2,i32*%f2,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
f3:
%f4=getelementptr inbounds i8,i8*%ak,i64 8
%f5=bitcast i8*%f4 to i8***
%f6=load i8**,i8***%f5,align 8
%f7=load i8*,i8**%f6,align 8
store i8*%f7,i8**%d,align 8
%f8=bitcast i8*%f7 to i32*
%f9=load i32,i32*%f8,align 4
%ga=icmp eq i32%f9,1
br i1%ga,label%iv,label%gb
gb:
%gc=getelementptr inbounds i8*,i8**%f6,i64 1
%gd=load i8*,i8**%gc,align 8
%ge=bitcast i8*%gd to i32*
%gf=load i32,i32*%ge,align 4
%gg=icmp eq i32%gf,1
br i1%gg,label%gh,label%a9
gh:
%gi=getelementptr inbounds i8,i8*%gd,i64 4
%gj=bitcast i8*%gi to i32*
%gk=load i32,i32*%gj,align 4
switch i32%gk,label%a9[
i32 1,label%ij
i32 2,label%hN
i32 4,label%hj
i32 8,label%gP
i32 16,label%gl
]
gl:
store i8*null,i8**%c,align 8
%gm=call i8*@sml_alloc(i32 inreg 20)#0
%gn=getelementptr inbounds i8,i8*%gm,i64 -4
%go=bitcast i8*%gn to i32*
store i32 1342177296,i32*%go,align 4
store i8*%gm,i8**%c,align 8
%gp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gq=bitcast i8*%gm to i8**
store i8*%gp,i8**%gq,align 8
%gr=getelementptr inbounds i8,i8*%gm,i64 8
%gs=bitcast i8*%gr to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@k,i64 0,i32 2)to i8*),i8**%gs,align 8
%gt=getelementptr inbounds i8,i8*%gm,i64 16
%gu=bitcast i8*%gt to i32*
store i32 3,i32*%gu,align 4
%gv=call i8*@sml_alloc(i32 inreg 20)#0
%gw=getelementptr inbounds i8,i8*%gv,i64 -4
%gx=bitcast i8*%gw to i32*
store i32 1342177296,i32*%gx,align 4
store i8*%gv,i8**%d,align 8
%gy=getelementptr inbounds i8,i8*%gv,i64 4
%gz=bitcast i8*%gy to i32*
store i32 0,i32*%gz,align 1
%gA=bitcast i8*%gv to i32*
store i32 5,i32*%gA,align 4
%gB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gC=getelementptr inbounds i8,i8*%gv,i64 8
%gD=bitcast i8*%gC to i8**
store i8*%gB,i8**%gD,align 8
%gE=getelementptr inbounds i8,i8*%gv,i64 16
%gF=bitcast i8*%gE to i32*
store i32 2,i32*%gF,align 4
%gG=call i8*@sml_alloc(i32 inreg 20)#0
%gH=getelementptr inbounds i8,i8*%gG,i64 -4
%gI=bitcast i8*%gH to i32*
store i32 1342177296,i32*%gI,align 4
%gJ=bitcast i8*%gG to i64*
store i64 0,i64*%gJ,align 4
%gK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gL=getelementptr inbounds i8,i8*%gG,i64 8
%gM=bitcast i8*%gL to i8**
store i8*%gK,i8**%gM,align 8
%gN=getelementptr inbounds i8,i8*%gG,i64 16
%gO=bitcast i8*%gN to i32*
store i32 2,i32*%gO,align 4
store i8*%gG,i8**%c,align 8
br label%ih
gP:
store i8*null,i8**%c,align 8
%gQ=call i8*@sml_alloc(i32 inreg 20)#0
%gR=getelementptr inbounds i8,i8*%gQ,i64 -4
%gS=bitcast i8*%gR to i32*
store i32 1342177296,i32*%gS,align 4
store i8*%gQ,i8**%c,align 8
%gT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gU=bitcast i8*%gQ to i8**
store i8*%gT,i8**%gU,align 8
%gV=getelementptr inbounds i8,i8*%gQ,i64 8
%gW=bitcast i8*%gV to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@j,i64 0,i32 2)to i8*),i8**%gW,align 8
%gX=getelementptr inbounds i8,i8*%gQ,i64 16
%gY=bitcast i8*%gX to i32*
store i32 3,i32*%gY,align 4
%gZ=call i8*@sml_alloc(i32 inreg 20)#0
%g0=getelementptr inbounds i8,i8*%gZ,i64 -4
%g1=bitcast i8*%g0 to i32*
store i32 1342177296,i32*%g1,align 4
store i8*%gZ,i8**%d,align 8
%g2=getelementptr inbounds i8,i8*%gZ,i64 4
%g3=bitcast i8*%g2 to i32*
store i32 0,i32*%g3,align 1
%g4=bitcast i8*%gZ to i32*
store i32 5,i32*%g4,align 4
%g5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%g6=getelementptr inbounds i8,i8*%gZ,i64 8
%g7=bitcast i8*%g6 to i8**
store i8*%g5,i8**%g7,align 8
%g8=getelementptr inbounds i8,i8*%gZ,i64 16
%g9=bitcast i8*%g8 to i32*
store i32 2,i32*%g9,align 4
%ha=call i8*@sml_alloc(i32 inreg 20)#0
%hb=getelementptr inbounds i8,i8*%ha,i64 -4
%hc=bitcast i8*%hb to i32*
store i32 1342177296,i32*%hc,align 4
%hd=bitcast i8*%ha to i64*
store i64 0,i64*%hd,align 4
%he=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hf=getelementptr inbounds i8,i8*%ha,i64 8
%hg=bitcast i8*%hf to i8**
store i8*%he,i8**%hg,align 8
%hh=getelementptr inbounds i8,i8*%ha,i64 16
%hi=bitcast i8*%hh to i32*
store i32 2,i32*%hi,align 4
store i8*%ha,i8**%c,align 8
br label%ih
hj:
store i8*null,i8**%c,align 8
%hk=call i8*@sml_alloc(i32 inreg 20)#0
%hl=getelementptr inbounds i8,i8*%hk,i64 -4
%hm=bitcast i8*%hl to i32*
store i32 1342177296,i32*%hm,align 4
store i8*%hk,i8**%c,align 8
%hn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ho=bitcast i8*%hk to i8**
store i8*%hn,i8**%ho,align 8
%hp=getelementptr inbounds i8,i8*%hk,i64 8
%hq=bitcast i8*%hp to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@i,i64 0,i32 2)to i8*),i8**%hq,align 8
%hr=getelementptr inbounds i8,i8*%hk,i64 16
%hs=bitcast i8*%hr to i32*
store i32 3,i32*%hs,align 4
%ht=call i8*@sml_alloc(i32 inreg 20)#0
%hu=getelementptr inbounds i8,i8*%ht,i64 -4
%hv=bitcast i8*%hu to i32*
store i32 1342177296,i32*%hv,align 4
store i8*%ht,i8**%d,align 8
%hw=getelementptr inbounds i8,i8*%ht,i64 4
%hx=bitcast i8*%hw to i32*
store i32 0,i32*%hx,align 1
%hy=bitcast i8*%ht to i32*
store i32 5,i32*%hy,align 4
%hz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hA=getelementptr inbounds i8,i8*%ht,i64 8
%hB=bitcast i8*%hA to i8**
store i8*%hz,i8**%hB,align 8
%hC=getelementptr inbounds i8,i8*%ht,i64 16
%hD=bitcast i8*%hC to i32*
store i32 2,i32*%hD,align 4
%hE=call i8*@sml_alloc(i32 inreg 20)#0
%hF=getelementptr inbounds i8,i8*%hE,i64 -4
%hG=bitcast i8*%hF to i32*
store i32 1342177296,i32*%hG,align 4
%hH=bitcast i8*%hE to i64*
store i64 0,i64*%hH,align 4
%hI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hJ=getelementptr inbounds i8,i8*%hE,i64 8
%hK=bitcast i8*%hJ to i8**
store i8*%hI,i8**%hK,align 8
%hL=getelementptr inbounds i8,i8*%hE,i64 16
%hM=bitcast i8*%hL to i32*
store i32 2,i32*%hM,align 4
store i8*%hE,i8**%c,align 8
br label%ih
hN:
store i8*null,i8**%c,align 8
%hO=call i8*@sml_alloc(i32 inreg 20)#0
%hP=getelementptr inbounds i8,i8*%hO,i64 -4
%hQ=bitcast i8*%hP to i32*
store i32 1342177296,i32*%hQ,align 4
store i8*%hO,i8**%c,align 8
%hR=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@s,i64 0,i32 2)to i8*),i8**%hU,align 8
%hV=getelementptr inbounds i8,i8*%hO,i64 16
%hW=bitcast i8*%hV to i32*
store i32 3,i32*%hW,align 4
%hX=call i8*@sml_alloc(i32 inreg 20)#0
%hY=getelementptr inbounds i8,i8*%hX,i64 -4
%hZ=bitcast i8*%hY to i32*
store i32 1342177296,i32*%hZ,align 4
store i8*%hX,i8**%d,align 8
%h0=getelementptr inbounds i8,i8*%hX,i64 4
%h1=bitcast i8*%h0 to i32*
store i32 0,i32*%h1,align 1
%h2=bitcast i8*%hX to i32*
store i32 5,i32*%h2,align 4
%h3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%h4=getelementptr inbounds i8,i8*%hX,i64 8
%h5=bitcast i8*%h4 to i8**
store i8*%h3,i8**%h5,align 8
%h6=getelementptr inbounds i8,i8*%hX,i64 16
%h7=bitcast i8*%h6 to i32*
store i32 2,i32*%h7,align 4
%h8=call i8*@sml_alloc(i32 inreg 20)#0
%h9=getelementptr inbounds i8,i8*%h8,i64 -4
%ia=bitcast i8*%h9 to i32*
store i32 1342177296,i32*%ia,align 4
%ib=bitcast i8*%h8 to i64*
store i64 0,i64*%ib,align 4
%ic=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%id=getelementptr inbounds i8,i8*%h8,i64 8
%ie=bitcast i8*%id to i8**
store i8*%ic,i8**%ie,align 8
%if=getelementptr inbounds i8,i8*%h8,i64 16
%ig=bitcast i8*%if to i32*
store i32 2,i32*%ig,align 4
store i8*%h8,i8**%c,align 8
br label%ih
ih:
%ii=phi i8*[%cN,%cu],[%gG,%gl],[%ha,%gP],[%hE,%hj],[%h8,%hN]
br label%F
ij:
store i8*null,i8**%c,align 8
%ik=call i8*@sml_alloc(i32 inreg 20)#0
%il=bitcast i8*%ik to i32*
%im=getelementptr inbounds i8,i8*%ik,i64 -4
%in=bitcast i8*%im to i32*
store i32 1342177296,i32*%in,align 4
%io=getelementptr inbounds i8,i8*%ik,i64 4
%ip=bitcast i8*%io to i32*
store i32 0,i32*%ip,align 1
store i32 1,i32*%il,align 4
%iq=load i8*,i8**%d,align 8
%ir=getelementptr inbounds i8,i8*%ik,i64 8
%is=bitcast i8*%ir to i8**
store i8*%iq,i8**%is,align 8
%it=getelementptr inbounds i8,i8*%ik,i64 16
%iu=bitcast i8*%it to i32*
store i32 2,i32*%iu,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
iv:
store i8*null,i8**%d,align 8
%iw=getelementptr inbounds i8,i8*%f7,i64 4
%ix=bitcast i8*%iw to i32*
%iy=load i32,i32*%ix,align 4
%iz=getelementptr inbounds i8*,i8**%f6,i64 1
%iA=load i8*,i8**%iz,align 8
%iB=bitcast i8*%iA to i32*
%iC=load i32,i32*%iB,align 4
%iD=icmp eq i32%iC,1
br i1%iD,label%iE,label%a9
iE:
%iF=getelementptr inbounds i8,i8*%iA,i64 4
%iG=bitcast i8*%iF to i32*
%iH=load i32,i32*%iG,align 4
%iI=icmp eq i32%iH,0
br i1%iI,label%lH,label%lm
iJ:
%iK=getelementptr inbounds i8,i8*%ak,i64 8
%iL=bitcast i8*%iK to i8**
%iM=load i8*,i8**%iL,align 8
%iN=bitcast i8*%iM to i8**
%iO=load i8*,i8**%iN,align 8
%iP=bitcast i8*%iO to i32*
%iQ=load i32,i32*%iP,align 4
%iR=icmp eq i32%iQ,1
%iS=getelementptr inbounds i8,i8*%iM,i64 8
%iT=bitcast i8*%iS to i8**
%iU=load i8*,i8**%iT,align 8
%iV=bitcast i8*%iU to i32*
%iW=load i32,i32*%iV,align 4
%iX=icmp eq i32%iW,1
br i1%iR,label%jg,label%iY
iY:
br i1%iX,label%iZ,label%a9
iZ:
%i0=getelementptr inbounds i8,i8*%iU,i64 4
%i1=bitcast i8*%i0 to i32*
%i2=load i32,i32*%i1,align 4
%i3=icmp eq i32%i2,0
br i1%i3,label%i4,label%a9
i4:
store i8*%iO,i8**%c,align 8
%i5=call i8*@sml_alloc(i32 inreg 20)#0
%i6=bitcast i8*%i5 to i32*
%i7=getelementptr inbounds i8,i8*%i5,i64 -4
%i8=bitcast i8*%i7 to i32*
store i32 1342177296,i32*%i8,align 4
%i9=getelementptr inbounds i8,i8*%i5,i64 4
%ja=bitcast i8*%i9 to i32*
store i32 0,i32*%ja,align 1
store i32 1,i32*%i6,align 4
%jb=load i8*,i8**%c,align 8
%jc=getelementptr inbounds i8,i8*%i5,i64 8
%jd=bitcast i8*%jc to i8**
store i8*%jb,i8**%jd,align 8
%je=getelementptr inbounds i8,i8*%i5,i64 16
%jf=bitcast i8*%je to i32*
store i32 2,i32*%jf,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
jg:
br i1%iX,label%jh,label%a9
jh:
%ji=getelementptr inbounds i8,i8*%iO,i64 4
%jj=bitcast i8*%ji to i32*
%jk=load i32,i32*%jj,align 4
store i8*null,i8**%c,align 8
%jl=getelementptr inbounds i8,i8*%iU,i64 4
%jm=bitcast i8*%jl to i32*
%jn=load i32,i32*%jm,align 4
%jo=sub i32%jk,%jn
%jp=call i8*@sml_alloc(i32 inreg 12)#0
%jq=bitcast i8*%jp to i32*
%jr=getelementptr inbounds i8,i8*%jp,i64 -4
%js=bitcast i8*%jr to i32*
store i32 1342177288,i32*%js,align 4
store i8*%jp,i8**%c,align 8
store i32 1,i32*%jq,align 4
%jt=getelementptr inbounds i8,i8*%jp,i64 4
%ju=bitcast i8*%jt to i32*
store i32%jo,i32*%ju,align 4
%jv=getelementptr inbounds i8,i8*%jp,i64 8
%jw=bitcast i8*%jv to i32*
store i32 0,i32*%jw,align 4
%jx=call i8*@sml_alloc(i32 inreg 20)#0
%jy=bitcast i8*%jx to i32*
%jz=getelementptr inbounds i8,i8*%jx,i64 -4
%jA=bitcast i8*%jz to i32*
store i32 1342177296,i32*%jA,align 4
%jB=getelementptr inbounds i8,i8*%jx,i64 4
%jC=bitcast i8*%jB to i32*
store i32 0,i32*%jC,align 1
store i32 1,i32*%jy,align 4
%jD=load i8*,i8**%c,align 8
%jE=getelementptr inbounds i8,i8*%jx,i64 8
%jF=bitcast i8*%jE to i8**
store i8*%jD,i8**%jF,align 8
%jG=getelementptr inbounds i8,i8*%jx,i64 16
%jH=bitcast i8*%jG to i32*
store i32 2,i32*%jH,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
jI:
%jJ=getelementptr inbounds i8,i8*%ak,i64 8
%jK=bitcast i8*%jJ to i8**
%jL=load i8*,i8**%jK,align 8
%jM=bitcast i8*%jL to i8**
%jN=load i8*,i8**%jM,align 8
%jO=bitcast i8*%jN to i32*
%jP=load i32,i32*%jO,align 4
%jQ=icmp eq i32%jP,1
br i1%jQ,label%kf,label%jR
jR:
%jS=getelementptr inbounds i8,i8*%jL,i64 8
%jT=bitcast i8*%jS to i8**
%jU=load i8*,i8**%jT,align 8
%jV=bitcast i8*%jU to i32*
%jW=load i32,i32*%jV,align 4
%jX=icmp eq i32%jW,1
br i1%jX,label%jY,label%lZ
jY:
%jZ=getelementptr inbounds i8,i8*%jU,i64 4
%j0=bitcast i8*%jZ to i32*
%j1=load i32,i32*%j0,align 4
%j2=icmp eq i32%j1,0
br i1%j2,label%j3,label%lZ
j3:
store i8*%jN,i8**%c,align 8
%j4=call i8*@sml_alloc(i32 inreg 20)#0
%j5=bitcast i8*%j4 to i32*
%j6=getelementptr inbounds i8,i8*%j4,i64 -4
%j7=bitcast i8*%j6 to i32*
store i32 1342177296,i32*%j7,align 4
%j8=getelementptr inbounds i8,i8*%j4,i64 4
%j9=bitcast i8*%j8 to i32*
store i32 0,i32*%j9,align 1
store i32 1,i32*%j5,align 4
%ka=load i8*,i8**%c,align 8
%kb=getelementptr inbounds i8,i8*%j4,i64 8
%kc=bitcast i8*%kb to i8**
store i8*%ka,i8**%kc,align 8
%kd=getelementptr inbounds i8,i8*%j4,i64 16
%ke=bitcast i8*%kd to i32*
store i32 2,i32*%ke,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
kf:
%kg=getelementptr inbounds i8,i8*%jN,i64 4
%kh=bitcast i8*%kg to i32*
%ki=load i32,i32*%kh,align 4
%kj=icmp eq i32%ki,0
%kk=getelementptr inbounds i8,i8*%jL,i64 8
%kl=bitcast i8*%kk to i8**
%km=load i8*,i8**%kl,align 8
%kn=bitcast i8*%km to i32*
%ko=load i32,i32*%kn,align 4
%kp=icmp eq i32%ko,1
br i1%kj,label%kr,label%kq
kq:
br i1%kp,label%mj,label%lZ
kr:
br i1%kp,label%mj,label%ks
ks:
store i8*%km,i8**%c,align 8
%kt=call i8*@sml_alloc(i32 inreg 20)#0
%ku=bitcast i8*%kt to i32*
%kv=getelementptr inbounds i8,i8*%kt,i64 -4
%kw=bitcast i8*%kv to i32*
store i32 1342177296,i32*%kw,align 4
%kx=getelementptr inbounds i8,i8*%kt,i64 4
%ky=bitcast i8*%kx to i32*
store i32 0,i32*%ky,align 1
store i32 1,i32*%ku,align 4
%kz=load i8*,i8**%c,align 8
%kA=getelementptr inbounds i8,i8*%kt,i64 8
%kB=bitcast i8*%kA to i8**
store i8*%kz,i8**%kB,align 8
%kC=getelementptr inbounds i8,i8*%kt,i64 16
%kD=bitcast i8*%kC to i32*
store i32 2,i32*%kD,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
kE:
%kF=call fastcc i8*@_SMLLN12RecordLayout7commuteE_165(i8*inreg%dM)
store i8*%kF,i8**%c,align 8
%kG=call i8*@sml_alloc(i32 inreg 20)#0
%kH=getelementptr inbounds i8,i8*%kG,i64 -4
%kI=bitcast i8*%kH to i32*
store i32 1342177296,i32*%kI,align 4
store i8*%kG,i8**%d,align 8
%kJ=getelementptr inbounds i8,i8*%kG,i64 4
%kK=bitcast i8*%kJ to i32*
store i32 0,i32*%kK,align 1
%kL=bitcast i8*%kG to i32*
store i32 4,i32*%kL,align 4
%kM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kN=getelementptr inbounds i8,i8*%kG,i64 8
%kO=bitcast i8*%kN to i8**
store i8*%kM,i8**%kO,align 8
%kP=getelementptr inbounds i8,i8*%kG,i64 16
%kQ=bitcast i8*%kP to i32*
store i32 2,i32*%kQ,align 4
%kR=call i8*@sml_alloc(i32 inreg 20)#0
%kS=getelementptr inbounds i8,i8*%kR,i64 -4
%kT=bitcast i8*%kS to i32*
store i32 1342177296,i32*%kT,align 4
%kU=bitcast i8*%kR to i64*
store i64 0,i64*%kU,align 4
%kV=load i8*,i8**%d,align 8
%kW=getelementptr inbounds i8,i8*%kR,i64 8
%kX=bitcast i8*%kW to i8**
store i8*%kV,i8**%kX,align 8
%kY=getelementptr inbounds i8,i8*%kR,i64 16
%kZ=bitcast i8*%kY to i32*
store i32 2,i32*%kZ,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
k0:
%k1=call fastcc i8*@_SMLLN12RecordLayout7commuteE_165(i8*inreg%eL)
store i8*%k1,i8**%c,align 8
%k2=call i8*@sml_alloc(i32 inreg 20)#0
%k3=getelementptr inbounds i8,i8*%k2,i64 -4
%k4=bitcast i8*%k3 to i32*
store i32 1342177296,i32*%k4,align 4
store i8*%k2,i8**%d,align 8
%k5=getelementptr inbounds i8,i8*%k2,i64 4
%k6=bitcast i8*%k5 to i32*
store i32 0,i32*%k6,align 1
%k7=bitcast i8*%k2 to i32*
store i32 1,i32*%k7,align 4
%k8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k9=getelementptr inbounds i8,i8*%k2,i64 8
%la=bitcast i8*%k9 to i8**
store i8*%k8,i8**%la,align 8
%lb=getelementptr inbounds i8,i8*%k2,i64 16
%lc=bitcast i8*%lb to i32*
store i32 2,i32*%lc,align 4
%ld=call i8*@sml_alloc(i32 inreg 20)#0
%le=getelementptr inbounds i8,i8*%ld,i64 -4
%lf=bitcast i8*%le to i32*
store i32 1342177296,i32*%lf,align 4
%lg=bitcast i8*%ld to i64*
store i64 0,i64*%lg,align 4
%lh=load i8*,i8**%d,align 8
%li=getelementptr inbounds i8,i8*%ld,i64 8
%lj=bitcast i8*%li to i8**
store i8*%lh,i8**%lj,align 8
%lk=getelementptr inbounds i8,i8*%ld,i64 16
%ll=bitcast i8*%lk to i32*
store i32 2,i32*%ll,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
lm:
%ln=udiv i32%iy,%iH
%lo=call i8*@sml_alloc(i32 inreg 12)#0
%lp=bitcast i8*%lo to i32*
%lq=getelementptr inbounds i8,i8*%lo,i64 -4
%lr=bitcast i8*%lq to i32*
store i32 1342177288,i32*%lr,align 4
store i8*%lo,i8**%c,align 8
store i32 1,i32*%lp,align 4
%ls=getelementptr inbounds i8,i8*%lo,i64 4
%lt=bitcast i8*%ls to i32*
store i32%ln,i32*%lt,align 4
%lu=getelementptr inbounds i8,i8*%lo,i64 8
%lv=bitcast i8*%lu to i32*
store i32 0,i32*%lv,align 4
%lw=call i8*@sml_alloc(i32 inreg 20)#0
%lx=bitcast i8*%lw to i32*
%ly=getelementptr inbounds i8,i8*%lw,i64 -4
%lz=bitcast i8*%ly to i32*
store i32 1342177296,i32*%lz,align 4
%lA=getelementptr inbounds i8,i8*%lw,i64 4
%lB=bitcast i8*%lA to i32*
store i32 0,i32*%lB,align 1
store i32 1,i32*%lx,align 4
%lC=load i8*,i8**%c,align 8
%lD=getelementptr inbounds i8,i8*%lw,i64 8
%lE=bitcast i8*%lD to i8**
store i8*%lC,i8**%lE,align 8
%lF=getelementptr inbounds i8,i8*%lw,i64 16
%lG=bitcast i8*%lF to i32*
store i32 2,i32*%lG,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
lH:
%lI=load i8*,i8**@_SMLZ3Div,align 8
store i8*%lI,i8**%c,align 8
%lJ=call i8*@sml_alloc(i32 inreg 20)#0
%lK=getelementptr inbounds i8,i8*%lJ,i64 -4
%lL=bitcast i8*%lK to i32*
store i32 1342177296,i32*%lL,align 4
store i8*%lJ,i8**%d,align 8
%lM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lN=bitcast i8*%lJ to i8**
store i8*%lM,i8**%lN,align 8
%lO=getelementptr inbounds i8,i8*%lJ,i64 8
%lP=bitcast i8*%lO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@h,i64 0,i32 2,i64 0),i8**%lP,align 8
%lQ=getelementptr inbounds i8,i8*%lJ,i64 16
%lR=bitcast i8*%lQ to i32*
store i32 3,i32*%lR,align 4
%lS=call i8*@sml_alloc(i32 inreg 60)#0
%lT=getelementptr inbounds i8,i8*%lS,i64 -4
%lU=bitcast i8*%lT to i32*
store i32 1342177336,i32*%lU,align 4
%lV=getelementptr inbounds i8,i8*%lS,i64 56
%lW=bitcast i8*%lV to i32*
store i32 1,i32*%lW,align 4
%lX=load i8*,i8**%d,align 8
%lY=bitcast i8*%lS to i8**
store i8*%lX,i8**%lY,align 8
call void@sml_raise(i8*inreg%lS)#1
unreachable
lZ:
%l0=call fastcc i8*@_SMLLN12RecordLayout7commuteE_165(i8*inreg%jL)
store i8*%l0,i8**%c,align 8
%l1=call i8*@sml_alloc(i32 inreg 20)#0
%l2=getelementptr inbounds i8,i8*%l1,i64 -4
%l3=bitcast i8*%l2 to i32*
store i32 1342177296,i32*%l3,align 4
store i8*%l1,i8**%d,align 8
%l4=bitcast i8*%l1 to i64*
store i64 0,i64*%l4,align 4
%l5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l6=getelementptr inbounds i8,i8*%l1,i64 8
%l7=bitcast i8*%l6 to i8**
store i8*%l5,i8**%l7,align 8
%l8=getelementptr inbounds i8,i8*%l1,i64 16
%l9=bitcast i8*%l8 to i32*
store i32 2,i32*%l9,align 4
%ma=call i8*@sml_alloc(i32 inreg 20)#0
%mb=getelementptr inbounds i8,i8*%ma,i64 -4
%mc=bitcast i8*%mb to i32*
store i32 1342177296,i32*%mc,align 4
%md=bitcast i8*%ma to i64*
store i64 0,i64*%md,align 4
%me=load i8*,i8**%d,align 8
%mf=getelementptr inbounds i8,i8*%ma,i64 8
%mg=bitcast i8*%mf to i8**
store i8*%me,i8**%mg,align 8
%mh=getelementptr inbounds i8,i8*%ma,i64 16
%mi=bitcast i8*%mh to i32*
store i32 2,i32*%mi,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
mj:
%mk=getelementptr inbounds i8,i8*%km,i64 4
%ml=bitcast i8*%mk to i32*
%mm=load i32,i32*%ml,align 4
%mn=add i32%mm,%ki
%mo=call i8*@sml_alloc(i32 inreg 12)#0
%mp=bitcast i8*%mo to i32*
%mq=getelementptr inbounds i8,i8*%mo,i64 -4
%mr=bitcast i8*%mq to i32*
store i32 1342177288,i32*%mr,align 4
store i8*%mo,i8**%c,align 8
store i32 1,i32*%mp,align 4
%ms=getelementptr inbounds i8,i8*%mo,i64 4
%mt=bitcast i8*%ms to i32*
store i32%mn,i32*%mt,align 4
%mu=getelementptr inbounds i8,i8*%mo,i64 8
%mv=bitcast i8*%mu to i32*
store i32 0,i32*%mv,align 4
%mw=call i8*@sml_alloc(i32 inreg 20)#0
%mx=bitcast i8*%mw to i32*
%my=getelementptr inbounds i8,i8*%mw,i64 -4
%mz=bitcast i8*%my to i32*
store i32 1342177296,i32*%mz,align 4
%mA=getelementptr inbounds i8,i8*%mw,i64 4
%mB=bitcast i8*%mA to i32*
store i32 0,i32*%mB,align 1
store i32 1,i32*%mx,align 4
%mC=load i8*,i8**%c,align 8
%mD=getelementptr inbounds i8,i8*%mw,i64 8
%mE=bitcast i8*%mD to i8**
store i8*%mC,i8**%mE,align 8
%mF=getelementptr inbounds i8,i8*%mw,i64 16
%mG=bitcast i8*%mF to i32*
store i32 2,i32*%mG,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
br label%mH
mH:
%mI=phi i8*[%ba,%a9],[%bc,%bb],[%be,%bd],[%bQ,%bB],[%ct,%cs],[%cX,%cW],[%dy,%dj],[%d5,%d4],[%ex,%eh],[%e4,%e3],[%fs,%ff],[%fS,%fC],[%ik,%ij],[%i5,%i4],[%jx,%jh],[%j4,%j3],[%kt,%ks],[%kR,%kE],[%ld,%k0],[%lw,%lm],[%ma,%lZ],[%mw,%mj]
%mJ=bitcast i8*%mI to i32*
%mK=load i32,i32*%mJ,align 4
switch i32%mK,label%mL[
i32 1,label%pt
i32 0,label%m3
]
mL:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
call void@sml_matchcomp_bug()
%mM=load i8*,i8**@_SMLZ5Match,align 8
store i8*%mM,i8**%e,align 8
%mN=call i8*@sml_alloc(i32 inreg 20)#0
%mO=getelementptr inbounds i8,i8*%mN,i64 -4
%mP=bitcast i8*%mO to i32*
store i32 1342177296,i32*%mP,align 4
store i8*%mN,i8**%f,align 8
%mQ=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@r,i64 0,i32 2,i64 0),i8**%mT,align 8
%mU=getelementptr inbounds i8,i8*%mN,i64 16
%mV=bitcast i8*%mU to i32*
store i32 3,i32*%mV,align 4
%mW=call i8*@sml_alloc(i32 inreg 60)#0
%mX=getelementptr inbounds i8,i8*%mW,i64 -4
%mY=bitcast i8*%mX to i32*
store i32 1342177336,i32*%mY,align 4
%mZ=getelementptr inbounds i8,i8*%mW,i64 56
%m0=bitcast i8*%mZ to i32*
store i32 1,i32*%m0,align 4
%m1=load i8*,i8**%f,align 8
%m2=bitcast i8*%mW to i8**
store i8*%m1,i8**%m2,align 8
call void@sml_raise(i8*inreg%mW)#1
unreachable
m3:
%m4=bitcast i8**%i to i8***
%m5=load i8**,i8***%m4,align 8
%m6=load i8*,i8**%m5,align 8
%m7=getelementptr inbounds i8,i8*%m6,i64 88
%m8=bitcast i8*%m7 to i8**
%m9=load i8*,i8**%m8,align 8
%na=getelementptr inbounds i8,i8*%m9,i64 16
%nb=bitcast i8*%na to i8*(i8*,i8*,i8*)**
%nc=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%nb,align 8
%nd=bitcast i8*%m9 to i8**
%ne=load i8*,i8**%nd,align 8
store i8*%ne,i8**%e,align 8
%nf=call i8*@sml_alloc(i32 inreg 4)#0
%ng=bitcast i8*%nf to i32*
%nh=getelementptr inbounds i8,i8*%nf,i64 -4
%ni=bitcast i8*%nh to i32*
store i32 4,i32*%ni,align 4
store i8*%nf,i8**%j,align 8
store i32 1,i32*%ng,align 4
%nj=call i8*@sml_alloc(i32 inreg 4)#0
%nk=bitcast i8*%nj to i32*
%nl=getelementptr inbounds i8,i8*%nj,i64 -4
%nm=bitcast i8*%nl to i32*
store i32 4,i32*%nm,align 4
store i32 8,i32*%nk,align 4
%nn=load i8*,i8**%e,align 8
%no=load i8*,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%j,align 8
%np=call fastcc i8*%nc(i8*inreg%nn,i8*inreg%no,i8*inreg%nj)
%nq=getelementptr inbounds i8,i8*%np,i64 16
%nr=bitcast i8*%nq to i8*(i8*,i8*)**
%ns=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nr,align 8
%nt=bitcast i8*%np to i8**
%nu=load i8*,i8**%nt,align 8
store i8*%nu,i8**%e,align 8
%nv=call i8*@sml_alloc(i32 inreg 20)#0
%nw=getelementptr inbounds i8,i8*%nv,i64 -4
%nx=bitcast i8*%nw to i32*
store i32 1342177296,i32*%nx,align 4
%ny=load i8*,i8**%g,align 8
%nz=bitcast i8*%nv to i8**
store i8*%ny,i8**%nz,align 8
%nA=load i8*,i8**%f,align 8
%nB=getelementptr inbounds i8,i8*%nv,i64 8
%nC=bitcast i8*%nB to i8**
store i8*%nA,i8**%nC,align 8
%nD=getelementptr inbounds i8,i8*%nv,i64 16
%nE=bitcast i8*%nD to i32*
store i32 3,i32*%nE,align 4
%nF=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%nG=call fastcc i8*%ns(i8*inreg%nF,i8*inreg%nv)
%nH=icmp eq i8*%nG,null
br i1%nH,label%nI,label%ph
nI:
%nJ=call fastcc i32@_SMLFN5VarID8generateE(i32 inreg 0)
%nK=call i8*@sml_alloc(i32 inreg 20)#0
%nL=getelementptr inbounds i8,i8*%nK,i64 -4
%nM=bitcast i8*%nL to i32*
store i32 1342177296,i32*%nM,align 4
store i8*%nK,i8**%e,align 8
%nN=getelementptr inbounds i8,i8*%nK,i64 4
%nO=bitcast i8*%nN to i32*
store i32 0,i32*%nO,align 1
%nP=bitcast i8*%nK to i32*
store i32%nJ,i32*%nP,align 4
%nQ=getelementptr inbounds i8,i8*%nK,i64 8
%nR=bitcast i8*%nQ to i8**
store i8*null,i8**%nR,align 8
%nS=getelementptr inbounds i8,i8*%nK,i64 16
%nT=bitcast i8*%nS to i32*
store i32 2,i32*%nT,align 4
%nU=load i8**,i8***%m4,align 8
%nV=load i8*,i8**%nU,align 8
%nW=getelementptr inbounds i8,i8*%nV,i64 152
%nX=bitcast i8*%nW to i8**
%nY=load i8*,i8**%nX,align 8
%nZ=getelementptr inbounds i8,i8*%nY,i64 16
%n0=bitcast i8*%nZ to i8*(i8*,i8*,i8*)**
%n1=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%n0,align 8
%n2=bitcast i8*%nY to i8**
%n3=load i8*,i8**%n2,align 8
store i8*%n3,i8**%j,align 8
%n4=call i8*@sml_alloc(i32 inreg 4)#0
%n5=bitcast i8*%n4 to i32*
%n6=getelementptr inbounds i8,i8*%n4,i64 -4
%n7=bitcast i8*%n6 to i32*
store i32 4,i32*%n7,align 4
store i8*%n4,i8**%k,align 8
store i32 1,i32*%n5,align 4
%n8=call i8*@sml_alloc(i32 inreg 4)#0
%n9=bitcast i8*%n8 to i32*
%oa=getelementptr inbounds i8,i8*%n8,i64 -4
%ob=bitcast i8*%oa to i32*
store i32 4,i32*%ob,align 4
store i32 8,i32*%n9,align 4
%oc=load i8*,i8**%j,align 8
%od=load i8*,i8**%k,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%oe=call fastcc i8*%n1(i8*inreg%oc,i8*inreg%od,i8*inreg%n8)
%of=getelementptr inbounds i8,i8*%oe,i64 16
%og=bitcast i8*%of to i8*(i8*,i8*)**
%oh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%og,align 8
%oi=bitcast i8*%oe to i8**
%oj=load i8*,i8**%oi,align 8
store i8*%oj,i8**%j,align 8
%ok=call i8*@sml_alloc(i32 inreg 28)#0
%ol=getelementptr inbounds i8,i8*%ok,i64 -4
%om=bitcast i8*%ol to i32*
store i32 1342177304,i32*%om,align 4
%on=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%oo=bitcast i8*%ok to i8**
store i8*%on,i8**%oo,align 8
%op=load i8*,i8**%f,align 8
%oq=getelementptr inbounds i8,i8*%ok,i64 8
%or=bitcast i8*%oq to i8**
store i8*%op,i8**%or,align 8
%os=load i8*,i8**%e,align 8
%ot=getelementptr inbounds i8,i8*%ok,i64 16
%ou=bitcast i8*%ot to i8**
store i8*%os,i8**%ou,align 8
%ov=getelementptr inbounds i8,i8*%ok,i64 24
%ow=bitcast i8*%ov to i32*
store i32 7,i32*%ow,align 4
%ox=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%oy=call fastcc i8*%oh(i8*inreg%ox,i8*inreg%ok)
store i8*%oy,i8**%g,align 8
%oz=call i8*@sml_alloc(i32 inreg 20)#0
%oA=getelementptr inbounds i8,i8*%oz,i64 -4
%oB=bitcast i8*%oA to i32*
store i32 1342177296,i32*%oB,align 4
store i8*%oz,i8**%j,align 8
%oC=load i8*,i8**%e,align 8
%oD=bitcast i8*%oz to i8**
store i8*%oC,i8**%oD,align 8
%oE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%oF=getelementptr inbounds i8,i8*%oz,i64 8
%oG=bitcast i8*%oF to i8**
store i8*%oE,i8**%oG,align 8
%oH=getelementptr inbounds i8,i8*%oz,i64 16
%oI=bitcast i8*%oH to i32*
store i32 3,i32*%oI,align 4
%oJ=call i8*@sml_alloc(i32 inreg 20)#0
%oK=getelementptr inbounds i8,i8*%oJ,i64 -4
%oL=bitcast i8*%oK to i32*
store i32 1342177296,i32*%oL,align 4
store i8*%oJ,i8**%f,align 8
%oM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%oN=bitcast i8*%oJ to i8**
store i8*%oM,i8**%oN,align 8
%oO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%oP=getelementptr inbounds i8,i8*%oJ,i64 8
%oQ=bitcast i8*%oP to i8**
store i8*%oO,i8**%oQ,align 8
%oR=getelementptr inbounds i8,i8*%oJ,i64 16
%oS=bitcast i8*%oR to i32*
store i32 3,i32*%oS,align 4
%oT=call i8*@sml_alloc(i32 inreg 20)#0
%oU=getelementptr inbounds i8,i8*%oT,i64 -4
%oV=bitcast i8*%oU to i32*
store i32 1342177296,i32*%oV,align 4
%oW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%oX=bitcast i8*%oT to i8**
store i8*%oW,i8**%oX,align 8
%oY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%oZ=getelementptr inbounds i8,i8*%oT,i64 8
%o0=bitcast i8*%oZ to i8**
store i8*%oY,i8**%o0,align 8
%o1=getelementptr inbounds i8,i8*%oT,i64 16
%o2=bitcast i8*%o1 to i32*
store i32 3,i32*%o2,align 4
%o3=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%o4=getelementptr inbounds i8,i8*%o3,i64 8
%o5=bitcast i8*%o4 to i8**
%o6=load i8*,i8**%o5,align 8
%o7=bitcast i8*%o6 to i8**
call void@sml_write(i8*inreg%o6,i8**inreg%o7,i8*inreg%oT)#0
%o8=call i8*@sml_alloc(i32 inreg 20)#0
%o9=getelementptr inbounds i8,i8*%o8,i64 -4
%pa=bitcast i8*%o9 to i32*
store i32 1342177296,i32*%pa,align 4
%pb=bitcast i8*%o8 to i64*
store i64 0,i64*%pb,align 4
%pc=load i8*,i8**%e,align 8
%pd=getelementptr inbounds i8,i8*%o8,i64 8
%pe=bitcast i8*%pd to i8**
store i8*%pc,i8**%pe,align 8
%pf=getelementptr inbounds i8,i8*%o8,i64 16
%pg=bitcast i8*%pf to i32*
store i32 2,i32*%pg,align 4
ret i8*%o8
ph:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
%pi=bitcast i8*%nG to i8**
%pj=load i8*,i8**%pi,align 8
store i8*%pj,i8**%e,align 8
%pk=call i8*@sml_alloc(i32 inreg 20)#0
%pl=getelementptr inbounds i8,i8*%pk,i64 -4
%pm=bitcast i8*%pl to i32*
store i32 1342177296,i32*%pm,align 4
%pn=bitcast i8*%pk to i64*
store i64 0,i64*%pn,align 4
%po=load i8*,i8**%e,align 8
%pp=getelementptr inbounds i8,i8*%pk,i64 8
%pq=bitcast i8*%pp to i8**
store i8*%po,i8**%pq,align 8
%pr=getelementptr inbounds i8,i8*%pk,i64 16
%ps=bitcast i8*%pr to i32*
store i32 2,i32*%ps,align 4
ret i8*%pk
pt:
%pu=getelementptr inbounds i8,i8*%mI,i64 8
%pv=bitcast i8*%pu to i8**
%pw=load i8*,i8**%pv,align 8
ret i8*%pw
}
define internal fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout7computeE_216 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout7computeE_216 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN12RecordLayout9alignSizeE_220(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%m,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
%l=load i8*,i8**%e,align 8
br label%m
m:
%n=phi i8*[%l,%j],[%a,%o]
%p=phi i8*[%k,%j],[%b,%o]
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%p,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%n,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=bitcast i8*%n to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%x,i8*inreg%z)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%g,align 8
%G=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**%f,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=load i8*,i8**%d,align 8
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%G,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
store i8*%Q,i8**%c,align 8
%T=bitcast i8*%Q to i64*
store i64 0,i64*%T,align 4
%U=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i8**
store i8*%U,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to i32*
store i32 2,i32*%Y,align 4
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
%ac=bitcast i8*%Z to i64*
store i64 0,i64*%ac,align 4
%ad=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to i32*
store i32 2,i32*%ah,align 4
%ai=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aj=call fastcc i8*%D(i8*inreg%ai,i8*inreg%Z)
store i8*%aj,i8**%c,align 8
%ak=load i8*,i8**%e,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
%aq=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%an,i8*inreg%ap)
%ar=getelementptr inbounds i8,i8*%aq,i64 16
%as=bitcast i8*%ar to i8*(i8*,i8*)**
%at=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%as,align 8
%au=bitcast i8*%aq to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%g,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
store i8*%aw,i8**%f,align 8
%az=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@s,i64 0,i32 2)to i8*),i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to i32*
store i32 3,i32*%aE,align 4
%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**%c,align 8
%aI=getelementptr inbounds i8,i8*%aF,i64 4
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=bitcast i8*%aF to i32*
store i32 6,i32*%aK,align 4
%aL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aF,i64 16
%aP=bitcast i8*%aO to i32*
store i32 2,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
%aT=bitcast i8*%aQ to i64*
store i64 0,i64*%aT,align 4
%aU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aV=getelementptr inbounds i8,i8*%aQ,i64 8
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aQ,i64 16
%aY=bitcast i8*%aX to i32*
store i32 2,i32*%aY,align 4
%aZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a0=call fastcc i8*%at(i8*inreg%aZ,i8*inreg%aQ)
store i8*%a0,i8**%c,align 8
%a1=load i8*,i8**%e,align 8
%a2=getelementptr inbounds i8,i8*%a1,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
%a7=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%a4,i8*inreg%a6)
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%g,align 8
%bd=call i8*@sml_alloc(i32 inreg 20)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177296,i32*%bf,align 4
store i8*%bd,i8**%f,align 8
%bg=bitcast i8*%bd to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@x,i64 0,i32 2)to i8*),i8**%bg,align 8
%bh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bi=getelementptr inbounds i8,i8*%bd,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bd,i64 16
%bl=bitcast i8*%bk to i32*
store i32 3,i32*%bl,align 4
%bm=call i8*@sml_alloc(i32 inreg 20)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177296,i32*%bo,align 4
store i8*%bm,i8**%d,align 8
%bp=getelementptr inbounds i8,i8*%bm,i64 4
%bq=bitcast i8*%bp to i32*
store i32 0,i32*%bq,align 1
%br=bitcast i8*%bm to i32*
store i32 6,i32*%br,align 4
%bs=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bt=getelementptr inbounds i8,i8*%bm,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bm,i64 16
%bw=bitcast i8*%bv to i32*
store i32 2,i32*%bw,align 4
%bx=call i8*@sml_alloc(i32 inreg 20)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177296,i32*%bz,align 4
%bA=bitcast i8*%bx to i64*
store i64 0,i64*%bA,align 4
%bB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bC=getelementptr inbounds i8,i8*%bx,i64 8
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bx,i64 16
%bF=bitcast i8*%bE to i32*
store i32 2,i32*%bF,align 4
%bG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bH=call fastcc i8*%ba(i8*inreg%bG,i8*inreg%bx)
store i8*%bH,i8**%d,align 8
%bI=load i8*,i8**%e,align 8
%bJ=getelementptr inbounds i8,i8*%bI,i64 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*null,i8**%e,align 8
%bM=bitcast i8*%bI to i8**
%bN=load i8*,i8**%bM,align 8
%bO=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%bL,i8*inreg%bN)
%bP=getelementptr inbounds i8,i8*%bO,i64 16
%bQ=bitcast i8*%bP to i8*(i8*,i8*)**
%bR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bQ,align 8
%bS=bitcast i8*%bO to i8**
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%f,align 8
%bU=call i8*@sml_alloc(i32 inreg 20)#0
%bV=getelementptr inbounds i8,i8*%bU,i64 -4
%bW=bitcast i8*%bV to i32*
store i32 1342177296,i32*%bW,align 4
store i8*%bU,i8**%e,align 8
%bX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=getelementptr inbounds i8,i8*%bU,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bU,i64 16
%b3=bitcast i8*%b2 to i32*
store i32 3,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
store i8*%b4,i8**%c,align 8
%b7=getelementptr inbounds i8,i8*%b4,i64 4
%b8=bitcast i8*%b7 to i32*
store i32 0,i32*%b8,align 1
%b9=bitcast i8*%b4 to i32*
store i32 1,i32*%b9,align 4
%ca=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 8
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b4,i64 16
%ce=bitcast i8*%cd to i32*
store i32 2,i32*%ce,align 4
%cf=call i8*@sml_alloc(i32 inreg 20)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177296,i32*%ch,align 4
%ci=bitcast i8*%cf to i64*
store i64 0,i64*%ci,align 4
%cj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%cf,i64 8
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%cf,i64 16
%cn=bitcast i8*%cm to i32*
store i32 2,i32*%cn,align 4
%co=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cp=call fastcc i8*%bR(i8*inreg%co,i8*inreg%cf)
ret i8*%cp
}
define internal fastcc i8*@_SMLLN12RecordLayout9alignSizeE_221(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout9alignSizeE_220 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout9alignSizeE_220 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN12RecordLayout15computeIndexRevE_222(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
r:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%p,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%e,align 8
%n=load i8*,i8**%d,align 8
%o=load i8*,i8**%i,align 8
br label%p
p:
%q=phi i8*[%o,%l],[%a,%r]
%s=phi i8*[%n,%l],[%b,%r]
%t=phi i8*[%m,%l],[%c,%r]
store i8*null,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*%s,i8**%f,align 8
%u=bitcast i8*%t to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%h,align 8
%x=getelementptr inbounds i8,i8*%t,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*@_SMLLN12RecordLayout16computeLayoutRevE_223(i8*inreg%q,i8*inreg%s,i8*inreg%z)
store i8*%A,i8**%g,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%d,align 8
%E=icmp eq i8*%D,null
br i1%E,label%J,label%F
F:
%G=bitcast i8*%D to i8***
%H=load i8**,i8***%G,align 8
%I=load i8*,i8**%H,align 8
br label%J
J:
%K=phi i8*[%I,%F],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@x,i64 0,i32 2)to i8*),%p]
store i8*%K,i8**%e,align 8
%L=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%M=getelementptr inbounds i8,i8*%L,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Q=call fastcc i8*@_SMLLN12RecordLayout9alignSizeE_221(i8*inreg%O,i8*inreg%P)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%f,align 8
%W=call i8*@sml_alloc(i32 inreg 20)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177296,i32*%Y,align 4
%Z=load i8*,i8**%e,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
%ag=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ah=call fastcc i8*%T(i8*inreg%ag,i8*inreg%W)
store i8*%ah,i8**%f,align 8
%ai=load i8*,i8**%e,align 8
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=icmp eq i32%ak,1
store i8*null,i8**%e,align 8
br i1%al,label%am,label%az
am:
%an=bitcast i8*%ah to i32*
%ao=load i32,i32*%an,align 4
%ap=icmp eq i32%ao,1
br i1%ap,label%aq,label%az
aq:
%ar=getelementptr inbounds i8,i8*%ai,i64 4
%as=bitcast i8*%ar to i32*
%at=load i32,i32*%as,align 4
%au=getelementptr inbounds i8,i8*%ah,i64 4
%av=bitcast i8*%au to i32*
%aw=load i32,i32*%av,align 4
%ax=icmp ne i32%at,%aw
%ay=zext i1%ax to i32
br label%az
az:
%aA=phi i32[%ay,%aq],[1,%am],[1,%J]
%aB=bitcast i8**%g to i32**
%aC=load i32*,i32**%aB,align 8
store i8*null,i8**%g,align 8
%aD=load i32,i32*%aC,align 4
%aE=icmp eq i32%aD,0
%aF=select i1%aE,i32%aA,i32 1
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=bitcast i8*%aG to i32*
%aI=getelementptr inbounds i8,i8*%aG,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,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%aF,i32*%aH,align 4
%aM=load i8*,i8**%f,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 8
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=load i8*,i8**%d,align 8
%aQ=getelementptr inbounds i8,i8*%aG,i64 16
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aG,i64 24
%aT=bitcast i8*%aS to i32*
store i32 6,i32*%aT,align 4
ret i8*%aG
}
define internal fastcc i8*@_SMLLN12RecordLayout16computeLayoutRevE_223(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
p:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
store i8*%a,i8**%h,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%e,align 8
%m=load i8*,i8**%d,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%b,%p]
%q=phi i8*[%l,%k],[%c,%p]
store i8*%o,i8**%f,align 8
%r=icmp eq i8*%q,null
br i1%r,label%s,label%t
s:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@t,i64 0,i32 2)to i8*)
t:
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%g,align 8
%y=getelementptr inbounds i8,i8*%q,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%e,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=load i8*,i8**%f,align 8
%M=load i8*,i8**%h,align 8
%N=call fastcc i8*@_SMLLN12RecordLayout15computeIndexRevE_222(i8*inreg%M,i8*inreg%L,i8*inreg%B)
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=getelementptr inbounds i8,i8*%N,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%N,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=bitcast i8**%h to i8***
%X=load i8**,i8***%W,align 8
store i8*null,i8**%h,align 8
%Y=load i8*,i8**%X,align 8
%Z=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aa=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%Y,i8*inreg%Z)
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%h,align 8
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
store i8*%ag,i8**%f,align 8
%aj=load i8*,i8**%d,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ag,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,i32*%ap,align 4
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%g,align 8
%at=bitcast i8*%aq to i64*
store i64 0,i64*%at,align 4
%au=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%av=getelementptr inbounds i8,i8*%aq,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 16
%ay=bitcast i8*%ax to i32*
store i32 2,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
%aC=bitcast i8*%az to i64*
store i64 0,i64*%aC,align 4
%aD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 16
%aH=bitcast i8*%aG to i32*
store i32 2,i32*%aH,align 4
%aI=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aJ=call fastcc i8*%ad(i8*inreg%aI,i8*inreg%az)
store i8*%aJ,i8**%f,align 8
%aK=call i8*@sml_alloc(i32 inreg 20)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177296,i32*%aM,align 4
store i8*%aK,i8**%g,align 8
%aN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aQ=getelementptr inbounds i8,i8*%aK,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aK,i64 16
%aT=bitcast i8*%aS to i32*
store i32 3,i32*%aT,align 4
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
store i8*%aU,i8**%d,align 8
%aX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a0=getelementptr inbounds i8,i8*%aU,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aU,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 3,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=bitcast i8*%a4 to i32*
%a6=getelementptr inbounds i8,i8*%a4,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177296,i32*%a7,align 4
%a8=getelementptr inbounds i8,i8*%a4,i64 4
%a9=bitcast i8*%a8 to i32*
store i32 0,i32*%a9,align 1
store i32%P,i32*%a5,align 4
%ba=load i8*,i8**%d,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 8
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a4,i64 16
%be=bitcast i8*%bd to i32*
store i32 2,i32*%be,align 4
ret i8*%a4
}
define internal fastcc i8*@_SMLLN12RecordLayout17alignAccumSizeRevE_227(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%d,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=icmp eq i8*%m,null
br i1%o,label%p,label%q
p:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@t,i64 0,i32 2)to i8*)
q:
%r=bitcast i8*%m to i8**
%s=bitcast i8*%m to i8***
%t=load i8**,i8***%s,align 8
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=load i8*,i8**%r,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%e,align 8
%z=getelementptr inbounds i8,i8*%m,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=load i8*,i8**%c,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*null,i8**%c,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*@_SMLLN12RecordLayout9alignSizeE_221(i8*inreg%F,i8*inreg%H)
%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
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%c,align 8
%O=load i8*,i8**@_SMLZN12RuntimeTypes8recordTyE,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%R)
%T=call i8*@sml_alloc(i32 inreg 12)#0
%U=bitcast i8*%T to i32*
%V=getelementptr inbounds i8,i8*%T,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177288,i32*%W,align 4
store i8*%T,i8**%g,align 8
store i32 1,i32*%U,align 4
%X=getelementptr inbounds i8,i8*%T,i64 4
%Y=bitcast i8*%X to i32*
store i32%S,i32*%Y,align 4
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i32*
store i32 0,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
%ae=load i8*,i8**%d,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ab,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%al=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%am=call fastcc i8*%L(i8*inreg%al,i8*inreg%ab)
store i8*%am,i8**%c,align 8
%an=load i8*,i8**%d,align 8
%ao=bitcast i8*%an to i32*
%ap=load i32,i32*%ao,align 4
%aq=icmp eq i32%ap,1
store i8*null,i8**%d,align 8
br i1%aq,label%ar,label%aE
ar:
%as=bitcast i8*%am to i32*
%at=load i32,i32*%as,align 4
%au=icmp eq i32%at,1
br i1%au,label%av,label%aE
av:
%aw=getelementptr inbounds i8,i8*%an,i64 4
%ax=bitcast i8*%aw to i32*
%ay=load i32,i32*%ax,align 4
%az=getelementptr inbounds i8,i8*%am,i64 4
%aA=bitcast i8*%az to i32*
%aB=load i32,i32*%aA,align 4
%aC=icmp ne i32%ay,%aB
%aD=zext i1%aC to i32
br label%aE
aE:
%aF=phi i32[%aD,%av],[1,%ar],[1,%q]
%aG=call i8*@sml_alloc(i32 inreg 20)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177296,i32*%aI,align 4
store i8*%aG,i8**%d,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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%aG,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aG,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
store i8*%aQ,i8**%c,align 8
%aT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aQ,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 3,i32*%aZ,align 4
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=bitcast i8*%a0 to i32*
%a2=getelementptr inbounds i8,i8*%a0,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177296,i32*%a3,align 4
%a4=getelementptr inbounds i8,i8*%a0,i64 4
%a5=bitcast i8*%a4 to i32*
store i32 0,i32*%a5,align 1
store i32%aF,i32*%a1,align 4
%a6=load i8*,i8**%c,align 8
%a7=getelementptr inbounds i8,i8*%a0,i64 8
%a8=bitcast i8*%a7 to i8**
store i8*%a6,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a0,i64 16
%ba=bitcast i8*%a9 to i32*
store i32 2,i32*%ba,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLLN12RecordLayout17alignAccumSizeRevE_228(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout17alignAccumSizeRevE_227 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout17alignAccumSizeRevE_227 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN12RecordLayout15computeBitIndexE_229(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
t:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%r,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%e,align 8
%q=load i8*,i8**%d,align 8
br label%r
r:
%s=phi i8*[%q,%o],[%b,%t]
%u=phi i8*[%p,%o],[%c,%t]
store i8*null,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*%s,i8**%g,align 8
%v=icmp eq i8*%u,null
br i1%v,label%w,label%x
w:
ret i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@u,i64 0,i32 2)to i8*)
x:
%y=bitcast i8*%u to i8**
%z=bitcast i8*%u to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=load i8*,i8**%y,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%h,align 8
%G=load i8*,i8**%y,align 8
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%i,align 8
%K=getelementptr inbounds i8,i8*%u,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=icmp eq i8*%M,null
br i1%N,label%O,label%dn
O:
%P=load i8*,i8**@_SMLZN12RuntimeTypes8recordTyE,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%S)
%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
store i8*%U,i8**%l,align 8
store i32 1,i32*%V,align 4
%Y=getelementptr inbounds i8,i8*%U,i64 4
%Z=bitcast i8*%Y to i32*
store i32%T,i32*%Z,align 4
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i32*
store i32 0,i32*%ab,align 4
%ac=bitcast i8**%j to i8***
%ad=load i8**,i8***%ac,align 8
%ae=load i8*,i8**%ad,align 8
%af=load i8*,i8**%g,align 8
%ag=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%ae,i8*inreg%af)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%k,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
store i8*%am,i8**%d,align 8
%ap=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=load i8*,i8**%l,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
store i8*%aw,i8**%e,align 8
%az=getelementptr inbounds i8,i8*%aw,i64 4
%aA=bitcast i8*%az to i32*
store i32 0,i32*%aA,align 1
%aB=bitcast i8*%aw to i32*
store i32 2,i32*%aB,align 4
%aC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 8
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aw,i64 16
%aG=bitcast i8*%aF to i32*
store i32 2,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
%aK=bitcast i8*%aH to i64*
store i64 0,i64*%aK,align 4
%aL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%aH,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to i32*
store i32 2,i32*%aP,align 4
%aQ=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aR=call fastcc i8*%aj(i8*inreg%aQ,i8*inreg%aH)
store i8*%aR,i8**%d,align 8
%aS=bitcast i8**%g to i8***
%aT=load i8**,i8***%aS,align 8
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%e,align 8
%aV=load i8**,i8***%ac,align 8
%aW=load i8*,i8**%aV,align 8
%aX=bitcast i8**%aT to i8*
%aY=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%aW,i8*inreg%aX)
%aZ=getelementptr inbounds i8,i8*%aY,i64 16
%a0=bitcast i8*%aZ to i8*(i8*,i8*)**
%a1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a0,align 8
%a2=bitcast i8*%aY to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%k,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%h,align 8
%a7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ba=getelementptr inbounds i8,i8*%a4,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a4,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
store i8*%be,i8**%f,align 8
%bh=getelementptr inbounds i8,i8*%be,i64 4
%bi=bitcast i8*%bh to i32*
store i32 0,i32*%bi,align 1
%bj=bitcast i8*%be to i32*
store i32 2,i32*%bj,align 4
%bk=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 8
%bm=bitcast i8*%bl to i8**
store i8*%bk,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%be,i64 16
%bo=bitcast i8*%bn to i32*
store i32 2,i32*%bo,align 4
%bp=call i8*@sml_alloc(i32 inreg 20)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177296,i32*%br,align 4
%bs=bitcast i8*%bp to i64*
store i64 0,i64*%bs,align 4
%bt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bu=getelementptr inbounds i8,i8*%bp,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bp,i64 16
%bx=bitcast i8*%bw to i32*
store i32 2,i32*%bx,align 4
%by=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bz=call fastcc i8*%a1(i8*inreg%by,i8*inreg%bp)
store i8*%bz,i8**%f,align 8
%bA=load i8**,i8***%ac,align 8
store i8*null,i8**%j,align 8
%bB=load i8*,i8**%bA,align 8
%bC=load i8*,i8**%g,align 8
%bD=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%bB,i8*inreg%bC)
%bE=getelementptr inbounds i8,i8*%bD,i64 16
%bF=bitcast i8*%bE to i8*(i8*,i8*)**
%bG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bF,align 8
%bH=bitcast i8*%bD to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%j,align 8
%bJ=call i8*@sml_alloc(i32 inreg 20)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177296,i32*%bL,align 4
store i8*%bJ,i8**%h,align 8
%bM=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%d,align 8
%bP=getelementptr inbounds i8,i8*%bJ,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bJ,i64 16
%bS=bitcast i8*%bR to i32*
store i32 3,i32*%bS,align 4
%bT=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**%f,align 8
%bW=getelementptr inbounds i8,i8*%bT,i64 4
%bX=bitcast i8*%bW to i32*
store i32 0,i32*%bX,align 1
%bY=bitcast i8*%bT to i32*
store i32 6,i32*%bY,align 4
%bZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b0=getelementptr inbounds i8,i8*%bT,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bT,i64 16
%b3=bitcast i8*%b2 to i32*
store i32 2,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=bitcast i8*%b4 to i64*
store i64 0,i64*%b7,align 4
%b8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b9=getelementptr inbounds i8,i8*%b4,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 16
%cc=bitcast i8*%cb to i32*
store i32 2,i32*%cc,align 4
%cd=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ce=call fastcc i8*%bG(i8*inreg%cd,i8*inreg%b4)
%cf=bitcast i8*%ce to i32*
%cg=load i32,i32*%cf,align 4
%ch=icmp eq i32%cg,1
br i1%ch,label%ck,label%ci
ci:
%cj=call fastcc i32@_SMLLN12RecordLayout8maxShiftE_157()
br label%cH
ck:
%cl=getelementptr inbounds i8,i8*%ce,i64 4
%cm=bitcast i8*%cl to i32*
%cn=load i32,i32*%cm,align 4
%co=icmp sgt i32%cn,-1
br i1%co,label%cH,label%cp
cp:
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
%cq=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%cq,i8**%d,align 8
%cr=call i8*@sml_alloc(i32 inreg 20)#0
%cs=getelementptr inbounds i8,i8*%cr,i64 -4
%ct=bitcast i8*%cs to i32*
store i32 1342177296,i32*%ct,align 4
store i8*%cr,i8**%e,align 8
%cu=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cv=bitcast i8*%cr to i8**
store i8*%cu,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cr,i64 8
%cx=bitcast i8*%cw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[80x i8]}>,<{[4x i8],i32,[80x i8]}>*@v,i64 0,i32 2,i64 0),i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cr,i64 16
%cz=bitcast i8*%cy to i32*
store i32 3,i32*%cz,align 4
%cA=call i8*@sml_alloc(i32 inreg 60)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177336,i32*%cC,align 4
%cD=getelementptr inbounds i8,i8*%cA,i64 56
%cE=bitcast i8*%cD to i32*
store i32 1,i32*%cE,align 4
%cF=load i8*,i8**%e,align 8
%cG=bitcast i8*%cA to i8**
store i8*%cF,i8**%cG,align 8
call void@sml_raise(i8*inreg%cA)#1
unreachable
cH:
%cI=phi i32[%cj,%ci],[%cn,%ck]
%cJ=call i8*@sml_alloc(i32 inreg 12)#0
%cK=bitcast i8*%cJ to i32*
%cL=getelementptr inbounds i8,i8*%cJ,i64 -4
%cM=bitcast i8*%cL to i32*
store i32 1342177288,i32*%cM,align 4
store i8*%cJ,i8**%f,align 8
store i32 1,i32*%cK,align 4
%cN=getelementptr inbounds i8,i8*%cJ,i64 4
%cO=bitcast i8*%cN to i32*
store i32%cI,i32*%cO,align 4
%cP=getelementptr inbounds i8,i8*%cJ,i64 8
%cQ=bitcast i8*%cP to i32*
store i32 0,i32*%cQ,align 4
%cR=load i8*,i8**%e,align 8
%cS=load i8*,i8**%g,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
%cT=bitcast i8*%cS to i8**
call void@sml_write(i8*inreg%cS,i8**inreg%cT,i8*inreg%cR)#0
%cU=call i8*@sml_alloc(i32 inreg 20)#0
%cV=getelementptr inbounds i8,i8*%cU,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177296,i32*%cW,align 4
store i8*%cU,i8**%e,align 8
%cX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cY=bitcast i8*%cU to i8**
store i8*%cX,i8**%cY,align 8
%cZ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%c0=getelementptr inbounds i8,i8*%cU,i64 8
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cU,i64 16
%c3=bitcast i8*%c2 to i32*
store i32 3,i32*%c3,align 4
%c4=call i8*@sml_alloc(i32 inreg 20)#0
%c5=getelementptr inbounds i8,i8*%c4,i64 -4
%c6=bitcast i8*%c5 to i32*
store i32 1342177296,i32*%c6,align 4
store i8*%c4,i8**%f,align 8
%c7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c8=bitcast i8*%c4 to i8**
store i8*%c7,i8**%c8,align 8
%c9=getelementptr inbounds i8,i8*%c4,i64 8
%da=bitcast i8*%c9 to i8**
store i8*null,i8**%da,align 8
%db=getelementptr inbounds i8,i8*%c4,i64 16
%dc=bitcast i8*%db to i32*
store i32 3,i32*%dc,align 4
%dd=call i8*@sml_alloc(i32 inreg 20)#0
%de=getelementptr inbounds i8,i8*%dd,i64 -4
%df=bitcast i8*%de to i32*
store i32 1342177296,i32*%df,align 4
%dg=load i8*,i8**%d,align 8
%dh=bitcast i8*%dd to i8**
store i8*%dg,i8**%dh,align 8
%di=load i8*,i8**%f,align 8
%dj=getelementptr inbounds i8,i8*%dd,i64 8
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dd,i64 16
%dm=bitcast i8*%dl to i32*
store i32 3,i32*%dm,align 4
ret i8*%dd
dn:
store i8*null,i8**%f,align 8
%do=load i8*,i8**%j,align 8
%dp=call fastcc i8*@_SMLLN12RecordLayout15computeBitIndexE_229(i8*inreg%do,i8*inreg%s,i8*inreg%M)
%dq=bitcast i8*%dp to i8**
%dr=load i8*,i8**%dq,align 8
store i8*%dr,i8**%d,align 8
%ds=getelementptr inbounds i8,i8*%dp,i64 8
%dt=bitcast i8*%ds to i8**
%du=load i8*,i8**%dt,align 8
store i8*%du,i8**%e,align 8
%dv=load i8*,i8**@_SMLZN12RuntimeTypes8recordTyE,align 8
%dw=getelementptr inbounds i8,i8*%dv,i64 8
%dx=bitcast i8*%dw to i8**
%dy=load i8*,i8**%dx,align 8
%dz=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%dy)
%dA=call i8*@sml_alloc(i32 inreg 12)#0
%dB=bitcast i8*%dA to i32*
%dC=getelementptr inbounds i8,i8*%dA,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177288,i32*%dD,align 4
store i8*%dA,i8**%l,align 8
store i32 1,i32*%dB,align 4
%dE=getelementptr inbounds i8,i8*%dA,i64 4
%dF=bitcast i8*%dE to i32*
store i32%dz,i32*%dF,align 4
%dG=getelementptr inbounds i8,i8*%dA,i64 8
%dH=bitcast i8*%dG to i32*
store i32 0,i32*%dH,align 4
%dI=bitcast i8**%j to i8***
%dJ=load i8**,i8***%dI,align 8
%dK=load i8*,i8**%dJ,align 8
%dL=load i8*,i8**%g,align 8
%dM=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%dK,i8*inreg%dL)
%dN=getelementptr inbounds i8,i8*%dM,i64 16
%dO=bitcast i8*%dN to i8*(i8*,i8*)**
%dP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dO,align 8
%dQ=bitcast i8*%dM to i8**
%dR=load i8*,i8**%dQ,align 8
store i8*%dR,i8**%k,align 8
%dS=call i8*@sml_alloc(i32 inreg 20)#0
%dT=getelementptr inbounds i8,i8*%dS,i64 -4
%dU=bitcast i8*%dT to i32*
store i32 1342177296,i32*%dU,align 4
store i8*%dS,i8**%f,align 8
%dV=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dW=bitcast i8*%dS to i8**
store i8*%dV,i8**%dW,align 8
%dX=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dY=getelementptr inbounds i8,i8*%dS,i64 8
%dZ=bitcast i8*%dY to i8**
store i8*%dX,i8**%dZ,align 8
%d0=getelementptr inbounds i8,i8*%dS,i64 16
%d1=bitcast i8*%d0 to i32*
store i32 3,i32*%d1,align 4
%d2=call i8*@sml_alloc(i32 inreg 20)#0
%d3=getelementptr inbounds i8,i8*%d2,i64 -4
%d4=bitcast i8*%d3 to i32*
store i32 1342177296,i32*%d4,align 4
store i8*%d2,i8**%h,align 8
%d5=getelementptr inbounds i8,i8*%d2,i64 4
%d6=bitcast i8*%d5 to i32*
store i32 0,i32*%d6,align 1
%d7=bitcast i8*%d2 to i32*
store i32 2,i32*%d7,align 4
%d8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d9=getelementptr inbounds i8,i8*%d2,i64 8
%ea=bitcast i8*%d9 to i8**
store i8*%d8,i8**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d2,i64 16
%ec=bitcast i8*%eb to i32*
store i32 2,i32*%ec,align 4
%ed=call i8*@sml_alloc(i32 inreg 20)#0
%ee=getelementptr inbounds i8,i8*%ed,i64 -4
%ef=bitcast i8*%ee to i32*
store i32 1342177296,i32*%ef,align 4
%eg=bitcast i8*%ed to i64*
store i64 0,i64*%eg,align 4
%eh=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ei=getelementptr inbounds i8,i8*%ed,i64 8
%ej=bitcast i8*%ei to i8**
store i8*%eh,i8**%ej,align 8
%ek=getelementptr inbounds i8,i8*%ed,i64 16
%el=bitcast i8*%ek to i32*
store i32 2,i32*%el,align 4
%em=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%en=call fastcc i8*%dP(i8*inreg%em,i8*inreg%ed)
store i8*%en,i8**%f,align 8
%eo=load i8**,i8***%dI,align 8
store i8*null,i8**%j,align 8
%ep=load i8*,i8**%eo,align 8
%eq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%er=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%ep,i8*inreg%eq)
%es=getelementptr inbounds i8,i8*%er,i64 16
%et=bitcast i8*%es to i8*(i8*,i8*)**
%eu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%et,align 8
%ev=bitcast i8*%er to i8**
%ew=load i8*,i8**%ev,align 8
store i8*%ew,i8**%h,align 8
%ex=call i8*@sml_alloc(i32 inreg 20)#0
%ey=getelementptr inbounds i8,i8*%ex,i64 -4
%ez=bitcast i8*%ey to i32*
store i32 1342177296,i32*%ez,align 4
store i8*%ex,i8**%g,align 8
%eA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eB=bitcast i8*%ex to i8**
store i8*%eA,i8**%eB,align 8
%eC=load i8*,i8**%f,align 8
%eD=getelementptr inbounds i8,i8*%ex,i64 8
%eE=bitcast i8*%eD to i8**
store i8*%eC,i8**%eE,align 8
%eF=getelementptr inbounds i8,i8*%ex,i64 16
%eG=bitcast i8*%eF to i32*
store i32 3,i32*%eG,align 4
%eH=call i8*@sml_alloc(i32 inreg 20)#0
%eI=getelementptr inbounds i8,i8*%eH,i64 -4
%eJ=bitcast i8*%eI to i32*
store i32 1342177296,i32*%eJ,align 4
store i8*%eH,i8**%d,align 8
%eK=getelementptr inbounds i8,i8*%eH,i64 4
%eL=bitcast i8*%eK to i32*
store i32 0,i32*%eL,align 1
%eM=bitcast i8*%eH to i32*
store i32 6,i32*%eM,align 4
%eN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eO=getelementptr inbounds i8,i8*%eH,i64 8
%eP=bitcast i8*%eO to i8**
store i8*%eN,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eH,i64 16
%eR=bitcast i8*%eQ to i32*
store i32 2,i32*%eR,align 4
%eS=call i8*@sml_alloc(i32 inreg 20)#0
%eT=getelementptr inbounds i8,i8*%eS,i64 -4
%eU=bitcast i8*%eT to i32*
store i32 1342177296,i32*%eU,align 4
%eV=bitcast i8*%eS to i64*
store i64 0,i64*%eV,align 4
%eW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eX=getelementptr inbounds i8,i8*%eS,i64 8
%eY=bitcast i8*%eX to i8**
store i8*%eW,i8**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eS,i64 16
%e0=bitcast i8*%eZ to i32*
store i32 2,i32*%e0,align 4
%e1=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%e2=call fastcc i8*%eu(i8*inreg%e1,i8*inreg%eS)
store i8*%e2,i8**%d,align 8
%e3=call i8*@sml_alloc(i32 inreg 20)#0
%e4=getelementptr inbounds i8,i8*%e3,i64 -4
%e5=bitcast i8*%e4 to i32*
store i32 1342177296,i32*%e5,align 4
store i8*%e3,i8**%g,align 8
%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=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%e9=getelementptr inbounds i8,i8*%e3,i64 8
%fa=bitcast i8*%e9 to i8**
store i8*%e8,i8**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e3,i64 16
%fc=bitcast i8*%fb to i32*
store i32 3,i32*%fc,align 4
%fd=call i8*@sml_alloc(i32 inreg 20)#0
%fe=getelementptr inbounds i8,i8*%fd,i64 -4
%ff=bitcast i8*%fe to i32*
store i32 1342177296,i32*%ff,align 4
store i8*%fd,i8**%d,align 8
%fg=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fh=bitcast i8*%fd to i8**
store i8*%fg,i8**%fh,align 8
%fi=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fj=getelementptr inbounds i8,i8*%fd,i64 8
%fk=bitcast i8*%fj to i8**
store i8*%fi,i8**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fd,i64 16
%fm=bitcast i8*%fl to i32*
store i32 3,i32*%fm,align 4
%fn=call i8*@sml_alloc(i32 inreg 20)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177296,i32*%fp,align 4
%fq=load i8*,i8**%f,align 8
%fr=bitcast i8*%fn to i8**
store i8*%fq,i8**%fr,align 8
%fs=load i8*,i8**%d,align 8
%ft=getelementptr inbounds i8,i8*%fn,i64 8
%fu=bitcast i8*%ft to i8**
store i8*%fs,i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fn,i64 16
%fw=bitcast i8*%fv to i32*
store i32 3,i32*%fw,align 4
ret i8*%fn
}
define internal fastcc i8*@_SMLLN12RecordLayout12setBitmapBitE_234(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=icmp eq i8*%s,null
br i1%t,label%u,label%S
u:
store i8*null,i8**%f,align 8
%v=getelementptr inbounds i8,i8*%m,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*null,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%H,i64 4
%M=bitcast i8*%L to i32*
store i32 0,i32*%M,align 1
store i32 1,i32*%I,align 4
%N=load i8*,i8**%d,align 8
%O=getelementptr inbounds i8,i8*%H,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%H,i64 16
%R=bitcast i8*%Q to i32*
store i32 2,i32*%R,align 4
ret i8*%H
S:
%T=bitcast i8*%p to i32*
%U=load i32,i32*%T,align 4
%V=bitcast i8*%s to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%c,align 8
%X=getelementptr inbounds i8,i8*%s,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%m,i64 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%e,align 8
%ad=load i8*,i8**%f,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*null,i8**%f,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%ag,i8*inreg%ai)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%g,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%f,align 8
%as=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ap,i64 16
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
store i8*%az,i8**%c,align 8
%aC=getelementptr inbounds i8,i8*%az,i64 4
%aD=bitcast i8*%aC to i32*
store i32 0,i32*%aD,align 1
%aE=bitcast i8*%az to i32*
store i32 4,i32*%aE,align 4
%aF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aG=getelementptr inbounds i8,i8*%az,i64 8
%aH=bitcast i8*%aG to i8**
store i8*%aF,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%az,i64 16
%aJ=bitcast i8*%aI to i32*
store i32 2,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 20)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177296,i32*%aM,align 4
%aN=bitcast i8*%aK to i64*
store i64 0,i64*%aN,align 4
%aO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aP=getelementptr inbounds i8,i8*%aK,i64 8
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 16
%aS=bitcast i8*%aR to i32*
store i32 2,i32*%aS,align 4
%aT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aU=call fastcc i8*%am(i8*inreg%aT,i8*inreg%aK)
store i8*%aU,i8**%c,align 8
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177296,i32*%aX,align 4
store i8*%aV,i8**%e,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a1=getelementptr inbounds i8,i8*%aV,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aV,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%a5=call i8*@sml_alloc(i32 inreg 20)#0
%a6=bitcast i8*%a5 to i32*
%a7=getelementptr inbounds i8,i8*%a5,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177296,i32*%a8,align 4
%a9=getelementptr inbounds i8,i8*%a5,i64 4
%ba=bitcast i8*%a9 to i32*
store i32 0,i32*%ba,align 1
store i32%U,i32*%a6,align 4
%bb=load i8*,i8**%e,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 8
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a5,i64 16
%bf=bitcast i8*%be to i32*
store i32 2,i32*%bf,align 4
ret i8*%a5
}
define internal fastcc i8*@_SMLLN12RecordLayout12setBitmapBitE_235(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12setBitmapBitE_234 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12setBitmapBitE_234 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL9shiftLoop_240(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%p,i64 8
%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%cQ
x:
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=load i8*,i8**%g,align 8
%C=getelementptr inbounds i8,i8*%B,i64 40
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=add nsw i32%E,%A
%G=getelementptr inbounds i8,i8*%B,i64 44
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=icmp sgt i32%F,%I
%K=getelementptr inbounds i8,i8*%B,i64 32
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=bitcast i8*%B to i8**
%O=load i8*,i8**%N,align 8
%P=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%M,i8*inreg%O)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to void(...)**
%S=load void(...)*,void(...)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%f,align 8
%V=load i8*,i8**%g,align 8
br i1%J,label%a0,label%W
W:
store i8*null,i8**%g,align 8
%X=getelementptr inbounds i8,i8*%V,i64 16
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%d,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**%e,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
store i8*%ak,i8**%c,align 8
%an=getelementptr inbounds i8,i8*%ak,i64 4
%ao=bitcast i8*%an to i32*
store i32 0,i32*%ao,align 1
%ap=bitcast i8*%ak to i32*
store i32 3,i32*%ap,align 4
%aq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 16
%au=bitcast i8*%at to i32*
store i32 2,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 20)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177296,i32*%ax,align 4
%ay=bitcast i8*%av to i64*
store i64 0,i64*%ay,align 4
%az=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to i32*
store i32 2,i32*%aD,align 4
%aE=bitcast void(...)*%S to i8*(i8*,i8*)*
%aF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aG=call fastcc i8*%aE(i8*inreg%aF,i8*inreg%av)
store i8*%aG,i8**%c,align 8
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
%aK=load i8*,i8**%c,align 8
%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 i8**
store i8*null,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
store i8*null,i8**%d,align 8
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177296,i32*%aS,align 4
%aT=load i8*,i8**%c,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=load i8*,i8**%d,align 8
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aQ,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 3,i32*%aZ,align 4
ret i8*%aQ
a0:
%a1=getelementptr inbounds i8,i8*%V,i64 16
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%d,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%e,align 8
%a7=load i8*,i8**%c,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ba=getelementptr inbounds i8,i8*%a4,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a4,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
store i8*%be,i8**%d,align 8
%bh=getelementptr inbounds i8,i8*%be,i64 4
%bi=bitcast i8*%bh to i32*
store i32 0,i32*%bi,align 1
%bj=bitcast i8*%be to i32*
store i32 3,i32*%bj,align 4
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 8
%bm=bitcast i8*%bl to i8**
store i8*%bk,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%be,i64 16
%bo=bitcast i8*%bn to i32*
store i32 2,i32*%bo,align 4
%bp=call i8*@sml_alloc(i32 inreg 20)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177296,i32*%br,align 4
%bs=bitcast i8*%bp to i64*
store i64 0,i64*%bs,align 4
%bt=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bu=getelementptr inbounds i8,i8*%bp,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bp,i64 16
%bx=bitcast i8*%bw to i32*
store i32 2,i32*%bx,align 4
%by=bitcast void(...)*%S to i8*(i8*,i8*)*
%bz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bA=call fastcc i8*%by(i8*inreg%bz,i8*inreg%bp)
store i8*%bA,i8**%e,align 8
%bB=load i8*,i8**%g,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 32
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
%bF=bitcast i8*%bB to i8**
%bG=load i8*,i8**%bF,align 8
%bH=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%bE,i8*inreg%bG)
%bI=getelementptr inbounds i8,i8*%bH,i64 16
%bJ=bitcast i8*%bI to i8*(i8*,i8*)**
%bK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bJ,align 8
%bL=bitcast i8*%bH to i8**
%bM=load i8*,i8**%bL,align 8
store i8*%bM,i8**%h,align 8
%bN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bO=getelementptr inbounds i8,i8*%bN,i64 24
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%d,align 8
%bR=call i8*@sml_alloc(i32 inreg 20)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177296,i32*%bT,align 4
store i8*%bR,i8**%f,align 8
%bU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bX=getelementptr inbounds i8,i8*%bR,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bR,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 3,i32*%b0,align 4
%b1=call i8*@sml_alloc(i32 inreg 20)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177296,i32*%b3,align 4
store i8*%b1,i8**%c,align 8
%b4=getelementptr inbounds i8,i8*%b1,i64 4
%b5=bitcast i8*%b4 to i32*
store i32 0,i32*%b5,align 1
%b6=bitcast i8*%b1 to i32*
store i32 5,i32*%b6,align 4
%b7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 16
%cb=bitcast i8*%ca to i32*
store i32 2,i32*%cb,align 4
%cc=call i8*@sml_alloc(i32 inreg 20)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177296,i32*%ce,align 4
%cf=bitcast i8*%cc to i64*
store i64 0,i64*%cf,align 4
%cg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ch=getelementptr inbounds i8,i8*%cc,i64 8
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%cc,i64 16
%ck=bitcast i8*%cj to i32*
store i32 2,i32*%ck,align 4
%cl=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cm=call fastcc i8*%bK(i8*inreg%cl,i8*inreg%cc)
store i8*%cm,i8**%c,align 8
%cn=call i8*@sml_alloc(i32 inreg 20)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177296,i32*%cp,align 4
%cq=load i8*,i8**%c,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cn,i64 8
%ct=bitcast i8*%cs to i8**
store i8*null,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 16
%cv=bitcast i8*%cu to i32*
store i32 3,i32*%cv,align 4
store i8*null,i8**%d,align 8
%cw=call i8*@sml_alloc(i32 inreg 20)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177296,i32*%cy,align 4
store i8*%cw,i8**%f,align 8
%cz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cC=getelementptr inbounds i8,i8*%cw,i64 8
%cD=bitcast i8*%cC to i8**
store i8*%cB,i8**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cw,i64 16
%cF=bitcast i8*%cE to i32*
store i32 3,i32*%cF,align 4
%cG=call i8*@sml_alloc(i32 inreg 20)#0
%cH=getelementptr inbounds i8,i8*%cG,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 1342177296,i32*%cI,align 4
%cJ=load i8*,i8**%e,align 8
%cK=bitcast i8*%cG to i8**
store i8*%cJ,i8**%cK,align 8
%cL=load i8*,i8**%f,align 8
%cM=getelementptr inbounds i8,i8*%cG,i64 8
%cN=bitcast i8*%cM to i8**
store i8*%cL,i8**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cG,i64 16
%cP=bitcast i8*%cO to i32*
store i32 3,i32*%cP,align 4
ret i8*%cG
cQ:
%cR=bitcast i8*%v to i8**
%cS=load i8*,i8**%cR,align 8
store i8*%cS,i8**%c,align 8
%cT=getelementptr inbounds i8,i8*%v,i64 8
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
store i8*%cV,i8**%d,align 8
%cW=getelementptr inbounds i8,i8*%p,i64 16
%cX=bitcast i8*%cW to i32*
%cY=load i32,i32*%cX,align 4
%cZ=load i8*,i8**%g,align 8
%c0=getelementptr inbounds i8,i8*%cZ,i64 44
%c1=bitcast i8*%c0 to i32*
%c2=load i32,i32*%c1,align 4
%c3=sub nsw i32%cY,%c2
%c4=call i8*@sml_alloc(i32 inreg 28)#0
%c5=getelementptr inbounds i8,i8*%c4,i64 -4
%c6=bitcast i8*%c5 to i32*
store i32 1342177304,i32*%c6,align 4
%c7=getelementptr inbounds i8,i8*%c4,i64 20
%c8=bitcast i8*%c7 to i32*
store i32 0,i32*%c8,align 1
%c9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%da=bitcast i8*%c4 to i8**
store i8*%c9,i8**%da,align 8
%db=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dc=getelementptr inbounds i8,i8*%c4,i64 8
%dd=bitcast i8*%dc to i8**
store i8*%db,i8**%dd,align 8
%de=getelementptr inbounds i8,i8*%c4,i64 16
%df=bitcast i8*%de to i32*
store i32%c3,i32*%df,align 4
%dg=getelementptr inbounds i8,i8*%c4,i64 24
%dh=bitcast i8*%dg to i32*
store i32 3,i32*%dh,align 4
%di=load i8*,i8**%g,align 8
%dj=call fastcc i8*@_SMLL9shiftLoop_240(i8*inreg%di,i8*inreg%c4)
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%c,align 8
%dm=getelementptr inbounds i8,i8*%dj,i64 8
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%d,align 8
%dp=load i8*,i8**%g,align 8
%dq=getelementptr inbounds i8,i8*%dp,i64 32
%dr=bitcast i8*%dq to i8**
%ds=load i8*,i8**%dr,align 8
%dt=bitcast i8*%dp to i8**
%du=load i8*,i8**%dt,align 8
%dv=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%ds,i8*inreg%du)
%dw=getelementptr inbounds i8,i8*%dv,i64 16
%dx=bitcast i8*%dw to i8*(i8*,i8*)**
%dy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dx,align 8
%dz=bitcast i8*%dv to i8**
%dA=load i8*,i8**%dz,align 8
store i8*%dA,i8**%i,align 8
%dB=load i8*,i8**%g,align 8
%dC=getelementptr inbounds i8,i8*%dB,i64 8
%dD=bitcast i8*%dC to i8**
%dE=load i8*,i8**%dD,align 8
store i8*%dE,i8**%e,align 8
%dF=getelementptr inbounds i8,i8*%dB,i64 16
%dG=bitcast i8*%dF to i8**
%dH=load i8*,i8**%dG,align 8
store i8*%dH,i8**%f,align 8
%dI=call i8*@sml_alloc(i32 inreg 20)#0
%dJ=getelementptr inbounds i8,i8*%dI,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32 1342177296,i32*%dK,align 4
store i8*%dI,i8**%h,align 8
%dL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dM=bitcast i8*%dI to i8**
store i8*%dL,i8**%dM,align 8
%dN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dO=getelementptr inbounds i8,i8*%dI,i64 8
%dP=bitcast i8*%dO to i8**
store i8*%dN,i8**%dP,align 8
%dQ=getelementptr inbounds i8,i8*%dI,i64 16
%dR=bitcast i8*%dQ to i32*
store i32 3,i32*%dR,align 4
%dS=call i8*@sml_alloc(i32 inreg 20)#0
%dT=getelementptr inbounds i8,i8*%dS,i64 -4
%dU=bitcast i8*%dT to i32*
store i32 1342177296,i32*%dU,align 4
store i8*%dS,i8**%e,align 8
%dV=getelementptr inbounds i8,i8*%dS,i64 4
%dW=bitcast i8*%dV to i32*
store i32 0,i32*%dW,align 1
%dX=bitcast i8*%dS to i32*
store i32 3,i32*%dX,align 4
%dY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dZ=getelementptr inbounds i8,i8*%dS,i64 8
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dS,i64 16
%d2=bitcast i8*%d1 to i32*
store i32 2,i32*%d2,align 4
%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
%d6=bitcast i8*%d3 to i64*
store i64 0,i64*%d6,align 4
%d7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d8=getelementptr inbounds i8,i8*%d3,i64 8
%d9=bitcast i8*%d8 to i8**
store i8*%d7,i8**%d9,align 8
%ea=getelementptr inbounds i8,i8*%d3,i64 16
%eb=bitcast i8*%ea to i32*
store i32 2,i32*%eb,align 4
%ec=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ed=call fastcc i8*%dy(i8*inreg%ec,i8*inreg%d3)
store i8*%ed,i8**%e,align 8
%ee=load i8*,i8**%g,align 8
%ef=getelementptr inbounds i8,i8*%ee,i64 32
%eg=bitcast i8*%ef to i8**
%eh=load i8*,i8**%eg,align 8
%ei=bitcast i8*%ee to i8**
%ej=load i8*,i8**%ei,align 8
%ek=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%eh,i8*inreg%ej)
%el=getelementptr inbounds i8,i8*%ek,i64 16
%em=bitcast i8*%el to i8*(i8*,i8*)**
%en=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%em,align 8
%eo=bitcast i8*%ek to i8**
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%j,align 8
%eq=load i8*,i8**%g,align 8
%er=getelementptr inbounds i8,i8*%eq,i64 8
%es=bitcast i8*%er to i8**
%et=load i8*,i8**%es,align 8
store i8*%et,i8**%f,align 8
%eu=getelementptr inbounds i8,i8*%eq,i64 24
%ev=bitcast i8*%eu to i8**
%ew=load i8*,i8**%ev,align 8
store i8*%ew,i8**%h,align 8
%ex=call i8*@sml_alloc(i32 inreg 20)#0
%ey=getelementptr inbounds i8,i8*%ex,i64 -4
%ez=bitcast i8*%ey to i32*
store i32 1342177296,i32*%ez,align 4
store i8*%ex,i8**%i,align 8
%eA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eB=bitcast i8*%ex to i8**
store i8*%eA,i8**%eB,align 8
%eC=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eD=getelementptr inbounds i8,i8*%ex,i64 8
%eE=bitcast i8*%eD to i8**
store i8*%eC,i8**%eE,align 8
%eF=getelementptr inbounds i8,i8*%ex,i64 16
%eG=bitcast i8*%eF to i32*
store i32 3,i32*%eG,align 4
%eH=call i8*@sml_alloc(i32 inreg 20)#0
%eI=getelementptr inbounds i8,i8*%eH,i64 -4
%eJ=bitcast i8*%eI to i32*
store i32 1342177296,i32*%eJ,align 4
store i8*%eH,i8**%f,align 8
%eK=getelementptr inbounds i8,i8*%eH,i64 4
%eL=bitcast i8*%eK to i32*
store i32 0,i32*%eL,align 1
%eM=bitcast i8*%eH to i32*
store i32 5,i32*%eM,align 4
%eN=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eO=getelementptr inbounds i8,i8*%eH,i64 8
%eP=bitcast i8*%eO to i8**
store i8*%eN,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eH,i64 16
%eR=bitcast i8*%eQ to i32*
store i32 2,i32*%eR,align 4
%eS=call i8*@sml_alloc(i32 inreg 20)#0
%eT=getelementptr inbounds i8,i8*%eS,i64 -4
%eU=bitcast i8*%eT to i32*
store i32 1342177296,i32*%eU,align 4
%eV=bitcast i8*%eS to i64*
store i64 0,i64*%eV,align 4
%eW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eX=getelementptr inbounds i8,i8*%eS,i64 8
%eY=bitcast i8*%eX to i8**
store i8*%eW,i8**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eS,i64 16
%e0=bitcast i8*%eZ to i32*
store i32 2,i32*%e0,align 4
%e1=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%e2=call fastcc i8*%en(i8*inreg%e1,i8*inreg%eS)
store i8*%e2,i8**%f,align 8
%e3=load i8*,i8**%g,align 8
%e4=getelementptr inbounds i8,i8*%e3,i64 32
%e5=bitcast i8*%e4 to i8**
%e6=load i8*,i8**%e5,align 8
store i8*null,i8**%g,align 8
%e7=bitcast i8*%e3 to i8**
%e8=load i8*,i8**%e7,align 8
%e9=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%e6,i8*inreg%e8)
%fa=getelementptr inbounds i8,i8*%e9,i64 16
%fb=bitcast i8*%fa to i8*(i8*,i8*)**
%fc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fb,align 8
%fd=bitcast i8*%e9 to i8**
%fe=load i8*,i8**%fd,align 8
store i8*%fe,i8**%h,align 8
%ff=call i8*@sml_alloc(i32 inreg 20)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177296,i32*%fh,align 4
store i8*%ff,i8**%g,align 8
%fi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 8
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%ff,i64 16
%fo=bitcast i8*%fn to i32*
store i32 3,i32*%fo,align 4
%fp=call i8*@sml_alloc(i32 inreg 20)#0
%fq=getelementptr inbounds i8,i8*%fp,i64 -4
%fr=bitcast i8*%fq to i32*
store i32 1342177296,i32*%fr,align 4
store i8*%fp,i8**%c,align 8
%fs=getelementptr inbounds i8,i8*%fp,i64 4
%ft=bitcast i8*%fs to i32*
store i32 0,i32*%ft,align 1
%fu=bitcast i8*%fp to i32*
store i32 4,i32*%fu,align 4
%fv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fw=getelementptr inbounds i8,i8*%fp,i64 8
%fx=bitcast i8*%fw to i8**
store i8*%fv,i8**%fx,align 8
%fy=getelementptr inbounds i8,i8*%fp,i64 16
%fz=bitcast i8*%fy to i32*
store i32 2,i32*%fz,align 4
%fA=call i8*@sml_alloc(i32 inreg 20)#0
%fB=getelementptr inbounds i8,i8*%fA,i64 -4
%fC=bitcast i8*%fB to i32*
store i32 1342177296,i32*%fC,align 4
%fD=bitcast i8*%fA to i64*
store i64 0,i64*%fD,align 4
%fE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fF=getelementptr inbounds i8,i8*%fA,i64 8
%fG=bitcast i8*%fF to i8**
store i8*%fE,i8**%fG,align 8
%fH=getelementptr inbounds i8,i8*%fA,i64 16
%fI=bitcast i8*%fH to i32*
store i32 2,i32*%fI,align 4
%fJ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fK=call fastcc i8*%fc(i8*inreg%fJ,i8*inreg%fA)
store i8*%fK,i8**%c,align 8
%fL=call i8*@sml_alloc(i32 inreg 20)#0
%fM=getelementptr inbounds i8,i8*%fL,i64 -4
%fN=bitcast i8*%fM to i32*
store i32 1342177296,i32*%fN,align 4
store i8*%fL,i8**%f,align 8
%fO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fP=bitcast i8*%fL to i8**
store i8*%fO,i8**%fP,align 8
%fQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fR=getelementptr inbounds i8,i8*%fL,i64 8
%fS=bitcast i8*%fR to i8**
store i8*%fQ,i8**%fS,align 8
%fT=getelementptr inbounds i8,i8*%fL,i64 16
%fU=bitcast i8*%fT to i32*
store i32 3,i32*%fU,align 4
%fV=call i8*@sml_alloc(i32 inreg 20)#0
%fW=getelementptr inbounds i8,i8*%fV,i64 -4
%fX=bitcast i8*%fW to i32*
store i32 1342177296,i32*%fX,align 4
%fY=load i8*,i8**%e,align 8
%fZ=bitcast i8*%fV to i8**
store i8*%fY,i8**%fZ,align 8
%f0=load i8*,i8**%f,align 8
%f1=getelementptr inbounds i8,i8*%fV,i64 8
%f2=bitcast i8*%f1 to i8**
store i8*%f0,i8**%f2,align 8
%f3=getelementptr inbounds i8,i8*%fV,i64 16
%f4=bitcast i8*%f3 to i32*
store i32 3,i32*%f4,align 4
ret i8*%fV
}
define internal fastcc i8*@_SMLLN12RecordLayout11shiftBitmapE_241(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%c,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i8**
%s=load i8*,i8**%r,align 8
%t=getelementptr inbounds i8,i8*%s,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=icmp eq i8*%v,null
br i1%w,label%x,label%L
x:
store i8*null,i8**%h,align 8
%y=getelementptr inbounds i8,i8*%p,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=icmp eq i32%C,1
br i1%D,label%E,label%c0
E:
%F=getelementptr inbounds i8,i8*%A,i64 4
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
%I=icmp eq i32%H,0
br i1%I,label%J,label%c2
J:
%K=load i8*,i8**%r,align 8
br label%dy
L:
%M=getelementptr inbounds i8,i8*%p,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=icmp eq i32%Q,1
br i1%R,label%S,label%X
S:
%T=getelementptr inbounds i8,i8*%O,i64 4
%U=bitcast i8*%T to i32*
%V=load i32,i32*%U,align 4
%W=icmp eq i32%V,0
br i1%W,label%dy,label%X
X:
%Y=getelementptr inbounds i8,i8*%v,i64 8
%Z=bitcast i8**%h to i8***
%aa=bitcast i8*%s to i32*
%ab=bitcast i8*%Y to i8**
%ac=bitcast i8*%v to i8**
%ad=load i8**,i8***%Z,align 8
%ae=load i32,i32*%aa,align 4
%af=load i8*,i8**%ab,align 8
%ag=load i8*,i8**%ac,align 8
%ah=load i8*,i8**%ad,align 8
store i8*%ah,i8**%c,align 8
store i8*%ag,i8**%d,align 8
store i8*%af,i8**%e,align 8
store i8*%O,i8**%f,align 8
%ai=load i32,i32*%P,align 4
%aj=icmp eq i32%ai,1
br i1%aj,label%am,label%ak
ak:
%al=call fastcc i32@_SMLLN12RecordLayout8maxShiftE_157()
br label%aJ
am:
%an=getelementptr inbounds i8,i8*%O,i64 4
%ao=bitcast i8*%an to i32*
%ap=load i32,i32*%ao,align 4
%aq=icmp sgt i32%ap,-1
br i1%aq,label%aJ,label%ar
ar:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
%as=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%as,i8**%c,align 8
%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**%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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[80x i8]}>,<{[4x i8],i32,[80x i8]}>*@v,i64 0,i32 2,i64 0),i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 16
%aB=bitcast i8*%aA to i32*
store i32 3,i32*%aB,align 4
%aC=call i8*@sml_alloc(i32 inreg 60)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177336,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%aC,i64 56
%aG=bitcast i8*%aF to i32*
store i32 1,i32*%aG,align 4
%aH=load i8*,i8**%d,align 8
%aI=bitcast i8*%aC to i8**
store i8*%aH,i8**%aI,align 8
call void@sml_raise(i8*inreg%aC)#1
unreachable
aJ:
%aK=phi i32[%al,%ak],[%ap,%am]
%aL=load i8*,i8**@_SMLZN12RuntimeTypes8word32TyE,align 8
%aM=getelementptr inbounds i8,i8*%aL,i64 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
%aP=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%aO)
%aQ=load i32,i32*@_SMLZN12RuntimeTypes8charBitsE,align 4
%aR=mul nsw i32%aQ,%aP
%aS=load i8*,i8**%h,align 8
%aT=getelementptr inbounds i8,i8*%aS,i64 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
%aW=load i8*,i8**%c,align 8
%aX=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%aV,i8*inreg%aW)
%aY=getelementptr inbounds i8,i8*%aX,i64 16
%aZ=bitcast i8*%aY to i8*(i8*,i8*)**
%a0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aZ,align 8
%a1=bitcast i8*%aX to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%j,align 8
%a3=call i8*@sml_alloc(i32 inreg 12)#0
%a4=bitcast i8*%a3 to i32*
%a5=getelementptr inbounds i8,i8*%a3,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177288,i32*%a6,align 4
store i8*%a3,i8**%i,align 8
store i32 1,i32*%a4,align 4
%a7=getelementptr inbounds i8,i8*%a3,i64 4
%a8=bitcast i8*%a7 to i32*
store i32%aR,i32*%a8,align 4
%a9=getelementptr inbounds i8,i8*%a3,i64 8
%ba=bitcast i8*%a9 to i32*
store i32 0,i32*%ba,align 4
%bb=call i8*@sml_alloc(i32 inreg 20)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177296,i32*%bd,align 4
store i8*%bb,i8**%g,align 8
%be=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bf=bitcast i8*%bb to i8**
store i8*%be,i8**%bf,align 8
%bg=load i8*,i8**%f,align 8
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%bb,i64 16
%bk=bitcast i8*%bj to i32*
store i32 3,i32*%bk,align 4
%bl=call i8*@sml_alloc(i32 inreg 20)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177296,i32*%bn,align 4
store i8*%bl,i8**%i,align 8
%bo=getelementptr inbounds i8,i8*%bl,i64 4
%bp=bitcast i8*%bo to i32*
store i32 0,i32*%bp,align 1
%bq=bitcast i8*%bl to i32*
store i32 6,i32*%bq,align 4
%br=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 16
%bv=bitcast i8*%bu to i32*
store i32 2,i32*%bv,align 4
%bw=call i8*@sml_alloc(i32 inreg 20)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177296,i32*%by,align 4
%bz=bitcast i8*%bw to i64*
store i64 0,i64*%bz,align 4
%bA=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bB=getelementptr inbounds i8,i8*%bw,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bw,i64 16
%bE=bitcast i8*%bD to i32*
store i32 2,i32*%bE,align 4
%bF=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bG=call fastcc i8*%a0(i8*inreg%bF,i8*inreg%bw)
store i8*%bG,i8**%g,align 8
%bH=load i8*,i8**%h,align 8
%bI=getelementptr inbounds i8,i8*%bH,i64 8
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%h,align 8
%bL=call i8*@sml_alloc(i32 inreg 52)#0
%bM=getelementptr inbounds i8,i8*%bL,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177328,i32*%bN,align 4
store i8*%bL,i8**%i,align 8
%bO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bP=bitcast i8*%bL to i8**
store i8*%bO,i8**%bP,align 8
%bQ=load i8*,i8**%d,align 8
%bR=getelementptr inbounds i8,i8*%bL,i64 8
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bU=getelementptr inbounds i8,i8*%bL,i64 16
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bX=getelementptr inbounds i8,i8*%bL,i64 24
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b0=getelementptr inbounds i8,i8*%bL,i64 32
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bL,i64 40
%b3=bitcast i8*%b2 to i32*
store i32%aK,i32*%b3,align 4
%b4=getelementptr inbounds i8,i8*%bL,i64 44
%b5=bitcast i8*%b4 to i32*
store i32%aR,i32*%b5,align 4
%b6=getelementptr inbounds i8,i8*%bL,i64 48
%b7=bitcast i8*%b6 to i32*
store i32 31,i32*%b7,align 4
%b8=call i8*@sml_alloc(i32 inreg 28)#0
%b9=getelementptr inbounds i8,i8*%b8,i64 -4
%ca=bitcast i8*%b9 to i32*
store i32 1342177304,i32*%ca,align 4
%cb=load i8*,i8**%i,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9shiftLoop_240 to void(...)*),void(...)**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b8,i64 16
%cg=bitcast i8*%cf to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9shiftLoop_240 to void(...)*),void(...)**%cg,align 8
%ch=getelementptr inbounds i8,i8*%b8,i64 24
%ci=bitcast i8*%ch to i32*
store i32 -2147483647,i32*%ci,align 4
%cj=call i8*@sml_alloc(i32 inreg 28)#0
%ck=getelementptr inbounds i8,i8*%cj,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177304,i32*%cl,align 4
%cm=getelementptr inbounds i8,i8*%cj,i64 20
%cn=bitcast i8*%cm to i32*
store i32 0,i32*%cn,align 1
%co=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cp=bitcast i8*%cj to i8**
store i8*%co,i8**%cp,align 8
%cq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cr=getelementptr inbounds i8,i8*%cj,i64 8
%cs=bitcast i8*%cr to i8**
store i8*%cq,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%cj,i64 16
%cu=bitcast i8*%ct to i32*
store i32%ae,i32*%cu,align 4
%cv=getelementptr inbounds i8,i8*%cj,i64 24
%cw=bitcast i8*%cv to i32*
store i32 3,i32*%cw,align 4
%cx=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cy=call fastcc i8*@_SMLL9shiftLoop_240(i8*inreg%cx,i8*inreg%cj)
%cz=bitcast i8*%cy to i8**
%cA=load i8*,i8**%cz,align 8
store i8*%cA,i8**%c,align 8
%cB=getelementptr inbounds i8,i8*%cy,i64 8
%cC=bitcast i8*%cB to i8**
%cD=load i8*,i8**%cC,align 8
store i8*%cD,i8**%d,align 8
%cE=add nsw i32%aK,%ae
%cF=call i8*@sml_alloc(i32 inreg 20)#0
%cG=getelementptr inbounds i8,i8*%cF,i64 -4
%cH=bitcast i8*%cG to i32*
store i32 1342177296,i32*%cH,align 4
store i8*%cF,i8**%e,align 8
%cI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cJ=bitcast i8*%cF to i8**
store i8*%cI,i8**%cJ,align 8
%cK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cL=getelementptr inbounds i8,i8*%cF,i64 8
%cM=bitcast i8*%cL to i8**
store i8*%cK,i8**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cF,i64 16
%cO=bitcast i8*%cN to i32*
store i32 3,i32*%cO,align 4
%cP=call i8*@sml_alloc(i32 inreg 20)#0
%cQ=bitcast i8*%cP to i32*
%cR=getelementptr inbounds i8,i8*%cP,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177296,i32*%cS,align 4
%cT=getelementptr inbounds i8,i8*%cP,i64 4
%cU=bitcast i8*%cT to i32*
store i32 0,i32*%cU,align 1
store i32%cE,i32*%cQ,align 4
%cV=load i8*,i8**%e,align 8
%cW=getelementptr inbounds i8,i8*%cP,i64 8
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cP,i64 16
%cZ=bitcast i8*%cY to i32*
store i32 2,i32*%cZ,align 4
ret i8*%cP
c0:
%c1=call fastcc i32@_SMLLN12RecordLayout8maxShiftE_157()
br label%dm
c2:
%c3=icmp sgt i32%H,-1
br i1%c3,label%dm,label%c4
c4:
%c5=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%c5,i8**%c,align 8
%c6=call i8*@sml_alloc(i32 inreg 20)#0
%c7=getelementptr inbounds i8,i8*%c6,i64 -4
%c8=bitcast i8*%c7 to i32*
store i32 1342177296,i32*%c8,align 4
store i8*%c6,i8**%d,align 8
%c9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%da=bitcast i8*%c6 to i8**
store i8*%c9,i8**%da,align 8
%db=getelementptr inbounds i8,i8*%c6,i64 8
%dc=bitcast i8*%db to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[80x i8]}>,<{[4x i8],i32,[80x i8]}>*@v,i64 0,i32 2,i64 0),i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c6,i64 16
%de=bitcast i8*%dd to i32*
store i32 3,i32*%de,align 4
%df=call i8*@sml_alloc(i32 inreg 60)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177336,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%df,i64 56
%dj=bitcast i8*%di to i32*
store i32 1,i32*%dj,align 4
%dk=load i8*,i8**%d,align 8
%dl=bitcast i8*%df to i8**
store i8*%dk,i8**%dl,align 8
call void@sml_raise(i8*inreg%df)#1
unreachable
dm:
%dn=phi i32[%c1,%c0],[%H,%c2]
%do=call i8*@sml_alloc(i32 inreg 20)#0
%dp=bitcast i8*%do to i32*
%dq=getelementptr inbounds i8,i8*%do,i64 -4
%dr=bitcast i8*%dq to i32*
store i32 1342177296,i32*%dr,align 4
%ds=getelementptr inbounds i8,i8*%do,i64 4
%dt=bitcast i8*%ds to i32*
store i32 0,i32*%dt,align 1
store i32%dn,i32*%dp,align 4
%du=getelementptr inbounds i8,i8*%do,i64 8
%dv=bitcast i8*%du to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@u,i64 0,i32 2)to i8*),i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%do,i64 16
%dx=bitcast i8*%dw to i32*
store i32 2,i32*%dx,align 4
ret i8*%do
dy:
%dz=phi i8*[%K,%J],[%s,%S]
ret i8*%dz
}
define internal fastcc i8*@_SMLLN12RecordLayout11shiftBitmapE_242(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout11shiftBitmapE_241 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout11shiftBitmapE_241 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN12RecordLayout19computeRecordBitmapE_243(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
q:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%o,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%e,align 8
%n=load i8*,i8**%d,align 8
br label%o
o:
%p=phi i8*[%n,%l],[%b,%q]
%r=phi i8*[%m,%l],[%c,%q]
store i8*null,i8**%d,align 8
store i8*%p,i8**%e,align 8
%s=icmp eq i8*%r,null
br i1%s,label%t,label%u
t:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@t,i64 0,i32 2)to i8*)
u:
%v=bitcast i8*%r to i8**
%w=bitcast i8*%r to i8***
%x=load i8**,i8***%w,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=load i8*,i8**%v,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%g,align 8
%D=getelementptr inbounds i8,i8*%r,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=load i8*,i8**%h,align 8
%H=call fastcc i8*@_SMLLN12RecordLayout19computeRecordBitmapE_243(i8*inreg%G,i8*inreg%p,i8*inreg%F)
store i8*%H,i8**%d,align 8
%I=load i8*,i8**%h,align 8
%J=getelementptr inbounds i8,i8*%I,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
%M=load i8*,i8**%e,align 8
%N=call fastcc i8*@_SMLLN12RecordLayout11shiftBitmapE_242(i8*inreg%L,i8*inreg%M)
%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**%i,align 8
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ae=call fastcc i8*%Q(i8*inreg%ad,i8*inreg%T)
store i8*%ae,i8**%d,align 8
%af=bitcast i8**%h to i8***
%ag=load i8**,i8***%af,align 8
store i8*null,i8**%h,align 8
%ah=load i8*,i8**%ag,align 8
%ai=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aj=call fastcc i8*@_SMLLN12RecordLayout12setBitmapBitE_235(i8*inreg%ah,i8*inreg%ai)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%e,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
%as=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ap,i64 16
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
%az=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aA=call fastcc i8*%am(i8*inreg%az,i8*inreg%ap)
ret i8*%aA
}
define internal fastcc i8*@_SMLLN12RecordLayout20computeBitmapIndexesE_244(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#2 gc"smlsharp"{
t:
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%e,align 8
store i8*%c,i8**%g,align 8
store i8*%d,i8**%f,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%r,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%f,align 8
%q=load i8*,i8**%e,align 8
br label%r
r:
%s=phi i8*[%q,%o],[%b,%t]
%u=phi i8*[%p,%o],[%d,%t]
store i8*null,i8**%e,align 8
store i8*%s,i8**%h,align 8
%v=icmp eq i8*%u,null
br i1%v,label%w,label%G
w:
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%j,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
%A=load i8*,i8**%g,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i8**
store i8*null,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
ret i8*%x
G:
%H=bitcast i8*%u to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%i,align 8
%J=bitcast i8**%j to i8***
%K=load i8**,i8***%J,align 8
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*@_SMLLN12RecordLayout7computeE_217(i8*inreg%L,i8*inreg%s)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%l,align 8
%S=load i8*,i8**@_SMLZN12RuntimeTypes8word32TyE,align 8
%T=getelementptr inbounds i8,i8*%S,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=call fastcc i32@_SMLFN12RuntimeTypes7getSizeE(i8*inreg%V)
%X=call i8*@sml_alloc(i32 inreg 12)#0
%Y=bitcast i8*%X to i32*
%Z=getelementptr inbounds i8,i8*%X,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177288,i32*%aa,align 4
store i8*%X,i8**%k,align 8
store i32 1,i32*%Y,align 4
%ab=getelementptr inbounds i8,i8*%X,i64 4
%ac=bitcast i8*%ab to i32*
store i32%W,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i32*
store i32 0,i32*%ae,align 4
%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**%e,align 8
%ai=load i8*,i8**%g,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%k,align 8
%as=bitcast i8*%ap to i64*
store i64 0,i64*%as,align 4
%at=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 16
%ax=bitcast i8*%aw to i32*
store i32 2,i32*%ax,align 4
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
%aB=bitcast i8*%ay to i64*
store i64 0,i64*%aB,align 4
%aC=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aD=getelementptr inbounds i8,i8*%ay,i64 8
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%ay,i64 16
%aG=bitcast i8*%aF to i32*
store i32 2,i32*%aG,align 4
%aH=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aI=call fastcc i8*%P(i8*inreg%aH,i8*inreg%ay)
%aJ=load i8*,i8**%f,align 8
store i8*null,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=load i8*,i8**%h,align 8
%aO=load i8*,i8**%j,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%j,align 8
%aP=call fastcc i8*@_SMLLN12RecordLayout20computeBitmapIndexesE_244(i8*inreg%aO,i8*inreg%aN,i8*inreg%aI,i8*inreg%aM)
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%e,align 8
%aS=getelementptr inbounds i8,i8*%aP,i64 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%f,align 8
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177296,i32*%aX,align 4
store i8*%aV,i8**%h,align 8
%aY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a1=getelementptr inbounds i8,i8*%aV,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aV,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%a5=call i8*@sml_alloc(i32 inreg 20)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177296,i32*%a7,align 4
store i8*%a5,i8**%g,align 8
%a8=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a9=bitcast i8*%a5 to i8**
store i8*%a8,i8**%a9,align 8
%ba=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bb=getelementptr inbounds i8,i8*%a5,i64 8
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a5,i64 16
%be=bitcast i8*%bd to i32*
store i32 3,i32*%be,align 4
%bf=call i8*@sml_alloc(i32 inreg 20)#0
%bg=getelementptr inbounds i8,i8*%bf,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177296,i32*%bh,align 4
%bi=load i8*,i8**%e,align 8
%bj=bitcast i8*%bf to i8**
store i8*%bi,i8**%bj,align 8
%bk=load i8*,i8**%g,align 8
%bl=getelementptr inbounds i8,i8*%bf,i64 8
%bm=bitcast i8*%bl to i8**
store i8*%bk,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%bf,i64 16
%bo=bitcast i8*%bn to i32*
store i32 3,i32*%bo,align 4
ret i8*%bf
}
define internal fastcc i8*@_SMLL8sizesRev_245(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
store i8*%d,i8**%b,align 8
%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
%h=load i8*,i8**%b,align 8
%i=bitcast i8*%e to i8**
store i8*%h,i8**%i,align 8
%j=getelementptr inbounds i8,i8*%e,i64 8
%k=bitcast i8*%j to i32*
store i32 1,i32*%k,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLL4bits_248(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
%g=getelementptr inbounds i8,i8*%f,i64 8
%h=bitcast i8*%g to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%b,align 8
%j=getelementptr inbounds i8,i8*%a,i64 8
%k=bitcast i8*%j to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=getelementptr inbounds i8*,i8**%l,i64 1
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%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=load i8*,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=load i8*,i8**%b,align 8
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%p,i64 24
%B=bitcast i8*%A to i32*
store i32 7,i32*%B,align 4
ret i8*%p
}
define internal fastcc i8*@_SMLLN12RecordLayout13computeRecordE_250(i8*inreg%a)#4 gc"smlsharp"{
%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*@_SMLLN12RecordLayout13computeRecordE_252(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
store i8*null,i8**%c,align 8
store i8*%o,i8**%e,align 8
%q=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*%z(i8*inreg%B,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*))
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=load i8*,i8**%e,align 8
%J=call fastcc i8*%F(i8*inreg%H,i8*inreg%I)
%K=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%L=call fastcc i8*%t(i8*inreg%K,i8*inreg%J)
%M=load i8*,i8**%h,align 8
%N=getelementptr inbounds i8,i8*%M,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*@_SMLLN12RecordLayout16computeLayoutRevE_223(i8*inreg%P,i8*inreg%R,i8*inreg%L)
store i8*%S,i8**%f,align 8
%T=load i8*,i8**%h,align 8
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
%Z=call fastcc i8*@_SMLLN12RecordLayout17alignAccumSizeRevE_228(i8*inreg%W,i8*inreg%Y)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=load i8*,i8**%f,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*%ac(i8*inreg%ae,i8*inreg%ai)
store i8*%aj,i8**%g,align 8
%ak=getelementptr inbounds i8,i8*%aj,i64 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
%an=icmp eq i8*%am,null
br i1%an,label%as,label%ao
ao:
%ap=bitcast i8*%am to i8***
%aq=load i8**,i8***%ap,align 8
%ar=load i8*,i8**%aq,align 8
br label%as
as:
%at=phi i8*[%ar,%ao],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@x,i64 0,i32 2)to i8*),%n]
store i8*%at,i8**%c,align 8
%au=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%av=getelementptr inbounds i8,i8*%au,i64 16
%aw=bitcast i8*%av to i8*(i8*,i8*)**
%ax=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aw,align 8
%ay=bitcast i8*%au to i8**
%az=load i8*,i8**%ay,align 8
%aA=load i8*,i8**%g,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=call fastcc i8*%ax(i8*inreg%az,i8*inreg%aD)
store i8*%aE,i8**%d,align 8
%aF=call fastcc i8*@_SMLFN8ListPair5mapEqE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aG=getelementptr inbounds i8,i8*%aF,i64 16
%aH=bitcast i8*%aG to i8*(i8*,i8*)**
%aI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aH,align 8
%aJ=bitcast i8*%aF to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=call fastcc i8*%aI(i8*inreg%aK,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*))
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i8*(i8*,i8*)**
%aO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aN,align 8
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
store i8*%aQ,i8**%i,align 8
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
%aU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=load i8*,i8**%d,align 8
%aX=getelementptr inbounds i8,i8*%aR,i64 8
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aR,i64 16
%a0=bitcast i8*%aZ to i32*
store i32 3,i32*%a0,align 4
%a1=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a2=call fastcc i8*%aO(i8*inreg%a1,i8*inreg%aR)
%a3=load i8*,i8**%h,align 8
%a4=getelementptr inbounds i8,i8*%a3,i64 24
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
%a7=bitcast i8*%a3 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=call fastcc i8*@_SMLLN12RecordLayout15computeBitIndexE_229(i8*inreg%a6,i8*inreg%a8,i8*inreg%a2)
%ba=load i8*,i8**%h,align 8
%bb=getelementptr inbounds i8,i8*%ba,i64 32
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
%be=bitcast i8*%ba to i8**
%bf=load i8*,i8**%be,align 8
%bg=getelementptr inbounds i8,i8*%a9,i64 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
%bj=call fastcc i8*@_SMLLN12RecordLayout19computeRecordBitmapE_243(i8*inreg%bd,i8*inreg%bf,i8*inreg%bi)
%bk=load i8*,i8**%h,align 8
%bl=getelementptr inbounds i8,i8*%bk,i64 40
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
store i8*null,i8**%h,align 8
%bo=bitcast i8*%bk to i8**
%bp=load i8*,i8**%bo,align 8
%bq=getelementptr inbounds i8,i8*%bj,i64 8
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
%bt=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bu=call fastcc i8*@_SMLLN12RecordLayout20computeBitmapIndexesE_244(i8*inreg%bn,i8*inreg%bp,i8*inreg%bt,i8*inreg%bs)
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
store i8*%bw,i8**%c,align 8
%bx=getelementptr inbounds i8,i8*%bu,i64 8
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
store i8*%bz,i8**%e,align 8
%bA=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bB=getelementptr inbounds i8,i8*%bA,i64 16
%bC=bitcast i8*%bB to i8*(i8*,i8*)**
%bD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bC,align 8
%bE=bitcast i8*%bA to i8**
%bF=load i8*,i8**%bE,align 8
%bG=call fastcc i8*%bD(i8*inreg%bF,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*))
%bH=getelementptr inbounds i8,i8*%bG,i64 16
%bI=bitcast i8*%bH to i8*(i8*,i8*)**
%bJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bI,align 8
%bK=bitcast i8*%bG to i8**
%bL=load i8*,i8**%bK,align 8
%bM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bN=call fastcc i8*%bJ(i8*inreg%bL,i8*inreg%bM)
store i8*%bN,i8**%d,align 8
%bO=bitcast i8**%f to i32**
%bP=load i32*,i32**%bO,align 8
store i8*null,i8**%f,align 8
%bQ=load i32,i32*%bP,align 4
%bR=icmp eq i32%bQ,0
br i1%bR,label%bT,label%bS
bS:
store i8*null,i8**%g,align 8
br label%bX
bT:
%bU=bitcast i8**%g to i32**
%bV=load i32*,i32**%bU,align 8
store i8*null,i8**%g,align 8
%bW=load i32,i32*%bV,align 4
br label%bX
bX:
%bY=phi i32[1,%bS],[%bW,%bT]
%bZ=call i8*@sml_alloc(i32 inreg 36)#0
%b0=getelementptr inbounds i8,i8*%bZ,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177312,i32*%b1,align 4
%b2=getelementptr inbounds i8,i8*%bZ,i64 28
%b3=bitcast i8*%b2 to i32*
store i32 0,i32*%b3,align 1
%b4=load i8*,i8**%c,align 8
%b5=bitcast i8*%bZ to i8**
store i8*%b4,i8**%b5,align 8
%b6=load i8*,i8**%e,align 8
%b7=getelementptr inbounds i8,i8*%bZ,i64 8
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=load i8*,i8**%d,align 8
%ca=getelementptr inbounds i8,i8*%bZ,i64 16
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%bZ,i64 24
%cd=bitcast i8*%cc to i32*
store i32%bY,i32*%cd,align 4
%ce=getelementptr inbounds i8,i8*%bZ,i64 32
%cf=bitcast i8*%ce to i32*
store i32 7,i32*%cf,align 4
ret i8*%bZ
}
define internal fastcc i8*@_SMLLN12RecordLayout13computeRecordE_253(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%b,i8**%c,align 8
%j=bitcast i8*%a to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%d,align 8
%l=getelementptr inbounds i8,i8*%a,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%e,align 8
%o=getelementptr inbounds i8,i8*%a,i64 16
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%f,align 8
%r=getelementptr inbounds i8,i8*%a,i64 24
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%g,align 8
%u=getelementptr inbounds i8,i8*%a,i64 32
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%h,align 8
%x=call i8*@sml_alloc(i32 inreg 52)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177328,i32*%z,align 4
store i8*%x,i8**%i,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%G=getelementptr inbounds i8,i8*%x,i64 16
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%J=getelementptr inbounds i8,i8*%x,i64 24
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%M=getelementptr inbounds i8,i8*%x,i64 32
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%P=getelementptr inbounds i8,i8*%x,i64 40
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%x,i64 48
%S=bitcast i8*%R to i32*
store i32 63,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 28)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
%W=load i8*,i8**%i,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout13computeRecordE_252 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 16
%ab=bitcast i8*%aa to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout13computeRecordE_252 to void(...)*),void(...)**%ab,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 24
%ad=bitcast i8*%ac to i32*
store i32 -2147483647,i32*%ad,align 4
ret i8*%T
}
define internal fastcc i8*@_SMLLN12RecordLayout12computeIndexE_254(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%l,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
%k=load i8*,i8**%e,align 8
br label%l
l:
%m=phi i8*[%k,%i],[%a,%n]
%o=phi i8*[%j,%i],[%b,%n]
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%f,align 8
%v=bitcast i8*%m to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=bitcast i8**%c to i8***
%E=load i8**,i8***%D,align 8
store i8*null,i8**%c,align 8
%F=load i8*,i8**%E,align 8
%G=call fastcc i8*%A(i8*inreg%C,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%H,i64 16
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=load i8*,i8**%f,align 8
%S=load i8*,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
%T=call fastcc i8*@_SMLLN12RecordLayout15computeIndexRevE_222(i8*inreg%R,i8*inreg%S,i8*inreg%H)
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
ret i8*%W
}
define internal fastcc i8*@_SMLLN12RecordLayout12computeIndexE_255(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12computeIndexE_254 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12RecordLayout12computeIndexE_254 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN12RecordLayout19newComputationAccumE_256(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**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call i8*@sml_alloc(i32 inreg 8)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 805306376,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=bitcast i8*%j to i64*
store i64 0,i64*%m,align 1
%n=bitcast i8**%c to i8***
%o=load i8**,i8***%n,align 8
%p=load i8*,i8**%o,align 8
%q=getelementptr inbounds i8,i8*%p,i64 48
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*,i8*)**
%v=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 4)#0
%z=bitcast i8*%y to i32*
%A=getelementptr inbounds i8,i8*%y,i64 -4
%B=bitcast i8*%A to i32*
store i32 4,i32*%B,align 4
store i8*%y,i8**%e,align 8
store i32 1,i32*%z,align 4
%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 8,i32*%D,align 4
%G=load i8*,i8**%c,align 8
%H=load i8*,i8**%e,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
%I=call fastcc i8*%v(i8*inreg%G,i8*inreg%H,i8*inreg%C)
store i8*%I,i8**%c,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
%M=load i8*,i8**%c,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i8**
store i8*null,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
%S=load i8*,i8**%d,align 8
%T=bitcast i8*%S to i8**
call void@sml_write(i8*inreg%S,i8**inreg%T,i8*inreg%J)#0
%U=load i8*,i8**%d,align 8
ret i8*%U
}
define fastcc i8*@_SMLFN12RecordLayout19newComputationAccumE(i32 inreg%a)local_unnamed_addr#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 0),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
%k=bitcast i8*%g to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=call i8*@sml_alloc(i32 inreg 4)#0
%n=bitcast i8*%m to i32*
%o=getelementptr inbounds i8,i8*%m,i64 -4
%p=bitcast i8*%o to i32*
store i32 4,i32*%p,align 4
store i32%a,i32*%n,align 4
%q=load i8*,i8**%b,align 8
%r=tail call fastcc i8*%j(i8*inreg%q,i8*inreg%m)
ret i8*%r
}
define fastcc i8*@_SMLFN12RecordLayout12extractDeclsE(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]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 1)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN12RecordLayout12extractDeclsE_214(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i8*@_SMLFN12RecordLayout12computeIndexE(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]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 2)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN12RecordLayout12computeIndexE_255(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i8*@_SMLFN12RecordLayout13computeRecordE(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]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[4x i8*]}>,<{[4x i8],i32,[4x i8*]}>*@_SML_gvar226e91fe36086637_RecordLayout,i64 0,i32 2,i64 3)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN12RecordLayout13computeRecordE_253(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define internal fastcc i8*@_SMLLN12RecordLayout10compareExpE_267(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN12RecordLayout10compareExpE_210(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*@_SMLLL268(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*%b
}
define internal fastcc i8*@_SMLL8sizesRev_269(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL8sizesRev_245(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4bits_270(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL4bits_248(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN12RecordLayout13computeRecordE_271(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN12RecordLayout19newComputationAccumE_272(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*@_SMLLN12RecordLayout19newComputationAccumE_256(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
