@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN4Char7isAlphaE=external local_unnamed_addr global i8*
@_SMLZN4Time8zeroTimeE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@_SMLZ9Subscript=external unnamed_addr constant i8*
@_SMLZ8Overflow=external unnamed_addr constant i8*
@_SMLZ3Div=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[10x i8]}><{[4x i8]zeroinitializer,i32 -2147483638,[10x i8]c"Date.Date\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[10x i8]}>,<{[4x i8],i32,[10x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL235=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i32 0,i32 0,i32 0),i32 8)}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[37x i8]}><{[4x i8]zeroinitializer,i32 -2147483611,[37x i8]c"src/smlnj/Basis/date.sml:99.11(3208)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:100.11(3239)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:101.11(3270)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:102.11(3301)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:103.11(3332)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:104.11(3363)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:105.11(3394)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:106.11(3425)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:107.11(3456)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 9,i32 0,i32 0}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:119.11(3921)\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:120.11(3952)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:121.11(3983)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:122.11(4014)\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:123.11(4045)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:124.11(4076)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:125.11(4107)\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:126.11(4138)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:127.11(4169)\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,i32,i8,[3x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 512,i8 0,[3x i8]zeroinitializer,i32 0}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:143.49(4858)\00"}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:187.14(6459)\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 0,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@E,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 4,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@y,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 6,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@z,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 5,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@A,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 1,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@B,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 3,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@C,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@E=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
@F=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 9,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@E,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 10,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@F,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 11,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@G,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 1,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@H,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 5,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@I,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 6,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@J,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 8,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@K,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 0,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@L,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 7,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@M,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 3,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@N,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 4,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@O,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,[37x i8]}><{[4x i8]zeroinitializer,i32 -2147483611,[37x i8]c"src/smlnj/Basis/date.sml:230.4(7730)\00"}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:256.23(8571)\00"}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:257.13(8596)\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:263.12(8760)\00"}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:275.13(9147)\00"}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,[37x i8]}><{[4x i8]zeroinitializer,i32 -2147483611,[37x i8]c"src/smlnj/Basis/date.sml:221.4(7499)\00"}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*null,i32 2}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 30,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@W,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@X,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 30,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@Y,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@Z,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@aa,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 30,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ab,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ad=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ac,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 30,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ad,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@af=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ae,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 28,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@af,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ag,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 334,[4x i8]zeroinitializer,i8*null,i32 2}>,align 8
@aj=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 304,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ai,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ak=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 273,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@aj,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 243,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ak,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@am=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 212,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@al,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 181,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@am,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 151,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@an,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ap=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 120,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ao,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 90,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ap,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 59,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@aq,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@as=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 31,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ar,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@at=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 0,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@as,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@au=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:305.38(10233)\00"}>,align 8
@av=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:305.8(10203)\00"}>,align 8
@aw=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:308.44(10416)\00"}>,align 8
@ax=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:308.11(10383)\00"}>,align 8
@ay=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:308.48(10420)\00"}>,align 8
@az=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:312.13(10507)\00"}>,align 8
@aA=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:318.25(10718)\00"}>,align 8
@aB=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:320.19(10797)\00"}>,align 8
@aC=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:320.13(10791)\00"}>,align 8
@aD=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:321.13(10872)\00"}>,align 8
@aE=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:322.13(10948)\00"}>,align 8
@aF=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:323.13(11020)\00"}>,align 8
@aG=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:325.7(11097)\00"}>,align 8
@aH=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:331.36(11300)\00"}>,align 8
@aI=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:343.14(11605)\00"}>,align 8
@aJ=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:351.13(11707)\00"}>,align 8
@aK=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:351.60(11754)\00"}>,align 8
@aL=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:384.12(13353)\00"}>,align 8
@aM=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:386.14(13378)\00"}>,align 8
@aN=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:386.10(13374)\00"}>,align 8
@aO=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:391.12(13471)\00"}>,align 8
@aP=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:396.10(13563)\00"}>,align 8
@aQ=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:400.16(13654)\00"}>,align 8
@aR=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:403.43(13774)\00"}>,align 8
@aS=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:406.39(13875)\00"}>,align 8
@aT=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL235,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aS,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@aU=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:410.16(13991)\00"}>,align 8
@aV=private unnamed_addr constant[6x i8]c"15180\00"
@aW=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:429.50(14654)\00"}>,align 8
@aX=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:432.44(14754)\00"}>,align 8
@aY=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL235,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aX,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@aZ=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:436.10(14819)\00"}>,align 8
@a0=private unnamed_addr constant<{[4x i8],i32,[38x i8]}><{[4x i8]zeroinitializer,i32 -2147483610,[38x i8]c"src/smlnj/Basis/date.sml:446.9(15116)\00"}>,align 8
@a1=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:470.14(15906)\00"}>,align 8
@a2=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN4Date6toTimeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date6toTimeE_521 to void(...)*),i32 -2147483647}>,align 8
@a3=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN4Date7compareE_398 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_523 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(i32(i8*)*@_SMLLN4Date7compareE_402 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_525 to void(...)*),i32 -2147483647}>,align 8
@a5=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN4Date7compareE_404 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_526 to void(...)*),i32 -2147483647}>,align 8
@a6=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN4Date7compareE_406 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_527 to void(...)*),i32 -2147483647}>,align 8
@a7=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN4Date7compareE_408 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_528 to void(...)*),i32 -2147483647}>,align 8
@a8=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN4Date7compareE_410 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_529 to void(...)*),i32 -2147483647}>,align 8
@a9=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i32)*@_SMLLN4Date7compareE_412 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_530 to void(...)*),i32 -2147483647}>,align 8
@ba=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a8,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a9,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@bb=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date7compareE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_536 to void(...)*),i32 -2147483647}>,align 8
@bc=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 2,[4x i8]zeroinitializer,i32 0}>,align 8
@bd=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"%\00"}>,align 8
@be=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLL4scan_432 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4scan_539 to void(...)*),i32 -2147483647}>,align 8
@bf=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:550.23(18663)\00"}>,align 8
@bg=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:561.38(18970)\00"}>,align 8
@bh=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"%a %b %d %H:%M:%S %Y\00"}>,align 8
@bi=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:601.39(20254)\00"}>,align 8
@bj=private unnamed_addr constant<{[4x i8],i32,[39x i8]}><{[4x i8]zeroinitializer,i32 -2147483609,[39x i8]c"src/smlnj/Basis/date.sml:601.44(20259)\00"}>,align 8
@_SMLZN4Date4DateE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL235,i64 0,i32 2)to i8*)
@bk=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date4yearE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4yearE_544 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date4yearE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bk,i64 0,i32 2)to i8*)
@bl=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date5monthE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date5monthE_545 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date5monthE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bl,i64 0,i32 2)to i8*)
@bm=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date3dayE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date3dayE_546 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date3dayE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bm,i64 0,i32 2)to i8*)
@bn=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date4hourE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4hourE_547 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date4hourE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bn,i64 0,i32 2)to i8*)
@bo=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date6minuteE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date6minuteE_548 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date6minuteE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bo,i64 0,i32 2)to i8*)
@bp=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date6secondE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date6secondE_549 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date6secondE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bp,i64 0,i32 2)to i8*)
@bq=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date7weekDayE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7weekDayE_550 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date7weekDayE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bq,i64 0,i32 2)to i8*)
@br=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN4Date7yearDayE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7yearDayE_551 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date7yearDayE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@br,i64 0,i32 2)to i8*)
@bs=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN4Date6offsetE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date6offsetE_552 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date6offsetE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bs,i64 0,i32 2)to i8*)
@bt=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN4Date5isDstE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date5isDstE_553 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date5isDstE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bt,i64 0,i32 2)to i8*)
@bu=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN4Date11localOffsetE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date11localOffsetE_554 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN4Date11localOffsetE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bu,i64 0,i32 2)to i8*)
@_SMLZN4Date6toTimeE=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*)
@_SMLZN4Date7compareE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@bb,i64 0,i32 2)to i8*)
@_SML_gvarf7f5b9a54382c7f7_date=private global<{[4x i8],i32,[7x i8*]}><{[4x i8]zeroinitializer,i32 -1342177224,[7x i8*]zeroinitializer}>,align 8
@bv=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@bv to i64))]
@_SML_ftabf7f5b9a54382c7f7_date=external global i8
@bw=private unnamed_addr global i8 0
@bx=private unnamed_addr constant[12x i32][i32 3,i32 7,i32 11,i32 1,i32 0,i32 6,i32 5,i32 2,i32 4,i32 10,i32 9,i32 8]
@by=private unnamed_addr constant[7x i32][i32 5,i32 1,i32 6,i32 0,i32 4,i32 2,i32 3]
@_SMLZN4Date4dateE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 0)
@_SMLZN4Date13fromTimeLocalE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 1)
@_SMLZN4Date12fromTimeUnivE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 2)
@_SMLZN4Date3fmtE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 3)
@_SMLZN4Date8toStringE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 4)
@_SMLZN4Date4scanE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 5)
@_SMLZN4Date10fromStringE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i32 0,i32 2,i32 6)
declare void@llvm.gcroot(i8**,i8*)#0
declare{i32,i1}@llvm.sadd.with.overflow.i32(i32,i32)#0
declare{i32,i1}@llvm.smul.with.overflow.i32(i32,i32)#0
declare{i32,i1}@llvm.ssub.with.overflow.i32(i32,i32)#0
declare i32@prim_Date_gmTime(i32,i8*)local_unnamed_addr
declare i32@prim_Date_localTime(i32,i8*)local_unnamed_addr
declare i32@prim_Date_mkTime(i8*)local_unnamed_addr
declare i32@prim_Date_strfTime(i8*,i32,i8*,i8*)local_unnamed_addr
declare i32@prim_Time_gettimeofday(i8*)local_unnamed_addr
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_end()local_unnamed_addr#0
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare i8*@sml_load_intinf(i8*inreg)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_save_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare void@sml_unsave()local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN10CharVector6concatE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16SMLSharp__Runtime9OS__SysErrE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Char7isDigitE(i8 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3revE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List4nullE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4Time11fromSecondsE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4Time9toSecondsE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Array5arrayE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Int324scanE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5Int327compareE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IntInf3remE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6IntInf5toIntE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IntInf7fromIntE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String3strE(i8 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Vector8fromListE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9CharArray5arrayE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9StringCvt10scanStringE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9StringCvt6splitlE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring4fullE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring4getcE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN9Substring4sizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring5sliceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring6concatE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring6splitlE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring6stringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5c37eb24573fc5f9_StringCvt()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5d4c3ea7bd6f9540_IntInf()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainfd227ec42a85e2d0_Array()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maincbf81bea2bc04eab_Vector()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maince7036f3433e1102_Char()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main145db56e6796da5b_Substring()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main23870d5de35409ab_Time()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main00d884c96265bfea_SMLSharp_Runtime()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main4beb4c3c7634547e_CharArraySlice()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main83aaee9bdacb8a0e_CharArray()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load5c37eb24573fc5f9_StringCvt(i8*)local_unnamed_addr
declare void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*)local_unnamed_addr
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_loadfd227ec42a85e2d0_Array(i8*)local_unnamed_addr
declare void@_SML_loadcbf81bea2bc04eab_Vector(i8*)local_unnamed_addr
declare void@_SML_loadce7036f3433e1102_Char(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load145db56e6796da5b_Substring(i8*)local_unnamed_addr
declare void@_SML_load23870d5de35409ab_Time(i8*)local_unnamed_addr
declare void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*)local_unnamed_addr
declare void@_SML_load4beb4c3c7634547e_CharArraySlice(i8*)local_unnamed_addr
declare void@_SML_load83aaee9bdacb8a0e_CharArray(i8*)local_unnamed_addr
define private void@_SML_tabbf7f5b9a54382c7f7_date()#3{
unreachable
}
define void@_SML_loadf7f5b9a54382c7f7_date(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@bw,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@bw,align 1
tail call void@_SML_load5c37eb24573fc5f9_StringCvt(i8*%a)#0
tail call void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*%a)#0
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_loadfd227ec42a85e2d0_Array(i8*%a)#0
tail call void@_SML_loadcbf81bea2bc04eab_Vector(i8*%a)#0
tail call void@_SML_loadce7036f3433e1102_Char(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load145db56e6796da5b_Substring(i8*%a)#0
tail call void@_SML_load23870d5de35409ab_Time(i8*%a)#0
tail call void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*%a)#0
tail call void@_SML_load4beb4c3c7634547e_CharArraySlice(i8*%a)#0
tail call void@_SML_load83aaee9bdacb8a0e_CharArray(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbf7f5b9a54382c7f7_date,i8*@_SML_ftabf7f5b9a54382c7f7_date,i8*bitcast([2x i64]*@bv to i8*))#0
ret void
}
define void@_SML_mainf7f5b9a54382c7f7_date()local_unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=load i8,i8*@bw,align 1
%j=and i8%i,2
%k=icmp eq i8%j,0
br i1%k,label%m,label%l
l:
ret void
m:
store i8 3,i8*@bw,align 1
tail call void@_SML_main5c37eb24573fc5f9_StringCvt()#2
tail call void@_SML_main5d4c3ea7bd6f9540_IntInf()#2
tail call void@_SML_main5148a836b3728be9_Int32()#2
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_mainfd227ec42a85e2d0_Array()#2
tail call void@_SML_maincbf81bea2bc04eab_Vector()#2
tail call void@_SML_maince7036f3433e1102_Char()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main145db56e6796da5b_Substring()#2
tail call void@_SML_main23870d5de35409ab_Time()#2
tail call void@_SML_main00d884c96265bfea_SMLSharp_Runtime()#2
tail call void@_SML_main4beb4c3c7634547e_CharArraySlice()#2
tail call void@_SML_main83aaee9bdacb8a0e_CharArray()#2
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
%n=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%n)#0
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%r,label%q
q:
invoke void@sml_check(i32 inreg%o)
to label%r unwind label%el
r:
%s=invoke fastcc i8*@_SMLFN6Vector8fromListE(i32 inreg 0,i32 inreg 4)
to label%t unwind label%el
t:
%u=getelementptr inbounds i8,i8*%s,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%s to i8**
%y=load i8*,i8**%x,align 8
%z=invoke fastcc i8*%w(i8*inreg%y,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@D,i64 0,i32 2)to i8*))
to label%A unwind label%el
A:
store i8*%z,i8**%b,align 8
%B=invoke fastcc i8*@_SMLFN6Vector8fromListE(i32 inreg 0,i32 inreg 4)
to label%C unwind label%el
C:
%D=getelementptr inbounds i8,i8*%B,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%B to i8**
%H=load i8*,i8**%G,align 8
%I=invoke fastcc i8*%F(i8*inreg%H,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@P,i64 0,i32 2)to i8*))
to label%J unwind label%el
J:
store i8*%I,i8**%c,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**%f,align 8
%N=load i8*,i8**%b,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%c,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%K,i64 16
%T=bitcast i8*%S to i32*
store i32 3,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**%f,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7tm2dateE_303 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7tm2dateE_303 to void(...)*),void(...)**%ac,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 24
%ae=bitcast i8*%ad to i32*
store i32 -2147483647,i32*%ae,align 4
%af=invoke fastcc i8*@_SMLFN6Vector8fromListE(i32 inreg 0,i32 inreg 4)
to label%ag unwind label%el
ag:
%ah=getelementptr inbounds i8,i8*%af,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%af to i8**
%al=load i8*,i8**%ak,align 8
%am=invoke fastcc i8*%aj(i8*inreg%al,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ah,i64 0,i32 2)to i8*))
to label%an unwind label%el
an:
store i8*%am,i8**%d,align 8
%ao=invoke fastcc i8*@_SMLFN6Vector8fromListE(i32 inreg 0,i32 inreg 4)
to label%ap unwind label%el
ap:
%aq=getelementptr inbounds i8,i8*%ao,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ao to i8**
%au=load i8*,i8**%at,align 8
%av=invoke fastcc i8*%as(i8*inreg%au,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@at,i64 0,i32 2)to i8*))
to label%aw unwind label%el
aw:
store i8*%av,i8**%e,align 8
%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
store i8*%ax,i8**%g,align 8
%aA=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i32*
store i32 1,i32*%aD,align 4
%aE=call i8*@sml_alloc(i32 inreg 28)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177304,i32*%aG,align 4
%aH=load i8*,i8**%g,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 void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN4Date23lastDayOfGregorianMonthE_339 to void(...)*),void(...)**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aE,i64 16
%aM=bitcast i8*%aL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date23lastDayOfGregorianMonthE_514 to void(...)*),void(...)**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aE,i64 24
%aO=bitcast i8*%aN to i32*
store i32 -2147483647,i32*%aO,align 4
%aP=call i8*@sml_alloc(i32 inreg 12)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177288,i32*%aR,align 4
store i8*%aP,i8**%d,align 8
%aS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aP,i64 8
%aV=bitcast i8*%aU to i32*
store i32 1,i32*%aV,align 4
%aW=call i8*@sml_alloc(i32 inreg 28)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177304,i32*%aY,align 4
%aZ=load i8*,i8**%d,align 8
%a0=bitcast i8*%aW to i8**
store i8*%aZ,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aW,i64 8
%a2=bitcast i8*%a1 to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN4Date10daysInYearE_344 to void(...)*),void(...)**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aW,i64 16
%a4=bitcast i8*%a3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date10daysInYearE_515 to void(...)*),void(...)**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aW,i64 24
%a6=bitcast i8*%a5 to i32*
store i32 -2147483647,i32*%a6,align 4
%a7=call i8*@sml_alloc(i32 inreg 12)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177288,i32*%a9,align 4
store i8*%a7,i8**%e,align 8
%ba=load i8*,i8**%d,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a7,i64 8
%bd=bitcast i8*%bc to i32*
store i32 1,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 28)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177304,i32*%bg,align 4
%bh=load i8*,i8**%e,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%be,i64 8
%bk=bitcast i8*%bj to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN4Date13toAbsoluteDayE_358 to void(...)*),void(...)**%bk,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 16
%bm=bitcast i8*%bl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date13toAbsoluteDayE_516 to void(...)*),void(...)**%bm,align 8
%bn=getelementptr inbounds i8,i8*%be,i64 24
%bo=bitcast i8*%bn to i32*
store i32 -2147483647,i32*%bo,align 4
%bp=call i8*@sml_alloc(i32 inreg 20)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177296,i32*%br,align 4
store i8*%bp,i8**%h,align 8
%bs=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%e,align 8
%bv=getelementptr inbounds i8,i8*%bp,i64 8
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bp,i64 16
%by=bitcast i8*%bx to i32*
store i32 3,i32*%by,align 4
%bz=call i8*@sml_alloc(i32 inreg 28)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177304,i32*%bB,align 4
%bC=load i8*,i8**%h,align 8
%bD=bitcast i8*%bz to i8**
store i8*%bC,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bz,i64 8
%bF=bitcast i8*%bE to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN4Date15fromAbsoluteDayE_368 to void(...)*),void(...)**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bz,i64 16
%bH=bitcast i8*%bG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date15fromAbsoluteDayE_519 to void(...)*),void(...)**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bz,i64 24
%bJ=bitcast i8*%bI to i32*
store i32 -2147483647,i32*%bJ,align 4
%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**%g,align 8
%bN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bQ=getelementptr inbounds i8,i8*%bK,i64 8
%bR=bitcast i8*%bQ to i8**
store i8*%bP,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bK,i64 16
%bT=bitcast i8*%bS to i32*
store i32 3,i32*%bT,align 4
%bU=call i8*@sml_alloc(i32 inreg 28)#0
%bV=getelementptr inbounds i8,i8*%bU,i64 -4
%bW=bitcast i8*%bV to i32*
store i32 1342177304,i32*%bW,align 4
%bX=load i8*,i8**%g,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bU,i64 8
%b0=bitcast i8*%bZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date13normalizeDateE_382 to void(...)*),void(...)**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bU,i64 16
%b2=bitcast i8*%b1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date13normalizeDateE_382 to void(...)*),void(...)**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bU,i64 24
%b4=bitcast i8*%b3 to i32*
store i32 -2147483647,i32*%b4,align 4
%b5=call i8*@sml_alloc(i32 inreg 36)#0
%b6=getelementptr inbounds i8,i8*%b5,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32 1342177312,i32*%b7,align 4
store i8*%b5,i8**%e,align 8
%b8=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%b9=bitcast i8*%b5 to i8**
store i8*%b8,i8**%b9,align 8
%ca=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cb=getelementptr inbounds i8,i8*%b5,i64 8
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ce=getelementptr inbounds i8,i8*%b5,i64 16
%cf=bitcast i8*%ce to i8**
store i8*%cd,i8**%cf,align 8
%cg=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ch=getelementptr inbounds i8,i8*%b5,i64 24
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%b5,i64 32
%ck=bitcast i8*%cj to i32*
store i32 15,i32*%ck,align 4
%cl=call i8*@sml_alloc(i32 inreg 28)#0
%cm=getelementptr inbounds i8,i8*%cl,i64 -4
%cn=bitcast i8*%cm to i32*
store i32 1342177304,i32*%cn,align 4
store i8*%cl,i8**%c,align 8
%co=load i8*,i8**%e,align 8
%cp=bitcast i8*%cl to i8**
store i8*%co,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%cl,i64 8
%cr=bitcast i8*%cq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4dateE_392 to void(...)*),void(...)**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cl,i64 16
%ct=bitcast i8*%cs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4dateE_392 to void(...)*),void(...)**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cl,i64 24
%cv=bitcast i8*%cu to i32*
store i32 -2147483647,i32*%cv,align 4
%cw=call i8*@sml_alloc(i32 inreg 12)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177288,i32*%cy,align 4
store i8*%cw,i8**%b,align 8
%cz=load i8*,i8**%f,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cw,i64 8
%cC=bitcast i8*%cB to i32*
store i32 1,i32*%cC,align 4
%cD=call i8*@sml_alloc(i32 inreg 28)#0
%cE=getelementptr inbounds i8,i8*%cD,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177304,i32*%cF,align 4
store i8*%cD,i8**%d,align 8
%cG=load i8*,i8**%b,align 8
%cH=bitcast i8*%cD to i8**
store i8*%cG,i8**%cH,align 8
%cI=getelementptr inbounds i8,i8*%cD,i64 8
%cJ=bitcast i8*%cI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date13fromTimeLocalE_393 to void(...)*),void(...)**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cD,i64 16
%cL=bitcast i8*%cK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date13fromTimeLocalE_393 to void(...)*),void(...)**%cL,align 8
%cM=getelementptr inbounds i8,i8*%cD,i64 24
%cN=bitcast i8*%cM to i32*
store i32 -2147483647,i32*%cN,align 4
%cO=call i8*@sml_alloc(i32 inreg 12)#0
%cP=bitcast i8*%cO to i32*
%cQ=getelementptr inbounds i8,i8*%cO,i64 -4
%cR=bitcast i8*%cQ to i32*
store i32 1342177288,i32*%cR,align 4
store i8*%cO,i8**%b,align 8
store i32 511,i32*%cP,align 4
%cS=getelementptr inbounds i8,i8*%cO,i64 8
%cT=bitcast i8*%cS to i32*
store i32 0,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
store i8*%cU,i8**%g,align 8
%cX=load i8*,i8**%b,align 8
%cY=bitcast i8*%cU to i8**
store i8*%cX,i8**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cU,i64 8
%c0=bitcast i8*%cZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date3fmtE_441 to void(...)*),void(...)**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cU,i64 16
%c2=bitcast i8*%c1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date3fmtE_441 to void(...)*),void(...)**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cU,i64 24
%c4=bitcast i8*%c3 to i32*
store i32 -2147483647,i32*%c4,align 4
store i8*null,i8**%b,align 8
%c5=invoke fastcc i8*@_SMLLN4Date3fmtE_441(i8*inreg%cX,i8*inreg getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@bh,i64 0,i32 2,i64 0))
to label%c6 unwind label%el
c6:
store i8*%c5,i8**%b,align 8
%c7=call i8*@sml_alloc(i32 inreg 12)#0
%c8=getelementptr inbounds i8,i8*%c7,i64 -4
%c9=bitcast i8*%c8 to i32*
store i32 1342177288,i32*%c9,align 4
store i8*%c7,i8**%h,align 8
%da=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%db=bitcast i8*%c7 to i8**
store i8*%da,i8**%db,align 8
%dc=getelementptr inbounds i8,i8*%c7,i64 8
%dd=bitcast i8*%dc to i32*
store i32 1,i32*%dd,align 4
%de=call i8*@sml_alloc(i32 inreg 28)#0
%df=getelementptr inbounds i8,i8*%de,i64 -4
%dg=bitcast i8*%df to i32*
store i32 1342177304,i32*%dg,align 4
%dh=load i8*,i8**%h,align 8
%di=bitcast i8*%de to i8**
store i8*%dh,i8**%di,align 8
%dj=getelementptr inbounds i8,i8*%de,i64 8
%dk=bitcast i8*%dj to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLLN4Date4scanE_468 to void(...)*),void(...)**%dk,align 8
%dl=getelementptr inbounds i8,i8*%de,i64 16
%dm=bitcast i8*%dl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN4Date4scanE_542 to void(...)*),void(...)**%dm,align 8
%dn=getelementptr inbounds i8,i8*%de,i64 24
%do=bitcast i8*%dn to i32*
store i32 -2147483647,i32*%do,align 4
%dp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0),i8*inreg%dp)#0
%dq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 1),i8*inreg%dq)#0
%dr=call i8*@sml_alloc(i32 inreg 12)#0
%ds=getelementptr inbounds i8,i8*%dr,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177288,i32*%dt,align 4
store i8*%dr,i8**%c,align 8
%du=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dr,i64 8
%dx=bitcast i8*%dw to i32*
store i32 1,i32*%dx,align 4
%dy=call i8*@sml_alloc(i32 inreg 28)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32 1342177304,i32*%dA,align 4
%dB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dC=bitcast i8*%dy to i8**
store i8*%dB,i8**%dC,align 8
%dD=getelementptr inbounds i8,i8*%dy,i64 8
%dE=bitcast i8*%dD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date12fromTimeUnivE_493 to void(...)*),void(...)**%dE,align 8
%dF=getelementptr inbounds i8,i8*%dy,i64 16
%dG=bitcast i8*%dF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date12fromTimeUnivE_493 to void(...)*),void(...)**%dG,align 8
%dH=getelementptr inbounds i8,i8*%dy,i64 24
%dI=bitcast i8*%dH to i32*
store i32 -2147483647,i32*%dI,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 2),i8*inreg%dy)#0
%dJ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 3),i8*inreg%dJ)#0
%dK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 4),i8*inreg%dK)#0
%dL=call i8*@sml_alloc(i32 inreg 12)#0
%dM=getelementptr inbounds i8,i8*%dL,i64 -4
%dN=bitcast i8*%dM to i32*
store i32 1342177288,i32*%dN,align 4
store i8*%dL,i8**%b,align 8
%dO=load i8*,i8**%h,align 8
%dP=bitcast i8*%dL to i8**
store i8*%dO,i8**%dP,align 8
%dQ=getelementptr inbounds i8,i8*%dL,i64 8
%dR=bitcast i8*%dQ to i32*
store i32 1,i32*%dR,align 4
%dS=call i8*@sml_alloc(i32 inreg 28)#0
%dT=getelementptr inbounds i8,i8*%dS,i64 -4
%dU=bitcast i8*%dT to i32*
store i32 1342177304,i32*%dU,align 4
%dV=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dW=bitcast i8*%dS to i8**
store i8*%dV,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dS,i64 8
%dY=bitcast i8*%dX to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32)*@_SMLLN4Date4scanE_498 to void(...)*),void(...)**%dY,align 8
%dZ=getelementptr inbounds i8,i8*%dS,i64 16
%d0=bitcast i8*%dZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN4Date4scanE_559 to void(...)*),void(...)**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dS,i64 24
%d2=bitcast i8*%d1 to i32*
store i32 -2147483647,i32*%d2,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 5),i8*inreg%dS)#0
%d3=call i8*@sml_alloc(i32 inreg 12)#0
%d4=getelementptr inbounds i8,i8*%d3,i64 -4
%d5=bitcast i8*%d4 to i32*
store i32 1342177288,i32*%d5,align 4
store i8*%d3,i8**%b,align 8
%d6=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%d7=bitcast i8*%d3 to i8**
store i8*%d6,i8**%d7,align 8
%d8=getelementptr inbounds i8,i8*%d3,i64 8
%d9=bitcast i8*%d8 to i32*
store i32 1,i32*%d9,align 4
%ea=call i8*@sml_alloc(i32 inreg 28)#0
%eb=getelementptr inbounds i8,i8*%ea,i64 -4
%ec=bitcast i8*%eb to i32*
store i32 1342177304,i32*%ec,align 4
%ed=load i8*,i8**%b,align 8
%ee=bitcast i8*%ea to i8**
store i8*%ed,i8**%ee,align 8
%ef=getelementptr inbounds i8,i8*%ea,i64 8
%eg=bitcast i8*%ef to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date10fromStringE_500 to void(...)*),void(...)**%eg,align 8
%eh=getelementptr inbounds i8,i8*%ea,i64 16
%ei=bitcast i8*%eh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date10fromStringE_500 to void(...)*),void(...)**%ei,align 8
%ej=getelementptr inbounds i8,i8*%ea,i64 24
%ek=bitcast i8*%ej to i32*
store i32 -2147483647,i32*%ek,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 6),i8*inreg%ea)#0
call void@sml_end()#0
ret void
el:
%em=landingpad{i8*,i8*}
cleanup
%en=extractvalue{i8*,i8*}%em,1
call void@sml_save_exn(i8*inreg%en)#0
call void@sml_end()#0
resume{i8*,i8*}%em
}
define internal fastcc i8*@_SMLLN4Date10localTime_GE_248(i32 inreg%a)unnamed_addr#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 i8*@_SMLFN5Array5arrayE(i32 inreg 0,i32 inreg 4)
%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
%n=call fastcc i8*%k(i8*inreg%m,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@l,i64 0,i32 2)to i8*))
%o=call i32@prim_Date_localTime(i32%a,i8*%n)
%p=icmp eq i32%o,0
br i1%p,label%z,label%q
q:
%r=call fastcc i8*@_SMLFN16SMLSharp__Runtime9OS__SysErrE(i32 inreg 0)
store i8*%r,i8**%b,align 8
%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**%b,align 8
%y=bitcast i8*%s to i8**
store i8*%x,i8**%y,align 8
call void@sml_raise(i8*inreg%s)#1
unreachable
z:
%A=getelementptr inbounds i8,i8*%n,i64 -4
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=and i32%C,268435452
%E=icmp eq i32%D,0
br i1%E,label%K,label%F
F:
%G=bitcast i8*%n to i32*
%H=load i32,i32*%G,align 4
%I=and i32%C,268435448
%J=icmp eq i32%I,0
br i1%J,label%ah,label%ac
K:
%L=load i8*,i8**@_SMLZ9Subscript,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,[37x i8]}>,<{[4x i8],i32,[37x i8]}>*@c,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
%aa=load i8*,i8**%c,align 8
%ab=bitcast i8*%V to i8**
store i8*%aa,i8**%ab,align 8
call void@sml_raise(i8*inreg%V)#1
unreachable
ac:
%ad=getelementptr inbounds i8,i8*%n,i64 4
%ae=bitcast i8*%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=icmp ult i32%D,9
br i1%ag,label%aF,label%az
ah:
%ai=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%ai,i8**%b,align 8
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
store i8*%aj,i8**%c,align 8
%am=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@d,i64 0,i32 2,i64 0),i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 16
%ar=bitcast i8*%aq to i32*
store i32 3,i32*%ar,align 4
%as=call i8*@sml_alloc(i32 inreg 60)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177336,i32*%au,align 4
%av=getelementptr inbounds i8,i8*%as,i64 56
%aw=bitcast i8*%av to i32*
store i32 1,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
%ay=bitcast i8*%as to i8**
store i8*%ax,i8**%ay,align 8
call void@sml_raise(i8*inreg%as)#1
unreachable
az:
%aA=getelementptr inbounds i8,i8*%n,i64 8
%aB=bitcast i8*%aA to i32*
%aC=load i32,i32*%aB,align 4
%aD=and i32%C,268435440
%aE=icmp eq i32%aD,0
br i1%aE,label%a2,label%aX
aF:
%aG=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%aG,i8**%b,align 8
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
store i8*%aH,i8**%c,align 8
%aK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aH,i64 8
%aN=bitcast i8*%aM to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@e,i64 0,i32 2,i64 0),i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 60)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177336,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aQ,i64 56
%aU=bitcast i8*%aT to i32*
store i32 1,i32*%aU,align 4
%aV=load i8*,i8**%c,align 8
%aW=bitcast i8*%aQ to i8**
store i8*%aV,i8**%aW,align 8
call void@sml_raise(i8*inreg%aQ)#1
unreachable
aX:
%aY=getelementptr inbounds i8,i8*%n,i64 12
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
%a1=icmp ult i32%D,17
br i1%a1,label%bp,label%bk
a2:
%a3=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%a3,i8**%b,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%c,align 8
%a7=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@f,i64 0,i32 2,i64 0),i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to i32*
store i32 3,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 60)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177336,i32*%bf,align 4
%bg=getelementptr inbounds i8,i8*%bd,i64 56
%bh=bitcast i8*%bg to i32*
store i32 1,i32*%bh,align 4
%bi=load i8*,i8**%c,align 8
%bj=bitcast i8*%bd to i8**
store i8*%bi,i8**%bj,align 8
call void@sml_raise(i8*inreg%bd)#1
unreachable
bk:
%bl=getelementptr inbounds i8,i8*%n,i64 16
%bm=bitcast i8*%bl to i32*
%bn=load i32,i32*%bm,align 4
%bo=icmp ult i32%I,21
br i1%bo,label%bM,label%bH
bp:
%bq=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%bq,i8**%b,align 8
%br=call i8*@sml_alloc(i32 inreg 20)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177296,i32*%bt,align 4
store i8*%br,i8**%c,align 8
%bu=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@g,i64 0,i32 2,i64 0),i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%br,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 60)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177336,i32*%bC,align 4
%bD=getelementptr inbounds i8,i8*%bA,i64 56
%bE=bitcast i8*%bD to i32*
store i32 1,i32*%bE,align 4
%bF=load i8*,i8**%c,align 8
%bG=bitcast i8*%bA to i8**
store i8*%bF,i8**%bG,align 8
call void@sml_raise(i8*inreg%bA)#1
unreachable
bH:
%bI=getelementptr inbounds i8,i8*%n,i64 20
%bJ=bitcast i8*%bI to i32*
%bK=load i32,i32*%bJ,align 4
%bL=icmp ult i32%D,25
br i1%bL,label%ca,label%b4
bM:
%bN=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%bN,i8**%b,align 8
%bO=call i8*@sml_alloc(i32 inreg 20)#0
%bP=getelementptr inbounds i8,i8*%bO,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177296,i32*%bQ,align 4
store i8*%bO,i8**%c,align 8
%bR=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bS=bitcast i8*%bO to i8**
store i8*%bR,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bO,i64 8
%bU=bitcast i8*%bT to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@h,i64 0,i32 2,i64 0),i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bO,i64 16
%bW=bitcast i8*%bV to i32*
store i32 3,i32*%bW,align 4
%bX=call i8*@sml_alloc(i32 inreg 60)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177336,i32*%bZ,align 4
%b0=getelementptr inbounds i8,i8*%bX,i64 56
%b1=bitcast i8*%b0 to i32*
store i32 1,i32*%b1,align 4
%b2=load i8*,i8**%c,align 8
%b3=bitcast i8*%bX to i8**
store i8*%b2,i8**%b3,align 8
call void@sml_raise(i8*inreg%bX)#1
unreachable
b4:
%b5=getelementptr inbounds i8,i8*%n,i64 24
%b6=bitcast i8*%b5 to i32*
%b7=load i32,i32*%b6,align 4
%b8=and i32%C,268435424
%b9=icmp eq i32%b8,0
br i1%b9,label%cu,label%cs
ca:
%cb=load i8*,i8**@_SMLZ9Subscript,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,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@i,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=icmp ult i32%D,33
br i1%ct,label%dh,label%cM
cu:
%cv=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%cv,i8**%b,align 8
%cw=call i8*@sml_alloc(i32 inreg 20)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177296,i32*%cy,align 4
store i8*%cw,i8**%c,align 8
%cz=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cw,i64 8
%cC=bitcast i8*%cB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@j,i64 0,i32 2,i64 0),i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cw,i64 16
%cE=bitcast i8*%cD to i32*
store i32 3,i32*%cE,align 4
%cF=call i8*@sml_alloc(i32 inreg 60)#0
%cG=getelementptr inbounds i8,i8*%cF,i64 -4
%cH=bitcast i8*%cG to i32*
store i32 1342177336,i32*%cH,align 4
%cI=getelementptr inbounds i8,i8*%cF,i64 56
%cJ=bitcast i8*%cI to i32*
store i32 1,i32*%cJ,align 4
%cK=load i8*,i8**%c,align 8
%cL=bitcast i8*%cF to i8**
store i8*%cK,i8**%cL,align 8
call void@sml_raise(i8*inreg%cF)#1
unreachable
cM:
%cN=getelementptr inbounds i8,i8*%n,i64 28
%cO=bitcast i8*%cN to i32*
%cP=load i32,i32*%cO,align 4
%cQ=getelementptr inbounds i8,i8*%n,i64 32
%cR=bitcast i8*%cQ to i32*
%cS=load i32,i32*%cR,align 4
%cT=call i8*@sml_alloc(i32 inreg 44)#0
%cU=bitcast i8*%cT to i32*
%cV=getelementptr inbounds i8,i8*%cT,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177320,i32*%cW,align 4
%cX=getelementptr inbounds i8,i8*%cT,i64 36
%cY=bitcast i8*%cX to i32*
store i32 0,i32*%cY,align 1
store i32%H,i32*%cU,align 4
%cZ=getelementptr inbounds i8,i8*%cT,i64 4
%c0=bitcast i8*%cZ to i32*
store i32%af,i32*%c0,align 4
%c1=getelementptr inbounds i8,i8*%cT,i64 8
%c2=bitcast i8*%c1 to i32*
store i32%aC,i32*%c2,align 4
%c3=getelementptr inbounds i8,i8*%cT,i64 12
%c4=bitcast i8*%c3 to i32*
store i32%a0,i32*%c4,align 4
%c5=getelementptr inbounds i8,i8*%cT,i64 16
%c6=bitcast i8*%c5 to i32*
store i32%bn,i32*%c6,align 4
%c7=getelementptr inbounds i8,i8*%cT,i64 20
%c8=bitcast i8*%c7 to i32*
store i32%bK,i32*%c8,align 4
%c9=getelementptr inbounds i8,i8*%cT,i64 24
%da=bitcast i8*%c9 to i32*
store i32%b7,i32*%da,align 4
%db=getelementptr inbounds i8,i8*%cT,i64 28
%dc=bitcast i8*%db to i32*
store i32%cP,i32*%dc,align 4
%dd=getelementptr inbounds i8,i8*%cT,i64 32
%de=bitcast i8*%dd to i32*
store i32%cS,i32*%de,align 4
%df=getelementptr inbounds i8,i8*%cT,i64 40
%dg=bitcast i8*%df to i32*
store i32 0,i32*%dg,align 4
ret i8*%cT
dh:
%di=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%di,i8**%b,align 8
%dj=call i8*@sml_alloc(i32 inreg 20)#0
%dk=getelementptr inbounds i8,i8*%dj,i64 -4
%dl=bitcast i8*%dk to i32*
store i32 1342177296,i32*%dl,align 4
store i8*%dj,i8**%c,align 8
%dm=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dn=bitcast i8*%dj to i8**
store i8*%dm,i8**%dn,align 8
%do=getelementptr inbounds i8,i8*%dj,i64 8
%dp=bitcast i8*%do to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@k,i64 0,i32 2,i64 0),i8**%dp,align 8
%dq=getelementptr inbounds i8,i8*%dj,i64 16
%dr=bitcast i8*%dq to i32*
store i32 3,i32*%dr,align 4
%ds=call i8*@sml_alloc(i32 inreg 60)#0
%dt=getelementptr inbounds i8,i8*%ds,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177336,i32*%du,align 4
%dv=getelementptr inbounds i8,i8*%ds,i64 56
%dw=bitcast i8*%dv to i32*
store i32 1,i32*%dw,align 4
%dx=load i8*,i8**%c,align 8
%dy=bitcast i8*%ds to i8**
store i8*%dx,i8**%dy,align 8
call void@sml_raise(i8*inreg%ds)#1
unreachable
}
define internal fastcc i8*@_SMLLN4Date7gmTime_GE_260(i32 inreg%a)unnamed_addr#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 i8*@_SMLFN5Array5arrayE(i32 inreg 0,i32 inreg 4)
%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
%n=call fastcc i8*%k(i8*inreg%m,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@l,i64 0,i32 2)to i8*))
%o=call i32@prim_Date_gmTime(i32%a,i8*%n)
%p=icmp eq i32%o,0
br i1%p,label%z,label%q
q:
%r=call fastcc i8*@_SMLFN16SMLSharp__Runtime9OS__SysErrE(i32 inreg 0)
store i8*%r,i8**%b,align 8
%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**%b,align 8
%y=bitcast i8*%s to i8**
store i8*%x,i8**%y,align 8
call void@sml_raise(i8*inreg%s)#1
unreachable
z:
%A=getelementptr inbounds i8,i8*%n,i64 -4
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=and i32%C,268435452
%E=icmp eq i32%D,0
br i1%E,label%K,label%F
F:
%G=bitcast i8*%n to i32*
%H=load i32,i32*%G,align 4
%I=and i32%C,268435448
%J=icmp eq i32%I,0
br i1%J,label%ah,label%ac
K:
%L=load i8*,i8**@_SMLZ9Subscript,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,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@m,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
%aa=load i8*,i8**%c,align 8
%ab=bitcast i8*%V to i8**
store i8*%aa,i8**%ab,align 8
call void@sml_raise(i8*inreg%V)#1
unreachable
ac:
%ad=getelementptr inbounds i8,i8*%n,i64 4
%ae=bitcast i8*%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=icmp ult i32%D,9
br i1%ag,label%aF,label%az
ah:
%ai=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%ai,i8**%b,align 8
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177296,i32*%al,align 4
store i8*%aj,i8**%c,align 8
%am=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@n,i64 0,i32 2,i64 0),i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 16
%ar=bitcast i8*%aq to i32*
store i32 3,i32*%ar,align 4
%as=call i8*@sml_alloc(i32 inreg 60)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177336,i32*%au,align 4
%av=getelementptr inbounds i8,i8*%as,i64 56
%aw=bitcast i8*%av to i32*
store i32 1,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
%ay=bitcast i8*%as to i8**
store i8*%ax,i8**%ay,align 8
call void@sml_raise(i8*inreg%as)#1
unreachable
az:
%aA=getelementptr inbounds i8,i8*%n,i64 8
%aB=bitcast i8*%aA to i32*
%aC=load i32,i32*%aB,align 4
%aD=and i32%C,268435440
%aE=icmp eq i32%aD,0
br i1%aE,label%a2,label%aX
aF:
%aG=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%aG,i8**%b,align 8
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
store i8*%aH,i8**%c,align 8
%aK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aH,i64 8
%aN=bitcast i8*%aM to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@o,i64 0,i32 2,i64 0),i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 60)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177336,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aQ,i64 56
%aU=bitcast i8*%aT to i32*
store i32 1,i32*%aU,align 4
%aV=load i8*,i8**%c,align 8
%aW=bitcast i8*%aQ to i8**
store i8*%aV,i8**%aW,align 8
call void@sml_raise(i8*inreg%aQ)#1
unreachable
aX:
%aY=getelementptr inbounds i8,i8*%n,i64 12
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
%a1=icmp ult i32%D,17
br i1%a1,label%bp,label%bk
a2:
%a3=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%a3,i8**%b,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%c,align 8
%a7=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@p,i64 0,i32 2,i64 0),i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to i32*
store i32 3,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 60)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177336,i32*%bf,align 4
%bg=getelementptr inbounds i8,i8*%bd,i64 56
%bh=bitcast i8*%bg to i32*
store i32 1,i32*%bh,align 4
%bi=load i8*,i8**%c,align 8
%bj=bitcast i8*%bd to i8**
store i8*%bi,i8**%bj,align 8
call void@sml_raise(i8*inreg%bd)#1
unreachable
bk:
%bl=getelementptr inbounds i8,i8*%n,i64 16
%bm=bitcast i8*%bl to i32*
%bn=load i32,i32*%bm,align 4
%bo=icmp ult i32%I,21
br i1%bo,label%bM,label%bH
bp:
%bq=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%bq,i8**%b,align 8
%br=call i8*@sml_alloc(i32 inreg 20)#0
%bs=getelementptr inbounds i8,i8*%br,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177296,i32*%bt,align 4
store i8*%br,i8**%c,align 8
%bu=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@q,i64 0,i32 2,i64 0),i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%br,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 60)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177336,i32*%bC,align 4
%bD=getelementptr inbounds i8,i8*%bA,i64 56
%bE=bitcast i8*%bD to i32*
store i32 1,i32*%bE,align 4
%bF=load i8*,i8**%c,align 8
%bG=bitcast i8*%bA to i8**
store i8*%bF,i8**%bG,align 8
call void@sml_raise(i8*inreg%bA)#1
unreachable
bH:
%bI=getelementptr inbounds i8,i8*%n,i64 20
%bJ=bitcast i8*%bI to i32*
%bK=load i32,i32*%bJ,align 4
%bL=icmp ult i32%D,25
br i1%bL,label%ca,label%b4
bM:
%bN=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%bN,i8**%b,align 8
%bO=call i8*@sml_alloc(i32 inreg 20)#0
%bP=getelementptr inbounds i8,i8*%bO,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177296,i32*%bQ,align 4
store i8*%bO,i8**%c,align 8
%bR=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bS=bitcast i8*%bO to i8**
store i8*%bR,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bO,i64 8
%bU=bitcast i8*%bT to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@r,i64 0,i32 2,i64 0),i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bO,i64 16
%bW=bitcast i8*%bV to i32*
store i32 3,i32*%bW,align 4
%bX=call i8*@sml_alloc(i32 inreg 60)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177336,i32*%bZ,align 4
%b0=getelementptr inbounds i8,i8*%bX,i64 56
%b1=bitcast i8*%b0 to i32*
store i32 1,i32*%b1,align 4
%b2=load i8*,i8**%c,align 8
%b3=bitcast i8*%bX to i8**
store i8*%b2,i8**%b3,align 8
call void@sml_raise(i8*inreg%bX)#1
unreachable
b4:
%b5=getelementptr inbounds i8,i8*%n,i64 24
%b6=bitcast i8*%b5 to i32*
%b7=load i32,i32*%b6,align 4
%b8=and i32%C,268435424
%b9=icmp eq i32%b8,0
br i1%b9,label%cu,label%cs
ca:
%cb=load i8*,i8**@_SMLZ9Subscript,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,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@s,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=icmp ult i32%D,33
br i1%ct,label%dh,label%cM
cu:
%cv=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%cv,i8**%b,align 8
%cw=call i8*@sml_alloc(i32 inreg 20)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177296,i32*%cy,align 4
store i8*%cw,i8**%c,align 8
%cz=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cw,i64 8
%cC=bitcast i8*%cB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@t,i64 0,i32 2,i64 0),i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cw,i64 16
%cE=bitcast i8*%cD to i32*
store i32 3,i32*%cE,align 4
%cF=call i8*@sml_alloc(i32 inreg 60)#0
%cG=getelementptr inbounds i8,i8*%cF,i64 -4
%cH=bitcast i8*%cG to i32*
store i32 1342177336,i32*%cH,align 4
%cI=getelementptr inbounds i8,i8*%cF,i64 56
%cJ=bitcast i8*%cI to i32*
store i32 1,i32*%cJ,align 4
%cK=load i8*,i8**%c,align 8
%cL=bitcast i8*%cF to i8**
store i8*%cK,i8**%cL,align 8
call void@sml_raise(i8*inreg%cF)#1
unreachable
cM:
%cN=getelementptr inbounds i8,i8*%n,i64 28
%cO=bitcast i8*%cN to i32*
%cP=load i32,i32*%cO,align 4
%cQ=getelementptr inbounds i8,i8*%n,i64 32
%cR=bitcast i8*%cQ to i32*
%cS=load i32,i32*%cR,align 4
%cT=call i8*@sml_alloc(i32 inreg 44)#0
%cU=bitcast i8*%cT to i32*
%cV=getelementptr inbounds i8,i8*%cT,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177320,i32*%cW,align 4
%cX=getelementptr inbounds i8,i8*%cT,i64 36
%cY=bitcast i8*%cX to i32*
store i32 0,i32*%cY,align 1
store i32%H,i32*%cU,align 4
%cZ=getelementptr inbounds i8,i8*%cT,i64 4
%c0=bitcast i8*%cZ to i32*
store i32%af,i32*%c0,align 4
%c1=getelementptr inbounds i8,i8*%cT,i64 8
%c2=bitcast i8*%c1 to i32*
store i32%aC,i32*%c2,align 4
%c3=getelementptr inbounds i8,i8*%cT,i64 12
%c4=bitcast i8*%c3 to i32*
store i32%a0,i32*%c4,align 4
%c5=getelementptr inbounds i8,i8*%cT,i64 16
%c6=bitcast i8*%c5 to i32*
store i32%bn,i32*%c6,align 4
%c7=getelementptr inbounds i8,i8*%cT,i64 20
%c8=bitcast i8*%c7 to i32*
store i32%bK,i32*%c8,align 4
%c9=getelementptr inbounds i8,i8*%cT,i64 24
%da=bitcast i8*%c9 to i32*
store i32%b7,i32*%da,align 4
%db=getelementptr inbounds i8,i8*%cT,i64 28
%dc=bitcast i8*%db to i32*
store i32%cP,i32*%dc,align 4
%dd=getelementptr inbounds i8,i8*%cT,i64 32
%de=bitcast i8*%dd to i32*
store i32%cS,i32*%de,align 4
%df=getelementptr inbounds i8,i8*%cT,i64 40
%dg=bitcast i8*%df to i32*
store i32 0,i32*%dg,align 4
ret i8*%cT
dh:
%di=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%di,i8**%b,align 8
%dj=call i8*@sml_alloc(i32 inreg 20)#0
%dk=getelementptr inbounds i8,i8*%dj,i64 -4
%dl=bitcast i8*%dk to i32*
store i32 1342177296,i32*%dl,align 4
store i8*%dj,i8**%c,align 8
%dm=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dn=bitcast i8*%dj to i8**
store i8*%dm,i8**%dn,align 8
%do=getelementptr inbounds i8,i8*%dj,i64 8
%dp=bitcast i8*%do to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@u,i64 0,i32 2,i64 0),i8**%dp,align 8
%dq=getelementptr inbounds i8,i8*%dj,i64 16
%dr=bitcast i8*%dq to i32*
store i32 3,i32*%dr,align 4
%ds=call i8*@sml_alloc(i32 inreg 60)#0
%dt=getelementptr inbounds i8,i8*%ds,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177336,i32*%du,align 4
%dv=getelementptr inbounds i8,i8*%ds,i64 56
%dw=bitcast i8*%dv to i32*
store i32 1,i32*%dw,align 4
%dx=load i8*,i8**%c,align 8
%dy=bitcast i8*%ds to i8**
store i8*%dx,i8**%dy,align 8
call void@sml_raise(i8*inreg%ds)#1
unreachable
}
define internal fastcc i32@_SMLLN4Date10timeToSecsE_266(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]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN4Time9toSecondsE(i8*inreg%h)
%k=tail call fastcc i32@_SMLFN6IntInf5toIntE(i8*inreg%j)
ret i32%k
}
define internal fastcc i32@_SMLLN4Date18localOffsetForTimeE_276(i32 inreg%a)unnamed_addr#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 i8*@_SMLLN4Date7gmTime_GE_260(i32 inreg%a)
store i8*%h,i8**%b,align 8
%i=call fastcc i8*@_SMLLN4Date10localTime_GE_248(i32 inreg%a)
%j=getelementptr inbounds i8,i8*%i,i64 32
%k=bitcast i8*%j to i32*
%l=load i32,i32*%k,align 4
%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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%s=bitcast i8*%m to i8**
store i8*%r,i8**%s,align 8
%t=getelementptr inbounds i8,i8*%m,i64 8
%u=bitcast i8*%t to i32*
store i32%l,i32*%u,align 4
%v=getelementptr inbounds i8,i8*%m,i64 16
%w=bitcast i8*%v to i32*
store i32 1,i32*%w,align 4
%x=bitcast i8*%r to i32*
%y=load i32,i32*%x,align 4
%z=getelementptr inbounds i8,i8*%r,i64 4
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=getelementptr inbounds i8,i8*%r,i64 8
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=getelementptr inbounds i8,i8*%r,i64 12
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
%I=getelementptr inbounds i8,i8*%r,i64 16
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=getelementptr inbounds i8,i8*%r,i64 20
%M=bitcast i8*%L to i32*
%N=load i32,i32*%M,align 4
%O=getelementptr inbounds i8,i8*%r,i64 24
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=getelementptr inbounds i8,i8*%r,i64 28
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
%U=call i8*@sml_alloc(i32 inreg 44)#0
%V=bitcast i8*%U to i32*
%W=getelementptr inbounds i8,i8*%U,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177320,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%U,i64 36
%Z=bitcast i8*%Y to i32*
store i32 0,i32*%Z,align 1
store i32%y,i32*%V,align 4
%aa=getelementptr inbounds i8,i8*%U,i64 4
%ab=bitcast i8*%aa to i32*
store i32%B,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%U,i64 8
%ad=bitcast i8*%ac to i32*
store i32%E,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%U,i64 12
%af=bitcast i8*%ae to i32*
store i32%H,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%U,i64 16
%ah=bitcast i8*%ag to i32*
store i32%K,i32*%ah,align 4
%ai=getelementptr inbounds i8,i8*%U,i64 20
%aj=bitcast i8*%ai to i32*
store i32%N,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%U,i64 24
%al=bitcast i8*%ak to i32*
store i32%Q,i32*%al,align 4
%am=getelementptr inbounds i8,i8*%U,i64 28
%an=bitcast i8*%am to i32*
store i32%T,i32*%an,align 4
%ao=getelementptr inbounds i8,i8*%U,i64 32
%ap=bitcast i8*%ao to i32*
store i32%l,i32*%ap,align 4
%aq=getelementptr inbounds i8,i8*%U,i64 40
%ar=bitcast i8*%aq to i32*
store i32 0,i32*%ar,align 4
%as=call i32@prim_Date_mkTime(i8*%U)
%at=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%a,i32%as)#0
%au=extractvalue{i32,i1}%at,1
br i1%au,label%av,label%aN
av:
%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
store i8*%ax,i8**%c,align 8
%aA=load i8*,i8**%b,align 8
store i8*null,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,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@x,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
%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=sub nsw i32%a,%as
ret i32%aO
}
define internal fastcc i32@_SMLLN4Date10monthToIntE_298(i32 inreg%a)unnamed_addr#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=icmp ult i32%a,12
br i1%h,label%A,label%i
i:
call void@sml_matchcomp_bug()
%j=load i8*,i8**@_SMLZ5Match,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,[37x i8]}>,<{[4x i8],i32,[37x i8]}>*@Q,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
A:
%B=sext i32%a to i64
%C=getelementptr inbounds[12x i32],[12x i32]*@bx,i64 0,i64%B
%D=load i32,i32*%C,align 4
ret i32%D
}
define internal fastcc i8*@_SMLLN4Date7tm2dateE_303(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=getelementptr inbounds i8,i8*%b,i64 8
%f=bitcast i8*%e to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=bitcast i8*%b to i8**
%i=load i8*,i8**%h,align 8
%j=getelementptr inbounds i8,i8*%i,i64 20
%k=bitcast i8*%j to i32*
%l=load i32,i32*%k,align 4
%m=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%l,i32 1900)#0
%n=extractvalue{i32,i1}%m,1
br i1%n,label%o,label%G
o:
store i8*null,i8**%d,align 8
%p=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%p,i8**%c,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**%d,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,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,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@R,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**%d,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:
%H=add nsw i32%l,1900
%I=getelementptr inbounds i8,i8*%i,i64 16
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=icmp slt i32%K,0
br i1%L,label%ar,label%M
M:
%N=getelementptr inbounds i8,i8*%a,i64 8
%O=bitcast i8*%N 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=lshr i32%R,2
%T=and i32%S,67108863
%U=icmp slt i32%K,%T
br i1%U,label%V,label%ar
V:
%W=bitcast i32*%P to i8*
%X=shl i32%K,2
%Y=sext i32%X to i64
%Z=getelementptr inbounds i8,i8*%W,i64%Y
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=getelementptr inbounds i8,i8*%i,i64 12
%ad=bitcast i8*%ac to i32*
%ae=load i32,i32*%ad,align 4
%af=getelementptr inbounds i8,i8*%i,i64 8
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=getelementptr inbounds i8,i8*%i,i64 4
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=bitcast i8*%i to i32*
%am=load i32,i32*%al,align 4
%an=getelementptr inbounds i8,i8*%i,i64 24
%ao=bitcast i8*%an to i32*
%ap=load i32,i32*%ao,align 4
%aq=icmp slt i32%ap,0
br i1%aq,label%a5,label%aJ
ar:
store i8*null,i8**%d,align 8
%as=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%as,i8**%c,align 8
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177296,i32*%av,align 4
store i8*%at,i8**%d,align 8
%aw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%at,i64 8
%az=bitcast i8*%ay to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@S,i64 0,i32 2,i64 0),i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 16
%aB=bitcast i8*%aA to i32*
store i32 3,i32*%aB,align 4
%aC=call i8*@sml_alloc(i32 inreg 60)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177336,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%aC,i64 56
%aG=bitcast i8*%aF to i32*
store i32 1,i32*%aG,align 4
%aH=load i8*,i8**%d,align 8
%aI=bitcast i8*%aC to i8**
store i8*%aH,i8**%aI,align 8
call void@sml_raise(i8*inreg%aC)#1
unreachable
aJ:
%aK=bitcast i8*%a to i32**
%aL=load i32*,i32**%aK,align 8
%aM=getelementptr inbounds i32,i32*%aL,i64 -1
%aN=load i32,i32*%aM,align 4
%aO=lshr i32%aN,2
%aP=and i32%aO,67108863
%aQ=icmp slt i32%ap,%aP
br i1%aQ,label%aR,label%a5
aR:
%aS=bitcast i32*%aL to i8*
%aT=shl i32%ap,2
%aU=sext i32%aT to i64
%aV=getelementptr inbounds i8,i8*%aS,i64%aU
%aW=bitcast i8*%aV to i32*
%aX=load i32,i32*%aW,align 4
%aY=getelementptr inbounds i8,i8*%i,i64 28
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
%a1=getelementptr inbounds i8,i8*%i,i64 32
%a2=bitcast i8*%a1 to i32*
%a3=load i32,i32*%a2,align 4
%a4=icmp sgt i32%a3,-1
br i1%a4,label%bn,label%by
a5:
store i8*null,i8**%d,align 8
%a6=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%a6,i8**%c,align 8
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177296,i32*%a9,align 4
store i8*%a7,i8**%d,align 8
%ba=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a7,i64 8
%bd=bitcast i8*%bc to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@T,i64 0,i32 2,i64 0),i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 16
%bf=bitcast i8*%be to i32*
store i32 3,i32*%bf,align 4
%bg=call i8*@sml_alloc(i32 inreg 60)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177336,i32*%bi,align 4
%bj=getelementptr inbounds i8,i8*%bg,i64 56
%bk=bitcast i8*%bj to i32*
store i32 1,i32*%bk,align 4
%bl=load i8*,i8**%d,align 8
%bm=bitcast i8*%bg to i8**
store i8*%bl,i8**%bm,align 8
call void@sml_raise(i8*inreg%bg)#1
unreachable
bn:
%bo=icmp ne i32%a3,0
%bp=zext i1%bo to i32
%bq=call i8*@sml_alloc(i32 inreg 12)#0
%br=bitcast i8*%bq to i32*
%bs=getelementptr inbounds i8,i8*%bq,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177288,i32*%bt,align 4
%bu=getelementptr inbounds i8,i8*%bq,i64 4
%bv=bitcast i8*%bu to i32*
store i32 0,i32*%bv,align 1
store i32%bp,i32*%br,align 4
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i32*
store i32 0,i32*%bx,align 4
br label%by
by:
%bz=phi i8*[%bq,%bn],[null,%aR]
store i8*%bz,i8**%c,align 8
%bA=call i8*@sml_alloc(i32 inreg 52)#0
%bB=bitcast i8*%bA to i32*
%bC=getelementptr inbounds i8,i8*%bA,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177328,i32*%bD,align 4
store i32%ae,i32*%bB,align 4
%bE=getelementptr inbounds i8,i8*%bA,i64 4
%bF=bitcast i8*%bE to i32*
store i32%ah,i32*%bF,align 4
%bG=load i8*,i8**%c,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%ak,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bA,i64 20
%bM=bitcast i8*%bL to i32*
store i32%ab,i32*%bM,align 4
%bN=load i8*,i8**%d,align 8
%bO=getelementptr inbounds i8,i8*%bA,i64 24
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bA,i64 32
%bR=bitcast i8*%bQ to i32*
store i32%am,i32*%bR,align 4
%bS=getelementptr inbounds i8,i8*%bA,i64 36
%bT=bitcast i8*%bS to i32*
store i32%aX,i32*%bT,align 4
%bU=getelementptr inbounds i8,i8*%bA,i64 40
%bV=bitcast i8*%bU to i32*
store i32%a0,i32*%bV,align 4
%bW=getelementptr inbounds i8,i8*%bA,i64 44
%bX=bitcast i8*%bW to i32*
store i32%H,i32*%bX,align 4
%bY=getelementptr inbounds i8,i8*%bA,i64 48
%bZ=bitcast i8*%bY to i32*
store i32 10,i32*%bZ,align 4
ret i8*%bA
}
define internal fastcc i8*@_SMLLN4Date7date2tmE_306(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=getelementptr inbounds i8,i8*%i,i64 20
%l=bitcast i8*%k to i32*
%m=load i32,i32*%l,align 4
%n=call fastcc i32@_SMLLN4Date10monthToIntE_298(i32 inreg%m)
%o=load i8*,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%o,i64 44
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%r,i32 1900)#0
%t=extractvalue{i32,i1}%s,1
br i1%t,label%u,label%M
u:
%v=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%v,i8**%b,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
store i8*%w,i8**%c,align 8
%z=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@U,i64 0,i32 2,i64 0),i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%c,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=add nsw i32%r,-1900
%O=getelementptr inbounds i8,i8*%o,i64 36
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=icmp ult i32%Q,7
br i1%R,label%ak,label%S
S:
call void@sml_matchcomp_bug()
%T=load i8*,i8**@_SMLZ5Match,align 8
store i8*%T,i8**%b,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**%c,align 8
%X=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[37x i8]}>,<{[4x i8],i32,[37x i8]}>*@V,i64 0,i32 2,i64 0),i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 60)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177336,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 56
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=sext i32%Q to i64
%am=getelementptr inbounds[7x i32],[7x i32]*@by,i64 0,i64%al
%an=load i32,i32*%am,align 4
%ao=getelementptr inbounds i8,i8*%o,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
%ar=icmp eq i8*%aq,null
br i1%ar,label%ax,label%as
as:
%at=bitcast i8*%aq to i32*
%au=load i32,i32*%at,align 4
%av=icmp ne i32%au,0
%aw=zext i1%av to i32
br label%ax
ax:
%ay=phi i32[%aw,%as],[-1,%ak]
%az=getelementptr inbounds i8,i8*%o,i64 32
%aA=bitcast i8*%az to i32*
%aB=load i32,i32*%aA,align 4
%aC=getelementptr inbounds i8,i8*%o,i64 16
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
%aF=getelementptr inbounds i8,i8*%o,i64 4
%aG=bitcast i8*%aF to i32*
%aH=load i32,i32*%aG,align 4
%aI=bitcast i8*%o to i32*
%aJ=load i32,i32*%aI,align 4
store i8*null,i8**%b,align 8
%aK=getelementptr inbounds i8,i8*%o,i64 40
%aL=bitcast i8*%aK to i32*
%aM=load i32,i32*%aL,align 4
%aN=call i8*@sml_alloc(i32 inreg 44)#0
%aO=bitcast i8*%aN to i32*
%aP=getelementptr inbounds i8,i8*%aN,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177320,i32*%aQ,align 4
%aR=getelementptr inbounds i8,i8*%aN,i64 36
%aS=bitcast i8*%aR to i32*
store i32 0,i32*%aS,align 1
store i32%aB,i32*%aO,align 4
%aT=getelementptr inbounds i8,i8*%aN,i64 4
%aU=bitcast i8*%aT to i32*
store i32%aE,i32*%aU,align 4
%aV=getelementptr inbounds i8,i8*%aN,i64 8
%aW=bitcast i8*%aV to i32*
store i32%aH,i32*%aW,align 4
%aX=getelementptr inbounds i8,i8*%aN,i64 12
%aY=bitcast i8*%aX to i32*
store i32%aJ,i32*%aY,align 4
%aZ=getelementptr inbounds i8,i8*%aN,i64 16
%a0=bitcast i8*%aZ to i32*
store i32%n,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aN,i64 20
%a2=bitcast i8*%a1 to i32*
store i32%N,i32*%a2,align 4
%a3=getelementptr inbounds i8,i8*%aN,i64 24
%a4=bitcast i8*%a3 to i32*
store i32%an,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%aN,i64 28
%a6=bitcast i8*%a5 to i32*
store i32%aM,i32*%a6,align 4
%a7=getelementptr inbounds i8,i8*%aN,i64 32
%a8=bitcast i8*%a7 to i32*
store i32%ay,i32*%a8,align 4
%a9=getelementptr inbounds i8,i8*%aN,i64 40
%ba=bitcast i8*%a9 to i32*
store i32 0,i32*%ba,align 4
ret i8*%aN
}
define internal fastcc i32@_SMLLN4Date10isLeapYearE_335(i32 inreg%a)unnamed_addr#4 gc"smlsharp"{
x:
%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=srem i32%a,4
%e=lshr i32%a,31
%f=icmp ne i32%d,0
%g=zext i1%f to i32
%h=and i32%e,%g
%i=sub nsw i32 0,%h
%j=and i32%i,4
%k=sub nsw i32 0,%j
%l=icmp eq i32%d,%k
br i1%l,label%m,label%v
m:
%n=srem i32%a,100
%o=icmp ne i32%n,0
%p=zext i1%o to i32
%q=and i32%e,%p
%r=sub nsw i32 0,%q
%s=and i32%r,100
%t=sub nsw i32 0,%s
%u=icmp eq i32%n,%t
br i1%u,label%y,label%v
v:
%w=phi i32[1,%m],[0,%x]
ret i32%w
y:
%z=srem i32%a,400
%A=icmp ne i32%z,0
%B=zext i1%A to i32
%C=and i32%e,%B
%D=sub nsw i32 0,%C
%E=and i32%D,400
%F=sub nsw i32 0,%E
%G=icmp eq i32%z,%F
%H=zext i1%G to i32
ret i32%H
}
define internal fastcc i32@_SMLLN4Date23lastDayOfGregorianMonthE_339(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 i32*
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,2
br i1%n,label%o,label%v
o:
%p=getelementptr inbounds i8,i8*%j,i64 4
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=call fastcc i32@_SMLLN4Date10isLeapYearE_335(i32 inreg%r)
%t=icmp eq i32%s,0
br i1%t,label%v,label%u
u:
ret i32 29
v:
%w=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%m,i32 1)#0
%x=extractvalue{i32,i1}%w,1
br i1%x,label%y,label%Q
y:
%z=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%z,i8**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@au,i64 0,i32 2,i64 0),i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=call i8*@sml_alloc(i32 inreg 60)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177336,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%J,i64 56
%N=bitcast i8*%M to i32*
store i32 1,i32*%N,align 4
%O=load i8*,i8**%d,align 8
%P=bitcast i8*%J to i8**
store i8*%O,i8**%P,align 8
call void@sml_raise(i8*inreg%J)#1
unreachable
Q:
%R=icmp slt i32%m,1
br i1%R,label%aj,label%S
S:
%T=bitcast i8**%c to i32***
%U=load i32**,i32***%T,align 8
%V=load i32*,i32**%U,align 8
%W=getelementptr inbounds i32,i32*%V,i64 -1
%X=load i32,i32*%W,align 4
%Y=lshr i32%X,2
%Z=and i32%Y,67108863
%aa=icmp sgt i32%m,%Z
br i1%aa,label%aj,label%ab
ab:
%ac=bitcast i32*%V to i8*
%ad=shl i32%m,2
%ae=add i32%ad,-4
%af=sext i32%ae to i64
%ag=getelementptr inbounds i8,i8*%ac,i64%af
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
ret i32%ai
aj:
%ak=load i8*,i8**@_SMLZ9Subscript,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,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@av,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
%aA=bitcast i8*%au to i8**
store i8*%az,i8**%aA,align 8
call void@sml_raise(i8*inreg%au)#1
unreachable
}
define internal fastcc i32@_SMLLN4Date10daysInYearE_344(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 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=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%p,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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aw,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=icmp slt i32%p,1
br i1%L,label%af,label%M
M:
%N=bitcast i8**%c to i32***
%O=load i32**,i32***%N,align 8
%P=load i32*,i32**%O,align 8
%Q=getelementptr inbounds i32,i32*%P,i64 -1
%R=load i32,i32*%Q,align 4
%S=lshr i32%R,2
%T=and i32%S,67108863
%U=icmp sgt i32%p,%T
br i1%U,label%af,label%V
V:
%W=bitcast i32*%P to i8*
%X=shl i32%p,2
%Y=add i32%X,-4
%Z=sext i32%Y to i64
%aa=getelementptr inbounds i8,i8*%W,i64%Z
%ab=bitcast i8*%aa to i32*
%ac=load i32,i32*%ab,align 4
%ad=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%ac,i32%m)#0
%ae=extractvalue{i32,i1}%ad,1
br i1%ae,label%ax,label%aP
af:
%ag=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%ag,i8**%c,align 8
%ah=call i8*@sml_alloc(i32 inreg 20)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
store i8*%ah,i8**%d,align 8
%ak=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@ax,i64 0,i32 2,i64 0),i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ah,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,i32*%ap,align 4
%aq=call i8*@sml_alloc(i32 inreg 60)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177336,i32*%as,align 4
%at=getelementptr inbounds i8,i8*%aq,i64 56
%au=bitcast i8*%at to i32*
store i32 1,i32*%au,align 4
%av=load i8*,i8**%d,align 8
%aw=bitcast i8*%aq to i8**
store i8*%av,i8**%aw,align 8
call void@sml_raise(i8*inreg%aq)#1
unreachable
ax:
%ay=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%ay,i8**%c,align 8
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
store i8*%az,i8**%d,align 8
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@ay,i64 0,i32 2,i64 0),i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%az,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**%d,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%ac,%m
%aR=icmp slt i32%p,3
br i1%aR,label%aZ,label%aS
aS:
%aT=getelementptr inbounds i8,i8*%j,i64 8
%aU=bitcast i8*%aT to i32*
%aV=load i32,i32*%aU,align 4
%aW=call fastcc i32@_SMLLN4Date10isLeapYearE_335(i32 inreg%aV)
%aX=icmp eq i32%aW,0
br i1%aX,label%aZ,label%aY
aY:
ret i32%aQ
aZ:
%a0=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%aQ,i32 1)#0
%a1=extractvalue{i32,i1}%a0,1
br i1%a1,label%a2,label%bk
a2:
%a3=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%a3,i8**%c,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
store i8*%a4,i8**%d,align 8
%a7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@az,i64 0,i32 2,i64 0),i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to i32*
store i32 3,i32*%bc,align 4
%bd=call i8*@sml_alloc(i32 inreg 60)#0
%be=getelementptr inbounds i8,i8*%bd,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177336,i32*%bf,align 4
%bg=getelementptr inbounds i8,i8*%bd,i64 56
%bh=bitcast i8*%bg to i32*
store i32 1,i32*%bh,align 4
%bi=load i8*,i8**%d,align 8
%bj=bitcast i8*%bd to i8**
store i8*%bi,i8**%bj,align 8
call void@sml_raise(i8*inreg%bd)#1
unreachable
bk:
%bl=add nsw i32%aQ,-1
ret i32%bl
}
define internal fastcc i32@_SMLLN4Date13toAbsoluteDayE_358(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=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%n,i32 1)#0
%p=extractvalue{i32,i1}%o,1
br i1%p,label%q,label%I
q:
%r=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%r,i8**%c,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**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,i8**%c,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]}>*@aA,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 60)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177336,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 56
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
I:
%J=getelementptr inbounds i8,i8*%j,i64 4
%K=bitcast i8*%J to i32*
%L=load i32,i32*%K,align 4
%M=bitcast i8*%j to i32*
%N=load i32,i32*%M,align 4
%O=add nsw i32%n,-1
%P=bitcast i8**%c to i8***
%Q=load i8**,i8***%P,align 8
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 20)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%S,i64 12
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
store i32%N,i32*%T,align 4
%Y=getelementptr inbounds i8,i8*%S,i64 4
%Z=bitcast i8*%Y to i32*
store i32%L,i32*%Z,align 4
%aa=getelementptr inbounds i8,i8*%S,i64 8
%ab=bitcast i8*%aa to i32*
store i32%n,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%S,i64 16
%ad=bitcast i8*%ac to i32*
store i32 0,i32*%ad,align 4
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=call fastcc i32@_SMLLN4Date10daysInYearE_344(i8*inreg%ae,i8*inreg%S)
%ag=call{i32,i1}@llvm.smul.with.overflow.i32(i32%O,i32 365)#0
%ah=extractvalue{i32,i1}%ag,1
br i1%ah,label%ai,label%aA
ai:
%aj=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aj,i8**%c,align 8
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
store i8*%ak,i8**%d,align 8
%an=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ak,i64 8
%aq=bitcast i8*%ap to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aB,i64 0,i32 2,i64 0),i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 16
%as=bitcast i8*%ar to i32*
store i32 3,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 60)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177336,i32*%av,align 4
%aw=getelementptr inbounds i8,i8*%at,i64 56
%ax=bitcast i8*%aw to i32*
store i32 1,i32*%ax,align 4
%ay=load i8*,i8**%d,align 8
%az=bitcast i8*%at to i8**
store i8*%ay,i8**%az,align 8
call void@sml_raise(i8*inreg%at)#1
unreachable
aA:
%aB=mul nsw i32%O,365
%aC=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%af,i32%aB)#0
%aD=extractvalue{i32,i1}%aC,1
br i1%aD,label%aE,label%aW
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]}>*@aC,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=add nsw i32%af,%aB
%aY=sdiv i32%O,4
%aZ=icmp slt i32%n,1
%a0=and i32%O,3
%a1=icmp ne i32%a0,0
%a2=and i1%aZ,%a1
%a3=zext i1%a2 to i32
%a4=sub nsw i32%aY,%a3
%a5=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%aX,i32%a4)#0
%a6=extractvalue{i32,i1}%a5,1
br i1%a6,label%a7,label%bp
a7:
%a8=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%a8,i8**%c,align 8
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
store i8*%a9,i8**%d,align 8
%bc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a9,i64 8
%bf=bitcast i8*%be to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aD,i64 0,i32 2,i64 0),i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a9,i64 16
%bh=bitcast i8*%bg to i32*
store i32 3,i32*%bh,align 4
%bi=call i8*@sml_alloc(i32 inreg 60)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177336,i32*%bk,align 4
%bl=getelementptr inbounds i8,i8*%bi,i64 56
%bm=bitcast i8*%bl to i32*
store i32 1,i32*%bm,align 4
%bn=load i8*,i8**%d,align 8
%bo=bitcast i8*%bi to i8**
store i8*%bn,i8**%bo,align 8
call void@sml_raise(i8*inreg%bi)#1
unreachable
bp:
%bq=add nsw i32%aX,%a4
%br=sdiv i32%O,100
%bs=srem i32%O,100
%bt=icmp ne i32%bs,0
%bu=and i1%aZ,%bt
%bv=zext i1%bu to i32
%bw=sub nsw i32%br,%bv
%bx=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%bq,i32%bw)#0
%by=extractvalue{i32,i1}%bx,1
br i1%by,label%bz,label%bR
bz:
%bA=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%bA,i8**%c,align 8
%bB=call i8*@sml_alloc(i32 inreg 20)#0
%bC=getelementptr inbounds i8,i8*%bB,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
store i8*%bB,i8**%d,align 8
%bE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bF=bitcast i8*%bB to i8**
store i8*%bE,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bB,i64 8
%bH=bitcast i8*%bG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aE,i64 0,i32 2,i64 0),i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bB,i64 16
%bJ=bitcast i8*%bI to i32*
store i32 3,i32*%bJ,align 4
%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**%d,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=sub nsw i32%bq,%bw
%bT=sdiv i32%O,400
%bU=srem i32%O,400
%bV=icmp ne i32%bU,0
%bW=and i1%aZ,%bV
%bX=zext i1%bW to i32
%bY=sub nsw i32%bT,%bX
%bZ=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%bS,i32%bY)#0
%b0=extractvalue{i32,i1}%bZ,1
br i1%b0,label%b1,label%cj
b1:
%b2=load i8*,i8**@_SMLZ8Overflow,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]}>*@aF,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=add nsw i32%bS,%bY
%cl=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%ck,i32 1)#0
%cm=extractvalue{i32,i1}%cl,1
br i1%cm,label%cn,label%cF
cn:
%co=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%co,i8**%c,align 8
%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
store i8*%cp,i8**%d,align 8
%cs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cp,i64 8
%cv=bitcast i8*%cu to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@aG,i64 0,i32 2,i64 0),i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cp,i64 16
%cx=bitcast i8*%cw to i32*
store i32 3,i32*%cx,align 4
%cy=call i8*@sml_alloc(i32 inreg 60)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177336,i32*%cA,align 4
%cB=getelementptr inbounds i8,i8*%cy,i64 56
%cC=bitcast i8*%cB to i32*
store i32 1,i32*%cC,align 4
%cD=load i8*,i8**%d,align 8
%cE=bitcast i8*%cy to i8**
store i8*%cD,i8**%cE,align 8
call void@sml_raise(i8*inreg%cy)#1
unreachable
cF:
%cG=add nsw i32%ck,1
ret i32%cG
}
define internal fastcc i32@_SMLL2lp_359(i8*inreg%a,i32 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**%c,align 8
%e=bitcast i8**%c to i8***
br label%f
f:
%g=phi i8*[%a,%h],[%ab,%L]
%i=phi i32[%b,%h],[%M,%L]
%j=bitcast i8*%g to i8**
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8**,i8***%e,align 8
br label%o
o:
%p=phi i8**[%n,%m],[%j,%f]
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
%r=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%i,i32 1)#0
%s=extractvalue{i32,i1}%r,1
br i1%s,label%t,label%L
t:
store i8*null,i8**%d,align 8
%u=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%d,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aH,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=add nsw i32%i,1
%N=call i8*@sml_alloc(i32 inreg 20)#0
%O=bitcast i8*%N to i32*
%P=getelementptr inbounds i8,i8*%N,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%N,i64 12
%S=bitcast i8*%R to i32*
store i32 0,i32*%S,align 1
store i32 1,i32*%O,align 4
%T=getelementptr inbounds i8,i8*%N,i64 4
%U=bitcast i8*%T to i32*
store i32 1,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%N,i64 8
%W=bitcast i8*%V to i32*
store i32%M,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%N,i64 16
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 4
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=call fastcc i32@_SMLLN4Date13toAbsoluteDayE_358(i8*inreg%Z,i8*inreg%N)
%ab=load i8*,i8**%c,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 8
%ad=bitcast i8*%ac to i32*
%ae=load i32,i32*%ad,align 4
%af=icmp sgt i32%aa,%ae
br i1%af,label%ag,label%f
ag:
ret i32%i
}
define internal fastcc i32@_SMLL2lp_364(i8*inreg%a,i32 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**%c,align 8
%e=bitcast i8**%c to i8***
br label%f
f:
%g=phi i8*[%a,%h],[%ab,%aB]
%i=phi i32[%b,%h],[%aC,%aB]
%j=bitcast i8*%g to i8**
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%p,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8**,i8***%e,align 8
%o=bitcast i8**%n to i8*
br label%p
p:
%q=phi i8*[%o,%m],[%g,%f]
%r=phi i8**[%n,%m],[%j,%f]
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%q,i64 20
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=call i8*@sml_alloc(i32 inreg 12)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177288,i32*%z,align 4
store i32%i,i32*%x,align 4
%A=getelementptr inbounds i8,i8*%w,i64 4
%B=bitcast i8*%A to i32*
store i32%v,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i32*
store i32 0,i32*%D,align 4
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=call fastcc i32@_SMLLN4Date23lastDayOfGregorianMonthE_339(i8*inreg%E,i8*inreg%w)
%G=load i8*,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%G,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=getelementptr inbounds i8,i8*%G,i64 20
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=call i8*@sml_alloc(i32 inreg 20)#0
%O=bitcast i8*%N to i32*
%P=getelementptr inbounds i8,i8*%N,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%N,i64 12
%S=bitcast i8*%R to i32*
store i32 0,i32*%S,align 1
store i32%F,i32*%O,align 4
%T=getelementptr inbounds i8,i8*%N,i64 4
%U=bitcast i8*%T to i32*
store i32%i,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%N,i64 8
%W=bitcast i8*%V to i32*
store i32%M,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%N,i64 16
%Y=bitcast i8*%X to i32*
store i32 0,i32*%Y,align 4
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=call fastcc i32@_SMLLN4Date13toAbsoluteDayE_358(i8*inreg%Z,i8*inreg%N)
%ab=load i8*,i8**%c,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i32*
%ae=load i32,i32*%ad,align 4
%af=icmp slt i32%aa,%ae
br i1%af,label%ag,label%aD
ag:
%ah=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%i,i32 1)#0
%ai=extractvalue{i32,i1}%ah,1
br i1%ai,label%aj,label%aB
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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aI,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
%aA=bitcast i8*%au to i8**
store i8*%az,i8**%aA,align 8
call void@sml_raise(i8*inreg%au)#1
unreachable
aB:
%aC=add nsw i32%i,1
br label%f
aD:
ret i32%i
}
define internal fastcc i8*@_SMLLN4Date15fromAbsoluteDayE_368(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,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**%e,align 8
%t=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i32*
store i32%b,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 1,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 28)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
%C=load i8*,i8**%e,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLL2lp_359 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL2lp_517 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%z,i64 24
%J=bitcast i8*%I to i32*
store i32 -2147483647,i32*%J,align 4
%K=sdiv i32%b,366
%L=srem i32%b,366
%M=lshr i32%b,31
%N=icmp ne i32%L,0
%O=zext i1%N to i32
%P=and i32%M,%O
%Q=sub nsw i32%K,%P
store i8*null,i8**%e,align 8
%R=call fastcc i32@_SMLL2lp_359(i8*inreg%C,i32 inreg%Q)
%S=bitcast i8**%c to i8***
%T=load i8**,i8***%S,align 8
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%d,align 8
%V=getelementptr inbounds i8*,i8**%T,i64 1
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%e,align 8
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
store i8*%X,i8**%f,align 8
%aa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%X,i64 16
%ag=bitcast i8*%af to i32*
store i32%b,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%X,i64 20
%ai=bitcast i8*%ah to i32*
store i32%R,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%X,i64 24
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%al=call i8*@sml_alloc(i32 inreg 28)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177304,i32*%an,align 4
%ao=load i8*,i8**%f,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 void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLL2lp_364 to void(...)*),void(...)**%ar,align 8
%as=getelementptr inbounds i8,i8*%al,i64 16
%at=bitcast i8*%as to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL2lp_518 to void(...)*),void(...)**%at,align 8
%au=getelementptr inbounds i8,i8*%al,i64 24
%av=bitcast i8*%au to i32*
store i32 -2147483647,i32*%av,align 4
store i8*null,i8**%f,align 8
%aw=call fastcc i32@_SMLL2lp_364(i8*inreg%ao,i32 inreg 1)
%ax=load i8*,i8**%c,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%c,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=bitcast i8*%aB to i32*
%aD=getelementptr inbounds i8,i8*%aB,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%aB,i64 12
%aG=bitcast i8*%aF to i32*
store i32 0,i32*%aG,align 1
store i32 1,i32*%aC,align 4
%aH=getelementptr inbounds i8,i8*%aB,i64 4
%aI=bitcast i8*%aH to i32*
store i32%aw,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aB,i64 8
%aK=bitcast i8*%aJ to i32*
store i32%R,i32*%aK,align 4
%aL=getelementptr inbounds i8,i8*%aB,i64 16
%aM=bitcast i8*%aL to i32*
store i32 0,i32*%aM,align 4
%aN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aO=call fastcc i32@_SMLLN4Date13toAbsoluteDayE_358(i8*inreg%aN,i8*inreg%aB)
%aP=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%b,i32%aO)#0
%aQ=extractvalue{i32,i1}%aP,1
br i1%aQ,label%aR,label%a9
aR:
%aS=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aS,i8**%c,align 8
%aT=call i8*@sml_alloc(i32 inreg 20)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177296,i32*%aV,align 4
store i8*%aT,i8**%d,align 8
%aW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aT,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aJ,i64 0,i32 2,i64 0),i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 3,i32*%a1,align 4
%a2=call i8*@sml_alloc(i32 inreg 60)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177336,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%a2,i64 56
%a6=bitcast i8*%a5 to i32*
store i32 1,i32*%a6,align 4
%a7=load i8*,i8**%d,align 8
%a8=bitcast i8*%a2 to i8**
store i8*%a7,i8**%a8,align 8
call void@sml_raise(i8*inreg%a2)#1
unreachable
a9:
%ba=sub nsw i32%b,%aO
%bb=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%ba,i32 1)#0
%bc=extractvalue{i32,i1}%bb,1
br i1%bc,label%bd,label%bv
bd:
%be=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%be,i8**%c,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
store i8*%bf,i8**%d,align 8
%bi=load i8*,i8**%c,align 8
store i8*null,i8**%c,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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aK,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
%bo=call i8*@sml_alloc(i32 inreg 60)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177336,i32*%bq,align 4
%br=getelementptr inbounds i8,i8*%bo,i64 56
%bs=bitcast i8*%br to i32*
store i32 1,i32*%bs,align 4
%bt=load i8*,i8**%d,align 8
%bu=bitcast i8*%bo to i8**
store i8*%bt,i8**%bu,align 8
call void@sml_raise(i8*inreg%bo)#1
unreachable
bv:
%bw=add nsw i32%ba,1
%bx=call i8*@sml_alloc(i32 inreg 20)#0
%by=bitcast i8*%bx to i32*
%bz=getelementptr inbounds i8,i8*%bx,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
%bB=getelementptr inbounds i8,i8*%bx,i64 12
%bC=bitcast i8*%bB to i32*
store i32 0,i32*%bC,align 1
store i32%bw,i32*%by,align 4
%bD=getelementptr inbounds i8,i8*%bx,i64 4
%bE=bitcast i8*%bD to i32*
store i32%aw,i32*%bE,align 4
%bF=getelementptr inbounds i8,i8*%bx,i64 8
%bG=bitcast i8*%bF to i32*
store i32%R,i32*%bG,align 4
%bH=getelementptr inbounds i8,i8*%bx,i64 16
%bI=bitcast i8*%bH to i32*
store i32 0,i32*%bI,align 4
ret i8*%bx
}
define internal fastcc i8*@_SMLL6divMod_373(i8*inreg%a)unnamed_addr#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=bitcast i8*%a to i32*
%e=load i32,i32*%d,align 4
%f=getelementptr inbounds i8,i8*%a,i64 4
%g=bitcast i8*%f to i32*
%h=load i32,i32*%g,align 4
%i=icmp eq i32%h,0
br i1%i,label%R,label%j
j:
%k=xor i32%e,-2147483648
%l=add i32%h,1
%m=or i32%l,%k
%n=icmp eq i32%m,0
br i1%n,label%z,label%o
o:
%p=sdiv i32%e,%h
%q=srem i32%e,%h
%r=xor i32%h,%e
%s=lshr i32%r,31
%t=icmp ne i32%q,0
%u=zext i1%t to i32
%v=and i32%s,%u
%w=sub nsw i32%p,%v
%x=call{i32,i1}@llvm.smul.with.overflow.i32(i32%w,i32%h)#0
%y=extractvalue{i32,i1}%x,1
br i1%y,label%aj,label%aB
z:
%A=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%A,i8**%b,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
store i8*%B,i8**%c,align 8
%E=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aL,i64 0,i32 2,i64 0),i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
%K=call i8*@sml_alloc(i32 inreg 60)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177336,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%K,i64 56
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
%P=load i8*,i8**%c,align 8
%Q=bitcast i8*%K to i8**
store i8*%P,i8**%Q,align 8
call void@sml_raise(i8*inreg%K)#1
unreachable
R:
%S=load i8*,i8**@_SMLZ3Div,align 8
store i8*%S,i8**%b,align 8
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
store i8*%T,i8**%c,align 8
%W=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%T,i64 8
%Z=bitcast i8*%Y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aL,i64 0,i32 2,i64 0),i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,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**%c,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=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%ak,i8**%b,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**%c,align 8
%ao=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aM,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**%c,align 8
%aA=bitcast i8*%au to i8**
store i8*%az,i8**%aA,align 8
call void@sml_raise(i8*inreg%au)#1
unreachable
aB:
%aC=mul nsw i32%w,%h
%aD=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%e,i32%aC)#0
%aE=extractvalue{i32,i1}%aD,1
br i1%aE,label%aF,label%aX
aF:
%aG=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aG,i8**%b,align 8
%aH=call i8*@sml_alloc(i32 inreg 20)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177296,i32*%aJ,align 4
store i8*%aH,i8**%c,align 8
%aK=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aH,i64 8
%aN=bitcast i8*%aM to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aN,i64 0,i32 2,i64 0),i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 60)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177336,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aQ,i64 56
%aU=bitcast i8*%aT to i32*
store i32 1,i32*%aU,align 4
%aV=load i8*,i8**%c,align 8
%aW=bitcast i8*%aQ to i8**
store i8*%aV,i8**%aW,align 8
call void@sml_raise(i8*inreg%aQ)#1
unreachable
aX:
%aY=sub nsw i32%e,%aC
%aZ=call i8*@sml_alloc(i32 inreg 12)#0
%a0=bitcast i8*%aZ to i32*
%a1=getelementptr inbounds i8,i8*%aZ,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177288,i32*%a2,align 4
store i32%w,i32*%a0,align 4
%a3=getelementptr inbounds i8,i8*%aZ,i64 4
%a4=bitcast i8*%a3 to i32*
store i32%aY,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%aZ,i64 8
%a6=bitcast i8*%a5 to i32*
store i32 0,i32*%a6,align 4
ret i8*%aZ
}
define internal fastcc i8*@_SMLLN4Date13normalizeDateE_382(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 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 i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%j,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=getelementptr inbounds i8,i8*%j,i64 16
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=getelementptr inbounds i8,i8*%j,i64 20
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%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 i32%y,i32*%D,align 4
%G=getelementptr inbounds i8,i8*%C,i64 4
%H=bitcast i8*%G to i32*
store i32 60,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i32*
store i32 0,i32*%J,align 4
%K=call fastcc i8*@_SMLL6divMod_373(i8*inreg%C)
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%s,i32%M)#0
%O=extractvalue{i32,i1}%N,1
br i1%O,label%P,label%ah
P:
%Q=load i8*,i8**@_SMLZ8Overflow,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]}>*@aO,i64 0,i32 2,i64 0),i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to i32*
store i32 3,i32*%Z,align 4
%aa=call i8*@sml_alloc(i32 inreg 60)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177336,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%aa,i64 56
%ae=bitcast i8*%ad to i32*
store i32 1,i32*%ae,align 4
%af=load i8*,i8**%d,align 8
%ag=bitcast i8*%aa to i8**
store i8*%af,i8**%ag,align 8
call void@sml_raise(i8*inreg%aa)#1
unreachable
ah:
%ai=getelementptr inbounds i8,i8*%K,i64 4
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=add nsw i32%M,%s
%am=call i8*@sml_alloc(i32 inreg 12)#0
%an=bitcast i8*%am to i32*
%ao=getelementptr inbounds i8,i8*%am,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177288,i32*%ap,align 4
store i32%al,i32*%an,align 4
%aq=getelementptr inbounds i8,i8*%am,i64 4
%ar=bitcast i8*%aq to i32*
store i32%ak,i32*%ar,align 4
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i32*
store i32 0,i32*%at,align 4
%au=call i8*@sml_alloc(i32 inreg 12)#0
%av=bitcast i8*%au to i32*
%aw=getelementptr inbounds i8,i8*%au,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177288,i32*%ax,align 4
store i32%al,i32*%av,align 4
%ay=getelementptr inbounds i8,i8*%au,i64 4
%az=bitcast i8*%ay to i32*
store i32 60,i32*%az,align 4
%aA=getelementptr inbounds i8,i8*%au,i64 8
%aB=bitcast i8*%aA to i32*
store i32 0,i32*%aB,align 4
%aC=call fastcc i8*@_SMLL6divMod_373(i8*inreg%au)
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
%aF=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%p,i32%aE)#0
%aG=extractvalue{i32,i1}%aF,1
br i1%aG,label%aH,label%aZ
aH:
%aI=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aI,i8**%c,align 8
%aJ=call i8*@sml_alloc(i32 inreg 20)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177296,i32*%aL,align 4
store i8*%aJ,i8**%d,align 8
%aM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aN=bitcast i8*%aJ to i8**
store i8*%aM,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aJ,i64 8
%aP=bitcast i8*%aO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aP,i64 0,i32 2,i64 0),i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aJ,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 3,i32*%aR,align 4
%aS=call i8*@sml_alloc(i32 inreg 60)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177336,i32*%aU,align 4
%aV=getelementptr inbounds i8,i8*%aS,i64 56
%aW=bitcast i8*%aV to i32*
store i32 1,i32*%aW,align 4
%aX=load i8*,i8**%d,align 8
%aY=bitcast i8*%aS to i8**
store i8*%aX,i8**%aY,align 8
call void@sml_raise(i8*inreg%aS)#1
unreachable
aZ:
%a0=getelementptr inbounds i8,i8*%aC,i64 4
%a1=bitcast i8*%a0 to i32*
%a2=load i32,i32*%a1,align 4
%a3=add nsw i32%aE,%p
%a4=call i8*@sml_alloc(i32 inreg 12)#0
%a5=bitcast i8*%a4 to i32*
%a6=getelementptr inbounds i8,i8*%a4,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177288,i32*%a7,align 4
store i32%a3,i32*%a5,align 4
%a8=getelementptr inbounds i8,i8*%a4,i64 4
%a9=bitcast i8*%a8 to i32*
store i32%a2,i32*%a9,align 4
%ba=getelementptr inbounds i8,i8*%a4,i64 8
%bb=bitcast i8*%ba to i32*
store i32 0,i32*%bb,align 4
%bc=call i8*@sml_alloc(i32 inreg 12)#0
%bd=bitcast i8*%bc to i32*
%be=getelementptr inbounds i8,i8*%bc,i64 -4
%bf=bitcast i8*%be to i32*
store i32 1342177288,i32*%bf,align 4
store i32%a3,i32*%bd,align 4
%bg=getelementptr inbounds i8,i8*%bc,i64 4
%bh=bitcast i8*%bg to i32*
store i32 24,i32*%bh,align 4
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i32*
store i32 0,i32*%bj,align 4
%bk=call fastcc i8*@_SMLL6divMod_373(i8*inreg%bc)
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
%bn=getelementptr inbounds i8,i8*%bk,i64 4
%bo=bitcast i8*%bn to i32*
%bp=load i32,i32*%bo,align 4
%bq=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%m,i32%bm)#0
%br=extractvalue{i32,i1}%bq,1
br i1%br,label%bs,label%bK
bs:
%bt=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%bt,i8**%c,align 8
%bu=call i8*@sml_alloc(i32 inreg 20)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177296,i32*%bw,align 4
store i8*%bu,i8**%d,align 8
%bx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%bu,i64 8
%bA=bitcast i8*%bz to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aQ,i64 0,i32 2,i64 0),i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bu,i64 16
%bC=bitcast i8*%bB to i32*
store i32 3,i32*%bC,align 4
%bD=call i8*@sml_alloc(i32 inreg 60)#0
%bE=getelementptr inbounds i8,i8*%bD,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177336,i32*%bF,align 4
%bG=getelementptr inbounds i8,i8*%bD,i64 56
%bH=bitcast i8*%bG to i32*
store i32 1,i32*%bH,align 4
%bI=load i8*,i8**%d,align 8
%bJ=bitcast i8*%bD to i8**
store i8*%bI,i8**%bJ,align 8
call void@sml_raise(i8*inreg%bD)#1
unreachable
bK:
%bL=bitcast i8**%c to i8***
%bM=load i8**,i8***%bL,align 8
%bN=load i8*,i8**%bM,align 8
store i8*%bN,i8**%d,align 8
%bO=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%v,i32 1)#0
%bP=extractvalue{i32,i1}%bO,1
br i1%bP,label%bQ,label%b8
bQ:
store i8*null,i8**%d,align 8
%bR=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%bR,i8**%c,align 8
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bS,i64 8
%bY=bitcast i8*%bX to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aR,i64 0,i32 2,i64 0),i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bS,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 3,i32*%b0,align 4
%b1=call i8*@sml_alloc(i32 inreg 60)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177336,i32*%b3,align 4
%b4=getelementptr inbounds i8,i8*%b1,i64 56
%b5=bitcast i8*%b4 to i32*
store i32 1,i32*%b5,align 4
%b6=load i8*,i8**%d,align 8
%b7=bitcast i8*%b1 to i8**
store i8*%b6,i8**%b7,align 8
call void@sml_raise(i8*inreg%b1)#1
unreachable
b8:
%b9=add nsw i32%bm,%m
%ca=add nsw i32%v,1
%cb=call i8*@sml_alloc(i32 inreg 20)#0
%cc=bitcast i8*%cb to i32*
%cd=getelementptr inbounds i8,i8*%cb,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177296,i32*%ce,align 4
%cf=getelementptr inbounds i8,i8*%cb,i64 12
%cg=bitcast i8*%cf to i32*
store i32 0,i32*%cg,align 1
store i32%b9,i32*%cc,align 4
%ch=getelementptr inbounds i8,i8*%cb,i64 4
%ci=bitcast i8*%ch to i32*
store i32%ca,i32*%ci,align 4
%cj=getelementptr inbounds i8,i8*%cb,i64 8
%ck=bitcast i8*%cj to i32*
store i32%B,i32*%ck,align 4
%cl=getelementptr inbounds i8,i8*%cb,i64 16
%cm=bitcast i8*%cl to i32*
store i32 0,i32*%cm,align 4
%cn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%co=call fastcc i32@_SMLLN4Date13toAbsoluteDayE_358(i8*inreg%cn,i8*inreg%cb)
%cp=call i8*@sml_alloc(i32 inreg 12)#0
%cq=bitcast i8*%cp to i32*
%cr=getelementptr inbounds i8,i8*%cp,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177288,i32*%cs,align 4
store i32%co,i32*%cq,align 4
%ct=getelementptr inbounds i8,i8*%cp,i64 4
%cu=bitcast i8*%ct to i32*
store i32%bp,i32*%cu,align 4
%cv=getelementptr inbounds i8,i8*%cp,i64 8
%cw=bitcast i8*%cv to i32*
store i32 0,i32*%cw,align 4
%cx=icmp sgt i32%co,0
br i1%cx,label%cF,label%cy
cy:
store i8*null,i8**%c,align 8
%cz=call i8*@sml_alloc(i32 inreg 60)#0
%cA=getelementptr inbounds i8,i8*%cz,i64 -4
%cB=bitcast i8*%cA to i32*
store i32 1342177336,i32*%cB,align 4
%cC=getelementptr inbounds i8,i8*%cz,i64 56
%cD=bitcast i8*%cC to i32*
store i32 1,i32*%cD,align 4
%cE=bitcast i8*%cz to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aT,i64 0,i32 2)to i8*),i8**%cE,align 8
call void@sml_raise(i8*inreg%cz)#1
unreachable
cF:
%cG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cH=getelementptr inbounds i8,i8*%cG,i64 8
%cI=bitcast i8*%cH to i8**
%cJ=load i8*,i8**%cI,align 8
%cK=call fastcc i8*@_SMLLN4Date15fromAbsoluteDayE_368(i8*inreg%cJ,i32 inreg%co)
%cL=getelementptr inbounds i8,i8*%cK,i64 4
%cM=bitcast i8*%cL to i32*
%cN=load i32,i32*%cM,align 4
%cO=call{i32,i1}@llvm.ssub.with.overflow.i32(i32%cN,i32 1)#0
%cP=extractvalue{i32,i1}%cO,1
br i1%cP,label%cQ,label%c8
cQ:
%cR=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%cR,i8**%c,align 8
%cS=call i8*@sml_alloc(i32 inreg 20)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177296,i32*%cU,align 4
store i8*%cS,i8**%d,align 8
%cV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cW=bitcast i8*%cS to i8**
store i8*%cV,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cS,i64 8
%cY=bitcast i8*%cX to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aU,i64 0,i32 2,i64 0),i8**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cS,i64 16
%c0=bitcast i8*%cZ to i32*
store i32 3,i32*%c0,align 4
%c1=call i8*@sml_alloc(i32 inreg 60)#0
%c2=getelementptr inbounds i8,i8*%c1,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32 1342177336,i32*%c3,align 4
%c4=getelementptr inbounds i8,i8*%c1,i64 56
%c5=bitcast i8*%c4 to i32*
store i32 1,i32*%c5,align 4
%c6=load i8*,i8**%d,align 8
%c7=bitcast i8*%c1 to i8**
store i8*%c6,i8**%c7,align 8
call void@sml_raise(i8*inreg%c1)#1
unreachable
c8:
%c9=bitcast i8*%cK to i32*
%da=load i32,i32*%c9,align 4
%db=getelementptr inbounds i8,i8*%cK,i64 8
%dc=bitcast i8*%db to i32*
%dd=load i32,i32*%dc,align 4
%de=add nsw i32%cN,-1
%df=call i8*@sml_alloc(i32 inreg 20)#0
%dg=bitcast i8*%df to i32*
%dh=getelementptr inbounds i8,i8*%df,i64 -4
%di=bitcast i8*%dh to i32*
store i32 1342177296,i32*%di,align 4
%dj=getelementptr inbounds i8,i8*%df,i64 12
%dk=bitcast i8*%dj to i32*
store i32 0,i32*%dk,align 1
store i32%dd,i32*%dg,align 4
%dl=getelementptr inbounds i8,i8*%df,i64 4
%dm=bitcast i8*%dl to i32*
store i32%de,i32*%dm,align 4
%dn=getelementptr inbounds i8,i8*%df,i64 8
%do=bitcast i8*%dn to i32*
store i32%da,i32*%do,align 4
%dp=getelementptr inbounds i8,i8*%df,i64 16
%dq=bitcast i8*%dp to i32*
store i32 0,i32*%dq,align 4
%dr=call i8*@sml_alloc(i32 inreg 36)#0
%ds=bitcast i8*%dr to i32*
%dt=getelementptr inbounds i8,i8*%dr,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177312,i32*%du,align 4
%dv=getelementptr inbounds i8,i8*%dr,i64 28
%dw=bitcast i8*%dv to i32*
store i32 0,i32*%dw,align 1
store i32%co,i32*%ds,align 4
%dx=getelementptr inbounds i8,i8*%dr,i64 4
%dy=bitcast i8*%dx to i32*
store i32%da,i32*%dy,align 4
%dz=getelementptr inbounds i8,i8*%dr,i64 8
%dA=bitcast i8*%dz to i32*
store i32%bp,i32*%dA,align 4
%dB=getelementptr inbounds i8,i8*%dr,i64 12
%dC=bitcast i8*%dB to i32*
store i32%a2,i32*%dC,align 4
%dD=getelementptr inbounds i8,i8*%dr,i64 16
%dE=bitcast i8*%dD to i32*
store i32%de,i32*%dE,align 4
%dF=getelementptr inbounds i8,i8*%dr,i64 20
%dG=bitcast i8*%dF to i32*
store i32%ak,i32*%dG,align 4
%dH=getelementptr inbounds i8,i8*%dr,i64 24
%dI=bitcast i8*%dH to i32*
store i32%dd,i32*%dI,align 4
%dJ=getelementptr inbounds i8,i8*%dr,i64 32
%dK=bitcast i8*%dJ to i32*
store i32 0,i32*%dK,align 4
ret i8*%dr
}
define internal fastcc i8*@_SMLLN4Date4dateE_392(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*%l,i8**%d,align 8
%n=bitcast i8*%l to i32*
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%l,i64 4
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%l,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%l,i64 24
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%l,i64 28
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=getelementptr inbounds i8,i8*%l,i64 16
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=icmp eq i8*%D,null
br i1%E,label%as,label%F
F:
%G=bitcast i8*%D to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*@_SMLFN4Time9toSecondsE(i8*inreg%H)
store i8*%I,i8**%c,align 8
%J=call i8*@sml_save()#0
%K=call i8*@sml_load_intinf(i8*inreg getelementptr inbounds([6x i8],[6x i8]*@aV,i64 0,i64 0))#0
call void@sml_unsave()#0
store i8*%K,i8**%f,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
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%R=getelementptr inbounds i8,i8*%L,i64 8
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%L,i64 16
%U=bitcast i8*%T to i32*
store i32 3,i32*%U,align 4
%V=call fastcc i8*@_SMLFN6IntInf3remE(i8*inreg%L)
store i8*%V,i8**%c,align 8
%W=call fastcc i32@_SMLFN6IntInf5toIntE(i8*inreg%V)
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*@_SMLFN4Time11fromSecondsE(i8*inreg%X)
store i8*%Y,i8**%c,align 8
%Z=call i8*@sml_alloc(i32 inreg 12)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177288,i32*%ab,align 4
store i8*%Z,i8**%f,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=bitcast i8*%ag to i32*
%ai=getelementptr inbounds i8,i8*%ag,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%ag,i64 4
%al=bitcast i8*%ak to i32*
store i32 0,i32*%al,align 1
store i32%W,i32*%ah,align 4
%am=load i8*,i8**%f,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 16
%aq=bitcast i8*%ap to i32*
store i32 2,i32*%aq,align 4
%ar=load i8*,i8**%d,align 8
br label%as
as:
%at=phi i8*[%ar,%F],[%l,%k]
%au=phi i8*[%am,%F],[null,%k]
%av=phi i32[%W,%F],[0,%k]
store i8*%au,i8**%c,align 8
%aw=load i8*,i8**%e,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 24
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%f,align 8
store i8*null,i8**%d,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 12
%aB=bitcast i8*%aA to i32*
%aC=load i32,i32*%aB,align 4
%aD=call fastcc i32@_SMLLN4Date10monthToIntE_298(i32 inreg%aC)
%aE=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%x,i32%av)#0
%aF=extractvalue{i32,i1}%aE,1
br i1%aF,label%aG,label%aY
aG:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%aH=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aH,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
store i8*%aI,i8**%d,align 8
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aI,i64 8
%aO=bitcast i8*%aN to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aW,i64 0,i32 2,i64 0),i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aI,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 3,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 60)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177336,i32*%aT,align 4
%aU=getelementptr inbounds i8,i8*%aR,i64 56
%aV=bitcast i8*%aU to i32*
store i32 1,i32*%aV,align 4
%aW=load i8*,i8**%d,align 8
%aX=bitcast i8*%aR to i8**
store i8*%aW,i8**%aX,align 8
call void@sml_raise(i8*inreg%aR)#1
unreachable
aY:
%aZ=add nsw i32%av,%x
%a0=call i8*@sml_alloc(i32 inreg 28)#0
%a1=bitcast i8*%a0 to i32*
%a2=getelementptr inbounds i8,i8*%a0,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177304,i32*%a3,align 4
store i32%o,i32*%a1,align 4
%a4=getelementptr inbounds i8,i8*%a0,i64 4
%a5=bitcast i8*%a4 to i32*
store i32%r,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i32*
store i32%u,i32*%a7,align 4
%a8=getelementptr inbounds i8,i8*%a0,i64 12
%a9=bitcast i8*%a8 to i32*
store i32%aD,i32*%a9,align 4
%ba=getelementptr inbounds i8,i8*%a0,i64 16
%bb=bitcast i8*%ba to i32*
store i32%aZ,i32*%bb,align 4
%bc=getelementptr inbounds i8,i8*%a0,i64 20
%bd=bitcast i8*%bc to i32*
store i32%A,i32*%bd,align 4
%be=getelementptr inbounds i8,i8*%a0,i64 24
%bf=bitcast i8*%be to i32*
store i32 0,i32*%bf,align 4
%bg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bh=call fastcc i8*@_SMLLN4Date13normalizeDateE_382(i8*inreg%bg,i8*inreg%a0)
store i8*%bh,i8**%d,align 8
%bi=getelementptr inbounds i8,i8*%bh,i64 24
%bj=bitcast i8*%bi to i32*
%bk=load i32,i32*%bj,align 4
%bl=icmp sgt i32%bk,-1
br i1%bl,label%bt,label%bm
bm:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%bn=call i8*@sml_alloc(i32 inreg 60)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177336,i32*%bp,align 4
%bq=getelementptr inbounds i8,i8*%bn,i64 56
%br=bitcast i8*%bq to i32*
store i32 1,i32*%br,align 4
%bs=bitcast i8*%bn to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aY,i64 0,i32 2)to i8*),i8**%bs,align 8
call void@sml_raise(i8*inreg%bn)#1
unreachable
bt:
%bu=getelementptr inbounds i8,i8*%bh,i64 16
%bv=bitcast i8*%bu to i32*
%bw=load i32,i32*%bv,align 4
%bx=icmp slt i32%bw,0
br i1%bx,label%cm,label%by
by:
%bz=load i8*,i8**%e,align 8
%bA=getelementptr inbounds i8,i8*%bz,i64 8
%bB=bitcast i8*%bA to i32**
%bC=load i32*,i32**%bB,align 8
%bD=getelementptr inbounds i32,i32*%bC,i64 -1
%bE=load i32,i32*%bD,align 4
%bF=lshr i32%bE,2
%bG=and i32%bF,67108863
%bH=icmp slt i32%bw,%bG
br i1%bH,label%bI,label%cm
bI:
%bJ=bitcast i32*%bC to i8*
%bK=shl i32%bw,2
%bL=sext i32%bK to i64
%bM=getelementptr inbounds i8,i8*%bJ,i64%bL
%bN=bitcast i8*%bM to i32*
%bO=load i32,i32*%bN,align 4
%bP=getelementptr inbounds i8,i8*%bz,i64 16
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%f,align 8
%bS=add nsw i32%bw,1
%bT=getelementptr inbounds i8,i8*%bh,i64 4
%bU=bitcast i8*%bT to i32*
%bV=load i32,i32*%bU,align 4
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=bitcast i8*%bW to i32*
%bY=getelementptr inbounds i8,i8*%bW,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177296,i32*%bZ,align 4
%b0=getelementptr inbounds i8,i8*%bW,i64 12
%b1=bitcast i8*%b0 to i32*
store i32 0,i32*%b1,align 1
store i32%bV,i32*%bX,align 4
%b2=getelementptr inbounds i8,i8*%bW,i64 4
%b3=bitcast i8*%b2 to i32*
store i32%bS,i32*%b3,align 4
%b4=getelementptr inbounds i8,i8*%bW,i64 8
%b5=bitcast i8*%b4 to i32*
store i32%bk,i32*%b5,align 4
%b6=getelementptr inbounds i8,i8*%bW,i64 16
%b7=bitcast i8*%b6 to i32*
store i32 0,i32*%b7,align 4
%b8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b9=call fastcc i32@_SMLLN4Date10daysInYearE_344(i8*inreg%b8,i8*inreg%bW)
%ca=bitcast i8**%d to i32**
%cb=load i32*,i32**%ca,align 8
%cc=load i32,i32*%cb,align 4
%cd=srem i32%cc,7
%ce=lshr i32%cc,31
%cf=icmp ne i32%cd,0
%cg=zext i1%cf to i32
%ch=and i32%ce,%cg
%ci=sub nsw i32 0,%ch
%cj=and i32%ci,7
%ck=add nsw i32%cj,%cd
%cl=icmp slt i32%ck,0
br i1%cl,label%dU,label%cE
cm:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%cn=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%cn,i8**%c,align 8
%co=call i8*@sml_alloc(i32 inreg 20)#0
%cp=getelementptr inbounds i8,i8*%co,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
store i8*%co,i8**%d,align 8
%cr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cs=bitcast i8*%co to i8**
store i8*%cr,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%co,i64 8
%cu=bitcast i8*%ct to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@aZ,i64 0,i32 2,i64 0),i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%co,i64 16
%cw=bitcast i8*%cv to i32*
store i32 3,i32*%cw,align 4
%cx=call i8*@sml_alloc(i32 inreg 60)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177336,i32*%cz,align 4
%cA=getelementptr inbounds i8,i8*%cx,i64 56
%cB=bitcast i8*%cA to i32*
store i32 1,i32*%cB,align 4
%cC=load i8*,i8**%d,align 8
%cD=bitcast i8*%cx to i8**
store i8*%cC,i8**%cD,align 8
call void@sml_raise(i8*inreg%cx)#1
unreachable
cE:
%cF=bitcast i8**%e to i32***
%cG=load i32**,i32***%cF,align 8
%cH=load i32*,i32**%cG,align 8
%cI=getelementptr inbounds i32,i32*%cH,i64 -1
%cJ=load i32,i32*%cI,align 4
%cK=lshr i32%cJ,2
%cL=and i32%cK,67108863
%cM=icmp slt i32%ck,%cL
br i1%cM,label%cN,label%dU
cN:
%cO=bitcast i32**%cG to i8**
store i8*null,i8**%e,align 8
%cP=load i8*,i8**%cO,align 8
%cQ=shl nsw i32%ck,2
%cR=sext i32%cQ to i64
%cS=getelementptr inbounds i8,i8*%cP,i64%cR
%cT=bitcast i8*%cS to i32*
%cU=load i32,i32*%cT,align 4
%cV=getelementptr inbounds i32,i32*%cb,i64 1
%cW=load i32,i32*%cV,align 4
%cX=getelementptr inbounds i32,i32*%cb,i64 2
%cY=load i32,i32*%cX,align 4
%cZ=getelementptr inbounds i32,i32*%cb,i64 3
%c0=load i32,i32*%cZ,align 4
%c1=getelementptr inbounds i32,i32*%cb,i64 5
%c2=load i32,i32*%c1,align 4
store i8*null,i8**%d,align 8
%c3=getelementptr inbounds i32,i32*%cb,i64 6
%c4=load i32,i32*%c3,align 4
%c5=call i8*@sml_alloc(i32 inreg 52)#0
%c6=bitcast i8*%c5 to i32*
%c7=getelementptr inbounds i8,i8*%c5,i64 -4
%c8=bitcast i8*%c7 to i32*
store i32 1342177328,i32*%c8,align 4
store i32%cW,i32*%c6,align 4
%c9=getelementptr inbounds i8,i8*%c5,i64 4
%da=bitcast i8*%c9 to i32*
store i32%cY,i32*%da,align 4
%db=getelementptr inbounds i8,i8*%c5,i64 8
%dc=bitcast i8*%db to i8**
store i8*null,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64 16
%de=bitcast i8*%dd to i32*
store i32%c0,i32*%de,align 4
%df=getelementptr inbounds i8,i8*%c5,i64 20
%dg=bitcast i8*%df to i32*
store i32%bO,i32*%dg,align 4
%dh=load i8*,i8**%c,align 8
%di=getelementptr inbounds i8,i8*%c5,i64 24
%dj=bitcast i8*%di to i8**
store i8*%dh,i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%c5,i64 32
%dl=bitcast i8*%dk to i32*
store i32%c2,i32*%dl,align 4
%dm=getelementptr inbounds i8,i8*%c5,i64 36
%dn=bitcast i8*%dm to i32*
store i32%cU,i32*%dn,align 4
%do=getelementptr inbounds i8,i8*%c5,i64 40
%dp=bitcast i8*%do to i32*
store i32%b9,i32*%dp,align 4
%dq=getelementptr inbounds i8,i8*%c5,i64 44
%dr=bitcast i8*%dq to i32*
store i32%c4,i32*%dr,align 4
%ds=getelementptr inbounds i8,i8*%c5,i64 48
%dt=bitcast i8*%ds to i32*
store i32 10,i32*%dt,align 4
store i8*null,i8**%c,align 8
store i8*%dh,i8**%d,align 8
%du=call i8*@sml_alloc(i32 inreg 52)#0
%dv=bitcast i8*%du to i32*
%dw=getelementptr inbounds i8,i8*%du,i64 -4
%dx=bitcast i8*%dw to i32*
store i32 1342177328,i32*%dx,align 4
store i32%cW,i32*%dv,align 4
%dy=getelementptr inbounds i8,i8*%du,i64 4
%dz=bitcast i8*%dy to i32*
store i32%cY,i32*%dz,align 4
%dA=load i8*,i8**%c,align 8
%dB=getelementptr inbounds i8,i8*%du,i64 8
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=getelementptr inbounds i8,i8*%du,i64 16
%dE=bitcast i8*%dD to i32*
store i32%c0,i32*%dE,align 4
%dF=getelementptr inbounds i8,i8*%du,i64 20
%dG=bitcast i8*%dF to i32*
store i32%bO,i32*%dG,align 4
%dH=load i8*,i8**%d,align 8
%dI=getelementptr inbounds i8,i8*%du,i64 24
%dJ=bitcast i8*%dI to i8**
store i8*%dH,i8**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%du,i64 32
%dL=bitcast i8*%dK to i32*
store i32%c2,i32*%dL,align 4
%dM=getelementptr inbounds i8,i8*%du,i64 36
%dN=bitcast i8*%dM to i32*
store i32%cU,i32*%dN,align 4
%dO=getelementptr inbounds i8,i8*%du,i64 40
%dP=bitcast i8*%dO to i32*
store i32%b9,i32*%dP,align 4
%dQ=getelementptr inbounds i8,i8*%du,i64 44
%dR=bitcast i8*%dQ to i32*
store i32%c4,i32*%dR,align 4
%dS=getelementptr inbounds i8,i8*%du,i64 48
%dT=bitcast i8*%dS to i32*
store i32 10,i32*%dT,align 4
ret i8*%du
dU:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%dV=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%dV,i8**%c,align 8
%dW=call i8*@sml_alloc(i32 inreg 20)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177296,i32*%dY,align 4
store i8*%dW,i8**%d,align 8
%dZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d0=bitcast i8*%dW to i8**
store i8*%dZ,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dW,i64 8
%d2=bitcast i8*%d1 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@a0,i64 0,i32 2,i64 0),i8**%d2,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 16
%d4=bitcast i8*%d3 to i32*
store i32 3,i32*%d4,align 4
%d5=call i8*@sml_alloc(i32 inreg 60)#0
%d6=getelementptr inbounds i8,i8*%d5,i64 -4
%d7=bitcast i8*%d6 to i32*
store i32 1342177336,i32*%d7,align 4
%d8=getelementptr inbounds i8,i8*%d5,i64 56
%d9=bitcast i8*%d8 to i32*
store i32 1,i32*%d9,align 4
%ea=load i8*,i8**%d,align 8
%eb=bitcast i8*%d5 to i8**
store i8*%ea,i8**%eb,align 8
call void@sml_raise(i8*inreg%d5)#1
unreachable
}
define internal fastcc i8*@_SMLLN4Date13fromTimeLocalE_393(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%d,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%d,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=call fastcc i32@_SMLLN4Date10timeToSecsE_266(i8*inreg%m)
%p=call fastcc i32@_SMLLN4Date18localOffsetForTimeE_276(i32 inreg%o)
%q=call fastcc i8*@_SMLFN6IntInf7fromIntE(i32 inreg%p)
%r=call fastcc i8*@_SMLFN4Time11fromSecondsE(i8*inreg%q)
store i8*%r,i8**%e,align 8
%s=bitcast i8**%f to i8***
%t=load i8**,i8***%s,align 8
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%f,align 8
%v=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%w=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%v,i8**%c,align 8
%x=load atomic i32,i32*@sml_check_flag unordered,align 4
%y=icmp eq i32%x,0
br i1%y,label%B,label%z
z:
call void@sml_check(i32 inreg%x)
%A=load i8*,i8**%c,align 8
br label%B
B:
%C=phi i8*[%A,%z],[%v,%l]
store i8*null,i8**%c,align 8
%D=call fastcc i32@_SMLLN4Date10timeToSecsE_266(i8*inreg%C)
%E=call fastcc i8*@_SMLLN4Date10localTime_GE_248(i32 inreg%D)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
store i8*%E,i8**%d,align 8
%F=call i8*@sml_alloc(i32 inreg 12)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177288,i32*%H,align 4
store i8*%F,i8**%g,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i32*
store i32 1,i32*%L,align 4
%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=load i8*,i8**%d,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=load i8*,i8**%g,align 8
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i8**
store i8*%R,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
%W=load i8*,i8**%f,align 8
%X=tail call fastcc i8*@_SMLLN4Date7tm2dateE_303(i8*inreg%W,i8*inreg%M)
ret i8*%X
}
define fastcc i8*@_SMLFN4Date6toTimeE(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=call fastcc i8*@_SMLLN4Date7date2tmE_306(i8*inreg%i)
%l=call i32@prim_Date_mkTime(i8*%k)
%m=load i8*,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%m,i64 24
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
store i8*null,i8**%b,align 8
br i1%q,label%r,label%u
r:
%s=call fastcc i8*@_SMLFN6IntInf7fromIntE(i32 inreg%l)
%t=tail call fastcc i8*@_SMLFN4Time11fromSecondsE(i8*inreg%s)
ret i8*%t
u:
%v=call fastcc i32@_SMLLN4Date18localOffsetForTimeE_276(i32 inreg%l)
%w=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%l,i32%v)#0
%x=extractvalue{i32,i1}%w,1
br i1%x,label%y,label%Q
y:
%z=load i8*,i8**@_SMLZ8Overflow,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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@a1,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=add nsw i32%v,%l
%S=call fastcc i8*@_SMLFN6IntInf7fromIntE(i32 inreg%R)
%T=tail call fastcc i8*@_SMLFN4Time11fromSecondsE(i8*inreg%S)
ret i8*%T
}
define internal fastcc i32@_SMLL3cmp_397(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%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%g,label%k
g:
%h=bitcast i8*%a to i8**
%i=bitcast i8*%b to i8**
%j=bitcast i8**%c to i8***
br label%p
k:
call void@sml_check(i32 inreg%e)
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
%n=bitcast i8**%d to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8***[%j,%g],[%l,%k]
%r=phi i8**[%h,%g],[%o,%k]
%s=phi i8**[%i,%g],[%m,%k]
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%r,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=load i8**,i8***%q,align 8
%E=load i8*,i8**%D,align 8
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%H(i8*inreg%J,i8*inreg%N)
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177288,i32*%U,align 4
store i32%C,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 i32*
store i32 0,i32*%Y,align 4
%Z=call fastcc i32@_SMLFN5Int327compareE(i8*inreg%R)
%aa=icmp eq i32%Z,0
br i1%aa,label%ac,label%ab
ab:
ret i32%Z
ac:
%ad=load i8*,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%c,align 8
%am=call i8*@sml_alloc(i32 inreg 4)#0
%an=bitcast i8*%am to i32*
%ao=getelementptr inbounds i8,i8*%am,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 4,i32*%ap,align 4
store i32 0,i32*%an,align 4
%aq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ar=call fastcc i8*%aj(i8*inreg%aq,i8*inreg%am)
%as=bitcast i8*%ar to i32*
%at=load i32,i32*%as,align 4
ret i32%at
}
define internal fastcc i32@_SMLLN4Date7compareE_398(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 44
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define internal fastcc i32@_SMLLN4Date7compareE_402(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=getelementptr inbounds i8,i8*%h,i64 20
%k=bitcast i8*%j to i32*
%l=load i32,i32*%k,align 4
%m=tail call fastcc i32@_SMLLN4Date10monthToIntE_298(i32 inreg%l)
ret i32%m
}
define internal fastcc i32@_SMLLN4Date7compareE_404(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
ret i32%c
}
define internal fastcc i32@_SMLLN4Date7compareE_406(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 4
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define internal fastcc i32@_SMLLN4Date7compareE_408(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define internal fastcc i32@_SMLLN4Date7compareE_410(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 32
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define internal fastcc i32@_SMLLN4Date7compareE_412(i32 inreg%a)#4 gc"smlsharp"{
ret i32 0
}
define internal fastcc i32@_SMLLN4Date7compareE_415(i8*inreg%a,i32 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%f,label%h
f:
%g=bitcast i8*%a to i8**
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%c to i8***
%j=load i8**,i8***%i,align 8
br label%k
k:
%l=phi i8**[%j,%h],[%g,%f]
%m=load i8*,i8**%l,align 8
%n=tail call fastcc i32@_SMLL3cmp_397(i8*inreg%m,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ba,i64 0,i32 2)to i8*))
ret i32%n
}
define internal fastcc i32@_SMLLN4Date7compareE_416(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=load i8*,i8**%n,align 8
store i8*%p,i8**%c,align 8
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
store i8*%q,i8**%e,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
store i8*%x,i8**%c,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLN4Date7compareE_415 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_531 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%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
%L=bitcast i8*%I to i8**
store 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*),i8**%L,align 8
%M=load i8*,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,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=load i8*,i8**%d,align 8
%S=tail call fastcc i32@_SMLL3cmp_397(i8*inreg%R,i8*inreg%I)
ret i32%S
}
define internal fastcc i32@_SMLLN4Date7compareE_417(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=load i8*,i8**%n,align 8
store i8*%p,i8**%c,align 8
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
store i8*%q,i8**%e,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
store i8*%x,i8**%c,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLN4Date7compareE_416 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_532 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%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
%L=bitcast i8*%I to i8**
store 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*),i8**%L,align 8
%M=load i8*,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,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=load i8*,i8**%d,align 8
%S=tail call fastcc i32@_SMLL3cmp_397(i8*inreg%R,i8*inreg%I)
ret i32%S
}
define internal fastcc i32@_SMLLN4Date7compareE_418(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=load i8*,i8**%n,align 8
store i8*%p,i8**%c,align 8
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
store i8*%q,i8**%e,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
store i8*%x,i8**%c,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLN4Date7compareE_417 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_533 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%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
%L=bitcast i8*%I to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a5,i64 0,i32 2)to i8*),i8**%L,align 8
%M=load i8*,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,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=load i8*,i8**%d,align 8
%S=tail call fastcc i32@_SMLL3cmp_397(i8*inreg%R,i8*inreg%I)
ret i32%S
}
define internal fastcc i32@_SMLLN4Date7compareE_419(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=load i8*,i8**%n,align 8
store i8*%p,i8**%c,align 8
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177288,i32*%s,align 4
store i8*%q,i8**%e,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
store i8*%x,i8**%c,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLN4Date7compareE_418 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_534 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%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
%L=bitcast i8*%I to i8**
store 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*),i8**%L,align 8
%M=load i8*,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,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=load i8*,i8**%d,align 8
%S=tail call fastcc i32@_SMLL3cmp_397(i8*inreg%R,i8*inreg%I)
ret i32%S
}
define fastcc i32@_SMLFN4Date7compareE(i8*inreg%a)#2 gc"smlsharp"{
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]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,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**%d,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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
%D=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL3cmp_397 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3cmp_522 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 24
%K=bitcast i8*%J to i32*
store i32 -2147483647,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 12)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177288,i32*%N,align 4
store i8*%L,i8**%b,align 8
%O=load i8*,i8**%d,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 i32*
store i32 1,i32*%R,align 4
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,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 void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLN4Date7compareE_419 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date7compareE_535 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 24
%ac=bitcast i8*%ab to i32*
store i32 -2147483647,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
%ag=bitcast i8*%ad to i8**
store 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*),i8**%ag,align 8
%ah=load i8*,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%ad,i64 8
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 16
%al=bitcast i8*%ak to i32*
store i32 3,i32*%al,align 4
%am=load i8*,i8**%d,align 8
%an=tail call fastcc i32@_SMLL3cmp_397(i8*inreg%am,i8*inreg%ad)
ret i32%an
}
define internal fastcc i8*@_SMLL8continue_424(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=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**%d,align 8
%u=load i8*,i8**%n,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 28)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177304,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%v,i64 12
%z=bitcast i8*%y to i32*
store i32 0,i32*%z,align 1
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%v to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 8
%D=bitcast i8*%C to i32*
store i32 0,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%v,i64 16
%F=bitcast i8*%E to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@bc,i64 0,i32 2)to i8*),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%v,i64 24
%H=bitcast i8*%G to i32*
store i32 5,i32*%H,align 4
%I=call fastcc i8*@_SMLFN9Substring5sliceE(i8*inreg%v)
store i8*%I,i8**%c,align 8
%J=call i8*@sml_alloc(i32 inreg 28)#0
%K=bitcast i8*%J to i32*
%L=getelementptr inbounds i8,i8*%J,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177304,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%J,i64 4
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 1
store i32%q,i32*%K,align 4
%P=load i8*,i8**%c,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%J,i64 16
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%J,i64 24
%W=bitcast i8*%V to i32*
store i32 6,i32*%W,align 4
ret i8*%J
}
define internal fastcc i8*@_SMLL7mkFmtFn_428(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%f,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%j,label%l
j:
%k=bitcast i8*%a to i8**
br label%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%g to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%l],[%k,%j]
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%g,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
%u=load i8*,i8**%g,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%f,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%B)
%C=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%C)
%D=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%D)
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*%r,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%M,label%G
G:
call void@sml_check(i32 inreg%E)
%H=load i8*,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%H,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=bitcast i8*%H to i8**
br label%M
M:
%N=phi i8**[%L,%G],[%v,%o]
%O=phi i8*[%K,%G],[%w,%o]
store i8*null,i8**%c,align 8
%P=load i8*,i8**%N,align 8
store i8*%P,i8**%d,align 8
store i8*%O,i8**%e,align 8
%Q=call fastcc i8*@_SMLFN9CharArray5arrayE(i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i8,[3x i8],i32}>,<{[4x i8],i32,i32,i8,[3x i8],i32}>*@v,i64 0,i32 2)to i8*))
store i8*%Q,i8**%c,align 8
%R=load i8*,i8**%d,align 8
%S=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%T=call i32@prim_Date_strfTime(i8*%Q,i32 512,i8*%R,i8*%S)
%U=icmp eq i32%T,0
br i1%U,label%V,label%ae
V:
store i8*null,i8**%c,align 8
%W=call fastcc i8*@_SMLFN16SMLSharp__Runtime9OS__SysErrE(i32 inreg 0)
store i8*%W,i8**%c,align 8
%X=call i8*@sml_alloc(i32 inreg 60)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177336,i32*%Z,align 4
%aa=getelementptr inbounds i8,i8*%X,i64 56
%ab=bitcast i8*%aa to i32*
store i32 1,i32*%ab,align 4
%ac=load i8*,i8**%c,align 8
%ad=bitcast i8*%X to i8**
store i8*%ac,i8**%ad,align 8
call void@sml_raise(i8*inreg%X)#1
unreachable
ae:
%af=icmp sgt i32%T,-1
br i1%af,label%ay,label%ag
ag:
%ah=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%ah,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
store i8*%ai,i8**%d,align 8
%al=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ai,i64 8
%ao=bitcast i8*%an to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[38x i8]}>,<{[4x i8],i32,[38x i8]}>*@w,i64 0,i32 2,i64 0),i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 16
%aq=bitcast i8*%ap to i32*
store i32 3,i32*%aq,align 4
%ar=call i8*@sml_alloc(i32 inreg 60)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177336,i32*%at,align 4
%au=getelementptr inbounds i8,i8*%ar,i64 56
%av=bitcast i8*%au to i32*
store i32 1,i32*%av,align 4
%aw=load i8*,i8**%d,align 8
%ax=bitcast i8*%ar to i8**
store i8*%aw,i8**%ax,align 8
call void@sml_raise(i8*inreg%ar)#1
unreachable
ay:
%az=call i8*@sml_alloc(i32 inreg 12)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177288,i32*%aB,align 4
store i8*%az,i8**%d,align 8
%aC=getelementptr inbounds i8,i8*%az,i64 4
%aD=bitcast i8*%aC to i32*
store i32 0,i32*%aD,align 1
%aE=bitcast i8*%az to i32*
store i32%T,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%az,i64 8
%aG=bitcast i8*%aF to i32*
store i32 0,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 28)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,i32*%aJ,align 4
%aK=getelementptr inbounds i8,i8*%aH,i64 12
%aL=bitcast i8*%aK to i32*
store i32 0,i32*%aL,align 1
%aM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aN=bitcast i8*%aH to i8**
store i8*%aM,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 8
%aP=bitcast i8*%aO to i32*
store i32 0,i32*%aP,align 4
%aQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aR=getelementptr inbounds i8,i8*%aH,i64 16
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aH,i64 24
%aU=bitcast i8*%aT to i32*
store i32 5,i32*%aU,align 4
%aV=call fastcc i8*@_SMLFN14CharArraySlice5sliceE(i8*inreg%aH)
%aW=tail call fastcc i8*@_SMLFN14CharArraySlice6vectorE(i8*inreg%aV)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%B)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%C)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%D)
ret i8*%aW
}
define internal fastcc i8*@_SMLL7mkFmtFn_429(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
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]
%l=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=call fastcc i8*@_SMLFN4List4nullE(i32 inreg 1,i32 inreg 8)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=bitcast i8**%b to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*%r(i8*inreg%t,i8*inreg%w)
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=icmp eq i32%z,0
br i1%A,label%D,label%B
B:
%C=load i8*,i8**%c,align 8
ret i8*%C
D:
%E=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8**,i8***%u,align 8
store i8*null,i8**%b,align 8
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*%H(i8*inreg%J,i8*inreg%L)
%N=call fastcc i8*@_SMLFN9Substring6concatE(i8*inreg%M)
store i8*%N,i8**%b,align 8
%O=call i8*@sml_alloc(i32 inreg 12)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177288,i32*%Q,align 4
store i8*%O,i8**%d,align 8
%R=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to i32*
store i32 1,i32*%U,align 4
%V=call i8*@sml_alloc(i32 inreg 28)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177304,i32*%X,align 4
store i8*%V,i8**%b,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%V,i64 8
%ab=bitcast i8*%aa to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7mkFmtFn_428 to void(...)*),void(...)**%ab,align 8
%ac=getelementptr inbounds i8,i8*%V,i64 16
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7mkFmtFn_428 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%V,i64 24
%af=bitcast i8*%ae to i32*
store i32 -2147483647,i32*%af,align 4
%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
%aj=load i8*,i8**%b,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%c,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ag,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,i32*%ap,align 4
ret i8*%ag
}
define internal fastcc i32@_SMLL4scan_432(i8 inreg%a)#4 gc"smlsharp"{
%b=icmp ne i8%a,37
%c=zext i1%b to i32
ret i32%c
}
define internal fastcc i8*@_SMLL4scan_436(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL4scan_431(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%j,align 8
%l=bitcast i8**%f to i8***
%m=bitcast i8**%c to i8*
%n=bitcast i8**%d to i8*
%o=bitcast i8**%e to i8*
%p=bitcast i8**%j to i32**
br label%q
q:
%r=phi i8*[%ks,%kr],[%b,%s]
store i8*%r,i8**%f,align 8
%t=load atomic i32,i32*@sml_check_flag unordered,align 4
%u=icmp eq i32%t,0
br i1%u,label%x,label%v
v:
call void@sml_check(i32 inreg%t)
%w=load i8*,i8**%f,align 8
br label%x
x:
%y=phi i8*[%w,%v],[%r,%q]
%z=getelementptr inbounds i8,i8*%y,i64 8
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=getelementptr inbounds i8,i8*%y,i64 16
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%g,align 8
%F=getelementptr inbounds i8,i8*%y,i64 24
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%i,align 8
%I=call fastcc i8*@_SMLFN9Substring6splitlE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@be,i64 0,i32 2)to i8*))
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8**,i8***%l,align 8
store i8*null,i8**%f,align 8
%P=load i8*,i8**%O,align 8
%Q=call fastcc i8*%L(i8*inreg%N,i8*inreg%P)
store i8*%Q,i8**%h,align 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%f,align 8
%T=call fastcc i32@_SMLFN9Substring4sizeE(i8*inreg%S)
%U=icmp eq i32%T,0
br i1%U,label%V,label%ag
V:
store i8*null,i8**%f,align 8
%W=call i8*@sml_alloc(i32 inreg 28)#0
%X=bitcast i8*%W to i32*
%Y=getelementptr inbounds i8,i8*%W,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=getelementptr inbounds i8,i8*%W,i64 4
%ab=bitcast i8*%aa to i32*
store i32 0,i32*%ab,align 1
store i32%B,i32*%X,align 4
%ac=load i8*,i8**%g,align 8
%ad=getelementptr inbounds i8,i8*%W,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
br label%bU
ag:
%ah=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%B,i32%T)#0
%ai=extractvalue{i32,i1}%ah,1
br i1%ai,label%aj,label%aB
aj:
store i8*null,i8**%h,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
%ak=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%ak,i8**%f,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**%g,align 8
%ao=load i8*,i8**%f,align 8
store i8*null,i8**%f,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,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@bf,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**%g,align 8
%aA=bitcast i8*%au to i8**
store i8*%az,i8**%aA,align 8
call void@sml_raise(i8*inreg%au)#1
unreachable
aB:
%aC=add nsw i32%T,%B
%aD=load i32*,i32**%p,align 8
%aE=load i32,i32*%aD,align 4
%aF=icmp slt i32%aC,%aE
%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
br i1%aF,label%bC,label%aJ
aJ:
%aK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aL=bitcast i8*%aG to i8**
store i8*%aK,i8**%aL,align 8
%aM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 8
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 3,i32*%aQ,align 4
%aR=call fastcc i8*@_SMLL7mkFmtFn_429(i8*inreg%aG)
store i8*%aR,i8**%g,align 8
%aS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aT=call fastcc i8*@_SMLFN9Substring6stringE(i8*inreg%aS)
store i8*%aT,i8**%f,align 8
%aU=call i8*@sml_alloc(i32 inreg 12)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177288,i32*%aW,align 4
store i8*%aU,i8**%i,align 8
%aX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aU,i64 8
%a0=bitcast i8*%aZ to i32*
store i32 1,i32*%a0,align 4
%a1=call i8*@sml_alloc(i32 inreg 28)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177304,i32*%a3,align 4
store i8*%a1,i8**%f,align 8
%a4=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a5=bitcast i8*%a1 to i8**
store i8*%a4,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%a1,i64 8
%a7=bitcast i8*%a6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4scan_436 to void(...)*),void(...)**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a1,i64 16
%a9=bitcast i8*%a8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4scan_436 to void(...)*),void(...)**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a1,i64 24
%bb=bitcast i8*%ba to i32*
store i32 -2147483647,i32*%bb,align 4
%bc=call i8*@sml_alloc(i32 inreg 20)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177296,i32*%be,align 4
store i8*%bc,i8**%i,align 8
%bf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bc,i64 16
%bl=bitcast i8*%bk to i32*
store i32 3,i32*%bl,align 4
%bm=call i8*@sml_alloc(i32 inreg 28)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177304,i32*%bo,align 4
call void@llvm.memset.p0i8.i64(i8*%bm,i8 0,i64 16,i1 false)
%bp=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bq=getelementptr inbounds i8,i8*%bm,i64 16
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bm,i64 24
%bt=bitcast i8*%bs to i32*
store i32 6,i32*%bt,align 4
store i8*null,i8**%f,align 8
store i8*%bp,i8**%g,align 8
%bu=call i8*@sml_alloc(i32 inreg 28)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177304,i32*%bw,align 4
%bx=bitcast i8*%bu to i64*
store i64 0,i64*%bx,align 4
%by=load i8*,i8**%f,align 8
%bz=getelementptr inbounds i8,i8*%bu,i64 8
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=load i8*,i8**%g,align 8
br label%bU
bC:
store i8*%aG,i8**%k,align 8
%bD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bE=bitcast i8*%aG to i8**
store i8*%bD,i8**%bE,align 8
%bF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bG=getelementptr inbounds i8,i8*%aG,i64 8
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%aG,i64 16
%bJ=bitcast i8*%bI to i32*
store i32 3,i32*%bJ,align 4
%bK=call i8*@sml_alloc(i32 inreg 28)#0
%bL=bitcast i8*%bK to i32*
%bM=getelementptr inbounds i8,i8*%bK,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177304,i32*%bN,align 4
%bO=getelementptr inbounds i8,i8*%bK,i64 4
%bP=bitcast i8*%bO to i32*
store i32 0,i32*%bP,align 1
store i32%aC,i32*%bL,align 4
%bQ=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bR=getelementptr inbounds i8,i8*%bK,i64 8
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
br label%bU
bU:
%bV=phi i8*[%bu,%aJ],[%bK,%bC],[%W,%V]
%bW=phi i8*[%bB,%aJ],[%bT,%bC],[%af,%V]
%bX=phi i8*[%by,%aJ],[%bQ,%bC],[%ac,%V]
%bY=phi i32[0,%aJ],[%aC,%bC],[%B,%V]
%bZ=getelementptr inbounds i8,i8*%bV,i64 16
%b0=bitcast i8*%bZ to i8**
store i8*%bW,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bV,i64 24
%b2=bitcast i8*%b1 to i32*
store i32 6,i32*%b2,align 4
store i8*%bX,i8**%f,align 8
store i8*%bW,i8**%g,align 8
%b3=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b4=getelementptr inbounds i8,i8*%b3,i64 8
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
call void@llvm.lifetime.start.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
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*%b6,i8**%c,align 8
%b7=load atomic i32,i32*@sml_check_flag unordered,align 4
%b8=icmp eq i32%b7,0
br i1%b8,label%cb,label%b9
b9:
call void@sml_check(i32 inreg%b7)
%ca=load i8*,i8**%c,align 8
br label%cb
cb:
%cc=phi i8*[%ca,%b9],[%b6,%bU]
%cd=call fastcc i8*@_SMLFN9Substring4getcE(i8*inreg%cc)
%ce=icmp eq i8*%cd,null
br i1%ce,label%cf,label%cr
cf:
%cg=call i8*@sml_alloc(i32 inreg 28)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177304,i32*%ci,align 4
%cj=bitcast i8*%cg to i64*
store i64 0,i64*%cj,align 4
%ck=load i8*,i8**%c,align 8
%cl=getelementptr inbounds i8,i8*%cg,i64 8
%cm=bitcast i8*%cl to i8**
store i8*%ck,i8**%cm,align 8
%cn=getelementptr inbounds i8,i8*%cg,i64 16
%co=bitcast i8*%cn to i8**
store i8*%ck,i8**%co,align 8
%cp=getelementptr inbounds i8,i8*%cg,i64 24
%cq=bitcast i8*%cp to i32*
store i32 6,i32*%cq,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
cr:
%cs=bitcast i8*%cd to i8**
%ct=load i8*,i8**%cs,align 8
%cu=getelementptr inbounds i8,i8*%ct,i64 8
%cv=bitcast i8*%cu to i8**
%cw=load i8*,i8**%cv,align 8
store i8*%cw,i8**%d,align 8
%cx=call i8*@sml_alloc(i32 inreg 12)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177288,i32*%cz,align 4
store i8*%cx,i8**%e,align 8
%cA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cx,i64 8
%cD=bitcast i8*%cC to i32*
store i32 1,i32*%cD,align 4
%cE=call i8*@sml_alloc(i32 inreg 28)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177304,i32*%cG,align 4
%cH=load i8*,i8**%e,align 8
%cI=bitcast i8*%cE to i8**
store i8*%cH,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cE,i64 8
%cK=bitcast i8*%cJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8continue_424 to void(...)*),void(...)**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cE,i64 16
%cM=bitcast i8*%cL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8continue_424 to void(...)*),void(...)**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cE,i64 24
%cO=bitcast i8*%cN to i32*
store i32 -2147483647,i32*%cO,align 4
%cP=load i8*,i8**%d,align 8
%cQ=call fastcc i8*@_SMLFN9Substring4getcE(i8*inreg%cP)
%cR=icmp eq i8*%cQ,null
br i1%cR,label%cS,label%c8
cS:
store i8*null,i8**%e,align 8
%cT=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@bd,i64 0,i32 2,i64 0))
store i8*%cT,i8**%c,align 8
%cU=call i8*@sml_alloc(i32 inreg 28)#0
%cV=bitcast i8*%cU to i32*
%cW=getelementptr inbounds i8,i8*%cU,i64 -4
%cX=bitcast i8*%cW to i32*
store i32 1342177304,i32*%cX,align 4
%cY=getelementptr inbounds i8,i8*%cU,i64 4
%cZ=bitcast i8*%cY to i32*
store i32 0,i32*%cZ,align 1
store i32 1,i32*%cV,align 4
%c0=load i8*,i8**%c,align 8
%c1=getelementptr inbounds i8,i8*%cU,i64 8
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=load i8*,i8**%d,align 8
%c4=getelementptr inbounds i8,i8*%cU,i64 16
%c5=bitcast i8*%c4 to i8**
store i8*%c3,i8**%c5,align 8
%c6=getelementptr inbounds i8,i8*%cU,i64 24
%c7=bitcast i8*%c6 to i32*
store i32 6,i32*%c7,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
c8:
%c9=bitcast i8*%cQ to i8**
%da=load i8*,i8**%c9,align 8
%db=load i8,i8*%da,align 1
switch i8%db,label%dc[
i8 65,label%i1
i8 66,label%iK
i8 72,label%it
i8 73,label%ic
i8 77,label%hV
i8 83,label%hE
i8 85,label%hn
i8 87,label%g6
i8 88,label%gP
i8 89,label%gy
i8 90,label%gh
i8 97,label%f0
i8 98,label%fJ
i8 99,label%fs
i8 100,label%fb
i8 106,label%eU
i8 109,label%eD
i8 112,label%em
i8 119,label%d5
i8 120,label%dO
i8 121,label%dx
]
dc:
store i8*null,i8**%e,align 8
%dd=getelementptr inbounds i8,i8*%da,i64 8
%de=bitcast i8*%dd to i8**
%df=load i8*,i8**%de,align 8
store i8*%df,i8**%d,align 8
%dg=load i8,i8*%da,align 1
%dh=call fastcc i8*@_SMLFN6String3strE(i8 inreg%dg)
%di=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%dh)
store i8*%di,i8**%c,align 8
%dj=call i8*@sml_alloc(i32 inreg 28)#0
%dk=bitcast i8*%dj to i32*
%dl=getelementptr inbounds i8,i8*%dj,i64 -4
%dm=bitcast i8*%dl to i32*
store i32 1342177304,i32*%dm,align 4
%dn=getelementptr inbounds i8,i8*%dj,i64 4
%do=bitcast i8*%dn to i32*
store i32 0,i32*%do,align 1
store i32 1,i32*%dk,align 4
%dp=load i8*,i8**%c,align 8
%dq=getelementptr inbounds i8,i8*%dj,i64 8
%dr=bitcast i8*%dq to i8**
store i8*%dp,i8**%dr,align 8
%ds=load i8*,i8**%d,align 8
%dt=getelementptr inbounds i8,i8*%dj,i64 16
%du=bitcast i8*%dt to i8**
store i8*%ds,i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%dj,i64 24
%dw=bitcast i8*%dv to i32*
store i32 6,i32*%dw,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
dx:
%dy=getelementptr inbounds i8,i8*%da,i64 8
%dz=bitcast i8*%dy to i8**
%dA=load i8*,i8**%dz,align 8
store i8*%dA,i8**%c,align 8
%dB=call i8*@sml_alloc(i32 inreg 20)#0
%dC=bitcast i8*%dB to i32*
%dD=getelementptr inbounds i8,i8*%dB,i64 -4
%dE=bitcast i8*%dD to i32*
store i32 1342177296,i32*%dE,align 4
%dF=getelementptr inbounds i8,i8*%dB,i64 4
%dG=bitcast i8*%dF to i32*
store i32 0,i32*%dG,align 1
store i32 2,i32*%dC,align 4
%dH=load i8*,i8**%c,align 8
%dI=getelementptr inbounds i8,i8*%dB,i64 8
%dJ=bitcast i8*%dI to i8**
store i8*%dH,i8**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%dB,i64 16
%dL=bitcast i8*%dK to i32*
store i32 2,i32*%dL,align 4
%dM=load i8*,i8**%e,align 8
%dN=call fastcc i8*@_SMLL8continue_424(i8*inreg%dM,i8*inreg%dB)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
dO:
%dP=getelementptr inbounds i8,i8*%da,i64 8
%dQ=bitcast i8*%dP to i8**
%dR=load i8*,i8**%dQ,align 8
store i8*%dR,i8**%c,align 8
%dS=call i8*@sml_alloc(i32 inreg 20)#0
%dT=bitcast i8*%dS to i32*
%dU=getelementptr inbounds i8,i8*%dS,i64 -4
%dV=bitcast i8*%dU to i32*
store i32 1342177296,i32*%dV,align 4
%dW=getelementptr inbounds i8,i8*%dS,i64 4
%dX=bitcast i8*%dW to i32*
store i32 0,i32*%dX,align 1
store i32 24,i32*%dT,align 4
%dY=load i8*,i8**%c,align 8
%dZ=getelementptr inbounds i8,i8*%dS,i64 8
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dS,i64 16
%d2=bitcast i8*%d1 to i32*
store i32 2,i32*%d2,align 4
%d3=load i8*,i8**%e,align 8
%d4=call fastcc i8*@_SMLL8continue_424(i8*inreg%d3,i8*inreg%dS)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
d5:
%d6=getelementptr inbounds i8,i8*%da,i64 8
%d7=bitcast i8*%d6 to i8**
%d8=load i8*,i8**%d7,align 8
store i8*%d8,i8**%c,align 8
%d9=call i8*@sml_alloc(i32 inreg 20)#0
%ea=bitcast i8*%d9 to i32*
%eb=getelementptr inbounds i8,i8*%d9,i64 -4
%ec=bitcast i8*%eb to i32*
store i32 1342177296,i32*%ec,align 4
%ed=getelementptr inbounds i8,i8*%d9,i64 4
%ee=bitcast i8*%ed to i32*
store i32 0,i32*%ee,align 1
store i32 1,i32*%ea,align 4
%ef=load i8*,i8**%c,align 8
%eg=getelementptr inbounds i8,i8*%d9,i64 8
%eh=bitcast i8*%eg to i8**
store i8*%ef,i8**%eh,align 8
%ei=getelementptr inbounds i8,i8*%d9,i64 16
%ej=bitcast i8*%ei to i32*
store i32 2,i32*%ej,align 4
%ek=load i8*,i8**%e,align 8
%el=call fastcc i8*@_SMLL8continue_424(i8*inreg%ek,i8*inreg%d9)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
em:
%en=getelementptr inbounds i8,i8*%da,i64 8
%eo=bitcast i8*%en to i8**
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%c,align 8
%eq=call i8*@sml_alloc(i32 inreg 20)#0
%er=bitcast i8*%eq to i32*
%es=getelementptr inbounds i8,i8*%eq,i64 -4
%et=bitcast i8*%es to i32*
store i32 1342177296,i32*%et,align 4
%eu=getelementptr inbounds i8,i8*%eq,i64 4
%ev=bitcast i8*%eu to i32*
store i32 0,i32*%ev,align 1
store i32 3,i32*%er,align 4
%ew=load i8*,i8**%c,align 8
%ex=getelementptr inbounds i8,i8*%eq,i64 8
%ey=bitcast i8*%ex to i8**
store i8*%ew,i8**%ey,align 8
%ez=getelementptr inbounds i8,i8*%eq,i64 16
%eA=bitcast i8*%ez to i32*
store i32 2,i32*%eA,align 4
%eB=load i8*,i8**%e,align 8
%eC=call fastcc i8*@_SMLL8continue_424(i8*inreg%eB,i8*inreg%eq)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
eD:
%eE=getelementptr inbounds i8,i8*%da,i64 8
%eF=bitcast i8*%eE to i8**
%eG=load i8*,i8**%eF,align 8
store i8*%eG,i8**%c,align 8
%eH=call i8*@sml_alloc(i32 inreg 20)#0
%eI=bitcast i8*%eH to i32*
%eJ=getelementptr inbounds i8,i8*%eH,i64 -4
%eK=bitcast i8*%eJ to i32*
store i32 1342177296,i32*%eK,align 4
%eL=getelementptr inbounds i8,i8*%eH,i64 4
%eM=bitcast i8*%eL to i32*
store i32 0,i32*%eM,align 1
store i32 2,i32*%eI,align 4
%eN=load i8*,i8**%c,align 8
%eO=getelementptr inbounds i8,i8*%eH,i64 8
%eP=bitcast i8*%eO to i8**
store i8*%eN,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eH,i64 16
%eR=bitcast i8*%eQ to i32*
store i32 2,i32*%eR,align 4
%eS=load i8*,i8**%e,align 8
%eT=call fastcc i8*@_SMLL8continue_424(i8*inreg%eS,i8*inreg%eH)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
eU:
%eV=getelementptr inbounds i8,i8*%da,i64 8
%eW=bitcast i8*%eV to i8**
%eX=load i8*,i8**%eW,align 8
store i8*%eX,i8**%c,align 8
%eY=call i8*@sml_alloc(i32 inreg 20)#0
%eZ=bitcast i8*%eY to i32*
%e0=getelementptr inbounds i8,i8*%eY,i64 -4
%e1=bitcast i8*%e0 to i32*
store i32 1342177296,i32*%e1,align 4
%e2=getelementptr inbounds i8,i8*%eY,i64 4
%e3=bitcast i8*%e2 to i32*
store i32 0,i32*%e3,align 1
store i32 3,i32*%eZ,align 4
%e4=load i8*,i8**%c,align 8
%e5=getelementptr inbounds i8,i8*%eY,i64 8
%e6=bitcast i8*%e5 to i8**
store i8*%e4,i8**%e6,align 8
%e7=getelementptr inbounds i8,i8*%eY,i64 16
%e8=bitcast i8*%e7 to i32*
store i32 2,i32*%e8,align 4
%e9=load i8*,i8**%e,align 8
%fa=call fastcc i8*@_SMLL8continue_424(i8*inreg%e9,i8*inreg%eY)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
fb:
%fc=getelementptr inbounds i8,i8*%da,i64 8
%fd=bitcast i8*%fc to i8**
%fe=load i8*,i8**%fd,align 8
store i8*%fe,i8**%c,align 8
%ff=call i8*@sml_alloc(i32 inreg 20)#0
%fg=bitcast i8*%ff to i32*
%fh=getelementptr inbounds i8,i8*%ff,i64 -4
%fi=bitcast i8*%fh to i32*
store i32 1342177296,i32*%fi,align 4
%fj=getelementptr inbounds i8,i8*%ff,i64 4
%fk=bitcast i8*%fj to i32*
store i32 0,i32*%fk,align 1
store i32 2,i32*%fg,align 4
%fl=load i8*,i8**%c,align 8
%fm=getelementptr inbounds i8,i8*%ff,i64 8
%fn=bitcast i8*%fm to i8**
store i8*%fl,i8**%fn,align 8
%fo=getelementptr inbounds i8,i8*%ff,i64 16
%fp=bitcast i8*%fo to i32*
store i32 2,i32*%fp,align 4
%fq=load i8*,i8**%e,align 8
%fr=call fastcc i8*@_SMLL8continue_424(i8*inreg%fq,i8*inreg%ff)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
fs:
%ft=getelementptr inbounds i8,i8*%da,i64 8
%fu=bitcast i8*%ft to i8**
%fv=load i8*,i8**%fu,align 8
store i8*%fv,i8**%c,align 8
%fw=call i8*@sml_alloc(i32 inreg 20)#0
%fx=bitcast i8*%fw to i32*
%fy=getelementptr inbounds i8,i8*%fw,i64 -4
%fz=bitcast i8*%fy to i32*
store i32 1342177296,i32*%fz,align 4
%fA=getelementptr inbounds i8,i8*%fw,i64 4
%fB=bitcast i8*%fA to i32*
store i32 0,i32*%fB,align 1
store i32 24,i32*%fx,align 4
%fC=load i8*,i8**%c,align 8
%fD=getelementptr inbounds i8,i8*%fw,i64 8
%fE=bitcast i8*%fD to i8**
store i8*%fC,i8**%fE,align 8
%fF=getelementptr inbounds i8,i8*%fw,i64 16
%fG=bitcast i8*%fF to i32*
store i32 2,i32*%fG,align 4
%fH=load i8*,i8**%e,align 8
%fI=call fastcc i8*@_SMLL8continue_424(i8*inreg%fH,i8*inreg%fw)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
fJ:
%fK=getelementptr inbounds i8,i8*%da,i64 8
%fL=bitcast i8*%fK to i8**
%fM=load i8*,i8**%fL,align 8
store i8*%fM,i8**%c,align 8
%fN=call i8*@sml_alloc(i32 inreg 20)#0
%fO=bitcast i8*%fN to i32*
%fP=getelementptr inbounds i8,i8*%fN,i64 -4
%fQ=bitcast i8*%fP to i32*
store i32 1342177296,i32*%fQ,align 4
%fR=getelementptr inbounds i8,i8*%fN,i64 4
%fS=bitcast i8*%fR to i32*
store i32 0,i32*%fS,align 1
store i32 3,i32*%fO,align 4
%fT=load i8*,i8**%c,align 8
%fU=getelementptr inbounds i8,i8*%fN,i64 8
%fV=bitcast i8*%fU to i8**
store i8*%fT,i8**%fV,align 8
%fW=getelementptr inbounds i8,i8*%fN,i64 16
%fX=bitcast i8*%fW to i32*
store i32 2,i32*%fX,align 4
%fY=load i8*,i8**%e,align 8
%fZ=call fastcc i8*@_SMLL8continue_424(i8*inreg%fY,i8*inreg%fN)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
f0:
%f1=getelementptr inbounds i8,i8*%da,i64 8
%f2=bitcast i8*%f1 to i8**
%f3=load i8*,i8**%f2,align 8
store i8*%f3,i8**%c,align 8
%f4=call i8*@sml_alloc(i32 inreg 20)#0
%f5=bitcast i8*%f4 to i32*
%f6=getelementptr inbounds i8,i8*%f4,i64 -4
%f7=bitcast i8*%f6 to i32*
store i32 1342177296,i32*%f7,align 4
%f8=getelementptr inbounds i8,i8*%f4,i64 4
%f9=bitcast i8*%f8 to i32*
store i32 0,i32*%f9,align 1
store i32 3,i32*%f5,align 4
%ga=load i8*,i8**%c,align 8
%gb=getelementptr inbounds i8,i8*%f4,i64 8
%gc=bitcast i8*%gb to i8**
store i8*%ga,i8**%gc,align 8
%gd=getelementptr inbounds i8,i8*%f4,i64 16
%ge=bitcast i8*%gd to i32*
store i32 2,i32*%ge,align 4
%gf=load i8*,i8**%e,align 8
%gg=call fastcc i8*@_SMLL8continue_424(i8*inreg%gf,i8*inreg%f4)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
gh:
%gi=getelementptr inbounds i8,i8*%da,i64 8
%gj=bitcast i8*%gi to i8**
%gk=load i8*,i8**%gj,align 8
store i8*%gk,i8**%c,align 8
%gl=call i8*@sml_alloc(i32 inreg 20)#0
%gm=bitcast i8*%gl to i32*
%gn=getelementptr inbounds i8,i8*%gl,i64 -4
%go=bitcast i8*%gn to i32*
store i32 1342177296,i32*%go,align 4
%gp=getelementptr inbounds i8,i8*%gl,i64 4
%gq=bitcast i8*%gp to i32*
store i32 0,i32*%gq,align 1
store i32 3,i32*%gm,align 4
%gr=load i8*,i8**%c,align 8
%gs=getelementptr inbounds i8,i8*%gl,i64 8
%gt=bitcast i8*%gs to i8**
store i8*%gr,i8**%gt,align 8
%gu=getelementptr inbounds i8,i8*%gl,i64 16
%gv=bitcast i8*%gu to i32*
store i32 2,i32*%gv,align 4
%gw=load i8*,i8**%e,align 8
%gx=call fastcc i8*@_SMLL8continue_424(i8*inreg%gw,i8*inreg%gl)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
gy:
%gz=getelementptr inbounds i8,i8*%da,i64 8
%gA=bitcast i8*%gz to i8**
%gB=load i8*,i8**%gA,align 8
store i8*%gB,i8**%c,align 8
%gC=call i8*@sml_alloc(i32 inreg 20)#0
%gD=bitcast i8*%gC to i32*
%gE=getelementptr inbounds i8,i8*%gC,i64 -4
%gF=bitcast i8*%gE to i32*
store i32 1342177296,i32*%gF,align 4
%gG=getelementptr inbounds i8,i8*%gC,i64 4
%gH=bitcast i8*%gG to i32*
store i32 0,i32*%gH,align 1
store i32 4,i32*%gD,align 4
%gI=load i8*,i8**%c,align 8
%gJ=getelementptr inbounds i8,i8*%gC,i64 8
%gK=bitcast i8*%gJ to i8**
store i8*%gI,i8**%gK,align 8
%gL=getelementptr inbounds i8,i8*%gC,i64 16
%gM=bitcast i8*%gL to i32*
store i32 2,i32*%gM,align 4
%gN=load i8*,i8**%e,align 8
%gO=call fastcc i8*@_SMLL8continue_424(i8*inreg%gN,i8*inreg%gC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
gP:
%gQ=getelementptr inbounds i8,i8*%da,i64 8
%gR=bitcast i8*%gQ to i8**
%gS=load i8*,i8**%gR,align 8
store i8*%gS,i8**%c,align 8
%gT=call i8*@sml_alloc(i32 inreg 20)#0
%gU=bitcast i8*%gT to i32*
%gV=getelementptr inbounds i8,i8*%gT,i64 -4
%gW=bitcast i8*%gV to i32*
store i32 1342177296,i32*%gW,align 4
%gX=getelementptr inbounds i8,i8*%gT,i64 4
%gY=bitcast i8*%gX to i32*
store i32 0,i32*%gY,align 1
store i32 24,i32*%gU,align 4
%gZ=load i8*,i8**%c,align 8
%g0=getelementptr inbounds i8,i8*%gT,i64 8
%g1=bitcast i8*%g0 to i8**
store i8*%gZ,i8**%g1,align 8
%g2=getelementptr inbounds i8,i8*%gT,i64 16
%g3=bitcast i8*%g2 to i32*
store i32 2,i32*%g3,align 4
%g4=load i8*,i8**%e,align 8
%g5=call fastcc i8*@_SMLL8continue_424(i8*inreg%g4,i8*inreg%gT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
g6:
%g7=getelementptr inbounds i8,i8*%da,i64 8
%g8=bitcast i8*%g7 to i8**
%g9=load i8*,i8**%g8,align 8
store i8*%g9,i8**%c,align 8
%ha=call i8*@sml_alloc(i32 inreg 20)#0
%hb=bitcast i8*%ha to i32*
%hc=getelementptr inbounds i8,i8*%ha,i64 -4
%hd=bitcast i8*%hc to i32*
store i32 1342177296,i32*%hd,align 4
%he=getelementptr inbounds i8,i8*%ha,i64 4
%hf=bitcast i8*%he to i32*
store i32 0,i32*%hf,align 1
store i32 2,i32*%hb,align 4
%hg=load i8*,i8**%c,align 8
%hh=getelementptr inbounds i8,i8*%ha,i64 8
%hi=bitcast i8*%hh to i8**
store i8*%hg,i8**%hi,align 8
%hj=getelementptr inbounds i8,i8*%ha,i64 16
%hk=bitcast i8*%hj to i32*
store i32 2,i32*%hk,align 4
%hl=load i8*,i8**%e,align 8
%hm=call fastcc i8*@_SMLL8continue_424(i8*inreg%hl,i8*inreg%ha)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
hn:
%ho=getelementptr inbounds i8,i8*%da,i64 8
%hp=bitcast i8*%ho to i8**
%hq=load i8*,i8**%hp,align 8
store i8*%hq,i8**%c,align 8
%hr=call i8*@sml_alloc(i32 inreg 20)#0
%hs=bitcast i8*%hr to i32*
%ht=getelementptr inbounds i8,i8*%hr,i64 -4
%hu=bitcast i8*%ht to i32*
store i32 1342177296,i32*%hu,align 4
%hv=getelementptr inbounds i8,i8*%hr,i64 4
%hw=bitcast i8*%hv to i32*
store i32 0,i32*%hw,align 1
store i32 2,i32*%hs,align 4
%hx=load i8*,i8**%c,align 8
%hy=getelementptr inbounds i8,i8*%hr,i64 8
%hz=bitcast i8*%hy to i8**
store i8*%hx,i8**%hz,align 8
%hA=getelementptr inbounds i8,i8*%hr,i64 16
%hB=bitcast i8*%hA to i32*
store i32 2,i32*%hB,align 4
%hC=load i8*,i8**%e,align 8
%hD=call fastcc i8*@_SMLL8continue_424(i8*inreg%hC,i8*inreg%hr)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
hE:
%hF=getelementptr inbounds i8,i8*%da,i64 8
%hG=bitcast i8*%hF to i8**
%hH=load i8*,i8**%hG,align 8
store i8*%hH,i8**%c,align 8
%hI=call i8*@sml_alloc(i32 inreg 20)#0
%hJ=bitcast i8*%hI to i32*
%hK=getelementptr inbounds i8,i8*%hI,i64 -4
%hL=bitcast i8*%hK to i32*
store i32 1342177296,i32*%hL,align 4
%hM=getelementptr inbounds i8,i8*%hI,i64 4
%hN=bitcast i8*%hM to i32*
store i32 0,i32*%hN,align 1
store i32 2,i32*%hJ,align 4
%hO=load i8*,i8**%c,align 8
%hP=getelementptr inbounds i8,i8*%hI,i64 8
%hQ=bitcast i8*%hP to i8**
store i8*%hO,i8**%hQ,align 8
%hR=getelementptr inbounds i8,i8*%hI,i64 16
%hS=bitcast i8*%hR to i32*
store i32 2,i32*%hS,align 4
%hT=load i8*,i8**%e,align 8
%hU=call fastcc i8*@_SMLL8continue_424(i8*inreg%hT,i8*inreg%hI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
hV:
%hW=getelementptr inbounds i8,i8*%da,i64 8
%hX=bitcast i8*%hW to i8**
%hY=load i8*,i8**%hX,align 8
store i8*%hY,i8**%c,align 8
%hZ=call i8*@sml_alloc(i32 inreg 20)#0
%h0=bitcast i8*%hZ to i32*
%h1=getelementptr inbounds i8,i8*%hZ,i64 -4
%h2=bitcast i8*%h1 to i32*
store i32 1342177296,i32*%h2,align 4
%h3=getelementptr inbounds i8,i8*%hZ,i64 4
%h4=bitcast i8*%h3 to i32*
store i32 0,i32*%h4,align 1
store i32 2,i32*%h0,align 4
%h5=load i8*,i8**%c,align 8
%h6=getelementptr inbounds i8,i8*%hZ,i64 8
%h7=bitcast i8*%h6 to i8**
store i8*%h5,i8**%h7,align 8
%h8=getelementptr inbounds i8,i8*%hZ,i64 16
%h9=bitcast i8*%h8 to i32*
store i32 2,i32*%h9,align 4
%ia=load i8*,i8**%e,align 8
%ib=call fastcc i8*@_SMLL8continue_424(i8*inreg%ia,i8*inreg%hZ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
ic:
%id=getelementptr inbounds i8,i8*%da,i64 8
%ie=bitcast i8*%id to i8**
%if=load i8*,i8**%ie,align 8
store i8*%if,i8**%c,align 8
%ig=call i8*@sml_alloc(i32 inreg 20)#0
%ih=bitcast i8*%ig to i32*
%ii=getelementptr inbounds i8,i8*%ig,i64 -4
%ij=bitcast i8*%ii to i32*
store i32 1342177296,i32*%ij,align 4
%ik=getelementptr inbounds i8,i8*%ig,i64 4
%il=bitcast i8*%ik to i32*
store i32 0,i32*%il,align 1
store i32 2,i32*%ih,align 4
%im=load i8*,i8**%c,align 8
%in=getelementptr inbounds i8,i8*%ig,i64 8
%io=bitcast i8*%in to i8**
store i8*%im,i8**%io,align 8
%ip=getelementptr inbounds i8,i8*%ig,i64 16
%iq=bitcast i8*%ip to i32*
store i32 2,i32*%iq,align 4
%ir=load i8*,i8**%e,align 8
%is=call fastcc i8*@_SMLL8continue_424(i8*inreg%ir,i8*inreg%ig)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
it:
%iu=getelementptr inbounds i8,i8*%da,i64 8
%iv=bitcast i8*%iu to i8**
%iw=load i8*,i8**%iv,align 8
store i8*%iw,i8**%c,align 8
%ix=call i8*@sml_alloc(i32 inreg 20)#0
%iy=bitcast i8*%ix to i32*
%iz=getelementptr inbounds i8,i8*%ix,i64 -4
%iA=bitcast i8*%iz to i32*
store i32 1342177296,i32*%iA,align 4
%iB=getelementptr inbounds i8,i8*%ix,i64 4
%iC=bitcast i8*%iB to i32*
store i32 0,i32*%iC,align 1
store i32 2,i32*%iy,align 4
%iD=load i8*,i8**%c,align 8
%iE=getelementptr inbounds i8,i8*%ix,i64 8
%iF=bitcast i8*%iE to i8**
store i8*%iD,i8**%iF,align 8
%iG=getelementptr inbounds i8,i8*%ix,i64 16
%iH=bitcast i8*%iG to i32*
store i32 2,i32*%iH,align 4
%iI=load i8*,i8**%e,align 8
%iJ=call fastcc i8*@_SMLL8continue_424(i8*inreg%iI,i8*inreg%ix)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
iK:
%iL=getelementptr inbounds i8,i8*%da,i64 8
%iM=bitcast i8*%iL to i8**
%iN=load i8*,i8**%iM,align 8
store i8*%iN,i8**%c,align 8
%iO=call i8*@sml_alloc(i32 inreg 20)#0
%iP=bitcast i8*%iO to i32*
%iQ=getelementptr inbounds i8,i8*%iO,i64 -4
%iR=bitcast i8*%iQ to i32*
store i32 1342177296,i32*%iR,align 4
%iS=getelementptr inbounds i8,i8*%iO,i64 4
%iT=bitcast i8*%iS to i32*
store i32 0,i32*%iT,align 1
store i32 20,i32*%iP,align 4
%iU=load i8*,i8**%c,align 8
%iV=getelementptr inbounds i8,i8*%iO,i64 8
%iW=bitcast i8*%iV to i8**
store i8*%iU,i8**%iW,align 8
%iX=getelementptr inbounds i8,i8*%iO,i64 16
%iY=bitcast i8*%iX to i32*
store i32 2,i32*%iY,align 4
%iZ=load i8*,i8**%e,align 8
%i0=call fastcc i8*@_SMLL8continue_424(i8*inreg%iZ,i8*inreg%iO)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
i1:
%i2=getelementptr inbounds i8,i8*%da,i64 8
%i3=bitcast i8*%i2 to i8**
%i4=load i8*,i8**%i3,align 8
store i8*%i4,i8**%c,align 8
%i5=call i8*@sml_alloc(i32 inreg 20)#0
%i6=bitcast i8*%i5 to i32*
%i7=getelementptr inbounds i8,i8*%i5,i64 -4
%i8=bitcast i8*%i7 to i32*
store i32 1342177296,i32*%i8,align 4
%i9=getelementptr inbounds i8,i8*%i5,i64 4
%ja=bitcast i8*%i9 to i32*
store i32 0,i32*%ja,align 1
store i32 20,i32*%i6,align 4
%jb=load i8*,i8**%c,align 8
%jc=getelementptr inbounds i8,i8*%i5,i64 8
%jd=bitcast i8*%jc to i8**
store i8*%jb,i8**%jd,align 8
%je=getelementptr inbounds i8,i8*%i5,i64 16
%jf=bitcast i8*%je to i32*
store i32 2,i32*%jf,align 4
%jg=load i8*,i8**%e,align 8
%jh=call fastcc i8*@_SMLL8continue_424(i8*inreg%jg,i8*inreg%i5)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
br label%ji
ji:
%jj=phi i8*[%cg,%cf],[%cU,%cS],[%dj,%dc],[%dN,%dx],[%d4,%dO],[%el,%d5],[%eC,%em],[%eT,%eD],[%fa,%eU],[%fr,%fb],[%fI,%fs],[%fZ,%fJ],[%gg,%f0],[%gx,%gh],[%gO,%gy],[%g5,%gP],[%hm,%g6],[%hD,%hn],[%hU,%hE],[%ib,%hV],[%is,%ic],[%iJ,%it],[%i0,%iK],[%jh,%i1]
%jk=bitcast i8*%jj to i32*
%jl=load i32,i32*%jk,align 4
%jm=icmp eq i32%jl,0
br i1%jm,label%kT,label%jn
jn:
%jo=getelementptr inbounds i8,i8*%jj,i64 8
%jp=bitcast i8*%jo to i8**
%jq=load i8*,i8**%jp,align 8
store i8*%jq,i8**%h,align 8
%jr=getelementptr inbounds i8,i8*%jj,i64 16
%js=bitcast i8*%jr to i8**
%jt=load i8*,i8**%js,align 8
store i8*%jt,i8**%i,align 8
%ju=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%bY,i32%jl)#0
%jv=extractvalue{i32,i1}%ju,1
br i1%jv,label%jw,label%jO
jw:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
%jx=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%jx,i8**%f,align 8
%jy=call i8*@sml_alloc(i32 inreg 20)#0
%jz=getelementptr inbounds i8,i8*%jy,i64 -4
%jA=bitcast i8*%jz to i32*
store i32 1342177296,i32*%jA,align 4
store i8*%jy,i8**%g,align 8
%jB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jC=bitcast i8*%jy to i8**
store i8*%jB,i8**%jC,align 8
%jD=getelementptr inbounds i8,i8*%jy,i64 8
%jE=bitcast i8*%jD to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@bg,i64 0,i32 2,i64 0),i8**%jE,align 8
%jF=getelementptr inbounds i8,i8*%jy,i64 16
%jG=bitcast i8*%jF to i32*
store i32 3,i32*%jG,align 4
%jH=call i8*@sml_alloc(i32 inreg 60)#0
%jI=getelementptr inbounds i8,i8*%jH,i64 -4
%jJ=bitcast i8*%jI to i32*
store i32 1342177336,i32*%jJ,align 4
%jK=getelementptr inbounds i8,i8*%jH,i64 56
%jL=bitcast i8*%jK to i32*
store i32 1,i32*%jL,align 4
%jM=load i8*,i8**%g,align 8
%jN=bitcast i8*%jH to i8**
store i8*%jM,i8**%jN,align 8
call void@sml_raise(i8*inreg%jH)#1
unreachable
jO:
%jP=add nsw i32%jl,%bY
%jQ=load i32*,i32**%p,align 8
%jR=load i32,i32*%jQ,align 4
%jS=icmp slt i32%jP,%jR
%jT=call i8*@sml_alloc(i32 inreg 20)#0
%jU=getelementptr inbounds i8,i8*%jT,i64 -4
%jV=bitcast i8*%jU to i32*
store i32 1342177296,i32*%jV,align 4
br i1%jS,label%ky,label%jW
jW:
%jX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jY=bitcast i8*%jT to i8**
store i8*%jX,i8**%jY,align 8
%jZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%j0=getelementptr inbounds i8,i8*%jT,i64 8
%j1=bitcast i8*%j0 to i8**
store i8*%jZ,i8**%j1,align 8
%j2=getelementptr inbounds i8,i8*%jT,i64 16
%j3=bitcast i8*%j2 to i32*
store i32 3,i32*%j3,align 4
%j4=call fastcc i8*@_SMLL7mkFmtFn_429(i8*inreg%jT)
store i8*%j4,i8**%f,align 8
%j5=call i8*@sml_alloc(i32 inreg 20)#0
%j6=getelementptr inbounds i8,i8*%j5,i64 -4
%j7=bitcast i8*%j6 to i32*
store i32 1342177296,i32*%j7,align 4
store i8*%j5,i8**%g,align 8
%j8=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%j9=bitcast i8*%j5 to i8**
store i8*%j8,i8**%j9,align 8
%ka=getelementptr inbounds i8,i8*%j5,i64 8
%kb=bitcast i8*%ka to i8**
store i8*null,i8**%kb,align 8
%kc=getelementptr inbounds i8,i8*%j5,i64 16
%kd=bitcast i8*%kc to i32*
store i32 3,i32*%kd,align 4
%ke=call i8*@sml_alloc(i32 inreg 36)#0
%kf=getelementptr inbounds i8,i8*%ke,i64 -4
%kg=bitcast i8*%kf to i32*
store i32 1342177312,i32*%kg,align 4
%kh=getelementptr inbounds i8,i8*%ke,i64 12
%ki=bitcast i8*%kh to i32*
store i32 0,i32*%ki,align 1
%kj=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%kk=bitcast i8*%ke to i8**
store i8*%kj,i8**%kk,align 8
%kl=getelementptr inbounds i8,i8*%ke,i64 8
%km=bitcast i8*%kl to i32*
store i32%jl,i32*%km,align 4
%kn=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ko=getelementptr inbounds i8,i8*%ke,i64 16
%kp=bitcast i8*%ko to i8**
store i8*%kn,i8**%kp,align 8
%kq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
br label%kr
kr:
%ks=phi i8*[%ke,%jW],[%kG,%ky]
%kt=phi i8*[%kq,%jW],[%kS,%ky]
%ku=getelementptr inbounds i8,i8*%ks,i64 24
%kv=bitcast i8*%ku to i8**
store i8*%kt,i8**%kv,align 8
%kw=getelementptr inbounds i8,i8*%ks,i64 32
%kx=bitcast i8*%kw to i32*
store i32 13,i32*%kx,align 4
br label%q
ky:
store i8*%jT,i8**%k,align 8
%kz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kA=bitcast i8*%jT to i8**
store i8*%kz,i8**%kA,align 8
%kB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kC=getelementptr inbounds i8,i8*%jT,i64 8
%kD=bitcast i8*%kC to i8**
store i8*%kB,i8**%kD,align 8
%kE=getelementptr inbounds i8,i8*%jT,i64 16
%kF=bitcast i8*%kE to i32*
store i32 3,i32*%kF,align 4
%kG=call i8*@sml_alloc(i32 inreg 36)#0
%kH=getelementptr inbounds i8,i8*%kG,i64 -4
%kI=bitcast i8*%kH to i32*
store i32 1342177312,i32*%kI,align 4
%kJ=getelementptr inbounds i8,i8*%kG,i64 12
%kK=bitcast i8*%kJ to i32*
store i32 0,i32*%kK,align 1
%kL=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%kM=bitcast i8*%kG to i8**
store i8*%kL,i8**%kM,align 8
%kN=getelementptr inbounds i8,i8*%kG,i64 8
%kO=bitcast i8*%kN to i32*
store i32%jP,i32*%kO,align 4
%kP=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%kQ=getelementptr inbounds i8,i8*%kG,i64 16
%kR=bitcast i8*%kQ to i8**
store i8*%kP,i8**%kR,align 8
%kS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
br label%kr
kT:
store i8*null,i8**%j,align 8
%kU=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%kV=getelementptr inbounds i8,i8*%kU,i64 16
%kW=bitcast i8*%kV to i8*(i8*,i8*)**
%kX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kW,align 8
%kY=bitcast i8*%kU to i8**
%kZ=load i8*,i8**%kY,align 8
store i8*%kZ,i8**%h,align 8
%k0=call i8*@sml_alloc(i32 inreg 20)#0
%k1=getelementptr inbounds i8,i8*%k0,i64 -4
%k2=bitcast i8*%k1 to i32*
store i32 1342177296,i32*%k2,align 4
%k3=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%k4=bitcast i8*%k0 to i8**
store i8*%k3,i8**%k4,align 8
%k5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%k6=getelementptr inbounds i8,i8*%k0,i64 8
%k7=bitcast i8*%k6 to i8**
store i8*%k5,i8**%k7,align 8
%k8=getelementptr inbounds i8,i8*%k0,i64 16
%k9=bitcast i8*%k8 to i32*
store i32 3,i32*%k9,align 4
%la=call fastcc i8*@_SMLL7mkFmtFn_429(i8*inreg%k0)
%lb=load i8*,i8**%h,align 8
%lc=tail call fastcc i8*%kX(i8*inreg%lb,i8*inreg%la)
ret i8*%lc
}
define internal fastcc i8*@_SMLLN4Date3fmtE_439(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i8*,i8**%n,align 8
%v=tail call fastcc i8*%r(i8*inreg%t,i8*inreg%u)
ret i8*%v
}
define internal fastcc i8*@_SMLLN4Date3fmtE_440(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*null,i8**%c,align 8
%n=call fastcc i8*@_SMLLN4Date7date2tmE_306(i8*inreg%l)
store i8*%n,i8**%c,align 8
%o=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,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
store i8*%u,i8**%f,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 i32*
store i32 1,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 28)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177304,i32*%D,align 4
%E=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date3fmtE_439 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date3fmtE_439 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%B,i64 24
%L=bitcast i8*%K to i32*
store i32 -2147483647,i32*%L,align 4
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=call fastcc i8*%r(i8*inreg%M,i8*inreg%B)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=bitcast i8**%d to i8***
%U=load i8**,i8***%T,align 8
store i8*null,i8**%d,align 8
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*%Q(i8*inreg%S,i8*inreg%V)
%X=tail call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%W)
ret i8*%X
}
define internal fastcc i8*@_SMLLN4Date3fmtE_441(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i32*
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%d to i32**
%m=load i32*,i32**%l,align 8
br label%n
n:
%o=phi i32*[%m,%k],[%j,%i]
store i8*null,i8**%d,align 8
%p=load i32,i32*%o,align 4
%q=call i8*@sml_alloc(i32 inreg 12)#0
%r=bitcast i8*%q to i32*
%s=getelementptr inbounds i8,i8*%q,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177288,i32*%t,align 4
store i8*%q,i8**%f,align 8
store i32%p,i32*%r,align 4
%u=getelementptr inbounds i8,i8*%q,i64 8
%v=bitcast i8*%u to i32*
store i32 0,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%f,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4scan_431 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4scan_431 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 -2147483647,i32*%G,align 4
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%H)
store i8*%I,i8**%c,align 8
%J=call i8*@sml_alloc(i32 inreg 36)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177312,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%J,i64 12
%N=bitcast i8*%M to i32*
store i32 0,i32*%N,align 1
%O=load i8*,i8**%c,align 8
%P=bitcast i8*%J to i8**
store i8*%O,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 8
%R=bitcast i8*%Q to i32*
store i32 0,i32*%R,align 4
%S=getelementptr inbounds i8,i8*%J,i64 16
%T=getelementptr inbounds i8,i8*%J,i64 32
%U=bitcast i8*%T to i32*
call void@llvm.memset.p0i8.i64(i8*%S,i8 0,i64 16,i1 false)
store i32 13,i32*%U,align 4
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%V=call i8*@sml_alloc(i32 inreg 36)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177312,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%V,i64 12
%Z=bitcast i8*%Y to i32*
store i32 0,i32*%Z,align 1
%aa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ab=bitcast i8*%V to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%V,i64 8
%ad=bitcast i8*%ac to i32*
store i32 0,i32*%ad,align 4
%ae=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%V,i64 16
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ai=getelementptr inbounds i8,i8*%V,i64 24
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%V,i64 32
%al=bitcast i8*%ak to i32*
store i32 13,i32*%al,align 4
%am=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%an=call fastcc i8*@_SMLL4scan_431(i8*inreg%am,i8*inreg%V)
store i8*%an,i8**%c,align 8
%ao=call i8*@sml_alloc(i32 inreg 12)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177288,i32*%aq,align 4
store i8*%ao,i8**%d,align 8
%ar=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to i32*
store i32 1,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 28)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177304,i32*%ax,align 4
%ay=load i8*,i8**%d,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date3fmtE_440 to void(...)*),void(...)**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date3fmtE_440 to void(...)*),void(...)**%aD,align 8
%aE=getelementptr inbounds i8,i8*%av,i64 24
%aF=bitcast i8*%aE to i32*
store i32 -2147483647,i32*%aF,align 4
ret i8*%av
}
define internal fastcc i8*@_SMLL6expect_443(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 20
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=sub i32 0,%o
%q=and i32%o,%p
%r=bitcast i8*%k to i8**
%s=load i8*,i8**%r,align 8
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%d,align 8
%y=getelementptr inbounds i8,i8*%k,i64 16
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=icmp eq i32%A,0
br i1%B,label%G,label%C
C:
%D=getelementptr inbounds i8,i8*%k,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
br label%N
G:
%H=call i8*@sml_alloc(i32 inreg%o)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32%o,i32*%J,align 4
%K=load i8*,i8**%e,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%H,i8*%L,i32%o,i1 false)
%M=load i8*,i8**%d,align 8
br label%N
N:
%O=phi i8*[%x,%C],[%M,%G]
%P=phi i8*[%F,%C],[%H,%G]
store i8*null,i8**%d,align 8
%Q=call fastcc i8*%v(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**%d,align 8
%W=load i8,i8*%V,align 1
%X=load i8*,i8**%e,align 8
%Y=getelementptr inbounds i8,i8*%X,i64 24
%Z=load i8,i8*%Y,align 1
%aa=icmp eq i8%Z,%W
br i1%aa,label%ab,label%S
ab:
%ac=load i8*,i8**%c,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%X,i64 16
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=icmp eq i32%ak,0
br i1%al,label%ar,label%am
am:
%an=sext i32%q to i64
%ao=getelementptr inbounds i8,i8*%V,i64%an
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
br label%aC
ar:
store i8*null,i8**%e,align 8
%as=getelementptr inbounds i8,i8*%X,i64 20
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=call i8*@sml_alloc(i32 inreg%au)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32%au,i32*%ax,align 4
%ay=load i8*,i8**%d,align 8
%az=sext i32%q to i64
%aA=getelementptr inbounds i8,i8*%ay,i64%az
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%av,i8*%aA,i32%au,i1 false)
%aB=load i8*,i8**%c,align 8
br label%aC
aC:
%aD=phi i8*[%ah,%am],[%aB,%ar]
%aE=phi i8*[%aq,%am],[%av,%ar]
%aF=tail call fastcc i8*%af(i8*inreg%aD,i8*inreg%aE)
ret i8*%aF
}
define internal fastcc i8*@_SMLL6expect_444(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i32*
%h=load i32,i32*%g,align 4
%i=shl i32%h,1
%j=or i32%i,1
%k=bitcast i8*%a to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%d,align 8
%m=getelementptr inbounds i8,i8*%a,i64 12
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%a,i64 16
%q=load i8,i8*%p,align 1
%r=call i8*@sml_alloc(i32 inreg 36)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177312,i32*%t,align 4
store i8*%r,i8**%e,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=icmp eq i32%h,0
%x=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y=getelementptr inbounds i8,i8*%r,i64 8
br i1%w,label%B,label%z
z:
%A=bitcast i8*%y to i8**
store i8*%x,i8**%A,align 8
br label%C
B:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%y,i8*%x,i32%o,i1 false)
br label%C
C:
%D=getelementptr inbounds i8,i8*%r,i64 16
%E=bitcast i8*%D to i32*
store i32%h,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%r,i64 20
%G=bitcast i8*%F to i32*
store i32%o,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%r,i64 24
store i8%q,i8*%H,align 1
%I=getelementptr inbounds i8,i8*%r,i64 32
%J=bitcast i8*%I to i32*
store i32%j,i32*%J,align 4
%K=call i8*@sml_alloc(i32 inreg 28)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177304,i32*%M,align 4
%N=load i8*,i8**%e,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6expect_443 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6expect_443 to void(...)*),void(...)**%S,align 8
%T=getelementptr inbounds i8,i8*%K,i64 24
%U=bitcast i8*%T to i32*
store i32 -2147483647,i32*%U,align 4
ret i8*%K
}
define internal fastcc i8*@_SMLL6expect_445(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
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%c,align 8
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=getelementptr inbounds i8,i8*%a,i64 12
%k=bitcast i8*%j to i32*
%l=load i32,i32*%k,align 4
%m=call i8*@sml_alloc(i32 inreg 28)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177304,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 i32*
store i32%i,i32*%s,align 4
%t=getelementptr inbounds i8,i8*%m,i64 12
%u=bitcast i8*%t to i32*
store i32%l,i32*%u,align 4
%v=getelementptr inbounds i8,i8*%m,i64 16
store i8%b,i8*%v,align 1
%w=getelementptr inbounds i8,i8*%m,i64 24
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
%B=load i8*,i8**%d,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6expect_444 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6expect_444 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLL6getdig_447(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%e,align 8
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%b,%m]
%n=phi i8*[%i,%h],[%a,%m]
%o=getelementptr inbounds i8,i8*%n,i64 12
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=sub i32 0,%q
%s=and i32%q,%r
%t=add i32%q,3
%u=and i32%t,%r
%v=add i32%q,7
%w=add i32%v,%u
%x=and i32%w,-8
%y=lshr i32%u,3
%z=getelementptr inbounds i8,i8*%n,i64 8
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=shl i32%B,%y
%D=or i32%x,4
%E=bitcast i8*%n to i8**
%F=load i8*,i8**%E,align 8
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
store i8*null,i8**%c,align 8
%L=call fastcc i8*%I(i8*inreg%K,i8*inreg%l)
%M=icmp eq i8*%L,null
br i1%M,label%N,label%O
N:
ret i8*null
O:
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%c,align 8
%R=load i8*,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%R,i64 8
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=icmp eq i32%U,0
br i1%V,label%ab,label%W
W:
%X=sext i32%s to i64
%Y=getelementptr inbounds i8,i8*%Q,i64%X
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
br label%al
ab:
%ac=getelementptr inbounds i8,i8*%R,i64 12
%ad=bitcast i8*%ac to i32*
%ae=load i32,i32*%ad,align 4
%af=call i8*@sml_alloc(i32 inreg%ae)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32%ae,i32*%ah,align 4
%ai=load i8*,i8**%c,align 8
%aj=sext i32%s to i64
%ak=getelementptr inbounds i8,i8*%ai,i64%aj
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%af,i8*%ak,i32%ae,i1 false)
br label%al
al:
%am=phi i8*[%ai,%ab],[%Q,%W]
%an=phi i8*[%af,%ab],[%aa,%W]
store i8*%an,i8**%d,align 8
%ao=load i8,i8*%am,align 1
%ap=call fastcc i32@_SMLFN4Char7isDigitE(i8 inreg%ao)
%aq=icmp eq i32%ap,0
br i1%aq,label%N,label%ar
ar:
%as=load i8*,i8**%c,align 8
%at=load i8,i8*%as,align 1
%au=zext i8%at to i32
%av=add nsw i32%au,-48
%aw=load i8*,i8**%e,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 12
%ay=bitcast i8*%ax to i32*
%az=load i32,i32*%ay,align 4
store i8*null,i8**%e,align 8
%aA=getelementptr inbounds i8,i8*%aw,i64 8
%aB=bitcast i8*%aA to i32*
%aC=load i32,i32*%aB,align 4
%aD=call i8*@sml_alloc(i32 inreg%D)#0
%aE=or i32%x,1342177280
%aF=getelementptr inbounds i8,i8*%aD,i64 -4
%aG=bitcast i8*%aF to i32*
store i32%aE,i32*%aG,align 4
store i8*%aD,i8**%c,align 8
call void@llvm.memset.p0i8.i32(i8*%aD,i8 0,i32%D,i1 false)
%aH=bitcast i8*%aD to i32*
store i32%av,i32*%aH,align 4
%aI=icmp eq i32%aC,0
%aJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aK=sext i32%u to i64
%aL=getelementptr inbounds i8,i8*%aD,i64%aK
br i1%aI,label%aO,label%aM
aM:
%aN=bitcast i8*%aL to i8**
store i8*%aJ,i8**%aN,align 8
br label%aP
aO:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aL,i8*%aJ,i32%az,i1 false)
br label%aP
aP:
%aQ=sext i32%x to i64
%aR=getelementptr inbounds i8,i8*%aD,i64%aQ
%aS=bitcast i8*%aR to i32*
store i32%C,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 12)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177288,i32*%aV,align 4
%aW=load i8*,i8**%c,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aT,i64 8
%aZ=bitcast i8*%aY to i32*
store i32 1,i32*%aZ,align 4
ret i8*%aT
}
define internal fastcc i8*@_SMLL7get2dig_450(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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
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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%b,%m]
%n=phi i8*[%i,%h],[%a,%m]
%o=getelementptr inbounds i8,i8*%n,i64 12
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,3
%s=sub i32 0,%q
%t=and i32%r,%s
%u=add i32%q,7
%v=add i32%u,%t
%w=and i32%v,-8
%x=lshr i32%t,3
%y=getelementptr inbounds i8,i8*%n,i64 8
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=shl i32%A,%x
%C=or i32%w,4
%D=bitcast i8*%n to i8**
%E=load i8*,i8**%D,align 8
store i8*null,i8**%c,align 8
%F=call fastcc i8*@_SMLL6getdig_447(i8*inreg%E,i8*inreg%l)
%G=icmp eq i8*%F,null
br i1%G,label%H,label%I
H:
ret i8*null
I:
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%c,align 8
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=bitcast i8**%d to i8***
%O=load i8**,i8***%N,align 8
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%e,align 8
%Q=getelementptr inbounds i8*,i8**%O,i64 1
%R=bitcast i8**%Q to i32*
%S=load i32,i32*%R,align 4
%T=icmp eq i32%S,0
br i1%T,label%Z,label%U
U:
store i8*null,i8**%c,align 8
%V=sext i32%t to i64
%W=getelementptr inbounds i8,i8*%K,i64%V
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
br label%al
Z:
%aa=bitcast i8**%O to i8*
%ab=getelementptr inbounds i8,i8*%aa,i64 12
%ac=bitcast i8*%ab to i32*
%ad=load i32,i32*%ac,align 4
%ae=call i8*@sml_alloc(i32 inreg%ad)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32%ad,i32*%ag,align 4
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=sext i32%t to i64
%aj=getelementptr inbounds i8,i8*%ah,i64%ai
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ae,i8*%aj,i32%ad,i1 false)
%ak=load i8*,i8**%e,align 8
br label%al
al:
%am=phi i8*[%P,%U],[%ak,%Z]
%an=phi i8*[%Y,%U],[%ae,%Z]
store i8*null,i8**%e,align 8
%ao=call fastcc i8*@_SMLL6getdig_447(i8*inreg%am,i8*inreg%an)
%ap=icmp eq i8*%ao,null
br i1%ap,label%H,label%aq
aq:
%ar=bitcast i8*%ao to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%c,align 8
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 8
%ax=bitcast i8*%aw to i32*
%ay=load i32,i32*%ax,align 4
%az=icmp eq i32%ay,0
br i1%az,label%aF,label%aA
aA:
%aB=sext i32%t to i64
%aC=getelementptr inbounds i8,i8*%as,i64%aB
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
br label%aP
aF:
%aG=getelementptr inbounds i8,i8*%av,i64 12
%aH=bitcast i8*%aG to i32*
%aI=load i32,i32*%aH,align 4
%aJ=call i8*@sml_alloc(i32 inreg%aI)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32%aI,i32*%aL,align 4
%aM=load i8*,i8**%c,align 8
%aN=sext i32%t to i64
%aO=getelementptr inbounds i8,i8*%aM,i64%aN
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aJ,i8*%aO,i32%aI,i1 false)
br label%aP
aP:
%aQ=phi i8*[%aJ,%aF],[%aE,%aA]
store i8*%aQ,i8**%c,align 8
%aR=call{i32,i1}@llvm.smul.with.overflow.i32(i32%M,i32 10)#0
%aS=extractvalue{i32,i1}%aR,1
br i1%aS,label%aT,label%bb
aT:
store i8*null,i8**%d,align 8
%aU=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%aU,i8**%c,align 8
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177296,i32*%aX,align 4
store i8*%aV,i8**%d,align 8
%aY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aV,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@bi,i64 0,i32 2,i64 0),i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 3,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 60)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177336,i32*%a6,align 4
%a7=getelementptr inbounds i8,i8*%a4,i64 56
%a8=bitcast i8*%a7 to i32*
store i32 1,i32*%a8,align 4
%a9=load i8*,i8**%d,align 8
%ba=bitcast i8*%a4 to i8**
store i8*%a9,i8**%ba,align 8
call void@sml_raise(i8*inreg%a4)#1
unreachable
bb:
%bc=mul nsw i32%M,10
%bd=call{i32,i1}@llvm.sadd.with.overflow.i32(i32%bc,i32%au)#0
%be=extractvalue{i32,i1}%bd,1
br i1%be,label%bf,label%bx
bf:
store i8*null,i8**%d,align 8
%bg=load i8*,i8**@_SMLZ8Overflow,align 8
store i8*%bg,i8**%c,align 8
%bh=call i8*@sml_alloc(i32 inreg 20)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177296,i32*%bj,align 4
store i8*%bh,i8**%d,align 8
%bk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bh,i64 8
%bn=bitcast i8*%bm to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[39x i8]}>,<{[4x i8],i32,[39x i8]}>*@bj,i64 0,i32 2,i64 0),i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bh,i64 16
%bp=bitcast i8*%bo to i32*
store i32 3,i32*%bp,align 4
%bq=call i8*@sml_alloc(i32 inreg 60)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177336,i32*%bs,align 4
%bt=getelementptr inbounds i8,i8*%bq,i64 56
%bu=bitcast i8*%bt to i32*
store i32 1,i32*%bu,align 4
%bv=load i8*,i8**%d,align 8
%bw=bitcast i8*%bq to i8**
store i8*%bv,i8**%bw,align 8
call void@sml_raise(i8*inreg%bq)#1
unreachable
bx:
%by=add nsw i32%au,%bc
%bz=load i8*,i8**%d,align 8
%bA=getelementptr inbounds i8,i8*%bz,i64 12
%bB=bitcast i8*%bA to i32*
%bC=load i32,i32*%bB,align 4
store i8*null,i8**%d,align 8
%bD=getelementptr inbounds i8,i8*%bz,i64 8
%bE=bitcast i8*%bD to i32*
%bF=load i32,i32*%bE,align 4
%bG=call i8*@sml_alloc(i32 inreg%C)#0
%bH=or i32%w,1342177280
%bI=getelementptr inbounds i8,i8*%bG,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32%bH,i32*%bJ,align 4
store i8*%bG,i8**%d,align 8
call void@llvm.memset.p0i8.i32(i8*%bG,i8 0,i32%C,i1 false)
%bK=bitcast i8*%bG to i32*
store i32%by,i32*%bK,align 4
%bL=icmp eq i32%bF,0
%bM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bN=sext i32%t to i64
%bO=getelementptr inbounds i8,i8*%bG,i64%bN
br i1%bL,label%bR,label%bP
bP:
%bQ=bitcast i8*%bO to i8**
store i8*%bM,i8**%bQ,align 8
br label%bS
bR:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bO,i8*%bM,i32%bC,i1 false)
br label%bS
bS:
%bT=sext i32%w to i64
%bU=getelementptr inbounds i8,i8*%bG,i64%bT
%bV=bitcast i8*%bU to i32*
store i32%B,i32*%bV,align 4
%bW=call i8*@sml_alloc(i32 inreg 12)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177288,i32*%bY,align 4
%bZ=load i8*,i8**%d,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bW,i64 8
%b2=bitcast i8*%b1 to i32*
store i32 1,i32*%b2,align 4
ret i8*%bW
}
define internal fastcc i8*@_SMLL6getday_451(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%c to i8***
%k=load i8**,i8***%j,align 8
%l=load i8*,i8**%d,align 8
br label%m
m:
%n=phi i8*[%l,%i],[%b,%g]
%o=phi i8**[%k,%i],[%h,%g]
%p=load i8*,i8**%o,align 8
%q=tail call fastcc i8*@_SMLL6getdig_447(i8*inreg%p,i8*inreg%n)
ret i8*%q
}
define internal fastcc i8*@_SMLL6getday_452(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%b,%m]
%n=phi i8*[%i,%h],[%a,%m]
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=call fastcc i8*@_SMLL7get2dig_450(i8*inreg%q,i8*inreg%l)
%s=icmp eq i8*%r,null
br i1%s,label%t,label%ai
t:
%u=bitcast i8**%c to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*@_SMLL6expect_445(i8*inreg%w,i8 inreg 32)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%E=call fastcc i8*%A(i8*inreg%C,i8*inreg%D)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=load i8*,i8**%c,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%c,align 8
%O=call i8*@sml_alloc(i32 inreg 12)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177288,i32*%Q,align 4
store i8*%O,i8**%e,align 8
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%U,align 4
%V=call i8*@sml_alloc(i32 inreg 28)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177304,i32*%X,align 4
%Y=load i8*,i8**%e,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%V,i64 8
%ab=bitcast i8*%aa to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6getday_451 to void(...)*),void(...)**%ab,align 8
%ac=getelementptr inbounds i8,i8*%V,i64 16
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6getday_451 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%V,i64 24
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=load i8*,i8**%d,align 8
%ah=tail call fastcc i8*%H(i8*inreg%ag,i8*inreg%V)
ret i8*%ah
ai:
ret i8*%r
}
define internal fastcc i8*@_SMLL5year0_453(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
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 28
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=add i32%o,3
%q=sub i32 0,%o
%r=and i32%p,%q
%s=add i32%o,7
%t=and i32%s,%q
%u=add i32%s,%t
%v=and i32%u,-8
%w=lshr i32%t,3
%x=getelementptr inbounds i8,i8*%k,i64 24
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=shl i32%z,%w
%B=or i32%A,1
%C=or i32%v,4
%D=getelementptr inbounds i8,i8*%k,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=getelementptr inbounds i8,i8*%F,i64 4
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=getelementptr inbounds i8,i8*%F,i64 8
%K=bitcast i8*%J to i32*
%L=load i32,i32*%K,align 4
%M=getelementptr inbounds i8,i8*%F,i64 12
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=getelementptr inbounds i8,i8*%F,i64 16
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=getelementptr inbounds i8,i8*%F,i64 20
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=call fastcc i8*@_SMLFN5Int324scanE(i32 inreg%z,i32 inreg%o)
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%d,align 8
%ab=call i8*@sml_alloc(i32 inreg 4)#0
%ac=bitcast i8*%ab to i32*
%ad=getelementptr inbounds i8,i8*%ab,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 4,i32*%ae,align 4
store i32 1,i32*%ac,align 4
%af=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ag=call fastcc i8*%Y(i8*inreg%af,i8*inreg%ab)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
%am=bitcast i8**%e to i8***
%an=load i8**,i8***%am,align 8
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*%aj(i8*inreg%al,i8*inreg%ao)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aw=call fastcc i8*%as(i8*inreg%au,i8*inreg%av)
%ax=icmp eq i8*%aw,null
br i1%ax,label%ay,label%aA
ay:
%az=phi i8*[null,%j],[%bP,%bL]
ret i8*%az
aA:
%aB=bitcast i8*%aw to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%c,align 8
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
%aF=load i8*,i8**%e,align 8
%aG=getelementptr inbounds i8,i8*%aF,i64 24
%aH=bitcast i8*%aG to i32*
%aI=load i32,i32*%aH,align 4
%aJ=icmp eq i32%aI,0
br i1%aJ,label%aP,label%aK
aK:
%aL=sext i32%r to i64
%aM=getelementptr inbounds i8,i8*%aC,i64%aL
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
br label%a0
aP:
%aQ=getelementptr inbounds i8,i8*%aF,i64 28
%aR=bitcast i8*%aQ to i32*
%aS=load i32,i32*%aR,align 4
%aT=call i8*@sml_alloc(i32 inreg%aS)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32%aS,i32*%aV,align 4
%aW=load i8*,i8**%c,align 8
%aX=sext i32%r to i64
%aY=getelementptr inbounds i8,i8*%aW,i64%aX
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%aT,i8*%aY,i32%aS,i1 false)
%aZ=load i8*,i8**%e,align 8
br label%a0
a0:
%a1=phi i8*[%aZ,%aP],[%aF,%aK]
%a2=phi i8*[%aT,%aP],[%aO,%aK]
store i8*%a2,i8**%d,align 8
%a3=getelementptr inbounds i8,i8*%a1,i64 16
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%c,align 8
%a6=call i8*@sml_alloc(i32 inreg 36)#0
%a7=bitcast i8*%a6 to i32*
%a8=getelementptr inbounds i8,i8*%a6,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177312,i32*%a9,align 4
store i32%L,i32*%a7,align 4
%ba=getelementptr inbounds i8,i8*%a6,i64 4
%bb=bitcast i8*%ba to i32*
store i32%O,i32*%bb,align 4
%bc=getelementptr inbounds i8,i8*%a6,i64 8
%bd=bitcast i8*%bc to i32*
store i32%R,i32*%bd,align 4
%be=getelementptr inbounds i8,i8*%a6,i64 12
%bf=bitcast i8*%be to i32*
store i32%I,i32*%bf,align 4
%bg=getelementptr inbounds i8,i8*%a6,i64 16
%bh=bitcast i8*%bg to i8**
store i8*null,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%a6,i64 24
%bj=bitcast i8*%bi to i32*
store i32%U,i32*%bj,align 4
%bk=getelementptr inbounds i8,i8*%a6,i64 28
%bl=bitcast i8*%bk to i32*
store i32%aE,i32*%bl,align 4
%bm=getelementptr inbounds i8,i8*%a6,i64 32
%bn=bitcast i8*%bm to i32*
store i32 4,i32*%bn,align 4
%bo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bp=invoke fastcc i8*@_SMLLN4Date4dateE_392(i8*inreg%bo,i8*inreg%a6)
to label%bq unwind label%bW
bq:
store i8*%bp,i8**%c,align 8
%br=load i8*,i8**%e,align 8
%bs=getelementptr inbounds i8,i8*%br,i64 28
%bt=bitcast i8*%bs to i32*
%bu=load i32,i32*%bt,align 4
store i8*null,i8**%e,align 8
%bv=getelementptr inbounds i8,i8*%br,i64 24
%bw=bitcast i8*%bv to i32*
%bx=load i32,i32*%bw,align 4
%by=call i8*@sml_alloc(i32 inreg%C)#0
%bz=or i32%v,1342177280
%bA=getelementptr inbounds i8,i8*%by,i64 -4
%bB=bitcast i8*%bA to i32*
store i32%bz,i32*%bB,align 4
store i8*%by,i8**%e,align 8
call void@llvm.memset.p0i8.i32(i8*%by,i8 0,i32%C,i1 false)
%bC=load i8*,i8**%c,align 8
%bD=bitcast i8*%by to i8**
store i8*null,i8**%c,align 8
store i8*%bC,i8**%bD,align 8
%bE=icmp eq i32%bx,0
%bF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bG=sext i32%t to i64
%bH=getelementptr inbounds i8,i8*%by,i64%bG
br i1%bE,label%bK,label%bI
bI:
%bJ=bitcast i8*%bH to i8**
store i8*%bF,i8**%bJ,align 8
br label%bL
bK:
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bH,i8*%bF,i32%bu,i1 false)
br label%bL
bL:
%bM=sext i32%v to i64
%bN=getelementptr inbounds i8,i8*%by,i64%bM
%bO=bitcast i8*%bN to i32*
store i32%B,i32*%bO,align 4
%bP=call i8*@sml_alloc(i32 inreg 12)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177288,i32*%bR,align 4
%bS=load i8*,i8**%e,align 8
%bT=bitcast i8*%bP to i8**
store i8*%bS,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bP,i64 8
%bV=bitcast i8*%bU to i32*
store i32 1,i32*%bV,align 4
br label%ay
bW:
%bX=landingpad{i8*,i8*}
catch i8*null
ret i8*null
}
define internal fastcc i8*@_SMLL5year0_454(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=getelementptr inbounds i8,i8*%a,i64 16
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%a,i64 20
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=call i8*@sml_alloc(i32 inreg 36)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177312,i32*%t,align 4
store i8*%r,i8**%f,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%A=getelementptr inbounds i8,i8*%r,i64 16
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%r,i64 24
%D=bitcast i8*%C to i32*
store i32%n,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%r,i64 28
%F=bitcast i8*%E to i32*
store i32%q,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%r,i64 32
%H=bitcast i8*%G to i32*
store i32 7,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**%f,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*,i8*)*@_SMLL5year0_453 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*)*@_SMLL5year0_453 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
ret i8*%I
}
define internal fastcc i8*@_SMLL7second0_455(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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
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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%b,%m]
%n=phi i8*[%i,%h],[%a,%m]
%o=getelementptr inbounds i8,i8*%n,i64 36
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,3
%s=sub i32 0,%q
%t=and i32%r,%s
%u=bitcast i8*%n to i8**
%v=load i8*,i8**%u,align 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%v,i64 4
%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 i32*
%D=load i32,i32*%C,align 4
%E=getelementptr inbounds i8,i8*%v,i64 12
%F=bitcast i8*%E to i32*
%G=load i32,i32*%F,align 4
%H=getelementptr inbounds i8,i8*%v,i64 16
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
%K=getelementptr inbounds i8,i8*%n,i64 16
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*null,i8**%c,align 8
%N=call fastcc i8*@_SMLL7get2dig_450(i8*inreg%M,i8*inreg%l)
%O=icmp eq i8*%N,null
br i1%O,label%P,label%Q
P:
ret i8*null
Q:
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%c,align 8
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=load i8*,i8**%d,align 8
%W=getelementptr inbounds i8,i8*%V,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=call fastcc i8*@_SMLL6expect_445(i8*inreg%Y,i8 inreg 32)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%e,align 8
%af=load i8*,i8**%d,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 32
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
%aj=icmp eq i32%ai,0
br i1%aj,label%aq,label%ak
ak:
%al=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%am=sext i32%t to i64
%an=getelementptr inbounds i8,i8*%al,i64%am
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
br label%aB
aq:
%ar=getelementptr inbounds i8,i8*%af,i64 36
%as=bitcast i8*%ar to i32*
%at=load i32,i32*%as,align 4
%au=call i8*@sml_alloc(i32 inreg%at)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32%at,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ay=sext i32%t to i64
%az=getelementptr inbounds i8,i8*%ax,i64%ay
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%au,i8*%az,i32%at,i1 false)
%aA=load i8*,i8**%e,align 8
br label%aB
aB:
%aC=phi i8*[%ae,%ak],[%aA,%aq]
%aD=phi i8*[%ap,%ak],[%au,%aq]
store i8*null,i8**%e,align 8
%aE=call fastcc i8*%ac(i8*inreg%aC,i8*inreg%aD)
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%c,align 8
%aK=load i8*,i8**%d,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 24
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%d,align 8
%aO=call i8*@sml_alloc(i32 inreg 28)#0
%aP=bitcast i8*%aO to i32*
%aQ=getelementptr inbounds i8,i8*%aO,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177304,i32*%aR,align 4
store i32%x,i32*%aP,align 4
%aS=getelementptr inbounds i8,i8*%aO,i64 4
%aT=bitcast i8*%aS to i32*
store i32%A,i32*%aT,align 4
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i32*
store i32%D,i32*%aV,align 4
%aW=getelementptr inbounds i8,i8*%aO,i64 12
%aX=bitcast i8*%aW to i32*
store i32%G,i32*%aX,align 4
%aY=getelementptr inbounds i8,i8*%aO,i64 16
%aZ=bitcast i8*%aY to i32*
store i32%J,i32*%aZ,align 4
%a0=getelementptr inbounds i8,i8*%aO,i64 20
%a1=bitcast i8*%a0 to i32*
store i32%U,i32*%a1,align 4
%a2=getelementptr inbounds i8,i8*%aO,i64 24
%a3=bitcast i8*%a2 to i32*
store i32 0,i32*%a3,align 4
%a4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a5=call fastcc i8*@_SMLL5year0_454(i8*inreg%a4,i8*inreg%aO)
%a6=load i8*,i8**%c,align 8
%a7=tail call fastcc i8*%aH(i8*inreg%a6,i8*inreg%a5)
ret i8*%a7
}
define internal fastcc i8*@_SMLL7second0_456(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%b,i8**%c,align 8
%h=bitcast i8*%a to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%d,align 8
%j=getelementptr inbounds i8,i8*%a,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%e,align 8
%m=getelementptr inbounds i8,i8*%a,i64 16
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%f,align 8
%p=getelementptr inbounds i8,i8*%a,i64 24
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%a,i64 28
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call i8*@sml_alloc(i32 inreg 44)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177320,i32*%x,align 4
store i8*%v,i8**%g,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%v,i64 16
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%H=getelementptr inbounds i8,i8*%v,i64 24
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%v,i64 32
%K=bitcast i8*%J to i32*
store i32%r,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%v,i64 36
%M=bitcast i8*%L to i32*
store i32%u,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%v,i64 40
%O=bitcast i8*%N to i32*
store i32 15,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=load i8*,i8**%g,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7second0_455 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7second0_455 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
ret i8*%P
}
define internal fastcc i8*@_SMLL7minute0_457(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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
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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%b,%m]
%n=phi i8*[%i,%h],[%a,%m]
%o=getelementptr inbounds i8,i8*%n,i64 36
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,3
%s=sub i32 0,%q
%t=and i32%r,%s
%u=bitcast i8*%n to i8**
%v=load i8*,i8**%u,align 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%v,i64 4
%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 i32*
%D=load i32,i32*%C,align 4
%E=getelementptr inbounds i8,i8*%v,i64 12
%F=bitcast i8*%E to i32*
%G=load i32,i32*%F,align 4
%H=getelementptr inbounds i8,i8*%n,i64 16
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*null,i8**%c,align 8
%K=call fastcc i8*@_SMLL7get2dig_450(i8*inreg%J,i8*inreg%l)
%L=icmp eq i8*%K,null
br i1%L,label%M,label%N
M:
ret i8*null
N:
%O=bitcast i8*%K to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%c,align 8
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=load i8*,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%S,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*@_SMLL6expect_445(i8*inreg%V,i8 inreg 58)
%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=load i8*,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 32
%ae=bitcast i8*%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=icmp eq i32%af,0
br i1%ag,label%an,label%ah
ah:
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=sext i32%t to i64
%ak=getelementptr inbounds i8,i8*%ai,i64%aj
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
br label%ay
an:
%ao=getelementptr inbounds i8,i8*%ac,i64 36
%ap=bitcast i8*%ao to i32*
%aq=load i32,i32*%ap,align 4
%ar=call i8*@sml_alloc(i32 inreg%aq)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32%aq,i32*%at,align 4
%au=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%av=sext i32%t to i64
%aw=getelementptr inbounds i8,i8*%au,i64%av
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ar,i8*%aw,i32%aq,i1 false)
%ax=load i8*,i8**%e,align 8
br label%ay
ay:
%az=phi i8*[%ab,%ah],[%ax,%an]
%aA=phi i8*[%am,%ah],[%ar,%an]
store i8*null,i8**%e,align 8
%aB=call fastcc i8*%Z(i8*inreg%az,i8*inreg%aA)
%aC=getelementptr inbounds i8,i8*%aB,i64 16
%aD=bitcast i8*%aC to i8*(i8*,i8*)**
%aE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aD,align 8
%aF=bitcast i8*%aB to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%c,align 8
%aH=load i8*,i8**%d,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 24
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%d,align 8
%aL=call i8*@sml_alloc(i32 inreg 28)#0
%aM=bitcast i8*%aL to i32*
%aN=getelementptr inbounds i8,i8*%aL,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177304,i32*%aO,align 4
%aP=getelementptr inbounds i8,i8*%aL,i64 20
%aQ=bitcast i8*%aP to i32*
store i32 0,i32*%aQ,align 1
store i32%x,i32*%aM,align 4
%aR=getelementptr inbounds i8,i8*%aL,i64 4
%aS=bitcast i8*%aR to i32*
store i32%A,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aL,i64 8
%aU=bitcast i8*%aT to i32*
store i32%D,i32*%aU,align 4
%aV=getelementptr inbounds i8,i8*%aL,i64 12
%aW=bitcast i8*%aV to i32*
store i32%G,i32*%aW,align 4
%aX=getelementptr inbounds i8,i8*%aL,i64 16
%aY=bitcast i8*%aX to i32*
store i32%R,i32*%aY,align 4
%aZ=getelementptr inbounds i8,i8*%aL,i64 24
%a0=bitcast i8*%aZ to i32*
store i32 0,i32*%a0,align 4
%a1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a2=call fastcc i8*@_SMLL7second0_456(i8*inreg%a1,i8*inreg%aL)
%a3=load i8*,i8**%c,align 8
%a4=tail call fastcc i8*%aE(i8*inreg%a3,i8*inreg%a2)
ret i8*%a4
}
define internal fastcc i8*@_SMLL7minute0_458(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%b,i8**%c,align 8
%h=bitcast i8*%a to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%d,align 8
%j=getelementptr inbounds i8,i8*%a,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%e,align 8
%m=getelementptr inbounds i8,i8*%a,i64 16
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%f,align 8
%p=getelementptr inbounds i8,i8*%a,i64 24
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%a,i64 28
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call i8*@sml_alloc(i32 inreg 44)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177320,i32*%x,align 4
store i8*%v,i8**%g,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%v,i64 16
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%H=getelementptr inbounds i8,i8*%v,i64 24
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%v,i64 32
%K=bitcast i8*%J to i32*
store i32%r,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%v,i64 36
%M=bitcast i8*%L to i32*
store i32%u,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%v,i64 40
%O=bitcast i8*%N to i32*
store i32 15,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=load i8*,i8**%g,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minute0_457 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minute0_457 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
ret i8*%P
}
define internal fastcc i8*@_SMLL5time0_459(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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
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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%b,%m]
%n=phi i8*[%i,%h],[%a,%m]
%o=getelementptr inbounds i8,i8*%n,i64 36
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,3
%s=sub i32 0,%q
%t=and i32%r,%s
%u=bitcast i8*%n to i8**
%v=load i8*,i8**%u,align 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%v,i64 4
%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 i32*
%D=load i32,i32*%C,align 4
%E=getelementptr inbounds i8,i8*%n,i64 16
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*null,i8**%c,align 8
%H=call fastcc i8*@_SMLL7get2dig_450(i8*inreg%G,i8*inreg%l)
%I=icmp eq i8*%H,null
br i1%I,label%J,label%K
J:
ret i8*null
K:
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=load i8*,i8**%d,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=call fastcc i8*@_SMLL6expect_445(i8*inreg%S,i8 inreg 58)
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%e,align 8
%Z=load i8*,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%Z,i64 32
%ab=bitcast i8*%aa to i32*
%ac=load i32,i32*%ab,align 4
%ad=icmp eq i32%ac,0
br i1%ad,label%ak,label%ae
ae:
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=sext i32%t to i64
%ah=getelementptr inbounds i8,i8*%af,i64%ag
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
br label%av
ak:
%al=getelementptr inbounds i8,i8*%Z,i64 36
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=call i8*@sml_alloc(i32 inreg%an)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32%an,i32*%aq,align 4
%ar=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%as=sext i32%t to i64
%at=getelementptr inbounds i8,i8*%ar,i64%as
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ao,i8*%at,i32%an,i1 false)
%au=load i8*,i8**%e,align 8
br label%av
av:
%aw=phi i8*[%Y,%ae],[%au,%ak]
%ax=phi i8*[%aj,%ae],[%ao,%ak]
store i8*null,i8**%e,align 8
%ay=call fastcc i8*%W(i8*inreg%aw,i8*inreg%ax)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%c,align 8
%aE=load i8*,i8**%d,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 24
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%d,align 8
%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
store i32%x,i32*%aJ,align 4
%aM=getelementptr inbounds i8,i8*%aI,i64 4
%aN=bitcast i8*%aM to i32*
store i32%A,i32*%aN,align 4
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i32*
store i32%D,i32*%aP,align 4
%aQ=getelementptr inbounds i8,i8*%aI,i64 12
%aR=bitcast i8*%aQ to i32*
store i32%O,i32*%aR,align 4
%aS=getelementptr inbounds i8,i8*%aI,i64 16
%aT=bitcast i8*%aS to i32*
store i32 0,i32*%aT,align 4
%aU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aV=call fastcc i8*@_SMLL7minute0_458(i8*inreg%aU,i8*inreg%aI)
%aW=load i8*,i8**%c,align 8
%aX=tail call fastcc i8*%aB(i8*inreg%aW,i8*inreg%aV)
ret i8*%aX
}
define internal fastcc i8*@_SMLL5time0_460(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%b,i8**%c,align 8
%h=bitcast i8*%a to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%d,align 8
%j=getelementptr inbounds i8,i8*%a,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%e,align 8
%m=getelementptr inbounds i8,i8*%a,i64 16
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%f,align 8
%p=getelementptr inbounds i8,i8*%a,i64 24
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%a,i64 28
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call i8*@sml_alloc(i32 inreg 44)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177320,i32*%x,align 4
store i8*%v,i8**%g,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%v,i64 16
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%H=getelementptr inbounds i8,i8*%v,i64 24
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%v,i64 32
%K=bitcast i8*%J to i32*
store i32%r,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%v,i64 36
%M=bitcast i8*%L to i32*
store i32%u,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%v,i64 40
%O=bitcast i8*%N to i32*
store i32 15,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=load i8*,i8**%g,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5time0_459 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5time0_459 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
ret i8*%P
}
define internal fastcc i8*@_SMLL5mday0_461(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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
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%k,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%h],[%b,%m]
%n=phi i8*[%i,%h],[%a,%m]
%o=getelementptr inbounds i8,i8*%n,i64 36
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=add i32%q,3
%s=sub i32 0,%q
%t=and i32%r,%s
%u=bitcast i8*%n to i8**
%v=load i8*,i8**%u,align 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%v,i64 4
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=getelementptr inbounds i8,i8*%n,i64 16
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*null,i8**%c,align 8
%E=call fastcc i8*@_SMLL6getday_452(i8*inreg%D,i8*inreg%l)
%F=icmp eq i8*%E,null
br i1%F,label%G,label%H
G:
ret i8*null
H:
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%c,align 8
%K=bitcast i8*%J to i32*
%L=load i32,i32*%K,align 4
%M=load i8*,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%M,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=call fastcc i8*@_SMLL6expect_445(i8*inreg%P,i8 inreg 32)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=load i8*,i8**%d,align 8
%X=getelementptr inbounds i8,i8*%W,i64 32
%Y=bitcast i8*%X to i32*
%Z=load i32,i32*%Y,align 4
%aa=icmp eq i32%Z,0
br i1%aa,label%ah,label%ab
ab:
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=sext i32%t to i64
%ae=getelementptr inbounds i8,i8*%ac,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
br label%as
ah:
%ai=getelementptr inbounds i8,i8*%W,i64 36
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=call i8*@sml_alloc(i32 inreg%ak)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32%ak,i32*%an,align 4
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ap=sext i32%t to i64
%aq=getelementptr inbounds i8,i8*%ao,i64%ap
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%al,i8*%aq,i32%ak,i1 false)
%ar=load i8*,i8**%e,align 8
br label%as
as:
%at=phi i8*[%V,%ab],[%ar,%ah]
%au=phi i8*[%ag,%ab],[%al,%ah]
store i8*null,i8**%e,align 8
%av=call fastcc i8*%T(i8*inreg%at,i8*inreg%au)
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%c,align 8
%aB=load i8*,i8**%d,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 24
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%d,align 8
%aF=call i8*@sml_alloc(i32 inreg 20)#0
%aG=bitcast i8*%aF to i32*
%aH=getelementptr inbounds i8,i8*%aF,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177296,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aF,i64 12
%aK=bitcast i8*%aJ to i32*
store i32 0,i32*%aK,align 1
store i32%x,i32*%aG,align 4
%aL=getelementptr inbounds i8,i8*%aF,i64 4
%aM=bitcast i8*%aL to i32*
store i32%A,i32*%aM,align 4
%aN=getelementptr inbounds i8,i8*%aF,i64 8
%aO=bitcast i8*%aN to i32*
store i32%L,i32*%aO,align 4
%aP=getelementptr inbounds i8,i8*%aF,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 0,i32*%aQ,align 4
%aR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aS=call fastcc i8*@_SMLL5time0_460(i8*inreg%aR,i8*inreg%aF)
%aT=load i8*,i8**%c,align 8
%aU=tail call fastcc i8*%ay(i8*inreg%aT,i8*inreg%aS)
ret i8*%aU
}
define internal fastcc i8*@_SMLL5mday0_462(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%b,i8**%c,align 8
%h=bitcast i8*%a to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%d,align 8
%j=getelementptr inbounds i8,i8*%a,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%e,align 8
%m=getelementptr inbounds i8,i8*%a,i64 16
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%f,align 8
%p=getelementptr inbounds i8,i8*%a,i64 24
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%a,i64 28
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call i8*@sml_alloc(i32 inreg 44)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177320,i32*%x,align 4
store i8*%v,i8**%g,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%v,i64 16
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%H=getelementptr inbounds i8,i8*%v,i64 24
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%v,i64 32
%K=bitcast i8*%J to i32*
store i32%r,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%v,i64 36
%M=bitcast i8*%L to i32*
store i32%u,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%v,i64 40
%O=bitcast i8*%N to i32*
store i32 15,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=load i8*,i8**%g,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5mday0_461 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5mday0_461 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
ret i8*%P
}
define internal fastcc i8*@_SMLL6month0_463(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**%d,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**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 32
%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=getelementptr inbounds i8,i8*%k,i64 28
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call fastcc i8*@_SMLFN9StringCvt6splitlE(i32 inreg%u,i32 inreg%o)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=load i8*,i8**@_SMLZN4Char7isAlphaE,align 8
%C=call fastcc i8*%y(i8*inreg%A,i8*inreg%B)
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=bitcast i8**%d to i8***
%J=load i8**,i8***%I,align 8
%K=load i8*,i8**%J,align 8
%L=call fastcc i8*%F(i8*inreg%H,i8*inreg%K)
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=call fastcc i8*%O(i8*inreg%Q,i8*inreg%R)
store i8*%S,i8**%c,align 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=and i32%X,268435455
%Z=icmp eq i32%Y,4
br i1%Z,label%aa,label%m6
aa:
%ab=load i8,i8*%U,align 1
switch i8%ab,label%m6[
i8 65,label%kX
i8 68,label%jQ
i8 70,label%iJ
i8 74,label%fC
i8 77,label%dx
i8 78,label%cq
i8 79,label%bj
i8 83,label%ac
]
ac:
%ad=getelementptr inbounds i8,i8*%U,i64 1
%ae=load i8,i8*%ad,align 1
%af=icmp eq i8%ae,101
br i1%af,label%ag,label%m6
ag:
%ah=getelementptr inbounds i8,i8*%U,i64 2
%ai=load i8,i8*%ah,align 1
%aj=icmp eq i8%ai,112
br i1%aj,label%ak,label%m6
ak:
%al=load i8*,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%al,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*@_SMLL6expect_445(i8*inreg%ao,i8 inreg 32)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%e,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 28
%ax=bitcast i8*%aw to i32*
%ay=load i32,i32*%ax,align 4
%az=icmp eq i32%ay,0
br i1%az,label%aG,label%aA
aA:
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=sext i32%r to i64
%aD=getelementptr inbounds i8,i8*%aB,i64%aC
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
br label%aR
aG:
%aH=getelementptr inbounds i8,i8*%av,i64 32
%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
store i8*null,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)
%aQ=load i8*,i8**%e,align 8
br label%aR
aR:
%aS=phi i8*[%au,%aA],[%aQ,%aG]
%aT=phi i8*[%aF,%aA],[%aK,%aG]
store i8*null,i8**%e,align 8
%aU=call fastcc i8*%as(i8*inreg%aS,i8*inreg%aT)
%aV=getelementptr inbounds i8,i8*%aU,i64 16
%aW=bitcast i8*%aV to i8*(i8*,i8*)**
%aX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aW,align 8
%aY=bitcast i8*%aU to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%c,align 8
%a0=load i8*,i8**%d,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 16
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%e,align 8
store i8*null,i8**%d,align 8
%a4=getelementptr inbounds i8,i8*%a0,i64 24
%a5=bitcast i8*%a4 to i32*
%a6=load i32,i32*%a5,align 4
%a7=call i8*@sml_alloc(i32 inreg 12)#0
%a8=bitcast i8*%a7 to i32*
%a9=getelementptr inbounds i8,i8*%a7,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177288,i32*%ba,align 4
store i32%a6,i32*%a8,align 4
%bb=getelementptr inbounds i8,i8*%a7,i64 4
%bc=bitcast i8*%bb to i32*
store i32 11,i32*%bc,align 4
%bd=getelementptr inbounds i8,i8*%a7,i64 8
%be=bitcast i8*%bd to i32*
store i32 0,i32*%be,align 4
%bf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bg=call fastcc i8*@_SMLL5mday0_462(i8*inreg%bf,i8*inreg%a7)
%bh=load i8*,i8**%c,align 8
%bi=tail call fastcc i8*%aX(i8*inreg%bh,i8*inreg%bg)
ret i8*%bi
bj:
%bk=getelementptr inbounds i8,i8*%U,i64 1
%bl=load i8,i8*%bk,align 1
%bm=icmp eq i8%bl,99
br i1%bm,label%bn,label%m6
bn:
%bo=getelementptr inbounds i8,i8*%U,i64 2
%bp=load i8,i8*%bo,align 1
%bq=icmp eq i8%bp,116
br i1%bq,label%br,label%m6
br:
%bs=load i8*,i8**%d,align 8
%bt=getelementptr inbounds i8,i8*%bs,i64 8
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
%bw=call fastcc i8*@_SMLL6expect_445(i8*inreg%bv,i8 inreg 32)
%bx=getelementptr inbounds i8,i8*%bw,i64 16
%by=bitcast i8*%bx to i8*(i8*,i8*)**
%bz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%by,align 8
%bA=bitcast i8*%bw to i8**
%bB=load i8*,i8**%bA,align 8
store i8*%bB,i8**%e,align 8
%bC=load i8*,i8**%d,align 8
%bD=getelementptr inbounds i8,i8*%bC,i64 28
%bE=bitcast i8*%bD to i32*
%bF=load i32,i32*%bE,align 4
%bG=icmp eq i32%bF,0
br i1%bG,label%bN,label%bH
bH:
%bI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bJ=sext i32%r to i64
%bK=getelementptr inbounds i8,i8*%bI,i64%bJ
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
br label%bY
bN:
%bO=getelementptr inbounds i8,i8*%bC,i64 32
%bP=bitcast i8*%bO to i32*
%bQ=load i32,i32*%bP,align 4
%bR=call i8*@sml_alloc(i32 inreg%bQ)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32%bQ,i32*%bT,align 4
%bU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bV=sext i32%r to i64
%bW=getelementptr inbounds i8,i8*%bU,i64%bV
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bR,i8*%bW,i32%bQ,i1 false)
%bX=load i8*,i8**%e,align 8
br label%bY
bY:
%bZ=phi i8*[%bB,%bH],[%bX,%bN]
%b0=phi i8*[%bM,%bH],[%bR,%bN]
store i8*null,i8**%e,align 8
%b1=call fastcc i8*%bz(i8*inreg%bZ,i8*inreg%b0)
%b2=getelementptr inbounds i8,i8*%b1,i64 16
%b3=bitcast i8*%b2 to i8*(i8*,i8*)**
%b4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b3,align 8
%b5=bitcast i8*%b1 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%c,align 8
%b7=load i8*,i8**%d,align 8
%b8=getelementptr inbounds i8,i8*%b7,i64 16
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
store i8*%ca,i8**%e,align 8
store i8*null,i8**%d,align 8
%cb=getelementptr inbounds i8,i8*%b7,i64 24
%cc=bitcast i8*%cb to i32*
%cd=load i32,i32*%cc,align 4
%ce=call i8*@sml_alloc(i32 inreg 12)#0
%cf=bitcast i8*%ce to i32*
%cg=getelementptr inbounds i8,i8*%ce,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177288,i32*%ch,align 4
store i32%cd,i32*%cf,align 4
%ci=getelementptr inbounds i8,i8*%ce,i64 4
%cj=bitcast i8*%ci to i32*
store i32 10,i32*%cj,align 4
%ck=getelementptr inbounds i8,i8*%ce,i64 8
%cl=bitcast i8*%ck to i32*
store i32 0,i32*%cl,align 4
%cm=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cn=call fastcc i8*@_SMLL5mday0_462(i8*inreg%cm,i8*inreg%ce)
%co=load i8*,i8**%c,align 8
%cp=tail call fastcc i8*%b4(i8*inreg%co,i8*inreg%cn)
ret i8*%cp
cq:
%cr=getelementptr inbounds i8,i8*%U,i64 1
%cs=load i8,i8*%cr,align 1
%ct=icmp eq i8%cs,111
br i1%ct,label%cu,label%m6
cu:
%cv=getelementptr inbounds i8,i8*%U,i64 2
%cw=load i8,i8*%cv,align 1
%cx=icmp eq i8%cw,118
br i1%cx,label%cy,label%m6
cy:
%cz=load i8*,i8**%d,align 8
%cA=getelementptr inbounds i8,i8*%cz,i64 8
%cB=bitcast i8*%cA to i8**
%cC=load i8*,i8**%cB,align 8
%cD=call fastcc i8*@_SMLL6expect_445(i8*inreg%cC,i8 inreg 32)
%cE=getelementptr inbounds i8,i8*%cD,i64 16
%cF=bitcast i8*%cE to i8*(i8*,i8*)**
%cG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cF,align 8
%cH=bitcast i8*%cD to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%e,align 8
%cJ=load i8*,i8**%d,align 8
%cK=getelementptr inbounds i8,i8*%cJ,i64 28
%cL=bitcast i8*%cK to i32*
%cM=load i32,i32*%cL,align 4
%cN=icmp eq i32%cM,0
br i1%cN,label%cU,label%cO
cO:
%cP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cQ=sext i32%r to i64
%cR=getelementptr inbounds i8,i8*%cP,i64%cQ
%cS=bitcast i8*%cR to i8**
%cT=load i8*,i8**%cS,align 8
br label%c5
cU:
%cV=getelementptr inbounds i8,i8*%cJ,i64 32
%cW=bitcast i8*%cV to i32*
%cX=load i32,i32*%cW,align 4
%cY=call i8*@sml_alloc(i32 inreg%cX)#0
%cZ=getelementptr inbounds i8,i8*%cY,i64 -4
%c0=bitcast i8*%cZ to i32*
store i32%cX,i32*%c0,align 4
%c1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c2=sext i32%r to i64
%c3=getelementptr inbounds i8,i8*%c1,i64%c2
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cY,i8*%c3,i32%cX,i1 false)
%c4=load i8*,i8**%e,align 8
br label%c5
c5:
%c6=phi i8*[%cI,%cO],[%c4,%cU]
%c7=phi i8*[%cT,%cO],[%cY,%cU]
store i8*null,i8**%e,align 8
%c8=call fastcc i8*%cG(i8*inreg%c6,i8*inreg%c7)
%c9=getelementptr inbounds i8,i8*%c8,i64 16
%da=bitcast i8*%c9 to i8*(i8*,i8*)**
%db=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%da,align 8
%dc=bitcast i8*%c8 to i8**
%dd=load i8*,i8**%dc,align 8
store i8*%dd,i8**%c,align 8
%de=load i8*,i8**%d,align 8
%df=getelementptr inbounds i8,i8*%de,i64 16
%dg=bitcast i8*%df to i8**
%dh=load i8*,i8**%dg,align 8
store i8*%dh,i8**%e,align 8
store i8*null,i8**%d,align 8
%di=getelementptr inbounds i8,i8*%de,i64 24
%dj=bitcast i8*%di to i32*
%dk=load i32,i32*%dj,align 4
%dl=call i8*@sml_alloc(i32 inreg 12)#0
%dm=bitcast i8*%dl to i32*
%dn=getelementptr inbounds i8,i8*%dl,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177288,i32*%do,align 4
store i32%dk,i32*%dm,align 4
%dp=getelementptr inbounds i8,i8*%dl,i64 4
%dq=bitcast i8*%dp to i32*
store i32 9,i32*%dq,align 4
%dr=getelementptr inbounds i8,i8*%dl,i64 8
%ds=bitcast i8*%dr to i32*
store i32 0,i32*%ds,align 4
%dt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%du=call fastcc i8*@_SMLL5mday0_462(i8*inreg%dt,i8*inreg%dl)
%dv=load i8*,i8**%c,align 8
%dw=tail call fastcc i8*%db(i8*inreg%dv,i8*inreg%du)
ret i8*%dw
dx:
%dy=getelementptr inbounds i8,i8*%U,i64 1
%dz=load i8,i8*%dy,align 1
%dA=icmp eq i8%dz,97
br i1%dA,label%dB,label%m6
dB:
%dC=getelementptr inbounds i8,i8*%U,i64 2
%dD=load i8,i8*%dC,align 1
switch i8%dD,label%m6[
i8 114,label%eD
i8 121,label%dE
]
dE:
%dF=load i8*,i8**%d,align 8
%dG=getelementptr inbounds i8,i8*%dF,i64 8
%dH=bitcast i8*%dG to i8**
%dI=load i8*,i8**%dH,align 8
%dJ=call fastcc i8*@_SMLL6expect_445(i8*inreg%dI,i8 inreg 32)
%dK=getelementptr inbounds i8,i8*%dJ,i64 16
%dL=bitcast i8*%dK to i8*(i8*,i8*)**
%dM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dL,align 8
%dN=bitcast i8*%dJ to i8**
%dO=load i8*,i8**%dN,align 8
store i8*%dO,i8**%e,align 8
%dP=load i8*,i8**%d,align 8
%dQ=getelementptr inbounds i8,i8*%dP,i64 28
%dR=bitcast i8*%dQ to i32*
%dS=load i32,i32*%dR,align 4
%dT=icmp eq i32%dS,0
br i1%dT,label%d0,label%dU
dU:
%dV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dW=sext i32%r to i64
%dX=getelementptr inbounds i8,i8*%dV,i64%dW
%dY=bitcast i8*%dX to i8**
%dZ=load i8*,i8**%dY,align 8
br label%eb
d0:
%d1=getelementptr inbounds i8,i8*%dP,i64 32
%d2=bitcast i8*%d1 to i32*
%d3=load i32,i32*%d2,align 4
%d4=call i8*@sml_alloc(i32 inreg%d3)#0
%d5=getelementptr inbounds i8,i8*%d4,i64 -4
%d6=bitcast i8*%d5 to i32*
store i32%d3,i32*%d6,align 4
%d7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d8=sext i32%r to i64
%d9=getelementptr inbounds i8,i8*%d7,i64%d8
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%d4,i8*%d9,i32%d3,i1 false)
%ea=load i8*,i8**%e,align 8
br label%eb
eb:
%ec=phi i8*[%dO,%dU],[%ea,%d0]
%ed=phi i8*[%dZ,%dU],[%d4,%d0]
store i8*null,i8**%e,align 8
%ee=call fastcc i8*%dM(i8*inreg%ec,i8*inreg%ed)
%ef=getelementptr inbounds i8,i8*%ee,i64 16
%eg=bitcast i8*%ef to i8*(i8*,i8*)**
%eh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eg,align 8
%ei=bitcast i8*%ee to i8**
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%c,align 8
%ek=load i8*,i8**%d,align 8
%el=getelementptr inbounds i8,i8*%ek,i64 16
%em=bitcast i8*%el to i8**
%en=load i8*,i8**%em,align 8
store i8*%en,i8**%e,align 8
store i8*null,i8**%d,align 8
%eo=getelementptr inbounds i8,i8*%ek,i64 24
%ep=bitcast i8*%eo to i32*
%eq=load i32,i32*%ep,align 4
%er=call i8*@sml_alloc(i32 inreg 12)#0
%es=bitcast i8*%er to i32*
%et=getelementptr inbounds i8,i8*%er,i64 -4
%eu=bitcast i8*%et to i32*
store i32 1342177288,i32*%eu,align 4
store i32%eq,i32*%es,align 4
%ev=getelementptr inbounds i8,i8*%er,i64 4
%ew=bitcast i8*%ev to i32*
store i32 8,i32*%ew,align 4
%ex=getelementptr inbounds i8,i8*%er,i64 8
%ey=bitcast i8*%ex to i32*
store i32 0,i32*%ey,align 4
%ez=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eA=call fastcc i8*@_SMLL5mday0_462(i8*inreg%ez,i8*inreg%er)
%eB=load i8*,i8**%c,align 8
%eC=tail call fastcc i8*%eh(i8*inreg%eB,i8*inreg%eA)
ret i8*%eC
eD:
%eE=load i8*,i8**%d,align 8
%eF=getelementptr inbounds i8,i8*%eE,i64 8
%eG=bitcast i8*%eF to i8**
%eH=load i8*,i8**%eG,align 8
%eI=call fastcc i8*@_SMLL6expect_445(i8*inreg%eH,i8 inreg 32)
%eJ=getelementptr inbounds i8,i8*%eI,i64 16
%eK=bitcast i8*%eJ to i8*(i8*,i8*)**
%eL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eK,align 8
%eM=bitcast i8*%eI to i8**
%eN=load i8*,i8**%eM,align 8
store i8*%eN,i8**%e,align 8
%eO=load i8*,i8**%d,align 8
%eP=getelementptr inbounds i8,i8*%eO,i64 28
%eQ=bitcast i8*%eP to i32*
%eR=load i32,i32*%eQ,align 4
%eS=icmp eq i32%eR,0
br i1%eS,label%eZ,label%eT
eT:
%eU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eV=sext i32%r to i64
%eW=getelementptr inbounds i8,i8*%eU,i64%eV
%eX=bitcast i8*%eW to i8**
%eY=load i8*,i8**%eX,align 8
br label%fa
eZ:
%e0=getelementptr inbounds i8,i8*%eO,i64 32
%e1=bitcast i8*%e0 to i32*
%e2=load i32,i32*%e1,align 4
%e3=call i8*@sml_alloc(i32 inreg%e2)#0
%e4=getelementptr inbounds i8,i8*%e3,i64 -4
%e5=bitcast i8*%e4 to i32*
store i32%e2,i32*%e5,align 4
%e6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e7=sext i32%r to i64
%e8=getelementptr inbounds i8,i8*%e6,i64%e7
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%e3,i8*%e8,i32%e2,i1 false)
%e9=load i8*,i8**%e,align 8
br label%fa
fa:
%fb=phi i8*[%eN,%eT],[%e9,%eZ]
%fc=phi i8*[%eY,%eT],[%e3,%eZ]
store i8*null,i8**%e,align 8
%fd=call fastcc i8*%eL(i8*inreg%fb,i8*inreg%fc)
%fe=getelementptr inbounds i8,i8*%fd,i64 16
%ff=bitcast i8*%fe to i8*(i8*,i8*)**
%fg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ff,align 8
%fh=bitcast i8*%fd to i8**
%fi=load i8*,i8**%fh,align 8
store i8*%fi,i8**%c,align 8
%fj=load i8*,i8**%d,align 8
%fk=getelementptr inbounds i8,i8*%fj,i64 16
%fl=bitcast i8*%fk to i8**
%fm=load i8*,i8**%fl,align 8
store i8*%fm,i8**%e,align 8
store i8*null,i8**%d,align 8
%fn=getelementptr inbounds i8,i8*%fj,i64 24
%fo=bitcast i8*%fn to i32*
%fp=load i32,i32*%fo,align 4
%fq=call i8*@sml_alloc(i32 inreg 12)#0
%fr=bitcast i8*%fq to i32*
%fs=getelementptr inbounds i8,i8*%fq,i64 -4
%ft=bitcast i8*%fs to i32*
store i32 1342177288,i32*%ft,align 4
store i32%fp,i32*%fr,align 4
%fu=getelementptr inbounds i8,i8*%fq,i64 4
%fv=bitcast i8*%fu to i32*
store i32 7,i32*%fv,align 4
%fw=getelementptr inbounds i8,i8*%fq,i64 8
%fx=bitcast i8*%fw to i32*
store i32 0,i32*%fx,align 4
%fy=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fz=call fastcc i8*@_SMLL5mday0_462(i8*inreg%fy,i8*inreg%fq)
%fA=load i8*,i8**%c,align 8
%fB=tail call fastcc i8*%fg(i8*inreg%fA,i8*inreg%fz)
ret i8*%fB
fC:
%fD=getelementptr inbounds i8,i8*%U,i64 1
%fE=load i8,i8*%fD,align 1
switch i8%fE,label%m6[
i8 97,label%hG
i8 117,label%fF
]
fF:
%fG=getelementptr inbounds i8,i8*%U,i64 2
%fH=load i8,i8*%fG,align 1
switch i8%fH,label%m6[
i8 108,label%gH
i8 110,label%fI
]
fI:
%fJ=load i8*,i8**%d,align 8
%fK=getelementptr inbounds i8,i8*%fJ,i64 8
%fL=bitcast i8*%fK to i8**
%fM=load i8*,i8**%fL,align 8
%fN=call fastcc i8*@_SMLL6expect_445(i8*inreg%fM,i8 inreg 32)
%fO=getelementptr inbounds i8,i8*%fN,i64 16
%fP=bitcast i8*%fO to i8*(i8*,i8*)**
%fQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fP,align 8
%fR=bitcast i8*%fN to i8**
%fS=load i8*,i8**%fR,align 8
store i8*%fS,i8**%e,align 8
%fT=load i8*,i8**%d,align 8
%fU=getelementptr inbounds i8,i8*%fT,i64 28
%fV=bitcast i8*%fU to i32*
%fW=load i32,i32*%fV,align 4
%fX=icmp eq i32%fW,0
br i1%fX,label%f4,label%fY
fY:
%fZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%f0=sext i32%r to i64
%f1=getelementptr inbounds i8,i8*%fZ,i64%f0
%f2=bitcast i8*%f1 to i8**
%f3=load i8*,i8**%f2,align 8
br label%gf
f4:
%f5=getelementptr inbounds i8,i8*%fT,i64 32
%f6=bitcast i8*%f5 to i32*
%f7=load i32,i32*%f6,align 4
%f8=call i8*@sml_alloc(i32 inreg%f7)#0
%f9=getelementptr inbounds i8,i8*%f8,i64 -4
%ga=bitcast i8*%f9 to i32*
store i32%f7,i32*%ga,align 4
%gb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gc=sext i32%r to i64
%gd=getelementptr inbounds i8,i8*%gb,i64%gc
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%f8,i8*%gd,i32%f7,i1 false)
%ge=load i8*,i8**%e,align 8
br label%gf
gf:
%gg=phi i8*[%fS,%fY],[%ge,%f4]
%gh=phi i8*[%f3,%fY],[%f8,%f4]
store i8*null,i8**%e,align 8
%gi=call fastcc i8*%fQ(i8*inreg%gg,i8*inreg%gh)
%gj=getelementptr inbounds i8,i8*%gi,i64 16
%gk=bitcast i8*%gj to i8*(i8*,i8*)**
%gl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gk,align 8
%gm=bitcast i8*%gi to i8**
%gn=load i8*,i8**%gm,align 8
store i8*%gn,i8**%c,align 8
%go=load i8*,i8**%d,align 8
%gp=getelementptr inbounds i8,i8*%go,i64 16
%gq=bitcast i8*%gp to i8**
%gr=load i8*,i8**%gq,align 8
store i8*%gr,i8**%e,align 8
store i8*null,i8**%d,align 8
%gs=getelementptr inbounds i8,i8*%go,i64 24
%gt=bitcast i8*%gs to i32*
%gu=load i32,i32*%gt,align 4
%gv=call i8*@sml_alloc(i32 inreg 12)#0
%gw=bitcast i8*%gv to i32*
%gx=getelementptr inbounds i8,i8*%gv,i64 -4
%gy=bitcast i8*%gx to i32*
store i32 1342177288,i32*%gy,align 4
store i32%gu,i32*%gw,align 4
%gz=getelementptr inbounds i8,i8*%gv,i64 4
%gA=bitcast i8*%gz to i32*
store i32 6,i32*%gA,align 4
%gB=getelementptr inbounds i8,i8*%gv,i64 8
%gC=bitcast i8*%gB to i32*
store i32 0,i32*%gC,align 4
%gD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gE=call fastcc i8*@_SMLL5mday0_462(i8*inreg%gD,i8*inreg%gv)
%gF=load i8*,i8**%c,align 8
%gG=tail call fastcc i8*%gl(i8*inreg%gF,i8*inreg%gE)
ret i8*%gG
gH:
%gI=load i8*,i8**%d,align 8
%gJ=getelementptr inbounds i8,i8*%gI,i64 8
%gK=bitcast i8*%gJ to i8**
%gL=load i8*,i8**%gK,align 8
%gM=call fastcc i8*@_SMLL6expect_445(i8*inreg%gL,i8 inreg 32)
%gN=getelementptr inbounds i8,i8*%gM,i64 16
%gO=bitcast i8*%gN to i8*(i8*,i8*)**
%gP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gO,align 8
%gQ=bitcast i8*%gM to i8**
%gR=load i8*,i8**%gQ,align 8
store i8*%gR,i8**%e,align 8
%gS=load i8*,i8**%d,align 8
%gT=getelementptr inbounds i8,i8*%gS,i64 28
%gU=bitcast i8*%gT to i32*
%gV=load i32,i32*%gU,align 4
%gW=icmp eq i32%gV,0
br i1%gW,label%g3,label%gX
gX:
%gY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gZ=sext i32%r to i64
%g0=getelementptr inbounds i8,i8*%gY,i64%gZ
%g1=bitcast i8*%g0 to i8**
%g2=load i8*,i8**%g1,align 8
br label%he
g3:
%g4=getelementptr inbounds i8,i8*%gS,i64 32
%g5=bitcast i8*%g4 to i32*
%g6=load i32,i32*%g5,align 4
%g7=call i8*@sml_alloc(i32 inreg%g6)#0
%g8=getelementptr inbounds i8,i8*%g7,i64 -4
%g9=bitcast i8*%g8 to i32*
store i32%g6,i32*%g9,align 4
%ha=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hb=sext i32%r to i64
%hc=getelementptr inbounds i8,i8*%ha,i64%hb
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%g7,i8*%hc,i32%g6,i1 false)
%hd=load i8*,i8**%e,align 8
br label%he
he:
%hf=phi i8*[%gR,%gX],[%hd,%g3]
%hg=phi i8*[%g2,%gX],[%g7,%g3]
store i8*null,i8**%e,align 8
%hh=call fastcc i8*%gP(i8*inreg%hf,i8*inreg%hg)
%hi=getelementptr inbounds i8,i8*%hh,i64 16
%hj=bitcast i8*%hi to i8*(i8*,i8*)**
%hk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hj,align 8
%hl=bitcast i8*%hh to i8**
%hm=load i8*,i8**%hl,align 8
store i8*%hm,i8**%c,align 8
%hn=load i8*,i8**%d,align 8
%ho=getelementptr inbounds i8,i8*%hn,i64 16
%hp=bitcast i8*%ho to i8**
%hq=load i8*,i8**%hp,align 8
store i8*%hq,i8**%e,align 8
store i8*null,i8**%d,align 8
%hr=getelementptr inbounds i8,i8*%hn,i64 24
%hs=bitcast i8*%hr to i32*
%ht=load i32,i32*%hs,align 4
%hu=call i8*@sml_alloc(i32 inreg 12)#0
%hv=bitcast i8*%hu to i32*
%hw=getelementptr inbounds i8,i8*%hu,i64 -4
%hx=bitcast i8*%hw to i32*
store i32 1342177288,i32*%hx,align 4
store i32%ht,i32*%hv,align 4
%hy=getelementptr inbounds i8,i8*%hu,i64 4
%hz=bitcast i8*%hy to i32*
store i32 5,i32*%hz,align 4
%hA=getelementptr inbounds i8,i8*%hu,i64 8
%hB=bitcast i8*%hA to i32*
store i32 0,i32*%hB,align 4
%hC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hD=call fastcc i8*@_SMLL5mday0_462(i8*inreg%hC,i8*inreg%hu)
%hE=load i8*,i8**%c,align 8
%hF=tail call fastcc i8*%hk(i8*inreg%hE,i8*inreg%hD)
ret i8*%hF
hG:
%hH=getelementptr inbounds i8,i8*%U,i64 2
%hI=load i8,i8*%hH,align 1
%hJ=icmp eq i8%hI,110
br i1%hJ,label%hK,label%m6
hK:
%hL=load i8*,i8**%d,align 8
%hM=getelementptr inbounds i8,i8*%hL,i64 8
%hN=bitcast i8*%hM to i8**
%hO=load i8*,i8**%hN,align 8
%hP=call fastcc i8*@_SMLL6expect_445(i8*inreg%hO,i8 inreg 32)
%hQ=getelementptr inbounds i8,i8*%hP,i64 16
%hR=bitcast i8*%hQ to i8*(i8*,i8*)**
%hS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hR,align 8
%hT=bitcast i8*%hP to i8**
%hU=load i8*,i8**%hT,align 8
store i8*%hU,i8**%e,align 8
%hV=load i8*,i8**%d,align 8
%hW=getelementptr inbounds i8,i8*%hV,i64 28
%hX=bitcast i8*%hW to i32*
%hY=load i32,i32*%hX,align 4
%hZ=icmp eq i32%hY,0
br i1%hZ,label%h6,label%h0
h0:
%h1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%h2=sext i32%r to i64
%h3=getelementptr inbounds i8,i8*%h1,i64%h2
%h4=bitcast i8*%h3 to i8**
%h5=load i8*,i8**%h4,align 8
br label%ih
h6:
%h7=getelementptr inbounds i8,i8*%hV,i64 32
%h8=bitcast i8*%h7 to i32*
%h9=load i32,i32*%h8,align 4
%ia=call i8*@sml_alloc(i32 inreg%h9)#0
%ib=getelementptr inbounds i8,i8*%ia,i64 -4
%ic=bitcast i8*%ib to i32*
store i32%h9,i32*%ic,align 4
%id=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ie=sext i32%r to i64
%if=getelementptr inbounds i8,i8*%id,i64%ie
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ia,i8*%if,i32%h9,i1 false)
%ig=load i8*,i8**%e,align 8
br label%ih
ih:
%ii=phi i8*[%hU,%h0],[%ig,%h6]
%ij=phi i8*[%h5,%h0],[%ia,%h6]
store i8*null,i8**%e,align 8
%ik=call fastcc i8*%hS(i8*inreg%ii,i8*inreg%ij)
%il=getelementptr inbounds i8,i8*%ik,i64 16
%im=bitcast i8*%il to i8*(i8*,i8*)**
%in=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%im,align 8
%io=bitcast i8*%ik to i8**
%ip=load i8*,i8**%io,align 8
store i8*%ip,i8**%c,align 8
%iq=load i8*,i8**%d,align 8
%ir=getelementptr inbounds i8,i8*%iq,i64 16
%is=bitcast i8*%ir to i8**
%it=load i8*,i8**%is,align 8
store i8*%it,i8**%e,align 8
store i8*null,i8**%d,align 8
%iu=getelementptr inbounds i8,i8*%iq,i64 24
%iv=bitcast i8*%iu to i32*
%iw=load i32,i32*%iv,align 4
%ix=call i8*@sml_alloc(i32 inreg 12)#0
%iy=bitcast i8*%ix to i32*
%iz=getelementptr inbounds i8,i8*%ix,i64 -4
%iA=bitcast i8*%iz to i32*
store i32 1342177288,i32*%iA,align 4
store i32%iw,i32*%iy,align 4
%iB=getelementptr inbounds i8,i8*%ix,i64 4
%iC=bitcast i8*%iB to i32*
store i32 4,i32*%iC,align 4
%iD=getelementptr inbounds i8,i8*%ix,i64 8
%iE=bitcast i8*%iD to i32*
store i32 0,i32*%iE,align 4
%iF=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iG=call fastcc i8*@_SMLL5mday0_462(i8*inreg%iF,i8*inreg%ix)
%iH=load i8*,i8**%c,align 8
%iI=tail call fastcc i8*%in(i8*inreg%iH,i8*inreg%iG)
ret i8*%iI
iJ:
%iK=getelementptr inbounds i8,i8*%U,i64 1
%iL=load i8,i8*%iK,align 1
%iM=icmp eq i8%iL,101
br i1%iM,label%iN,label%m6
iN:
%iO=getelementptr inbounds i8,i8*%U,i64 2
%iP=load i8,i8*%iO,align 1
%iQ=icmp eq i8%iP,98
br i1%iQ,label%iR,label%m6
iR:
%iS=load i8*,i8**%d,align 8
%iT=getelementptr inbounds i8,i8*%iS,i64 8
%iU=bitcast i8*%iT to i8**
%iV=load i8*,i8**%iU,align 8
%iW=call fastcc i8*@_SMLL6expect_445(i8*inreg%iV,i8 inreg 32)
%iX=getelementptr inbounds i8,i8*%iW,i64 16
%iY=bitcast i8*%iX to i8*(i8*,i8*)**
%iZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iY,align 8
%i0=bitcast i8*%iW to i8**
%i1=load i8*,i8**%i0,align 8
store i8*%i1,i8**%e,align 8
%i2=load i8*,i8**%d,align 8
%i3=getelementptr inbounds i8,i8*%i2,i64 28
%i4=bitcast i8*%i3 to i32*
%i5=load i32,i32*%i4,align 4
%i6=icmp eq i32%i5,0
br i1%i6,label%jd,label%i7
i7:
%i8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%i9=sext i32%r to i64
%ja=getelementptr inbounds i8,i8*%i8,i64%i9
%jb=bitcast i8*%ja to i8**
%jc=load i8*,i8**%jb,align 8
br label%jo
jd:
%je=getelementptr inbounds i8,i8*%i2,i64 32
%jf=bitcast i8*%je to i32*
%jg=load i32,i32*%jf,align 4
%jh=call i8*@sml_alloc(i32 inreg%jg)#0
%ji=getelementptr inbounds i8,i8*%jh,i64 -4
%jj=bitcast i8*%ji to i32*
store i32%jg,i32*%jj,align 4
%jk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jl=sext i32%r to i64
%jm=getelementptr inbounds i8,i8*%jk,i64%jl
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%jh,i8*%jm,i32%jg,i1 false)
%jn=load i8*,i8**%e,align 8
br label%jo
jo:
%jp=phi i8*[%i1,%i7],[%jn,%jd]
%jq=phi i8*[%jc,%i7],[%jh,%jd]
store i8*null,i8**%e,align 8
%jr=call fastcc i8*%iZ(i8*inreg%jp,i8*inreg%jq)
%js=getelementptr inbounds i8,i8*%jr,i64 16
%jt=bitcast i8*%js to i8*(i8*,i8*)**
%ju=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jt,align 8
%jv=bitcast i8*%jr to i8**
%jw=load i8*,i8**%jv,align 8
store i8*%jw,i8**%c,align 8
%jx=load i8*,i8**%d,align 8
%jy=getelementptr inbounds i8,i8*%jx,i64 16
%jz=bitcast i8*%jy to i8**
%jA=load i8*,i8**%jz,align 8
store i8*%jA,i8**%e,align 8
store i8*null,i8**%d,align 8
%jB=getelementptr inbounds i8,i8*%jx,i64 24
%jC=bitcast i8*%jB to i32*
%jD=load i32,i32*%jC,align 4
%jE=call i8*@sml_alloc(i32 inreg 12)#0
%jF=bitcast i8*%jE to i32*
%jG=getelementptr inbounds i8,i8*%jE,i64 -4
%jH=bitcast i8*%jG to i32*
store i32 1342177288,i32*%jH,align 4
store i32%jD,i32*%jF,align 4
%jI=getelementptr inbounds i8,i8*%jE,i64 4
%jJ=bitcast i8*%jI to i32*
store i32 3,i32*%jJ,align 4
%jK=getelementptr inbounds i8,i8*%jE,i64 8
%jL=bitcast i8*%jK to i32*
store i32 0,i32*%jL,align 4
%jM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jN=call fastcc i8*@_SMLL5mday0_462(i8*inreg%jM,i8*inreg%jE)
%jO=load i8*,i8**%c,align 8
%jP=tail call fastcc i8*%ju(i8*inreg%jO,i8*inreg%jN)
ret i8*%jP
jQ:
%jR=getelementptr inbounds i8,i8*%U,i64 1
%jS=load i8,i8*%jR,align 1
%jT=icmp eq i8%jS,101
br i1%jT,label%jU,label%m6
jU:
%jV=getelementptr inbounds i8,i8*%U,i64 2
%jW=load i8,i8*%jV,align 1
%jX=icmp eq i8%jW,99
br i1%jX,label%jY,label%m6
jY:
%jZ=load i8*,i8**%d,align 8
%j0=getelementptr inbounds i8,i8*%jZ,i64 8
%j1=bitcast i8*%j0 to i8**
%j2=load i8*,i8**%j1,align 8
%j3=call fastcc i8*@_SMLL6expect_445(i8*inreg%j2,i8 inreg 32)
%j4=getelementptr inbounds i8,i8*%j3,i64 16
%j5=bitcast i8*%j4 to i8*(i8*,i8*)**
%j6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j5,align 8
%j7=bitcast i8*%j3 to i8**
%j8=load i8*,i8**%j7,align 8
store i8*%j8,i8**%e,align 8
%j9=load i8*,i8**%d,align 8
%ka=getelementptr inbounds i8,i8*%j9,i64 28
%kb=bitcast i8*%ka to i32*
%kc=load i32,i32*%kb,align 4
%kd=icmp eq i32%kc,0
br i1%kd,label%kk,label%ke
ke:
%kf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kg=sext i32%r to i64
%kh=getelementptr inbounds i8,i8*%kf,i64%kg
%ki=bitcast i8*%kh to i8**
%kj=load i8*,i8**%ki,align 8
br label%kv
kk:
%kl=getelementptr inbounds i8,i8*%j9,i64 32
%km=bitcast i8*%kl to i32*
%kn=load i32,i32*%km,align 4
%ko=call i8*@sml_alloc(i32 inreg%kn)#0
%kp=getelementptr inbounds i8,i8*%ko,i64 -4
%kq=bitcast i8*%kp to i32*
store i32%kn,i32*%kq,align 4
%kr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ks=sext i32%r to i64
%kt=getelementptr inbounds i8,i8*%kr,i64%ks
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%ko,i8*%kt,i32%kn,i1 false)
%ku=load i8*,i8**%e,align 8
br label%kv
kv:
%kw=phi i8*[%j8,%ke],[%ku,%kk]
%kx=phi i8*[%kj,%ke],[%ko,%kk]
store i8*null,i8**%e,align 8
%ky=call fastcc i8*%j6(i8*inreg%kw,i8*inreg%kx)
%kz=getelementptr inbounds i8,i8*%ky,i64 16
%kA=bitcast i8*%kz to i8*(i8*,i8*)**
%kB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kA,align 8
%kC=bitcast i8*%ky to i8**
%kD=load i8*,i8**%kC,align 8
store i8*%kD,i8**%c,align 8
%kE=load i8*,i8**%d,align 8
%kF=getelementptr inbounds i8,i8*%kE,i64 16
%kG=bitcast i8*%kF to i8**
%kH=load i8*,i8**%kG,align 8
store i8*%kH,i8**%e,align 8
store i8*null,i8**%d,align 8
%kI=getelementptr inbounds i8,i8*%kE,i64 24
%kJ=bitcast i8*%kI to i32*
%kK=load i32,i32*%kJ,align 4
%kL=call i8*@sml_alloc(i32 inreg 12)#0
%kM=bitcast i8*%kL to i32*
%kN=getelementptr inbounds i8,i8*%kL,i64 -4
%kO=bitcast i8*%kN to i32*
store i32 1342177288,i32*%kO,align 4
store i32%kK,i32*%kM,align 4
%kP=getelementptr inbounds i8,i8*%kL,i64 4
%kQ=bitcast i8*%kP to i32*
store i32 2,i32*%kQ,align 4
%kR=getelementptr inbounds i8,i8*%kL,i64 8
%kS=bitcast i8*%kR to i32*
store i32 0,i32*%kS,align 4
%kT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kU=call fastcc i8*@_SMLL5mday0_462(i8*inreg%kT,i8*inreg%kL)
%kV=load i8*,i8**%c,align 8
%kW=tail call fastcc i8*%kB(i8*inreg%kV,i8*inreg%kU)
ret i8*%kW
kX:
%kY=getelementptr inbounds i8,i8*%U,i64 1
%kZ=load i8,i8*%kY,align 1
switch i8%kZ,label%m6[
i8 112,label%l3
i8 117,label%k0
]
k0:
%k1=getelementptr inbounds i8,i8*%U,i64 2
%k2=load i8,i8*%k1,align 1
%k3=icmp eq i8%k2,103
br i1%k3,label%k4,label%m6
k4:
%k5=load i8*,i8**%d,align 8
%k6=getelementptr inbounds i8,i8*%k5,i64 8
%k7=bitcast i8*%k6 to i8**
%k8=load i8*,i8**%k7,align 8
%k9=call fastcc i8*@_SMLL6expect_445(i8*inreg%k8,i8 inreg 32)
%la=getelementptr inbounds i8,i8*%k9,i64 16
%lb=bitcast i8*%la to i8*(i8*,i8*)**
%lc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lb,align 8
%ld=bitcast i8*%k9 to i8**
%le=load i8*,i8**%ld,align 8
store i8*%le,i8**%e,align 8
%lf=load i8*,i8**%d,align 8
%lg=getelementptr inbounds i8,i8*%lf,i64 28
%lh=bitcast i8*%lg to i32*
%li=load i32,i32*%lh,align 4
%lj=icmp eq i32%li,0
br i1%lj,label%lq,label%lk
lk:
%ll=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lm=sext i32%r to i64
%ln=getelementptr inbounds i8,i8*%ll,i64%lm
%lo=bitcast i8*%ln to i8**
%lp=load i8*,i8**%lo,align 8
br label%lB
lq:
%lr=getelementptr inbounds i8,i8*%lf,i64 32
%ls=bitcast i8*%lr to i32*
%lt=load i32,i32*%ls,align 4
%lu=call i8*@sml_alloc(i32 inreg%lt)#0
%lv=getelementptr inbounds i8,i8*%lu,i64 -4
%lw=bitcast i8*%lv to i32*
store i32%lt,i32*%lw,align 4
%lx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ly=sext i32%r to i64
%lz=getelementptr inbounds i8,i8*%lx,i64%ly
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%lu,i8*%lz,i32%lt,i1 false)
%lA=load i8*,i8**%e,align 8
br label%lB
lB:
%lC=phi i8*[%le,%lk],[%lA,%lq]
%lD=phi i8*[%lp,%lk],[%lu,%lq]
store i8*null,i8**%e,align 8
%lE=call fastcc i8*%lc(i8*inreg%lC,i8*inreg%lD)
%lF=getelementptr inbounds i8,i8*%lE,i64 16
%lG=bitcast i8*%lF to i8*(i8*,i8*)**
%lH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lG,align 8
%lI=bitcast i8*%lE to i8**
%lJ=load i8*,i8**%lI,align 8
store i8*%lJ,i8**%c,align 8
%lK=load i8*,i8**%d,align 8
%lL=getelementptr inbounds i8,i8*%lK,i64 16
%lM=bitcast i8*%lL to i8**
%lN=load i8*,i8**%lM,align 8
store i8*%lN,i8**%e,align 8
store i8*null,i8**%d,align 8
%lO=getelementptr inbounds i8,i8*%lK,i64 24
%lP=bitcast i8*%lO to i32*
%lQ=load i32,i32*%lP,align 4
%lR=call i8*@sml_alloc(i32 inreg 12)#0
%lS=bitcast i8*%lR to i32*
%lT=getelementptr inbounds i8,i8*%lR,i64 -4
%lU=bitcast i8*%lT to i32*
store i32 1342177288,i32*%lU,align 4
store i32%lQ,i32*%lS,align 4
%lV=getelementptr inbounds i8,i8*%lR,i64 4
%lW=bitcast i8*%lV to i32*
store i32 1,i32*%lW,align 4
%lX=getelementptr inbounds i8,i8*%lR,i64 8
%lY=bitcast i8*%lX to i32*
store i32 0,i32*%lY,align 4
%lZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%l0=call fastcc i8*@_SMLL5mday0_462(i8*inreg%lZ,i8*inreg%lR)
%l1=load i8*,i8**%c,align 8
%l2=tail call fastcc i8*%lH(i8*inreg%l1,i8*inreg%l0)
ret i8*%l2
l3:
%l4=getelementptr inbounds i8,i8*%U,i64 2
%l5=load i8,i8*%l4,align 1
%l6=icmp eq i8%l5,114
br i1%l6,label%l7,label%m6
l7:
%l8=load i8*,i8**%d,align 8
%l9=getelementptr inbounds i8,i8*%l8,i64 8
%ma=bitcast i8*%l9 to i8**
%mb=load i8*,i8**%ma,align 8
%mc=call fastcc i8*@_SMLL6expect_445(i8*inreg%mb,i8 inreg 32)
%md=getelementptr inbounds i8,i8*%mc,i64 16
%me=bitcast i8*%md to i8*(i8*,i8*)**
%mf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%me,align 8
%mg=bitcast i8*%mc to i8**
%mh=load i8*,i8**%mg,align 8
store i8*%mh,i8**%e,align 8
%mi=load i8*,i8**%d,align 8
%mj=getelementptr inbounds i8,i8*%mi,i64 28
%mk=bitcast i8*%mj to i32*
%ml=load i32,i32*%mk,align 4
%mm=icmp eq i32%ml,0
br i1%mm,label%mt,label%mn
mn:
%mo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%mp=sext i32%r to i64
%mq=getelementptr inbounds i8,i8*%mo,i64%mp
%mr=bitcast i8*%mq to i8**
%ms=load i8*,i8**%mr,align 8
br label%mE
mt:
%mu=getelementptr inbounds i8,i8*%mi,i64 32
%mv=bitcast i8*%mu to i32*
%mw=load i32,i32*%mv,align 4
%mx=call i8*@sml_alloc(i32 inreg%mw)#0
%my=getelementptr inbounds i8,i8*%mx,i64 -4
%mz=bitcast i8*%my to i32*
store i32%mw,i32*%mz,align 4
%mA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%mB=sext i32%r to i64
%mC=getelementptr inbounds i8,i8*%mA,i64%mB
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%mx,i8*%mC,i32%mw,i1 false)
%mD=load i8*,i8**%e,align 8
br label%mE
mE:
%mF=phi i8*[%mh,%mn],[%mD,%mt]
%mG=phi i8*[%ms,%mn],[%mx,%mt]
store i8*null,i8**%e,align 8
%mH=call fastcc i8*%mf(i8*inreg%mF,i8*inreg%mG)
%mI=getelementptr inbounds i8,i8*%mH,i64 16
%mJ=bitcast i8*%mI to i8*(i8*,i8*)**
%mK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mJ,align 8
%mL=bitcast i8*%mH to i8**
%mM=load i8*,i8**%mL,align 8
store i8*%mM,i8**%c,align 8
%mN=load i8*,i8**%d,align 8
%mO=getelementptr inbounds i8,i8*%mN,i64 16
%mP=bitcast i8*%mO to i8**
%mQ=load i8*,i8**%mP,align 8
store i8*%mQ,i8**%e,align 8
store i8*null,i8**%d,align 8
%mR=getelementptr inbounds i8,i8*%mN,i64 24
%mS=bitcast i8*%mR to i32*
%mT=load i32,i32*%mS,align 4
%mU=call i8*@sml_alloc(i32 inreg 12)#0
%mV=bitcast i8*%mU to i32*
%mW=getelementptr inbounds i8,i8*%mU,i64 -4
%mX=bitcast i8*%mW to i32*
store i32 1342177288,i32*%mX,align 4
store i32%mT,i32*%mV,align 4
%mY=getelementptr inbounds i8,i8*%mU,i64 4
%mZ=bitcast i8*%mY to i32*
store i32 0,i32*%mZ,align 4
%m0=getelementptr inbounds i8,i8*%mU,i64 8
%m1=bitcast i8*%m0 to i32*
store i32 0,i32*%m1,align 4
%m2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%m3=call fastcc i8*@_SMLL5mday0_462(i8*inreg%m2,i8*inreg%mU)
%m4=load i8*,i8**%c,align 8
%m5=tail call fastcc i8*%mK(i8*inreg%m4,i8*inreg%m3)
ret i8*%m5
m6:
ret i8*null
}
define internal fastcc i8*@_SMLL6month0_464(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%d,align 8
%l=getelementptr inbounds i8,i8*%a,i64 16
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%e,align 8
%o=getelementptr inbounds i8,i8*%a,i64 24
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=getelementptr inbounds i8,i8*%a,i64 28
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=call i8*@sml_alloc(i32 inreg 44)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177320,i32*%w,align 4
store i8*%u,i8**%f,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%D=getelementptr inbounds i8,i8*%u,i64 16
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%u,i64 24
%G=bitcast i8*%F to i32*
store i32%b,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%u,i64 28
%I=bitcast i8*%H to i32*
store i32%q,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%u,i64 32
%K=bitcast i8*%J to i32*
store i32%t,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%u,i64 40
%M=bitcast i8*%L to i32*
store i32 7,i32*%M,align 4
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177304,i32*%P,align 4
%Q=load i8*,i8**%f,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6month0_463 to void(...)*),void(...)**%T,align 8
%U=getelementptr inbounds i8,i8*%N,i64 16
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6month0_463 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%N,i64 24
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
ret i8*%N
}
define internal fastcc i8*@_SMLL4wday_465(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**%d,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**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=getelementptr inbounds i8,i8*%k,i64 28
%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=getelementptr inbounds i8,i8*%k,i64 24
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call fastcc i8*@_SMLFN9StringCvt6splitlE(i32 inreg%u,i32 inreg%o)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=load i8*,i8**@_SMLZN4Char7isAlphaE,align 8
%C=call fastcc i8*%y(i8*inreg%A,i8*inreg%B)
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=bitcast i8**%d to i8***
%J=load i8**,i8***%I,align 8
%K=load i8*,i8**%J,align 8
%L=call fastcc i8*%F(i8*inreg%H,i8*inreg%K)
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=call fastcc i8*%O(i8*inreg%Q,i8*inreg%R)
store i8*%S,i8**%c,align 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=and i32%X,268435455
%Z=icmp eq i32%Y,4
br i1%Z,label%aa,label%gt
aa:
%ab=load i8,i8*%U,align 1
switch i8%ab,label%gt[
i8 70,label%fy
i8 77,label%eD
i8 83,label%cS
i8 84,label%a7
i8 87,label%ac
]
ac:
%ad=getelementptr inbounds i8,i8*%U,i64 1
%ae=load i8,i8*%ad,align 1
%af=icmp eq i8%ae,101
br i1%af,label%ag,label%gt
ag:
%ah=getelementptr inbounds i8,i8*%U,i64 2
%ai=load i8,i8*%ah,align 1
%aj=icmp eq i8%ai,100
br i1%aj,label%ak,label%gt
ak:
%al=load i8*,i8**%d,align 8
%am=getelementptr inbounds i8,i8*%al,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*@_SMLL6expect_445(i8*inreg%ao,i8 inreg 32)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%e,align 8
%av=load i8*,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 24
%ax=bitcast i8*%aw to i32*
%ay=load i32,i32*%ax,align 4
%az=icmp eq i32%ay,0
br i1%az,label%aG,label%aA
aA:
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=sext i32%r to i64
%aD=getelementptr inbounds i8,i8*%aB,i64%aC
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
br label%aR
aG:
%aH=getelementptr inbounds i8,i8*%av,i64 28
%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
store i8*null,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)
%aQ=load i8*,i8**%e,align 8
br label%aR
aR:
%aS=phi i8*[%au,%aA],[%aQ,%aG]
%aT=phi i8*[%aF,%aA],[%aK,%aG]
store i8*null,i8**%e,align 8
%aU=call fastcc i8*%as(i8*inreg%aS,i8*inreg%aT)
%aV=getelementptr inbounds i8,i8*%aU,i64 16
%aW=bitcast i8*%aV to i8*(i8*,i8*)**
%aX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aW,align 8
%aY=bitcast i8*%aU to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%c,align 8
%a0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 16
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=call fastcc i8*@_SMLL6month0_464(i8*inreg%a3,i32 inreg 6)
%a5=load i8*,i8**%c,align 8
%a6=tail call fastcc i8*%aX(i8*inreg%a5,i8*inreg%a4)
ret i8*%a6
a7:
%a8=getelementptr inbounds i8,i8*%U,i64 1
%a9=load i8,i8*%a8,align 1
switch i8%a9,label%gt[
i8 104,label%b1
i8 117,label%ba
]
ba:
%bb=getelementptr inbounds i8,i8*%U,i64 2
%bc=load i8,i8*%bb,align 1
%bd=icmp eq i8%bc,101
br i1%bd,label%be,label%gt
be:
%bf=load i8*,i8**%d,align 8
%bg=getelementptr inbounds i8,i8*%bf,i64 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
%bj=call fastcc i8*@_SMLL6expect_445(i8*inreg%bi,i8 inreg 32)
%bk=getelementptr inbounds i8,i8*%bj,i64 16
%bl=bitcast i8*%bk to i8*(i8*,i8*)**
%bm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bl,align 8
%bn=bitcast i8*%bj to i8**
%bo=load i8*,i8**%bn,align 8
store i8*%bo,i8**%e,align 8
%bp=load i8*,i8**%d,align 8
%bq=getelementptr inbounds i8,i8*%bp,i64 24
%br=bitcast i8*%bq to i32*
%bs=load i32,i32*%br,align 4
%bt=icmp eq i32%bs,0
br i1%bt,label%bA,label%bu
bu:
%bv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bw=sext i32%r to i64
%bx=getelementptr inbounds i8,i8*%bv,i64%bw
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
br label%bL
bA:
%bB=getelementptr inbounds i8,i8*%bp,i64 28
%bC=bitcast i8*%bB to i32*
%bD=load i32,i32*%bC,align 4
%bE=call i8*@sml_alloc(i32 inreg%bD)#0
%bF=getelementptr inbounds i8,i8*%bE,i64 -4
%bG=bitcast i8*%bF to i32*
store i32%bD,i32*%bG,align 4
%bH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bI=sext i32%r to i64
%bJ=getelementptr inbounds i8,i8*%bH,i64%bI
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%bE,i8*%bJ,i32%bD,i1 false)
%bK=load i8*,i8**%e,align 8
br label%bL
bL:
%bM=phi i8*[%bo,%bu],[%bK,%bA]
%bN=phi i8*[%bz,%bu],[%bE,%bA]
store i8*null,i8**%e,align 8
%bO=call fastcc i8*%bm(i8*inreg%bM,i8*inreg%bN)
%bP=getelementptr inbounds i8,i8*%bO,i64 16
%bQ=bitcast i8*%bP to i8*(i8*,i8*)**
%bR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bQ,align 8
%bS=bitcast i8*%bO to i8**
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%c,align 8
%bU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bV=getelementptr inbounds i8,i8*%bU,i64 16
%bW=bitcast i8*%bV to i8**
%bX=load i8*,i8**%bW,align 8
%bY=call fastcc i8*@_SMLL6month0_464(i8*inreg%bX,i32 inreg 5)
%bZ=load i8*,i8**%c,align 8
%b0=tail call fastcc i8*%bR(i8*inreg%bZ,i8*inreg%bY)
ret i8*%b0
b1:
%b2=getelementptr inbounds i8,i8*%U,i64 2
%b3=load i8,i8*%b2,align 1
%b4=icmp eq i8%b3,117
br i1%b4,label%b5,label%gt
b5:
%b6=load i8*,i8**%d,align 8
%b7=getelementptr inbounds i8,i8*%b6,i64 8
%b8=bitcast i8*%b7 to i8**
%b9=load i8*,i8**%b8,align 8
%ca=call fastcc i8*@_SMLL6expect_445(i8*inreg%b9,i8 inreg 32)
%cb=getelementptr inbounds i8,i8*%ca,i64 16
%cc=bitcast i8*%cb to i8*(i8*,i8*)**
%cd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cc,align 8
%ce=bitcast i8*%ca to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%e,align 8
%cg=load i8*,i8**%d,align 8
%ch=getelementptr inbounds i8,i8*%cg,i64 24
%ci=bitcast i8*%ch to i32*
%cj=load i32,i32*%ci,align 4
%ck=icmp eq i32%cj,0
br i1%ck,label%cr,label%cl
cl:
%cm=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cn=sext i32%r to i64
%co=getelementptr inbounds i8,i8*%cm,i64%cn
%cp=bitcast i8*%co to i8**
%cq=load i8*,i8**%cp,align 8
br label%cC
cr:
%cs=getelementptr inbounds i8,i8*%cg,i64 28
%ct=bitcast i8*%cs to i32*
%cu=load i32,i32*%ct,align 4
%cv=call i8*@sml_alloc(i32 inreg%cu)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32%cu,i32*%cx,align 4
%cy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cz=sext i32%r to i64
%cA=getelementptr inbounds i8,i8*%cy,i64%cz
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%cv,i8*%cA,i32%cu,i1 false)
%cB=load i8*,i8**%e,align 8
br label%cC
cC:
%cD=phi i8*[%cf,%cl],[%cB,%cr]
%cE=phi i8*[%cq,%cl],[%cv,%cr]
store i8*null,i8**%e,align 8
%cF=call fastcc i8*%cd(i8*inreg%cD,i8*inreg%cE)
%cG=getelementptr inbounds i8,i8*%cF,i64 16
%cH=bitcast i8*%cG to i8*(i8*,i8*)**
%cI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cH,align 8
%cJ=bitcast i8*%cF to i8**
%cK=load i8*,i8**%cJ,align 8
store i8*%cK,i8**%c,align 8
%cL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cM=getelementptr inbounds i8,i8*%cL,i64 16
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
%cP=call fastcc i8*@_SMLL6month0_464(i8*inreg%cO,i32 inreg 4)
%cQ=load i8*,i8**%c,align 8
%cR=tail call fastcc i8*%cI(i8*inreg%cQ,i8*inreg%cP)
ret i8*%cR
cS:
%cT=getelementptr inbounds i8,i8*%U,i64 1
%cU=load i8,i8*%cT,align 1
switch i8%cU,label%gt[
i8 97,label%dM
i8 117,label%cV
]
cV:
%cW=getelementptr inbounds i8,i8*%U,i64 2
%cX=load i8,i8*%cW,align 1
%cY=icmp eq i8%cX,110
br i1%cY,label%cZ,label%gt
cZ:
%c0=load i8*,i8**%d,align 8
%c1=getelementptr inbounds i8,i8*%c0,i64 8
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
%c4=call fastcc i8*@_SMLL6expect_445(i8*inreg%c3,i8 inreg 32)
%c5=getelementptr inbounds i8,i8*%c4,i64 16
%c6=bitcast i8*%c5 to i8*(i8*,i8*)**
%c7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c6,align 8
%c8=bitcast i8*%c4 to i8**
%c9=load i8*,i8**%c8,align 8
store i8*%c9,i8**%e,align 8
%da=load i8*,i8**%d,align 8
%db=getelementptr inbounds i8,i8*%da,i64 24
%dc=bitcast i8*%db to i32*
%dd=load i32,i32*%dc,align 4
%de=icmp eq i32%dd,0
br i1%de,label%dl,label%df
df:
%dg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dh=sext i32%r to i64
%di=getelementptr inbounds i8,i8*%dg,i64%dh
%dj=bitcast i8*%di to i8**
%dk=load i8*,i8**%dj,align 8
br label%dw
dl:
%dm=getelementptr inbounds i8,i8*%da,i64 28
%dn=bitcast i8*%dm to i32*
%do=load i32,i32*%dn,align 4
%dp=call i8*@sml_alloc(i32 inreg%do)#0
%dq=getelementptr inbounds i8,i8*%dp,i64 -4
%dr=bitcast i8*%dq to i32*
store i32%do,i32*%dr,align 4
%ds=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dt=sext i32%r to i64
%du=getelementptr inbounds i8,i8*%ds,i64%dt
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%dp,i8*%du,i32%do,i1 false)
%dv=load i8*,i8**%e,align 8
br label%dw
dw:
%dx=phi i8*[%c9,%df],[%dv,%dl]
%dy=phi i8*[%dk,%df],[%dp,%dl]
store i8*null,i8**%e,align 8
%dz=call fastcc i8*%c7(i8*inreg%dx,i8*inreg%dy)
%dA=getelementptr inbounds i8,i8*%dz,i64 16
%dB=bitcast i8*%dA to i8*(i8*,i8*)**
%dC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dB,align 8
%dD=bitcast i8*%dz to i8**
%dE=load i8*,i8**%dD,align 8
store i8*%dE,i8**%c,align 8
%dF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dG=getelementptr inbounds i8,i8*%dF,i64 16
%dH=bitcast i8*%dG to i8**
%dI=load i8*,i8**%dH,align 8
%dJ=call fastcc i8*@_SMLL6month0_464(i8*inreg%dI,i32 inreg 3)
%dK=load i8*,i8**%c,align 8
%dL=tail call fastcc i8*%dC(i8*inreg%dK,i8*inreg%dJ)
ret i8*%dL
dM:
%dN=getelementptr inbounds i8,i8*%U,i64 2
%dO=load i8,i8*%dN,align 1
%dP=icmp eq i8%dO,116
br i1%dP,label%dQ,label%gt
dQ:
%dR=load i8*,i8**%d,align 8
%dS=getelementptr inbounds i8,i8*%dR,i64 8
%dT=bitcast i8*%dS to i8**
%dU=load i8*,i8**%dT,align 8
%dV=call fastcc i8*@_SMLL6expect_445(i8*inreg%dU,i8 inreg 32)
%dW=getelementptr inbounds i8,i8*%dV,i64 16
%dX=bitcast i8*%dW to i8*(i8*,i8*)**
%dY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dX,align 8
%dZ=bitcast i8*%dV to i8**
%d0=load i8*,i8**%dZ,align 8
store i8*%d0,i8**%e,align 8
%d1=load i8*,i8**%d,align 8
%d2=getelementptr inbounds i8,i8*%d1,i64 24
%d3=bitcast i8*%d2 to i32*
%d4=load i32,i32*%d3,align 4
%d5=icmp eq i32%d4,0
br i1%d5,label%ec,label%d6
d6:
%d7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d8=sext i32%r to i64
%d9=getelementptr inbounds i8,i8*%d7,i64%d8
%ea=bitcast i8*%d9 to i8**
%eb=load i8*,i8**%ea,align 8
br label%en
ec:
%ed=getelementptr inbounds i8,i8*%d1,i64 28
%ee=bitcast i8*%ed to i32*
%ef=load i32,i32*%ee,align 4
%eg=call i8*@sml_alloc(i32 inreg%ef)#0
%eh=getelementptr inbounds i8,i8*%eg,i64 -4
%ei=bitcast i8*%eh to i32*
store i32%ef,i32*%ei,align 4
%ej=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ek=sext i32%r to i64
%el=getelementptr inbounds i8,i8*%ej,i64%ek
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%eg,i8*%el,i32%ef,i1 false)
%em=load i8*,i8**%e,align 8
br label%en
en:
%eo=phi i8*[%d0,%d6],[%em,%ec]
%ep=phi i8*[%eb,%d6],[%eg,%ec]
store i8*null,i8**%e,align 8
%eq=call fastcc i8*%dY(i8*inreg%eo,i8*inreg%ep)
%er=getelementptr inbounds i8,i8*%eq,i64 16
%es=bitcast i8*%er to i8*(i8*,i8*)**
%et=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%es,align 8
%eu=bitcast i8*%eq to i8**
%ev=load i8*,i8**%eu,align 8
store i8*%ev,i8**%c,align 8
%ew=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ex=getelementptr inbounds i8,i8*%ew,i64 16
%ey=bitcast i8*%ex to i8**
%ez=load i8*,i8**%ey,align 8
%eA=call fastcc i8*@_SMLL6month0_464(i8*inreg%ez,i32 inreg 2)
%eB=load i8*,i8**%c,align 8
%eC=tail call fastcc i8*%et(i8*inreg%eB,i8*inreg%eA)
ret i8*%eC
eD:
%eE=getelementptr inbounds i8,i8*%U,i64 1
%eF=load i8,i8*%eE,align 1
%eG=icmp eq i8%eF,111
br i1%eG,label%eH,label%gt
eH:
%eI=getelementptr inbounds i8,i8*%U,i64 2
%eJ=load i8,i8*%eI,align 1
%eK=icmp eq i8%eJ,110
br i1%eK,label%eL,label%gt
eL:
%eM=load i8*,i8**%d,align 8
%eN=getelementptr inbounds i8,i8*%eM,i64 8
%eO=bitcast i8*%eN to i8**
%eP=load i8*,i8**%eO,align 8
%eQ=call fastcc i8*@_SMLL6expect_445(i8*inreg%eP,i8 inreg 32)
%eR=getelementptr inbounds i8,i8*%eQ,i64 16
%eS=bitcast i8*%eR to i8*(i8*,i8*)**
%eT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eS,align 8
%eU=bitcast i8*%eQ to i8**
%eV=load i8*,i8**%eU,align 8
store i8*%eV,i8**%e,align 8
%eW=load i8*,i8**%d,align 8
%eX=getelementptr inbounds i8,i8*%eW,i64 24
%eY=bitcast i8*%eX to i32*
%eZ=load i32,i32*%eY,align 4
%e0=icmp eq i32%eZ,0
br i1%e0,label%e7,label%e1
e1:
%e2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e3=sext i32%r to i64
%e4=getelementptr inbounds i8,i8*%e2,i64%e3
%e5=bitcast i8*%e4 to i8**
%e6=load i8*,i8**%e5,align 8
br label%fi
e7:
%e8=getelementptr inbounds i8,i8*%eW,i64 28
%e9=bitcast i8*%e8 to i32*
%fa=load i32,i32*%e9,align 4
%fb=call i8*@sml_alloc(i32 inreg%fa)#0
%fc=getelementptr inbounds i8,i8*%fb,i64 -4
%fd=bitcast i8*%fc to i32*
store i32%fa,i32*%fd,align 4
%fe=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ff=sext i32%r to i64
%fg=getelementptr inbounds i8,i8*%fe,i64%ff
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%fb,i8*%fg,i32%fa,i1 false)
%fh=load i8*,i8**%e,align 8
br label%fi
fi:
%fj=phi i8*[%eV,%e1],[%fh,%e7]
%fk=phi i8*[%e6,%e1],[%fb,%e7]
store i8*null,i8**%e,align 8
%fl=call fastcc i8*%eT(i8*inreg%fj,i8*inreg%fk)
%fm=getelementptr inbounds i8,i8*%fl,i64 16
%fn=bitcast i8*%fm to i8*(i8*,i8*)**
%fo=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fn,align 8
%fp=bitcast i8*%fl to i8**
%fq=load i8*,i8**%fp,align 8
store i8*%fq,i8**%c,align 8
%fr=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fs=getelementptr inbounds i8,i8*%fr,i64 16
%ft=bitcast i8*%fs to i8**
%fu=load i8*,i8**%ft,align 8
%fv=call fastcc i8*@_SMLL6month0_464(i8*inreg%fu,i32 inreg 1)
%fw=load i8*,i8**%c,align 8
%fx=tail call fastcc i8*%fo(i8*inreg%fw,i8*inreg%fv)
ret i8*%fx
fy:
%fz=getelementptr inbounds i8,i8*%U,i64 1
%fA=load i8,i8*%fz,align 1
%fB=icmp eq i8%fA,114
br i1%fB,label%fC,label%gt
fC:
%fD=getelementptr inbounds i8,i8*%U,i64 2
%fE=load i8,i8*%fD,align 1
%fF=icmp eq i8%fE,105
br i1%fF,label%fG,label%gt
fG:
%fH=load i8*,i8**%d,align 8
%fI=getelementptr inbounds i8,i8*%fH,i64 8
%fJ=bitcast i8*%fI to i8**
%fK=load i8*,i8**%fJ,align 8
%fL=call fastcc i8*@_SMLL6expect_445(i8*inreg%fK,i8 inreg 32)
%fM=getelementptr inbounds i8,i8*%fL,i64 16
%fN=bitcast i8*%fM to i8*(i8*,i8*)**
%fO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fN,align 8
%fP=bitcast i8*%fL to i8**
%fQ=load i8*,i8**%fP,align 8
store i8*%fQ,i8**%e,align 8
%fR=load i8*,i8**%d,align 8
%fS=getelementptr inbounds i8,i8*%fR,i64 24
%fT=bitcast i8*%fS to i32*
%fU=load i32,i32*%fT,align 4
%fV=icmp eq i32%fU,0
br i1%fV,label%f2,label%fW
fW:
%fX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fY=sext i32%r to i64
%fZ=getelementptr inbounds i8,i8*%fX,i64%fY
%f0=bitcast i8*%fZ to i8**
%f1=load i8*,i8**%f0,align 8
br label%gd
f2:
%f3=getelementptr inbounds i8,i8*%fR,i64 28
%f4=bitcast i8*%f3 to i32*
%f5=load i32,i32*%f4,align 4
%f6=call i8*@sml_alloc(i32 inreg%f5)#0
%f7=getelementptr inbounds i8,i8*%f6,i64 -4
%f8=bitcast i8*%f7 to i32*
store i32%f5,i32*%f8,align 4
%f9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ga=sext i32%r to i64
%gb=getelementptr inbounds i8,i8*%f9,i64%ga
call void@llvm.memcpy.p0i8.p0i8.i32(i8*%f6,i8*%gb,i32%f5,i1 false)
%gc=load i8*,i8**%e,align 8
br label%gd
gd:
%ge=phi i8*[%fQ,%fW],[%gc,%f2]
%gf=phi i8*[%f1,%fW],[%f6,%f2]
store i8*null,i8**%e,align 8
%gg=call fastcc i8*%fO(i8*inreg%ge,i8*inreg%gf)
%gh=getelementptr inbounds i8,i8*%gg,i64 16
%gi=bitcast i8*%gh to i8*(i8*,i8*)**
%gj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gi,align 8
%gk=bitcast i8*%gg to i8**
%gl=load i8*,i8**%gk,align 8
store i8*%gl,i8**%c,align 8
%gm=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gn=getelementptr inbounds i8,i8*%gm,i64 16
%go=bitcast i8*%gn to i8**
%gp=load i8*,i8**%go,align 8
%gq=call fastcc i8*@_SMLL6month0_464(i8*inreg%gp,i32 inreg 0)
%gr=load i8*,i8**%c,align 8
%gs=tail call fastcc i8*%gj(i8*inreg%gr,i8*inreg%gq)
ret i8*%gs
gt:
ret i8*null
}
define internal fastcc i8*@_SMLLN4Date4scanE_466(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%m,label%p
m:
%n=bitcast i8*%a to i8**
%o=bitcast i8**%c to i8***
br label%t
p:
call void@sml_check(i32 inreg%k)
%q=bitcast i8**%c to i8***
%r=load i8**,i8***%q,align 8
%s=bitcast i8**%r to i8*
br label%t
t:
%u=phi i8***[%o,%m],[%q,%p]
%v=phi i8*[%a,%m],[%s,%p]
%w=phi i8**[%n,%m],[%r,%p]
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=getelementptr inbounds i8*,i8**%w,i64 2
%z=bitcast i8**%y to i32*
%A=load i32,i32*%z,align 4
%B=getelementptr inbounds i8,i8*%v,i64 20
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
%E=call i8*@sml_alloc(i32 inreg 20)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
store i8*%E,i8**%g,align 8
%H=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%E,i64 8
%K=bitcast i8*%J to i32*
store i32%A,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%E,i64 12
%M=bitcast i8*%L to i32*
store i32%D,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%E,i64 16
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=load i8*,i8**%g,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8)*@_SMLL6expect_445 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6expect_540 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i32*
store i32 -2147483647,i32*%Z,align 4
%aa=load i8**,i8***%u,align 8
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%e,align 8
%ac=bitcast i8**%aa to i8*
%ad=getelementptr inbounds i8*,i8**%aa,i64 2
%ae=bitcast i8**%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=getelementptr inbounds i8,i8*%ac,i64 20
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
%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
store i8*%aj,i8**%f,align 8
%am=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to i32*
store i32%af,i32*%ap,align 4
%aq=getelementptr inbounds i8,i8*%aj,i64 12
%ar=bitcast i8*%aq to i32*
store i32%ai,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=call i8*@sml_alloc(i32 inreg 28)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177304,i32*%aw,align 4
%ax=load i8*,i8**%f,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%au,i64 8
%aA=bitcast i8*%az to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6getdig_447 to void(...)*),void(...)**%aA,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 16
%aC=bitcast i8*%aB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6getdig_447 to void(...)*),void(...)**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 24
%aE=bitcast i8*%aD to i32*
store i32 1,i32*%aE,align 4
%aF=load i8*,i8**%c,align 8
%aG=getelementptr inbounds i8,i8*%aF,i64 16
%aH=bitcast i8*%aG to i32*
%aI=load i32,i32*%aH,align 4
%aJ=getelementptr inbounds i8,i8*%aF,i64 20
%aK=bitcast i8*%aJ to i32*
%aL=load i32,i32*%aK,align 4
%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**%h,align 8
%aP=load i8*,i8**%f,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i32*
store i32%aI,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aM,i64 12
%aU=bitcast i8*%aT to i32*
store i32%aL,i32*%aU,align 4
%aV=getelementptr inbounds i8,i8*%aM,i64 16
%aW=bitcast i8*%aV to i32*
store i32 1,i32*%aW,align 4
%aX=call i8*@sml_alloc(i32 inreg 28)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177304,i32*%aZ,align 4
%a0=load i8*,i8**%h,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7get2dig_450 to void(...)*),void(...)**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 16
%a5=bitcast i8*%a4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7get2dig_450 to void(...)*),void(...)**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aX,i64 24
%a7=bitcast i8*%a6 to i32*
store i32 1,i32*%a7,align 4
%a8=call i8*@sml_alloc(i32 inreg 28)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177304,i32*%ba,align 4
store i8*%a8,i8**%i,align 8
%bb=load i8*,i8**%g,align 8
%bc=bitcast i8*%a8 to i8**
store i8*%bb,i8**%bc,align 8
%bd=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%be=getelementptr inbounds i8,i8*%a8,i64 8
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=load i8*,i8**%h,align 8
%bh=getelementptr inbounds i8,i8*%a8,i64 16
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%a8,i64 24
%bk=bitcast i8*%bj to i32*
store i32 7,i32*%bk,align 4
%bl=call i8*@sml_alloc(i32 inreg 28)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177304,i32*%bn,align 4
%bo=load i8*,i8**%i,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bl,i64 8
%br=bitcast i8*%bq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6getday_452 to void(...)*),void(...)**%br,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 16
%bt=bitcast i8*%bs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6getday_452 to void(...)*),void(...)**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 24
%bv=bitcast i8*%bu to i32*
store i32 1,i32*%bv,align 4
%bw=load i8**,i8***%u,align 8
%bx=load i8*,i8**%bw,align 8
store i8*%bx,i8**%e,align 8
%by=getelementptr inbounds i8*,i8**%bw,i64 1
%bz=load i8*,i8**%by,align 8
store i8*%bz,i8**%f,align 8
%bA=bitcast i8**%bw to i8*
%bB=getelementptr inbounds i8*,i8**%bw,i64 2
%bC=bitcast i8**%bB to i32*
%bD=load i32,i32*%bC,align 4
%bE=getelementptr inbounds i8,i8*%bA,i64 20
%bF=bitcast i8*%bE to i32*
%bG=load i32,i32*%bF,align 4
%bH=call i8*@sml_alloc(i32 inreg 28)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177304,i32*%bJ,align 4
store i8*%bH,i8**%j,align 8
%bK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bN=getelementptr inbounds i8,i8*%bH,i64 8
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64 16
%bQ=bitcast i8*%bP to i32*
store i32%bD,i32*%bQ,align 4
%bR=getelementptr inbounds i8,i8*%bH,i64 20
%bS=bitcast i8*%bR to i32*
store i32%bG,i32*%bS,align 4
%bT=getelementptr inbounds i8,i8*%bH,i64 24
%bU=bitcast i8*%bT to i32*
store i32 3,i32*%bU,align 4
%bV=call i8*@sml_alloc(i32 inreg 28)#0
%bW=getelementptr inbounds i8,i8*%bV,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177304,i32*%bX,align 4
%bY=load i8*,i8**%j,align 8
%bZ=bitcast i8*%bV to i8**
store i8*%bY,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bV,i64 8
%b1=bitcast i8*%b0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5year0_454 to void(...)*),void(...)**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bV,i64 16
%b3=bitcast i8*%b2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5year0_454 to void(...)*),void(...)**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bV,i64 24
%b5=bitcast i8*%b4 to i32*
store i32 -2147483647,i32*%b5,align 4
%b6=load i8*,i8**%c,align 8
%b7=getelementptr inbounds i8,i8*%b6,i64 16
%b8=bitcast i8*%b7 to i32*
%b9=load i32,i32*%b8,align 4
%ca=getelementptr inbounds i8,i8*%b6,i64 20
%cb=bitcast i8*%ca to i32*
%cc=load i32,i32*%cb,align 4
%cd=call i8*@sml_alloc(i32 inreg 36)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177312,i32*%cf,align 4
store i8*%cd,i8**%e,align 8
%cg=load i8*,i8**%g,align 8
%ch=bitcast i8*%cd to i8**
store i8*%cg,i8**%ch,align 8
%ci=load i8*,i8**%h,align 8
%cj=getelementptr inbounds i8,i8*%cd,i64 8
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cm=getelementptr inbounds i8,i8*%cd,i64 16
%cn=bitcast i8*%cm to i8**
store i8*%cl,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%cd,i64 24
%cp=bitcast i8*%co to i32*
store i32%b9,i32*%cp,align 4
%cq=getelementptr inbounds i8,i8*%cd,i64 28
%cr=bitcast i8*%cq to i32*
store i32%cc,i32*%cr,align 4
%cs=getelementptr inbounds i8,i8*%cd,i64 32
%ct=bitcast i8*%cs to i32*
store i32 7,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**%e,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*)*@_SMLL7second0_456 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*)*@_SMLL7second0_456 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=load i8*,i8**%c,align 8
%cG=getelementptr inbounds i8,i8*%cF,i64 16
%cH=bitcast i8*%cG to i32*
%cI=load i32,i32*%cH,align 4
%cJ=getelementptr inbounds i8,i8*%cF,i64 20
%cK=bitcast i8*%cJ to i32*
%cL=load i32,i32*%cK,align 4
%cM=call i8*@sml_alloc(i32 inreg 36)#0
%cN=getelementptr inbounds i8,i8*%cM,i64 -4
%cO=bitcast i8*%cN to i32*
store i32 1342177312,i32*%cO,align 4
store i8*%cM,i8**%f,align 8
%cP=load i8*,i8**%g,align 8
%cQ=bitcast i8*%cM to i8**
store i8*%cP,i8**%cQ,align 8
%cR=load i8*,i8**%h,align 8
%cS=getelementptr inbounds i8,i8*%cM,i64 8
%cT=bitcast i8*%cS to i8**
store i8*%cR,i8**%cT,align 8
%cU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cV=getelementptr inbounds i8,i8*%cM,i64 16
%cW=bitcast i8*%cV to i8**
store i8*%cU,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cM,i64 24
%cY=bitcast i8*%cX to i32*
store i32%cI,i32*%cY,align 4
%cZ=getelementptr inbounds i8,i8*%cM,i64 28
%c0=bitcast i8*%cZ to i32*
store i32%cL,i32*%c0,align 4
%c1=getelementptr inbounds i8,i8*%cM,i64 32
%c2=bitcast i8*%c1 to i32*
store i32 7,i32*%c2,align 4
%c3=call i8*@sml_alloc(i32 inreg 28)#0
%c4=getelementptr inbounds i8,i8*%c3,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32 1342177304,i32*%c5,align 4
%c6=load i8*,i8**%f,align 8
%c7=bitcast i8*%c3 to i8**
store i8*%c6,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%c3,i64 8
%c9=bitcast i8*%c8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minute0_458 to void(...)*),void(...)**%c9,align 8
%da=getelementptr inbounds i8,i8*%c3,i64 16
%db=bitcast i8*%da to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7minute0_458 to void(...)*),void(...)**%db,align 8
%dc=getelementptr inbounds i8,i8*%c3,i64 24
%dd=bitcast i8*%dc to i32*
store i32 -2147483647,i32*%dd,align 4
%de=load i8*,i8**%c,align 8
%df=getelementptr inbounds i8,i8*%de,i64 16
%dg=bitcast i8*%df to i32*
%dh=load i32,i32*%dg,align 4
%di=getelementptr inbounds i8,i8*%de,i64 20
%dj=bitcast i8*%di to i32*
%dk=load i32,i32*%dj,align 4
%dl=call i8*@sml_alloc(i32 inreg 36)#0
%dm=getelementptr inbounds i8,i8*%dl,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177312,i32*%dn,align 4
store i8*%dl,i8**%e,align 8
%do=load i8*,i8**%g,align 8
%dp=bitcast i8*%dl to i8**
store i8*%do,i8**%dp,align 8
%dq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dr=getelementptr inbounds i8,i8*%dl,i64 8
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%du=getelementptr inbounds i8,i8*%dl,i64 16
%dv=bitcast i8*%du to i8**
store i8*%dt,i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dl,i64 24
%dx=bitcast i8*%dw to i32*
store i32%dh,i32*%dx,align 4
%dy=getelementptr inbounds i8,i8*%dl,i64 28
%dz=bitcast i8*%dy to i32*
store i32%dk,i32*%dz,align 4
%dA=getelementptr inbounds i8,i8*%dl,i64 32
%dB=bitcast i8*%dA to i32*
store i32 7,i32*%dB,align 4
%dC=call i8*@sml_alloc(i32 inreg 28)#0
%dD=getelementptr inbounds i8,i8*%dC,i64 -4
%dE=bitcast i8*%dD to i32*
store i32 1342177304,i32*%dE,align 4
%dF=load i8*,i8**%e,align 8
%dG=bitcast i8*%dC to i8**
store i8*%dF,i8**%dG,align 8
%dH=getelementptr inbounds i8,i8*%dC,i64 8
%dI=bitcast i8*%dH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5time0_460 to void(...)*),void(...)**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dC,i64 16
%dK=bitcast i8*%dJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5time0_460 to void(...)*),void(...)**%dK,align 8
%dL=getelementptr inbounds i8,i8*%dC,i64 24
%dM=bitcast i8*%dL to i32*
store i32 -2147483647,i32*%dM,align 4
%dN=load i8*,i8**%c,align 8
%dO=getelementptr inbounds i8,i8*%dN,i64 16
%dP=bitcast i8*%dO to i32*
%dQ=load i32,i32*%dP,align 4
%dR=getelementptr inbounds i8,i8*%dN,i64 20
%dS=bitcast i8*%dR to i32*
%dT=load i32,i32*%dS,align 4
%dU=call i8*@sml_alloc(i32 inreg 36)#0
%dV=getelementptr inbounds i8,i8*%dU,i64 -4
%dW=bitcast i8*%dV to i32*
store i32 1342177312,i32*%dW,align 4
store i8*%dU,i8**%f,align 8
%dX=load i8*,i8**%g,align 8
%dY=bitcast i8*%dU to i8**
store i8*%dX,i8**%dY,align 8
%dZ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%d0=getelementptr inbounds i8,i8*%dU,i64 8
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d3=getelementptr inbounds i8,i8*%dU,i64 16
%d4=bitcast i8*%d3 to i8**
store i8*%d2,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dU,i64 24
%d6=bitcast i8*%d5 to i32*
store i32%dQ,i32*%d6,align 4
%d7=getelementptr inbounds i8,i8*%dU,i64 28
%d8=bitcast i8*%d7 to i32*
store i32%dT,i32*%d8,align 4
%d9=getelementptr inbounds i8,i8*%dU,i64 32
%ea=bitcast i8*%d9 to i32*
store i32 7,i32*%ea,align 4
%eb=call i8*@sml_alloc(i32 inreg 28)#0
%ec=getelementptr inbounds i8,i8*%eb,i64 -4
%ed=bitcast i8*%ec to i32*
store i32 1342177304,i32*%ed,align 4
%ee=load i8*,i8**%f,align 8
%ef=bitcast i8*%eb to i8**
store i8*%ee,i8**%ef,align 8
%eg=getelementptr inbounds i8,i8*%eb,i64 8
%eh=bitcast i8*%eg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5mday0_462 to void(...)*),void(...)**%eh,align 8
%ei=getelementptr inbounds i8,i8*%eb,i64 16
%ej=bitcast i8*%ei to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5mday0_462 to void(...)*),void(...)**%ej,align 8
%ek=getelementptr inbounds i8,i8*%eb,i64 24
%el=bitcast i8*%ek to i32*
store i32 -2147483647,i32*%el,align 4
%em=load i8**,i8***%u,align 8
%en=load i8*,i8**%em,align 8
store i8*%en,i8**%e,align 8
%eo=bitcast i8**%em to i8*
%ep=getelementptr inbounds i8*,i8**%em,i64 2
%eq=bitcast i8**%ep to i32*
%er=load i32,i32*%eq,align 4
%es=getelementptr inbounds i8,i8*%eo,i64 20
%et=bitcast i8*%es to i32*
%eu=load i32,i32*%et,align 4
%ev=call i8*@sml_alloc(i32 inreg 36)#0
%ew=getelementptr inbounds i8,i8*%ev,i64 -4
%ex=bitcast i8*%ew to i32*
store i32 1342177312,i32*%ex,align 4
store i8*%ev,i8**%h,align 8
%ey=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ez=bitcast i8*%ev to i8**
store i8*%ey,i8**%ez,align 8
%eA=load i8*,i8**%g,align 8
%eB=getelementptr inbounds i8,i8*%ev,i64 8
%eC=bitcast i8*%eB to i8**
store i8*%eA,i8**%eC,align 8
%eD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eE=getelementptr inbounds i8,i8*%ev,i64 16
%eF=bitcast i8*%eE to i8**
store i8*%eD,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%ev,i64 24
%eH=bitcast i8*%eG to i32*
store i32%er,i32*%eH,align 4
%eI=getelementptr inbounds i8,i8*%ev,i64 28
%eJ=bitcast i8*%eI to i32*
store i32%eu,i32*%eJ,align 4
%eK=getelementptr inbounds i8,i8*%ev,i64 32
%eL=bitcast i8*%eK to i32*
store i32 7,i32*%eL,align 4
%eM=call i8*@sml_alloc(i32 inreg 28)#0
%eN=getelementptr inbounds i8,i8*%eM,i64 -4
%eO=bitcast i8*%eN to i32*
store i32 1342177304,i32*%eO,align 4
%eP=load i8*,i8**%h,align 8
%eQ=bitcast i8*%eM to i8**
store i8*%eP,i8**%eQ,align 8
%eR=getelementptr inbounds i8,i8*%eM,i64 8
%eS=bitcast i8*%eR to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLL6month0_464 to void(...)*),void(...)**%eS,align 8
%eT=getelementptr inbounds i8,i8*%eM,i64 16
%eU=bitcast i8*%eT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6month0_541 to void(...)*),void(...)**%eU,align 8
%eV=getelementptr inbounds i8,i8*%eM,i64 24
%eW=bitcast i8*%eV to i32*
store i32 -2147483647,i32*%eW,align 4
%eX=load i8**,i8***%u,align 8
%eY=load i8*,i8**%eX,align 8
store i8*%eY,i8**%e,align 8
%eZ=bitcast i8**%eX to i8*
%e0=getelementptr inbounds i8*,i8**%eX,i64 2
%e1=bitcast i8**%e0 to i32*
%e2=load i32,i32*%e1,align 4
store i8*null,i8**%c,align 8
%e3=getelementptr inbounds i8,i8*%eZ,i64 20
%e4=bitcast i8*%e3 to i32*
%e5=load i32,i32*%e4,align 4
%e6=call i8*@sml_alloc(i32 inreg 36)#0
%e7=getelementptr inbounds i8,i8*%e6,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32 1342177312,i32*%e8,align 4
store i8*%e6,i8**%c,align 8
%e9=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fa=bitcast i8*%e6 to i8**
store i8*%e9,i8**%fa,align 8
%fb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fc=getelementptr inbounds i8,i8*%e6,i64 8
%fd=bitcast i8*%fc to i8**
store i8*%fb,i8**%fd,align 8
%fe=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ff=getelementptr inbounds i8,i8*%e6,i64 16
%fg=bitcast i8*%ff to i8**
store i8*%fe,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%e6,i64 24
%fi=bitcast i8*%fh to i32*
store i32%e2,i32*%fi,align 4
%fj=getelementptr inbounds i8,i8*%e6,i64 28
%fk=bitcast i8*%fj to i32*
store i32%e5,i32*%fk,align 4
%fl=getelementptr inbounds i8,i8*%e6,i64 32
%fm=bitcast i8*%fl to i32*
store i32 7,i32*%fm,align 4
%fn=call i8*@sml_alloc(i32 inreg 28)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177304,i32*%fp,align 4
%fq=load i8*,i8**%c,align 8
%fr=bitcast i8*%fn to i8**
store i8*%fq,i8**%fr,align 8
%fs=getelementptr inbounds i8,i8*%fn,i64 8
%ft=bitcast i8*%fs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4wday_465 to void(...)*),void(...)**%ft,align 8
%fu=getelementptr inbounds i8,i8*%fn,i64 16
%fv=bitcast i8*%fu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4wday_465 to void(...)*),void(...)**%fv,align 8
%fw=getelementptr inbounds i8,i8*%fn,i64 24
%fx=bitcast i8*%fw to i32*
store i32 1,i32*%fx,align 4
%fy=load i8*,i8**%d,align 8
%fz=tail call fastcc i8*@_SMLL4wday_465(i8*inreg%fq,i8*inreg%fy)
ret i8*%fz
}
define internal fastcc i8*@_SMLLN4Date4scanE_467(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=getelementptr inbounds i8,i8*%a,i64 12
%l=bitcast i8*%k to i32*
%m=load i32,i32*%l,align 4
%n=call i8*@sml_alloc(i32 inreg 28)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177304,i32*%p,align 4
store i8*%n,i8**%e,align 8
%q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%n,i64 16
%w=bitcast i8*%v to i32*
store i32%j,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%n,i64 20
%y=bitcast i8*%x to i32*
store i32%m,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%n,i64 24
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 28)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177304,i32*%D,align 4
%E=load i8*,i8**%e,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4scanE_466 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4scanE_466 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%B,i64 24
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
ret i8*%B
}
define internal fastcc i8*@_SMLLN4Date4scanE_468(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%b,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%c,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 1,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=load i8*,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4scanE_467 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4scanE_467 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
ret i8*%s
}
define fastcc i8*@_SMLFN4Date4dateE(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,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 0)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN4Date4dateE_392(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i32@_SMLFN4Date4yearE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 44
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define fastcc i32@_SMLFN4Date5monthE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 20
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define fastcc i32@_SMLFN4Date3dayE(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
ret i32%c
}
define fastcc i32@_SMLFN4Date4hourE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 4
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define fastcc i32@_SMLFN4Date6minuteE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define fastcc i32@_SMLFN4Date6secondE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 32
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define fastcc i32@_SMLFN4Date7weekDayE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 36
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define fastcc i32@_SMLFN4Date7yearDayE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 40
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
ret i32%d
}
define fastcc i8*@_SMLFN4Date6offsetE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 24
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define fastcc i8*@_SMLFN4Date5isDstE(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define fastcc i8*@_SMLFN4Date11localOffsetE(i32 inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,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:
tail call void@sml_check(i32 inreg%d)
br label%g
g:
%h=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%h)
%i=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%i)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%m,label%l
l:
call void@sml_check(i32 inreg%j)
br label%m
m:
%n=call i8*@sml_alloc(i32 inreg 8)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 536870920,i32*%p,align 4
%q=call i32@prim_Time_gettimeofday(i8*%n)
%r=icmp sgt i32%q,-1
br i1%r,label%B,label%s
s:
%t=call fastcc i8*@_SMLFN16SMLSharp__Runtime9OS__SysErrE(i32 inreg 0)
store i8*%t,i8**%b,align 8
%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**%b,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=bitcast i8*%n to i32*
%D=load i32,i32*%C,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%h)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%i)
%E=call fastcc i32@_SMLLN4Date18localOffsetForTimeE_276(i32 inreg%D)
%F=call fastcc i8*@_SMLFN6IntInf7fromIntE(i32 inreg%E)
%G=tail call fastcc i8*@_SMLFN4Time11fromSecondsE(i8*inreg%F)
ret i8*%G
}
define fastcc i8*@_SMLFN4Date13fromTimeLocalE(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,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 1)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN4Date13fromTimeLocalE_393(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define internal fastcc i8*@_SMLLN4Date12fromTimeUnivE_493(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,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%j,label%l
j:
%k=bitcast i8*%a to i8**
br label%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%e,align 8
%n=bitcast i8**%d to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%l],[%k,%j]
%r=phi i8*[%m,%l],[%b,%j]
store i8*null,i8**%e,align 8
store i8*null,i8**%d,align 8
%s=load i8*,i8**%q,align 8
store i8*%s,i8**%f,align 8
%t=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t)
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%r,i8**%c,align 8
%u=load atomic i32,i32*@sml_check_flag unordered,align 4
%v=icmp eq i32%u,0
br i1%v,label%y,label%w
w:
call void@sml_check(i32 inreg%u)
%x=load i8*,i8**%c,align 8
br label%y
y:
%z=phi i8*[%x,%w],[%r,%p]
store i8*null,i8**%c,align 8
%A=call fastcc i32@_SMLLN4Date10timeToSecsE_266(i8*inreg%z)
%B=call fastcc i8*@_SMLLN4Date7gmTime_GE_260(i32 inreg%A)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
store i8*%B,i8**%d,align 8
%C=load i8*,i8**@_SMLZN4Time8zeroTimeE,align 8
store i8*%C,i8**%e,align 8
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
store i8*%D,i8**%g,align 8
%G=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
%N=load i8*,i8**%d,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%K,i64 16
%T=bitcast i8*%S to i32*
store i32 3,i32*%T,align 4
%U=load i8*,i8**%f,align 8
%V=tail call fastcc i8*@_SMLLN4Date7tm2dateE_303(i8*inreg%U,i8*inreg%K)
ret i8*%V
}
define fastcc i8*@_SMLFN4Date12fromTimeUnivE(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**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 2),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN4Date3fmtE(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,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 3)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN4Date3fmtE_441(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i8*@_SMLFN4Date8toStringE(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**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 4),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define internal fastcc i8*@_SMLLN4Date4scanE_497(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 i8**
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
store i8*null,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLLN4Date4scanE_468(i8*inreg%m,i32 inreg%p,i32 inreg%s)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
ret i8*%A
}
define internal fastcc i8*@_SMLLN4Date4scanE_498(i8*inreg%a,i32 inreg%b,i32 inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%b,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%c,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 1,i32*%r,align 4
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=load i8*,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4scanE_497 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN4Date4scanE_497 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 -2147483647,i32*%C,align 4
ret i8*%s
}
define fastcc i8*@_SMLFN4Date4scanE(i32 inreg%a,i32 inreg%b)local_unnamed_addr#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
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 5),align 8
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*,i8*)**
%l=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%k,align 8
%m=bitcast i8*%i to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=call i8*@sml_alloc(i32 inreg 4)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 4,i32*%r,align 4
store i8*%o,i8**%d,align 8
store i32%a,i32*%p,align 4
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32%b,i32*%t,align 4
%w=load i8*,i8**%c,align 8
%x=load i8*,i8**%d,align 8
%y=tail call fastcc i8*%l(i8*inreg%w,i8*inreg%x,i8*inreg%s)
ret i8*%y
}
define internal fastcc i8*@_SMLLN4Date10fromStringE_500(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
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%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call fastcc i8*@_SMLFN9StringCvt10scanStringE(i32 inreg 1,i32 inreg 8)
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=bitcast i8**%d to i8***
%q=load i8**,i8***%p,align 8
store i8*null,i8**%d,align 8
%r=load i8*,i8**%q,align 8
%s=call fastcc i8*@_SMLLN4Date4scanE_468(i8*inreg%r,i32 inreg 0,i32 inreg 4)
%t=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%u=call fastcc i8*%m(i8*inreg%t,i8*inreg%s)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
%A=load i8*,i8**%c,align 8
%B=tail call fastcc i8*%x(i8*inreg%z,i8*inreg%A)
ret i8*%B
}
define fastcc i8*@_SMLFN4Date10fromStringE(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**getelementptr inbounds(<{[4x i8],i32,[7x i8*]}>,<{[4x i8],i32,[7x i8*]}>*@_SML_gvarf7f5b9a54382c7f7_date,i64 0,i32 2,i64 6),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define internal fastcc i8*@_SMLLN4Date23lastDayOfGregorianMonthE_514(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN4Date23lastDayOfGregorianMonthE_339(i8*inreg%a,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*@_SMLLN4Date10daysInYearE_515(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN4Date10daysInYearE_344(i8*inreg%a,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*@_SMLLN4Date13toAbsoluteDayE_516(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN4Date13toAbsoluteDayE_358(i8*inreg%a,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*@_SMLL2lp_517(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLL2lp_359(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLL2lp_518(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLL2lp_364(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN4Date15fromAbsoluteDayE_519(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*@_SMLLN4Date15fromAbsoluteDayE_368(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN4Date6toTimeE_521(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN4Date6toTimeE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL3cmp_522(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL3cmp_397(i8*inreg%a,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*@_SMLLN4Date7compareE_523(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 44
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date7compareE_525(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN4Date7compareE_402(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*@_SMLLN4Date7compareE_526(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 i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32%d,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN4Date7compareE_527(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 4
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date7compareE_528(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date7compareE_529(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 32
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date7compareE_530(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN4Date7compareE_531(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLLN4Date7compareE_415(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN4Date7compareE_532(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLLN4Date7compareE_416(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN4Date7compareE_533(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLLN4Date7compareE_417(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN4Date7compareE_534(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLLN4Date7compareE_418(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN4Date7compareE_535(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i32@_SMLLN4Date7compareE_419(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN4Date7compareE_536(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN4Date7compareE(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*@_SMLL4scan_539(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=icmp ne i8%c,37
%e=zext i1%d to i32
%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*@_SMLL6expect_540(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=tail call fastcc i8*@_SMLL6expect_445(i8*inreg%a,i8 inreg%c)
ret i8*%d
}
define internal fastcc i8*@_SMLL6month0_541(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*@_SMLL6month0_464(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN4Date4scanE_542(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*@_SMLLN4Date4scanE_468(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLLN4Date4yearE_544(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 44
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date5monthE_545(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 20
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date3dayE_546(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 i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32%d,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN4Date4hourE_547(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 4
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date6minuteE_548(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date6secondE_549(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 32
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date7weekDayE_550(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 36
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date7yearDayE_551(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 40
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%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*@_SMLLN4Date6offsetE_552(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 24
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN4Date5isDstE_553(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN4Date11localOffsetE_554(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN4Date11localOffsetE(i32 inreg undef)
ret i8*%c
}
define internal fastcc i8*@_SMLLN4Date4scanE_559(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*@_SMLLN4Date4scanE_498(i8*inreg%a,i32 inreg%e,i32 inreg%g)
ret i8*%h
}
declare void@llvm.memcpy.p0i8.p0i8.i32(i8*,i8*,i32,i1)#0
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
declare void@llvm.memset.p0i8.i64(i8*,i8,i64,i1)#0
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
