@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN12RuntimeTypes10recordPropE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes10word32PropE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes11codeptrPropE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes7anyPropE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes7boxedTyE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes9boxedPropE=external local_unnamed_addr global i8*
@_SMLZN12RuntimeTypes9int32PropE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"TypeLayout2.PropOf\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL122=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i32 0,i32 0,i32 0),i32 8)}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypeLayout27dummyTyE_124 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout27dummyTyE_202 to void(...)*),i32 -2147483647}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 0,[4x i8]zeroinitializer,i32 0}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,[4x i8]zeroinitializer,i32 0}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/data/runtimetypes/main/TypeLayout2.sml:44.6(1329)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/data/runtimetypes/main/TypeLayout2.sml:148.10(5920)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypeLayout210propertyOfE_185 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_207 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/data/runtimetypes/main/TypeLayout2.sml:85.6(2962)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/data/runtimetypes/main/TypeLayout2.sml:66.25(2202)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"propertyOfKind: dynamicKind mismatch. \00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"dynamicKind=\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@k,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@l,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c" must be more specific than staticKind=\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[64x i8]}><{[4x i8]zeroinitializer,i32 -2147483584,[64x i8]c"src/compiler/data/runtimetypes/main/TypeLayout2.sml:161.6(6396)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/data/runtimetypes/main/TypeLayout2.sml:172.22(6845)\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL122,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@p,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypeLayout210propertyOfE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_214 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypeLayout210propertyOfE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@r,i64 0,i32 2)to i8*)
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypeLayout214propertyOfKindE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout214propertyOfKindE_215 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypeLayout214propertyOfKindE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*)
@_SML_ftab88a14c4362e33fa0_TypeLayout2=external global i8
@t=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_obj_equal(i8*inreg,i8*inreg)local_unnamed_addr#0
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN11TypesBasics7tpappTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12RuntimeTypes15format__propertyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12RuntimeTypes3lubE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map9unionWithE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN3Bug11prettyPrintE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Types12propertiesOfE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Option3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3a60343781315c1e_Option()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7374574ddb619c6a_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainc88dec21a8800496_RuntimeTypes_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main606b245a3d2b48d6_Types_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main2aaf2b808f82ee2e_TypesBasics()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load3a60343781315c1e_Option(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load7374574ddb619c6a_LocalID(i8*)local_unnamed_addr
declare void@_SML_loadc88dec21a8800496_RuntimeTypes_ppg(i8*)local_unnamed_addr
declare void@_SML_load606b245a3d2b48d6_Types_ppg(i8*)local_unnamed_addr
declare void@_SML_load2aaf2b808f82ee2e_TypesBasics(i8*)local_unnamed_addr
define private void@_SML_tabb88a14c4362e33fa0_TypeLayout2()#3{
unreachable
}
define void@_SML_load88a14c4362e33fa0_TypeLayout2(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@t,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@t,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load3a60343781315c1e_Option(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load7374574ddb619c6a_LocalID(i8*%a)#0
tail call void@_SML_loadc88dec21a8800496_RuntimeTypes_ppg(i8*%a)#0
tail call void@_SML_load606b245a3d2b48d6_Types_ppg(i8*%a)#0
tail call void@_SML_load2aaf2b808f82ee2e_TypesBasics(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb88a14c4362e33fa0_TypeLayout2,i8*@_SML_ftab88a14c4362e33fa0_TypeLayout2,i8*null)#0
ret void
}
define void@_SML_main88a14c4362e33fa0_TypeLayout2()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@t,align 1
%b=and i8%a,2
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 3,i8*@t,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main3a60343781315c1e_Option()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_mainc88dec21a8800496_RuntimeTypes_ppg()#2
tail call void@_SML_main606b245a3d2b48d6_Types_ppg()#2
tail call void@_SML_main2aaf2b808f82ee2e_TypesBasics()#2
br label%d
}
define internal fastcc i8*@_SMLLN11TypeLayout27dummyTyE_124(i8*inreg%a)#4 gc"smlsharp"{
w:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%d,align 8
%g=getelementptr inbounds i8,i8*%a,i64 16
%h=bitcast i8*%g to i8**
%i=load i8*,i8**%h,align 8
%j=icmp eq i8*%i,null
%k=select i1%j,i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@e,i64 0,i32 2)to i8*),i8*%i
store i8*%k,i8**%b,align 8
%l=getelementptr inbounds i8,i8*%a,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
%o=icmp eq i8*%n,null
br i1%o,label%p,label%u
p:
%q=load i8*,i8**@_SMLZN12RuntimeTypes9int32PropE,align 8
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
br label%u
u:
%v=phi i8*[%t,%p],[%n,%w]
store i8*%v,i8**%c,align 8
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
%A=load i8*,i8**%d,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%c,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=load i8*,i8**%b,align 8
%G=getelementptr inbounds i8,i8*%x,i64 16
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%x,i64 24
%J=bitcast i8*%I to i32*
store i32 7,i32*%J,align 4
ret i8*%x
}
define internal fastcc i8*@_SMLLN11TypeLayout218coerceToPropertiesE_135(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%k,align 8
store i8*%b,i8**%j,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%n,label%p
n:
%o=bitcast i8*%a to i8**
br label%s
p:
call void@sml_check(i32 inreg%l)
%q=bitcast i8**%k to i8***
%r=load i8**,i8***%q,align 8
br label%s
s:
%t=phi i8**[%r,%p],[%o,%n]
store i8*null,i8**%k,align 8
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*@_SMLFN5Types12propertiesOfE(i8*inreg%u)
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=icmp eq i32%x,0
%z=getelementptr inbounds i8,i8*%v,i64 12
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=icmp eq i32%B,0
br i1%y,label%aQ,label%D
D:
br i1%C,label%G,label%E
E:
%F=phi i8*[null,%D],[%aI,%al],[null,%aP],[%bm,%a9],[null,%bt]
ret i8*%F
G:
%H=load i8*,i8**%j,align 8
%I=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%I)
%J=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%J)
%K=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%K)
%L=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%L)
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=getelementptr inbounds i8,i8*%H,i64 16
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=call i32@sml_obj_equal(i8*inreg%R,i8*inreg null)#0
%T=icmp eq i32%S,0
br i1%T,label%U,label%ab
U:
%V=load i8*,i8**@_SMLZN12RuntimeTypes9boxedPropE,align 8
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=call i32@sml_obj_equal(i8*inreg%R,i8*inreg%Y)#0
%aa=icmp eq i32%Z,0
br i1%aa,label%aP,label%ab
ab:
%ac=call i32@sml_obj_equal(i8*inreg%O,i8*inreg null)#0
%ad=icmp eq i32%ac,0
br i1%ad,label%ae,label%al
ae:
%af=load i8*,i8**@_SMLZN12RuntimeTypes9boxedPropE,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call i32@sml_obj_equal(i8*inreg%O,i8*inreg%ai)#0
%ak=icmp eq i32%aj,0
br i1%ak,label%aP,label%al
al:
%am=load i8*,i8**@_SMLZN12RuntimeTypes9boxedPropE,align 8
%an=bitcast i8*%H to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%f,align 8
%ap=getelementptr inbounds i8,i8*%am,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%g,align 8
%as=getelementptr inbounds i8,i8*%am,i64 16
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%h,align 8
%av=call i8*@sml_alloc(i32 inreg 28)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177304,i32*%ax,align 4
store i8*%av,i8**%i,align 8
%ay=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aB=getelementptr inbounds i8,i8*%av,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aE=getelementptr inbounds i8,i8*%av,i64 16
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%av,i64 24
%aH=bitcast i8*%aG to i32*
store i32 7,i32*%aH,align 4
%aI=call i8*@sml_alloc(i32 inreg 12)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177288,i32*%aK,align 4
%aL=load i8*,i8**%i,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aI,i64 8
%aO=bitcast i8*%aN to i32*
store i32 1,i32*%aO,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%J)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%K)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%L)
br label%E
aP:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%J)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%K)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%L)
br label%E
aQ:
br i1%C,label%bu,label%aR
aR:
%aS=load i8*,i8**%j,align 8
%aT=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aT)
%aU=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aU)
%aV=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aV)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%aW=bitcast i8*%aS to i8**
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%c,align 8
%aY=getelementptr inbounds i8,i8*%aS,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%d,align 8
%a1=getelementptr inbounds i8,i8*%aS,i64 16
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=call i32@sml_obj_equal(i8*inreg%a3,i8*inreg null)#0
%a5=icmp eq i32%a4,0
br i1%a5,label%a6,label%a9
a6:
%a7=call i32@sml_obj_equal(i8*inreg%a3,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@e,i64 0,i32 2)to i8*))#0
%a8=icmp eq i32%a7,0
br i1%a8,label%bt,label%a9
a9:
%ba=call i8*@sml_alloc(i32 inreg 28)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177304,i32*%bc,align 4
store i8*%ba,i8**%e,align 8
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%be=bitcast i8*%ba to i8**
store i8*%bd,i8**%be,align 8
%bf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bg=getelementptr inbounds i8,i8*%ba,i64 8
%bh=bitcast i8*%bg to i8**
store i8*%bf,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%ba,i64 16
%bj=bitcast i8*%bi to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@e,i64 0,i32 2)to i8*),i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%ba,i64 24
%bl=bitcast i8*%bk to i32*
store i32 7,i32*%bl,align 4
%bm=call i8*@sml_alloc(i32 inreg 12)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177288,i32*%bo,align 4
%bp=load i8*,i8**%e,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bm,i64 8
%bs=bitcast i8*%br to i32*
store i32 1,i32*%bs,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aU)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aV)
br label%E
bt:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aU)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aV)
br label%E
bu:
%bv=call i8*@sml_alloc(i32 inreg 12)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177288,i32*%bx,align 4
%by=load i8*,i8**%j,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bv,i64 8
%bB=bitcast i8*%bA to i32*
store i32 1,i32*%bB,align 4
ret i8*%bv
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_175(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 24
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=tail call fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%s,i8*inreg%o)
ret i8*%t
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_176(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%e,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%e,align 8
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
store i8*null,i8**%e,align 8
store i8*null,i8**%d,align 8
%q=load i8*,i8**%o,align 8
%r=call fastcc i8*@_SMLLN11TypeLayout210propertyOfE_175(i8*inreg%q,i8*inreg%p)
%s=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%s)
call void@llvm.gcroot(i8**%c,i8*null)#0
%t=getelementptr inbounds i8,i8*%r,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=getelementptr inbounds i8,i8*%r,i64 16
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=call i8*@sml_alloc(i32 inreg 28)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 20
%D=bitcast i8*%C to i32*
store i32 0,i32*%D,align 1
%E=bitcast i8*%z to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@d,i64 0,i32 2)to i8*),i8**%E,align 8
%F=load i8*,i8**%c,align 8
%G=getelementptr inbounds i8,i8*%z,i64 8
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%z,i64 16
%J=bitcast i8*%I to i32*
store i32%y,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%z,i64 24
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%s)
ret i8*%z
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_177(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 32
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=tail call fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%s,i8*inreg%o)
ret i8*%t
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_178(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 32
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=tail call fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%s,i8*inreg%o)
ret i8*%t
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_179(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_180(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_181(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_185(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN11TypeLayout216propertyOfTyListE_139(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=icmp eq i8*%k,null
br i1%m,label%n,label%o
n:
ret i8*null
o:
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=icmp eq i8*%r,null
%t=bitcast i8*%k to i8**
%u=load i8*,i8**%t,align 8
%v=load i8*,i8**%e,align 8
br i1%s,label%w,label%y
w:
%x=tail call fastcc i8*@_SMLLN11TypeLayout210propertyOfE_140(i8*inreg%v,i8*inreg%u)
ret i8*%x
y:
%z=call fastcc i8*@_SMLLN11TypeLayout210propertyOfE_140(i8*inreg%v,i8*inreg%u)
%A=icmp eq i8*%z,null
br i1%A,label%n,label%B
B:
%C=bitcast i8*%z to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%d,align 8
%E=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=call fastcc i8*@_SMLLN11TypeLayout216propertyOfTyListE_139(i8*inreg%I,i8*inreg%H)
%K=icmp eq i8*%J,null
br i1%K,label%n,label%L
L:
%M=bitcast i8*%J to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%c,align 8
%O=call i8*@sml_alloc(i32 inreg 20)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
%R=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%O,i64 8
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%O,i64 16
%X=bitcast i8*%W to i32*
store i32 3,i32*%X,align 4
%Y=call fastcc i8*@_SMLFN12RuntimeTypes3lubE(i8*inreg%O)
store i8*%Y,i8**%c,align 8
%Z=call i8*@sml_alloc(i32 inreg 12)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177288,i32*%ab,align 4
%ac=load i8*,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
ret i8*%Z
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_140(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%j,align 8
%k=bitcast i8**%c to i8***
br label%l
l:
%m=phi i8*[%b,%n],[%ay,%ax]
store i8*%m,i8**%c,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%s,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%c,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%m,%l]
%u=icmp eq i8*%t,null
br i1%u,label%ct,label%v
v:
%w=bitcast i8*%t to i32*
%x=load i32,i32*%w,align 4
switch i32%x,label%y[
i32 9,label%nU
i32 0,label%dJ
i32 4,label%ct
i32 3,label%dl
i32 5,label%dc
i32 10,label%cA
i32 1,label%b5
i32 6,label%bW
i32 8,label%bN
i32 2,label%az
i32 7,label%Q
]
y:
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%z=load i8*,i8**@_SMLZ5Match,align 8
store i8*%z,i8**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@i,i64 0,i32 2,i64 0),i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=call i8*@sml_alloc(i32 inreg 60)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177336,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%J,i64 56
%N=bitcast i8*%M to i32*
store i32 1,i32*%N,align 4
%O=load i8*,i8**%d,align 8
%P=bitcast i8*%J to i8**
store i8*%O,i8**%P,align 8
call void@sml_raise(i8*inreg%J)#1
unreachable
Q:
%R=getelementptr inbounds i8,i8*%t,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%T,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%d,align 8
%X=call fastcc i8*@_SMLFN14BoundTypeVarID3Map9unionWithE(i32 inreg 1,i32 inreg 8)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
%ad=call fastcc i8*%aa(i8*inreg%ac,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*))
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%e,align 8
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
%am=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ap=getelementptr inbounds i8,i8*%aj,i64 8
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%aj,i64 16
%as=bitcast i8*%ar to i32*
store i32 3,i32*%as,align 4
%at=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%au=call fastcc i8*%ag(i8*inreg%at,i8*inreg%aj)
%av=load i8**,i8***%k,align 8
store i8*null,i8**%c,align 8
%aw=load i8*,i8**%av,align 8
store i8*%au,i8**%j,align 8
br label%ax
ax:
%ay=phi i8*[%aw,%Q],[%c2,%cZ]
br label%l
az:
%aA=getelementptr inbounds i8,i8*%t,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%c,align 8
%aF=getelementptr inbounds i8,i8*%aC,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 24
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
switch i32%aM,label%aN[
i32 0,label%bC
i32 2,label%bl
i32 1,label%a5
]
aN:
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%aO=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aO,i8**%c,align 8
%aP=call i8*@sml_alloc(i32 inreg 20)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aP,i64 8
%aV=bitcast i8*%aU to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@g,i64 0,i32 2,i64 0),i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aP,i64 16
%aX=bitcast i8*%aW to i32*
store i32 3,i32*%aX,align 4
%aY=call i8*@sml_alloc(i32 inreg 60)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177336,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aY,i64 56
%a2=bitcast i8*%a1 to i32*
store i32 1,i32*%a2,align 4
%a3=load i8*,i8**%d,align 8
%a4=bitcast i8*%aY to i8**
store i8*%a3,i8**%a4,align 8
call void@sml_raise(i8*inreg%aY)#1
unreachable
a5:
%a6=getelementptr inbounds i8,i8*%aK,i64 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%d,align 8
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
%bc=load i8*,i8**%d,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%c,align 8
%bf=getelementptr inbounds i8,i8*%a9,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a9,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
%bj=load i8*,i8**%j,align 8
%bk=tail call fastcc i8*@_SMLLN11TypeLayout219propertyOfOpaqueRepE_142(i8*inreg%bj,i8*inreg%a9)
ret i8*%bk
bl:
%bm=getelementptr inbounds i8,i8*%aK,i64 8
%bn=bitcast i8*%bm to i8***
%bo=load i8**,i8***%bn,align 8
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%d,align 8
%bq=call i8*@sml_alloc(i32 inreg 20)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177296,i32*%bs,align 4
%bt=load i8*,i8**%d,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%c,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bq,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
%bA=load i8*,i8**%j,align 8
%bB=tail call fastcc i8*@_SMLLN11TypeLayout219propertyOfOpaqueRepE_142(i8*inreg%bA,i8*inreg%bq)
ret i8*%bB
bC:
store i8*null,i8**%j,align 8
%bD=getelementptr inbounds i8,i8*%aK,i64 8
%bE=bitcast i8*%bD to i8**
%bF=load i8*,i8**%bE,align 8
store i8*%bF,i8**%c,align 8
%bG=call i8*@sml_alloc(i32 inreg 12)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177288,i32*%bI,align 4
%bJ=load i8*,i8**%c,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bG,i64 8
%bM=bitcast i8*%bL to i32*
store i32 1,i32*%bM,align 4
ret i8*%bG
bN:
store i8*null,i8**%j,align 8
%bO=load i8*,i8**@_SMLZN12RuntimeTypes10recordPropE,align 8
store i8*%bO,i8**%c,align 8
%bP=call i8*@sml_alloc(i32 inreg 12)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177288,i32*%bR,align 4
%bS=load i8*,i8**%c,align 8
%bT=bitcast i8*%bP to i8**
store i8*%bS,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bP,i64 8
%bV=bitcast i8*%bU to i32*
store i32 1,i32*%bV,align 4
ret i8*%bP
bW:
store i8*null,i8**%j,align 8
%bX=load i8*,i8**@_SMLZN12RuntimeTypes10recordPropE,align 8
store i8*%bX,i8**%c,align 8
%bY=call i8*@sml_alloc(i32 inreg 12)#0
%bZ=getelementptr inbounds i8,i8*%bY,i64 -4
%b0=bitcast i8*%bZ to i32*
store i32 1342177288,i32*%b0,align 4
%b1=load i8*,i8**%c,align 8
%b2=bitcast i8*%bY to i8**
store i8*%b1,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bY,i64 8
%b4=bitcast i8*%b3 to i32*
store i32 1,i32*%b4,align 4
ret i8*%bY
b5:
%b6=getelementptr inbounds i8,i8*%t,i64 4
%b7=bitcast i8*%b6 to i32*
%b8=load i32,i32*%b7,align 4
%b9=call fastcc i8*@_SMLFN14BoundTypeVarID3Map4findE(i32 inreg 1,i32 inreg 8)
%ca=getelementptr inbounds i8,i8*%b9,i64 16
%cb=bitcast i8*%ca to i8*(i8*,i8*)**
%cc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cb,align 8
%cd=bitcast i8*%b9 to i8**
%ce=load i8*,i8**%cd,align 8
store i8*%ce,i8**%c,align 8
%cf=call i8*@sml_alloc(i32 inreg 20)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177296,i32*%ch,align 4
%ci=getelementptr inbounds i8,i8*%cf,i64 12
%cj=bitcast i8*%ci to i32*
store i32 0,i32*%cj,align 1
%ck=load i8*,i8**%j,align 8
%cl=bitcast i8*%cf to i8**
store i8*%ck,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%cf,i64 8
%cn=bitcast i8*%cm to i32*
store i32%b8,i32*%cn,align 4
%co=getelementptr inbounds i8,i8*%cf,i64 16
%cp=bitcast i8*%co to i32*
store i32 1,i32*%cp,align 4
%cq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cr=call fastcc i8*%cc(i8*inreg%cq,i8*inreg%cf)
%cs=icmp eq i8*%cr,null
br i1%cs,label%ct,label%cv
ct:
%cu=phi i8*[null,%hk],[null,%b5],[%hd,%gg],[%kv,%jz],[%mX,%l2],[null,%kC],[null,%m4],[null,%v],[null,%s]
ret i8*%cu
cv:
%cw=bitcast i8*%cr to i8**
%cx=load i8*,i8**%cw,align 8
%cy=load i8*,i8**%j,align 8
%cz=tail call fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_141(i8*inreg%cy,i8*inreg%cx)
ret i8*%cz
cA:
%cB=getelementptr inbounds i8,i8*%t,i64 8
%cC=bitcast i8*%cB to i8***
%cD=load i8**,i8***%cC,align 8
%cE=load i8*,i8**%cD,align 8
%cF=bitcast i8*%cE to i32*
%cG=load i32,i32*%cF,align 4
switch i32%cG,label%cH[
i32 1,label%c3
i32 0,label%cZ
]
cH:
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%cI=load i8*,i8**@_SMLZ5Match,align 8
store i8*%cI,i8**%c,align 8
%cJ=call i8*@sml_alloc(i32 inreg 20)#0
%cK=getelementptr inbounds i8,i8*%cJ,i64 -4
%cL=bitcast i8*%cK to i32*
store i32 1342177296,i32*%cL,align 4
store i8*%cJ,i8**%d,align 8
%cM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cN=bitcast i8*%cJ to i8**
store i8*%cM,i8**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cJ,i64 8
%cP=bitcast i8*%cO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@i,i64 0,i32 2,i64 0),i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cJ,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 3,i32*%cR,align 4
%cS=call i8*@sml_alloc(i32 inreg 60)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177336,i32*%cU,align 4
%cV=getelementptr inbounds i8,i8*%cS,i64 56
%cW=bitcast i8*%cV to i32*
store i32 1,i32*%cW,align 4
%cX=load i8*,i8**%d,align 8
%cY=bitcast i8*%cS to i8**
store i8*%cX,i8**%cY,align 8
call void@sml_raise(i8*inreg%cS)#1
unreachable
cZ:
%c0=getelementptr inbounds i8,i8*%cE,i64 8
%c1=bitcast i8*%c0 to i8**
%c2=load i8*,i8**%c1,align 8
br label%ax
c3:
%c4=getelementptr inbounds i8,i8*%cE,i64 8
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
%c7=getelementptr inbounds i8,i8*%c6,i64 8
%c8=bitcast i8*%c7 to i8**
%c9=load i8*,i8**%c8,align 8
%da=load i8*,i8**%j,align 8
%db=tail call fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_141(i8*inreg%da,i8*inreg%c9)
ret i8*%db
dc:
%dd=getelementptr inbounds i8,i8*%t,i64 8
%de=bitcast i8*%dd to i8**
%df=load i8*,i8**%de,align 8
%dg=getelementptr inbounds i8,i8*%df,i64 8
%dh=bitcast i8*%dg to i8**
%di=load i8*,i8**%dh,align 8
%dj=load i8*,i8**%j,align 8
%dk=tail call fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_141(i8*inreg%dj,i8*inreg%di)
ret i8*%dk
dl:
%dm=getelementptr inbounds i8,i8*%t,i64 8
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%c,align 8
%dp=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dq=getelementptr inbounds i8,i8*%dp,i64 16
%dr=bitcast i8*%dq to i8*(i8*,i8*)**
%ds=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dr,align 8
%dt=bitcast i8*%dp to i8**
%du=load i8*,i8**%dt,align 8
%dv=call fastcc i8*%ds(i8*inreg%du,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@c,i64 0,i32 2)to i8*))
%dw=getelementptr inbounds i8,i8*%dv,i64 16
%dx=bitcast i8*%dw to i8*(i8*,i8*)**
%dy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dx,align 8
%dz=bitcast i8*%dv to i8**
%dA=load i8*,i8**%dz,align 8
store i8*%dA,i8**%d,align 8
%dB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dC=getelementptr inbounds i8,i8*%dB,i64 8
%dD=bitcast i8*%dC to i8**
%dE=load i8*,i8**%dD,align 8
%dF=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dG=call fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_141(i8*inreg%dF,i8*inreg%dE)
%dH=load i8*,i8**%d,align 8
%dI=tail call fastcc i8*%dy(i8*inreg%dH,i8*inreg%dG)
ret i8*%dI
dJ:
%dK=getelementptr inbounds i8,i8*%t,i64 8
%dL=bitcast i8*%dK to i8**
%dM=load i8*,i8**%dL,align 8
%dN=bitcast i8*%dM to i32*
%dO=load i32,i32*%dN,align 4
switch i32%dO,label%dP[
i32 6,label%nL
i32 5,label%nC
i32 4,label%nt
i32 1,label%nk
i32 3,label%kS
i32 0,label%ia
i32 9,label%h1
i32 10,label%hS
i32 8,label%hJ
i32 7,label%hA
i32 2,label%d7
]
dP:
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%dQ=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dQ,i8**%c,align 8
%dR=call i8*@sml_alloc(i32 inreg 20)#0
%dS=getelementptr inbounds i8,i8*%dR,i64 -4
%dT=bitcast i8*%dS to i32*
store i32 1342177296,i32*%dT,align 4
store i8*%dR,i8**%d,align 8
%dU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dV=bitcast i8*%dR to i8**
store i8*%dU,i8**%dV,align 8
%dW=getelementptr inbounds i8,i8*%dR,i64 8
%dX=bitcast i8*%dW to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@i,i64 0,i32 2,i64 0),i8**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dR,i64 16
%dZ=bitcast i8*%dY to i32*
store i32 3,i32*%dZ,align 4
%d0=call i8*@sml_alloc(i32 inreg 60)#0
%d1=getelementptr inbounds i8,i8*%d0,i64 -4
%d2=bitcast i8*%d1 to i32*
store i32 1342177336,i32*%d2,align 4
%d3=getelementptr inbounds i8,i8*%d0,i64 56
%d4=bitcast i8*%d3 to i32*
store i32 1,i32*%d4,align 4
%d5=load i8*,i8**%d,align 8
%d6=bitcast i8*%d0 to i8**
store i8*%d5,i8**%d6,align 8
call void@sml_raise(i8*inreg%d0)#1
unreachable
d7:
%d8=getelementptr inbounds i8,i8*%dM,i64 8
%d9=bitcast i8*%d8 to i8**
%ea=load i8*,i8**%d9,align 8
store i8*%ea,i8**%e,align 8
%eb=getelementptr inbounds i8,i8*%ea,i64 8
%ec=bitcast i8*%eb to i8**
%ed=load i8*,i8**%ec,align 8
store i8*%ed,i8**%f,align 8
%ee=load i8*,i8**@_SMLZN12RuntimeTypes11codeptrPropE,align 8
store i8*%ee,i8**%g,align 8
%ef=invoke fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%eg unwind label%hk
eg:
%eh=getelementptr inbounds i8,i8*%ef,i64 16
%ei=bitcast i8*%eh to i8*(i8*,i8*)**
%ej=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ei,align 8
%ek=bitcast i8*%ef to i8**
%el=load i8*,i8**%ek,align 8
store i8*%el,i8**%c,align 8
%em=call i8*@sml_alloc(i32 inreg 12)#0
%en=getelementptr inbounds i8,i8*%em,i64 -4
%eo=bitcast i8*%en to i32*
store i32 1342177288,i32*%eo,align 4
store i8*%em,i8**%d,align 8
%ep=load i8*,i8**%j,align 8
%eq=bitcast i8*%em to i8**
store i8*%ep,i8**%eq,align 8
%er=getelementptr inbounds i8,i8*%em,i64 8
%es=bitcast i8*%er to i32*
store i32 1,i32*%es,align 4
%et=call i8*@sml_alloc(i32 inreg 28)#0
%eu=getelementptr inbounds i8,i8*%et,i64 -4
%ev=bitcast i8*%eu to i32*
store i32 1342177304,i32*%ev,align 4
%ew=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ex=bitcast i8*%et to i8**
store i8*%ew,i8**%ex,align 8
%ey=getelementptr inbounds i8,i8*%et,i64 8
%ez=bitcast i8*%ey to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_179 to void(...)*),void(...)**%ez,align 8
%eA=getelementptr inbounds i8,i8*%et,i64 16
%eB=bitcast i8*%eA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_179 to void(...)*),void(...)**%eB,align 8
%eC=getelementptr inbounds i8,i8*%et,i64 24
%eD=bitcast i8*%eC to i32*
store i32 -2147483647,i32*%eD,align 4
%eE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eF=invoke fastcc i8*%ej(i8*inreg%eE,i8*inreg%et)
to label%eG unwind label%hk
eG:
%eH=getelementptr inbounds i8,i8*%eF,i64 16
%eI=bitcast i8*%eH to i8*(i8*,i8*)**
%eJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eI,align 8
%eK=bitcast i8*%eF to i8**
%eL=load i8*,i8**%eK,align 8
%eM=bitcast i8**%e to i8***
%eN=load i8**,i8***%eM,align 8
%eO=load i8*,i8**%eN,align 8
%eP=invoke fastcc i8*%eJ(i8*inreg%eL,i8*inreg%eO)
to label%eQ unwind label%hk
eQ:
store i8*%eP,i8**%c,align 8
%eR=invoke fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%eS unwind label%hk
eS:
%eT=getelementptr inbounds i8,i8*%eR,i64 16
%eU=bitcast i8*%eT to i8*(i8*,i8*)**
%eV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eU,align 8
%eW=bitcast i8*%eR to i8**
%eX=load i8*,i8**%eW,align 8
store i8*%eX,i8**%h,align 8
%eY=invoke fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%eZ unwind label%hk
eZ:
%e0=getelementptr inbounds i8,i8*%eY,i64 16
%e1=bitcast i8*%e0 to i8*(i8*,i8*)**
%e2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e1,align 8
%e3=bitcast i8*%eY to i8**
%e4=load i8*,i8**%e3,align 8
store i8*%e4,i8**%d,align 8
%e5=call i8*@sml_alloc(i32 inreg 12)#0
%e6=getelementptr inbounds i8,i8*%e5,i64 -4
%e7=bitcast i8*%e6 to i32*
store i32 1342177288,i32*%e7,align 4
store i8*%e5,i8**%i,align 8
%e8=load i8*,i8**%j,align 8
%e9=bitcast i8*%e5 to i8**
store i8*%e8,i8**%e9,align 8
%fa=getelementptr inbounds i8,i8*%e5,i64 8
%fb=bitcast i8*%fa to i32*
store i32 1,i32*%fb,align 4
%fc=call i8*@sml_alloc(i32 inreg 28)#0
%fd=getelementptr inbounds i8,i8*%fc,i64 -4
%fe=bitcast i8*%fd to i32*
store i32 1342177304,i32*%fe,align 4
%ff=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fg=bitcast i8*%fc to i8**
store i8*%ff,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%fc,i64 8
%fi=bitcast i8*%fh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_180 to void(...)*),void(...)**%fi,align 8
%fj=getelementptr inbounds i8,i8*%fc,i64 16
%fk=bitcast i8*%fj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_180 to void(...)*),void(...)**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fc,i64 24
%fm=bitcast i8*%fl to i32*
store i32 -2147483647,i32*%fm,align 4
%fn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fo=invoke fastcc i8*%e2(i8*inreg%fn,i8*inreg%fc)
to label%fp unwind label%hk
fp:
%fq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fr=invoke fastcc i8*%eV(i8*inreg%fq,i8*inreg%fo)
to label%fs unwind label%hk
fs:
%ft=getelementptr inbounds i8,i8*%fr,i64 16
%fu=bitcast i8*%ft to i8*(i8*,i8*)**
%fv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fu,align 8
%fw=bitcast i8*%fr to i8**
%fx=load i8*,i8**%fw,align 8
%fy=load i8*,i8**%e,align 8
%fz=getelementptr inbounds i8,i8*%fy,i64 24
%fA=bitcast i8*%fz to i8**
%fB=load i8*,i8**%fA,align 8
%fC=invoke fastcc i8*%fv(i8*inreg%fx,i8*inreg%fB)
to label%fD unwind label%hk
fD:
store i8*%fC,i8**%d,align 8
%fE=invoke fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%fF unwind label%hk
fF:
%fG=getelementptr inbounds i8,i8*%fE,i64 16
%fH=bitcast i8*%fG to i8*(i8*,i8*)**
%fI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fH,align 8
%fJ=bitcast i8*%fE to i8**
%fK=load i8*,i8**%fJ,align 8
store i8*%fK,i8**%h,align 8
%fL=call i8*@sml_alloc(i32 inreg 12)#0
%fM=getelementptr inbounds i8,i8*%fL,i64 -4
%fN=bitcast i8*%fM to i32*
store i32 1342177288,i32*%fN,align 4
store i8*%fL,i8**%i,align 8
%fO=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fP=bitcast i8*%fL to i8**
store i8*%fO,i8**%fP,align 8
%fQ=getelementptr inbounds i8,i8*%fL,i64 8
%fR=bitcast i8*%fQ to i32*
store i32 1,i32*%fR,align 4
%fS=call i8*@sml_alloc(i32 inreg 28)#0
%fT=getelementptr inbounds i8,i8*%fS,i64 -4
%fU=bitcast i8*%fT to i32*
store i32 1342177304,i32*%fU,align 4
%fV=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fW=bitcast i8*%fS to i8**
store i8*%fV,i8**%fW,align 8
%fX=getelementptr inbounds i8,i8*%fS,i64 8
%fY=bitcast i8*%fX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_181 to void(...)*),void(...)**%fY,align 8
%fZ=getelementptr inbounds i8,i8*%fS,i64 16
%f0=bitcast i8*%fZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_181 to void(...)*),void(...)**%f0,align 8
%f1=getelementptr inbounds i8,i8*%fS,i64 24
%f2=bitcast i8*%f1 to i32*
store i32 -2147483647,i32*%f2,align 4
%f3=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%f4=invoke fastcc i8*%fI(i8*inreg%f3,i8*inreg%fS)
to label%f5 unwind label%hk
f5:
%f6=getelementptr inbounds i8,i8*%f4,i64 16
%f7=bitcast i8*%f6 to i8*(i8*,i8*)**
%f8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f7,align 8
%f9=bitcast i8*%f4 to i8**
%ga=load i8*,i8**%f9,align 8
%gb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gc=getelementptr inbounds i8,i8*%gb,i64 16
%gd=bitcast i8*%gc to i8**
%ge=load i8*,i8**%gd,align 8
%gf=invoke fastcc i8*%f8(i8*inreg%ga,i8*inreg%ge)
to label%gg unwind label%hk
gg:
store i8*%gf,i8**%e,align 8
%gh=call i8*@sml_alloc(i32 inreg 36)#0
%gi=getelementptr inbounds i8,i8*%gh,i64 -4
%gj=bitcast i8*%gi to i32*
store i32 1342177312,i32*%gj,align 4
store i8*%gh,i8**%h,align 8
%gk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gl=bitcast i8*%gh to i8**
store i8*%gk,i8**%gl,align 8
%gm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gn=getelementptr inbounds i8,i8*%gh,i64 8
%go=bitcast i8*%gn to i8**
store i8*%gm,i8**%go,align 8
%gp=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gq=getelementptr inbounds i8,i8*%gh,i64 16
%gr=bitcast i8*%gq to i8**
store i8*%gp,i8**%gr,align 8
%gs=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gt=getelementptr inbounds i8,i8*%gh,i64 24
%gu=bitcast i8*%gt to i8**
store i8*%gs,i8**%gu,align 8
%gv=getelementptr inbounds i8,i8*%gh,i64 32
%gw=bitcast i8*%gv to i32*
store i32 15,i32*%gw,align 4
%gx=call i8*@sml_alloc(i32 inreg 20)#0
%gy=getelementptr inbounds i8,i8*%gx,i64 -4
%gz=bitcast i8*%gy to i32*
store i32 1342177296,i32*%gz,align 4
store i8*%gx,i8**%c,align 8
%gA=getelementptr inbounds i8,i8*%gx,i64 4
%gB=bitcast i8*%gA to i32*
store i32 0,i32*%gB,align 1
%gC=bitcast i8*%gx to i32*
store i32 2,i32*%gC,align 4
%gD=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gE=getelementptr inbounds i8,i8*%gx,i64 8
%gF=bitcast i8*%gE to i8**
store i8*%gD,i8**%gF,align 8
%gG=getelementptr inbounds i8,i8*%gx,i64 16
%gH=bitcast i8*%gG to i32*
store i32 2,i32*%gH,align 4
%gI=call i8*@sml_alloc(i32 inreg 20)#0
%gJ=getelementptr inbounds i8,i8*%gI,i64 -4
%gK=bitcast i8*%gJ to i32*
store i32 1342177296,i32*%gK,align 4
store i8*%gI,i8**%f,align 8
%gL=getelementptr inbounds i8,i8*%gI,i64 4
%gM=bitcast i8*%gL to i32*
store i32 0,i32*%gM,align 1
%gN=bitcast i8*%gI to i32*
store i32 1,i32*%gN,align 4
%gO=load i8*,i8**%c,align 8
%gP=getelementptr inbounds i8,i8*%gI,i64 8
%gQ=bitcast i8*%gP to i8**
store i8*%gO,i8**%gQ,align 8
%gR=getelementptr inbounds i8,i8*%gI,i64 16
%gS=bitcast i8*%gR to i32*
store i32 2,i32*%gS,align 4
%gT=load i8*,i8**%g,align 8
%gU=getelementptr inbounds i8,i8*%gT,i64 8
%gV=bitcast i8*%gU to i8**
%gW=load i8*,i8**%gV,align 8
store i8*%gW,i8**%c,align 8
store i8*null,i8**%g,align 8
%gX=getelementptr inbounds i8,i8*%gT,i64 16
%gY=bitcast i8*%gX to i8**
%gZ=load i8*,i8**%gY,align 8
store i8*%gZ,i8**%d,align 8
%g0=call i8*@sml_alloc(i32 inreg 28)#0
%g1=getelementptr inbounds i8,i8*%g0,i64 -4
%g2=bitcast i8*%g1 to i32*
store i32 1342177304,i32*%g2,align 4
store i8*%g0,i8**%e,align 8
%g3=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%g4=bitcast i8*%g0 to i8**
store i8*%g3,i8**%g4,align 8
%g5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%g6=getelementptr inbounds i8,i8*%g0,i64 8
%g7=bitcast i8*%g6 to i8**
store i8*%g5,i8**%g7,align 8
%g8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%g9=getelementptr inbounds i8,i8*%g0,i64 16
%ha=bitcast i8*%g9 to i8**
store i8*%g8,i8**%ha,align 8
%hb=getelementptr inbounds i8,i8*%g0,i64 24
%hc=bitcast i8*%hb to i32*
store i32 7,i32*%hc,align 4
%hd=call i8*@sml_alloc(i32 inreg 12)#0
%he=getelementptr inbounds i8,i8*%hd,i64 -4
%hf=bitcast i8*%he to i32*
store i32 1342177288,i32*%hf,align 4
%hg=load i8*,i8**%e,align 8
%hh=bitcast i8*%hd to i8**
store i8*%hg,i8**%hh,align 8
%hi=getelementptr inbounds i8,i8*%hd,i64 8
%hj=bitcast i8*%hi to i32*
store i32 1,i32*%hj,align 4
br label%ct
hk:
%hl=landingpad{i8*,i8*}
catch i8*null
%hm=extractvalue{i8*,i8*}%hl,1
%hn=bitcast i8*%hm to i8**
%ho=load i8*,i8**%hn,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%j,align 8
store i8*%ho,i8**%c,align 8
%hp=bitcast i8*%ho to i8**
%hq=load i8*,i8**%hp,align 8
%hr=icmp eq i8*%hq,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL122,i64 0,i32 2)to i8*)
br i1%hr,label%ct,label%hs
hs:
%ht=call i8*@sml_alloc(i32 inreg 60)#0
%hu=getelementptr inbounds i8,i8*%ht,i64 -4
%hv=bitcast i8*%hu to i32*
store i32 1342177336,i32*%hv,align 4
%hw=getelementptr inbounds i8,i8*%ht,i64 56
%hx=bitcast i8*%hw to i32*
store i32 1,i32*%hx,align 4
%hy=load i8*,i8**%c,align 8
%hz=bitcast i8*%ht to i8**
store i8*%hy,i8**%hz,align 8
call void@sml_raise(i8*inreg%ht)#1
unreachable
hA:
store i8*null,i8**%j,align 8
%hB=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%hB,i8**%c,align 8
%hC=call i8*@sml_alloc(i32 inreg 12)#0
%hD=getelementptr inbounds i8,i8*%hC,i64 -4
%hE=bitcast i8*%hD to i32*
store i32 1342177288,i32*%hE,align 4
%hF=load i8*,i8**%c,align 8
%hG=bitcast i8*%hC to i8**
store i8*%hF,i8**%hG,align 8
%hH=getelementptr inbounds i8,i8*%hC,i64 8
%hI=bitcast i8*%hH to i32*
store i32 1,i32*%hI,align 4
ret i8*%hC
hJ:
store i8*null,i8**%j,align 8
%hK=load i8*,i8**@_SMLZN12RuntimeTypes10recordPropE,align 8
store i8*%hK,i8**%c,align 8
%hL=call i8*@sml_alloc(i32 inreg 12)#0
%hM=getelementptr inbounds i8,i8*%hL,i64 -4
%hN=bitcast i8*%hM to i32*
store i32 1342177288,i32*%hN,align 4
%hO=load i8*,i8**%c,align 8
%hP=bitcast i8*%hL to i8**
store i8*%hO,i8**%hP,align 8
%hQ=getelementptr inbounds i8,i8*%hL,i64 8
%hR=bitcast i8*%hQ to i32*
store i32 1,i32*%hR,align 4
ret i8*%hL
hS:
store i8*null,i8**%j,align 8
%hT=load i8*,i8**@_SMLZN12RuntimeTypes11codeptrPropE,align 8
store i8*%hT,i8**%c,align 8
%hU=call i8*@sml_alloc(i32 inreg 12)#0
%hV=getelementptr inbounds i8,i8*%hU,i64 -4
%hW=bitcast i8*%hV to i32*
store i32 1342177288,i32*%hW,align 4
%hX=load i8*,i8**%c,align 8
%hY=bitcast i8*%hU to i8**
store i8*%hX,i8**%hY,align 8
%hZ=getelementptr inbounds i8,i8*%hU,i64 8
%h0=bitcast i8*%hZ to i32*
store i32 1,i32*%h0,align 4
ret i8*%hU
h1:
store i8*null,i8**%j,align 8
%h2=load i8*,i8**@_SMLZN12RuntimeTypes11codeptrPropE,align 8
store i8*%h2,i8**%c,align 8
%h3=call i8*@sml_alloc(i32 inreg 12)#0
%h4=getelementptr inbounds i8,i8*%h3,i64 -4
%h5=bitcast i8*%h4 to i32*
store i32 1342177288,i32*%h5,align 4
%h6=load i8*,i8**%c,align 8
%h7=bitcast i8*%h3 to i8**
store i8*%h6,i8**%h7,align 8
%h8=getelementptr inbounds i8,i8*%h3,i64 8
%h9=bitcast i8*%h8 to i32*
store i32 1,i32*%h9,align 4
ret i8*%h3
ia:
store i8*null,i8**%j,align 8
%ib=getelementptr inbounds i8,i8*%dM,i64 8
%ic=bitcast i8*%ib to i8**
%id=load i8*,i8**%ic,align 8
store i8*%id,i8**%d,align 8
%ie=getelementptr inbounds i8,i8*%id,i64 8
%if=bitcast i8*%ie to i8**
%ig=load i8*,i8**%if,align 8
store i8*%ig,i8**%e,align 8
%ih=getelementptr inbounds i8,i8*%id,i64 16
%ii=bitcast i8*%ih to i32*
%ij=load i32,i32*%ii,align 4
%ik=load i8*,i8**@_SMLZN12RuntimeTypes11codeptrPropE,align 8
store i8*%ik,i8**%f,align 8
%il=invoke fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%im unwind label%kC
im:
%in=getelementptr inbounds i8,i8*%il,i64 16
%io=bitcast i8*%in to i8*(i8*,i8*)**
%ip=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%io,align 8
%iq=bitcast i8*%il to i8**
%ir=load i8*,i8**%iq,align 8
store i8*%ir,i8**%c,align 8
%is=call i8*@sml_alloc(i32 inreg 12)#0
%it=getelementptr inbounds i8,i8*%is,i64 -4
%iu=bitcast i8*%it to i32*
store i32 1342177288,i32*%iu,align 4
store i8*%is,i8**%g,align 8
%iv=load i8*,i8**%d,align 8
%iw=bitcast i8*%is to i8**
store i8*%iv,i8**%iw,align 8
%ix=getelementptr inbounds i8,i8*%is,i64 8
%iy=bitcast i8*%ix to i32*
store i32 1,i32*%iy,align 4
%iz=call i8*@sml_alloc(i32 inreg 28)#0
%iA=getelementptr inbounds i8,i8*%iz,i64 -4
%iB=bitcast i8*%iA to i32*
store i32 1342177304,i32*%iB,align 4
%iC=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%iD=bitcast i8*%iz to i8**
store i8*%iC,i8**%iD,align 8
%iE=getelementptr inbounds i8,i8*%iz,i64 8
%iF=bitcast i8*%iE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_177 to void(...)*),void(...)**%iF,align 8
%iG=getelementptr inbounds i8,i8*%iz,i64 16
%iH=bitcast i8*%iG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_177 to void(...)*),void(...)**%iH,align 8
%iI=getelementptr inbounds i8,i8*%iz,i64 24
%iJ=bitcast i8*%iI to i32*
store i32 -2147483647,i32*%iJ,align 4
%iK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iL=invoke fastcc i8*%ip(i8*inreg%iK,i8*inreg%iz)
to label%iM unwind label%kC
iM:
%iN=getelementptr inbounds i8,i8*%iL,i64 16
%iO=bitcast i8*%iN to i8*(i8*,i8*)**
%iP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iO,align 8
%iQ=bitcast i8*%iL to i8**
%iR=load i8*,i8**%iQ,align 8
%iS=bitcast i8**%d to i8***
%iT=load i8**,i8***%iS,align 8
%iU=load i8*,i8**%iT,align 8
%iV=invoke fastcc i8*%iP(i8*inreg%iR,i8*inreg%iU)
to label%iW unwind label%kC
iW:
store i8*%iV,i8**%c,align 8
%iX=invoke fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%iY unwind label%kC
iY:
%iZ=getelementptr inbounds i8,i8*%iX,i64 16
%i0=bitcast i8*%iZ to i8*(i8*,i8*)**
%i1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i0,align 8
%i2=bitcast i8*%iX to i8**
%i3=load i8*,i8**%i2,align 8
store i8*%i3,i8**%g,align 8
%i4=call i8*@sml_alloc(i32 inreg 12)#0
%i5=getelementptr inbounds i8,i8*%i4,i64 -4
%i6=bitcast i8*%i5 to i32*
store i32 1342177288,i32*%i6,align 4
store i8*%i4,i8**%h,align 8
%i7=load i8*,i8**%d,align 8
%i8=bitcast i8*%i4 to i8**
store i8*%i7,i8**%i8,align 8
%i9=getelementptr inbounds i8,i8*%i4,i64 8
%ja=bitcast i8*%i9 to i32*
store i32 1,i32*%ja,align 4
%jb=call i8*@sml_alloc(i32 inreg 28)#0
%jc=getelementptr inbounds i8,i8*%jb,i64 -4
%jd=bitcast i8*%jc to i32*
store i32 1342177304,i32*%jd,align 4
%je=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jf=bitcast i8*%jb to i8**
store i8*%je,i8**%jf,align 8
%jg=getelementptr inbounds i8,i8*%jb,i64 8
%jh=bitcast i8*%jg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_178 to void(...)*),void(...)**%jh,align 8
%ji=getelementptr inbounds i8,i8*%jb,i64 16
%jj=bitcast i8*%ji to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_178 to void(...)*),void(...)**%jj,align 8
%jk=getelementptr inbounds i8,i8*%jb,i64 24
%jl=bitcast i8*%jk to i32*
store i32 -2147483647,i32*%jl,align 4
%jm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jn=invoke fastcc i8*%i1(i8*inreg%jm,i8*inreg%jb)
to label%jo unwind label%kC
jo:
%jp=getelementptr inbounds i8,i8*%jn,i64 16
%jq=bitcast i8*%jp to i8*(i8*,i8*)**
%jr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jq,align 8
%js=bitcast i8*%jn to i8**
%jt=load i8*,i8**%js,align 8
%ju=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jv=getelementptr inbounds i8,i8*%ju,i64 24
%jw=bitcast i8*%jv to i8**
%jx=load i8*,i8**%jw,align 8
%jy=invoke fastcc i8*%jr(i8*inreg%jt,i8*inreg%jx)
to label%jz unwind label%kC
jz:
store i8*%jy,i8**%d,align 8
%jA=call i8*@sml_alloc(i32 inreg 36)#0
%jB=getelementptr inbounds i8,i8*%jA,i64 -4
%jC=bitcast i8*%jB to i32*
store i32 1342177312,i32*%jC,align 4
store i8*%jA,i8**%g,align 8
%jD=getelementptr inbounds i8,i8*%jA,i64 20
%jE=bitcast i8*%jD to i32*
store i32 0,i32*%jE,align 1
%jF=load i8*,i8**%c,align 8
%jG=bitcast i8*%jA to i8**
store i8*null,i8**%c,align 8
store i8*%jF,i8**%jG,align 8
%jH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jI=getelementptr inbounds i8,i8*%jA,i64 8
%jJ=bitcast i8*%jI to i8**
store i8*%jH,i8**%jJ,align 8
%jK=getelementptr inbounds i8,i8*%jA,i64 16
%jL=bitcast i8*%jK to i32*
store i32%ij,i32*%jL,align 4
%jM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jN=getelementptr inbounds i8,i8*%jA,i64 24
%jO=bitcast i8*%jN to i8**
store i8*%jM,i8**%jO,align 8
%jP=getelementptr inbounds i8,i8*%jA,i64 32
%jQ=bitcast i8*%jP to i32*
store i32 11,i32*%jQ,align 4
%jR=call i8*@sml_alloc(i32 inreg 20)#0
%jS=getelementptr inbounds i8,i8*%jR,i64 -4
%jT=bitcast i8*%jS to i32*
store i32 1342177296,i32*%jT,align 4
store i8*%jR,i8**%c,align 8
%jU=bitcast i8*%jR to i64*
store i64 0,i64*%jU,align 4
%jV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jW=getelementptr inbounds i8,i8*%jR,i64 8
%jX=bitcast i8*%jW to i8**
store i8*%jV,i8**%jX,align 8
%jY=getelementptr inbounds i8,i8*%jR,i64 16
%jZ=bitcast i8*%jY to i32*
store i32 2,i32*%jZ,align 4
%j0=call i8*@sml_alloc(i32 inreg 20)#0
%j1=getelementptr inbounds i8,i8*%j0,i64 -4
%j2=bitcast i8*%j1 to i32*
store i32 1342177296,i32*%j2,align 4
store i8*%j0,i8**%g,align 8
%j3=getelementptr inbounds i8,i8*%j0,i64 4
%j4=bitcast i8*%j3 to i32*
store i32 0,i32*%j4,align 1
%j5=bitcast i8*%j0 to i32*
store i32 1,i32*%j5,align 4
%j6=load i8*,i8**%c,align 8
%j7=getelementptr inbounds i8,i8*%j0,i64 8
%j8=bitcast i8*%j7 to i8**
store i8*%j6,i8**%j8,align 8
%j9=getelementptr inbounds i8,i8*%j0,i64 16
%ka=bitcast i8*%j9 to i32*
store i32 2,i32*%ka,align 4
%kb=load i8*,i8**%f,align 8
%kc=getelementptr inbounds i8,i8*%kb,i64 8
%kd=bitcast i8*%kc to i8**
%ke=load i8*,i8**%kd,align 8
store i8*%ke,i8**%c,align 8
store i8*null,i8**%f,align 8
%kf=getelementptr inbounds i8,i8*%kb,i64 16
%kg=bitcast i8*%kf to i8**
%kh=load i8*,i8**%kg,align 8
store i8*%kh,i8**%d,align 8
%ki=call i8*@sml_alloc(i32 inreg 28)#0
%kj=getelementptr inbounds i8,i8*%ki,i64 -4
%kk=bitcast i8*%kj to i32*
store i32 1342177304,i32*%kk,align 4
store i8*%ki,i8**%e,align 8
%kl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%km=bitcast i8*%ki to i8**
store i8*%kl,i8**%km,align 8
%kn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ko=getelementptr inbounds i8,i8*%ki,i64 8
%kp=bitcast i8*%ko to i8**
store i8*%kn,i8**%kp,align 8
%kq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kr=getelementptr inbounds i8,i8*%ki,i64 16
%ks=bitcast i8*%kr to i8**
store i8*%kq,i8**%ks,align 8
%kt=getelementptr inbounds i8,i8*%ki,i64 24
%ku=bitcast i8*%kt to i32*
store i32 7,i32*%ku,align 4
%kv=call i8*@sml_alloc(i32 inreg 12)#0
%kw=getelementptr inbounds i8,i8*%kv,i64 -4
%kx=bitcast i8*%kw to i32*
store i32 1342177288,i32*%kx,align 4
%ky=load i8*,i8**%e,align 8
%kz=bitcast i8*%kv to i8**
store i8*%ky,i8**%kz,align 8
%kA=getelementptr inbounds i8,i8*%kv,i64 8
%kB=bitcast i8*%kA to i32*
store i32 1,i32*%kB,align 4
br label%ct
kC:
%kD=landingpad{i8*,i8*}
catch i8*null
%kE=extractvalue{i8*,i8*}%kD,1
%kF=bitcast i8*%kE to i8**
%kG=load i8*,i8**%kF,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*%kG,i8**%c,align 8
%kH=bitcast i8*%kG to i8**
%kI=load i8*,i8**%kH,align 8
%kJ=icmp eq i8*%kI,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL122,i64 0,i32 2)to i8*)
br i1%kJ,label%ct,label%kK
kK:
%kL=call i8*@sml_alloc(i32 inreg 60)#0
%kM=getelementptr inbounds i8,i8*%kL,i64 -4
%kN=bitcast i8*%kM to i32*
store i32 1342177336,i32*%kN,align 4
%kO=getelementptr inbounds i8,i8*%kL,i64 56
%kP=bitcast i8*%kO to i32*
store i32 1,i32*%kP,align 4
%kQ=load i8*,i8**%c,align 8
%kR=bitcast i8*%kL to i8**
store i8*%kQ,i8**%kR,align 8
call void@sml_raise(i8*inreg%kL)#1
unreachable
kS:
store i8*null,i8**%j,align 8
%kT=getelementptr inbounds i8,i8*%dM,i64 8
%kU=bitcast i8*%kT to i8**
%kV=load i8*,i8**%kU,align 8
store i8*%kV,i8**%d,align 8
%kW=getelementptr inbounds i8,i8*%kV,i64 8
%kX=bitcast i8*%kW to i32*
%kY=load i32,i32*%kX,align 4
%kZ=load i8*,i8**@_SMLZN12RuntimeTypes11codeptrPropE,align 8
store i8*%kZ,i8**%e,align 8
%k0=invoke fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%k1 unwind label%m4
k1:
%k2=getelementptr inbounds i8,i8*%k0,i64 16
%k3=bitcast i8*%k2 to i8*(i8*,i8*)**
%k4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k3,align 8
%k5=bitcast i8*%k0 to i8**
%k6=load i8*,i8**%k5,align 8
store i8*%k6,i8**%c,align 8
%k7=call i8*@sml_alloc(i32 inreg 12)#0
%k8=getelementptr inbounds i8,i8*%k7,i64 -4
%k9=bitcast i8*%k8 to i32*
store i32 1342177288,i32*%k9,align 4
store i8*%k7,i8**%f,align 8
%la=load i8*,i8**%d,align 8
%lb=bitcast i8*%k7 to i8**
store i8*%la,i8**%lb,align 8
%lc=getelementptr inbounds i8,i8*%k7,i64 8
%ld=bitcast i8*%lc to i32*
store i32 1,i32*%ld,align 4
%le=call i8*@sml_alloc(i32 inreg 28)#0
%lf=getelementptr inbounds i8,i8*%le,i64 -4
%lg=bitcast i8*%lf to i32*
store i32 1342177304,i32*%lg,align 4
%lh=load i8*,i8**%f,align 8
%li=bitcast i8*%le to i8**
store i8*%lh,i8**%li,align 8
%lj=getelementptr inbounds i8,i8*%le,i64 8
%lk=bitcast i8*%lj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_175 to void(...)*),void(...)**%lk,align 8
%ll=getelementptr inbounds i8,i8*%le,i64 16
%lm=bitcast i8*%ll to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_175 to void(...)*),void(...)**%lm,align 8
%ln=getelementptr inbounds i8,i8*%le,i64 24
%lo=bitcast i8*%ln to i32*
store i32 -2147483647,i32*%lo,align 4
%lp=call i8*@sml_alloc(i32 inreg 12)#0
%lq=getelementptr inbounds i8,i8*%lp,i64 -4
%lr=bitcast i8*%lq to i32*
store i32 1342177288,i32*%lr,align 4
store i8*%lp,i8**%g,align 8
%ls=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lt=bitcast i8*%lp to i8**
store i8*%ls,i8**%lt,align 8
%lu=getelementptr inbounds i8,i8*%lp,i64 8
%lv=bitcast i8*%lu to i32*
store i32 1,i32*%lv,align 4
%lw=call i8*@sml_alloc(i32 inreg 28)#0
%lx=getelementptr inbounds i8,i8*%lw,i64 -4
%ly=bitcast i8*%lx to i32*
store i32 1342177304,i32*%ly,align 4
%lz=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lA=bitcast i8*%lw to i8**
store i8*%lz,i8**%lA,align 8
%lB=getelementptr inbounds i8,i8*%lw,i64 8
%lC=bitcast i8*%lB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_176 to void(...)*),void(...)**%lC,align 8
%lD=getelementptr inbounds i8,i8*%lw,i64 16
%lE=bitcast i8*%lD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_176 to void(...)*),void(...)**%lE,align 8
%lF=getelementptr inbounds i8,i8*%lw,i64 24
%lG=bitcast i8*%lF to i32*
store i32 -2147483647,i32*%lG,align 4
%lH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lI=invoke fastcc i8*%k4(i8*inreg%lH,i8*inreg%lw)
to label%lJ unwind label%m4
lJ:
%lK=getelementptr inbounds i8,i8*%lI,i64 16
%lL=bitcast i8*%lK to i8*(i8*,i8*)**
%lM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lL,align 8
%lN=bitcast i8*%lI to i8**
%lO=load i8*,i8**%lN,align 8
%lP=bitcast i8**%d to i8***
%lQ=load i8**,i8***%lP,align 8
%lR=load i8*,i8**%lQ,align 8
%lS=invoke fastcc i8*%lM(i8*inreg%lO,i8*inreg%lR)
to label%lT unwind label%m4
lT:
store i8*%lS,i8**%c,align 8
%lU=load i8*,i8**%d,align 8
%lV=getelementptr inbounds i8,i8*%lU,i64 24
%lW=bitcast i8*%lV to i8**
%lX=load i8*,i8**%lW,align 8
store i8*null,i8**%d,align 8
%lY=getelementptr inbounds i8,i8*%lU,i64 16
%lZ=bitcast i8*%lY to i8**
%l0=load i8*,i8**%lZ,align 8
%l1=invoke fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%lX,i8*inreg%l0)
to label%l2 unwind label%m4
l2:
store i8*%l1,i8**%d,align 8
%l3=call i8*@sml_alloc(i32 inreg 28)#0
%l4=getelementptr inbounds i8,i8*%l3,i64 -4
%l5=bitcast i8*%l4 to i32*
store i32 1342177304,i32*%l5,align 4
store i8*%l3,i8**%f,align 8
%l6=getelementptr inbounds i8,i8*%l3,i64 12
%l7=bitcast i8*%l6 to i32*
store i32 0,i32*%l7,align 1
%l8=load i8*,i8**%c,align 8
%l9=bitcast i8*%l3 to i8**
store i8*null,i8**%c,align 8
store i8*%l8,i8**%l9,align 8
%ma=getelementptr inbounds i8,i8*%l3,i64 8
%mb=bitcast i8*%ma to i32*
store i32%kY,i32*%mb,align 4
%mc=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%md=getelementptr inbounds i8,i8*%l3,i64 16
%me=bitcast i8*%md to i8**
store i8*%mc,i8**%me,align 8
%mf=getelementptr inbounds i8,i8*%l3,i64 24
%mg=bitcast i8*%mf to i32*
store i32 5,i32*%mg,align 4
%mh=call i8*@sml_alloc(i32 inreg 20)#0
%mi=getelementptr inbounds i8,i8*%mh,i64 -4
%mj=bitcast i8*%mi to i32*
store i32 1342177296,i32*%mj,align 4
store i8*%mh,i8**%c,align 8
%mk=getelementptr inbounds i8,i8*%mh,i64 4
%ml=bitcast i8*%mk to i32*
store i32 0,i32*%ml,align 1
%mm=bitcast i8*%mh to i32*
store i32 1,i32*%mm,align 4
%mn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mo=getelementptr inbounds i8,i8*%mh,i64 8
%mp=bitcast i8*%mo to i8**
store i8*%mn,i8**%mp,align 8
%mq=getelementptr inbounds i8,i8*%mh,i64 16
%mr=bitcast i8*%mq to i32*
store i32 2,i32*%mr,align 4
%ms=call i8*@sml_alloc(i32 inreg 20)#0
%mt=getelementptr inbounds i8,i8*%ms,i64 -4
%mu=bitcast i8*%mt to i32*
store i32 1342177296,i32*%mu,align 4
store i8*%ms,i8**%f,align 8
%mv=getelementptr inbounds i8,i8*%ms,i64 4
%mw=bitcast i8*%mv to i32*
store i32 0,i32*%mw,align 1
%mx=bitcast i8*%ms to i32*
store i32 1,i32*%mx,align 4
%my=load i8*,i8**%c,align 8
%mz=getelementptr inbounds i8,i8*%ms,i64 8
%mA=bitcast i8*%mz to i8**
store i8*%my,i8**%mA,align 8
%mB=getelementptr inbounds i8,i8*%ms,i64 16
%mC=bitcast i8*%mB to i32*
store i32 2,i32*%mC,align 4
%mD=load i8*,i8**%e,align 8
%mE=getelementptr inbounds i8,i8*%mD,i64 8
%mF=bitcast i8*%mE to i8**
%mG=load i8*,i8**%mF,align 8
store i8*%mG,i8**%c,align 8
store i8*null,i8**%e,align 8
%mH=getelementptr inbounds i8,i8*%mD,i64 16
%mI=bitcast i8*%mH to i8**
%mJ=load i8*,i8**%mI,align 8
store i8*%mJ,i8**%d,align 8
%mK=call i8*@sml_alloc(i32 inreg 28)#0
%mL=getelementptr inbounds i8,i8*%mK,i64 -4
%mM=bitcast i8*%mL to i32*
store i32 1342177304,i32*%mM,align 4
store i8*%mK,i8**%e,align 8
%mN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mO=bitcast i8*%mK to i8**
store i8*%mN,i8**%mO,align 8
%mP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%mQ=getelementptr inbounds i8,i8*%mK,i64 8
%mR=bitcast i8*%mQ to i8**
store i8*%mP,i8**%mR,align 8
%mS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%mT=getelementptr inbounds i8,i8*%mK,i64 16
%mU=bitcast i8*%mT to i8**
store i8*%mS,i8**%mU,align 8
%mV=getelementptr inbounds i8,i8*%mK,i64 24
%mW=bitcast i8*%mV to i32*
store i32 7,i32*%mW,align 4
%mX=call i8*@sml_alloc(i32 inreg 12)#0
%mY=getelementptr inbounds i8,i8*%mX,i64 -4
%mZ=bitcast i8*%mY to i32*
store i32 1342177288,i32*%mZ,align 4
%m0=load i8*,i8**%e,align 8
%m1=bitcast i8*%mX to i8**
store i8*%m0,i8**%m1,align 8
%m2=getelementptr inbounds i8,i8*%mX,i64 8
%m3=bitcast i8*%m2 to i32*
store i32 1,i32*%m3,align 4
br label%ct
m4:
%m5=landingpad{i8*,i8*}
catch i8*null
%m6=extractvalue{i8*,i8*}%m5,1
%m7=bitcast i8*%m6 to i8**
%m8=load i8*,i8**%m7,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*%m8,i8**%c,align 8
%m9=bitcast i8*%m8 to i8**
%na=load i8*,i8**%m9,align 8
%nb=icmp eq i8*%na,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL122,i64 0,i32 2)to i8*)
br i1%nb,label%ct,label%nc
nc:
%nd=call i8*@sml_alloc(i32 inreg 60)#0
%ne=getelementptr inbounds i8,i8*%nd,i64 -4
%nf=bitcast i8*%ne to i32*
store i32 1342177336,i32*%nf,align 4
%ng=getelementptr inbounds i8,i8*%nd,i64 56
%nh=bitcast i8*%ng to i32*
store i32 1,i32*%nh,align 4
%ni=load i8*,i8**%c,align 8
%nj=bitcast i8*%nd to i8**
store i8*%ni,i8**%nj,align 8
call void@sml_raise(i8*inreg%nd)#1
unreachable
nk:
store i8*null,i8**%j,align 8
%nl=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%nl,i8**%c,align 8
%nm=call i8*@sml_alloc(i32 inreg 12)#0
%nn=getelementptr inbounds i8,i8*%nm,i64 -4
%no=bitcast i8*%nn to i32*
store i32 1342177288,i32*%no,align 4
%np=load i8*,i8**%c,align 8
%nq=bitcast i8*%nm to i8**
store i8*%np,i8**%nq,align 8
%nr=getelementptr inbounds i8,i8*%nm,i64 8
%ns=bitcast i8*%nr to i32*
store i32 1,i32*%ns,align 4
ret i8*%nm
nt:
store i8*null,i8**%j,align 8
%nu=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%nu,i8**%c,align 8
%nv=call i8*@sml_alloc(i32 inreg 12)#0
%nw=getelementptr inbounds i8,i8*%nv,i64 -4
%nx=bitcast i8*%nw to i32*
store i32 1342177288,i32*%nx,align 4
%ny=load i8*,i8**%c,align 8
%nz=bitcast i8*%nv to i8**
store i8*%ny,i8**%nz,align 8
%nA=getelementptr inbounds i8,i8*%nv,i64 8
%nB=bitcast i8*%nA to i32*
store i32 1,i32*%nB,align 4
ret i8*%nv
nC:
store i8*null,i8**%j,align 8
%nD=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%nD,i8**%c,align 8
%nE=call i8*@sml_alloc(i32 inreg 12)#0
%nF=getelementptr inbounds i8,i8*%nE,i64 -4
%nG=bitcast i8*%nF to i32*
store i32 1342177288,i32*%nG,align 4
%nH=load i8*,i8**%c,align 8
%nI=bitcast i8*%nE to i8**
store i8*%nH,i8**%nI,align 8
%nJ=getelementptr inbounds i8,i8*%nE,i64 8
%nK=bitcast i8*%nJ to i32*
store i32 1,i32*%nK,align 4
ret i8*%nE
nL:
store i8*null,i8**%j,align 8
%nM=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%nM,i8**%c,align 8
%nN=call i8*@sml_alloc(i32 inreg 12)#0
%nO=getelementptr inbounds i8,i8*%nN,i64 -4
%nP=bitcast i8*%nO to i32*
store i32 1342177288,i32*%nP,align 4
%nQ=load i8*,i8**%c,align 8
%nR=bitcast i8*%nN to i8**
store i8*%nQ,i8**%nR,align 8
%nS=getelementptr inbounds i8,i8*%nN,i64 8
%nT=bitcast i8*%nS to i32*
store i32 1,i32*%nT,align 4
ret i8*%nN
nU:
store i8*null,i8**%j,align 8
%nV=getelementptr inbounds i8,i8*%t,i64 8
%nW=bitcast i8*%nV to i32**
%nX=load i32*,i32**%nW,align 8
%nY=load i32,i32*%nX,align 4
switch i32%nY,label%nZ[
i32 1,label%oR
i32 0,label%oI
i32 4,label%oz
i32 3,label%oq
i32 2,label%oh
]
nZ:
call void@sml_matchcomp_bug()
%n0=load i8*,i8**@_SMLZ5Match,align 8
store i8*%n0,i8**%c,align 8
%n1=call i8*@sml_alloc(i32 inreg 20)#0
%n2=getelementptr inbounds i8,i8*%n1,i64 -4
%n3=bitcast i8*%n2 to i32*
store i32 1342177296,i32*%n3,align 4
store i8*%n1,i8**%d,align 8
%n4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n5=bitcast i8*%n1 to i8**
store i8*%n4,i8**%n5,align 8
%n6=getelementptr inbounds i8,i8*%n1,i64 8
%n7=bitcast i8*%n6 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@i,i64 0,i32 2,i64 0),i8**%n7,align 8
%n8=getelementptr inbounds i8,i8*%n1,i64 16
%n9=bitcast i8*%n8 to i32*
store i32 3,i32*%n9,align 4
%oa=call i8*@sml_alloc(i32 inreg 60)#0
%ob=getelementptr inbounds i8,i8*%oa,i64 -4
%oc=bitcast i8*%ob to i32*
store i32 1342177336,i32*%oc,align 4
%od=getelementptr inbounds i8,i8*%oa,i64 56
%oe=bitcast i8*%od to i32*
store i32 1,i32*%oe,align 4
%of=load i8*,i8**%d,align 8
%og=bitcast i8*%oa to i8**
store i8*%of,i8**%og,align 8
call void@sml_raise(i8*inreg%oa)#1
unreachable
oh:
%oi=load i8*,i8**@_SMLZN12RuntimeTypes10recordPropE,align 8
store i8*%oi,i8**%c,align 8
%oj=call i8*@sml_alloc(i32 inreg 12)#0
%ok=getelementptr inbounds i8,i8*%oj,i64 -4
%ol=bitcast i8*%ok to i32*
store i32 1342177288,i32*%ol,align 4
%om=load i8*,i8**%c,align 8
%on=bitcast i8*%oj to i8**
store i8*%om,i8**%on,align 8
%oo=getelementptr inbounds i8,i8*%oj,i64 8
%op=bitcast i8*%oo to i32*
store i32 1,i32*%op,align 4
ret i8*%oj
oq:
%or=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%or,i8**%c,align 8
%os=call i8*@sml_alloc(i32 inreg 12)#0
%ot=getelementptr inbounds i8,i8*%os,i64 -4
%ou=bitcast i8*%ot to i32*
store i32 1342177288,i32*%ou,align 4
%ov=load i8*,i8**%c,align 8
%ow=bitcast i8*%os to i8**
store i8*%ov,i8**%ow,align 8
%ox=getelementptr inbounds i8,i8*%os,i64 8
%oy=bitcast i8*%ox to i32*
store i32 1,i32*%oy,align 4
ret i8*%os
oz:
%oA=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%oA,i8**%c,align 8
%oB=call i8*@sml_alloc(i32 inreg 12)#0
%oC=getelementptr inbounds i8,i8*%oB,i64 -4
%oD=bitcast i8*%oC to i32*
store i32 1342177288,i32*%oD,align 4
%oE=load i8*,i8**%c,align 8
%oF=bitcast i8*%oB to i8**
store i8*%oE,i8**%oF,align 8
%oG=getelementptr inbounds i8,i8*%oB,i64 8
%oH=bitcast i8*%oG to i32*
store i32 1,i32*%oH,align 4
ret i8*%oB
oI:
%oJ=load i8*,i8**@_SMLZN12RuntimeTypes10word32PropE,align 8
store i8*%oJ,i8**%c,align 8
%oK=call i8*@sml_alloc(i32 inreg 12)#0
%oL=getelementptr inbounds i8,i8*%oK,i64 -4
%oM=bitcast i8*%oL to i32*
store i32 1342177288,i32*%oM,align 4
%oN=load i8*,i8**%c,align 8
%oO=bitcast i8*%oK to i8**
store i8*%oN,i8**%oO,align 8
%oP=getelementptr inbounds i8,i8*%oK,i64 8
%oQ=bitcast i8*%oP to i32*
store i32 1,i32*%oQ,align 4
ret i8*%oK
oR:
%oS=load i8*,i8**@_SMLZN12RuntimeTypes10recordPropE,align 8
store i8*%oS,i8**%c,align 8
%oT=call i8*@sml_alloc(i32 inreg 12)#0
%oU=getelementptr inbounds i8,i8*%oT,i64 -4
%oV=bitcast i8*%oU to i32*
store i32 1342177288,i32*%oV,align 4
%oW=load i8*,i8**%c,align 8
%oX=bitcast i8*%oT to i8**
store i8*%oW,i8**%oX,align 8
%oY=getelementptr inbounds i8,i8*%oT,i64 8
%oZ=bitcast i8*%oY to i32*
store i32 1,i32*%oZ,align 4
ret i8*%oT
}
define internal fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_141(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%g,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%g,align 8
%p=load i8*,i8**%h,align 8
br label%q
q:
%r=phi i8*[%p,%n],[%a,%s]
%t=phi i8*[%o,%n],[%b,%s]
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*null,i8**%h,align 8
%x=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%x)
%y=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%y)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%r,i8**%c,align 8
store i8*%w,i8**%d,align 8
%z=load atomic i32,i32*@sml_check_flag unordered,align 4
%A=icmp eq i32%z,0
br i1%A,label%D,label%B
B:
call void@sml_check(i32 inreg%z)
%C=load i8*,i8**%d,align 8
br label%D
D:
%E=phi i8*[%C,%B],[%w,%q]
store i8*null,i8**%d,align 8
%F=icmp eq i8*%E,null
br i1%F,label%ak,label%G
G:
%H=bitcast i8*%E to i32*
%I=load i32,i32*%H,align 4
switch i32%I,label%J[
i32 0,label%aA
i32 1,label%at
i32 3,label%ak
i32 2,label%ab
]
J:
call void@sml_matchcomp_bug()
%K=load i8*,i8**@_SMLZ5Match,align 8
store i8*%K,i8**%c,align 8
%L=call i8*@sml_alloc(i32 inreg 20)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177296,i32*%N,align 4
store i8*%L,i8**%d,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%L,i64 8
%R=bitcast i8*%Q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@f,i64 0,i32 2,i64 0),i8**%R,align 8
%S=getelementptr inbounds i8,i8*%L,i64 16
%T=bitcast i8*%S to i32*
store i32 3,i32*%T,align 4
%U=call i8*@sml_alloc(i32 inreg 60)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177336,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%U,i64 56
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=load i8*,i8**%d,align 8
%aa=bitcast i8*%U to i8**
store i8*%Z,i8**%aa,align 8
call void@sml_raise(i8*inreg%U)#1
unreachable
ab:
%ac=load i8*,i8**@_SMLZN12RuntimeTypes10recordPropE,align 8
store i8*%ac,i8**%c,align 8
%ad=call i8*@sml_alloc(i32 inreg 12)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177288,i32*%af,align 4
%ag=load i8*,i8**%c,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ad,i64 8
%aj=bitcast i8*%ai to i32*
store i32 1,i32*%aj,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
br label%aG
ak:
%al=load i8*,i8**@_SMLZN12RuntimeTypes7anyPropE,align 8
store i8*%al,i8**%c,align 8
%am=call i8*@sml_alloc(i32 inreg 12)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177288,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to i32*
store i32 1,i32*%as,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
br label%aG
at:
%au=getelementptr inbounds i8,i8*%E,i64 8
%av=bitcast i8*%au to i8***
%aw=load i8**,i8***%av,align 8
%ax=load i8*,i8**%aw,align 8
%ay=load i8*,i8**%c,align 8
%az=call fastcc i8*@_SMLLN11TypeLayout216propertyOfTyListE_139(i8*inreg%ay,i8*inreg%ax)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
br label%aG
aA:
%aB=getelementptr inbounds i8,i8*%E,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=load i8*,i8**%c,align 8
%aF=call fastcc i8*@_SMLLN11TypeLayout216propertyOfTyListE_139(i8*inreg%aE,i8*inreg%aD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%x)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
br label%aG
aG:
%aH=phi i8*[%ad,%ab],[%am,%ak],[%az,%at],[%aF,%aA]
%aI=icmp eq i8*%aH,null
br i1%aI,label%aJ,label%aK
aJ:
ret i8*null
aK:
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
store i8*%aM,i8**%h,align 8
%aN=load i8*,i8**%g,align 8
%aO=getelementptr inbounds i8,i8*%aN,i64 8
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
%aR=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aR)
%aS=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aS)
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%aQ,i8**%e,align 8
%aT=call i8*@sml_alloc(i32 inreg 12)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177288,i32*%aV,align 4
store i8*%aT,i8**%f,align 8
%aW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aT,i64 8
%aZ=bitcast i8*%aY to i32*
store i32 1,i32*%aZ,align 4
%a0=call i8*@sml_alloc(i32 inreg 28)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177304,i32*%a2,align 4
%a3=load i8*,i8**%f,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%a0,i64 8
%a6=bitcast i8*%a5 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout218coerceToPropertiesE_135 to void(...)*),void(...)**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a0,i64 16
%a8=bitcast i8*%a7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout218coerceToPropertiesE_135 to void(...)*),void(...)**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a0,i64 24
%ba=bitcast i8*%a9 to i32*
store i32 -2147483647,i32*%ba,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aR)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aS)
%bb=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bc=call fastcc i8*@_SMLLN11TypeLayout218coerceToPropertiesE_135(i8*inreg%a3,i8*inreg%bb)
%bd=icmp eq i8*%bc,null
br i1%bd,label%aJ,label%be
be:
%bf=bitcast i8*%bc to i8**
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%i,align 8
%bh=bitcast i8**%g to i8***
%bi=load i8**,i8***%bh,align 8
%bj=load i8*,i8**%bi,align 8
%bk=icmp eq i8*%bj,null
store i8*null,i8**%g,align 8
br i1%bk,label%bl,label%bt
bl:
%bm=call i8*@sml_alloc(i32 inreg 12)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177288,i32*%bo,align 4
%bp=load i8*,i8**%i,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bm,i64 8
%bs=bitcast i8*%br to i32*
store i32 1,i32*%bs,align 4
ret i8*%bm
bt:
%bu=bitcast i8*%bg to i8**
%bv=bitcast i8**%bi to i8***
%bw=load i8**,i8***%bv,align 8
%bx=load i8*,i8**%bw,align 8
%by=getelementptr inbounds i8,i8*%bx,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%h,align 8
%bB=getelementptr inbounds i8,i8*%bx,i64 16
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
store i8*%bD,i8**%j,align 8
%bE=load i8*,i8**%bu,align 8
store i8*%bE,i8**%k,align 8
%bF=call i8*@sml_alloc(i32 inreg 28)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177304,i32*%bH,align 4
store i8*%bF,i8**%g,align 8
%bI=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bL=getelementptr inbounds i8,i8*%bF,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bO=getelementptr inbounds i8,i8*%bF,i64 16
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bF,i64 24
%bR=bitcast i8*%bQ to i32*
store i32 7,i32*%bR,align 4
%bS=call i8*@sml_alloc(i32 inreg 20)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177296,i32*%bU,align 4
%bV=load i8*,i8**%i,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=load i8*,i8**%g,align 8
%bY=getelementptr inbounds i8,i8*%bS,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bS,i64 16
%b1=bitcast i8*%b0 to i32*
store i32 3,i32*%b1,align 4
%b2=call fastcc i8*@_SMLFN12RuntimeTypes3lubE(i8*inreg%bS)
%b3=load i8*,i8**%i,align 8
%b4=call i32@sml_obj_equal(i8*inreg%b2,i8*inreg%b3)#0
%b5=icmp eq i32%b4,0
br i1%b5,label%ce,label%b6
b6:
store i8*null,i8**%i,align 8
%b7=call i8*@sml_alloc(i32 inreg 12)#0
%b8=getelementptr inbounds i8,i8*%b7,i64 -4
%b9=bitcast i8*%b8 to i32*
store i32 1342177288,i32*%b9,align 4
%ca=load i8*,i8**%g,align 8
%cb=bitcast i8*%b7 to i8**
store i8*%ca,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b7,i64 8
%cd=bitcast i8*%cc to i32*
store i32 1,i32*%cd,align 4
ret i8*%b7
ce:
%cf=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cf,i8**%j,align 8
%cg=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@m,i64 0,i32 2)to i8*))
store i8*%cg,i8**%h,align 8
%ch=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ci=call fastcc i8*@_SMLFN12RuntimeTypes15format__propertyE(i8*inreg%ch)
%cj=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%ci)
store i8*%cj,i8**%g,align 8
%ck=call i8*@sml_alloc(i32 inreg 20)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177296,i32*%cm,align 4
%cn=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%co=bitcast i8*%ck to i8**
store i8*%cn,i8**%co,align 8
%cp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cq=getelementptr inbounds i8,i8*%ck,i64 8
%cr=bitcast i8*%cq to i8**
store i8*%cp,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%ck,i64 16
%ct=bitcast i8*%cs to i32*
store i32 3,i32*%ct,align 4
%cu=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ck)
store i8*%cu,i8**%g,align 8
%cv=call i8*@sml_alloc(i32 inreg 20)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177296,i32*%cx,align 4
%cy=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cz=bitcast i8*%cv to i8**
store i8*%cy,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cv,i64 8
%cB=bitcast i8*%cA to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@n,i64 0,i32 2,i64 0),i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cv,i64 16
%cD=bitcast i8*%cC to i32*
store i32 3,i32*%cD,align 4
%cE=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%cv)
store i8*%cE,i8**%g,align 8
%cF=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cG=call fastcc i8*@_SMLFN12RuntimeTypes15format__propertyE(i8*inreg%cF)
%cH=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%cG)
store i8*%cH,i8**%h,align 8
%cI=call i8*@sml_alloc(i32 inreg 20)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 1342177296,i32*%cK,align 4
%cL=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cO=getelementptr inbounds i8,i8*%cI,i64 8
%cP=bitcast i8*%cO to i8**
store i8*%cN,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cI,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 3,i32*%cR,align 4
%cS=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%cI)
store i8*%cS,i8**%g,align 8
%cT=call i8*@sml_alloc(i32 inreg 28)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177304,i32*%cV,align 4
store i8*%cT,i8**%h,align 8
%cW=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cT,i64 8
%cZ=bitcast i8*%cY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@j,i64 0,i32 2,i64 0),i8**%cZ,align 8
%c0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c1=getelementptr inbounds i8,i8*%cT,i64 16
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cT,i64 24
%c4=bitcast i8*%c3 to i32*
store i32 7,i32*%c4,align 4
%c5=call i8*@sml_alloc(i32 inreg 60)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177336,i32*%c7,align 4
%c8=getelementptr inbounds i8,i8*%c5,i64 56
%c9=bitcast i8*%c8 to i32*
store i32 1,i32*%c9,align 4
%da=load i8*,i8**%h,align 8
%db=bitcast i8*%c5 to i8**
store i8*%da,i8**%db,align 8
call void@sml_raise(i8*inreg%c5)#1
unreachable
}
define internal fastcc i8*@_SMLLN11TypeLayout219propertyOfOpaqueRepE_142(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=bitcast i8*%l to i8**
%r=load i8*,i8**%q,align 8
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
switch i32%t,label%u[
i32 1,label%ag
i32 0,label%M
]
u:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%v=load i8*,i8**@_SMLZ5Match,align 8
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
store i8*%w,i8**%d,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[64x i8]}>,<{[4x i8],i32,[64x i8]}>*@o,i64 0,i32 2,i64 0),i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%d,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=getelementptr inbounds i8,i8*%r,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call fastcc i8*@_SMLFN11TypesBasics7tpappTyE(i8*inreg%T)
%ae=load i8*,i8**%e,align 8
%af=tail call fastcc i8*@_SMLLN11TypeLayout210propertyOfE_140(i8*inreg%ae,i8*inreg%ad)
ret i8*%af
ag:
%ah=getelementptr inbounds i8,i8*%r,i64 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%d,align 8
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
store i8*%ak,i8**%f,align 8
%an=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%ak,i64 16
%at=bitcast i8*%as to i32*
store i32 3,i32*%at,align 4
%au=call i8*@sml_alloc(i32 inreg 20)#0
%av=bitcast i8*%au to i32*
%aw=getelementptr inbounds i8,i8*%au,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177296,i32*%ax,align 4
%ay=getelementptr inbounds i8,i8*%au,i64 4
%az=bitcast i8*%ay to i32*
store i32 0,i32*%az,align 1
store i32 2,i32*%av,align 4
%aA=load i8*,i8**%f,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 16
%aE=bitcast i8*%aD to i32*
store i32 2,i32*%aE,align 4
%aF=load i8*,i8**%e,align 8
%aG=tail call fastcc i8*@_SMLLN11TypeLayout210propertyOfE_140(i8*inreg%aF,i8*inreg%au)
ret i8*%aG
}
define internal fastcc i8*@_SMLLN11TypeLayout212runtimeArgTyE_143(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%n=call fastcc i8*@_SMLLN11TypeLayout210propertyOfE_140(i8*inreg%k,i8*inreg%m)
%o=icmp eq i8*%n,null
br i1%o,label%p,label%w
p:
%q=call i8*@sml_alloc(i32 inreg 60)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177336,i32*%s,align 4
%t=getelementptr inbounds i8,i8*%q,i64 56
%u=bitcast i8*%t to i32*
store i32 1,i32*%u,align 4
%v=bitcast i8*%q to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@q,i64 0,i32 2)to i8*),i8**%v,align 8
call void@sml_raise(i8*inreg%q)#1
unreachable
w:
%x=bitcast i8*%n to i8**
%y=load i8*,i8**%x,align 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%y,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=icmp eq i8*%D,null
br i1%E,label%ab,label%F
F:
store i8*%D,i8**%d,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=icmp eq i8*%I,null
br i1%J,label%ab,label%K
K:
%L=bitcast i8*%I to i32*
%M=load i32,i32*%L,align 4
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177304,i32*%P,align 4
%Q=getelementptr inbounds i8,i8*%N,i64 20
%R=bitcast i8*%Q to i32*
store i32 0,i32*%R,align 1
%S=load i8*,i8**%c,align 8
%T=bitcast i8*%N to i8**
store i8*%S,i8**%T,align 8
%U=load i8*,i8**%d,align 8
%V=getelementptr inbounds i8,i8*%N,i64 8
%W=bitcast i8*%V to i8**
store i8*%U,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%N,i64 16
%Y=bitcast i8*%X to i32*
store i32%M,i32*%Y,align 4
%Z=getelementptr inbounds i8,i8*%N,i64 24
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
ret i8*%N
ab:
%ac=load i8*,i8**@_SMLZN12RuntimeTypes7boxedTyE,align 8
ret i8*%ac
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_196(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11TypeLayout210propertyOfE_140(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define fastcc i8*@_SMLFN11TypeLayout210propertyOfE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_196 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout210propertyOfE_196 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_199(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_141(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define fastcc i8*@_SMLFN11TypeLayout214propertyOfKindE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout214propertyOfKindE_199 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypeLayout214propertyOfKindE_199 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN11TypeLayout27dummyTyE_202(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypeLayout27dummyTyE_124(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_207(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN11TypeLayout210propertyOfE_214(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypeLayout210propertyOfE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypeLayout214propertyOfKindE_215(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypeLayout214propertyOfKindE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
