@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN8IEEEReal9UnorderedE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@_SMLZ4Size=external unnamed_addr constant i8*
@_SMLZ8Overflow=external unnamed_addr constant i8*
@_SMLZ3Div=external unnamed_addr constant i8*
@_SMLZ6Domain=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real642_J_KE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real642_J_KE_469 to void(...)*),i32 -2147483647}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real642_J_ME to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real642_J_ME_470 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real643minE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real643minE_471 to void(...)*),i32 -2147483647}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real643maxE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real643maxE_472 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:138.28(3774)\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(i64)*@_SMLFN6Real644signE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644signE_473 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6Real648sameSignE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648sameSignE_474 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6Real6411compareRealE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6411compareRealE_475 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:159.36(4657)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/basis/main/Real64.sml:158.6(4594)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6Real647compareE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real647compareE_476 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i64)*@_SMLFN6Real648toManExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648toManExpE_477 to void(...)*),i32 -2147483647}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i64)*@_SMLFN6Real645splitE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real645splitE_478 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real649nextAfterE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649nextAfterE_479 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real649realRoundE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649realRoundE_481 to void(...)*),i32 -2147483647}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:248.28(6943)\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/basis/main/Real64.sml:245.6(6827)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:244.28(6809)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN6Real645toIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real645toIntE_483 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:257.30(7241)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:258.30(7278)\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:260.16(7332)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN6Real6410toLargeIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6410toLargeIntE_485 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:413.51(12610)\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:414.50(12675)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:415.41(12721)\00"}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:415.75(12755)\00"}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:416.22(12782)\00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:385.31(11459)\00"}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:385.63(11491)\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:386.46(11542)\00"}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:387.48(11602)\00"}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:388.37(11644)\00"}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:388.46(11653)\00"}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:389.50(11710)\00"}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:390.22(11737)\00"}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:349.28(9938)\00"}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:349.61(9971)\00"}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:350.31(10007)\00"}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:350.63(10039)\00"}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:352.42(10112)\00"}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:353.41(10168)\00"}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:354.28(10201)\00"}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:354.63(10236)\00"}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:356.39(10303)\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:357.41(10356)\00"}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:358.34(10395)\00"}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:358.66(10427)\00"}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:359.22(10454)\00"}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:443.26(13840)\00"}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:448.32(14023)\00"}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:446.31(13921)\00"}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,i8,[7x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8 48,[7x i8]zeroinitializer,i8*null,i32 2}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:461.37(14449)\00"}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:462.18(14472)\00"}>,align 8
@ad=private unnamed_addr constant<{[4x i8],i32,[4x i8]}><{[4x i8]zeroinitializer,i32 -2147483644,[4x i8]c"0.0\00"}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,[5x i8]}><{[4x i8]zeroinitializer,i32 -2147483643,[5x i8]c"~0.0\00"}>,align 8
@af=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i64)*@_SMLLN6Real648fmtEXACTE_353 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648fmtEXACTE_505 to void(...)*),i32 -2147483647}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:525.42(16271)\00"}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:526.62(16351)\00"}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:527.18(16374)\00"}>,align 8
@aj=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:551.37(17237)\00"}>,align 8
@ak=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:554.37(17384)\00"}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:557.37(17532)\00"}>,align 8
@am=private unnamed_addr constant<{[4x i8],i32,[40x i8]}><{[4x i8]zeroinitializer,i32 -2147483608,[40x i8]c"src/basis/main/Real64.sml:547.12(17055)\00"}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,[4x i8]}><{[4x i8]zeroinitializer,i32 -2147483644,[4x i8]c"nan\00"}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,[4x i8]}><{[4x i8]zeroinitializer,i32 -2147483644,[4x i8]c"inf\00"}>,align 8
@ap=private unnamed_addr constant<{[4x i8],i32,[5x i8]}><{[4x i8]zeroinitializer,i32 -2147483643,[5x i8]c"~inf\00"}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN6Real643fmtE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real643fmtE_510 to void(...)*),i32 -2147483647}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i64)*@_SMLFN6Real649toDecimalE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649toDecimalE_511 to void(...)*),i32 -2147483647}>,align 8
@as=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN6Real6411fromDecimalE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6411fromDecimalE_512 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math2piE=local_unnamed_addr constant double 0x400921FB54442D18
@_SMLZN6Real644Math1eE=local_unnamed_addr constant double 0x4005BF0A8B145769
@at=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math4sqrtE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math4sqrtE_514 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math4sqrtE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@at,i64 0,i32 2)to i8*)
@au=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math3sinE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math3sinE_515 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math3sinE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@au,i64 0,i32 2)to i8*)
@av=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math3cosE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math3cosE_516 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math3cosE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@av,i64 0,i32 2)to i8*)
@aw=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math3tanE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math3tanE_517 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math3tanE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aw,i64 0,i32 2)to i8*)
@ax=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math4asinE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math4asinE_518 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math4asinE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ax,i64 0,i32 2)to i8*)
@ay=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math4acosE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math4acosE_519 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math4acosE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ay,i64 0,i32 2)to i8*)
@az=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math4atanE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math4atanE_520 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math4atanE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@az,i64 0,i32 2)to i8*)
@aA=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real644Math5atan2E to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math5atan2E_521 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math5atan2E=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aA,i64 0,i32 2)to i8*)
@aB=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math3expE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math3expE_522 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math3expE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aB,i64 0,i32 2)to i8*)
@aC=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math2lnE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math2lnE_524 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math2lnE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aC,i64 0,i32 2)to i8*)
@aD=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math5log10E to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math5log10E_525 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math5log10E=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aD,i64 0,i32 2)to i8*)
@aE=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math4sinhE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math4sinhE_526 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math4sinhE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aE,i64 0,i32 2)to i8*)
@aF=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math4coshE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math4coshE_527 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math4coshE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aF,i64 0,i32 2)to i8*)
@aG=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real644Math4tanhE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math4tanhE_528 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644Math4tanhE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aG,i64 0,i32 2)to i8*)
@_SMLZN6Real645radixE=local_unnamed_addr constant i32 2
@_SMLZN6Real649precisionE=local_unnamed_addr constant i32 53
@_SMLZN6Real649maxFiniteE=local_unnamed_addr constant double 0x7FEFFFFFFFFFFFFF
@_SMLZN6Real646minPosE=local_unnamed_addr constant double 4.940660e-324
@_SMLZN6Real6412minNormalPosE=local_unnamed_addr constant double 0x10000000000000
@_SMLZN6Real646posInfE=local_unnamed_addr global double 0.000000e+00
@_SMLZN6Real646negInfE=local_unnamed_addr global double 0.000000e+00
@_SMLZN6Real642_J_KE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a,i64 0,i32 2)to i8*)
@_SMLZN6Real642_J_ME=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@b,i64 0,i32 2)to i8*)
@_SMLZN6Real643minE=local_unnamed_addr constant i8*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*)
@_SMLZN6Real643maxE=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*)
@_SMLZN6Real644signE=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*)
@aH=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN6Real647signBitE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real647signBitE_529 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real647signBitE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aH,i64 0,i32 2)to i8*)
@_SMLZN6Real648sameSignE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@g,i64 0,i32 2)to i8*)
@aI=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real648copySignE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648copySignE_530 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real648copySignE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aI,i64 0,i32 2)to i8*)
@_SMLZN6Real647compareE=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*)
@_SMLZN6Real6411compareRealE=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*)
@aJ=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN6Real649unorderedE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649unorderedE_531 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real649unorderedE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aJ,i64 0,i32 2)to i8*)
@aK=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN6Real648isFiniteE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648isFiniteE_532 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real648isFiniteE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aK,i64 0,i32 2)to i8*)
@aL=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN6Real648isNormalE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648isNormalE_533 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real648isNormalE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aL,i64 0,i32 2)to i8*)
@aM=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN6Real645classE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real645classE_534 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real645classE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aM,i64 0,i32 2)to i8*)
@_SMLZN6Real648toManExpE=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*)
@aN=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real6410fromManExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6410fromManExpE_535 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real6410fromManExpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aN,i64 0,i32 2)to i8*)
@_SMLZN6Real645splitE=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*)
@aO=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real647realModE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real647realModE_536 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real647realModE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aO,i64 0,i32 2)to i8*)
@_SMLZN6Real649nextAfterE=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*)
@aP=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:209.30(5933)\00"}>,align 8
@aQ=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:208.30(5894)\00"}>,align 8
@aR=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real6410checkFloatE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6410checkFloatE_537 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real6410checkFloatE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aR,i64 0,i32 2)to i8*)
@aS=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real649realFloorE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649realFloorE_538 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real649realFloorE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aS,i64 0,i32 2)to i8*)
@aT=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real648realCeilE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648realCeilE_539 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real648realCeilE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aT,i64 0,i32 2)to i8*)
@aU=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real649realTruncE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649realTruncE_540 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real649realTruncE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aU,i64 0,i32 2)to i8*)
@_SMLZN6Real649realRoundE=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*)
@aV=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:239.16(6648)\00"}>,align 8
@aW=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN6Real645floorE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real645floorE_541 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real645floorE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aW,i64 0,i32 2)to i8*)
@aX=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:240.15(6690)\00"}>,align 8
@aY=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN6Real644ceilE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644ceilE_542 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644ceilE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aY,i64 0,i32 2)to i8*)
@aZ=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/basis/main/Real64.sml:241.16(6732)\00"}>,align 8
@a0=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i64)*@_SMLFN6Real645roundE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real645roundE_543 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real645roundE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a0,i64 0,i32 2)to i8*)
@_SMLZN6Real645toIntE=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*)
@_SMLZN6Real6410toLargeIntE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*)
@a1=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i8*)*@_SMLFN6Real6412fromLargeIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6412fromLargeIntE_544 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real6412fromLargeIntE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a1,i64 0,i32 2)to i8*)
@a2=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLFN6Real647toLargeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real647toLargeE_545 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real647toLargeE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a2,i64 0,i32 2)to i8*)
@a3=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(double(i64)*@_SMLLN6Real649fromLargeE_456 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649fromLargeE_546 to void(...)*),i32 -2147483647}>,align 8
@a4=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN6Real649fromLargeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real649fromLargeE_547 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real649fromLargeE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a4,i64 0,i32 2)to i8*)
@_SMLZN6Real643fmtE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aq,i64 0,i32 2)to i8*)
@a5=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 2,[4x i8]zeroinitializer,i8*null,i32 2}>,align 8
@a6=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i64)*@_SMLFN6Real648toStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real648toStringE_548 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real648toStringE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a6,i64 0,i32 2)to i8*)
@a7=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32)*@_SMLFN6Real644scanE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN6Real644scanE_549 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real644scanE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a7,i64 0,i32 2)to i8*)
@a8=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN6Real6410fromStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6410fromStringE_550 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN6Real6410fromStringE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a8,i64 0,i32 2)to i8*)
@_SMLZN6Real649toDecimalE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ar,i64 0,i32 2)to i8*)
@_SMLZN6Real6411fromDecimalE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@as,i64 0,i32 2)to i8*)
@_SML_gvar9d24bdf03f9e5ec9_Real64=private global<{[4x i8],i32,[1x i8*]}><{[4x i8]zeroinitializer,i32 -1342177272,[1x i8*]zeroinitializer}>,align 8
@a9=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar9d24bdf03f9e5ec9_Real64,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@a9 to i64))]
@_SML_ftab9d24bdf03f9e5ec9_Real64=external global i8
@ba=private unnamed_addr global i8 0
@_SMLZN6Real644Math3powE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar9d24bdf03f9e5ec9_Real64,i32 0,i32 2,i32 0)
declare double@acos(double)local_unnamed_addr
declare double@asin(double)local_unnamed_addr
declare double@atan(double)local_unnamed_addr
declare double@atan2(double,double)local_unnamed_addr
declare double@copysign(double,double)local_unnamed_addr
declare double@cos(double)local_unnamed_addr
declare double@cosh(double)local_unnamed_addr
declare double@exp(double)local_unnamed_addr
declare double@frexp(double,i8*)local_unnamed_addr#0
declare double@ldexp(double,i32)local_unnamed_addr
declare double@llvm.fabs.f64(double)#0
declare void@llvm.gcroot(i8**,i8*)#0
declare{i32,i1}@llvm.sadd.with.overflow.i32(i32,i32)#0
declare{i32,i1}@llvm.ssub.with.overflow.i32(i32,i32)#0
declare double@log(double)local_unnamed_addr
declare double@log10(double)local_unnamed_addr
declare double@modf(double,i8*)local_unnamed_addr#0
declare double@nextafter(double,double)local_unnamed_addr
declare double@pow(double,double)local_unnamed_addr
declare i8*@prim_IntInf_fromReal(double)local_unnamed_addr
declare double@prim_IntInf_toReal(i8*)local_unnamed_addr
declare double@sin(double)local_unnamed_addr
declare double@sinh(double)local_unnamed_addr
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare i8*@sml_dtoa(double,i32,i32,i8*,i8*,i8*)local_unnamed_addr
declare void@sml_end()local_unnamed_addr#0
declare void@sml_freedtoa(i8*)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_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@sml_save()local_unnamed_addr#0
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare i8*@sml_str_new(i8*)local_unnamed_addr
declare double@sml_strtod(i8*,i8*)local_unnamed_addr
declare void@sml_unsave()local_unnamed_addr#0
declare i8*@sml_unsave_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare double@sqrt(double)local_unnamed_addr
declare double@tan(double)local_unnamed_addr
declare double@tanh(double)local_unnamed_addr
declare i32@_SMLFN18SMLSharp__RealClass4signE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN18SMLSharp__RealClass5isInfE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN18SMLSharp__RealClass8isFiniteE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN18SMLSharp__RealClass8isNormalE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8IEEEReal4scanE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9StringCvt10scanStringE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5c37eb24573fc5f9_StringCvt()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainde1ed1506b8bef54_IEEEReal()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf8e847239aa6231f_SMLSharp_RealClass()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load5c37eb24573fc5f9_StringCvt(i8*)local_unnamed_addr
declare void@_SML_loadde1ed1506b8bef54_IEEEReal(i8*)local_unnamed_addr
declare void@_SML_loadf8e847239aa6231f_SMLSharp_RealClass(i8*)local_unnamed_addr
define private void@_SML_tabb9d24bdf03f9e5ec9_Real64()#3{
unreachable
}
define void@_SML_load9d24bdf03f9e5ec9_Real64(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@ba,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@ba,align 1
tail call void@_SML_load5c37eb24573fc5f9_StringCvt(i8*%a)#0
tail call void@_SML_loadde1ed1506b8bef54_IEEEReal(i8*%a)#0
tail call void@_SML_loadf8e847239aa6231f_SMLSharp_RealClass(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb9d24bdf03f9e5ec9_Real64,i8*@_SML_ftab9d24bdf03f9e5ec9_Real64,i8*bitcast([2x i64]*@a9 to i8*))#0
ret void
}
define void@_SML_main9d24bdf03f9e5ec9_Real64()local_unnamed_addr#2 gc"smlsharp"{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=load i8,i8*@ba,align 1
%d=and i8%c,2
%e=icmp eq i8%d,0
br i1%e,label%g,label%f
f:
ret void
g:
store i8 3,i8*@ba,align 1
tail call void@_SML_main5c37eb24573fc5f9_StringCvt()#2
tail call void@_SML_mainde1ed1506b8bef54_IEEEReal()#2
tail call void@_SML_mainf8e847239aa6231f_SMLSharp_RealClass()#2
call void@llvm.gcroot(i8**%b,i8*null)#0
%h=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%h)#0
%i=call i8*@sml_alloc(i32 inreg 12)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177288,i32*%k,align 4
store i8*%i,i8**%b,align 8
%l=bitcast i8*%i to double*
store double 0x7FF8000000000000,double*%l,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i32*
store i32 0,i32*%n,align 4
%o=call i8*@sml_alloc(i32 inreg 28)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177304,i32*%q,align 4
%r=load i8*,i8**%b,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=getelementptr inbounds i8,i8*%o,i64 8
%u=bitcast i8*%t to void(...)**
store void(...)*bitcast(double(i8*,i8*)*@_SMLLN6Real644Math3powE_230 to void(...)*),void(...)**%u,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644Math3powE_468 to void(...)*),void(...)**%w,align 8
%x=getelementptr inbounds i8,i8*%o,i64 24
%y=bitcast i8*%x to i32*
store i32 -2147483647,i32*%y,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar9d24bdf03f9e5ec9_Real64,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar9d24bdf03f9e5ec9_Real64,i64 0,i32 2,i64 0),i8*inreg%o)#0
store double 0x7FF0000000000000,double*@_SMLZN6Real646posInfE,align 8
store double 0xFFF0000000000000,double*@_SMLZN6Real646negInfE,align 8
call void@sml_end()#0
ret void
}
define internal fastcc double@_SMLLN6Real644Math3powE_230(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%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%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%d,align 8
%l=bitcast i8*%j to double*
%m=load double,double*%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to double*
%p=load double,double*%o,align 8
%q=bitcast double%p to i64
%r=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%q)
%s=call fastcc i32@_SMLFN18SMLSharp__RealClass5isInfE(i32 inreg%r)
%t=icmp eq i32%s,0
br i1%t,label%E,label%u
u:
%v=fcmp une double%m,1.000000e+00
%w=fcmp une double%m,-1.000000e+00
%x=and i1%v,%w
br i1%x,label%C,label%y
y:
%z=bitcast i8**%c to double**
%A=load double*,double**%z,align 8
%B=load double,double*%A,align 8
ret double%B
C:
%D=call double@pow(double%m,double%p)
ret double%D
E:
%F=call double@pow(double%m,double%p)
ret double%F
}
define fastcc double@_SMLFN6Real642_J_KE(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to double*
%c=load double,double*%b,align 8
%d=getelementptr inbounds i8,i8*%a,i64 8
%e=bitcast i8*%d to double*
%f=load double,double*%e,align 8
%g=getelementptr inbounds i8,i8*%a,i64 16
%h=bitcast i8*%g to double*
%i=load double,double*%h,align 8
%j=fmul double%c,%f
%k=fadd double%j,%i
ret double%k
}
define fastcc double@_SMLFN6Real642_J_ME(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to double*
%c=load double,double*%b,align 8
%d=getelementptr inbounds i8,i8*%a,i64 8
%e=bitcast i8*%d to double*
%f=load double,double*%e,align 8
%g=getelementptr inbounds i8,i8*%a,i64 16
%h=bitcast i8*%g to double*
%i=load double,double*%h,align 8
%j=fmul double%c,%f
%k=fsub double%j,%i
ret double%k
}
define fastcc double@_SMLFN6Real643minE(i8*inreg%a)#4 gc"smlsharp"{
j:
%b=bitcast i8*%a to double*
%c=load double,double*%b,align 8
%d=getelementptr inbounds i8,i8*%a,i64 8
%e=bitcast i8*%d to double*
%f=load double,double*%e,align 8
%g=fcmp ord double%c,0.000000e+00
br i1%g,label%k,label%h
h:
%i=phi double[%f,%j],[%c,%k],[%o,%m]
ret double%i
k:
%l=fcmp ord double%f,0.000000e+00
br i1%l,label%m,label%h
m:
%n=fcmp ole double%c,%f
%o=select i1%n,double%c,double%f
br label%h
}
define fastcc double@_SMLFN6Real643maxE(i8*inreg%a)#4 gc"smlsharp"{
j:
%b=bitcast i8*%a to double*
%c=load double,double*%b,align 8
%d=getelementptr inbounds i8,i8*%a,i64 8
%e=bitcast i8*%d to double*
%f=load double,double*%e,align 8
%g=fcmp ord double%c,0.000000e+00
br i1%g,label%k,label%h
h:
%i=phi double[%f,%j],[%c,%k],[%o,%m]
ret double%i
k:
%l=fcmp ord double%f,0.000000e+00
br i1%l,label%m,label%h
m:
%n=fcmp ole double%c,%f
%o=select i1%n,double%f,double%c
br label%h
}
define fastcc i32@_SMLFN6Real644signE(i64 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=bitcast i64%a to double
%i=fcmp ord double%h,0.000000e+00
br i1%i,label%B,label%j
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,[39x i8]}>,<{[4x i8],i32,[39x 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=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)
%D=tail call fastcc i32@_SMLFN18SMLSharp__RealClass4signE(i32 inreg%C)
ret i32%D
}
define fastcc i32@_SMLFN6Real648sameSignE(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%e,label%g
e:
%f=bitcast i8*%a to i64*
br label%j
g:
call void@sml_check(i32 inreg%c)
%h=bitcast i8**%b to i64**
%i=load i64*,i64**%h,align 8
br label%j
j:
%k=phi i64*[%i,%g],[%f,%e]
%l=load i64,i64*%k,align 4
%m=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%l)
%n=call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%m)
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%o,i64 8
%q=bitcast i8*%p to i64*
%r=load i64,i64*%q,align 4
%s=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%r)
%t=call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%s)
%u=icmp eq i32%n,%t
%v=zext i1%u to i32
ret i32%v
}
define fastcc i32@_SMLFN6Real6411compareRealE(i8*inreg%a)#4 gc"smlsharp"{
j:
%b=bitcast i8*%a to double*
%c=load double,double*%b,align 8
%d=getelementptr inbounds i8,i8*%a,i64 8
%e=bitcast i8*%d to double*
%f=load double,double*%e,align 8
%g=fcmp uge double%c,%f
br i1%g,label%k,label%h
h:
%i=phi i32[2,%j],[1,%k],[%o,%m]
ret i32%i
k:
%l=fcmp ule double%c,%f
br i1%l,label%m,label%h
m:
%n=fcmp une double%c,%f
%o=select i1%n,i32 3,i32 0
br label%h
}
define fastcc i32@_SMLFN6Real647compareE(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to double*
%l=load double,double*%k,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to double*
%o=load double,double*%n,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=bitcast i8*%p to double*
store double%l,double*%s,align 8
%t=getelementptr inbounds i8,i8*%p,i64 8
%u=bitcast i8*%t to double*
store double%o,double*%u,align 8
%v=getelementptr inbounds i8,i8*%p,i64 16
%w=bitcast i8*%v to i32*
store i32 0,i32*%w,align 4
%x=call fastcc i32@_SMLFN6Real6411compareRealE(i8*inreg%p)
switch i32%x,label%y[
i32 2,label%ai
i32 0,label%ai
i32 1,label%ai
i32 3,label%Q
]
y:
call void@sml_matchcomp_bug()
%z=load i8*,i8**@_SMLZ5Match,align 8
store i8*%z,i8**%b,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**%c,align 8
%D=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@j,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**%c,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=load i8*,i8**@_SMLZN8IEEEReal9UnorderedE,align 8
store i8*%R,i8**%b,align 8
%S=call i8*@sml_alloc(i32 inreg 20)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177296,i32*%U,align 4
store i8*%S,i8**%c,align 8
%V=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%S,i64 8
%Y=bitcast i8*%X to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@i,i64 0,i32 2,i64 0),i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 60)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177336,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 56
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=load i8*,i8**%c,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
call void@sml_raise(i8*inreg%ab)#1
unreachable
ai:
ret i32%x
}
define fastcc i8*@_SMLFN6Real648toManExpE(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 i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 536870916,i32*%j,align 4
store i32 0,i32*%h,align 4
%k=tail call double@frexp(double%f,i8*%g)
%l=load i32,i32*%h,align 4
%m=tail call i8*@sml_alloc(i32 inreg 20)#0
%n=bitcast i8*%m to i32*
%o=getelementptr inbounds i8,i8*%m,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177296,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%m,i64 4
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 1
store i32%l,i32*%n,align 4
%s=getelementptr inbounds i8,i8*%m,i64 8
%t=bitcast i8*%s to double*
store double%k,double*%t,align 8
%u=getelementptr inbounds i8,i8*%m,i64 16
%v=bitcast i8*%u to i32*
store i32 0,i32*%v,align 4
ret i8*%m
}
define fastcc i8*@_SMLFN6Real645splitE(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 i8*@sml_alloc(i32 inreg 8)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 536870920,i32*%i,align 4
%j=bitcast i8*%g to double*
store double 0.000000e+00,double*%j,align 8
%k=tail call double@modf(double%f,i8*%g)
%l=load double,double*%j,align 8
%m=tail call i8*@sml_alloc(i32 inreg 20)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177296,i32*%o,align 4
%p=bitcast i8*%m to double*
store double%k,double*%p,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to double*
store double%l,double*%r,align 8
%s=getelementptr inbounds i8,i8*%m,i64 16
%t=bitcast i8*%s to i32*
store i32 0,i32*%t,align 4
ret i8*%m
}
define fastcc double@_SMLFN6Real649nextAfterE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=bitcast i8*%h to double*
%k=load double,double*%j,align 8
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to double*
%n=load double,double*%m,align 8
%o=bitcast double%k to i64
%p=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%o)
%q=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%p)
%r=bitcast double%n to i64
%s=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%r)
%t=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%s)
%u=call i8*@sml_alloc(i32 inreg 12)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177288,i32*%x,align 4
store i32%q,i32*%v,align 4
%y=getelementptr inbounds i8,i8*%u,i64 4
%z=bitcast i8*%y to i32*
store i32%t,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 4
%C=icmp eq i32%q,0
br i1%C,label%F,label%D
D:
%E=call double@nextafter(double%k,double%n)
ret double%E
F:
%G=icmp eq i32%t,1
br i1%G,label%I,label%H
H:
ret double%k
I:
%J=call double@nextafter(double%k,double%n)
ret double%J
}
define internal fastcc double@_SMLLN6Real6411floorOrCeilE_256(i64 inreg%a)unnamed_addr#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 fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)
%h=tail call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%g)
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
%k=tail call double@llvm.floor.f64(double%f)
ret double%k
l:
%m=tail call double@llvm.ceil.f64(double%f)
ret double%m
}
define fastcc double@_SMLFN6Real649realRoundE(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=tail call fastcc i8*@_SMLFN6Real645splitE(i64 inreg%a)
%g=getelementptr inbounds i8,i8*%f,i64 8
%h=bitcast i8*%g to double*
%i=load double,double*%h,align 8
%j=bitcast i8*%f to double*
%k=load double,double*%j,align 8
%l=tail call double@llvm.fabs.f64(double%k)#0
%m=fcmp uge double%l,5.000000e-01
br i1%m,label%o,label%n
n:
ret double%i
o:
%p=fcmp ule double%l,5.000000e-01
br i1%p,label%s,label%q
q:
%r=tail call fastcc double@_SMLLN6Real6411floorOrCeilE_256(i64 inreg%a)
ret double%r
s:
%t=frem double%i,2.000000e+00
%u=fcmp une double%t,0.000000e+00
br i1%u,label%v,label%n
v:
%w=tail call fastcc double@_SMLLN6Real6411floorOrCeilE_256(i64 inreg%a)
ret double%w
}
define internal fastcc i32@_SMLLN6Real645toIntE_270(i8*inreg%a,i64 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
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=bitcast i64%b to double
%j=fcmp ord double%i,0.000000e+00
br i1%j,label%C,label%k
k:
%l=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%l,i8**%c,align 8
%m=call i8*@sml_alloc(i32 inreg 20)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177296,i32*%o,align 4
store i8*%m,i8**%d,align 8
%p=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%m,i64 8
%s=bitcast i8*%r to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@r,i64 0,i32 2,i64 0),i8**%s,align 8
%t=getelementptr inbounds i8,i8*%m,i64 16
%u=bitcast i8*%t to i32*
store i32 3,i32*%u,align 4
%v=call i8*@sml_alloc(i32 inreg 60)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177336,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%v,i64 56
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=load i8*,i8**%d,align 8
%B=bitcast i8*%v to i8**
store i8*%A,i8**%B,align 8
call void@sml_raise(i8*inreg%v)#1
unreachable
C:
%D=bitcast i8**%c to i32**
%E=load i32*,i32**%D,align 8
%F=load i32,i32*%E,align 4
switch i32%F,label%G[
i32 0,label%bY
i32 1,label%bf
i32 2,label%aw
i32 3,label%Y
]
G:
call void@sml_matchcomp_bug()
%H=load i8*,i8**@_SMLZ5Match,align 8
store i8*%H,i8**%c,align 8
%I=call i8*@sml_alloc(i32 inreg 20)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
store i8*%I,i8**%d,align 8
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@q,i64 0,i32 2,i64 0),i8**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to i32*
store i32 3,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 60)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177336,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%R,i64 56
%V=bitcast i8*%U to i32*
store i32 1,i32*%V,align 4
%W=load i8*,i8**%d,align 8
%X=bitcast i8*%R to i8**
store i8*%W,i8**%X,align 8
call void@sml_raise(i8*inreg%R)#1
unreachable
Y:
%Z=fcmp ult double%i,0xC1E0000000000000
%aa=fcmp ugt double%i,0x41DFFFFFFFC00000
%ab=or i1%Z,%aa
br i1%ab,label%ae,label%ac
ac:
%ad=fptosi double%i to i32
ret i32%ad
ae:
%af=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%af,i8**%c,align 8
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
store i8*%ag,i8**%d,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@p,i64 0,i32 2,i64 0),i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=call i8*@sml_alloc(i32 inreg 60)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177336,i32*%ar,align 4
%as=getelementptr inbounds i8,i8*%ap,i64 56
%at=bitcast i8*%as to i32*
store i32 1,i32*%at,align 4
%au=load i8*,i8**%d,align 8
%av=bitcast i8*%ap to i8**
store i8*%au,i8**%av,align 8
call void@sml_raise(i8*inreg%ap)#1
unreachable
aw:
%ax=call double@llvm.ceil.f64(double%i)
%ay=fcmp ord double%ax,0.000000e+00
br i1%ay,label%aR,label%az
az:
%aA=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%aA,i8**%c,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
store i8*%aB,i8**%d,align 8
%aE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aX,i64 0,i32 2,i64 0),i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to i32*
store i32 3,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 60)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177336,i32*%aM,align 4
%aN=getelementptr inbounds i8,i8*%aK,i64 56
%aO=bitcast i8*%aN to i32*
store i32 1,i32*%aO,align 4
%aP=load i8*,i8**%d,align 8
%aQ=bitcast i8*%aK to i8**
store i8*%aP,i8**%aQ,align 8
call void@sml_raise(i8*inreg%aK)#1
unreachable
aR:
%aS=fcmp ult double%ax,0xC1E0000000000000
%aT=fcmp ugt double%ax,0x41DFFFFFFFC00000
%aU=or i1%aS,%aT
br i1%aU,label%aX,label%aV
aV:
%aW=fptosi double%ax to i32
ret i32%aW
aX:
%aY=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aY,i8**%c,align 8
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
store i8*%aZ,i8**%d,align 8
%a2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aZ,i64 8
%a5=bitcast i8*%a4 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aX,i64 0,i32 2,i64 0),i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aZ,i64 16
%a7=bitcast i8*%a6 to i32*
store i32 3,i32*%a7,align 4
%a8=call i8*@sml_alloc(i32 inreg 60)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177336,i32*%ba,align 4
%bb=getelementptr inbounds i8,i8*%a8,i64 56
%bc=bitcast i8*%bb to i32*
store i32 1,i32*%bc,align 4
%bd=load i8*,i8**%d,align 8
%be=bitcast i8*%a8 to i8**
store i8*%bd,i8**%be,align 8
call void@sml_raise(i8*inreg%a8)#1
unreachable
bf:
%bg=call double@llvm.floor.f64(double%i)
%bh=fcmp ord double%bg,0.000000e+00
br i1%bh,label%bA,label%bi
bi:
%bj=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%bj,i8**%c,align 8
%bk=call i8*@sml_alloc(i32 inreg 20)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177296,i32*%bm,align 4
store i8*%bk,i8**%d,align 8
%bn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aV,i64 0,i32 2,i64 0),i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bk,i64 16
%bs=bitcast i8*%br to i32*
store i32 3,i32*%bs,align 4
%bt=call i8*@sml_alloc(i32 inreg 60)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177336,i32*%bv,align 4
%bw=getelementptr inbounds i8,i8*%bt,i64 56
%bx=bitcast i8*%bw to i32*
store i32 1,i32*%bx,align 4
%by=load i8*,i8**%d,align 8
%bz=bitcast i8*%bt to i8**
store i8*%by,i8**%bz,align 8
call void@sml_raise(i8*inreg%bt)#1
unreachable
bA:
%bB=fcmp ult double%bg,0xC1E0000000000000
%bC=fcmp ugt double%bg,0x41DFFFFFFFC00000
%bD=or i1%bB,%bC
br i1%bD,label%bG,label%bE
bE:
%bF=fptosi double%bg to i32
ret i32%bF
bG:
%bH=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%bH,i8**%c,align 8
%bI=call i8*@sml_alloc(i32 inreg 20)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177296,i32*%bK,align 4
store i8*%bI,i8**%d,align 8
%bL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bI,i64 8
%bO=bitcast i8*%bN to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aV,i64 0,i32 2,i64 0),i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bI,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
%bR=call i8*@sml_alloc(i32 inreg 60)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177336,i32*%bT,align 4
%bU=getelementptr inbounds i8,i8*%bR,i64 56
%bV=bitcast i8*%bU to i32*
store i32 1,i32*%bV,align 4
%bW=load i8*,i8**%d,align 8
%bX=bitcast i8*%bR to i8**
store i8*%bW,i8**%bX,align 8
call void@sml_raise(i8*inreg%bR)#1
unreachable
bY:
%bZ=call fastcc double@_SMLFN6Real649realRoundE(i64 inreg%b)
%b0=fcmp ord double%bZ,0.000000e+00
br i1%b0,label%cj,label%b1
b1:
%b2=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%b2,i8**%c,align 8
%b3=call i8*@sml_alloc(i32 inreg 20)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
store i8*%b3,i8**%d,align 8
%b6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b3,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aZ,i64 0,i32 2,i64 0),i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 16
%cb=bitcast i8*%ca to i32*
store i32 3,i32*%cb,align 4
%cc=call i8*@sml_alloc(i32 inreg 60)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177336,i32*%ce,align 4
%cf=getelementptr inbounds i8,i8*%cc,i64 56
%cg=bitcast i8*%cf to i32*
store i32 1,i32*%cg,align 4
%ch=load i8*,i8**%d,align 8
%ci=bitcast i8*%cc to i8**
store i8*%ch,i8**%ci,align 8
call void@sml_raise(i8*inreg%cc)#1
unreachable
cj:
%ck=fcmp ult double%bZ,0xC1E0000000000000
%cl=fcmp ugt double%bZ,0x41DFFFFFFFC00000
%cm=or i1%ck,%cl
br i1%cm,label%cp,label%cn
cn:
%co=fptosi double%bZ to i32
ret i32%co
cp:
%cq=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%cq,i8**%c,align 8
%cr=call i8*@sml_alloc(i32 inreg 20)#0
%cs=getelementptr inbounds i8,i8*%cr,i64 -4
%ct=bitcast i8*%cs to i32*
store i32 1342177296,i32*%ct,align 4
store i8*%cr,i8**%d,align 8
%cu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cv=bitcast i8*%cr to i8**
store i8*%cu,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cr,i64 8
%cx=bitcast i8*%cw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aZ,i64 0,i32 2,i64 0),i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cr,i64 16
%cz=bitcast i8*%cy to i32*
store i32 3,i32*%cz,align 4
%cA=call i8*@sml_alloc(i32 inreg 60)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177336,i32*%cC,align 4
%cD=getelementptr inbounds i8,i8*%cA,i64 56
%cE=bitcast i8*%cD to i32*
store i32 1,i32*%cE,align 4
%cF=load i8*,i8**%d,align 8
%cG=bitcast i8*%cA to i8**
store i8*%cF,i8**%cG,align 8
call void@sml_raise(i8*inreg%cA)#1
unreachable
}
define fastcc i8*@_SMLFN6Real645toIntE(i32 inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i32(i8*,i64)*@_SMLLN6Real645toIntE_270 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real645toIntE_482 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN6Real6410toLargeIntE_276(i8*inreg%a,i64 inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=bitcast i64%b to double
%j=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%b)
%k=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%j)
switch i32%k,label%l[
i32 1,label%ao
i32 0,label%W
]
l:
%m=bitcast i8**%c to i32**
%n=load i32*,i32**%m,align 8
%o=load i32,i32*%n,align 4
switch i32%o,label%p[
i32 0,label%L
i32 1,label%J
i32 2,label%H
i32 3,label%N
]
p:
call void@sml_matchcomp_bug()
%q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%d,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@v,i64 0,i32 2,i64 0),i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 60)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177336,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 56
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
%F=load i8*,i8**%d,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
call void@sml_raise(i8*inreg%A)#1
unreachable
H:
%I=call double@llvm.ceil.f64(double%i)
br label%N
J:
%K=call double@llvm.floor.f64(double%i)
br label%N
L:
%M=call fastcc double@_SMLFN6Real649realRoundE(i64 inreg%b)
br label%N
N:
%O=phi double[%I,%H],[%K,%J],[%M,%L],[%i,%l]
%P=call i8*@sml_save()#0
%Q=invoke i8*@prim_IntInf_fromReal(double%O)
to label%R unwind label%S
R:
call void@sml_unsave()#0
ret i8*%Q
S:
%T=landingpad{i8*,i8*}
cleanup
%U=extractvalue{i8*,i8*}%T,1
call void@sml_unsave()#0
%V=call i8*@sml_unsave_exn(i8*inreg%U)#0
resume{i8*,i8*}%T
W:
%X=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%X,i8**%c,align 8
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
store i8*%Y,i8**%d,align 8
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@u,i64 0,i32 2,i64 0),i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
%ah=call i8*@sml_alloc(i32 inreg 60)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177336,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ah,i64 56
%al=bitcast i8*%ak to i32*
store i32 1,i32*%al,align 4
%am=load i8*,i8**%d,align 8
%an=bitcast i8*%ah to i8**
store i8*%am,i8**%an,align 8
call void@sml_raise(i8*inreg%ah)#1
unreachable
ao:
%ap=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%ap,i8**%c,align 8
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%aq,i64 8
%aw=bitcast i8*%av to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@t,i64 0,i32 2,i64 0),i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 16
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 60)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177336,i32*%aB,align 4
%aC=getelementptr inbounds i8,i8*%az,i64 56
%aD=bitcast i8*%aC to i32*
store i32 1,i32*%aD,align 4
%aE=load i8*,i8**%d,align 8
%aF=bitcast i8*%az to i8**
store i8*%aE,i8**%aF,align 8
call void@sml_raise(i8*inreg%az)#1
unreachable
}
define fastcc i8*@_SMLFN6Real6410toLargeIntE(i32 inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i64)*@_SMLLN6Real6410toLargeIntE_276 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6410toLargeIntE_484 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN6Real644dtoaE_279(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
k:
%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
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*null,i8**%b,align 8
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%j,i64 4
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%j,i64 8
%r=bitcast i8*%q to double*
%s=load double,double*%r,align 8
%t=call i8*@sml_alloc(i32 inreg 4)#0
%u=bitcast i8*%t to i32*
%v=getelementptr inbounds i8,i8*%t,i64 -4
%w=bitcast i8*%v to i32*
store i32 536870916,i32*%w,align 4
store i8*%t,i8**%c,align 8
store i32 0,i32*%u,align 4
%x=call i8*@sml_alloc(i32 inreg 4)#0
%y=bitcast i8*%x to i32*
%z=getelementptr inbounds i8,i8*%x,i64 -4
%A=bitcast i8*%z to i32*
store i32 536870916,i32*%A,align 4
store i8*%x,i8**%d,align 8
store i32 0,i32*%y,align 4
%B=call i8*@sml_alloc(i32 inreg 44)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177320,i32*%D,align 4
%E=bitcast i8*%B to double*
store double%s,double*%E,align 8
%F=getelementptr inbounds i8,i8*%B,i64 8
%G=bitcast i8*%F to i32*
store i32%m,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%B,i64 12
%I=bitcast i8*%H to i32*
store i32%p,i32*%I,align 4
%J=load i8*,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%B,i64 16
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=load i8*,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%B,i64 24
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%B,i64 32
%Q=bitcast i8*%P to i8**
store i8*null,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%B,i64 40
%S=bitcast i8*%R to i32*
store i32 12,i32*%S,align 4
%T=call i8*@sml_dtoa(double%s,i32%m,i32%p,i8*%J,i8*%M,i8*null)
%U=call i8*@sml_save()#0
%V=invoke i8*@sml_str_new(i8*%T)
to label%W unwind label%ar
W:
call void@sml_unsave()#0
store i8*%V,i8**%b,align 8
call void@sml_freedtoa(i8*%T)
%X=bitcast i8**%c to i32**
%Y=load i32*,i32**%X,align 8
store i8*null,i8**%c,align 8
%Z=load i32,i32*%Y,align 4
%aa=bitcast i8**%d to i32**
%ab=load i32*,i32**%aa,align 8
store i8*null,i8**%d,align 8
%ac=load i32,i32*%ab,align 4
%ad=icmp ne i32%ac,0
%ae=zext i1%ad to i32
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=bitcast i8*%af to i32*
%ah=getelementptr inbounds i8,i8*%af,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177304,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%af,i64 4
call void@llvm.memset.p0i8.i32(i8*%aj,i8 0,i32 20,i1 false)
store i32%Z,i32*%ag,align 4
%ak=load i8*,i8**%b,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i32*
store i32%ae,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%af,i64 24
%aq=bitcast i8*%ap to i32*
store i32 2,i32*%aq,align 4
ret i8*%af
ar:
%as=landingpad{i8*,i8*}
cleanup
%at=extractvalue{i8*,i8*}%as,1
call void@sml_unsave()#0
%au=call i8*@sml_unsave_exn(i8*inreg%at)#0
resume{i8*,i8*}%as
}
define internal fastcc void@_SMLL4loop_285(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
f:
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,align 8
br label%d
d:
%e=phi i32[%b,%f],[%v,%q]
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=load i8*,i8**%c,align 8
%l=getelementptr inbounds i8,i8*%k,i64 8
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=icmp slt i32%e,%n
br i1%o,label%q,label%p
p:
ret void
q:
%r=bitcast i8*%k to i8**
%s=load i8*,i8**%r,align 8
%t=sext i32%e to i64
%u=getelementptr inbounds i8,i8*%s,i64%t
store i8 48,i8*%u,align 1
%v=add nsw i32%e,1
br label%d
}
define internal fastcc void@_SMLLN6Real648fillZeroE_286(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,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=bitcast i8**%b to i8***
%k=load i8**,i8***%j,align 8
%l=bitcast i8**%k to i8*
br label%m
m:
%n=phi i8*[%l,%i],[%a,%g]
%o=phi i8**[%k,%i],[%h,%g]
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%n,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i32*
store i32%s,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(void(i8*,i32)*@_SMLL4loop_285 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4loop_489 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
%N=load i8*,i8**%b,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
tail call fastcc void@_SMLL4loop_285(i8*inreg%F,i32 inreg%Q)
ret void
}
define internal fastcc i8*@_SMLLN6Real6416insertSignAndDotE_320(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*%i,i8**%c,align 8
%k=bitcast i8*%i to i32*
%l=load i32,i32*%k,align 4
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=icmp ne i32%l,0
%t=zext i1%s to i32
%u=getelementptr inbounds i8,i8*%i,i64 8
%v=bitcast i8*%u to i32**
%w=load i32*,i32**%v,align 8
%x=getelementptr inbounds i32,i32*%w,i64 -1
%y=load i32,i32*%x,align 4
%z=and i32%y,268435455
%A=add nsw i32%z,-1
%B=icmp sgt i32%o,0
br i1%B,label%fn,label%C
C:
%D=call{i32,i1}@llvm.ssub.with.overflow.i32(i32 0,i32%o)#0
%E=extractvalue{i32,i1}%D,1
br i1%E,label%F,label%R
F:
store i8*null,i8**%c,align 8
%G=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%G,i8**%b,align 8
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
%K=load i8*,i8**%b,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@K,i64 0,i32 2,i64 0),i8**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
store i8*%H,i8**%b,align 8
%Q=icmp eq i8*%K,%G
br i1%Q,label%V,label%an
R:
%S=sub nsw i32 0,%o
%T=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%S,i32%A)#0
%U=extractvalue{i32,i1}%T,1
br i1%U,label%av,label%aH
V:
%W=load i8*,i8**@_SMLZ4Size,align 8
store i8*%W,i8**%b,align 8
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
store i8*%X,i8**%c,align 8
%aa=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@L,i64 0,i32 2,i64 0),i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 60)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177336,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%ag,i64 56
%ak=bitcast i8*%aj to i32*
store i32 1,i32*%ak,align 4
%al=load i8*,i8**%c,align 8
%am=bitcast i8*%ag to i8**
store i8*%al,i8**%am,align 8
call void@sml_raise(i8*inreg%ag)#1
unreachable
an:
%ao=call i8*@sml_alloc(i32 inreg 60)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177336,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%ao,i64 56
%as=bitcast i8*%ar to i32*
store i32 1,i32*%as,align 4
%at=load i8*,i8**%b,align 8
%au=bitcast i8*%ao to i8**
store i8*%at,i8**%au,align 8
call void@sml_raise(i8*inreg%ao)#1
unreachable
av:
store i8*null,i8**%c,align 8
%aw=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aw,i8**%b,align 8
%ax=call i8*@sml_alloc(i32 inreg 20)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177296,i32*%az,align 4
%aA=load i8*,i8**%b,align 8
%aB=bitcast i8*%ax to i8**
store i8*%aA,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%ax,i64 8
%aD=bitcast i8*%aC to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@M,i64 0,i32 2,i64 0),i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 16
%aF=bitcast i8*%aE to i32*
store i32 3,i32*%aF,align 4
store i8*%ax,i8**%b,align 8
%aG=icmp eq i8*%aA,%aw
br i1%aG,label%aK,label%a2
aH:
%aI=sub i32%A,%o
%aJ=icmp sgt i32%r,%aI
br i1%aJ,label%ba,label%bR
aK:
%aL=load i8*,i8**@_SMLZ4Size,align 8
store i8*%aL,i8**%b,align 8
%aM=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
store i8*%aM,i8**%c,align 8
%aP=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@N,i64 0,i32 2,i64 0),i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to i32*
store i32 3,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 60)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177336,i32*%aX,align 4
%aY=getelementptr inbounds i8,i8*%aV,i64 56
%aZ=bitcast i8*%aY to i32*
store i32 1,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
%a1=bitcast i8*%aV to i8**
store i8*%a0,i8**%a1,align 8
call void@sml_raise(i8*inreg%aV)#1
unreachable
a2:
%a3=call i8*@sml_alloc(i32 inreg 60)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177336,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%a3,i64 56
%a7=bitcast i8*%a6 to i32*
store i32 1,i32*%a7,align 4
%a8=load i8*,i8**%b,align 8
%a9=bitcast i8*%a3 to i8**
store i8*%a8,i8**%a9,align 8
call void@sml_raise(i8*inreg%a3)#1
unreachable
ba:
%bb=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%r,i32%aI)#0
%bc=extractvalue{i32,i1}%bb,1
br i1%bc,label%bd,label%bp
bd:
store i8*null,i8**%c,align 8
%be=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%be,i8**%b,align 8
%bf=call i8*@sml_alloc(i32 inreg 20)#0
%bg=getelementptr inbounds i8,i8*%bf,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177296,i32*%bh,align 4
%bi=load i8*,i8**%b,align 8
%bj=bitcast i8*%bf to i8**
store i8*%bi,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bf,i64 8
%bl=bitcast i8*%bk to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@O,i64 0,i32 2,i64 0),i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bf,i64 16
%bn=bitcast i8*%bm to i32*
store i32 3,i32*%bn,align 4
store i8*%bf,i8**%b,align 8
%bo=icmp eq i8*%bi,%be
br i1%bo,label%br,label%bJ
bp:
%bq=sub nsw i32%r,%aI
br label%bR
br:
%bs=load i8*,i8**@_SMLZ4Size,align 8
store i8*%bs,i8**%b,align 8
%bt=call i8*@sml_alloc(i32 inreg 20)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177296,i32*%bv,align 4
store i8*%bt,i8**%c,align 8
%bw=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bt,i64 8
%bz=bitcast i8*%by to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@P,i64 0,i32 2,i64 0),i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bt,i64 16
%bB=bitcast i8*%bA to i32*
store i32 3,i32*%bB,align 4
%bC=call i8*@sml_alloc(i32 inreg 60)#0
%bD=getelementptr inbounds i8,i8*%bC,i64 -4
%bE=bitcast i8*%bD to i32*
store i32 1342177336,i32*%bE,align 4
%bF=getelementptr inbounds i8,i8*%bC,i64 56
%bG=bitcast i8*%bF to i32*
store i32 1,i32*%bG,align 4
%bH=load i8*,i8**%c,align 8
%bI=bitcast i8*%bC to i8**
store i8*%bH,i8**%bI,align 8
call void@sml_raise(i8*inreg%bC)#1
unreachable
bJ:
%bK=call i8*@sml_alloc(i32 inreg 60)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177336,i32*%bM,align 4
%bN=getelementptr inbounds i8,i8*%bK,i64 56
%bO=bitcast i8*%bN to i32*
store i32 1,i32*%bO,align 4
%bP=load i8*,i8**%b,align 8
%bQ=bitcast i8*%bK to i8**
store i8*%bP,i8**%bQ,align 8
call void@sml_raise(i8*inreg%bK)#1
unreachable
bR:
%bS=phi i32[%bq,%bp],[0,%aH]
%bT=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%aI,i32%bS)#0
%bU=extractvalue{i32,i1}%bT,1
br i1%bU,label%bV,label%b7
bV:
store i8*null,i8**%c,align 8
%bW=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%bW,i8**%b,align 8
%bX=call i8*@sml_alloc(i32 inreg 20)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177296,i32*%bZ,align 4
%b0=load i8*,i8**%b,align 8
%b1=bitcast i8*%bX to i8**
store i8*%b0,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bX,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@Q,i64 0,i32 2,i64 0),i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bX,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 3,i32*%b5,align 4
store i8*%bX,i8**%b,align 8
%b6=icmp eq i8*%b0,%bW
br i1%b6,label%ca,label%cs
b7:
%b8=add nsw i32%bS,%aI
%b9=icmp slt i32%b8,1
br i1%b9,label%dh,label%cA
ca:
%cb=load i8*,i8**@_SMLZ4Size,align 8
store i8*%cb,i8**%b,align 8
%cc=call i8*@sml_alloc(i32 inreg 20)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177296,i32*%ce,align 4
store i8*%cc,i8**%c,align 8
%cf=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%cc,i64 8
%ci=bitcast i8*%ch to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@R,i64 0,i32 2,i64 0),i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%cc,i64 16
%ck=bitcast i8*%cj to i32*
store i32 3,i32*%ck,align 4
%cl=call i8*@sml_alloc(i32 inreg 60)#0
%cm=getelementptr inbounds i8,i8*%cl,i64 -4
%cn=bitcast i8*%cm to i32*
store i32 1342177336,i32*%cn,align 4
%co=getelementptr inbounds i8,i8*%cl,i64 56
%cp=bitcast i8*%co to i32*
store i32 1,i32*%cp,align 4
%cq=load i8*,i8**%c,align 8
%cr=bitcast i8*%cl to i8**
store i8*%cq,i8**%cr,align 8
call void@sml_raise(i8*inreg%cl)#1
unreachable
cs:
%ct=call i8*@sml_alloc(i32 inreg 60)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177336,i32*%cv,align 4
%cw=getelementptr inbounds i8,i8*%ct,i64 56
%cx=bitcast i8*%cw to i32*
store i32 1,i32*%cx,align 4
%cy=load i8*,i8**%b,align 8
%cz=bitcast i8*%ct to i8**
store i8*%cy,i8**%cz,align 8
call void@sml_raise(i8*inreg%ct)#1
unreachable
cA:
%cB=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%b8,i32 1)#0
%cC=extractvalue{i32,i1}%cB,1
br i1%cC,label%cD,label%cP
cD:
store i8*null,i8**%c,align 8
%cE=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%cE,i8**%b,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=load i8*,i8**%b,align 8
%cJ=bitcast i8*%cF to i8**
store i8*%cI,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cF,i64 8
%cL=bitcast i8*%cK to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@S,i64 0,i32 2,i64 0),i8**%cL,align 8
%cM=getelementptr inbounds i8,i8*%cF,i64 16
%cN=bitcast i8*%cM to i32*
store i32 3,i32*%cN,align 4
store i8*%cF,i8**%b,align 8
%cO=icmp eq i8*%cI,%cE
br i1%cO,label%cR,label%c9
cP:
%cQ=add nsw i32%b8,1
br label%dh
cR:
%cS=load i8*,i8**@_SMLZ4Size,align 8
store i8*%cS,i8**%b,align 8
%cT=call i8*@sml_alloc(i32 inreg 20)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177296,i32*%cV,align 4
store i8*%cT,i8**%c,align 8
%cW=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@T,i64 0,i32 2,i64 0),i8**%cZ,align 8
%c0=getelementptr inbounds i8,i8*%cT,i64 16
%c1=bitcast i8*%c0 to i32*
store i32 3,i32*%c1,align 4
%c2=call i8*@sml_alloc(i32 inreg 60)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177336,i32*%c4,align 4
%c5=getelementptr inbounds i8,i8*%c2,i64 56
%c6=bitcast i8*%c5 to i32*
store i32 1,i32*%c6,align 4
%c7=load i8*,i8**%c,align 8
%c8=bitcast i8*%c2 to i8**
store i8*%c7,i8**%c8,align 8
call void@sml_raise(i8*inreg%c2)#1
unreachable
c9:
%da=call i8*@sml_alloc(i32 inreg 60)#0
%db=getelementptr inbounds i8,i8*%da,i64 -4
%dc=bitcast i8*%db to i32*
store i32 1342177336,i32*%dc,align 4
%dd=getelementptr inbounds i8,i8*%da,i64 56
%de=bitcast i8*%dd to i32*
store i32 1,i32*%de,align 4
%df=load i8*,i8**%b,align 8
%dg=bitcast i8*%da to i8**
store i8*%df,i8**%dg,align 8
call void@sml_raise(i8*inreg%da)#1
unreachable
dh:
%di=phi i32[%cQ,%cP],[0,%b7]
%dj=select i1%s,i32 2,i32 1
%dk=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%dj,i32%di)#0
%dl=extractvalue{i32,i1}%dk,1
br i1%dl,label%dm,label%dy
dm:
store i8*null,i8**%c,align 8
%dn=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%dn,i8**%b,align 8
%do=call i8*@sml_alloc(i32 inreg 20)#0
%dp=getelementptr inbounds i8,i8*%do,i64 -4
%dq=bitcast i8*%dp to i32*
store i32 1342177296,i32*%dq,align 4
%dr=load i8*,i8**%b,align 8
%ds=bitcast i8*%do to i8**
store i8*%dr,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%do,i64 8
%du=bitcast i8*%dt to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@U,i64 0,i32 2,i64 0),i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%do,i64 16
%dw=bitcast i8*%dv to i32*
store i32 3,i32*%dw,align 4
store i8*%do,i8**%b,align 8
%dx=icmp eq i8*%dr,%dn
br i1%dx,label%dB,label%dT
dy:
%dz=add nsw i32%di,%dj
%dA=icmp ugt i32%dz,268435454
br i1%dA,label%er,label%d1
dB:
%dC=load i8*,i8**@_SMLZ4Size,align 8
store i8*%dC,i8**%b,align 8
%dD=call i8*@sml_alloc(i32 inreg 20)#0
%dE=getelementptr inbounds i8,i8*%dD,i64 -4
%dF=bitcast i8*%dE to i32*
store i32 1342177296,i32*%dF,align 4
store i8*%dD,i8**%c,align 8
%dG=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dH=bitcast i8*%dD to i8**
store i8*%dG,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dD,i64 8
%dJ=bitcast i8*%dI to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@V,i64 0,i32 2,i64 0),i8**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%dD,i64 16
%dL=bitcast i8*%dK to i32*
store i32 3,i32*%dL,align 4
%dM=call i8*@sml_alloc(i32 inreg 60)#0
%dN=getelementptr inbounds i8,i8*%dM,i64 -4
%dO=bitcast i8*%dN to i32*
store i32 1342177336,i32*%dO,align 4
%dP=getelementptr inbounds i8,i8*%dM,i64 56
%dQ=bitcast i8*%dP to i32*
store i32 1,i32*%dQ,align 4
%dR=load i8*,i8**%c,align 8
%dS=bitcast i8*%dM to i8**
store i8*%dR,i8**%dS,align 8
call void@sml_raise(i8*inreg%dM)#1
unreachable
dT:
%dU=call i8*@sml_alloc(i32 inreg 60)#0
%dV=getelementptr inbounds i8,i8*%dU,i64 -4
%dW=bitcast i8*%dV to i32*
store i32 1342177336,i32*%dW,align 4
%dX=getelementptr inbounds i8,i8*%dU,i64 56
%dY=bitcast i8*%dX to i32*
store i32 1,i32*%dY,align 4
%dZ=load i8*,i8**%b,align 8
%d0=bitcast i8*%dU to i8**
store i8*%dZ,i8**%d0,align 8
call void@sml_raise(i8*inreg%dU)#1
unreachable
d1:
%d2=add nsw i32%dz,1
%d3=call i8*@sml_alloc(i32 inreg%d2)#0
%d4=getelementptr inbounds i8,i8*%d3,i64 -4
%d5=bitcast i8*%d4 to i32*
store i32%d2,i32*%d5,align 4
%d6=sext i32%dz to i64
%d7=getelementptr inbounds i8,i8*%d3,i64%d6
store i8 0,i8*%d7,align 1
store i8*%d3,i8**%b,align 8
%d8=call i8*@sml_alloc(i32 inreg 20)#0
%d9=getelementptr inbounds i8,i8*%d8,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 1342177296,i32*%ea,align 4
%eb=getelementptr inbounds i8,i8*%d8,i64 12
%ec=bitcast i8*%eb to i32*
store i32 0,i32*%ec,align 1
%ed=load i8*,i8**%b,align 8
%ee=bitcast i8*%d8 to i8**
store i8*%ed,i8**%ee,align 8
%ef=getelementptr inbounds i8,i8*%d8,i64 8
%eg=bitcast i8*%ef to i32*
store i32%l,i32*%eg,align 4
%eh=getelementptr inbounds i8,i8*%d8,i64 16
%ei=bitcast i8*%eh to i32*
store i32 1,i32*%ei,align 4
%ej=icmp eq i32%l,0
br i1%ej,label%em,label%ek
ek:
store i8 126,i8*%ed,align 1
%el=load i8*,i8**%b,align 8
br label%em
em:
%en=phi i8*[%ed,%d1],[%el,%ek]
%eo=zext i1%s to i64
%ep=getelementptr inbounds i8,i8*%en,i64%eo
store i8 48,i8*%ep,align 1
%eq=icmp slt i32%di,1
br i1%eq,label%fl,label%eJ
er:
store i8*null,i8**%c,align 8
%es=load i8*,i8**@_SMLZ4Size,align 8
store i8*%es,i8**%b,align 8
%et=call i8*@sml_alloc(i32 inreg 20)#0
%eu=getelementptr inbounds i8,i8*%et,i64 -4
%ev=bitcast i8*%eu to i32*
store i32 1342177296,i32*%ev,align 4
store i8*%et,i8**%c,align 8
%ew=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@W,i64 0,i32 2,i64 0),i8**%ez,align 8
%eA=getelementptr inbounds i8,i8*%et,i64 16
%eB=bitcast i8*%eA to i32*
store i32 3,i32*%eB,align 4
%eC=call i8*@sml_alloc(i32 inreg 60)#0
%eD=getelementptr inbounds i8,i8*%eC,i64 -4
%eE=bitcast i8*%eD to i32*
store i32 1342177336,i32*%eE,align 4
%eF=getelementptr inbounds i8,i8*%eC,i64 56
%eG=bitcast i8*%eF to i32*
store i32 1,i32*%eG,align 4
%eH=load i8*,i8**%c,align 8
%eI=bitcast i8*%eC to i8**
store i8*%eH,i8**%eI,align 8
call void@sml_raise(i8*inreg%eC)#1
unreachable
eJ:
%eK=load i8*,i8**%b,align 8
%eL=zext i32%dj to i64
%eM=getelementptr inbounds i8,i8*%eK,i64%eL
store i8 46,i8*%eM,align 1
%eN=select i1%s,i32 3,i32 2
%eO=sub i32%eN,%o
%eP=call i8*@sml_alloc(i32 inreg 20)#0
%eQ=getelementptr inbounds i8,i8*%eP,i64 -4
%eR=bitcast i8*%eQ to i32*
store i32 1342177296,i32*%eR,align 4
%eS=load i8*,i8**%b,align 8
%eT=bitcast i8*%eP to i8**
store i8*%eS,i8**%eT,align 8
%eU=getelementptr inbounds i8,i8*%eP,i64 8
%eV=bitcast i8*%eU to i32*
store i32%eN,i32*%eV,align 4
%eW=getelementptr inbounds i8,i8*%eP,i64 12
%eX=bitcast i8*%eW to i32*
store i32%eO,i32*%eX,align 4
%eY=getelementptr inbounds i8,i8*%eP,i64 16
%eZ=bitcast i8*%eY to i32*
store i32 1,i32*%eZ,align 4
call fastcc void@_SMLLN6Real648fillZeroE_286(i8*inreg%eP)
%e0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e1=getelementptr inbounds i8,i8*%e0,i64 8
%e2=bitcast i8*%e1 to i8**
%e3=load i8*,i8**%e2,align 8
%e4=load i8*,i8**%b,align 8
%e5=sext i32%eO to i64
%e6=getelementptr inbounds i8,i8*%e4,i64%e5
call void@llvm.memmove.p0i8.p0i8.i32(i8*%e6,i8*%e3,i32%A,i1 false)
%e7=icmp slt i32%bS,1
br i1%e7,label%fl,label%e8
e8:
%e9=add nsw i32%A,%eO
%fa=call i8*@sml_alloc(i32 inreg 20)#0
%fb=getelementptr inbounds i8,i8*%fa,i64 -4
%fc=bitcast i8*%fb to i32*
store i32 1342177296,i32*%fc,align 4
%fd=load i8*,i8**%b,align 8
%fe=bitcast i8*%fa to i8**
store i8*%fd,i8**%fe,align 8
%ff=getelementptr inbounds i8,i8*%fa,i64 8
%fg=bitcast i8*%ff to i32*
store i32%e9,i32*%fg,align 4
%fh=getelementptr inbounds i8,i8*%fa,i64 12
%fi=bitcast i8*%fh to i32*
store i32%dz,i32*%fi,align 4
%fj=getelementptr inbounds i8,i8*%fa,i64 16
%fk=bitcast i8*%fj to i32*
store i32 1,i32*%fk,align 4
call fastcc void@_SMLLN6Real648fillZeroE_286(i8*inreg%fa)
br label%fl
fl:
%fm=load i8*,i8**%b,align 8
ret i8*%fm
fn:
%fo=icmp sgt i32%A,%o
br i1%fo,label%i0,label%fp
fp:
%fq=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%o,i32%A)#0
%fr=extractvalue{i32,i1}%fq,1
br i1%fr,label%fs,label%fE
fs:
store i8*null,i8**%c,align 8
%ft=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%ft,i8**%b,align 8
%fu=call i8*@sml_alloc(i32 inreg 20)#0
%fv=getelementptr inbounds i8,i8*%fu,i64 -4
%fw=bitcast i8*%fv to i32*
store i32 1342177296,i32*%fw,align 4
%fx=load i8*,i8**%b,align 8
%fy=bitcast i8*%fu to i8**
store i8*%fx,i8**%fy,align 8
%fz=getelementptr inbounds i8,i8*%fu,i64 8
%fA=bitcast i8*%fz to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@C,i64 0,i32 2,i64 0),i8**%fA,align 8
%fB=getelementptr inbounds i8,i8*%fu,i64 16
%fC=bitcast i8*%fB to i32*
store i32 3,i32*%fC,align 4
store i8*%fu,i8**%b,align 8
%fD=icmp eq i8*%fx,%ft
br i1%fD,label%fH,label%fZ
fE:
%fF=sub nsw i32%o,%A
%fG=icmp slt i32%r,1
br i1%fG,label%gO,label%f7
fH:
%fI=load i8*,i8**@_SMLZ4Size,align 8
store i8*%fI,i8**%b,align 8
%fJ=call i8*@sml_alloc(i32 inreg 20)#0
%fK=getelementptr inbounds i8,i8*%fJ,i64 -4
%fL=bitcast i8*%fK to i32*
store i32 1342177296,i32*%fL,align 4
store i8*%fJ,i8**%c,align 8
%fM=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fN=bitcast i8*%fJ to i8**
store i8*%fM,i8**%fN,align 8
%fO=getelementptr inbounds i8,i8*%fJ,i64 8
%fP=bitcast i8*%fO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@D,i64 0,i32 2,i64 0),i8**%fP,align 8
%fQ=getelementptr inbounds i8,i8*%fJ,i64 16
%fR=bitcast i8*%fQ to i32*
store i32 3,i32*%fR,align 4
%fS=call i8*@sml_alloc(i32 inreg 60)#0
%fT=getelementptr inbounds i8,i8*%fS,i64 -4
%fU=bitcast i8*%fT to i32*
store i32 1342177336,i32*%fU,align 4
%fV=getelementptr inbounds i8,i8*%fS,i64 56
%fW=bitcast i8*%fV to i32*
store i32 1,i32*%fW,align 4
%fX=load i8*,i8**%c,align 8
%fY=bitcast i8*%fS to i8**
store i8*%fX,i8**%fY,align 8
call void@sml_raise(i8*inreg%fS)#1
unreachable
fZ:
%f0=call i8*@sml_alloc(i32 inreg 60)#0
%f1=getelementptr inbounds i8,i8*%f0,i64 -4
%f2=bitcast i8*%f1 to i32*
store i32 1342177336,i32*%f2,align 4
%f3=getelementptr inbounds i8,i8*%f0,i64 56
%f4=bitcast i8*%f3 to i32*
store i32 1,i32*%f4,align 4
%f5=load i8*,i8**%b,align 8
%f6=bitcast i8*%f0 to i8**
store i8*%f5,i8**%f6,align 8
call void@sml_raise(i8*inreg%f0)#1
unreachable
f7:
%f8=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%r,i32 1)#0
%f9=extractvalue{i32,i1}%f8,1
br i1%f9,label%ga,label%gm
ga:
store i8*null,i8**%c,align 8
%gb=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%gb,i8**%b,align 8
%gc=call i8*@sml_alloc(i32 inreg 20)#0
%gd=getelementptr inbounds i8,i8*%gc,i64 -4
%ge=bitcast i8*%gd to i32*
store i32 1342177296,i32*%ge,align 4
%gf=load i8*,i8**%b,align 8
%gg=bitcast i8*%gc to i8**
store i8*%gf,i8**%gg,align 8
%gh=getelementptr inbounds i8,i8*%gc,i64 8
%gi=bitcast i8*%gh to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@E,i64 0,i32 2,i64 0),i8**%gi,align 8
%gj=getelementptr inbounds i8,i8*%gc,i64 16
%gk=bitcast i8*%gj to i32*
store i32 3,i32*%gk,align 4
store i8*%gc,i8**%b,align 8
%gl=icmp eq i8*%gf,%gb
br i1%gl,label%go,label%gG
gm:
%gn=add nsw i32%r,1
br label%gO
go:
%gp=load i8*,i8**@_SMLZ4Size,align 8
store i8*%gp,i8**%b,align 8
%gq=call i8*@sml_alloc(i32 inreg 20)#0
%gr=getelementptr inbounds i8,i8*%gq,i64 -4
%gs=bitcast i8*%gr to i32*
store i32 1342177296,i32*%gs,align 4
store i8*%gq,i8**%c,align 8
%gt=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gu=bitcast i8*%gq to i8**
store i8*%gt,i8**%gu,align 8
%gv=getelementptr inbounds i8,i8*%gq,i64 8
%gw=bitcast i8*%gv to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@F,i64 0,i32 2,i64 0),i8**%gw,align 8
%gx=getelementptr inbounds i8,i8*%gq,i64 16
%gy=bitcast i8*%gx to i32*
store i32 3,i32*%gy,align 4
%gz=call i8*@sml_alloc(i32 inreg 60)#0
%gA=getelementptr inbounds i8,i8*%gz,i64 -4
%gB=bitcast i8*%gA to i32*
store i32 1342177336,i32*%gB,align 4
%gC=getelementptr inbounds i8,i8*%gz,i64 56
%gD=bitcast i8*%gC to i32*
store i32 1,i32*%gD,align 4
%gE=load i8*,i8**%c,align 8
%gF=bitcast i8*%gz to i8**
store i8*%gE,i8**%gF,align 8
call void@sml_raise(i8*inreg%gz)#1
unreachable
gG:
%gH=call i8*@sml_alloc(i32 inreg 60)#0
%gI=getelementptr inbounds i8,i8*%gH,i64 -4
%gJ=bitcast i8*%gI to i32*
store i32 1342177336,i32*%gJ,align 4
%gK=getelementptr inbounds i8,i8*%gH,i64 56
%gL=bitcast i8*%gK to i32*
store i32 1,i32*%gL,align 4
%gM=load i8*,i8**%b,align 8
%gN=bitcast i8*%gH to i8**
store i8*%gM,i8**%gN,align 8
call void@sml_raise(i8*inreg%gH)#1
unreachable
gO:
%gP=phi i32[%gn,%gm],[0,%fE]
%gQ=add nsw i32%A,%t
%gR=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%gQ,i32%fF)#0
%gS=extractvalue{i32,i1}%gR,1
br i1%gS,label%gT,label%gY
gT:
store i8*null,i8**%c,align 8
%gU=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%gU,i8**%b,align 8
%gV=call i8*@sml_alloc(i32 inreg 20)#0
%gW=getelementptr inbounds i8,i8*%gV,i64 -4
%gX=bitcast i8*%gW to i32*
store i32 1342177296,i32*%gX,align 4
br label%ha
gY:
%gZ=add i32%o,%t
%g0=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%gZ,i32%gP)#0
%g1=extractvalue{i32,i1}%g0,1
br i1%g1,label%g2,label%g7
g2:
store i8*null,i8**%c,align 8
%g3=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%g3,i8**%b,align 8
%g4=call i8*@sml_alloc(i32 inreg 20)#0
%g5=getelementptr inbounds i8,i8*%g4,i64 -4
%g6=bitcast i8*%g5 to i32*
store i32 1342177296,i32*%g6,align 4
br label%ha
g7:
%g8=add nsw i32%gP,%gZ
%g9=icmp ugt i32%g8,268435454
br i1%g9,label%iq,label%hL
ha:
%hb=phi i8*[%g4,%g2],[%gV,%gT]
%hc=phi i8*[getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@H,i64 0,i32 2,i64 0),%g2],[getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@G,i64 0,i32 2,i64 0),%gT]
%hd=phi i8*[%g3,%g2],[%gU,%gT]
%he=load i8*,i8**%b,align 8
%hf=bitcast i8*%hb to i8**
store i8*%he,i8**%hf,align 8
%hg=getelementptr inbounds i8,i8*%hb,i64 8
%hh=bitcast i8*%hg to i8**
store i8*%hc,i8**%hh,align 8
%hi=getelementptr inbounds i8,i8*%hb,i64 16
%hj=bitcast i8*%hi to i32*
store i32 3,i32*%hj,align 4
store i8*%hb,i8**%b,align 8
%hk=icmp eq i8*%he,%hd
br i1%hk,label%hl,label%hD
hl:
%hm=load i8*,i8**@_SMLZ4Size,align 8
store i8*%hm,i8**%b,align 8
%hn=call i8*@sml_alloc(i32 inreg 20)#0
%ho=getelementptr inbounds i8,i8*%hn,i64 -4
%hp=bitcast i8*%ho to i32*
store i32 1342177296,i32*%hp,align 4
store i8*%hn,i8**%c,align 8
%hq=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%hr=bitcast i8*%hn to i8**
store i8*%hq,i8**%hr,align 8
%hs=getelementptr inbounds i8,i8*%hn,i64 8
%ht=bitcast i8*%hs to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@I,i64 0,i32 2,i64 0),i8**%ht,align 8
%hu=getelementptr inbounds i8,i8*%hn,i64 16
%hv=bitcast i8*%hu to i32*
store i32 3,i32*%hv,align 4
%hw=call i8*@sml_alloc(i32 inreg 60)#0
%hx=getelementptr inbounds i8,i8*%hw,i64 -4
%hy=bitcast i8*%hx to i32*
store i32 1342177336,i32*%hy,align 4
%hz=getelementptr inbounds i8,i8*%hw,i64 56
%hA=bitcast i8*%hz to i32*
store i32 1,i32*%hA,align 4
%hB=load i8*,i8**%c,align 8
%hC=bitcast i8*%hw to i8**
store i8*%hB,i8**%hC,align 8
call void@sml_raise(i8*inreg%hw)#1
unreachable
hD:
%hE=call i8*@sml_alloc(i32 inreg 60)#0
%hF=getelementptr inbounds i8,i8*%hE,i64 -4
%hG=bitcast i8*%hF to i32*
store i32 1342177336,i32*%hG,align 4
%hH=getelementptr inbounds i8,i8*%hE,i64 56
%hI=bitcast i8*%hH to i32*
store i32 1,i32*%hI,align 4
%hJ=load i8*,i8**%b,align 8
%hK=bitcast i8*%hE to i8**
store i8*%hJ,i8**%hK,align 8
call void@sml_raise(i8*inreg%hE)#1
unreachable
hL:
%hM=add nsw i32%g8,1
%hN=call i8*@sml_alloc(i32 inreg%hM)#0
%hO=getelementptr inbounds i8,i8*%hN,i64 -4
%hP=bitcast i8*%hO to i32*
store i32%hM,i32*%hP,align 4
%hQ=sext i32%g8 to i64
%hR=getelementptr inbounds i8,i8*%hN,i64%hQ
store i8 0,i8*%hR,align 1
store i8*%hN,i8**%b,align 8
%hS=call i8*@sml_alloc(i32 inreg 20)#0
%hT=getelementptr inbounds i8,i8*%hS,i64 -4
%hU=bitcast i8*%hT to i32*
store i32 1342177296,i32*%hU,align 4
%hV=getelementptr inbounds i8,i8*%hS,i64 12
%hW=bitcast i8*%hV to i32*
store i32 0,i32*%hW,align 1
%hX=load i8*,i8**%b,align 8
%hY=bitcast i8*%hS to i8**
store i8*%hX,i8**%hY,align 8
%hZ=getelementptr inbounds i8,i8*%hS,i64 8
%h0=bitcast i8*%hZ to i32*
store i32%l,i32*%h0,align 4
%h1=getelementptr inbounds i8,i8*%hS,i64 16
%h2=bitcast i8*%h1 to i32*
store i32 1,i32*%h2,align 4
%h3=icmp eq i32%l,0
br i1%h3,label%h6,label%h4
h4:
store i8 126,i8*%hX,align 1
%h5=load i8*,i8**%b,align 8
br label%h6
h6:
%h7=phi i8*[%hX,%hL],[%h5,%h4]
%h8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%h9=getelementptr inbounds i8,i8*%h8,i64 8
%ia=bitcast i8*%h9 to i8**
%ib=load i8*,i8**%ia,align 8
%ic=zext i1%s to i64
%id=getelementptr inbounds i8,i8*%h7,i64%ic
call void@llvm.memmove.p0i8.p0i8.i32(i8*%id,i8*%ib,i32%A,i1 false)
%ie=call i8*@sml_alloc(i32 inreg 20)#0
%if=getelementptr inbounds i8,i8*%ie,i64 -4
%ig=bitcast i8*%if to i32*
store i32 1342177296,i32*%ig,align 4
%ih=load i8*,i8**%b,align 8
%ii=bitcast i8*%ie to i8**
store i8*%ih,i8**%ii,align 8
%ij=getelementptr inbounds i8,i8*%ie,i64 8
%ik=bitcast i8*%ij to i32*
store i32%gQ,i32*%ik,align 4
%il=getelementptr inbounds i8,i8*%ie,i64 12
%im=bitcast i8*%il to i32*
store i32%gZ,i32*%im,align 4
%in=getelementptr inbounds i8,i8*%ie,i64 16
%io=bitcast i8*%in to i32*
store i32 1,i32*%io,align 4
call fastcc void@_SMLLN6Real648fillZeroE_286(i8*inreg%ie)
%ip=icmp slt i32%gP,1
br i1%ip,label%iY,label%iI
iq:
store i8*null,i8**%c,align 8
%ir=load i8*,i8**@_SMLZ4Size,align 8
store i8*%ir,i8**%b,align 8
%is=call i8*@sml_alloc(i32 inreg 20)#0
%it=getelementptr inbounds i8,i8*%is,i64 -4
%iu=bitcast i8*%it to i32*
store i32 1342177296,i32*%iu,align 4
store i8*%is,i8**%c,align 8
%iv=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@J,i64 0,i32 2,i64 0),i8**%iy,align 8
%iz=getelementptr inbounds i8,i8*%is,i64 16
%iA=bitcast i8*%iz to i32*
store i32 3,i32*%iA,align 4
%iB=call i8*@sml_alloc(i32 inreg 60)#0
%iC=getelementptr inbounds i8,i8*%iB,i64 -4
%iD=bitcast i8*%iC to i32*
store i32 1342177336,i32*%iD,align 4
%iE=getelementptr inbounds i8,i8*%iB,i64 56
%iF=bitcast i8*%iE to i32*
store i32 1,i32*%iF,align 4
%iG=load i8*,i8**%c,align 8
%iH=bitcast i8*%iB to i8**
store i8*%iG,i8**%iH,align 8
call void@sml_raise(i8*inreg%iB)#1
unreachable
iI:
%iJ=load i8*,i8**%b,align 8
%iK=sext i32%gZ to i64
%iL=getelementptr inbounds i8,i8*%iJ,i64%iK
store i8 46,i8*%iL,align 1
%iM=add nsw i32%gZ,1
%iN=call i8*@sml_alloc(i32 inreg 20)#0
%iO=getelementptr inbounds i8,i8*%iN,i64 -4
%iP=bitcast i8*%iO to i32*
store i32 1342177296,i32*%iP,align 4
%iQ=load i8*,i8**%b,align 8
%iR=bitcast i8*%iN to i8**
store i8*%iQ,i8**%iR,align 8
%iS=getelementptr inbounds i8,i8*%iN,i64 8
%iT=bitcast i8*%iS to i32*
store i32%iM,i32*%iT,align 4
%iU=getelementptr inbounds i8,i8*%iN,i64 12
%iV=bitcast i8*%iU to i32*
store i32%g8,i32*%iV,align 4
%iW=getelementptr inbounds i8,i8*%iN,i64 16
%iX=bitcast i8*%iW to i32*
store i32 1,i32*%iX,align 4
call fastcc void@_SMLLN6Real648fillZeroE_286(i8*inreg%iN)
br label%iY
iY:
%iZ=load i8*,i8**%b,align 8
ret i8*%iZ
i0:
%i1=sub nsw i32%A,%o
%i2=icmp sgt i32%r,%i1
br i1%i2,label%i3,label%jK
i3:
%i4=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%r,i32%i1)#0
%i5=extractvalue{i32,i1}%i4,1
br i1%i5,label%i6,label%ji
i6:
store i8*null,i8**%c,align 8
%i7=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%i7,i8**%b,align 8
%i8=call i8*@sml_alloc(i32 inreg 20)#0
%i9=getelementptr inbounds i8,i8*%i8,i64 -4
%ja=bitcast i8*%i9 to i32*
store i32 1342177296,i32*%ja,align 4
%jb=load i8*,i8**%b,align 8
%jc=bitcast i8*%i8 to i8**
store i8*%jb,i8**%jc,align 8
%jd=getelementptr inbounds i8,i8*%i8,i64 8
%je=bitcast i8*%jd to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@x,i64 0,i32 2,i64 0),i8**%je,align 8
%jf=getelementptr inbounds i8,i8*%i8,i64 16
%jg=bitcast i8*%jf to i32*
store i32 3,i32*%jg,align 4
store i8*%i8,i8**%b,align 8
%jh=icmp eq i8*%jb,%i7
br i1%jh,label%jk,label%jC
ji:
%jj=sub nsw i32%r,%i1
br label%jK
jk:
%jl=load i8*,i8**@_SMLZ4Size,align 8
store i8*%jl,i8**%b,align 8
%jm=call i8*@sml_alloc(i32 inreg 20)#0
%jn=getelementptr inbounds i8,i8*%jm,i64 -4
%jo=bitcast i8*%jn to i32*
store i32 1342177296,i32*%jo,align 4
store i8*%jm,i8**%c,align 8
%jp=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%jq=bitcast i8*%jm to i8**
store i8*%jp,i8**%jq,align 8
%jr=getelementptr inbounds i8,i8*%jm,i64 8
%js=bitcast i8*%jr to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@y,i64 0,i32 2,i64 0),i8**%js,align 8
%jt=getelementptr inbounds i8,i8*%jm,i64 16
%ju=bitcast i8*%jt to i32*
store i32 3,i32*%ju,align 4
%jv=call i8*@sml_alloc(i32 inreg 60)#0
%jw=getelementptr inbounds i8,i8*%jv,i64 -4
%jx=bitcast i8*%jw to i32*
store i32 1342177336,i32*%jx,align 4
%jy=getelementptr inbounds i8,i8*%jv,i64 56
%jz=bitcast i8*%jy to i32*
store i32 1,i32*%jz,align 4
%jA=load i8*,i8**%c,align 8
%jB=bitcast i8*%jv to i8**
store i8*%jA,i8**%jB,align 8
call void@sml_raise(i8*inreg%jv)#1
unreachable
jC:
%jD=call i8*@sml_alloc(i32 inreg 60)#0
%jE=getelementptr inbounds i8,i8*%jD,i64 -4
%jF=bitcast i8*%jE to i32*
store i32 1342177336,i32*%jF,align 4
%jG=getelementptr inbounds i8,i8*%jD,i64 56
%jH=bitcast i8*%jG to i32*
store i32 1,i32*%jH,align 4
%jI=load i8*,i8**%b,align 8
%jJ=bitcast i8*%jD to i8**
store i8*%jI,i8**%jJ,align 8
call void@sml_raise(i8*inreg%jD)#1
unreachable
jK:
%jL=phi i32[%jj,%ji],[0,%i0]
%jM=add nuw nsw i32%z,%t
%jN=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%jM,i32%jL)#0
%jO=extractvalue{i32,i1}%jN,1
br i1%jO,label%jP,label%j1
jP:
store i8*null,i8**%c,align 8
%jQ=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%jQ,i8**%b,align 8
%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
%jU=load i8*,i8**%b,align 8
%jV=bitcast i8*%jR to i8**
store i8*%jU,i8**%jV,align 8
%jW=getelementptr inbounds i8,i8*%jR,i64 8
%jX=bitcast i8*%jW to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@z,i64 0,i32 2,i64 0),i8**%jX,align 8
%jY=getelementptr inbounds i8,i8*%jR,i64 16
%jZ=bitcast i8*%jY to i32*
store i32 3,i32*%jZ,align 4
store i8*%jR,i8**%b,align 8
%j0=icmp eq i8*%jU,%jQ
br i1%j0,label%j4,label%km
j1:
%j2=add nsw i32%jL,%jM
%j3=icmp ugt i32%j2,268435454
br i1%j3,label%lc,label%ku
j4:
%j5=load i8*,i8**@_SMLZ4Size,align 8
store i8*%j5,i8**%b,align 8
%j6=call i8*@sml_alloc(i32 inreg 20)#0
%j7=getelementptr inbounds i8,i8*%j6,i64 -4
%j8=bitcast i8*%j7 to i32*
store i32 1342177296,i32*%j8,align 4
store i8*%j6,i8**%c,align 8
%j9=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ka=bitcast i8*%j6 to i8**
store i8*%j9,i8**%ka,align 8
%kb=getelementptr inbounds i8,i8*%j6,i64 8
%kc=bitcast i8*%kb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@A,i64 0,i32 2,i64 0),i8**%kc,align 8
%kd=getelementptr inbounds i8,i8*%j6,i64 16
%ke=bitcast i8*%kd to i32*
store i32 3,i32*%ke,align 4
%kf=call i8*@sml_alloc(i32 inreg 60)#0
%kg=getelementptr inbounds i8,i8*%kf,i64 -4
%kh=bitcast i8*%kg to i32*
store i32 1342177336,i32*%kh,align 4
%ki=getelementptr inbounds i8,i8*%kf,i64 56
%kj=bitcast i8*%ki to i32*
store i32 1,i32*%kj,align 4
%kk=load i8*,i8**%c,align 8
%kl=bitcast i8*%kf to i8**
store i8*%kk,i8**%kl,align 8
call void@sml_raise(i8*inreg%kf)#1
unreachable
km:
%kn=call i8*@sml_alloc(i32 inreg 60)#0
%ko=getelementptr inbounds i8,i8*%kn,i64 -4
%kp=bitcast i8*%ko to i32*
store i32 1342177336,i32*%kp,align 4
%kq=getelementptr inbounds i8,i8*%kn,i64 56
%kr=bitcast i8*%kq to i32*
store i32 1,i32*%kr,align 4
%ks=load i8*,i8**%b,align 8
%kt=bitcast i8*%kn to i8**
store i8*%ks,i8**%kt,align 8
call void@sml_raise(i8*inreg%kn)#1
unreachable
ku:
%kv=add nsw i32%j2,1
%kw=call i8*@sml_alloc(i32 inreg%kv)#0
%kx=getelementptr inbounds i8,i8*%kw,i64 -4
%ky=bitcast i8*%kx to i32*
store i32%kv,i32*%ky,align 4
%kz=sext i32%j2 to i64
%kA=getelementptr inbounds i8,i8*%kw,i64%kz
store i8 0,i8*%kA,align 1
store i8*%kw,i8**%b,align 8
%kB=call i8*@sml_alloc(i32 inreg 20)#0
%kC=getelementptr inbounds i8,i8*%kB,i64 -4
%kD=bitcast i8*%kC to i32*
store i32 1342177296,i32*%kD,align 4
%kE=getelementptr inbounds i8,i8*%kB,i64 12
%kF=bitcast i8*%kE to i32*
store i32 0,i32*%kF,align 1
%kG=load i8*,i8**%b,align 8
%kH=bitcast i8*%kB to i8**
store i8*%kG,i8**%kH,align 8
%kI=getelementptr inbounds i8,i8*%kB,i64 8
%kJ=bitcast i8*%kI to i32*
store i32%l,i32*%kJ,align 4
%kK=getelementptr inbounds i8,i8*%kB,i64 16
%kL=bitcast i8*%kK to i32*
store i32 1,i32*%kL,align 4
%kM=icmp eq i32%l,0
br i1%kM,label%kP,label%kN
kN:
store i8 126,i8*%kG,align 1
%kO=load i8*,i8**%b,align 8
br label%kP
kP:
%kQ=phi i8*[%kG,%ku],[%kO,%kN]
%kR=load i8*,i8**%c,align 8
%kS=getelementptr inbounds i8,i8*%kR,i64 8
%kT=bitcast i8*%kS to i8**
%kU=load i8*,i8**%kT,align 8
%kV=zext i1%s to i64
%kW=getelementptr inbounds i8,i8*%kQ,i64%kV
call void@llvm.memmove.p0i8.p0i8.i32(i8*%kW,i8*%kU,i32%o,i1 false)
%kX=add nsw i32%o,%t
%kY=load i8*,i8**%b,align 8
%kZ=sext i32%kX to i64
%k0=getelementptr inbounds i8,i8*%kY,i64%kZ
store i8 46,i8*%k0,align 1
%k1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k2=getelementptr inbounds i8,i8*%k1,i64 8
%k3=bitcast i8*%k2 to i8**
%k4=load i8*,i8**%k3,align 8
%k5=add nsw i32%kX,1
%k6=load i8*,i8**%b,align 8
%k7=sext i32%k5 to i64
%k8=getelementptr inbounds i8,i8*%k6,i64%k7
%k9=sext i32%o to i64
%la=getelementptr inbounds i8,i8*%k4,i64%k9
call void@llvm.memmove.p0i8.p0i8.i32(i8*%k8,i8*%la,i32%i1,i1 false)
%lb=icmp slt i32%jL,1
br i1%lb,label%lG,label%lu
lc:
store i8*null,i8**%c,align 8
%ld=load i8*,i8**@_SMLZ4Size,align 8
store i8*%ld,i8**%b,align 8
%le=call i8*@sml_alloc(i32 inreg 20)#0
%lf=getelementptr inbounds i8,i8*%le,i64 -4
%lg=bitcast i8*%lf to i32*
store i32 1342177296,i32*%lg,align 4
store i8*%le,i8**%c,align 8
%lh=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@B,i64 0,i32 2,i64 0),i8**%lk,align 8
%ll=getelementptr inbounds i8,i8*%le,i64 16
%lm=bitcast i8*%ll to i32*
store i32 3,i32*%lm,align 4
%ln=call i8*@sml_alloc(i32 inreg 60)#0
%lo=getelementptr inbounds i8,i8*%ln,i64 -4
%lp=bitcast i8*%lo to i32*
store i32 1342177336,i32*%lp,align 4
%lq=getelementptr inbounds i8,i8*%ln,i64 56
%lr=bitcast i8*%lq to i32*
store i32 1,i32*%lr,align 4
%ls=load i8*,i8**%c,align 8
%lt=bitcast i8*%ln to i8**
store i8*%ls,i8**%lt,align 8
call void@sml_raise(i8*inreg%ln)#1
unreachable
lu:
%lv=call i8*@sml_alloc(i32 inreg 20)#0
%lw=getelementptr inbounds i8,i8*%lv,i64 -4
%lx=bitcast i8*%lw to i32*
store i32 1342177296,i32*%lx,align 4
%ly=load i8*,i8**%b,align 8
%lz=bitcast i8*%lv to i8**
store i8*%ly,i8**%lz,align 8
%lA=getelementptr inbounds i8,i8*%lv,i64 8
%lB=bitcast i8*%lA to i32*
store i32%jM,i32*%lB,align 4
%lC=getelementptr inbounds i8,i8*%lv,i64 12
%lD=bitcast i8*%lC to i32*
store i32%j2,i32*%lD,align 4
%lE=getelementptr inbounds i8,i8*%lv,i64 16
%lF=bitcast i8*%lE to i32*
store i32 1,i32*%lF,align 4
call fastcc void@_SMLLN6Real648fillZeroE_286(i8*inreg%lv)
br label%lG
lG:
%lH=load i8*,i8**%b,align 8
ret i8*%lH
}
define internal fastcc i8*@_SMLL4loop_322(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
f:
%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
br label%d
d:
%e=phi i8*[%ar,%ap],[%a,%f]
store i8*%e,i8**%b,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**%b,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%e,%d]
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%l,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=getelementptr inbounds i8,i8*%l,i64 16
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=icmp eq i32%n,0
br i1%u,label%v,label%H
v:
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 12
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 1
%B=load i8*,i8**%b,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 8
%E=bitcast i8*%D to i32*
store i32%t,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
ret i8*%w
H:
%I=srem i32%n,10
%J=sdiv i32%n,10
%K=trunc i32%I to i8
%L=sub i8 48,%K
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
store i8*%M,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%M,i64 1
call void@llvm.memset.p0i8.i32(i8*%P,i8 0,i32 7,i1 false)
store i8%L,i8*%M,align 1
%Q=load i8*,i8**%b,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 16
%U=bitcast i8*%T to i32*
store i32 2,i32*%U,align 4
%V=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%t,i32 1)#0
%W=extractvalue{i32,i1}%V,1
br i1%W,label%X,label%ap
X:
store i8*null,i8**%c,align 8
%Y=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%Y,i8**%b,align 8
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
store i8*%Z,i8**%c,align 8
%ac=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@X,i64 0,i32 2,i64 0),i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to i32*
store i32 3,i32*%ah,align 4
%ai=call i8*@sml_alloc(i32 inreg 60)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177336,i32*%ak,align 4
%al=getelementptr inbounds i8,i8*%ai,i64 56
%am=bitcast i8*%al to i32*
store i32 1,i32*%am,align 4
%an=load i8*,i8**%c,align 8
%ao=bitcast i8*%ai to i8**
store i8*%an,i8**%ao,align 8
call void@sml_raise(i8*inreg%ai)#1
unreachable
ap:
%aq=add nsw i32%t,1
%ar=call i8*@sml_alloc(i32 inreg 28)#0
%as=bitcast i8*%ar to i32*
%at=getelementptr inbounds i8,i8*%ar,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177304,i32*%au,align 4
%av=getelementptr inbounds i8,i8*%ar,i64 4
call void@llvm.memset.p0i8.i32(i8*%av,i8 0,i32 20,i1 false)
store i32%J,i32*%as,align 4
%aw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ar,i64 16
%aA=bitcast i8*%az to i32*
store i32%aq,i32*%aA,align 4
%aB=getelementptr inbounds i8,i8*%ar,i64 24
%aC=bitcast i8*%aB to i32*
store i32 2,i32*%aC,align 4
br label%d
}
define internal fastcc i8*@_SMLLN6Real6410intToCharsE_329(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i32*
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i32**
%k=load i32*,i32**%j,align 8
br label%l
l:
%m=phi i32*[%k,%i],[%h,%g]
%n=load i32,i32*%m,align 4
%o=icmp eq i32%n,0
br i1%o,label%p,label%W
p:
store i8*null,i8**%d,align 8
%q=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%b,i32 1)#0
%r=extractvalue{i32,i1}%q,1
br i1%r,label%s,label%K
s:
%t=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
store i8*%u,i8**%d,align 8
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@Z,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=add nsw i32%b,1
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%M,i64 12
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 1
%R=bitcast i8*%M to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,i8,[7x i8],i8*,i32}>,<{[4x i8],i32,i8,[7x i8],i8*,i32}>*@aa,i64 0,i32 2),i8**%R,align 8
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i32*
store i32%L,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i32*
store i32 1,i32*%V,align 4
ret i8*%M
W:
%X=icmp slt i32%n,1
br i1%X,label%az,label%Y
Y:
store i8*null,i8**%d,align 8
%Z=load i32,i32*%m,align 4
%aa=sub nsw i32 0,%Z
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=bitcast i8*%ab to i32*
%ad=getelementptr inbounds i8,i8*%ab,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177304,i32*%ae,align 4
%af=getelementptr inbounds i8,i8*%ab,i64 4
call void@llvm.memset.p0i8.i32(i8*%af,i8 0,i32 20,i1 false)
store i32%aa,i32*%ac,align 4
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to i8**
store i8*null,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to i32*
store i32%b,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ab,i64 24
%al=bitcast i8*%ak to i32*
store i32 2,i32*%al,align 4
store i8*null,i8**%c,align 8
%am=call i8*@sml_alloc(i32 inreg 28)#0
%an=bitcast i8*%am to i32*
%ao=getelementptr inbounds i8,i8*%am,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177304,i32*%ap,align 4
%aq=getelementptr inbounds i8,i8*%am,i64 4
call void@llvm.memset.p0i8.i32(i8*%aq,i8 0,i32 20,i1 false)
store i32%aa,i32*%an,align 4
%ar=load i8*,i8**%c,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32%b,i32*%av,align 4
%aw=getelementptr inbounds i8,i8*%am,i64 24
%ax=bitcast i8*%aw to i32*
store i32 2,i32*%ax,align 4
%ay=tail call fastcc i8*@_SMLL4loop_322(i8*inreg%am)
ret i8*%ay
az:
%aA=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%b,i32 1)#0
%aB=extractvalue{i32,i1}%aA,1
br i1%aB,label%aC,label%aU
aC:
store i8*null,i8**%d,align 8
%aD=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aD,i8**%c,align 8
%aE=call i8*@sml_alloc(i32 inreg 20)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177296,i32*%aG,align 4
store i8*%aE,i8**%d,align 8
%aH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aI=bitcast i8*%aE to i8**
store i8*%aH,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aE,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@Y,i64 0,i32 2,i64 0),i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aE,i64 16
%aM=bitcast i8*%aL to i32*
store i32 3,i32*%aM,align 4
%aN=call i8*@sml_alloc(i32 inreg 60)#0
%aO=getelementptr inbounds i8,i8*%aN,i64 -4
%aP=bitcast i8*%aO to i32*
store i32 1342177336,i32*%aP,align 4
%aQ=getelementptr inbounds i8,i8*%aN,i64 56
%aR=bitcast i8*%aQ to i32*
store i32 1,i32*%aR,align 4
%aS=load i8*,i8**%d,align 8
%aT=bitcast i8*%aN to i8**
store i8*%aS,i8**%aT,align 8
call void@sml_raise(i8*inreg%aN)#1
unreachable
aU:
%aV=add nsw i32%b,1
%aW=call i8*@sml_alloc(i32 inreg 28)#0
%aX=bitcast i8*%aW to i32*
%aY=getelementptr inbounds i8,i8*%aW,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177304,i32*%aZ,align 4
%a0=getelementptr inbounds i8,i8*%aW,i64 4
call void@llvm.memset.p0i8.i32(i8*%a0,i8 0,i32 20,i1 false)
store i32%n,i32*%aX,align 4
%a1=getelementptr inbounds i8,i8*%aW,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*null,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aW,i64 16
%a4=bitcast i8*%a3 to i32*
store i32%aV,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%aW,i64 24
%a6=bitcast i8*%a5 to i32*
store i32 2,i32*%a6,align 4
store i8*null,i8**%c,align 8
%a7=call i8*@sml_alloc(i32 inreg 28)#0
%a8=bitcast i8*%a7 to i32*
%a9=getelementptr inbounds i8,i8*%a7,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177304,i32*%ba,align 4
%bb=getelementptr inbounds i8,i8*%a7,i64 4
call void@llvm.memset.p0i8.i32(i8*%bb,i8 0,i32 20,i1 false)
store i32%n,i32*%a8,align 4
%bc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bd=getelementptr inbounds i8,i8*%a7,i64 8
%be=bitcast i8*%bd to i8**
store i8*%bc,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%a7,i64 16
%bg=bitcast i8*%bf to i32*
store i32%aV,i32*%bg,align 4
%bh=getelementptr inbounds i8,i8*%a7,i64 24
%bi=bitcast i8*%bh to i32*
store i32 2,i32*%bi,align 4
%bj=call fastcc i8*@_SMLL4loop_322(i8*inreg%a7)
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%c,align 8
%bm=getelementptr inbounds i8,i8*%bj,i64 8
%bn=bitcast i8*%bm to i32*
%bo=load i32,i32*%bn,align 4
%bp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bq=getelementptr inbounds i8,i8*%bp,i64 4
%br=load i8,i8*%bq,align 1
%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
store i8*%bs,i8**%d,align 8
%bv=getelementptr inbounds i8,i8*%bs,i64 1
call void@llvm.memset.p0i8.i32(i8*%bv,i8 0,i32 7,i1 false)
store i8%br,i8*%bs,align 1
%bw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bx=getelementptr inbounds i8,i8*%bs,i64 8
%by=bitcast i8*%bx to i8**
store i8*%bw,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%bs,i64 16
%bA=bitcast i8*%bz to i32*
store i32 2,i32*%bA,align 4
%bB=call i8*@sml_alloc(i32 inreg 20)#0
%bC=getelementptr inbounds i8,i8*%bB,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=getelementptr inbounds i8,i8*%bB,i64 12
%bF=bitcast i8*%bE to i32*
store i32 0,i32*%bF,align 1
%bG=load i8*,i8**%d,align 8
%bH=bitcast i8*%bB to i8**
store i8*%bG,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bB,i64 8
%bJ=bitcast i8*%bI to i32*
store i32%bo,i32*%bJ,align 4
%bK=getelementptr inbounds i8,i8*%bB,i64 16
%bL=bitcast i8*%bK to i32*
store i32 1,i32*%bL,align 4
ret i8*%bB
}
define internal fastcc i8*@_SMLLN6Real6410intToCharsE_330(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=load i8,i8*%a,align 1
%e=call i8*@sml_alloc(i32 inreg 12)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177288,i32*%h,align 4
store i8*%e,i8**%c,align 8
store i32%b,i32*%f,align 4
%i=getelementptr inbounds i8,i8*%e,i64 4
store i8%d,i8*%i,align 1
%j=getelementptr inbounds i8,i8*%e,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,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 void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN6Real6410intToCharsE_329 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6410intToCharsE_493 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLLN6Real6414appendExponentE_338(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%e,align 8
br label%l
l:
%m=phi i8*[%a,%n],[%k,%j]
store i8*null,i8**%e,align 8
store i8*%m,i8**%g,align 8
%o=bitcast i8*%m to i32**
%p=load i32*,i32**%o,align 8
%q=getelementptr inbounds i32,i32*%p,i64 -1
%r=load i32,i32*%q,align 4
%s=and i32%r,268435455
%t=add nsw i32%s,-1
%u=getelementptr inbounds i8,i8*%m,i64 8
%v=load i8,i8*%u,align 1
%w=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
call void@llvm.gcroot(i8**%d,i8*null)#0
%x=call i8*@sml_alloc(i32 inreg 12)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177288,i32*%z,align 4
store i8*%x,i8**%d,align 8
store i8%v,i8*%x,align 1
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%d,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN6Real6410intToCharsE_330 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real6410intToCharsE_494 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
store i8*%F,i8**%e,align 8
%N=load i8*,i8**%g,align 8
%O=getelementptr inbounds i8,i8*%N,i64 12
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=call i8*@sml_alloc(i32 inreg 4)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 4,i32*%U,align 4
store i32%Q,i32*%S,align 4
%V=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%W=call fastcc i8*@_SMLLN6Real6410intToCharsE_330(i8*inreg%V,i32 inreg%Q)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%e,align 8
%ac=call i8*@sml_alloc(i32 inreg 4)#0
%ad=bitcast i8*%ac to i32*
%ae=getelementptr inbounds i8,i8*%ac,i64 -4
%af=bitcast i8*%ae to i32*
store i32 4,i32*%af,align 4
store i32%s,i32*%ad,align 4
%ag=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ah=invoke fastcc i8*%Z(i8*inreg%ag,i8*inreg%ac)
to label%aR unwind label%ai
ai:
%aj=landingpad{i8*,i8*}
catch i8*null
%ak=extractvalue{i8*,i8*}%aj,1
%al=bitcast i8*%ak to i8***
%am=load i8**,i8***%al,align 8
store i8*null,i8**%g,align 8
%an=bitcast i8**%e to i8***
store i8**%am,i8***%an,align 8
%ao=load i8*,i8**%am,align 8
%ap=load i8*,i8**@_SMLZ8Overflow,align 8
%aq=icmp eq i8*%ao,%ap
br i1%aq,label%ar,label%aJ
ar:
%as=load i8*,i8**@_SMLZ4Size,align 8
store i8*%as,i8**%e,align 8
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177296,i32*%av,align 4
store i8*%at,i8**%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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@ab,i64 0,i32 2,i64 0),i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 16
%aB=bitcast i8*%aA to i32*
store i32 3,i32*%aB,align 4
%aC=call i8*@sml_alloc(i32 inreg 60)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177336,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%aC,i64 56
%aG=bitcast i8*%aF to i32*
store i32 1,i32*%aG,align 4
%aH=load i8*,i8**%f,align 8
%aI=bitcast i8*%aC to i8**
store i8*%aH,i8**%aI,align 8
call void@sml_raise(i8*inreg%aC)#1
unreachable
aJ:
%aK=call i8*@sml_alloc(i32 inreg 60)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177336,i32*%aM,align 4
%aN=getelementptr inbounds i8,i8*%aK,i64 56
%aO=bitcast i8*%aN to i32*
store i32 1,i32*%aO,align 4
%aP=load i8*,i8**%e,align 8
%aQ=bitcast i8*%aK to i8**
store i8*%aP,i8**%aQ,align 8
call void@sml_raise(i8*inreg%aK)#1
unreachable
aR:
%aS=bitcast i8*%ah to i8**
%aT=load i8*,i8**%aS,align 8
store i8*%aT,i8**%e,align 8
%aU=getelementptr inbounds i8,i8*%ah,i64 8
%aV=bitcast i8*%aU to i32*
%aW=load i32,i32*%aV,align 4
%aX=icmp ugt i32%aW,268435454
br i1%aX,label%b5,label%aY
aY:
%aZ=add nsw i32%aW,1
%a0=call i8*@sml_alloc(i32 inreg%aZ)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32%aZ,i32*%a2,align 4
%a3=sext i32%aW to i64
%a4=getelementptr inbounds i8,i8*%a0,i64%a3
store i8 0,i8*%a4,align 1
store i8*%a0,i8**%f,align 8
%a5=bitcast i8**%g to i8***
%a6=load i8**,i8***%a5,align 8
store i8*null,i8**%g,align 8
%a7=load i8*,i8**%a6,align 8
call void@llvm.memmove.p0i8.p0i8.i32(i8*%a0,i8*%a7,i32%t,i1 false)
%a8=sext i32%t to i64
%a9=getelementptr inbounds i8,i8*%a0,i64%a8
store i8 69,i8*%a9,align 1
%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
%bd=getelementptr inbounds i8,i8*%ba,i64 12
%be=bitcast i8*%bd to i32*
store i32 0,i32*%be,align 1
%bf=load i8*,i8**%f,align 8
%bg=bitcast i8*%ba to i8**
store i8*%bf,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 8
%bi=bitcast i8*%bh to i32*
store i32%s,i32*%bi,align 4
%bj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bk=getelementptr inbounds i8,i8*%ba,i64 16
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%ba,i64 24
%bn=bitcast i8*%bm to i32*
store i32 5,i32*%bn,align 4
%bo=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bo)
%bp=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bp)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
br label%bq
bq:
%br=phi i8*[%bP,%bH],[%ba,%aY]
store i8*%br,i8**%b,align 8
%bs=load atomic i32,i32*@sml_check_flag unordered,align 4
%bt=icmp eq i32%bs,0
br i1%bt,label%bw,label%bu
bu:
call void@sml_check(i32 inreg%bs)
%bv=load i8*,i8**%b,align 8
br label%bw
bw:
%bx=phi i8*[%bv,%bu],[%br,%bq]
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
store i8*%bz,i8**%b,align 8
%bA=getelementptr inbounds i8,i8*%bx,i64 8
%bB=bitcast i8*%bA to i32*
%bC=load i32,i32*%bB,align 4
%bD=getelementptr inbounds i8,i8*%bx,i64 16
%bE=bitcast i8*%bD to i8**
%bF=load i8*,i8**%bE,align 8
%bG=icmp eq i8*%bF,null
br i1%bG,label%b3,label%bH
bH:
%bI=load i8,i8*%bF,align 1
%bJ=getelementptr inbounds i8,i8*%bF,i64 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%c,align 8
%bM=sext i32%bC to i64
%bN=getelementptr inbounds i8,i8*%bz,i64%bM
store i8%bI,i8*%bN,align 1
%bO=add nsw i32%bC,1
%bP=call i8*@sml_alloc(i32 inreg 28)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177304,i32*%bR,align 4
%bS=getelementptr inbounds i8,i8*%bP,i64 12
%bT=bitcast i8*%bS to i32*
store i32 0,i32*%bT,align 1
%bU=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bV=bitcast i8*%bP to i8**
store i8*%bU,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bP,i64 8
%bX=bitcast i8*%bW to i32*
store i32%bO,i32*%bX,align 4
%bY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bZ=getelementptr inbounds i8,i8*%bP,i64 16
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bP,i64 24
%b2=bitcast i8*%b1 to i32*
store i32 5,i32*%b2,align 4
br label%bq
b3:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bo)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bp)
%b4=load i8*,i8**%f,align 8
ret i8*%b4
b5:
store i8*null,i8**%g,align 8
%b6=load i8*,i8**@_SMLZ4Size,align 8
store i8*%b6,i8**%e,align 8
%b7=call i8*@sml_alloc(i32 inreg 20)#0
%b8=getelementptr inbounds i8,i8*%b7,i64 -4
%b9=bitcast i8*%b8 to i32*
store i32 1342177296,i32*%b9,align 4
store i8*%b7,i8**%f,align 8
%ca=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@ac,i64 0,i32 2,i64 0),i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b7,i64 16
%cf=bitcast i8*%ce to i32*
store i32 3,i32*%cf,align 4
%cg=call i8*@sml_alloc(i32 inreg 60)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177336,i32*%ci,align 4
%cj=getelementptr inbounds i8,i8*%cg,i64 56
%ck=bitcast i8*%cj to i32*
store i32 1,i32*%ck,align 4
%cl=load i8*,i8**%f,align 8
%cm=bitcast i8*%cg to i8**
store i8*%cl,i8**%cm,align 8
call void@sml_raise(i8*inreg%cg)#1
unreachable
}
define internal fastcc i8*@_SMLLN6Real646fmtFIXE_340(i8*inreg%a,i64 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%a to i32*
%i=bitcast i8**%d to i32**
br label%m
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%d to i32**
%l=load i32*,i32**%k,align 8
br label%m
m:
%n=phi i32**[%i,%g],[%k,%j]
%o=phi i32*[%h,%g],[%l,%j]
%p=load i32,i32*%o,align 4
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=bitcast i8*%q to i32*
%s=getelementptr inbounds i8,i8*%q,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i32 3,i32*%r,align 4
%u=getelementptr inbounds i8,i8*%q,i64 4
%v=bitcast i8*%u to i32*
store i32%p,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i64*
store i64%b,i64*%x,align 4
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 0,i32*%z,align 4
%A=call fastcc i8*@_SMLLN6Real644dtoaE_279(i8*inreg%q)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
%E=bitcast i8*%A to i32*
%F=load i32,i32*%E,align 4
%G=getelementptr inbounds i8,i8*%A,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%c,align 8
%J=load i32*,i32**%n,align 8
store i8*null,i8**%d,align 8
%K=load i32,i32*%J,align 4
%L=call i8*@sml_alloc(i32 inreg 28)#0
%M=bitcast i8*%L to i32*
%N=getelementptr inbounds i8,i8*%L,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177304,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%L,i64 20
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 1
store i32%D,i32*%M,align 4
%R=getelementptr inbounds i8,i8*%L,i64 4
%S=bitcast i8*%R to i32*
store i32%F,i32*%S,align 4
%T=load i8*,i8**%c,align 8
%U=getelementptr inbounds i8,i8*%L,i64 8
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%L,i64 16
%X=bitcast i8*%W to i32*
store i32%K,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%L,i64 24
%Z=bitcast i8*%Y to i32*
store i32 2,i32*%Z,align 4
%aa=tail call fastcc i8*@_SMLLN6Real6416insertSignAndDotE_320(i8*inreg%L)
ret i8*%aa
}
define internal fastcc i8*@_SMLLN6Real646fmtFIXE_341(i32 inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i64)*@_SMLLN6Real646fmtFIXE_340 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real646fmtFIXE_498 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN6Real647fmtSCI_GE_343(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i8**
%k=load i8*,i8**%j,align 8
%l=bitcast i8*%k to i32*
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=load i8*,i8**%j,align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=getelementptr inbounds i8,i8*%h,i64 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=add nsw i32%m,-1
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=bitcast i8*%y to i32*
%A=getelementptr inbounds i8,i8*%y,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%y,i64 20
%D=bitcast i8*%C to i32*
store i32 0,i32*%D,align 1
store i32%t,i32*%z,align 4
%E=getelementptr inbounds i8,i8*%y,i64 4
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%H=getelementptr inbounds i8,i8*%y,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%y,i64 16
%K=bitcast i8*%J to i32*
store i32%w,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%y,i64 24
%M=bitcast i8*%L to i32*
store i32 2,i32*%M,align 4
%N=call fastcc i8*@_SMLLN6Real6416insertSignAndDotE_320(i8*inreg%y)
store i8*%N,i8**%b,align 8
%O=call i8*@sml_alloc(i32 inreg 20)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 9
call void@llvm.memset.p0i8.i32(i8*%R,i8 0,i32 3,i1 false)
%S=load i8*,i8**%b,align 8
%T=bitcast i8*%O to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%O,i64 8
store i8 126,i8*%U,align 1
%V=getelementptr inbounds i8,i8*%O,i64 12
%W=bitcast i8*%V to i32*
store i32%x,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%O,i64 16
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=tail call fastcc i8*@_SMLLN6Real6414appendExponentE_338(i8*inreg%O)
ret i8*%Z
}
define internal fastcc i8*@_SMLLN6Real646fmtSCIE_345(i8*inreg%a,i64 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%a to i32*
%i=bitcast i8**%d to i32**
br label%m
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%d to i32**
%l=load i32*,i32**%k,align 8
br label%m
m:
%n=phi i32**[%i,%g],[%k,%j]
%o=phi i32*[%h,%g],[%l,%j]
%p=load i32,i32*%o,align 4
%q=add nsw i32%p,1
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%r,i64 12
%v=bitcast i8*%u to i32*
store i32 0,i32*%v,align 1
%w=bitcast i8*%r to i64*
store i64%b,i64*%w,align 4
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i32*
store i32%q,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=bitcast i8*%B to i32*
%D=getelementptr inbounds i8,i8*%B,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
store i32 2,i32*%C,align 4
%F=getelementptr inbounds i8,i8*%B,i64 4
%G=bitcast i8*%F to i32*
store i32%q,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i64*
store i64%b,i64*%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 0,i32*%K,align 4
%L=call fastcc i8*@_SMLLN6Real644dtoaE_279(i8*inreg%B)
store i8*%L,i8**%c,align 8
%M=load i32*,i32**%n,align 8
store i8*null,i8**%d,align 8
%N=load i32,i32*%M,align 4
%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=getelementptr inbounds i8,i8*%O,i64 12
%S=bitcast i8*%R to i32*
store i32 0,i32*%S,align 1
%T=load i8*,i8**%c,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 8
%W=bitcast i8*%V to i32*
store i32%N,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%O,i64 16
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=tail call fastcc i8*@_SMLLN6Real647fmtSCI_GE_343(i8*inreg%O)
ret i8*%Z
}
define internal fastcc i8*@_SMLLN6Real646fmtSCIE_346(i32 inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i64)*@_SMLLN6Real646fmtSCIE_345 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real646fmtSCIE_501 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN6Real646fmtGENE_348(i8*inreg%a,i64 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%k
h:
%i=bitcast i8*%a to i32*
%j=bitcast i8**%e to i32**
br label%n
k:
call void@sml_check(i32 inreg%f)
%l=bitcast i8**%e to i32**
%m=load i32*,i32**%l,align 8
br label%n
n:
%o=phi i32**[%j,%h],[%l,%k]
%p=phi i32*[%i,%h],[%m,%k]
%q=load i32,i32*%p,align 4
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=bitcast i8*%r to i32*
%t=getelementptr inbounds i8,i8*%r,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
store i32 2,i32*%s,align 4
%v=getelementptr inbounds i8,i8*%r,i64 4
%w=bitcast i8*%v to i32*
store i32%q,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i64*
store i64%b,i64*%y,align 4
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 4
%B=call fastcc i8*@_SMLLN6Real644dtoaE_279(i8*inreg%r)
store i8*%B,i8**%d,align 8
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=bitcast i8*%B to i32*
%G=load i32,i32*%F,align 4
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%c,align 8
%K=icmp slt i32%G,-3
br i1%K,label%P,label%L
L:
%M=load i32*,i32**%o,align 8
store i8*null,i8**%e,align 8
%N=load i32,i32*%M,align 4
%O=icmp sgt i32%G,%N
br i1%O,label%ah,label%Q
P:
store i8*null,i8**%e,align 8
br label%ah
Q:
store i8*null,i8**%d,align 8
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%R,i64 20
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 1
store i32%E,i32*%S,align 4
%X=getelementptr inbounds i8,i8*%R,i64 4
%Y=bitcast i8*%X to i32*
store i32%G,i32*%Y,align 4
%Z=load i8*,i8**%c,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%R,i64 16
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%R,i64 24
%af=bitcast i8*%ae to i32*
store i32 2,i32*%af,align 4
%ag=tail call fastcc i8*@_SMLLN6Real6416insertSignAndDotE_320(i8*inreg%R)
ret i8*%ag
ah:
store i8*null,i8**%c,align 8
%ai=call i8*@sml_alloc(i32 inreg 20)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177296,i32*%ak,align 4
%al=getelementptr inbounds i8,i8*%ai,i64 12
%am=bitcast i8*%al to i32*
store i32 0,i32*%am,align 1
%an=load i8*,i8**%d,align 8
%ao=bitcast i8*%ai to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 8
%aq=bitcast i8*%ap to i32*
store i32 0,i32*%aq,align 4
%ar=getelementptr inbounds i8,i8*%ai,i64 16
%as=bitcast i8*%ar to i32*
store i32 1,i32*%as,align 4
%at=tail call fastcc i8*@_SMLLN6Real647fmtSCI_GE_343(i8*inreg%ai)
ret i8*%at
}
define internal fastcc i8*@_SMLLN6Real646fmtGENE_349(i32 inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i64)*@_SMLLN6Real646fmtGENE_348 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real646fmtGENE_503 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN6Real648fmtEXACTE_353(i64 inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call i8*@sml_alloc(i32 inreg 20)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i32 0,i32*%h,align 4
%k=getelementptr inbounds i8,i8*%g,i64 4
%l=bitcast i8*%k to i32*
store i32 0,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%g,i64 8
%n=bitcast i8*%m to i64*
store i64%a,i64*%n,align 4
%o=getelementptr inbounds i8,i8*%g,i64 16
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 4
%q=call fastcc i8*@_SMLLN6Real644dtoaE_279(i8*inreg%g)
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=icmp eq i32%s,1
%u=getelementptr inbounds i8,i8*%q,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
br i1%t,label%x,label%M
x:
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=and i32%A,268435455
%C=icmp eq i32%B,2
br i1%C,label%D,label%M
D:
%E=load i8,i8*%w,align 1
%F=icmp eq i8%E,48
br i1%F,label%G,label%M
G:
%H=getelementptr inbounds i8,i8*%q,i64 16
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
%K=icmp eq i32%J,0
%L=select i1%K,i8*getelementptr inbounds(<{[4x i8],i32,[4x i8]}>,<{[4x i8],i32,[4x i8]}>*@ad,i64 0,i32 2,i64 0),i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@ae,i64 0,i32 2,i64 0)
ret i8*%L
M:
%N=getelementptr inbounds i8,i8*%q,i64 16
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
store i8*%w,i8**%b,align 8
%Q=call i8*@sml_alloc(i32 inreg 28)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%Q,i64 20
%V=bitcast i8*%U to i32*
store i32 0,i32*%V,align 1
store i32%P,i32*%R,align 4
%W=getelementptr inbounds i8,i8*%Q,i64 4
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 4
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=getelementptr inbounds i8,i8*%Q,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%Q,i64 16
%ac=bitcast i8*%ab to i32*
store i32 0,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%Q,i64 24
%ae=bitcast i8*%ad to i32*
store i32 2,i32*%ae,align 4
%af=call fastcc i8*@_SMLLN6Real6416insertSignAndDotE_320(i8*inreg%Q)
store i8*%af,i8**%b,align 8
%ag=icmp eq i32%s,0
br i1%ag,label%ah,label%ai
ah:
ret i8*%af
ai:
%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=getelementptr inbounds i8,i8*%aj,i64 9
call void@llvm.memset.p0i8.i32(i8*%am,i8 0,i32 3,i1 false)
%an=load i8*,i8**%b,align 8
%ao=bitcast i8*%aj to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%aj,i64 8
store i8 126,i8*%ap,align 1
%aq=getelementptr inbounds i8,i8*%aj,i64 12
%ar=bitcast i8*%aq to i32*
store i32%s,i32*%ar,align 4
%as=getelementptr inbounds i8,i8*%aj,i64 16
%at=bitcast i8*%as to i32*
store i32 1,i32*%at,align 4
%au=tail call fastcc i8*@_SMLLN6Real6414appendExponentE_338(i8*inreg%aj)
ret i8*%au
}
define internal fastcc i8*@_SMLL4loop_355(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
i:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
%f=bitcast i8**%d to i8***
br label%g
g:
%h=phi i8*[%Q,%w],[%b,%i]
store i8*%h,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=getelementptr inbounds i8,i8*%o,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=icmp sgt i32%q,-1
br i1%u,label%w,label%v
v:
ret i8*%t
w:
%x=load i8**,i8***%f,align 8
%y=load i8*,i8**%x,align 8
%z=sext i32%q to i64
%A=getelementptr inbounds i8,i8*%y,i64%z
%B=load i8,i8*%A,align 1
%C=zext i8%B to i32
%D=add nsw i32%C,-48
%E=add nsw i32%q,-1
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
store i8*%F,i8**%e,align 8
%I=getelementptr inbounds i8,i8*%F,i64 4
%J=bitcast i8*%I to i32*
store i32 0,i32*%J,align 1
%K=bitcast i8*%F to i32*
store i32%D,i32*%K,align 4
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%F,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%F,i64 16
%P=bitcast i8*%O to i32*
store i32 2,i32*%P,align 4
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=bitcast i8*%Q to i32*
%S=getelementptr inbounds i8,i8*%Q,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177296,i32*%T,align 4
%U=getelementptr inbounds i8,i8*%Q,i64 4
%V=bitcast i8*%U to i32*
store i32 0,i32*%V,align 1
store i32%E,i32*%R,align 4
%W=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%Q,i64 16
%aa=bitcast i8*%Z to i32*
store i32 2,i32*%aa,align 4
br label%g
}
define internal fastcc i8*@_SMLL4loop_364(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
h:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=bitcast i8**%d to i8***
br label%f
f:
%g=phi i8*[%U,%M],[%b,%h]
store i8*%g,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%g,%f]
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
br i1%q,label%r,label%B
r:
%s=load i8**,i8***%e,align 8
store i8*null,i8**%d,align 8
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 12)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177288,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i32*
store i32 1,i32*%A,align 4
ret i8*%u
B:
%C=bitcast i8*%p to i32*
%D=load i32,i32*%C,align 4
%E=getelementptr inbounds i8,i8*%p,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%n,i64 8
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
%K=icmp ult i32%D,10
br i1%K,label%M,label%L
L:
ret i8*null
M:
%N=load i8**,i8***%e,align 8
%O=load i8*,i8**%N,align 8
%P=trunc i32%D to i8
%Q=add i8%P,48
%R=sext i32%J to i64
%S=getelementptr inbounds i8,i8*%O,i64%R
store i8%Q,i8*%S,align 1
%T=add nsw i32%J,1
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%U,i64 12
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 1
%Z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aa=bitcast i8*%U to i8**
store i8*%Z,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 8
%ac=bitcast i8*%ab to i32*
store i32%T,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i32*
store i32 1,i32*%ae,align 4
br label%f
}
define internal fastcc i8*@_SMLLN6Real643fmtE_374(i8*inreg%a,i64 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,align 8
%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__RealClass9classRealE(i64 inreg%b)
%i=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%h)
switch i32%i,label%j[
i32 1,label%C
i32 0,label%y
]
j:
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 8)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 8,i32*%u,align 4
%v=bitcast i8*%s to i64*
store i64%b,i64*%v,align 4
%w=load i8*,i8**%c,align 8
%x=tail call fastcc i8*%p(i8*inreg%w,i8*inreg%s)
ret i8*%x
y:
store i8*null,i8**%c,align 8
%z=call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%h)
%A=icmp eq i32%z,0
%B=select i1%A,i8*getelementptr inbounds(<{[4x i8],i32,[4x i8]}>,<{[4x i8],i32,[4x i8]}>*@ao,i64 0,i32 2,i64 0),i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@ap,i64 0,i32 2,i64 0)
br label%C
C:
%D=phi i8*[%B,%y],[getelementptr inbounds(<{[4x i8],i32,[4x i8]}>,<{[4x i8],i32,[4x i8]}>*@an,i64 0,i32 2,i64 0),%g]
ret i8*%D
}
define fastcc i8*@_SMLFN6Real643fmtE(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=icmp eq i8*%i,null
br i1%k,label%G,label%l
l:
%m=bitcast i8*%i to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 3,label%aP
i32 1,label%al
i32 2,label%H
i32 0,label%G
]
o:
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
store i8*%q,i8**%c,align 8
%t=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@am,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@af,i64 0,i32 2)to i8*),i8**%b,align 8
br label%bj
H:
%I=getelementptr inbounds i8,i8*%i,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=icmp eq i8*%K,null
br i1%L,label%ai,label%M
M:
%N=bitcast i8*%K to i32*
%O=load i32,i32*%N,align 4
%P=icmp sgt i32%O,0
br i1%P,label%ai,label%Q
Q:
%R=load i8*,i8**@_SMLZ4Size,align 8
store i8*%R,i8**%b,align 8
%S=call i8*@sml_alloc(i32 inreg 20)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177296,i32*%U,align 4
store i8*%S,i8**%c,align 8
%V=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%S,i64 8
%Y=bitcast i8*%X to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@al,i64 0,i32 2,i64 0),i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 60)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177336,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 56
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=load i8*,i8**%c,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
call void@sml_raise(i8*inreg%ab)#1
unreachable
ai:
%aj=phi i32[12,%H],[%O,%M]
%ak=call fastcc i8*@_SMLLN6Real646fmtGENE_349(i32 inreg%aj)
store i8*%ak,i8**%b,align 8
br label%bj
al:
%am=getelementptr inbounds i8,i8*%i,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
%ap=icmp eq i8*%ao,null
br i1%ap,label%aM,label%aq
aq:
%ar=bitcast i8*%ao to i32*
%as=load i32,i32*%ar,align 4
%at=icmp sgt i32%as,-1
br i1%at,label%aM,label%au
au:
%av=load i8*,i8**@_SMLZ4Size,align 8
store i8*%av,i8**%b,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
store i8*%aw,i8**%c,align 8
%az=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@ak,i64 0,i32 2,i64 0),i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to i32*
store i32 3,i32*%aE,align 4
%aF=call i8*@sml_alloc(i32 inreg 60)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177336,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 56
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
%aK=load i8*,i8**%c,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
call void@sml_raise(i8*inreg%aF)#1
unreachable
aM:
%aN=phi i32[6,%al],[%as,%aq]
%aO=call fastcc i8*@_SMLLN6Real646fmtFIXE_341(i32 inreg%aN)
store i8*%aO,i8**%b,align 8
br label%bj
aP:
%aQ=getelementptr inbounds i8,i8*%i,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
%aT=icmp eq i8*%aS,null
br i1%aT,label%bg,label%aU
aU:
%aV=bitcast i8*%aS to i32*
%aW=load i32,i32*%aV,align 4
%aX=icmp sgt i32%aW,-1
br i1%aX,label%bg,label%aY
aY:
%aZ=load i8*,i8**@_SMLZ4Size,align 8
store i8*%aZ,i8**%b,align 8
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
store i8*%a0,i8**%c,align 8
%a3=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@aj,i64 0,i32 2,i64 0),i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a0,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
%a9=call i8*@sml_alloc(i32 inreg 60)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177336,i32*%bb,align 4
%bc=getelementptr inbounds i8,i8*%a9,i64 56
%bd=bitcast i8*%bc to i32*
store i32 1,i32*%bd,align 4
%be=load i8*,i8**%c,align 8
%bf=bitcast i8*%a9 to i8**
store i8*%be,i8**%bf,align 8
call void@sml_raise(i8*inreg%a9)#1
unreachable
bg:
%bh=phi i32[6,%aP],[%aW,%aU]
%bi=call fastcc i8*@_SMLLN6Real646fmtSCIE_346(i32 inreg%bh)
store i8*%bi,i8**%b,align 8
br label%bj
bj:
%bk=call i8*@sml_alloc(i32 inreg 12)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177288,i32*%bm,align 4
store i8*%bk,i8**%c,align 8
%bn=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to i32*
store i32 1,i32*%bq,align 4
%br=call i8*@sml_alloc(i32 inreg 28)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177304,i32*%bt,align 4
%bu=load i8*,i8**%c,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%br,i64 8
%bx=bitcast i8*%bw to void(...)**
store void(...)*bitcast(i8*(i8*,i64)*@_SMLLN6Real643fmtE_374 to void(...)*),void(...)**%bx,align 8
%by=getelementptr inbounds i8,i8*%br,i64 16
%bz=bitcast i8*%by to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real643fmtE_509 to void(...)*),void(...)**%bz,align 8
%bA=getelementptr inbounds i8,i8*%br,i64 24
%bB=bitcast i8*%bA to i32*
store i32 -2147483647,i32*%bB,align 4
ret i8*%br
}
define fastcc i8*@_SMLFN6Real649toDecimalE(i64 inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)
%j=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%i)
switch i32%j,label%k[
i32 1,label%bL
i32 0,label%bp
i32 4,label%aU
]
k:
%l=call i8*@sml_alloc(i32 inreg 20)#0
%m=bitcast i8*%l to i32*
%n=getelementptr inbounds i8,i8*%l,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177296,i32*%o,align 4
store i32 0,i32*%m,align 4
%p=getelementptr inbounds i8,i8*%l,i64 4
%q=bitcast i8*%p to i32*
store i32 0,i32*%q,align 4
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i64*
store i64%a,i64*%s,align 4
%t=getelementptr inbounds i8,i8*%l,i64 16
%u=bitcast i8*%t to i32*
store i32 0,i32*%u,align 4
%v=call fastcc i8*@_SMLLN6Real644dtoaE_279(i8*inreg%l)
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%v,i64 16
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%E)
%F=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%F)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%D,i8**%b,align 8
%G=load atomic i32,i32*@sml_check_flag unordered,align 4
%H=icmp eq i32%G,0
br i1%H,label%J,label%I
I:
call void@sml_check(i32 inreg%G)
br label%J
J:
%K=call i8*@sml_alloc(i32 inreg 12)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177288,i32*%M,align 4
store i8*%K,i8**%c,align 8
%N=load i8*,i8**%b,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 i32*
store i32 1,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
%U=load i8*,i8**%c,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4loop_355 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4loop_355 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 -2147483647,i32*%ab,align 4
%ac=bitcast i8**%b to i32**
%ad=load i32*,i32**%ac,align 8
store i8*null,i8**%b,align 8
%ae=getelementptr inbounds i32,i32*%ad,i64 -1
%af=load i32,i32*%ae,align 4
%ag=and i32%af,268435455
%ah=add nsw i32%ag,-2
%ai=call i8*@sml_alloc(i32 inreg 20)#0
%aj=bitcast i8*%ai to i32*
%ak=getelementptr inbounds i8,i8*%ai,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
%am=getelementptr inbounds i8,i8*%ai,i64 4
%an=bitcast i8*%am to i32*
store i32 0,i32*%an,align 1
store i32%ah,i32*%aj,align 4
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*null,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ai,i64 16
%ar=bitcast i8*%aq to i32*
store i32 2,i32*%ar,align 4
store i8*null,i8**%b,align 8
%as=call i8*@sml_alloc(i32 inreg 20)#0
%at=bitcast i8*%as to i32*
%au=getelementptr inbounds i8,i8*%as,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177296,i32*%av,align 4
%aw=getelementptr inbounds i8,i8*%as,i64 4
%ax=bitcast i8*%aw to i32*
store i32 0,i32*%ax,align 1
store i32%ah,i32*%at,align 4
%ay=load i8*,i8**%b,align 8
%az=getelementptr inbounds i8,i8*%as,i64 8
%aA=bitcast i8*%az to i8**
store i8*%ay,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%as,i64 16
%aC=bitcast i8*%aB to i32*
store i32 2,i32*%aC,align 4
%aD=load i8*,i8**%c,align 8
%aE=call fastcc i8*@_SMLL4loop_355(i8*inreg%aD,i8*inreg%as)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%E)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%F)
store i8*%aE,i8**%d,align 8
%aF=call i8*@sml_alloc(i32 inreg 28)#0
%aG=bitcast i8*%aF to i32*
%aH=getelementptr inbounds i8,i8*%aF,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aF,i64 4
%aK=bitcast i8*%aJ to i32*
store i32 0,i32*%aK,align 1
store i32%j,i32*%aG,align 4
%aL=load i8*,i8**%d,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aF,i64 16
%aP=bitcast i8*%aO to i32*
store i32%x,i32*%aP,align 4
%aQ=getelementptr inbounds i8,i8*%aF,i64 20
%aR=bitcast i8*%aQ to i32*
store i32%A,i32*%aR,align 4
%aS=getelementptr inbounds i8,i8*%aF,i64 24
%aT=bitcast i8*%aS to i32*
store i32 2,i32*%aT,align 4
ret i8*%aF
aU:
%aV=call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%i)
%aW=call i8*@sml_alloc(i32 inreg 28)#0
%aX=bitcast i8*%aW to i32*
%aY=getelementptr inbounds i8,i8*%aW,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177304,i32*%aZ,align 4
%a0=getelementptr inbounds i8,i8*%aW,i64 4
%a1=bitcast i8*%a0 to i32*
store i32 0,i32*%a1,align 1
store i32 4,i32*%aX,align 4
%a2=getelementptr inbounds i8,i8*%aW,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*null,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aW,i64 16
%a5=bitcast i8*%a4 to i32*
store i32 0,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%aW,i64 20
%a7=bitcast i8*%a6 to i32*
store i32%aV,i32*%a7,align 4
%a8=getelementptr inbounds i8,i8*%aW,i64 24
%a9=bitcast i8*%a8 to i32*
store i32 2,i32*%a9,align 4
store i8*null,i8**%d,align 8
%ba=call i8*@sml_alloc(i32 inreg 28)#0
%bb=bitcast i8*%ba to i32*
%bc=getelementptr inbounds i8,i8*%ba,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177304,i32*%bd,align 4
%be=getelementptr inbounds i8,i8*%ba,i64 4
%bf=bitcast i8*%be to i32*
store i32 0,i32*%bf,align 1
store i32 4,i32*%bb,align 4
%bg=load i8*,i8**%d,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%ba,i64 16
%bk=bitcast i8*%bj to i32*
store i32 0,i32*%bk,align 4
%bl=getelementptr inbounds i8,i8*%ba,i64 20
%bm=bitcast i8*%bl to i32*
store i32%aV,i32*%bm,align 4
%bn=getelementptr inbounds i8,i8*%ba,i64 24
%bo=bitcast i8*%bn to i32*
store i32 2,i32*%bo,align 4
ret i8*%ba
bp:
%bq=call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%i)
%br=call i8*@sml_alloc(i32 inreg 28)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177304,i32*%bt,align 4
%bu=getelementptr inbounds i8,i8*%br,i64 20
%bv=bitcast i8*%bu to i32*
call void@llvm.memset.p0i8.i64(i8*%br,i8 0,i64 20,i1 false)
store i32%bq,i32*%bv,align 4
%bw=getelementptr inbounds i8,i8*%br,i64 24
%bx=bitcast i8*%bw to i32*
store i32 2,i32*%bx,align 4
store i8*null,i8**%d,align 8
%by=call i8*@sml_alloc(i32 inreg 28)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177304,i32*%bA,align 4
%bB=bitcast i8*%by to i64*
store i64 0,i64*%bB,align 4
%bC=load i8*,i8**%d,align 8
%bD=getelementptr inbounds i8,i8*%by,i64 8
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 16
%bG=bitcast i8*%bF to i32*
store i32 0,i32*%bG,align 4
%bH=getelementptr inbounds i8,i8*%by,i64 20
%bI=bitcast i8*%bH to i32*
store i32%bq,i32*%bI,align 4
%bJ=getelementptr inbounds i8,i8*%by,i64 24
%bK=bitcast i8*%bJ to i32*
store i32 2,i32*%bK,align 4
ret i8*%by
bL:
%bM=call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%i)
%bN=call i8*@sml_alloc(i32 inreg 28)#0
%bO=bitcast i8*%bN to i32*
%bP=getelementptr inbounds i8,i8*%bN,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177304,i32*%bQ,align 4
%bR=getelementptr inbounds i8,i8*%bN,i64 4
%bS=bitcast i8*%bR to i32*
store i32 0,i32*%bS,align 1
store i32 1,i32*%bO,align 4
%bT=getelementptr inbounds i8,i8*%bN,i64 8
%bU=bitcast i8*%bT to i8**
store i8*null,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bN,i64 16
%bW=bitcast i8*%bV to i32*
store i32 0,i32*%bW,align 4
%bX=getelementptr inbounds i8,i8*%bN,i64 20
%bY=bitcast i8*%bX to i32*
store i32%bM,i32*%bY,align 4
%bZ=getelementptr inbounds i8,i8*%bN,i64 24
%b0=bitcast i8*%bZ to i32*
store i32 2,i32*%b0,align 4
store i8*null,i8**%d,align 8
%b1=call i8*@sml_alloc(i32 inreg 28)#0
%b2=bitcast i8*%b1 to i32*
%b3=getelementptr inbounds i8,i8*%b1,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177304,i32*%b4,align 4
%b5=getelementptr inbounds i8,i8*%b1,i64 4
%b6=bitcast i8*%b5 to i32*
store i32 0,i32*%b6,align 1
store i32 1,i32*%b2,align 4
%b7=load i8*,i8**%d,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 16
%cb=bitcast i8*%ca to i32*
store i32 0,i32*%cb,align 4
%cc=getelementptr inbounds i8,i8*%b1,i64 20
%cd=bitcast i8*%cc to i32*
store i32%bM,i32*%cd,align 4
%ce=getelementptr inbounds i8,i8*%b1,i64 24
%cf=bitcast i8*%ce to i32*
store i32 2,i32*%cf,align 4
ret i8*%b1
}
define fastcc i8*@_SMLFN6Real6411fromDecimalE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
p:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%i,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%i,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%i,align 8
%t=getelementptr inbounds i8,i8*%o,i64 16
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=getelementptr inbounds i8,i8*%o,i64 20
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=bitcast i8*%o to i32*
%A=load i32,i32*%z,align 4
switch i32%A,label%B[
i32 1,label%dW
i32 0,label%dN
i32 4,label%dE
]
B:
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=bitcast i8*%C to i32*
%E=getelementptr inbounds i8,i8*%C,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%C,i64 4
%H=bitcast i8*%G to i32*
store i32 0,i32*%H,align 1
store i32%y,i32*%D,align 4
%I=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%J=getelementptr inbounds i8,i8*%C,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i32*
store i32 2,i32*%M,align 4
%N=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%N)
%O=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%O)
%P=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%P)
%Q=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%C,i8**%e,align 8
%R=load atomic i32,i32*@sml_check_flag unordered,align 4
%S=icmp eq i32%R,0
br i1%S,label%Y,label%T
T:
call void@sml_check(i32 inreg%R)
%U=load i8*,i8**%e,align 8
%V=getelementptr inbounds i8,i8*%U,i64 8
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
br label%Y
Y:
%Z=phi i8*[%X,%T],[%I,%B]
%aa=phi i8*[%U,%T],[%C,%B]
store i8*null,i8**%e,align 8
store i8*%aa,i8**%f,align 8
store i8*%Z,i8**%g,align 8
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 12
%af=bitcast i8*%ae to i32*
store i32 0,i32*%af,align 1
%ag=load i8*,i8**%g,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 8
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ab,i64 16
%al=bitcast i8*%ak to i32*
store i32 1,i32*%al,align 4
%am=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%am)
%an=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%an)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
br label%ao
ao:
%ap=phi i8*[%a4,%a2],[%ab,%Y]
store i8*%ap,i8**%c,align 8
%aq=load atomic i32,i32*@sml_check_flag unordered,align 4
%ar=icmp eq i32%aq,0
br i1%ar,label%av,label%as
as:
invoke void@sml_check(i32 inreg%aq)
to label%at unwind label%bf
at:
%au=load i8*,i8**%c,align 8
br label%av
av:
%aw=phi i8*[%au,%at],[%ap,%ao]
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=icmp eq i8*%ay,null
br i1%az,label%bT,label%aA
aA:
%aB=getelementptr inbounds i8,i8*%ay,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%aw,i64 8
%aF=bitcast i8*%aE to i32*
%aG=load i32,i32*%aF,align 4
%aH=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%aG,i32 1)#0
%aI=extractvalue{i32,i1}%aH,1
br i1%aI,label%aJ,label%a2
aJ:
%aK=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aK,i8**%c,align 8
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
store i8*%aL,i8**%d,align 8
%aO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aL,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@ag,i64 0,i32 2,i64 0),i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aL,i64 16
%aT=bitcast i8*%aS to i32*
store i32 3,i32*%aT,align 4
%aU=call i8*@sml_alloc(i32 inreg 60)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177336,i32*%aW,align 4
%aX=getelementptr inbounds i8,i8*%aU,i64 56
%aY=bitcast i8*%aX to i32*
store i32 1,i32*%aY,align 4
%aZ=load i8*,i8**%d,align 8
%a0=bitcast i8*%aU to i8**
store i8*%aZ,i8**%a0,align 8
invoke void@sml_raise(i8*inreg%aU)#1
to label%a1 unwind label%bi
a1:
unreachable
a2:
%a3=add nsw i32%aG,1
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
%a7=getelementptr inbounds i8,i8*%a4,i64 12
%a8=bitcast i8*%a7 to i32*
store i32 0,i32*%a8,align 1
%a9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ba=bitcast i8*%a4 to i8**
store i8*%a9,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 8
%bc=bitcast i8*%bb to i32*
store i32%a3,i32*%bc,align 4
%bd=getelementptr inbounds i8,i8*%a4,i64 16
%be=bitcast i8*%bd to i32*
store i32 1,i32*%be,align 4
br label%ao
bf:
%bg=landingpad{i8*,i8*}
catch i8*null
%bh=load i8*,i8**@_SMLZ8Overflow,align 8
br label%bk
bi:
%bj=landingpad{i8*,i8*}
catch i8*null
br label%bk
bk:
%bl=phi i8*[%bh,%bf],[%aK,%bi]
%bm=phi{i8*,i8*}[%bg,%bf],[%bj,%bi]
%bn=extractvalue{i8*,i8*}%bm,1
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*%bp,i8**%e,align 8
%bq=bitcast i8*%bp to i8**
%br=load i8*,i8**%bq,align 8
%bs=icmp eq i8*%br,%bl
br i1%bs,label%bt,label%bL
bt:
%bu=load i8*,i8**@_SMLZ4Size,align 8
store i8*%bu,i8**%e,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
store i8*%bv,i8**%f,align 8
%by=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@ah,i64 0,i32 2,i64 0),i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 16
%bD=bitcast i8*%bC to i32*
store i32 3,i32*%bD,align 4
%bE=call i8*@sml_alloc(i32 inreg 60)#0
%bF=getelementptr inbounds i8,i8*%bE,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 1342177336,i32*%bG,align 4
%bH=getelementptr inbounds i8,i8*%bE,i64 56
%bI=bitcast i8*%bH to i32*
store i32 1,i32*%bI,align 4
%bJ=load i8*,i8**%f,align 8
%bK=bitcast i8*%bE to i8**
store i8*%bJ,i8**%bK,align 8
call void@sml_raise(i8*inreg%bE)#1
unreachable
bL:
%bM=call i8*@sml_alloc(i32 inreg 60)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32 1342177336,i32*%bO,align 4
%bP=getelementptr inbounds i8,i8*%bM,i64 56
%bQ=bitcast i8*%bP to i32*
store i32 1,i32*%bQ,align 4
%bR=load i8*,i8**%e,align 8
%bS=bitcast i8*%bM to i8**
store i8*%bR,i8**%bS,align 8
call void@sml_raise(i8*inreg%bM)#1
unreachable
bT:
%bU=getelementptr inbounds i8,i8*%aw,i64 8
%bV=bitcast i8*%bU to i32*
%bW=load i32,i32*%bV,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%am)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%an)
%bX=icmp ugt i32%bW,268435454
br i1%bX,label%bY,label%cg
bY:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%bZ=load i8*,i8**@_SMLZ4Size,align 8
store i8*%bZ,i8**%e,align 8
%b0=call i8*@sml_alloc(i32 inreg 20)#0
%b1=getelementptr inbounds i8,i8*%b0,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177296,i32*%b2,align 4
store i8*%b0,i8**%f,align 8
%b3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b4=bitcast i8*%b0 to i8**
store i8*%b3,i8**%b4,align 8
%b5=getelementptr inbounds i8,i8*%b0,i64 8
%b6=bitcast i8*%b5 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[40x i8]}>,<{[4x i8],i32,[40x i8]}>*@ai,i64 0,i32 2,i64 0),i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%b0,i64 16
%b8=bitcast i8*%b7 to i32*
store i32 3,i32*%b8,align 4
%b9=call i8*@sml_alloc(i32 inreg 60)#0
%ca=getelementptr inbounds i8,i8*%b9,i64 -4
%cb=bitcast i8*%ca to i32*
store i32 1342177336,i32*%cb,align 4
%cc=getelementptr inbounds i8,i8*%b9,i64 56
%cd=bitcast i8*%cc to i32*
store i32 1,i32*%cd,align 4
%ce=load i8*,i8**%f,align 8
%cf=bitcast i8*%b9 to i8**
store i8*%ce,i8**%cf,align 8
call void@sml_raise(i8*inreg%b9)#1
unreachable
cg:
%ch=add nsw i32%bW,1
%ci=call i8*@sml_alloc(i32 inreg%ch)#0
%cj=getelementptr inbounds i8,i8*%ci,i64 -4
%ck=bitcast i8*%cj to i32*
store i32%ch,i32*%ck,align 4
%cl=sext i32%bW to i64
%cm=getelementptr inbounds i8,i8*%ci,i64%cl
store i8 0,i8*%cm,align 1
store i8*%ci,i8**%e,align 8
%cn=call i8*@sml_alloc(i32 inreg 12)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177288,i32*%cp,align 4
store i8*%cn,i8**%h,align 8
%cq=load i8*,i8**%e,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cn,i64 8
%ct=bitcast i8*%cs to i32*
store i32 1,i32*%ct,align 4
%cu=call i8*@sml_alloc(i32 inreg 28)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177304,i32*%cw,align 4
%cx=load i8*,i8**%h,align 8
%cy=bitcast i8*%cu to i8**
store i8*%cx,i8**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cu,i64 8
%cA=bitcast i8*%cz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4loop_364 to void(...)*),void(...)**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cu,i64 16
%cC=bitcast i8*%cB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4loop_364 to void(...)*),void(...)**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cu,i64 24
%cE=bitcast i8*%cD to i32*
store i32 -2147483647,i32*%cE,align 4
%cF=bitcast i8**%f to i32**
%cG=load i32*,i32**%cF,align 8
store i8*null,i8**%f,align 8
%cH=load i32,i32*%cG,align 4
%cI=icmp eq i32%cH,0
%cJ=select i1%cI,i8 43,i8 45
%cK=load i8*,i8**%e,align 8
store i8%cJ,i8*%cK,align 1
%cL=load i8*,i8**%e,align 8
%cM=getelementptr inbounds i8,i8*%cL,i64 1
store i8 48,i8*%cM,align 1
%cN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cO=getelementptr inbounds i8,i8*%cN,i64 2
store i8 46,i8*%cO,align 1
%cP=call i8*@sml_alloc(i32 inreg 20)#0
%cQ=getelementptr inbounds i8,i8*%cP,i64 -4
%cR=bitcast i8*%cQ to i32*
store i32 1342177296,i32*%cR,align 4
%cS=getelementptr inbounds i8,i8*%cP,i64 12
%cT=bitcast i8*%cS to i32*
store i32 0,i32*%cT,align 1
%cU=load i8*,i8**%g,align 8
%cV=bitcast i8*%cP to i8**
store i8*%cU,i8**%cV,align 8
%cW=getelementptr inbounds i8,i8*%cP,i64 8
%cX=bitcast i8*%cW to i32*
store i32 3,i32*%cX,align 4
%cY=getelementptr inbounds i8,i8*%cP,i64 16
%cZ=bitcast i8*%cY to i32*
store i32 1,i32*%cZ,align 4
%c0=load i8*,i8**%h,align 8
%c1=call fastcc i8*@_SMLL4loop_364(i8*inreg%c0,i8*inreg%cP)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%N)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%O)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%P)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
%c2=icmp eq i8*%c1,null
br i1%c2,label%c3,label%c4
c3:
ret i8*null
c4:
%c5=bitcast i8*%c1 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%i,align 8
%c7=call i8*@sml_alloc(i32 inreg 20)#0
%c8=getelementptr inbounds i8,i8*%c7,i64 -4
%c9=bitcast i8*%c8 to i32*
store i32 1342177296,i32*%c9,align 4
%da=getelementptr inbounds i8,i8*%c7,i64 9
call void@llvm.memset.p0i8.i32(i8*%da,i8 0,i32 3,i1 false)
%db=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dc=bitcast i8*%c7 to i8**
store i8*%db,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c7,i64 8
store i8 45,i8*%dd,align 1
%de=getelementptr inbounds i8,i8*%c7,i64 12
%df=bitcast i8*%de to i32*
store i32%v,i32*%df,align 4
%dg=getelementptr inbounds i8,i8*%c7,i64 16
%dh=bitcast i8*%dg to i32*
store i32 1,i32*%dh,align 4
%di=call fastcc i8*@_SMLLN6Real6414appendExponentE_338(i8*inreg%c7)
%dj=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dj)
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%di,i8**%b,align 8
%dk=load atomic i32,i32*@sml_check_flag unordered,align 4
%dl=icmp eq i32%dk,0
br i1%dl,label%dn,label%dm
dm:
call void@sml_check(i32 inreg%dk)
br label%dn
dn:
%do=call i8*@sml_alloc(i32 inreg 20)#0
%dp=getelementptr inbounds i8,i8*%do,i64 -4
%dq=bitcast i8*%dp to i32*
store i32 1342177296,i32*%dq,align 4
%dr=load i8*,i8**%b,align 8
%ds=bitcast i8*%do to i8**
store i8*%dr,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%do,i64 8
%du=bitcast i8*%dt to i8**
store i8*null,i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%do,i64 16
%dw=bitcast i8*%dv to i32*
store i32 1,i32*%dw,align 4
%dx=call double@sml_strtod(i8*%dr,i8*null)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dj)
%dy=call i8*@sml_alloc(i32 inreg 12)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32 1342177288,i32*%dA,align 4
%dB=bitcast i8*%dy to double*
store double%dx,double*%dB,align 8
%dC=getelementptr inbounds i8,i8*%dy,i64 8
%dD=bitcast i8*%dC to i32*
store i32 0,i32*%dD,align 4
ret i8*%dy
dE:
store i8*null,i8**%i,align 8
%dF=icmp eq i32%y,0
%dG=select i1%dF,double 0.000000e+00,double -0.000000e+00
%dH=call i8*@sml_alloc(i32 inreg 12)#0
%dI=getelementptr inbounds i8,i8*%dH,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32 1342177288,i32*%dJ,align 4
%dK=bitcast i8*%dH to double*
store double%dG,double*%dK,align 8
%dL=getelementptr inbounds i8,i8*%dH,i64 8
%dM=bitcast i8*%dL to i32*
store i32 0,i32*%dM,align 4
ret i8*%dH
dN:
store i8*null,i8**%i,align 8
%dO=icmp eq i32%y,0
%dP=select i1%dO,double 0x7FF0000000000000,double 0xFFF0000000000000
%dQ=call i8*@sml_alloc(i32 inreg 12)#0
%dR=getelementptr inbounds i8,i8*%dQ,i64 -4
%dS=bitcast i8*%dR to i32*
store i32 1342177288,i32*%dS,align 4
%dT=bitcast i8*%dQ to double*
store double%dP,double*%dT,align 8
%dU=getelementptr inbounds i8,i8*%dQ,i64 8
%dV=bitcast i8*%dU to i32*
store i32 0,i32*%dV,align 4
ret i8*%dQ
dW:
store i8*null,i8**%i,align 8
%dX=icmp eq i32%y,0
%dY=select i1%dX,double 1.000000e+00,double -1.000000e+00
%dZ=call i8*@sml_alloc(i32 inreg 20)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177296,i32*%d1,align 4
%d2=bitcast i8*%dZ to double*
store double 0x7FF8000000000000,double*%d2,align 8
%d3=getelementptr inbounds i8,i8*%dZ,i64 8
%d4=bitcast i8*%d3 to double*
store double%dY,double*%d4,align 8
%d5=getelementptr inbounds i8,i8*%dZ,i64 16
%d6=bitcast i8*%d5 to i32*
store i32 0,i32*%d6,align 4
%d7=call double@copysign(double 0x7FF8000000000000,double%dY)
%d8=call i8*@sml_alloc(i32 inreg 12)#0
%d9=getelementptr inbounds i8,i8*%d8,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 1342177288,i32*%ea,align 4
%eb=bitcast i8*%d8 to double*
store double%d7,double*%eb,align 8
%ec=getelementptr inbounds i8,i8*%d8,i64 8
%ed=bitcast i8*%ec to i32*
store i32 0,i32*%ed,align 4
ret i8*%d8
}
define internal fastcc i8*@_SMLLN6Real644scanE_381(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%e,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 12
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=add i32%o,7
%q=sub i32 0,%o
%r=and i32%p,%q
%s=add i32%p,%r
%t=and i32%s,-8
%u=lshr i32%r,3
%v=getelementptr inbounds i8,i8*%k,i64 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=shl i32%x,%u
%z=or i32%t,4
%A=call fastcc i8*@_SMLFN8IEEEReal4scanE(i32 inreg%x,i32 inreg%o)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
%G=bitcast i8**%e to i8***
%H=load i8**,i8***%G,align 8
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%D(i8*inreg%F,i8*inreg%I)
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=call fastcc i8*%M(i8*inreg%O,i8*inreg%P)
%R=icmp eq i8*%Q,null
br i1%R,label%S,label%T
S:
ret i8*null
T:
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%c,align 8
%W=load i8*,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%W,i64 8
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
%aa=icmp eq i32%Z,0
br i1%aa,label%ag,label%ab
ab:
%ac=sext i32%r to i64
%ad=getelementptr inbounds i8,i8*%V,i64%ac
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
br label%aq
ag:
%ah=getelementptr inbounds i8,i8*%W,i64 12
%ai=bitcast i8*%ah to i32*
%aj=load i32,i32*%ai,align 4
%ak=call i8*@sml_alloc(i32 inreg%aj)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32%aj,i32*%am,align 4
%an=load i8*,i8**%c,align 8
%ao=sext i32%r to i64
%ap=getelementptr inbounds i8,i8*%an,i64%ao
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ak,i8*%ap,i32%aj,i1 false)
br label%aq
aq:
%ar=phi i8*[%an,%ag],[%V,%ab]
%as=phi i8*[%ak,%ag],[%af,%ab]
%at=bitcast i8*%ar to i8**
store i8*%as,i8**%d,align 8
store i8*null,i8**%c,align 8
%au=load i8*,i8**%at,align 8
%av=call fastcc i8*@_SMLFN6Real6411fromDecimalE(i8*inreg%au)
%aw=icmp eq i8*%av,null
br i1%aw,label%S,label%ax
ax:
%ay=bitcast i8*%av to double*
%az=load double,double*%ay,align 8
%aA=load i8*,i8**%e,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 12
%aC=bitcast i8*%aB to i32*
%aD=load i32,i32*%aC,align 4
store i8*null,i8**%e,align 8
%aE=getelementptr inbounds i8,i8*%aA,i64 8
%aF=bitcast i8*%aE to i32*
%aG=load i32,i32*%aF,align 4
%aH=call i8*@sml_alloc(i32 inreg%z)#0
%aI=or i32%t,1342177280
%aJ=getelementptr inbounds i8,i8*%aH,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32%aI,i32*%aK,align 4
store i8*%aH,i8**%c,align 8
call void@llvm.memset.p0i8.i32(i8*%aH,i8 0,i32%z,i1 false)
%aL=bitcast i8*%aH to double*
store double%az,double*%aL,align 8
%aM=icmp eq i32%aG,0
%aN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aO=sext i32%r to i64
%aP=getelementptr inbounds i8,i8*%aH,i64%aO
br i1%aM,label%aS,label%aQ
aQ:
%aR=bitcast i8*%aP to i8**
store i8*%aN,i8**%aR,align 8
br label%aT
aS:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aP,i8*%aN,i32%aD,i1 false)
br label%aT
aT:
%aU=sext i32%t to i64
%aV=getelementptr inbounds i8,i8*%aH,i64%aU
%aW=bitcast i8*%aV to i32*
store i32%y,i32*%aW,align 4
%aX=call i8*@sml_alloc(i32 inreg 12)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177288,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to i32*
store i32 1,i32*%a3,align 4
ret i8*%aX
}
define internal fastcc i8*@_SMLLN6Real644scanE_382(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644scanE_381 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644scanE_381 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN6Real644scanE_383(i32 inreg%a,i32 inreg%b)unnamed_addr#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644scanE_382 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644scanE_382 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define fastcc double@_SMLFN6Real644Math4sqrtE(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 double@sqrt(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math3sinE(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 double@sin(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math3cosE(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 double@cos(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math3tanE(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 double@tan(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math4asinE(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 double@asin(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math4acosE(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 double@acos(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math4atanE(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 double@atan(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math5atan2E(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to double*
%k=load double,double*%j,align 8
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to double*
%n=load double,double*%m,align 8
%o=call double@atan2(double%k,double%n)
ret double%o
}
define fastcc double@_SMLFN6Real644Math3expE(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 double@exp(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math3powE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvar9d24bdf03f9e5ec9_Real64,i64 0,i32 2,i64 0)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc double@_SMLLN6Real644Math3powE_230(i8*inreg%k,i8*inreg%h)
ret double%l
}
define fastcc double@_SMLFN6Real644Math2lnE(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 double@log(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math5log10E(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 double@log10(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math4sinhE(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 double@sinh(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math4coshE(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 double@cosh(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real644Math4tanhE(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 double@tanh(double%f)
ret double%g
}
define fastcc i32@_SMLFN6Real647signBitE(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=tail call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)
%g=tail call fastcc i32@_SMLFN18SMLSharp__RealClass7signBitE(i32 inreg%f)
ret i32%g
}
define fastcc double@_SMLFN6Real648copySignE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to double*
%k=load double,double*%j,align 8
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to double*
%n=load double,double*%m,align 8
%o=call double@copysign(double%k,double%n)
ret double%o
}
define fastcc i32@_SMLFN6Real649unorderedE(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to double*
%c=load double,double*%b,align 8
%d=fcmp ord double%c,0.000000e+00
br i1%d,label%f,label%e
e:
ret i32 1
f:
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to double*
%i=load double,double*%h,align 8
%j=fcmp uno double%i,0.000000e+00
%k=zext i1%j to i32
ret i32%k
}
define fastcc i32@_SMLFN6Real648isFiniteE(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=tail call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)
%g=tail call fastcc i32@_SMLFN18SMLSharp__RealClass8isFiniteE(i32 inreg%f)
ret i32%g
}
define fastcc i32@_SMLFN6Real648isNormalE(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=tail call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)
%g=tail call fastcc i32@_SMLFN18SMLSharp__RealClass8isNormalE(i32 inreg%f)
ret i32%g
}
define fastcc i32@_SMLFN6Real645classE(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=tail call fastcc i32@_SMLFN18SMLSharp__RealClass9classRealE(i64 inreg%a)
%g=tail call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%f)
ret i32%g
}
define fastcc double@_SMLFN6Real6410fromManExpE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i32*
%k=load i32,i32*%j,align 4
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to double*
%n=load double,double*%m,align 8
%o=call double@ldexp(double%n,i32%k)
ret double%o
}
define fastcc double@_SMLFN6Real647realModE(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=tail call fastcc i8*@_SMLFN6Real645splitE(i64 inreg%a)
%g=bitcast i8*%f to double*
%h=load double,double*%g,align 8
ret double%h
}
define fastcc double@_SMLFN6Real6410checkFloatE(i64 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__RealClass9classRealE(i64 inreg%a)
%i=call fastcc i32@_SMLFN18SMLSharp__RealClass5classE(i32 inreg%h)
switch i32%i,label%j[
i32 1,label%D
i32 0,label%l
]
j:
%k=bitcast i64%a to double
ret double%k
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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aQ,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**@_SMLZ3Div,align 8
store i8*%E,i8**%b,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
store i8*%F,i8**%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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aP,i64 0,i32 2,i64 0),i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 60)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177336,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 56
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=load i8*,i8**%c,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
call void@sml_raise(i8*inreg%O)#1
unreachable
}
define fastcc double@_SMLFN6Real649realFloorE(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 double@llvm.floor.f64(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real648realCeilE(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 double@llvm.ceil.f64(double%f)
ret double%g
}
define fastcc double@_SMLFN6Real649realTruncE(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 double@llvm.trunc.f64(double%f)
ret double%g
}
define fastcc i32@_SMLFN6Real645floorE(i64 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=bitcast i64%a to double
%i=call double@llvm.floor.f64(double%h)
%j=fcmp ord double%i,0.000000e+00
br i1%j,label%C,label%k
k:
%l=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%l,i8**%b,align 8
%m=call i8*@sml_alloc(i32 inreg 20)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177296,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%m,i64 8
%s=bitcast i8*%r to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aV,i64 0,i32 2,i64 0),i8**%s,align 8
%t=getelementptr inbounds i8,i8*%m,i64 16
%u=bitcast i8*%t to i32*
store i32 3,i32*%u,align 4
%v=call i8*@sml_alloc(i32 inreg 60)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177336,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%v,i64 56
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=load i8*,i8**%c,align 8
%B=bitcast i8*%v to i8**
store i8*%A,i8**%B,align 8
call void@sml_raise(i8*inreg%v)#1
unreachable
C:
%D=fcmp ult double%i,0xC1E0000000000000
%E=fcmp ugt double%i,0x41DFFFFFFFC00000
%F=or i1%D,%E
br i1%F,label%I,label%G
G:
%H=fptosi double%i to i32
ret i32%H
I:
%J=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
store i8*%K,i8**%c,align 8
%N=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aV,i64 0,i32 2,i64 0),i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 60)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177336,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%T,i64 56
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
call void@sml_raise(i8*inreg%T)#1
unreachable
}
define fastcc i32@_SMLFN6Real644ceilE(i64 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=bitcast i64%a to double
%i=call double@llvm.ceil.f64(double%h)
%j=fcmp ord double%i,0.000000e+00
br i1%j,label%C,label%k
k:
%l=load i8*,i8**@_SMLZ6Domain,align 8
store i8*%l,i8**%b,align 8
%m=call i8*@sml_alloc(i32 inreg 20)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177296,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%m,i64 8
%s=bitcast i8*%r to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aX,i64 0,i32 2,i64 0),i8**%s,align 8
%t=getelementptr inbounds i8,i8*%m,i64 16
%u=bitcast i8*%t to i32*
store i32 3,i32*%u,align 4
%v=call i8*@sml_alloc(i32 inreg 60)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177336,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%v,i64 56
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=load i8*,i8**%c,align 8
%B=bitcast i8*%v to i8**
store i8*%A,i8**%B,align 8
call void@sml_raise(i8*inreg%v)#1
unreachable
C:
%D=fcmp ult double%i,0xC1E0000000000000
%E=fcmp ugt double%i,0x41DFFFFFFFC00000
%F=or i1%D,%E
br i1%F,label%I,label%G
G:
%H=fptosi double%i to i32
ret i32%H
I:
%J=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%J,i8**%b,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
store i8*%K,i8**%c,align 8
%N=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aX,i64 0,i32 2,i64 0),i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 60)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177336,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%T,i64 56
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
call void@sml_raise(i8*inreg%T)#1
unreachable
}
define fastcc i32@_SMLFN6Real645roundE(i64 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 double@_SMLFN6Real649realRoundE(i64 inreg%a)
%i=fcmp ord double%h,0.000000e+00
br i1%i,label%B,label%j
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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aZ,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=fcmp ult double%h,0xC1E0000000000000
%D=fcmp ugt double%h,0x41DFFFFFFFC00000
%E=or i1%C,%D
br i1%E,label%H,label%F
F:
%G=fptosi double%h to i32
ret i32%G
H:
%I=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%I,i8**%b,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
store i8*%J,i8**%c,align 8
%M=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aZ,i64 0,i32 2,i64 0),i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
%S=call i8*@sml_alloc(i32 inreg 60)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177336,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%S,i64 56
%W=bitcast i8*%V to i32*
store i32 1,i32*%W,align 4
%X=load i8*,i8**%c,align 8
%Y=bitcast i8*%S to i8**
store i8*%X,i8**%Y,align 8
call void@sml_raise(i8*inreg%S)#1
unreachable
}
define fastcc double@_SMLFN6Real6412fromLargeIntE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=call double@prim_IntInf_toReal(i8*%h)
ret double%j
}
define fastcc double@_SMLFN6Real647toLargeE(i64 inreg%a)#4 gc"smlsharp"{
%b=bitcast i64%a to double
ret double%b
}
define internal fastcc double@_SMLLN6Real649fromLargeE_456(i64 inreg%a)#4 gc"smlsharp"{
%b=bitcast i64%a to double
ret double%b
}
define fastcc i8*@_SMLFN6Real649fromLargeE(i32 inreg%a)#4 gc"smlsharp"{
ret i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a3,i64 0,i32 2)to i8*)
}
define fastcc i8*@_SMLFN6Real648toStringE(i64 inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN6Real643fmtE(i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@a5,i64 0,i32 2)to i8*))
%h=getelementptr inbounds i8,i8*%g,i64 16
%i=bitcast i8*%h to i8*(i8*,i8*)**
%j=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i,align 8
%k=bitcast i8*%g to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=call i8*@sml_alloc(i32 inreg 8)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 8,i32*%o,align 4
%p=bitcast i8*%m to i64*
store i64%a,i64*%p,align 4
%q=load i8*,i8**%b,align 8
%r=tail call fastcc i8*%j(i8*inreg%q,i8*inreg%m)
ret i8*%r
}
define internal fastcc i8*@_SMLLN6Real644scanE_463(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%j,i64 4
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=call fastcc i8*@_SMLLN6Real644scanE_383(i32 inreg%m,i32 inreg%p)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=call fastcc i8*%t(i8*inreg%v,i8*inreg%w)
ret i8*%x
}
define fastcc i8*@_SMLFN6Real644scanE(i32 inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644scanE_463 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN6Real644scanE_463 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define fastcc i8*@_SMLFN6Real6410fromStringE(i8*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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call fastcc i8*@_SMLFN9StringCvt10scanStringE(i32 inreg 0,i32 inreg 8)
%i=getelementptr inbounds i8,i8*%h,i64 16
%j=bitcast i8*%i to i8*(i8*,i8*)**
%k=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j,align 8
%l=bitcast i8*%h to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=call fastcc i8*@_SMLLN6Real644scanE_383(i32 inreg 0,i32 inreg 4)
%o=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%p=call fastcc i8*%k(i8*inreg%o,i8*inreg%n)
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=load i8*,i8**%b,align 8
%w=tail call fastcc i8*%s(i8*inreg%u,i8*inreg%v)
ret i8*%w
}
define internal fastcc i8*@_SMLLN6Real644Math3powE_468(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc double@_SMLLN6Real644Math3powE_230(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real642_J_KE_469(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to double*
%d=load double,double*%c,align 8
%e=getelementptr inbounds i8,i8*%b,i64 8
%f=bitcast i8*%e to double*
%g=load double,double*%f,align 8
%h=getelementptr inbounds i8,i8*%b,i64 16
%i=bitcast i8*%h to double*
%j=load double,double*%i,align 8
%k=fmul double%d,%g
%l=fadd double%k,%j
%m=tail call i8*@sml_alloc(i32 inreg 8)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 8,i32*%o,align 4
%p=bitcast i8*%m to double*
store double%l,double*%p,align 8
ret i8*%m
}
define internal fastcc i8*@_SMLLN6Real642_J_ME_470(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to double*
%d=load double,double*%c,align 8
%e=getelementptr inbounds i8,i8*%b,i64 8
%f=bitcast i8*%e to double*
%g=load double,double*%f,align 8
%h=getelementptr inbounds i8,i8*%b,i64 16
%i=bitcast i8*%h to double*
%j=load double,double*%i,align 8
%k=fmul double%d,%g
%l=fsub double%k,%j
%m=tail call i8*@sml_alloc(i32 inreg 8)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 8,i32*%o,align 4
%p=bitcast i8*%m to double*
store double%l,double*%p,align 8
ret i8*%m
}
define internal fastcc i8*@_SMLLN6Real643minE_471(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN6Real643minE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real643maxE_472(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN6Real643maxE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real644signE_473(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@_SMLFN6Real644signE(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*@_SMLLN6Real648sameSignE_474(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6Real648sameSignE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real6411compareRealE_475(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6Real6411compareRealE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real647compareE_476(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN6Real647compareE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real648toManExpE_477(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 i8*@_SMLFN6Real648toManExpE(i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real645splitE_478(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 i8*@_SMLFN6Real645splitE(i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real649nextAfterE_479(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN6Real649nextAfterE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real649realRoundE_481(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 double@_SMLFN6Real649realRoundE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real645toIntE_482(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@_SMLLN6Real645toIntE_270(i8*inreg%a,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*@_SMLLN6Real645toIntE_483(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLFN6Real645toIntE(i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real6410toLargeIntE_484(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 i8*@_SMLLN6Real6410toLargeIntE_276(i8*inreg%a,i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real6410toLargeIntE_485(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLFN6Real6410toLargeIntE(i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLL4loop_489(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
tail call fastcc void@_SMLL4loop_285(i8*inreg%a,i32 inreg%d)
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real6410intToCharsE_493(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN6Real6410intToCharsE_329(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real6410intToCharsE_494(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN6Real6410intToCharsE_330(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real646fmtFIXE_498(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 i8*@_SMLLN6Real646fmtFIXE_340(i8*inreg%a,i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real646fmtSCIE_501(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 i8*@_SMLLN6Real646fmtSCIE_345(i8*inreg%a,i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real646fmtGENE_503(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 i8*@_SMLLN6Real646fmtGENE_348(i8*inreg%a,i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real648fmtEXACTE_505(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 i8*@_SMLLN6Real648fmtEXACTE_353(i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real643fmtE_509(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 i8*@_SMLLN6Real643fmtE_374(i8*inreg%a,i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real643fmtE_510(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN6Real643fmtE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN6Real649toDecimalE_511(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 i8*@_SMLFN6Real649toDecimalE(i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real6411fromDecimalE_512(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN6Real6411fromDecimalE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN6Real644Math4sqrtE_514(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 double@_SMLFN6Real644Math4sqrtE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math3sinE_515(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 double@_SMLFN6Real644Math3sinE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math3cosE_516(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 double@_SMLFN6Real644Math3cosE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math3tanE_517(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 double@_SMLFN6Real644Math3tanE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math4asinE_518(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 double@_SMLFN6Real644Math4asinE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math4acosE_519(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 double@_SMLFN6Real644Math4acosE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math4atanE_520(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 double@_SMLFN6Real644Math4atanE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math5atan2E_521(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN6Real644Math5atan2E(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real644Math3expE_522(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 double@_SMLFN6Real644Math3expE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math2lnE_524(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 double@_SMLFN6Real644Math2lnE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math5log10E_525(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 double@_SMLFN6Real644Math5log10E(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math4sinhE_526(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 double@_SMLFN6Real644Math4sinhE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math4coshE_527(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 double@_SMLFN6Real644Math4coshE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real644Math4tanhE_528(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 double@_SMLFN6Real644Math4tanhE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real647signBitE_529(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@_SMLFN6Real647signBitE(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*@_SMLLN6Real648copySignE_530(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN6Real648copySignE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real649unorderedE_531(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
n:
%c=bitcast i8*%b to double*
%d=load double,double*%c,align 8
%e=fcmp ord double%d,0.000000e+00
br i1%e,label%f,label%l
f:
%g=getelementptr inbounds i8,i8*%b,i64 8
%h=bitcast i8*%g to double*
%i=load double,double*%h,align 8
%j=fcmp uno double%i,0.000000e+00
%k=zext i1%j to i32
br label%l
l:
%m=phi i32[%k,%f],[1,%n]
%o=tail call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i32%m,i32*%p,align 4
ret i8*%o
}
define internal fastcc i8*@_SMLLN6Real648isFiniteE_532(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@_SMLFN6Real648isFiniteE(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*@_SMLLN6Real648isNormalE_533(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@_SMLFN6Real648isNormalE(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*@_SMLLN6Real645classE_534(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@_SMLFN6Real645classE(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*@_SMLLN6Real6410fromManExpE_535(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN6Real6410fromManExpE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real647realModE_536(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 double@_SMLFN6Real647realModE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real6410checkFloatE_537(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 double@_SMLFN6Real6410checkFloatE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real649realFloorE_538(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 double@_SMLFN6Real649realFloorE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real648realCeilE_539(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 double@_SMLFN6Real648realCeilE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real649realTruncE_540(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 double@_SMLFN6Real649realTruncE(i64 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 8)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 8,i32*%h,align 4
%i=bitcast i8*%f to double*
store double%e,double*%i,align 8
ret i8*%f
}
define internal fastcc i8*@_SMLLN6Real645floorE_541(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@_SMLFN6Real645floorE(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*@_SMLLN6Real644ceilE_542(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@_SMLFN6Real644ceilE(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*@_SMLLN6Real645roundE_543(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@_SMLFN6Real645roundE(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*@_SMLLN6Real6412fromLargeIntE_544(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc double@_SMLFN6Real6412fromLargeIntE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to double*
store double%c,double*%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN6Real647toLargeE_545(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to double*
%d=load double,double*%c,align 4
%e=tail call i8*@sml_alloc(i32 inreg 8)#0
%f=getelementptr inbounds i8,i8*%e,i64 -4
%g=bitcast i8*%f to i32*
store i32 8,i32*%g,align 4
%h=bitcast i8*%e to double*
store double%d,double*%h,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real649fromLargeE_546(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to double*
%d=load double,double*%c,align 4
%e=tail call i8*@sml_alloc(i32 inreg 8)#0
%f=getelementptr inbounds i8,i8*%e,i64 -4
%g=bitcast i8*%f to i32*
store i32 8,i32*%g,align 4
%h=bitcast i8*%e to double*
store double%d,double*%h,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real649fromLargeE_547(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a3,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLN6Real648toStringE_548(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 i8*@_SMLFN6Real648toStringE(i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN6Real644scanE_549(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLFN6Real644scanE(i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLLN6Real6410fromStringE_550(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN6Real6410fromStringE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.memcpy.p0i8.p0i8.i32(i8*,i8*,i32,i1)#0
declare void@llvm.memmove.p0i8.p0i8.i32(i8*,i8*,i32,i1)#0
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
declare double@llvm.floor.f64(double)#0
declare double@llvm.ceil.f64(double)#0
declare double@llvm.trunc.f64(double)#0
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
declare void@llvm.memset.p0i8.i64(i8*,i8,i64,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
