@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN1__12BinaryMapFn2E=external local_unnamed_addr global i8*
@_SMLZN5Int327compareE=external local_unnamed_addr global i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLL27 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL78 to void(...)*),i32 -2147483647}>,align 8
@_SML_gvar04a904d40099ecf0_IEnv=private global<{[4x i8],i32,[49x i8*]}><{[4x i8]zeroinitializer,i32 -1342176888,[49x i8*]zeroinitializer}>,align 8
@b=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@b to i64))]
@_SML_ftab04a904d40099ecf0_IEnv=external global i8
@c=private unnamed_addr global i8 0
@_SMLZN4IEnv3appE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 0)
@_SMLZN4IEnv4appiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 1)
@_SMLZN4IEnv7collateE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 2)
@_SMLZN4IEnv10differenceE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 3)
@_SMLZN4IEnv5emptyE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 4)
@_SMLZN4IEnv2eqE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 5)
@_SMLZN4IEnv6filterE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 6)
@_SMLZN4IEnv7filteriE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 7)
@_SMLZN4IEnv4findE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 8)
@_SMLZN4IEnv5findiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 9)
@_SMLZN4IEnv5firstE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 10)
@_SMLZN4IEnv6firstiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 11)
@_SMLZN4IEnv5foldlE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 12)
@_SMLZN4IEnv6foldliE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 13)
@_SMLZN4IEnv5foldrE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 14)
@_SMLZN4IEnv6foldriE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 15)
@_SMLZN4IEnv8inDomainE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 16)
@_SMLZN4IEnv6insertE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 17)
@_SMLZN4IEnv7insert_GE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 18)
@_SMLZN4IEnv10insertWithE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 19)
@_SMLZN4IEnv11insertWithiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 20)
@_SMLZN4IEnv12insertWithi2E=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 21)
@_SMLZN4IEnv13intersectWithE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 22)
@_SMLZN4IEnv14intersectWithiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 23)
@_SMLZN4IEnv15intersectWithi2E=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 24)
@_SMLZN4IEnv7isEmptyE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 25)
@_SMLZN4IEnv9listItemsE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 26)
@_SMLZN4IEnv10listItemsiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 27)
@_SMLZN4IEnv8listKeysE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 28)
@_SMLZN4IEnv6lookupE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 29)
@_SMLZN4IEnv3mapE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 30)
@_SMLZN4IEnv10mapPartialE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 31)
@_SMLZN4IEnv11mapPartialiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 32)
@_SMLZN4IEnv4mapiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 33)
@_SMLZN4IEnv5mapi2E=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 34)
@_SMLZN4IEnv9mergeWithE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 35)
@_SMLZN4IEnv10mergeWithiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 36)
@_SMLZN4IEnv11mergeWithi2E=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 37)
@_SMLZN4IEnv8numItemsE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 38)
@_SMLZN4IEnv6removeE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 39)
@_SMLZN4IEnv7removeiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 40)
@_SMLZN4IEnv9singletonE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 41)
@_SMLZN4IEnv22subtractByKeyElemEquivE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 42)
@_SMLZN4IEnv18subtractByKeyEquivE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 43)
@_SMLZN4IEnv9unionWithE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 44)
@_SMLZN4IEnv10unionWithiE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 45)
@_SMLZN4IEnv11unionWithi2E=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 46)
@_SMLZN4IEnv11unionWithi3E=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 47)
@_SMLZN4IEnv3Key7compareE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i32 0,i32 2,i32 48)
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 i32@sml_personality(...)#0
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 void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main9ccefaabb4aedaba_binary_map_fn2()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_load9ccefaabb4aedaba_binary_map_fn2(i8*)local_unnamed_addr
define private void@_SML_tabb04a904d40099ecf0_IEnv()#2{
unreachable
}
define void@_SML_load04a904d40099ecf0_IEnv(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@c,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@c,align 1
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_load9ccefaabb4aedaba_binary_map_fn2(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb04a904d40099ecf0_IEnv,i8*@_SML_ftab04a904d40099ecf0_IEnv,i8*bitcast([2x i64]*@b to i8*))#0
ret void
}
define void@_SML_main04a904d40099ecf0_IEnv()local_unnamed_addr#1 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=load i8,i8*@c,align 1
%e=and i8%d,2
%f=icmp eq i8%e,0
br i1%f,label%h,label%g
g:
ret void
h:
store i8 3,i8*@c,align 1
tail call void@_SML_main5148a836b3728be9_Int32()#1
tail call void@_SML_main9ccefaabb4aedaba_binary_map_fn2()#1
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%i=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%i)#0
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%m,label%l
l:
invoke void@sml_check(i32 inreg%j)
to label%m unwind label%cq
m:
%n=load i8*,i8**@_SMLZN1__12BinaryMapFn2E,align 8
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*,i8*)**
%q=load i8*(i8*,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**%b,align 8
%t=call i8*@sml_alloc(i32 inreg 4)#0
%u=bitcast i8*%t to i32*
%v=getelementptr inbounds i8,i8*%t,i64 -4
%w=bitcast i8*%v to i32*
store i32 4,i32*%w,align 4
store i8*%t,i8**%c,align 8
store i32 0,i32*%u,align 4
%x=call i8*@sml_alloc(i32 inreg 4)#0
%y=bitcast i8*%x to i32*
%z=getelementptr inbounds i8,i8*%x,i64 -4
%A=bitcast i8*%z to i32*
store i32 4,i32*%A,align 4
store i32 4,i32*%y,align 4
%B=load i8*,i8**%b,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%b,align 8
store i8*null,i8**%c,align 8
%D=invoke fastcc i8*%q(i8*inreg%B,i8*inreg%C,i8*inreg%x)
to label%E unwind label%cq
E:
%F=getelementptr inbounds i8,i8*%D,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%D to i8**
%J=load i8*,i8**%I,align 8
%K=invoke fastcc i8*%H(i8*inreg%J,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a,i64 0,i32 2)to i8*))
to label%L unwind label%cq
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=load i8*,i8**@_SMLZN5Int327compareE,align 8
%S=invoke fastcc i8*%O(i8*inreg%Q,i8*inreg%R)
to label%T unwind label%cq
T:
%U=getelementptr inbounds i8,i8*%S,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0),i8*inreg%W)#0
%X=getelementptr inbounds i8,i8*%S,i64 16
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 1),i8*inreg%Z)#0
%aa=getelementptr inbounds i8,i8*%S,i64 24
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 2),i8*inreg%ac)#0
%ad=getelementptr inbounds i8,i8*%S,i64 32
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 3),i8*inreg%af)#0
%ag=getelementptr inbounds i8,i8*%S,i64 40
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 4),i8*inreg%ai)#0
%aj=getelementptr inbounds i8,i8*%S,i64 48
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 5),i8*inreg%al)#0
%am=getelementptr inbounds i8,i8*%S,i64 56
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 6),i8*inreg%ao)#0
%ap=getelementptr inbounds i8,i8*%S,i64 64
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 7),i8*inreg%ar)#0
%as=getelementptr inbounds i8,i8*%S,i64 72
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 8),i8*inreg%au)#0
%av=getelementptr inbounds i8,i8*%S,i64 80
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 9),i8*inreg%ax)#0
%ay=getelementptr inbounds i8,i8*%S,i64 88
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 10),i8*inreg%aA)#0
%aB=getelementptr inbounds i8,i8*%S,i64 96
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 11),i8*inreg%aD)#0
%aE=getelementptr inbounds i8,i8*%S,i64 104
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 12),i8*inreg%aG)#0
%aH=getelementptr inbounds i8,i8*%S,i64 112
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 13),i8*inreg%aJ)#0
%aK=getelementptr inbounds i8,i8*%S,i64 120
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 14),i8*inreg%aM)#0
%aN=getelementptr inbounds i8,i8*%S,i64 128
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 15),i8*inreg%aP)#0
%aQ=getelementptr inbounds i8,i8*%S,i64 136
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 16),i8*inreg%aS)#0
%aT=getelementptr inbounds i8,i8*%S,i64 144
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 17),i8*inreg%aV)#0
%aW=getelementptr inbounds i8,i8*%S,i64 152
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 18),i8*inreg%aY)#0
%aZ=getelementptr inbounds i8,i8*%S,i64 160
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 19),i8*inreg%a1)#0
%a2=getelementptr inbounds i8,i8*%S,i64 168
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 20),i8*inreg%a4)#0
%a5=getelementptr inbounds i8,i8*%S,i64 176
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 21),i8*inreg%a7)#0
%a8=getelementptr inbounds i8,i8*%S,i64 184
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 22),i8*inreg%ba)#0
%bb=getelementptr inbounds i8,i8*%S,i64 192
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 23),i8*inreg%bd)#0
%be=getelementptr inbounds i8,i8*%S,i64 200
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 24),i8*inreg%bg)#0
%bh=getelementptr inbounds i8,i8*%S,i64 208
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 25),i8*inreg%bj)#0
%bk=getelementptr inbounds i8,i8*%S,i64 216
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 26),i8*inreg%bm)#0
%bn=getelementptr inbounds i8,i8*%S,i64 224
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 27),i8*inreg%bp)#0
%bq=getelementptr inbounds i8,i8*%S,i64 232
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 28),i8*inreg%bs)#0
%bt=getelementptr inbounds i8,i8*%S,i64 240
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 29),i8*inreg%bv)#0
%bw=getelementptr inbounds i8,i8*%S,i64 248
%bx=bitcast i8*%bw to i8**
%by=load i8*,i8**%bx,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 30),i8*inreg%by)#0
%bz=getelementptr inbounds i8,i8*%S,i64 256
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 31),i8*inreg%bB)#0
%bC=getelementptr inbounds i8,i8*%S,i64 264
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 32),i8*inreg%bE)#0
%bF=getelementptr inbounds i8,i8*%S,i64 272
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 33),i8*inreg%bH)#0
%bI=getelementptr inbounds i8,i8*%S,i64 280
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 34),i8*inreg%bK)#0
%bL=getelementptr inbounds i8,i8*%S,i64 288
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 35),i8*inreg%bN)#0
%bO=getelementptr inbounds i8,i8*%S,i64 296
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 36),i8*inreg%bQ)#0
%bR=getelementptr inbounds i8,i8*%S,i64 304
%bS=bitcast i8*%bR to i8**
%bT=load i8*,i8**%bS,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 37),i8*inreg%bT)#0
%bU=getelementptr inbounds i8,i8*%S,i64 312
%bV=bitcast i8*%bU to i8**
%bW=load i8*,i8**%bV,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 38),i8*inreg%bW)#0
%bX=getelementptr inbounds i8,i8*%S,i64 320
%bY=bitcast i8*%bX to i8**
%bZ=load i8*,i8**%bY,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 39),i8*inreg%bZ)#0
%b0=getelementptr inbounds i8,i8*%S,i64 328
%b1=bitcast i8*%b0 to i8**
%b2=load i8*,i8**%b1,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 40),i8*inreg%b2)#0
%b3=getelementptr inbounds i8,i8*%S,i64 336
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 41),i8*inreg%b5)#0
%b6=getelementptr inbounds i8,i8*%S,i64 344
%b7=bitcast i8*%b6 to i8**
%b8=load i8*,i8**%b7,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 42),i8*inreg%b8)#0
%b9=getelementptr inbounds i8,i8*%S,i64 352
%ca=bitcast i8*%b9 to i8**
%cb=load i8*,i8**%ca,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 43),i8*inreg%cb)#0
%cc=getelementptr inbounds i8,i8*%S,i64 360
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 44),i8*inreg%ce)#0
%cf=getelementptr inbounds i8,i8*%S,i64 368
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 45),i8*inreg%ch)#0
%ci=getelementptr inbounds i8,i8*%S,i64 376
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 46),i8*inreg%ck)#0
%cl=getelementptr inbounds i8,i8*%S,i64 384
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 47),i8*inreg%cn)#0
%co=bitcast i8*%S to i8**
%cp=load i8*,i8**%co,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 48),i8*inreg%cp)#0
call void@sml_end()#0
ret void
cq:
%cr=landingpad{i8*,i8*}
cleanup
%cs=extractvalue{i8*,i8*}%cr,1
call void@sml_save_exn(i8*inreg%cs)#0
call void@sml_end()#0
resume{i8*,i8*}%cr
}
define internal fastcc i8*@_SMLLL27(i8*inreg%a)#3 gc"smlsharp"{
ret i8*%a
}
define fastcc i8*@_SMLFN4IEnv3appE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 0),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv4appiE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 1),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv7collateE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 2),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv10differenceE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 3),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv5emptyE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 4),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv2eqE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 5),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv6filterE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 6),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv7filteriE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 7),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv4findE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 8),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv5findiE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 9),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv5firstE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 10),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv6firstiE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 11),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv5foldlE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 12),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv6foldliE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 13),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv5foldrE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 14),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv6foldriE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 15),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv8inDomainE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 16),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv6insertE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 17),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv7insert_GE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 18),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv10insertWithE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 19),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv11insertWithiE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 20),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv12insertWithi2E(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 21),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv13intersectWithE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e,i32 inreg%f)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 22),align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)**
%t=load i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)*,i8*(i8*,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**%g,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%h,align 8
store i32%a,i32*%x,align 4
%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**%i,align 8
store i32%b,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 i8*%E,i8**%j,align 8
store i32%c,i32*%F,align 4
%I=call i8*@sml_alloc(i32 inreg 4)#0
%J=bitcast i8*%I to i32*
%K=getelementptr inbounds i8,i8*%I,i64 -4
%L=bitcast i8*%K to i32*
store i32 4,i32*%L,align 4
store i8*%I,i8**%k,align 8
store i32%d,i32*%J,align 4
%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 i8*%M,i8**%l,align 8
store i32%e,i32*%N,align 4
%Q=call i8*@sml_alloc(i32 inreg 4)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 4,i32*%T,align 4
store i32%f,i32*%R,align 4
%U=load i8*,i8**%g,align 8
%V=load i8*,i8**%h,align 8
%W=load i8*,i8**%i,align 8
%X=load i8*,i8**%j,align 8
%Y=load i8*,i8**%k,align 8
%Z=load i8*,i8**%l,align 8
%aa=call fastcc i8*%t(i8*inreg%U,i8*inreg%V,i8*inreg%W,i8*inreg%X,i8*inreg%Y,i8*inreg%Z,i8*inreg%Q)
ret i8*%aa
}
define fastcc i8*@_SMLFN4IEnv14intersectWithiE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e,i32 inreg%f)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 23),align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)**
%t=load i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)*,i8*(i8*,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**%g,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%h,align 8
store i32%a,i32*%x,align 4
%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**%i,align 8
store i32%b,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 i8*%E,i8**%j,align 8
store i32%c,i32*%F,align 4
%I=call i8*@sml_alloc(i32 inreg 4)#0
%J=bitcast i8*%I to i32*
%K=getelementptr inbounds i8,i8*%I,i64 -4
%L=bitcast i8*%K to i32*
store i32 4,i32*%L,align 4
store i8*%I,i8**%k,align 8
store i32%d,i32*%J,align 4
%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 i8*%M,i8**%l,align 8
store i32%e,i32*%N,align 4
%Q=call i8*@sml_alloc(i32 inreg 4)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 4,i32*%T,align 4
store i32%f,i32*%R,align 4
%U=load i8*,i8**%g,align 8
%V=load i8*,i8**%h,align 8
%W=load i8*,i8**%i,align 8
%X=load i8*,i8**%j,align 8
%Y=load i8*,i8**%k,align 8
%Z=load i8*,i8**%l,align 8
%aa=call fastcc i8*%t(i8*inreg%U,i8*inreg%V,i8*inreg%W,i8*inreg%X,i8*inreg%Y,i8*inreg%Z,i8*inreg%Q)
ret i8*%aa
}
define fastcc i8*@_SMLFN4IEnv15intersectWithi2E(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e,i32 inreg%f)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 24),align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)**
%t=load i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)*,i8*(i8*,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**%g,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%h,align 8
store i32%a,i32*%x,align 4
%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**%i,align 8
store i32%b,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 i8*%E,i8**%j,align 8
store i32%c,i32*%F,align 4
%I=call i8*@sml_alloc(i32 inreg 4)#0
%J=bitcast i8*%I to i32*
%K=getelementptr inbounds i8,i8*%I,i64 -4
%L=bitcast i8*%K to i32*
store i32 4,i32*%L,align 4
store i8*%I,i8**%k,align 8
store i32%d,i32*%J,align 4
%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 i8*%M,i8**%l,align 8
store i32%e,i32*%N,align 4
%Q=call i8*@sml_alloc(i32 inreg 4)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 4,i32*%T,align 4
store i32%f,i32*%R,align 4
%U=load i8*,i8**%g,align 8
%V=load i8*,i8**%h,align 8
%W=load i8*,i8**%i,align 8
%X=load i8*,i8**%j,align 8
%Y=load i8*,i8**%k,align 8
%Z=load i8*,i8**%l,align 8
%aa=call fastcc i8*%t(i8*inreg%U,i8*inreg%V,i8*inreg%W,i8*inreg%X,i8*inreg%Y,i8*inreg%Z,i8*inreg%Q)
ret i8*%aa
}
define fastcc i8*@_SMLFN4IEnv7isEmptyE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 25),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv9listItemsE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 26),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv10listItemsiE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 27),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv8listKeysE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 28),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv6lookupE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 29),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv3mapE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 30),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv10mapPartialE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 31),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv11mapPartialiE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 32),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv4mapiE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 33),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv5mapi2E(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 34),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%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**%h,align 8
store i32%c,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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define fastcc i8*@_SMLFN4IEnv9mergeWithE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e,i32 inreg%f)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 35),align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)**
%t=load i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)*,i8*(i8*,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**%g,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%h,align 8
store i32%a,i32*%x,align 4
%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**%i,align 8
store i32%b,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 i8*%E,i8**%j,align 8
store i32%c,i32*%F,align 4
%I=call i8*@sml_alloc(i32 inreg 4)#0
%J=bitcast i8*%I to i32*
%K=getelementptr inbounds i8,i8*%I,i64 -4
%L=bitcast i8*%K to i32*
store i32 4,i32*%L,align 4
store i8*%I,i8**%k,align 8
store i32%d,i32*%J,align 4
%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 i8*%M,i8**%l,align 8
store i32%e,i32*%N,align 4
%Q=call i8*@sml_alloc(i32 inreg 4)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 4,i32*%T,align 4
store i32%f,i32*%R,align 4
%U=load i8*,i8**%g,align 8
%V=load i8*,i8**%h,align 8
%W=load i8*,i8**%i,align 8
%X=load i8*,i8**%j,align 8
%Y=load i8*,i8**%k,align 8
%Z=load i8*,i8**%l,align 8
%aa=call fastcc i8*%t(i8*inreg%U,i8*inreg%V,i8*inreg%W,i8*inreg%X,i8*inreg%Y,i8*inreg%Z,i8*inreg%Q)
ret i8*%aa
}
define fastcc i8*@_SMLFN4IEnv10mergeWithiE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e,i32 inreg%f)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 36),align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)**
%t=load i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)*,i8*(i8*,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**%g,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%h,align 8
store i32%a,i32*%x,align 4
%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**%i,align 8
store i32%b,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 i8*%E,i8**%j,align 8
store i32%c,i32*%F,align 4
%I=call i8*@sml_alloc(i32 inreg 4)#0
%J=bitcast i8*%I to i32*
%K=getelementptr inbounds i8,i8*%I,i64 -4
%L=bitcast i8*%K to i32*
store i32 4,i32*%L,align 4
store i8*%I,i8**%k,align 8
store i32%d,i32*%J,align 4
%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 i8*%M,i8**%l,align 8
store i32%e,i32*%N,align 4
%Q=call i8*@sml_alloc(i32 inreg 4)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 4,i32*%T,align 4
store i32%f,i32*%R,align 4
%U=load i8*,i8**%g,align 8
%V=load i8*,i8**%h,align 8
%W=load i8*,i8**%i,align 8
%X=load i8*,i8**%j,align 8
%Y=load i8*,i8**%k,align 8
%Z=load i8*,i8**%l,align 8
%aa=call fastcc i8*%t(i8*inreg%U,i8*inreg%V,i8*inreg%W,i8*inreg%X,i8*inreg%Y,i8*inreg%Z,i8*inreg%Q)
ret i8*%aa
}
define fastcc i8*@_SMLFN4IEnv11mergeWithi2E(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e,i32 inreg%f)local_unnamed_addr#1 gc"smlsharp"{
%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**%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
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
call void@sml_check(i32 inreg%m)
br label%p
p:
%q=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 37),align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)**
%t=load i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*)*,i8*(i8*,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**%g,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%h,align 8
store i32%a,i32*%x,align 4
%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**%i,align 8
store i32%b,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 i8*%E,i8**%j,align 8
store i32%c,i32*%F,align 4
%I=call i8*@sml_alloc(i32 inreg 4)#0
%J=bitcast i8*%I to i32*
%K=getelementptr inbounds i8,i8*%I,i64 -4
%L=bitcast i8*%K to i32*
store i32 4,i32*%L,align 4
store i8*%I,i8**%k,align 8
store i32%d,i32*%J,align 4
%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 i8*%M,i8**%l,align 8
store i32%e,i32*%N,align 4
%Q=call i8*@sml_alloc(i32 inreg 4)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 4,i32*%T,align 4
store i32%f,i32*%R,align 4
%U=load i8*,i8**%g,align 8
%V=load i8*,i8**%h,align 8
%W=load i8*,i8**%i,align 8
%X=load i8*,i8**%j,align 8
%Y=load i8*,i8**%k,align 8
%Z=load i8*,i8**%l,align 8
%aa=call fastcc i8*%t(i8*inreg%U,i8*inreg%V,i8*inreg%W,i8*inreg%X,i8*inreg%Y,i8*inreg%Z,i8*inreg%Q)
ret i8*%aa
}
define fastcc i8*@_SMLFN4IEnv8numItemsE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 38),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv6removeE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 39),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv7removeiE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 40),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv9singletonE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 41),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv22subtractByKeyElemEquivE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 42),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv18subtractByKeyEquivE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 43),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv9unionWithE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 44),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv10unionWithiE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 45),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv11unionWithi2E(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 46),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i8*@_SMLFN4IEnv11unionWithi3E(i32 inreg%a,i32 inreg%b)local_unnamed_addr#1 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 47),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,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=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define fastcc i32@_SMLFN4IEnv3Key7compareE(i8*inreg%a)local_unnamed_addr#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[49x i8*]}>,<{[4x i8],i32,[49x i8*]}>*@_SML_gvar04a904d40099ecf0_IEnv,i64 0,i32 2,i64 48),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
ret i32%r
}
define internal fastcc i8*@_SMLLL78(i8*inreg%a,i8*inreg%b)#3 gc"smlsharp"{
ret i8*%b
}
attributes#0={nounwind}
attributes#1={uwtable}
attributes#2={noreturn nounwind}
attributes#3={nounwind uwtable}
