@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN16SMLSharp__Runtime3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@_SMLZ8Overflow=external unnamed_addr constant i8*
@_SMLZ6Domain=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/basis/main/SMLSharp_RealClass.sml:42.11(1112)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/basis/main/SMLSharp_RealClass.sml:49.19(1329)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[31x i8]}><{[4x i8]zeroinitializer,i32 -2147483617,[31x i8]c"BUG: RealClass.toIEEERealClass\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass5classE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass5classE_78 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[49x i8]}><{[4x i8]zeroinitializer,i32 -2147483599,[49x i8]c"src/basis/main/SMLSharp_RealClass.sml:52.6(1409)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass8isFiniteE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass8isFiniteE_79 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[50x i8]}><{[4x i8]zeroinitializer,i32 -2147483598,[50x i8]c"src/basis/main/SMLSharp_RealClass.sml:80.32(1990)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass4signE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass4signE_80 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN18SMLSharp__RealClass9classRealE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass9classRealE_81 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN18SMLSharp__RealClass9classRealE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*)
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass10classFloatE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass10classFloatE_82 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN18SMLSharp__RealClass10classFloatE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*)
@_SMLZN18SMLSharp__RealClass5classE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@d,i64 0,i32 2)to i8*)
@_SMLZN18SMLSharp__RealClass8isFiniteE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*)
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass5isInfE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass5isInfE_83 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN18SMLSharp__RealClass5isInfE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*)
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass5isNanE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass5isNanE_84 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN18SMLSharp__RealClass5isNanE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@l,i64 0,i32 2)to i8*)
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass8isNormalE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass8isNormalE_85 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN18SMLSharp__RealClass8isNormalE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*)
@_SMLZN18SMLSharp__RealClass4signE=local_unnamed_addr constant i8*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*)
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass7signBitE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass7signBitE_86 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN18SMLSharp__RealClass7signBitE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*)
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLFN18SMLSharp__RealClass6isZeroE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN18SMLSharp__RealClass6isZeroE_87 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN18SMLSharp__RealClass6isZeroE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*)
@_SML_ftabf8e847239aa6231f_SMLSharp_RealClass=external global i8
@p=internal unnamed_addr global i1 false
@q=private unnamed_addr constant[6x i32][i32 1,i32 1,i32 0,i32 4,i32 3,i32 2]
@r=private unnamed_addr constant[5x i32][i32 0,i32 0,i32 1,i32 1,i32 1]
declare void@llvm.gcroot(i8**,i8*)#0
declare i32@prim_Float_class(float)local_unnamed_addr
declare i32@prim_Real_class(double)local_unnamed_addr
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@_SML_main00d884c96265bfea_SMLSharp_Runtime()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*)local_unnamed_addr
define private void@_SML_tabbf8e847239aa6231f_SMLSharp_RealClass()#3{
unreachable
}
define void@_SML_loadf8e847239aa6231f_SMLSharp_RealClass(i8*%a)local_unnamed_addr#0{
%b=load i1,i1*@p,align 1
br i1%b,label%c,label%d
c:
ret void
d:
store i1 true,i1*@p,align 1
tail call void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbf8e847239aa6231f_SMLSharp_RealClass,i8*@_SML_ftabf8e847239aa6231f_SMLSharp_RealClass,i8*null)#0
ret void
}
define void@_SML_mainf8e847239aa6231f_SMLSharp_RealClass()local_unnamed_addr#2 gc"smlsharp"{
tail call void@_SML_main00d884c96265bfea_SMLSharp_Runtime()#2
ret void
}
define fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)#2 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
%d=icmp eq i32%a,-2147483648
br i1%d,label%l,label%e
e:
%f=icmp slt i32%a,0
%g=sub nsw i32 0,%a
%h=select i1%f,i32%g,i32%a
%i=trunc i32%h to i31
%j=add i31%i,-1
%k=icmp ult i31%j,6
br i1%k,label%X,label%D
l:
%m=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%m,i8**%b,align 8
%n=call i8*@sml_alloc(i32 inreg 20)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177296,i32*%p,align 4
store i8*%n,i8**%c,align 8
%q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@a,i64 0,i32 2,i64 0),i8**%t,align 8
%u=getelementptr inbounds i8,i8*%n,i64 16
%v=bitcast i8*%u to i32*
store i32 3,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 60)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177336,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 56
%A=bitcast i8*%z to i32*
store i32 1,i32*%A,align 4
%B=load i8*,i8**%c,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
call void@sml_raise(i8*inreg%w)#1
unreachable
D:
%E=load i8*,i8**@_SMLZN16SMLSharp__Runtime3BugE,align 8
store i8*%E,i8**%b,align 8
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
store i8*%F,i8**%c,align 8
%I=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@b,i64 0,i32 2,i64 0),i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[31x i8]}>,<{[4x i8],i32,[31x i8]}>*@c,i64 0,i32 2,i64 0),i8**%N,align 8
%O=getelementptr inbounds i8,i8*%F,i64 24
%P=bitcast i8*%O to i32*
store i32 7,i32*%P,align 4
%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=load i8*,i8**%c,align 8
%W=bitcast i8*%Q to i8**
store i8*%V,i8**%W,align 8
call void@sml_raise(i8*inreg%Q)#1
unreachable
X:
%Y=sext i31%j to i64
%Z=getelementptr inbounds[6x i32],[6x i32]*@q,i64 0,i64%Y
%aa=load i32,i32*%Z,align 4
ret i32%aa
}
define fastcc i32@_SMLFN18SMLSharp__RealClass8isFiniteE(i32 inreg%a)#2 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
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)
%i=icmp ult i32%h,5
br i1%i,label%B,label%j
j:
call void@sml_matchcomp_bug()
%k=load i8*,i8**@_SMLZ5Match,align 8
store i8*%k,i8**%b,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**%c,align 8
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[49x i8]}>,<{[4x i8],i32,[49x i8]}>*@e,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**%c,align 8
%A=bitcast i8*%u to i8**
store i8*%z,i8**%A,align 8
call void@sml_raise(i8*inreg%u)#1
unreachable
B:
%C=sext i32%h to i64
%D=getelementptr inbounds[5x i32],[5x i32]*@r,i64 0,i64%C
%E=load i32,i32*%D,align 4
ret i32%E
}
define fastcc i32@_SMLFN18SMLSharp__RealClass4signE(i32 inreg%a)#2 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
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)
%i=icmp eq i32%h,1
br i1%i,label%j,label%B
j:
%k=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%k,i8**%b,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**%c,align 8
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[50x i8]}>,<{[4x i8],i32,[50x i8]}>*@g,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**%c,align 8
%A=bitcast i8*%u to i8**
store i8*%z,i8**%A,align 8
call void@sml_raise(i8*inreg%u)#1
unreachable
B:
%C=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)
%D=icmp eq i32%C,4
%E=icmp sgt i32%a,-1
%F=select i1%E,i32 1,i32 -1
%G=select i1%D,i32 0,i32%F
ret i32%G
}
define fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=bitcast i64%a to double
%g=tail call i32@prim_Real_class(double%f)
ret i32%g
}
define fastcc i32@_SMLFN18SMLSharp__RealClass10classFloatE(i32 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=bitcast i32%a to float
%g=tail call i32@prim_Float_class(float%f)
ret i32%g
}
define fastcc i32@_SMLFN18SMLSharp__RealClass5isInfE(i32 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)
%g=icmp eq i32%f,0
%h=zext i1%g to i32
ret i32%h
}
define fastcc i32@_SMLFN18SMLSharp__RealClass5isNanE(i32 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)
%g=icmp eq i32%f,1
%h=zext i1%g to i32
ret i32%h
}
define fastcc i32@_SMLFN18SMLSharp__RealClass8isNormalE(i32 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)
%g=icmp eq i32%f,2
%h=zext i1%g to i32
ret i32%h
}
define fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%a)#4 gc"smlsharp"{
%b=lshr i32%a,31
ret i32%b
}
define fastcc i32@_SMLFN18SMLSharp__RealClass6isZeroE(i32 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%a)
%g=icmp eq i32%f,4
%h=zext i1%g to i32
ret i32%h
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass5classE_78(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass8isFiniteE_79(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass8isFiniteE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass4signE_80(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass4signE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass9classRealE_81(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass10classFloatE_82(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass10classFloatE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass5isInfE_83(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5isInfE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass5isNanE_84(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5isNanE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass8isNormalE_85(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass8isNormalE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass7signBitE_86(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=lshr i32%d,31
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN18SMLSharp__RealClass6isZeroE_87(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLFN18SMLSharp__RealClass6isZeroE(i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
