@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN11NameEvalEnv8emptyEnvE=external local_unnamed_addr global i8*
@_SMLZN11NormalizeTy15emptyTypIdEquivE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8boxedITyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes9exntagITyE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN3Loc5nolocE=external local_unnamed_addr global i8*
@_SMLZN5ConID3Set5emptyE=external local_unnamed_addr global i8*
@_SMLZN5ExnID3Set5emptyE=external local_unnamed_addr global i8*
@_SMLZN5TypID3Set5emptyE=external local_unnamed_addr global i8*
@_SMLZN5Types15emptyPropertiesE=external local_unnamed_addr global i8*
@_SMLZN6IDCalc14emptyLiftedTysE=external local_unnamed_addr global i8*
@_SMLZN8TfunVars8specKindE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c"id\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[76x i8]}><{[4x i8]zeroinitializer,i32 -2147483572,[76x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:55.42(1911)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[14x i8]}><{[4x i8]zeroinitializer,i32 -2147483634,[14x i8]c"funparam prop\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[10x i8]}><{[4x i8]zeroinitializer,i32 -2147483638,[10x i8]c"spec tfv\0A\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"tstr\0A\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"tfun\0A\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"name\0A\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"spec tfv\00"}>,align 8
@i=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@h,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"unmaterialized (1)\00"}>,align 8
@k=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@j,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"unmaterialized (2)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@l,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:111.18(3922)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:107.15(3735)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"DEF in TSTR_DTY\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@p,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"unmaterialized (3)\00"}>,align 8
@s=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@r,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[23x i8]}><{[4x i8]zeroinitializer,i32 -2147483625,[23x i8]c"TFV_DTY to genArgTstr\0A\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"unmaterialized (4)\00"}>,align 8
@v=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@u,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"REALIZED\00"}>,align 8
@x=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@w,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"INSTANTIATED\00"}>,align 8
@z=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@y,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:126.18(4652)\00"}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:123.15(4502)\00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:105.12(3672)\00"}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL10genArgTstr_434 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgTstr_700 to void(...)*),i32 -2147483647}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"non spec tfv\00"}>,align 8
@F=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@E,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL13extraTvarsMap_449 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13extraTvarsMap_702 to void(...)*),i32 -2147483647}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"nil path\00"}>,align 8
@I=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@H,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"non dty tfv (4)\00"}>,align 8
@K=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@J,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL8returnTy_459 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8returnTy_703 to void(...)*),i32 -2147483647}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL5conTy_461 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5conTy_704 to void(...)*),i32 -2147483647}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,[8x i8]}><{[4x i8]zeroinitializer,i32 -2147483640,[8x i8]c"non tfv\00"}>,align 8
@O=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@N,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLL18materializeDtyTstr_468 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL18materializeDtyTstr_705 to void(...)*),i32 -2147483647}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN12FunctorUtils10evalFunArgE_470 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10evalFunArgE_706 to void(...)*),i32 -2147483647}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL15dummyIdfunArgTy_472 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL15dummyIdfunArgTy_707 to void(...)*),i32 -2147483647}>,align 8
@S=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,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN12FunctorUtils10evalFunArgE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10evalFunArgE_708 to void(...)*),i32 -2147483647}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[22x i8]}><{[4x i8]zeroinitializer,i32 -2147483626,[22x i8]c"IDOPRIM genActualVarE\00"}>,align 8
@V=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[22x i8]}>,<{[4x i8],i32,[22x i8]}>*@U,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:453.15(18456)\00"}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"non exn idstatus\00"}>,align 8
@Y=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@X,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,[14x i8]}><{[4x i8]zeroinitializer,i32 -2147483634,[14x i8]c"exn not found\00"}>,align 8
@aa=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@Z,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN12FunctorUtils15makeFunctorArgsE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils15makeFunctorArgsE_710 to void(...)*),i32 -2147483647}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"IDEXVAR_TOBETYPED\00"}>,align 8
@ad=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@ac,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"IDOPRIM varsInVarE\00"}>,align 8
@af=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@ae,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:578.11(23803)\00"}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:657.12(27219)\00"}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL12typidSetTstr_533 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12typidSetTstr_715 to void(...)*),i32 -2147483647}>,align 8
@aj=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL11typidSetEnv_538 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11typidSetEnv_716 to void(...)*),i32 -2147483647}>,align 8
@ak=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN12FunctorUtils8typidSetE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils8typidSetE_718 to void(...)*),i32 -2147483647}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"FunctorUtils.Fail\00"}>,align 8
@am=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,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@al,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL544=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}>*@am,i32 0,i32 0,i32 0),i32 8)}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,[31x i8]}><{[4x i8]zeroinitializer,i32 -2147483617,[31x i8]c"FuntorUtils Fait exception at \00"}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:675.98(28150)\00"}>,align 8
@ap=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*}>*@_SMLDL544,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@ao,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:728.6(30269)\00"}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"INSTANTIATED in spec\00"}>,align 8
@as=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@ar,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@at=private unnamed_addr constant<{[4x i8],i32,[75x i8]}><{[4x i8]zeroinitializer,i32 -2147483573,[75x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:22.14(563)\00"}>,align 8
@au=private unnamed_addr constant<{[4x i8],i32,[26x i8]}><{[4x i8]zeroinitializer,i32 -2147483622,[26x i8]c"NameEval (FunctorUtils): \00"}>,align 8
@av=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"FUN_DTY in spec\00"}>,align 8
@aw=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,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@au,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@av,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ax=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"** eqTfunkind 12\0A\00"}>,align 8
@ay=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"tfunkind1\0A\00"}>,align 8
@az=private unnamed_addr constant<{[4x i8],i32,[12x i8]}><{[4x i8]zeroinitializer,i32 -2147483636,[12x i8]c"\0Atfunkind2\0A\00"}>,align 8
@aA=private unnamed_addr constant<{[4x i8],i32,[14x i8]}><{[4x i8]zeroinitializer,i32 -2147483634,[14x i8]c"** eqTfun **\0A\00"}>,align 8
@aB=private unnamed_addr constant<{[4x i8],i32,[10x i8]}><{[4x i8]zeroinitializer,i32 -2147483638,[10x i8]c"specTfun\0A\00"}>,align 8
@aC=private unnamed_addr constant<{[4x i8],i32,[10x i8]}><{[4x i8]zeroinitializer,i32 -2147483638,[10x i8]c"inplTfun\0A\00"}>,align 8
@aD=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL5eqEnv_602 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5eqEnv_727 to void(...)*),i32 -2147483647}>,align 8
@aE=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:830.6(34085)\00"}>,align 8
@aF=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"eqTfun failed 1 \0A\00"}>,align 8
@aG=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"eqTfun failed 2\0A\00"}>,align 8
@aH=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"tfun1\0A\00"}>,align 8
@aI=private unnamed_addr constant<{[4x i8],i32,[8x i8]}><{[4x i8]zeroinitializer,i32 -2147483640,[8x i8]c"\0Atfun2\0A\00"}>,align 8
@aJ=private unnamed_addr constant<{[4x i8],i32,[28x i8]}><{[4x i8]zeroinitializer,i32 -2147483620,[28x i8]c"eqTstr Fail in other cases\0A\00"}>,align 8
@aK=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:895.6(36952)\00"}>,align 8
@aL=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"eqTstr failed\0A\00"}>,align 8
@aM=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"tstr1\0A\00"}>,align 8
@aN=private unnamed_addr constant<{[4x i8],i32,[8x i8]}><{[4x i8]zeroinitializer,i32 -2147483640,[8x i8]c"\0Atstr2\0A\00"}>,align 8
@aO=private unnamed_addr constant<{[4x i8],i32,[25x i8]}><{[4x i8]zeroinitializer,i32 -2147483623,[25x i8]c"eqTyE fail missing name\0A\00"}>,align 8
@aP=private unnamed_addr constant<{[4x i8],i32,[24x i8]}><{[4x i8]zeroinitializer,i32 -2147483624,[24x i8]c"eqVarE eqidstatus fail\0A\00"}>,align 8
@aQ=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"st1:\0A\00"}>,align 8
@aR=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"st2:\0A\00"}>,align 8
@aS=private unnamed_addr constant<{[4x i8],i32,[25x i8]}><{[4x i8]zeroinitializer,i32 -2147483623,[25x i8]c"name not found in varE2\0A\00"}>,align 8
@aT=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"\0A\00"}>,align 8
@aU=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"eqEnv; eqTyE; \0A\00"}>,align 8
@aV=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"eqEnv; eqVarE; \0A\00"}>,align 8
@aW=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"eqEnv; eqStrE; \0A\00"}>,align 8
@aX=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN12FunctorUtils5eqEnvE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils5eqEnvE_738 to void(...)*),i32 -2147483647}>,align 8
@aY=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:1063.58(43491)\00"}>,align 8
@aZ=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*}>*@_SMLDL544,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@aY,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@a0=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:1095.6(44694)\00"}>,align 8
@a1=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:1102.6(44990)\00"}>,align 8
@a2=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/nameevaluation/main/FunctorUtils.sml:1121.6(45605)\00"}>,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*)*@_SMLFN12FunctorUtils7eqShapeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils7eqShapeE_751 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN12FunctorUtils10evalFunArgE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@T,i64 0,i32 2)to i8*)
@a4=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN12FunctorUtils9varsInEnvE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils9varsInEnvE_752 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN12FunctorUtils9varsInEnvE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a4,i64 0,i32 2)to i8*)
@_SMLZN12FunctorUtils8typidSetE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ak,i64 0,i32 2)to i8*)
@_SMLZN12FunctorUtils5eqEnvE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aX,i64 0,i32 2)to i8*)
@a5=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN12FunctorUtils6eqSizeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils6eqSizeE_753 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN12FunctorUtils6eqSizeE=local_unnamed_addr constant 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*)
@_SMLZN12FunctorUtils7eqShapeE=local_unnamed_addr constant 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*)
@_SMLZN12FunctorUtils15makeFunctorArgsE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ab,i64 0,i32 2)to i8*)
@_SML_ftabfbb38152315f0bd0_FunctorUtils=external global i8
@a6=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_obj_equal(i8*inreg,i8*inreg)local_unnamed_addr#0
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel8tupleMapE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN11StructureID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12SetLiftedTys19setLiftedTysSpecEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13LongsymbolEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13LongsymbolEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13LongsymbolEnv9listItemsE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13NameEvalUtils11printSymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13NameEvalUtils13printIdstatusE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13NameEvalUtils13printTfunkindE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13NameEvalUtils15printLongsymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13NameEvalUtils5printE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN13NameEvalUtils9printTstrE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14DatatypeLayout14datatypeLayoutE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims10rebindTstrE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims11envWithVarEE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims6findIdE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims8rebindIdE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims9rebindStrE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Bool3notE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List1_VE(i32 inreg,i32 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*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldrE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List6lengthE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5ConID3Set3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5ConID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5ExnID3Set3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5ExnID3Set6memberE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5ExnID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Int328toStringE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5TypID2eqE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Map6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Set3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5VarID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6EvalTy14compatPropertyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6IDCalc12tfunAdmitsEqE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc12tfunPropertyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc13propertyOfItyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc15idInfoToExnInfoE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc17idInfoToExExnInfoE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6IDCalc9tfunArityE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol12mkLongsymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol15longsymbolToLocE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol24coerceLongsymbolToSymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap10listItemsiE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TfvMap5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TvarID3Map6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6TvarID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7EvalSig14refreshSpecEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7EvalSig9evalPlsigE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair3zipE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8TfunVars7tfvsEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv4appiE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6foldliE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv8numItemsE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7aa263535439ee1c_ListPair()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main67a5b28ff146c353_Loc()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main44ca35c4c731682b_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main60e750412e2bb4fe_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7374574ddb619c6a_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main606b245a3d2b48d6_Types_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1d614b123e80cc95_IDCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maincf60e58028aea790_BuiltinTypes()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3b8fa7741d09e0f0_DatatypeLayout()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maince08e1440e92cf7f_NameEvalEnv_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main8eb72de1faec8476_TfunVars()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main280464056da2ad42_EvalSig()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main25bfccf3a19d70cd_EvalTy()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind7df276306fcd4f2_NameEvalUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main997941653313463c_NormalizeTy()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main31424a5e5fc0a016_SetLiftedTys()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainb1a2dac541ac747b_NameEvalEnvPrims()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_loaddaa180c1799f3810_Bool(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load7aa263535439ee1c_ListPair(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load67a5b28ff146c353_Loc(i8*)local_unnamed_addr
declare void@_SML_load44ca35c4c731682b_Symbol(i8*)local_unnamed_addr
declare void@_SML_load60e750412e2bb4fe_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load7374574ddb619c6a_LocalID(i8*)local_unnamed_addr
declare void@_SML_load606b245a3d2b48d6_Types_ppg(i8*)local_unnamed_addr
declare void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_loadcf60e58028aea790_BuiltinTypes(i8*)local_unnamed_addr
declare void@_SML_load3b8fa7741d09e0f0_DatatypeLayout(i8*)local_unnamed_addr
declare void@_SML_loadce08e1440e92cf7f_NameEvalEnv_ppg(i8*)local_unnamed_addr
declare void@_SML_load8eb72de1faec8476_TfunVars(i8*)local_unnamed_addr
declare void@_SML_load280464056da2ad42_EvalSig(i8*)local_unnamed_addr
declare void@_SML_load25bfccf3a19d70cd_EvalTy(i8*)local_unnamed_addr
declare void@_SML_loadd7df276306fcd4f2_NameEvalUtils(i8*)local_unnamed_addr
declare void@_SML_load997941653313463c_NormalizeTy(i8*)local_unnamed_addr
declare void@_SML_load31424a5e5fc0a016_SetLiftedTys(i8*)local_unnamed_addr
declare void@_SML_loadb1a2dac541ac747b_NameEvalEnvPrims(i8*)local_unnamed_addr
define private void@_SML_tabbfbb38152315f0bd0_FunctorUtils()#3{
unreachable
}
define void@_SML_loadfbb38152315f0bd0_FunctorUtils(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@a6,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@a6,align 1
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load7aa263535439ee1c_ListPair(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load67a5b28ff146c353_Loc(i8*%a)#0
tail call void@_SML_load44ca35c4c731682b_Symbol(i8*%a)#0
tail call void@_SML_load60e750412e2bb4fe_RecordLabel(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load7374574ddb619c6a_LocalID(i8*%a)#0
tail call void@_SML_load606b245a3d2b48d6_Types_ppg(i8*%a)#0
tail call void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*%a)#0
tail call void@_SML_loadcf60e58028aea790_BuiltinTypes(i8*%a)#0
tail call void@_SML_load3b8fa7741d09e0f0_DatatypeLayout(i8*%a)#0
tail call void@_SML_loadce08e1440e92cf7f_NameEvalEnv_ppg(i8*%a)#0
tail call void@_SML_load8eb72de1faec8476_TfunVars(i8*%a)#0
tail call void@_SML_load280464056da2ad42_EvalSig(i8*%a)#0
tail call void@_SML_load25bfccf3a19d70cd_EvalTy(i8*%a)#0
tail call void@_SML_loadd7df276306fcd4f2_NameEvalUtils(i8*%a)#0
tail call void@_SML_load997941653313463c_NormalizeTy(i8*%a)#0
tail call void@_SML_load31424a5e5fc0a016_SetLiftedTys(i8*%a)#0
tail call void@_SML_loadb1a2dac541ac747b_NameEvalEnvPrims(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbfbb38152315f0bd0_FunctorUtils,i8*@_SML_ftabfbb38152315f0bd0_FunctorUtils,i8*null)#0
ret void
}
define void@_SML_mainfbb38152315f0bd0_FunctorUtils()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@a6,align 1
%b=and i8%a,2
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 3,i8*@a6,align 1
tail call void@_SML_main5148a836b3728be9_Int32()#2
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main7aa263535439ee1c_ListPair()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main67a5b28ff146c353_Loc()#2
tail call void@_SML_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_main60e750412e2bb4fe_RecordLabel()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_main606b245a3d2b48d6_Types_ppg()#2
tail call void@_SML_main1d614b123e80cc95_IDCalc_ppg()#2
tail call void@_SML_maincf60e58028aea790_BuiltinTypes()#2
tail call void@_SML_main3b8fa7741d09e0f0_DatatypeLayout()#2
tail call void@_SML_maince08e1440e92cf7f_NameEvalEnv_ppg()#2
tail call void@_SML_main8eb72de1faec8476_TfunVars()#2
tail call void@_SML_main280464056da2ad42_EvalSig()#2
tail call void@_SML_main25bfccf3a19d70cd_EvalTy()#2
tail call void@_SML_maind7df276306fcd4f2_NameEvalUtils()#2
tail call void@_SML_main997941653313463c_NormalizeTy()#2
tail call void@_SML_main31424a5e5fc0a016_SetLiftedTys()#2
tail call void@_SML_mainb1a2dac541ac747b_NameEvalEnvPrims()#2
br label%d
}
define internal fastcc i8*@_SMLL15materializeTstr_382(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
r:
%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**%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
call void@llvm.gcroot(i8**%k,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%b,%r]
store i8*%q,i8**%e,align 8
%s=bitcast i8*%q to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%q,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=icmp eq i32%y,0
br i1%z,label%E,label%A
A:
%B=getelementptr inbounds i8,i8*%q,i64 16
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
ret i8*%D
E:
%F=getelementptr inbounds i8,i8*%w,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=getelementptr inbounds i8,i8*%H,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%K)
store i8*%L,i8**%d,align 8
%M=bitcast i8*%L to i32*
%N=load i32,i32*%M,align 4
%O=icmp eq i32%N,1
br i1%O,label%U,label%P
P:
%Q=load i8*,i8**%e,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
ret i8*%T
U:
%V=getelementptr inbounds i8,i8*%L,i64 8
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%g,align 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=icmp eq i32%ab,5
br i1%ac,label%ai,label%ad
ad:
%ae=load i8*,i8**%e,align 8
%af=getelementptr inbounds i8,i8*%ae,i64 16
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
ret i8*%ah
ai:
%aj=getelementptr inbounds i8,i8*%Z,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%f,align 8
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=getelementptr inbounds i8,i8*%al,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%h,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 16
%as=bitcast i8*%ar to i32*
%at=load i32,i32*%as,align 4
%au=icmp eq i8*%aq,null
br i1%au,label%av,label%a0
av:
store i8*null,i8**%c,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[10x i8]}>,<{[4x i8],i32,[10x i8]}>*@d,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@e,i64 0,i32 2,i64 0))
%aw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 8
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
call fastcc void@_SMLFN13NameEvalUtils9printTstrE(i8*inreg%az)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@f,i64 0,i32 2,i64 0))
%aA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
call fastcc void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg%aA)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@g,i64 0,i32 2,i64 0))
%aB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 24
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
call fastcc void@_SMLFN13NameEvalUtils15printLongsymbolE(i8*inreg%aE)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
%aF=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aF,i8**%c,align 8
%aG=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@i,i64 0,i32 2)to i8*))
store i8*%aG,i8**%d,align 8
%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
store i8*%aH,i8**%e,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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%aN,align 8
%aO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aP=getelementptr inbounds i8,i8*%aH,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aH,i64 24
%aS=bitcast i8*%aR to i32*
store i32 7,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**%e,align 8
%aZ=bitcast i8*%aT to i8**
store i8*%aY,i8**%aZ,align 8
call void@sml_raise(i8*inreg%aT)#1
unreachable
a0:
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%a1=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%f,align 8
%a7=bitcast i8**%i to i8***
%a8=load i8**,i8***%a7,align 8
store i8*null,i8**%i,align 8
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%d,align 8
%ba=call i8*@sml_alloc(i32 inreg 20)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177296,i32*%bc,align 4
store i8*%ba,i8**%i,align 8
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%be=bitcast i8*%ba to i8**
store i8*%bd,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%ba,i64 8
%bg=bitcast i8*%bf to i8**
store i8*null,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
%bj=call i8*@sml_alloc(i32 inreg 20)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177296,i32*%bl,align 4
%bm=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bp=getelementptr inbounds i8,i8*%bj,i64 8
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bj,i64 16
%bs=bitcast i8*%br to i32*
store i32 3,i32*%bs,align 4
%bt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bu=call fastcc i8*%a4(i8*inreg%bt,i8*inreg%bj)
store i8*%bu,i8**%c,align 8
%bv=load i8*,i8**@_SMLZN12BuiltinTypes8boxedITyE,align 8
%bw=call fastcc i8*@_SMLFN6IDCalc13propertyOfItyE(i8*inreg%bv)
%bx=icmp eq i8*%bw,null
br i1%bx,label%cE,label%by
by:
%bz=bitcast i8*%bw to i8**
%bA=load i8*,i8**%bz,align 8
%bB=bitcast i8*%bA to i32*
%bC=load i32,i32*%bB,align 4
%bD=icmp eq i32%bC,1
br i1%bD,label%bE,label%cE
bE:
%bF=getelementptr inbounds i8,i8*%bA,i64 8
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
store i8*%bH,i8**%d,align 8
%bI=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%bI,i8**%f,align 8
%bJ=call i8*@sml_alloc(i32 inreg 20)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177296,i32*%bL,align 4
store i8*%bJ,i8**%k,align 8
%bM=getelementptr inbounds i8,i8*%bJ,i64 4
%bN=bitcast i8*%bM to i32*
store i32 0,i32*%bN,align 1
%bO=bitcast i8*%bJ to i32*
store i32 2,i32*%bO,align 4
%bP=load i8*,i8**%d,align 8
%bQ=getelementptr inbounds i8,i8*%bJ,i64 8
%bR=bitcast i8*%bQ to i8**
store i8*%bP,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bJ,i64 16
%bT=bitcast i8*%bS to i32*
store i32 2,i32*%bT,align 4
%bU=load i8*,i8**@_SMLZN5ConID3Set5emptyE,align 8
store i8*%bU,i8**%d,align 8
%bV=load i8*,i8**@_SMLZN6IDCalc14emptyLiftedTysE,align 8
store i8*%bV,i8**%i,align 8
%bW=call i8*@sml_alloc(i32 inreg 68)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177344,i32*%bY,align 4
store i8*%bW,i8**%j,align 8
%bZ=getelementptr inbounds i8,i8*%bW,i64 4
call void@llvm.memset.p0i8.i32(i8*%bZ,i8 0,i32 44,i1 false)
%b0=bitcast i8*%bW to i32*
store i32%an,i32*%b0,align 4
%b1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b5=getelementptr inbounds i8,i8*%bW,i64 16
%b6=bitcast i8*%b5 to i8**
store i8*%b4,i8**%b6,align 8
%b7=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%b8=getelementptr inbounds i8,i8*%bW,i64 24
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cb=getelementptr inbounds i8,i8*%bW,i64 32
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%bW,i64 40
%ce=bitcast i8*%cd to i32*
store i32%at,i32*%ce,align 4
%cf=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cg=getelementptr inbounds i8,i8*%bW,i64 48
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cj=getelementptr inbounds i8,i8*%bW,i64 56
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%bW,i64 64
%cm=bitcast i8*%cl to i32*
store i32 222,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg 20)#0
%co=bitcast i8*%cn to i32*
%cp=getelementptr inbounds i8,i8*%cn,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
%cr=getelementptr inbounds i8,i8*%cn,i64 4
%cs=bitcast i8*%cr to i32*
store i32 0,i32*%cs,align 1
store i32 3,i32*%co,align 4
%ct=load i8*,i8**%j,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 8
%cv=bitcast i8*%cu to i8**
store i8*%ct,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cn,i64 16
%cx=bitcast i8*%cw to i32*
store i32 2,i32*%cx,align 4
%cy=load i8*,i8**%g,align 8
%cz=bitcast i8*%cy to i8**
call void@sml_write(i8*inreg%cy,i8**inreg%cz,i8*inreg%cn)#0
%cA=load i8*,i8**%e,align 8
%cB=getelementptr inbounds i8,i8*%cA,i64 16
%cC=bitcast i8*%cB to i8**
%cD=load i8*,i8**%cC,align 8
ret i8*%cD
cE:
store i8*null,i8**%e,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%cF=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cF,i8**%c,align 8
%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
store i8*%cG,i8**%d,align 8
%cJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cK=bitcast i8*%cG to i8**
store i8*%cJ,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cG,i64 8
%cM=bitcast i8*%cL to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[76x i8]}>,<{[4x i8],i32,[76x i8]}>*@b,i64 0,i32 2,i64 0),i8**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cG,i64 16
%cO=bitcast i8*%cN to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@c,i64 0,i32 2,i64 0),i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cG,i64 24
%cQ=bitcast i8*%cP to i32*
store i32 7,i32*%cQ,align 4
%cR=call i8*@sml_alloc(i32 inreg 60)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32 1342177336,i32*%cT,align 4
%cU=getelementptr inbounds i8,i8*%cR,i64 56
%cV=bitcast i8*%cU to i32*
store i32 1,i32*%cV,align 4
%cW=load i8*,i8**%d,align 8
%cX=bitcast i8*%cR to i8**
store i8*%cW,i8**%cX,align 8
call void@sml_raise(i8*inreg%cR)#1
unreachable
}
define internal fastcc i8*@_SMLL15materializeStrE_390(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
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
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%b to i8**
br label%p
m:
call void@sml_check(i32 inreg%i)
%n=bitcast i8**%c to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%m],[%l,%k]
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=getelementptr inbounds i8*,i8**%q,i64 2
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%e,align 8
%u=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%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
store i8*%z,i8**%g,align 8
%A=bitcast i8**%f to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%f,align 8
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
store i8*%D,i8**%h,align 8
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i8**
store i8*null,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to i32*
store i32 3,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**%f,align 8
store i8*null,i8**%f,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=load i8*,i8**%h,align 8
store i8*null,i8**%h,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**%g,align 8
store i8*null,i8**%g,align 8
%X=call fastcc i8*%x(i8*inreg%W,i8*inreg%M)
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
%af=call fastcc i8*@_SMLL14materializeEnv_386(i8*inreg%X,i8*inreg%ae)
store i8*%af,i8**%c,align 8
%ag=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 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**%d,align 8
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%ap=load i8*,i8**%e,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=load i8*,i8**%c,align 8
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 3,i32*%av,align 4
%aw=load i8*,i8**%d,align 8
%ax=tail call fastcc i8*%aj(i8*inreg%aw,i8*inreg%am)
ret i8*%ax
}
define internal fastcc i8*@_SMLL14materializeEnv_386(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
r:
%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**%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**%i,align 8
store i8*%b,i8**%j,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%i,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%a,%r]
store i8*null,i8**%i,align 8
store i8*%q,i8**%k,align 8
%s=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 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**%i,align 8
%y=load i8*,i8**%k,align 8
%z=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z)
%A=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%A)
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%y,i8**%g,align 8
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177288,i32*%D,align 4
store i8*%B,i8**%h,align 8
%E=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 i32*
store i32 1,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**%h,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*)*@_SMLL15materializeTstr_382 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*)*@_SMLL15materializeTstr_382 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 -2147483647,i32*%S,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%A)
%T=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%U=call fastcc i8*%v(i8*inreg%T,i8*inreg%I)
%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
%aa=call fastcc i8*%X(i8*inreg%Z,i8*inreg null)
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
%ag=load i8*,i8**%j,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
%ak=call fastcc i8*%ad(i8*inreg%af,i8*inreg%aj)
store i8*%ak,i8**%i,align 8
%al=bitcast i8**%j to i8***
%am=load i8**,i8***%al,align 8
store i8*null,i8**%j,align 8
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%ap=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ap)
%aq=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aq)
%ar=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ar)
%as=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%as)
call void@llvm.gcroot(i8**%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*%ao,i8**%d,align 8
store i8*%an,i8**%c,align 8
%at=load atomic i32,i32*@sml_check_flag unordered,align 4
%au=icmp eq i32%at,0
br i1%au,label%aw,label%av
av:
call void@sml_check(i32 inreg%at)
br label%aw
aw:
%ax=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ay=getelementptr inbounds i8,i8*%ax,i64 16
%az=bitcast i8*%ay to i8*(i8*,i8*)**
%aA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%az,align 8
%aB=bitcast i8*%ax to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%e,align 8
%aD=call i8*@sml_alloc(i32 inreg 12)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177288,i32*%aF,align 4
store i8*%aD,i8**%f,align 8
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 28)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177304,i32*%aM,align 4
%aN=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL15materializeStrE_390 to void(...)*),void(...)**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 16
%aS=bitcast i8*%aR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL15materializeStrE_390 to void(...)*),void(...)**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aK,i64 24
%aU=bitcast i8*%aT to i32*
store i32 -2147483647,i32*%aU,align 4
%aV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aW=call fastcc i8*%aA(i8*inreg%aV,i8*inreg%aK)
%aX=getelementptr inbounds i8,i8*%aW,i64 16
%aY=bitcast i8*%aX to i8*(i8*,i8*)**
%aZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aY,align 8
%a0=bitcast i8*%aW to i8**
%a1=load i8*,i8**%a0,align 8
%a2=call fastcc i8*%aZ(i8*inreg%a1,i8*inreg null)
%a3=getelementptr inbounds i8,i8*%a2,i64 16
%a4=bitcast i8*%a3 to i8*(i8*,i8*)**
%a5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a4,align 8
%a6=bitcast i8*%a2 to i8**
%a7=load i8*,i8**%a6,align 8
%a8=load i8*,i8**%c,align 8
%a9=call fastcc i8*%a5(i8*inreg%a7,i8*inreg%a8)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ap)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aq)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ar)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%as)
store i8*%a9,i8**%j,align 8
%ba=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%bb=getelementptr inbounds i8,i8*%ba,i64 16
%bc=bitcast i8*%bb to i8*(i8*,i8*)**
%bd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bc,align 8
%be=bitcast i8*%ba to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%k,align 8
%bg=call i8*@sml_alloc(i32 inreg 20)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177296,i32*%bi,align 4
%bj=load i8*,i8**%i,align 8
%bk=bitcast i8*%bg to i8**
store i8*%bj,i8**%bk,align 8
%bl=load i8*,i8**%j,align 8
%bm=getelementptr inbounds i8,i8*%bg,i64 8
%bn=bitcast i8*%bm to i8**
store i8*%bl,i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bg,i64 16
%bp=bitcast i8*%bo to i32*
store i32 3,i32*%bp,align 4
%bq=load i8*,i8**%k,align 8
%br=tail call fastcc i8*%bd(i8*inreg%bq,i8*inreg%bg)
ret i8*%br
}
define internal fastcc i8*@_SMLL10genArgTstr_434(i8*inreg%a)#2 gc"smlsharp"{
p:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%b,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%b,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%b,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%d,align 8
%y=bitcast i8*%u to i32*
%z=load i32,i32*%y,align 4
switch i32%z,label%A[
i32 0,label%el
i32 1,label%S
]
A:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%B=load i8*,i8**@_SMLZ5Match,align 8
store i8*%B,i8**%b,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
store i8*%C,i8**%c,align 8
%F=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@C,i64 0,i32 2,i64 0),i8**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%c,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
S:
%T=getelementptr inbounds i8,i8*%u,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=getelementptr inbounds i8,i8*%V,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%e,align 8
%Z=getelementptr inbounds i8,i8*%V,i64 24
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%ab)
%ad=bitcast i8*%ac to i32*
%ae=load i32,i32*%ad,align 4
switch i32%ae,label%af[
i32 0,label%dZ
i32 1,label%ax
]
af:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%ag=load i8*,i8**@_SMLZ5Match,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,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@B,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*%ac,i64 8
%az=bitcast i8*%ay to i8***
%aA=load i8**,i8***%az,align 8
%aB=load i8*,i8**%aA,align 8
%aC=bitcast i8*%aB to i32*
%aD=load i32,i32*%aC,align 4
switch i32%aD,label%aE[
i32 3,label%dD
i32 5,label%dh
i32 4,label%cT
i32 2,label%cx
i32 1,label%cb
i32 0,label%aW
]
aE:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%aF=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aF,i8**%b,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**%c,align 8
%aJ=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@A,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**%c,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=getelementptr inbounds i8,i8*%aB,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
store i8*%a1,i8**%c,align 8
%a2=getelementptr inbounds i8,i8*%aZ,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%f,align 8
%a5=getelementptr inbounds i8,i8*%aZ,i64 32
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%g,align 8
%a8=getelementptr inbounds i8,i8*%aZ,i64 40
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%h,align 8
%bb=call i8*@sml_alloc(i32 inreg 44)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177320,i32*%bd,align 4
store i8*%bb,i8**%i,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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bk=getelementptr inbounds i8,i8*%bb,i64 16
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bn=getelementptr inbounds i8,i8*%bb,i64 24
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=load i8*,i8**%h,align 8
%bq=getelementptr inbounds i8,i8*%bb,i64 32
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bb,i64 40
%bt=bitcast i8*%bs to i32*
store i32 31,i32*%bt,align 4
%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**%e,align 8
%bx=getelementptr inbounds i8,i8*%bu,i64 4
%by=bitcast i8*%bx to i32*
store i32 0,i32*%by,align 1
%bz=bitcast i8*%bu to i32*
store i32 1,i32*%bz,align 4
%bA=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bB=getelementptr inbounds i8,i8*%bu,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bu,i64 16
%bE=bitcast i8*%bD to i32*
store i32 2,i32*%bE,align 4
%bF=call fastcc i8*@_SMLFN16NameEvalEnvPrims10rebindTstrE(i32 inreg 10)
%bG=getelementptr inbounds i8,i8*%bF,i64 16
%bH=bitcast i8*%bG to i8*(i8*,i8*)**
%bI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bH,align 8
%bJ=bitcast i8*%bF to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%c,align 8
%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**%d,align 8
store i8*null,i8**%d,align 8
%bP=bitcast i8*%bL to i8**
store i8*%bO,i8**%bP,align 8
%bQ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bR=getelementptr inbounds i8,i8*%bL,i64 8
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bU=getelementptr inbounds i8,i8*%bL,i64 16
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bL,i64 24
%bX=bitcast i8*%bW to i32*
store i32 7,i32*%bX,align 4
%bY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bZ=call fastcc i8*%bI(i8*inreg%bY,i8*inreg%bL)
store i8*%bZ,i8**%b,align 8
%b0=call i8*@sml_alloc(i32 inreg 20)#0
%b1=getelementptr inbounds i8,i8*%b0,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177296,i32*%b2,align 4
%b3=load i8*,i8**%b,align 8
%b4=bitcast i8*%b0 to i8**
store i8*%b3,i8**%b4,align 8
%b5=load i8*,i8**%h,align 8
%b6=getelementptr inbounds i8,i8*%b0,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b0,i64 16
%b9=bitcast i8*%b8 to i32*
store i32 3,i32*%b9,align 4
%ca=tail call fastcc i8*@_SMLFN16NameEvalEnvPrims11envWithVarEE(i8*inreg%b0)
ret i8*%ca
cb:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%cc=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cc,i8**%b,align 8
%cd=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@z,i64 0,i32 2)to i8*))
store i8*%cd,i8**%c,align 8
%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
store i8*%ce,i8**%d,align 8
%ch=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%ck,align 8
%cl=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cm=getelementptr inbounds i8,i8*%ce,i64 16
%cn=bitcast i8*%cm to i8**
store i8*%cl,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%ce,i64 24
%cp=bitcast i8*%co to i32*
store i32 7,i32*%cp,align 4
%cq=call i8*@sml_alloc(i32 inreg 60)#0
%cr=getelementptr inbounds i8,i8*%cq,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177336,i32*%cs,align 4
%ct=getelementptr inbounds i8,i8*%cq,i64 56
%cu=bitcast i8*%ct to i32*
store i32 1,i32*%cu,align 4
%cv=load i8*,i8**%d,align 8
%cw=bitcast i8*%cq to i8**
store i8*%cv,i8**%cw,align 8
call void@sml_raise(i8*inreg%cq)#1
unreachable
cx:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%cy=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cy,i8**%b,align 8
%cz=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@x,i64 0,i32 2)to i8*))
store i8*%cz,i8**%c,align 8
%cA=call i8*@sml_alloc(i32 inreg 28)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177304,i32*%cC,align 4
store i8*%cA,i8**%d,align 8
%cD=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cE=bitcast i8*%cA to i8**
store i8*%cD,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cA,i64 8
%cG=bitcast i8*%cF to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%cG,align 8
%cH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cI=getelementptr inbounds i8,i8*%cA,i64 16
%cJ=bitcast i8*%cI to i8**
store i8*%cH,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cA,i64 24
%cL=bitcast i8*%cK to i32*
store i32 7,i32*%cL,align 4
%cM=call i8*@sml_alloc(i32 inreg 60)#0
%cN=getelementptr inbounds i8,i8*%cM,i64 -4
%cO=bitcast i8*%cN to i32*
store i32 1342177336,i32*%cO,align 4
%cP=getelementptr inbounds i8,i8*%cM,i64 56
%cQ=bitcast i8*%cP to i32*
store i32 1,i32*%cQ,align 4
%cR=load i8*,i8**%d,align 8
%cS=bitcast i8*%cM to i8**
store i8*%cR,i8**%cS,align 8
call void@sml_raise(i8*inreg%cM)#1
unreachable
cT:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[23x i8]}>,<{[4x i8],i32,[23x i8]}>*@t,i64 0,i32 2,i64 0))
%cU=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
call fastcc void@_SMLFN13NameEvalUtils11printSymbolE(i8*inreg%cU)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
%cV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
call fastcc void@_SMLFN13NameEvalUtils9printTstrE(i8*inreg%cV)
%cW=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cW,i8**%b,align 8
%cX=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@v,i64 0,i32 2)to i8*))
store i8*%cX,i8**%c,align 8
%cY=call i8*@sml_alloc(i32 inreg 28)#0
%cZ=getelementptr inbounds i8,i8*%cY,i64 -4
%c0=bitcast i8*%cZ to i32*
store i32 1342177304,i32*%c0,align 4
store i8*%cY,i8**%d,align 8
%c1=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%c2=bitcast i8*%cY to i8**
store i8*%c1,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cY,i64 8
%c4=bitcast i8*%c3 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%c4,align 8
%c5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c6=getelementptr inbounds i8,i8*%cY,i64 16
%c7=bitcast i8*%c6 to i8**
store i8*%c5,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%cY,i64 24
%c9=bitcast i8*%c8 to i32*
store i32 7,i32*%c9,align 4
%da=call i8*@sml_alloc(i32 inreg 60)#0
%db=getelementptr inbounds i8,i8*%da,i64 -4
%dc=bitcast i8*%db to i32*
store i32 1342177336,i32*%dc,align 4
%dd=getelementptr inbounds i8,i8*%da,i64 56
%de=bitcast i8*%dd to i32*
store i32 1,i32*%de,align 4
%df=load i8*,i8**%d,align 8
%dg=bitcast i8*%da to i8**
store i8*%df,i8**%dg,align 8
call void@sml_raise(i8*inreg%da)#1
unreachable
dh:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%di=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%di,i8**%b,align 8
%dj=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@s,i64 0,i32 2)to i8*))
store i8*%dj,i8**%c,align 8
%dk=call i8*@sml_alloc(i32 inreg 28)#0
%dl=getelementptr inbounds i8,i8*%dk,i64 -4
%dm=bitcast i8*%dl to i32*
store i32 1342177304,i32*%dm,align 4
store i8*%dk,i8**%d,align 8
%dn=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%do=bitcast i8*%dk to i8**
store i8*%dn,i8**%do,align 8
%dp=getelementptr inbounds i8,i8*%dk,i64 8
%dq=bitcast i8*%dp to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%dq,align 8
%dr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ds=getelementptr inbounds i8,i8*%dk,i64 16
%dt=bitcast i8*%ds to i8**
store i8*%dr,i8**%dt,align 8
%du=getelementptr inbounds i8,i8*%dk,i64 24
%dv=bitcast i8*%du to i32*
store i32 7,i32*%dv,align 4
%dw=call i8*@sml_alloc(i32 inreg 60)#0
%dx=getelementptr inbounds i8,i8*%dw,i64 -4
%dy=bitcast i8*%dx to i32*
store i32 1342177336,i32*%dy,align 4
%dz=getelementptr inbounds i8,i8*%dw,i64 56
%dA=bitcast i8*%dz to i32*
store i32 1,i32*%dA,align 4
%dB=load i8*,i8**%d,align 8
%dC=bitcast i8*%dw to i8**
store i8*%dB,i8**%dC,align 8
call void@sml_raise(i8*inreg%dw)#1
unreachable
dD:
store i8*null,i8**%e,align 8
%dE=call fastcc i8*@_SMLFN16NameEvalEnvPrims10rebindTstrE(i32 inreg 10)
%dF=getelementptr inbounds i8,i8*%dE,i64 16
%dG=bitcast i8*%dF to i8*(i8*,i8*)**
%dH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dG,align 8
%dI=bitcast i8*%dE to i8**
%dJ=load i8*,i8**%dI,align 8
store i8*%dJ,i8**%e,align 8
%dK=call i8*@sml_alloc(i32 inreg 28)#0
%dL=getelementptr inbounds i8,i8*%dK,i64 -4
%dM=bitcast i8*%dL to i32*
store i32 1342177304,i32*%dM,align 4
%dN=load i8*,i8**%d,align 8
%dO=bitcast i8*%dK to i8**
store i8*%dN,i8**%dO,align 8
%dP=load i8*,i8**%b,align 8
%dQ=getelementptr inbounds i8,i8*%dK,i64 8
%dR=bitcast i8*%dQ to i8**
store i8*%dP,i8**%dR,align 8
%dS=load i8*,i8**%c,align 8
%dT=getelementptr inbounds i8,i8*%dK,i64 16
%dU=bitcast i8*%dT to i8**
store i8*%dS,i8**%dU,align 8
%dV=getelementptr inbounds i8,i8*%dK,i64 24
%dW=bitcast i8*%dV to i32*
store i32 7,i32*%dW,align 4
%dX=load i8*,i8**%e,align 8
%dY=tail call fastcc i8*%dH(i8*inreg%dX,i8*inreg%dK)
ret i8*%dY
dZ:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%d0=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%d0,i8**%b,align 8
%d1=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@q,i64 0,i32 2)to i8*))
store i8*%d1,i8**%c,align 8
%d2=call i8*@sml_alloc(i32 inreg 28)#0
%d3=getelementptr inbounds i8,i8*%d2,i64 -4
%d4=bitcast i8*%d3 to i32*
store i32 1342177304,i32*%d4,align 4
store i8*%d2,i8**%d,align 8
%d5=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%d6=bitcast i8*%d2 to i8**
store i8*%d5,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%d2,i64 8
%d8=bitcast i8*%d7 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%d8,align 8
%d9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ea=getelementptr inbounds i8,i8*%d2,i64 16
%eb=bitcast i8*%ea to i8**
store i8*%d9,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d2,i64 24
%ed=bitcast i8*%ec to i32*
store i32 7,i32*%ed,align 4
%ee=call i8*@sml_alloc(i32 inreg 60)#0
%ef=getelementptr inbounds i8,i8*%ee,i64 -4
%eg=bitcast i8*%ef to i32*
store i32 1342177336,i32*%eg,align 4
%eh=getelementptr inbounds i8,i8*%ee,i64 56
%ei=bitcast i8*%eh to i32*
store i32 1,i32*%ei,align 4
%ej=load i8*,i8**%d,align 8
%ek=bitcast i8*%ee to i8**
store i8*%ej,i8**%ek,align 8
call void@sml_raise(i8*inreg%ee)#1
unreachable
el:
%em=getelementptr inbounds i8,i8*%u,i64 8
%en=bitcast i8*%em to i8**
%eo=load i8*,i8**%en,align 8
%ep=getelementptr inbounds i8,i8*%eo,i64 8
%eq=bitcast i8*%ep to i8**
%er=load i8*,i8**%eq,align 8
%es=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%er)
%et=bitcast i8*%es to i32*
%eu=load i32,i32*%et,align 4
switch i32%eu,label%ev[
i32 0,label%hj
i32 1,label%eN
]
ev:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%ew=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ew,i8**%b,align 8
%ex=call i8*@sml_alloc(i32 inreg 20)#0
%ey=getelementptr inbounds i8,i8*%ex,i64 -4
%ez=bitcast i8*%ey to i32*
store i32 1342177296,i32*%ez,align 4
store i8*%ex,i8**%c,align 8
%eA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eB=bitcast i8*%ex to i8**
store i8*%eA,i8**%eB,align 8
%eC=getelementptr inbounds i8,i8*%ex,i64 8
%eD=bitcast i8*%eC to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@o,i64 0,i32 2,i64 0),i8**%eD,align 8
%eE=getelementptr inbounds i8,i8*%ex,i64 16
%eF=bitcast i8*%eE to i32*
store i32 3,i32*%eF,align 4
%eG=call i8*@sml_alloc(i32 inreg 60)#0
%eH=getelementptr inbounds i8,i8*%eG,i64 -4
%eI=bitcast i8*%eH to i32*
store i32 1342177336,i32*%eI,align 4
%eJ=getelementptr inbounds i8,i8*%eG,i64 56
%eK=bitcast i8*%eJ to i32*
store i32 1,i32*%eK,align 4
%eL=load i8*,i8**%c,align 8
%eM=bitcast i8*%eG to i8**
store i8*%eL,i8**%eM,align 8
call void@sml_raise(i8*inreg%eG)#1
unreachable
eN:
%eO=getelementptr inbounds i8,i8*%es,i64 8
%eP=bitcast i8*%eO to i32***
%eQ=load i32**,i32***%eP,align 8
%eR=load i32*,i32**%eQ,align 8
%eS=load i32,i32*%eR,align 4
switch i32%eS,label%eT[
i32 3,label%gX
i32 5,label%gB
i32 4,label%gf
i32 2,label%fT
i32 1,label%fx
i32 0,label%fb
]
eT:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%eU=load i8*,i8**@_SMLZ5Match,align 8
store i8*%eU,i8**%b,align 8
%eV=call i8*@sml_alloc(i32 inreg 20)#0
%eW=getelementptr inbounds i8,i8*%eV,i64 -4
%eX=bitcast i8*%eW to i32*
store i32 1342177296,i32*%eX,align 4
store i8*%eV,i8**%c,align 8
%eY=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eZ=bitcast i8*%eV to i8**
store i8*%eY,i8**%eZ,align 8
%e0=getelementptr inbounds i8,i8*%eV,i64 8
%e1=bitcast i8*%e0 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@n,i64 0,i32 2,i64 0),i8**%e1,align 8
%e2=getelementptr inbounds i8,i8*%eV,i64 16
%e3=bitcast i8*%e2 to i32*
store i32 3,i32*%e3,align 4
%e4=call i8*@sml_alloc(i32 inreg 60)#0
%e5=getelementptr inbounds i8,i8*%e4,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177336,i32*%e6,align 4
%e7=getelementptr inbounds i8,i8*%e4,i64 56
%e8=bitcast i8*%e7 to i32*
store i32 1,i32*%e8,align 4
%e9=load i8*,i8**%c,align 8
%fa=bitcast i8*%e4 to i8**
store i8*%e9,i8**%fa,align 8
call void@sml_raise(i8*inreg%e4)#1
unreachable
fb:
%fc=call fastcc i8*@_SMLFN16NameEvalEnvPrims10rebindTstrE(i32 inreg 10)
%fd=getelementptr inbounds i8,i8*%fc,i64 16
%fe=bitcast i8*%fd to i8*(i8*,i8*)**
%ff=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fe,align 8
%fg=bitcast i8*%fc to i8**
%fh=load i8*,i8**%fg,align 8
store i8*%fh,i8**%e,align 8
%fi=call i8*@sml_alloc(i32 inreg 28)#0
%fj=getelementptr inbounds i8,i8*%fi,i64 -4
%fk=bitcast i8*%fj to i32*
store i32 1342177304,i32*%fk,align 4
%fl=load i8*,i8**%d,align 8
%fm=bitcast i8*%fi to i8**
store i8*%fl,i8**%fm,align 8
%fn=load i8*,i8**%b,align 8
%fo=getelementptr inbounds i8,i8*%fi,i64 8
%fp=bitcast i8*%fo to i8**
store i8*%fn,i8**%fp,align 8
%fq=load i8*,i8**%c,align 8
%fr=getelementptr inbounds i8,i8*%fi,i64 16
%fs=bitcast i8*%fr to i8**
store i8*%fq,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%fi,i64 24
%fu=bitcast i8*%ft to i32*
store i32 7,i32*%fu,align 4
%fv=load i8*,i8**%e,align 8
%fw=tail call fastcc i8*%ff(i8*inreg%fv,i8*inreg%fi)
ret i8*%fw
fx:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%fy=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%fy,i8**%b,align 8
%fz=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@z,i64 0,i32 2)to i8*))
store i8*%fz,i8**%c,align 8
%fA=call i8*@sml_alloc(i32 inreg 28)#0
%fB=getelementptr inbounds i8,i8*%fA,i64 -4
%fC=bitcast i8*%fB to i32*
store i32 1342177304,i32*%fC,align 4
store i8*%fA,i8**%d,align 8
%fD=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fE=bitcast i8*%fA to i8**
store i8*%fD,i8**%fE,align 8
%fF=getelementptr inbounds i8,i8*%fA,i64 8
%fG=bitcast i8*%fF to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%fG,align 8
%fH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fI=getelementptr inbounds i8,i8*%fA,i64 16
%fJ=bitcast i8*%fI to i8**
store i8*%fH,i8**%fJ,align 8
%fK=getelementptr inbounds i8,i8*%fA,i64 24
%fL=bitcast i8*%fK to i32*
store i32 7,i32*%fL,align 4
%fM=call i8*@sml_alloc(i32 inreg 60)#0
%fN=getelementptr inbounds i8,i8*%fM,i64 -4
%fO=bitcast i8*%fN to i32*
store i32 1342177336,i32*%fO,align 4
%fP=getelementptr inbounds i8,i8*%fM,i64 56
%fQ=bitcast i8*%fP to i32*
store i32 1,i32*%fQ,align 4
%fR=load i8*,i8**%d,align 8
%fS=bitcast i8*%fM to i8**
store i8*%fR,i8**%fS,align 8
call void@sml_raise(i8*inreg%fM)#1
unreachable
fT:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%fU=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%fU,i8**%b,align 8
%fV=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@x,i64 0,i32 2)to i8*))
store i8*%fV,i8**%c,align 8
%fW=call i8*@sml_alloc(i32 inreg 28)#0
%fX=getelementptr inbounds i8,i8*%fW,i64 -4
%fY=bitcast i8*%fX to i32*
store i32 1342177304,i32*%fY,align 4
store i8*%fW,i8**%d,align 8
%fZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%f0=bitcast i8*%fW to i8**
store i8*%fZ,i8**%f0,align 8
%f1=getelementptr inbounds i8,i8*%fW,i64 8
%f2=bitcast i8*%f1 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%f2,align 8
%f3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%f4=getelementptr inbounds i8,i8*%fW,i64 16
%f5=bitcast i8*%f4 to i8**
store i8*%f3,i8**%f5,align 8
%f6=getelementptr inbounds i8,i8*%fW,i64 24
%f7=bitcast i8*%f6 to i32*
store i32 7,i32*%f7,align 4
%f8=call i8*@sml_alloc(i32 inreg 60)#0
%f9=getelementptr inbounds i8,i8*%f8,i64 -4
%ga=bitcast i8*%f9 to i32*
store i32 1342177336,i32*%ga,align 4
%gb=getelementptr inbounds i8,i8*%f8,i64 56
%gc=bitcast i8*%gb to i32*
store i32 1,i32*%gc,align 4
%gd=load i8*,i8**%d,align 8
%ge=bitcast i8*%f8 to i8**
store i8*%gd,i8**%ge,align 8
call void@sml_raise(i8*inreg%f8)#1
unreachable
gf:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%gg=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%gg,i8**%b,align 8
%gh=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@m,i64 0,i32 2)to i8*))
store i8*%gh,i8**%c,align 8
%gi=call i8*@sml_alloc(i32 inreg 28)#0
%gj=getelementptr inbounds i8,i8*%gi,i64 -4
%gk=bitcast i8*%gj to i32*
store i32 1342177304,i32*%gk,align 4
store i8*%gi,i8**%d,align 8
%gl=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gm=bitcast i8*%gi to i8**
store i8*%gl,i8**%gm,align 8
%gn=getelementptr inbounds i8,i8*%gi,i64 8
%go=bitcast i8*%gn to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%go,align 8
%gp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gq=getelementptr inbounds i8,i8*%gi,i64 16
%gr=bitcast i8*%gq to i8**
store i8*%gp,i8**%gr,align 8
%gs=getelementptr inbounds i8,i8*%gi,i64 24
%gt=bitcast i8*%gs to i32*
store i32 7,i32*%gt,align 4
%gu=call i8*@sml_alloc(i32 inreg 60)#0
%gv=getelementptr inbounds i8,i8*%gu,i64 -4
%gw=bitcast i8*%gv to i32*
store i32 1342177336,i32*%gw,align 4
%gx=getelementptr inbounds i8,i8*%gu,i64 56
%gy=bitcast i8*%gx to i32*
store i32 1,i32*%gy,align 4
%gz=load i8*,i8**%d,align 8
%gA=bitcast i8*%gu to i8**
store i8*%gz,i8**%gA,align 8
call void@sml_raise(i8*inreg%gu)#1
unreachable
gB:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%gC=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%gC,i8**%b,align 8
%gD=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@k,i64 0,i32 2)to i8*))
store i8*%gD,i8**%c,align 8
%gE=call i8*@sml_alloc(i32 inreg 28)#0
%gF=getelementptr inbounds i8,i8*%gE,i64 -4
%gG=bitcast i8*%gF to i32*
store i32 1342177304,i32*%gG,align 4
store i8*%gE,i8**%d,align 8
%gH=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gI=bitcast i8*%gE to i8**
store i8*%gH,i8**%gI,align 8
%gJ=getelementptr inbounds i8,i8*%gE,i64 8
%gK=bitcast i8*%gJ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%gK,align 8
%gL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gM=getelementptr inbounds i8,i8*%gE,i64 16
%gN=bitcast i8*%gM to i8**
store i8*%gL,i8**%gN,align 8
%gO=getelementptr inbounds i8,i8*%gE,i64 24
%gP=bitcast i8*%gO to i32*
store i32 7,i32*%gP,align 4
%gQ=call i8*@sml_alloc(i32 inreg 60)#0
%gR=getelementptr inbounds i8,i8*%gQ,i64 -4
%gS=bitcast i8*%gR to i32*
store i32 1342177336,i32*%gS,align 4
%gT=getelementptr inbounds i8,i8*%gQ,i64 56
%gU=bitcast i8*%gT to i32*
store i32 1,i32*%gU,align 4
%gV=load i8*,i8**%d,align 8
%gW=bitcast i8*%gQ to i8**
store i8*%gV,i8**%gW,align 8
call void@sml_raise(i8*inreg%gQ)#1
unreachable
gX:
%gY=call fastcc i8*@_SMLFN16NameEvalEnvPrims10rebindTstrE(i32 inreg 10)
%gZ=getelementptr inbounds i8,i8*%gY,i64 16
%g0=bitcast i8*%gZ to i8*(i8*,i8*)**
%g1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g0,align 8
%g2=bitcast i8*%gY to i8**
%g3=load i8*,i8**%g2,align 8
store i8*%g3,i8**%e,align 8
%g4=call i8*@sml_alloc(i32 inreg 28)#0
%g5=getelementptr inbounds i8,i8*%g4,i64 -4
%g6=bitcast i8*%g5 to i32*
store i32 1342177304,i32*%g6,align 4
%g7=load i8*,i8**%d,align 8
%g8=bitcast i8*%g4 to i8**
store i8*%g7,i8**%g8,align 8
%g9=load i8*,i8**%b,align 8
%ha=getelementptr inbounds i8,i8*%g4,i64 8
%hb=bitcast i8*%ha to i8**
store i8*%g9,i8**%hb,align 8
%hc=load i8*,i8**%c,align 8
%hd=getelementptr inbounds i8,i8*%g4,i64 16
%he=bitcast i8*%hd to i8**
store i8*%hc,i8**%he,align 8
%hf=getelementptr inbounds i8,i8*%g4,i64 24
%hg=bitcast i8*%hf to i32*
store i32 7,i32*%hg,align 4
%hh=load i8*,i8**%e,align 8
%hi=tail call fastcc i8*%g1(i8*inreg%hh,i8*inreg%g4)
ret i8*%hi
hj:
%hk=call fastcc i8*@_SMLFN16NameEvalEnvPrims10rebindTstrE(i32 inreg 10)
%hl=getelementptr inbounds i8,i8*%hk,i64 16
%hm=bitcast i8*%hl to i8*(i8*,i8*)**
%hn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hm,align 8
%ho=bitcast i8*%hk to i8**
%hp=load i8*,i8**%ho,align 8
store i8*%hp,i8**%e,align 8
%hq=call i8*@sml_alloc(i32 inreg 28)#0
%hr=getelementptr inbounds i8,i8*%hq,i64 -4
%hs=bitcast i8*%hr to i32*
store i32 1342177304,i32*%hs,align 4
%ht=load i8*,i8**%d,align 8
%hu=bitcast i8*%hq to i8**
store i8*%ht,i8**%hu,align 8
%hv=load i8*,i8**%b,align 8
%hw=getelementptr inbounds i8,i8*%hq,i64 8
%hx=bitcast i8*%hw to i8**
store i8*%hv,i8**%hx,align 8
%hy=load i8*,i8**%c,align 8
%hz=getelementptr inbounds i8,i8*%hq,i64 16
%hA=bitcast i8*%hz to i8**
store i8*%hy,i8**%hA,align 8
%hB=getelementptr inbounds i8,i8*%hq,i64 24
%hC=bitcast i8*%hB to i32*
store i32 7,i32*%hC,align 4
%hD=load i8*,i8**%e,align 8
%hE=tail call fastcc i8*%hn(i8*inreg%hD,i8*inreg%hq)
ret i8*%hE
}
define internal fastcc i8*@_SMLL10genArgVarE_438(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
v:
%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
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
store i8*%a,i8**%n,align 8
store i8*%b,i8**%c,align 8
%p=load atomic i32,i32*@sml_check_flag unordered,align 4
%q=icmp eq i32%p,0
br i1%q,label%t,label%r
r:
call void@sml_check(i32 inreg%p)
%s=load i8*,i8**%c,align 8
br label%t
t:
%u=phi i8*[%s,%r],[%b,%v]
%w=bitcast i8*%u to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%g,align 8
%y=getelementptr inbounds i8,i8*%u,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i8***
%D=load i8**,i8***%C,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%h,align 8
%F=getelementptr inbounds i8*,i8**%D,i64 1
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%i,align 8
%H=getelementptr inbounds i8*,i8**%D,i64 2
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%j,align 8
%J=getelementptr inbounds i8*,i8**%D,i64 3
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%k,align 8
%L=bitcast i8*%A to i32*
%M=load i32,i32*%L,align 4
switch i32%M,label%N[
i32 11,label%d1
i32 10,label%aQ
i32 9,label%az
]
N:
store i8*null,i8**%n,align 8
%O=call fastcc i8*@_SMLFN16NameEvalEnvPrims8rebindIdE(i32 inreg 1)
%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**%d,align 8
%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**%h,align 8
store i8*null,i8**%h,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aa=getelementptr inbounds i8,i8*%U,i64 8
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=getelementptr inbounds i8,i8*%U,i64 16
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%U,i64 24
%ag=bitcast i8*%af to i32*
store i32 7,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=call fastcc i8*%R(i8*inreg%ah,i8*inreg%U)
store i8*%ai,i8**%c,align 8
%aj=call i8*@sml_alloc(i32 inreg 36)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177312,i32*%al,align 4
%am=load i8*,i8**%c,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=load i8*,i8**%i,align 8
%ap=getelementptr inbounds i8,i8*%aj,i64 8
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=load i8*,i8**%j,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 16
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=load i8*,i8**%k,align 8
%av=getelementptr inbounds i8,i8*%aj,i64 24
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%aj,i64 32
%ay=bitcast i8*%ax to i32*
store i32 15,i32*%ay,align 4
ret i8*%aj
az:
store i8*null,i8**%g,align 8
store i8*null,i8**%n,align 8
store i8*null,i8**%c,align 8
%aA=call i8*@sml_alloc(i32 inreg 36)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177312,i32*%aC,align 4
%aD=load i8*,i8**%h,align 8
%aE=bitcast i8*%aA to i8**
store i8*%aD,i8**%aE,align 8
%aF=load i8*,i8**%i,align 8
%aG=getelementptr inbounds i8,i8*%aA,i64 8
%aH=bitcast i8*%aG to i8**
store i8*%aF,i8**%aH,align 8
%aI=load i8*,i8**%j,align 8
%aJ=getelementptr inbounds i8,i8*%aA,i64 16
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=load i8*,i8**%k,align 8
%aM=getelementptr inbounds i8,i8*%aA,i64 24
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aA,i64 32
%aP=bitcast i8*%aO to i32*
store i32 15,i32*%aP,align 4
ret i8*%aA
aQ:
store i8*null,i8**%c,align 8
%aR=getelementptr inbounds i8,i8*%A,i64 8
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%l,align 8
%aW=getelementptr inbounds i8,i8*%aT,i64 16
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%m,align 8
%aZ=call fastcc i32@_SMLFN5VarID8generateE(i32 inreg 0)
%a0=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%a1=getelementptr inbounds i8,i8*%a0,i64 16
%a2=bitcast i8*%a1 to i8*(i8*,i8*)**
%a3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a2,align 8
%a4=bitcast i8*%a0 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%d,align 8
%a6=bitcast i8**%n to i8***
%a7=load i8**,i8***%a6,align 8
%a8=load i8*,i8**%a7,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**%e,align 8
%bc=load i8*,i8**%g,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*null,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 20)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177296,i32*%bk,align 4
%bl=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bo=getelementptr inbounds i8,i8*%bi,i64 8
%bp=bitcast i8*%bo to i8**
store i8*%bn,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bi,i64 16
%br=bitcast i8*%bq to i32*
store i32 3,i32*%br,align 4
%bs=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bt=call fastcc i8*%a3(i8*inreg%bs,i8*inreg%bi)
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=getelementptr inbounds i8,i8*%bu,i64 4
%by=bitcast i8*%bx to i32*
store i32 0,i32*%by,align 1
%bz=bitcast i8*%bu to i32*
store i32%aZ,i32*%bz,align 4
%bA=load i8*,i8**%c,align 8
%bB=getelementptr inbounds i8,i8*%bu,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bu,i64 16
%bE=bitcast i8*%bD to i32*
store i32 2,i32*%bE,align 4
%bF=load i8*,i8**@_SMLZN12BuiltinTypes9exntagITyE,align 8
store i8*%bF,i8**%f,align 8
%bG=call i8*@sml_alloc(i32 inreg 20)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177296,i32*%bI,align 4
store i8*%bG,i8**%e,align 8
%bJ=load i8*,i8**%d,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bM=getelementptr inbounds i8,i8*%bG,i64 8
%bN=bitcast i8*%bM to i8**
store i8*%bL,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bG,i64 16
%bP=bitcast i8*%bO to i32*
store i32 3,i32*%bP,align 4
%bQ=call fastcc i32@_SMLFN5ExnID8generateE(i32 inreg 0)
%bR=call i8*@sml_alloc(i32 inreg 28)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177304,i32*%bT,align 4
store i8*%bR,i8**%f,align 8
%bU=getelementptr inbounds i8,i8*%bR,i64 4
%bV=bitcast i8*%bU to i32*
store i32 0,i32*%bV,align 1
%bW=bitcast i8*%bR to i32*
store i32%bQ,i32*%bW,align 4
%bX=load i8*,i8**%c,align 8
%bY=getelementptr inbounds i8,i8*%bR,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=load i8*,i8**%m,align 8
%b1=getelementptr inbounds i8,i8*%bR,i64 16
%b2=bitcast i8*%b1 to i8**
store i8*%b0,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bR,i64 24
%b4=bitcast i8*%b3 to i32*
store i32 6,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**%o,align 8
%b8=getelementptr inbounds i8,i8*%b5,i64 12
%b9=bitcast i8*%b8 to i32*
store i32 0,i32*%b9,align 1
%ca=load i8*,i8**%l,align 8
%cb=bitcast i8*%b5 to i8**
store i8*null,i8**%l,align 8
store i8*%ca,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b5,i64 8
%cd=bitcast i8*%cc to i32*
store i32%bQ,i32*%cd,align 4
%ce=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cf=getelementptr inbounds i8,i8*%b5,i64 16
%cg=bitcast i8*%cf to i8**
store i8*%ce,i8**%cg,align 8
%ch=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%ci=getelementptr inbounds i8,i8*%b5,i64 24
%cj=bitcast i8*%ci to i8**
store i8*%ch,i8**%cj,align 8
%ck=getelementptr inbounds i8,i8*%b5,i64 32
%cl=bitcast i8*%ck to i32*
store i32 13,i32*%cl,align 4
%cm=call i8*@sml_alloc(i32 inreg 20)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177296,i32*%co,align 4
store i8*%cm,i8**%l,align 8
%cp=getelementptr inbounds i8,i8*%cm,i64 4
%cq=bitcast i8*%cp to i32*
store i32 0,i32*%cq,align 1
%cr=bitcast i8*%cm to i32*
store i32 4,i32*%cr,align 4
%cs=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%ct=getelementptr inbounds i8,i8*%cm,i64 8
%cu=bitcast i8*%ct to i8**
store i8*%cs,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cm,i64 16
%cw=bitcast i8*%cv to i32*
store i32 2,i32*%cw,align 4
%cx=call i8*@sml_alloc(i32 inreg 20)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177296,i32*%cz,align 4
store i8*%cx,i8**%c,align 8
%cA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=load i8*,i8**%d,align 8
%cD=getelementptr inbounds i8,i8*%cx,i64 8
%cE=bitcast i8*%cD to i8**
store i8*%cC,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cx,i64 16
%cG=bitcast i8*%cF to i32*
store i32 3,i32*%cG,align 4
%cH=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%cI=getelementptr inbounds i8,i8*%cH,i64 8
%cJ=bitcast i8*%cI to i8**
%cK=load i8*,i8**%cJ,align 8
store i8*%cK,i8**%d,align 8
%cL=call i8*@sml_alloc(i32 inreg 20)#0
%cM=getelementptr inbounds i8,i8*%cL,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177296,i32*%cN,align 4
store i8*%cL,i8**%f,align 8
%cO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cP=bitcast i8*%cL to i8**
store i8*%cO,i8**%cP,align 8
%cQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cR=getelementptr inbounds i8,i8*%cL,i64 8
%cS=bitcast i8*%cR to i8**
store i8*%cQ,i8**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cL,i64 16
%cU=bitcast i8*%cT to i32*
store i32 3,i32*%cU,align 4
%cV=call i8*@sml_alloc(i32 inreg 20)#0
%cW=getelementptr inbounds i8,i8*%cV,i64 -4
%cX=bitcast i8*%cW to i32*
store i32 1342177296,i32*%cX,align 4
store i8*%cV,i8**%d,align 8
%cY=getelementptr inbounds i8,i8*%cV,i64 4
%cZ=bitcast i8*%cY to i32*
store i32 0,i32*%cZ,align 1
%c0=bitcast i8*%cV to i32*
store i32 3,i32*%c0,align 4
%c1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c2=getelementptr inbounds i8,i8*%cV,i64 8
%c3=bitcast i8*%c2 to i8**
store i8*%c1,i8**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cV,i64 16
%c5=bitcast i8*%c4 to i32*
store i32 2,i32*%c5,align 4
%c6=call fastcc i8*@_SMLFN16NameEvalEnvPrims8rebindIdE(i32 inreg 1)
%c7=getelementptr inbounds i8,i8*%c6,i64 16
%c8=bitcast i8*%c7 to i8*(i8*,i8*)**
%c9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c8,align 8
%da=bitcast i8*%c6 to i8**
%db=load i8*,i8**%da,align 8
store i8*%db,i8**%c,align 8
%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**%h,align 8
store i8*null,i8**%h,align 8
%dg=bitcast i8*%dc to i8**
store i8*%df,i8**%dg,align 8
%dh=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%di=getelementptr inbounds i8,i8*%dc,i64 8
%dj=bitcast i8*%di to i8**
store i8*%dh,i8**%dj,align 8
%dk=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dl=getelementptr inbounds i8,i8*%dc,i64 16
%dm=bitcast i8*%dl to i8**
store i8*%dk,i8**%dm,align 8
%dn=getelementptr inbounds i8,i8*%dc,i64 24
%do=bitcast i8*%dn to i32*
store i32 7,i32*%do,align 4
%dp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dq=call fastcc i8*%c9(i8*inreg%dp,i8*inreg%dc)
store i8*%dq,i8**%c,align 8
%dr=call i8*@sml_alloc(i32 inreg 20)#0
%ds=getelementptr inbounds i8,i8*%dr,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177296,i32*%dt,align 4
store i8*%dr,i8**%f,align 8
%du=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dx=getelementptr inbounds i8,i8*%dr,i64 8
%dy=bitcast i8*%dx to i8**
store i8*%dw,i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%dr,i64 16
%dA=bitcast i8*%dz to i32*
store i32 3,i32*%dA,align 4
%dB=call i8*@sml_alloc(i32 inreg 20)#0
%dC=getelementptr inbounds i8,i8*%dB,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177296,i32*%dD,align 4
store i8*%dB,i8**%e,align 8
%dE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dF=bitcast i8*%dB to i8**
store i8*%dE,i8**%dF,align 8
%dG=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dH=getelementptr inbounds i8,i8*%dB,i64 8
%dI=bitcast i8*%dH to i8**
store i8*%dG,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dB,i64 16
%dK=bitcast i8*%dJ to i32*
store i32 3,i32*%dK,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
%dO=load i8*,i8**%c,align 8
%dP=bitcast i8*%dL to i8**
store i8*%dO,i8**%dP,align 8
%dQ=load i8*,i8**%f,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**%e,align 8
%dU=getelementptr inbounds i8,i8*%dL,i64 16
%dV=bitcast i8*%dU to i8**
store i8*%dT,i8**%dV,align 8
%dW=load i8*,i8**%k,align 8
%dX=getelementptr inbounds i8,i8*%dL,i64 24
%dY=bitcast i8*%dX to i8**
store i8*%dW,i8**%dY,align 8
%dZ=getelementptr inbounds i8,i8*%dL,i64 32
%d0=bitcast i8*%dZ to i32*
store i32 15,i32*%d0,align 4
ret i8*%dL
d1:
store i8*null,i8**%c,align 8
%d2=getelementptr inbounds i8,i8*%A,i64 8
%d3=bitcast i8*%d2 to i8**
%d4=load i8*,i8**%d3,align 8
%d5=bitcast i8*%d4 to i8**
%d6=load i8*,i8**%d5,align 8
store i8*%d6,i8**%d,align 8
%d7=getelementptr inbounds i8,i8*%d4,i64 16
%d8=bitcast i8*%d7 to i8**
%d9=load i8*,i8**%d8,align 8
store i8*%d9,i8**%e,align 8
%ea=call fastcc i32@_SMLFN5VarID8generateE(i32 inreg 0)
%eb=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%ec=getelementptr inbounds i8,i8*%eb,i64 16
%ed=bitcast i8*%ec to i8*(i8*,i8*)**
%ee=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ed,align 8
%ef=bitcast i8*%eb to i8**
%eg=load i8*,i8**%ef,align 8
store i8*%eg,i8**%f,align 8
%eh=bitcast i8**%n to i8***
%ei=load i8**,i8***%eh,align 8
store i8*null,i8**%n,align 8
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%c,align 8
%ek=call i8*@sml_alloc(i32 inreg 20)#0
%el=getelementptr inbounds i8,i8*%ek,i64 -4
%em=bitcast i8*%el to i32*
store i32 1342177296,i32*%em,align 4
store i8*%ek,i8**%l,align 8
%en=load i8*,i8**%g,align 8
%eo=bitcast i8*%ek to i8**
store i8*%en,i8**%eo,align 8
%ep=getelementptr inbounds i8,i8*%ek,i64 8
%eq=bitcast i8*%ep to i8**
store i8*null,i8**%eq,align 8
%er=getelementptr inbounds i8,i8*%ek,i64 16
%es=bitcast i8*%er to i32*
store i32 3,i32*%es,align 4
%et=call i8*@sml_alloc(i32 inreg 20)#0
%eu=getelementptr inbounds i8,i8*%et,i64 -4
%ev=bitcast i8*%eu to i32*
store i32 1342177296,i32*%ev,align 4
%ew=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ex=bitcast i8*%et to i8**
store i8*%ew,i8**%ex,align 8
%ey=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ez=getelementptr inbounds i8,i8*%et,i64 8
%eA=bitcast i8*%ez to i8**
store i8*%ey,i8**%eA,align 8
%eB=getelementptr inbounds i8,i8*%et,i64 16
%eC=bitcast i8*%eB to i32*
store i32 3,i32*%eC,align 4
%eD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eE=call fastcc i8*%ee(i8*inreg%eD,i8*inreg%et)
store i8*%eE,i8**%c,align 8
%eF=call i8*@sml_alloc(i32 inreg 28)#0
%eG=getelementptr inbounds i8,i8*%eF,i64 -4
%eH=bitcast i8*%eG to i32*
store i32 1342177304,i32*%eH,align 4
store i8*%eF,i8**%f,align 8
%eI=getelementptr inbounds i8,i8*%eF,i64 12
%eJ=bitcast i8*%eI to i32*
store i32 0,i32*%eJ,align 1
%eK=load i8*,i8**%d,align 8
%eL=bitcast i8*%eF to i8**
store i8*null,i8**%d,align 8
store i8*%eK,i8**%eL,align 8
%eM=getelementptr inbounds i8,i8*%eF,i64 8
%eN=bitcast i8*%eM to i32*
store i32%ea,i32*%eN,align 4
%eO=load i8*,i8**%c,align 8
%eP=getelementptr inbounds i8,i8*%eF,i64 16
%eQ=bitcast i8*%eP to i8**
store i8*%eO,i8**%eQ,align 8
%eR=getelementptr inbounds i8,i8*%eF,i64 24
%eS=bitcast i8*%eR to i32*
store i32 5,i32*%eS,align 4
%eT=call i8*@sml_alloc(i32 inreg 20)#0
%eU=getelementptr inbounds i8,i8*%eT,i64 -4
%eV=bitcast i8*%eU to i32*
store i32 1342177296,i32*%eV,align 4
store i8*%eT,i8**%l,align 8
%eW=getelementptr inbounds i8,i8*%eT,i64 4
%eX=bitcast i8*%eW to i32*
store i32 0,i32*%eX,align 1
%eY=bitcast i8*%eT to i32*
store i32 12,i32*%eY,align 4
%eZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%e0=getelementptr inbounds i8,i8*%eT,i64 8
%e1=bitcast i8*%e0 to i8**
store i8*%eZ,i8**%e1,align 8
%e2=getelementptr inbounds i8,i8*%eT,i64 16
%e3=bitcast i8*%e2 to i32*
store i32 2,i32*%e3,align 4
%e4=call i8*@sml_alloc(i32 inreg 20)#0
%e5=getelementptr inbounds i8,i8*%e4,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177296,i32*%e6,align 4
store i8*%e4,i8**%d,align 8
%e7=getelementptr inbounds i8,i8*%e4,i64 4
%e8=bitcast i8*%e7 to i32*
store i32 0,i32*%e8,align 1
%e9=bitcast i8*%e4 to i32*
store i32%ea,i32*%e9,align 4
%fa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fb=getelementptr inbounds i8,i8*%e4,i64 8
%fc=bitcast i8*%fb to i8**
store i8*%fa,i8**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e4,i64 16
%fe=bitcast i8*%fd to i32*
store i32 2,i32*%fe,align 4
%ff=call i8*@sml_alloc(i32 inreg 20)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177296,i32*%fh,align 4
store i8*%ff,i8**%c,align 8
%fi=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 8
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%ff,i64 16
%fo=bitcast i8*%fn to i32*
store i32 3,i32*%fo,align 4
%fp=call fastcc i8*@_SMLFN16NameEvalEnvPrims8rebindIdE(i32 inreg 1)
%fq=getelementptr inbounds i8,i8*%fp,i64 16
%fr=bitcast i8*%fq to i8*(i8*,i8*)**
%fs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fr,align 8
%ft=bitcast i8*%fp to i8**
%fu=load i8*,i8**%ft,align 8
store i8*%fu,i8**%d,align 8
%fv=call i8*@sml_alloc(i32 inreg 28)#0
%fw=getelementptr inbounds i8,i8*%fv,i64 -4
%fx=bitcast i8*%fw to i32*
store i32 1342177304,i32*%fx,align 4
%fy=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fz=bitcast i8*%fv to i8**
store i8*%fy,i8**%fz,align 8
%fA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fB=getelementptr inbounds i8,i8*%fv,i64 8
%fC=bitcast i8*%fB to i8**
store i8*%fA,i8**%fC,align 8
%fD=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%fE=getelementptr inbounds i8,i8*%fv,i64 16
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=getelementptr inbounds i8,i8*%fv,i64 24
%fH=bitcast i8*%fG to i32*
store i32 7,i32*%fH,align 4
%fI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fJ=call fastcc i8*%fs(i8*inreg%fI,i8*inreg%fv)
store i8*%fJ,i8**%d,align 8
%fK=call i8*@sml_alloc(i32 inreg 20)#0
%fL=getelementptr inbounds i8,i8*%fK,i64 -4
%fM=bitcast i8*%fL to i32*
store i32 1342177296,i32*%fM,align 4
store i8*%fK,i8**%e,align 8
%fN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fO=bitcast i8*%fK to i8**
store i8*%fN,i8**%fO,align 8
%fP=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fQ=getelementptr inbounds i8,i8*%fK,i64 8
%fR=bitcast i8*%fQ to i8**
store i8*%fP,i8**%fR,align 8
%fS=getelementptr inbounds i8,i8*%fK,i64 16
%fT=bitcast i8*%fS to i32*
store i32 3,i32*%fT,align 4
%fU=call i8*@sml_alloc(i32 inreg 36)#0
%fV=getelementptr inbounds i8,i8*%fU,i64 -4
%fW=bitcast i8*%fV to i32*
store i32 1342177312,i32*%fW,align 4
%fX=load i8*,i8**%d,align 8
%fY=bitcast i8*%fU to i8**
store i8*%fX,i8**%fY,align 8
%fZ=load i8*,i8**%i,align 8
%f0=getelementptr inbounds i8,i8*%fU,i64 8
%f1=bitcast i8*%f0 to i8**
store i8*%fZ,i8**%f1,align 8
%f2=load i8*,i8**%j,align 8
%f3=getelementptr inbounds i8,i8*%fU,i64 16
%f4=bitcast i8*%f3 to i8**
store i8*%f2,i8**%f4,align 8
%f5=load i8*,i8**%e,align 8
%f6=getelementptr inbounds i8,i8*%fU,i64 24
%f7=bitcast i8*%f6 to i8**
store i8*%f5,i8**%f7,align 8
%f8=getelementptr inbounds i8,i8*%fU,i64 32
%f9=bitcast i8*%f8 to i32*
store i32 15,i32*%f9,align 4
ret i8*%fU
}
define internal fastcc i8*@_SMLL10genArgVarE_439(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
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
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%g,align 8
%s=bitcast i8**%d to i8***
%t=load i8**,i8***%s,align 8
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=getelementptr inbounds i8*,i8**%t,i64 2
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%f,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%h,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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%x,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177304,i32*%J,align 4
%K=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgVarE_438 to void(...)*),void(...)**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 16
%P=bitcast i8*%O to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgVarE_438 to void(...)*),void(...)**%P,align 8
%Q=getelementptr inbounds i8,i8*%H,i64 24
%R=bitcast i8*%Q to i32*
store i32 -2147483647,i32*%R,align 4
%S=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%T=call fastcc i8*%p(i8*inreg%S,i8*inreg%H)
%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=call i8*@sml_alloc(i32 inreg 36)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177312,i32*%ab,align 4
%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=getelementptr inbounds i8,i8*%Z,i64 32
%ag=bitcast i8*%af to i32*
call void@llvm.memset.p0i8.i64(i8*%ae,i8 0,i64 24,i1 false)
store i32 15,i32*%ag,align 4
%ah=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ai=call fastcc i8*%W(i8*inreg%ah,i8*inreg%Z)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**%d,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=tail call fastcc i8*%al(i8*inreg%an,i8*inreg%ar)
ret i8*%as
}
define internal fastcc i8*@_SMLL10genArgVarE_440(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=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
store i8*%l,i8**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,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**%f,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*)*@_SMLL10genArgVarE_439 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*)*@_SMLL10genArgVarE_439 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLL10genArgVarE_441(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=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**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgVarE_440 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgVarE_440 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL10genArgStrE_444(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%o,label%q
o:
%p=bitcast i8*%b to i8**
br label%v
q:
call void@sml_check(i32 inreg%m)
%r=bitcast i8**%c to i8***
%s=load i8**,i8***%r,align 8
%t=bitcast i8**%s to i8*
%u=load i8*,i8**%d,align 8
br label%v
v:
%w=phi i8*[%u,%q],[%a,%o]
%x=phi i8*[%t,%q],[%b,%o]
%y=phi i8**[%s,%q],[%p,%o]
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%g,align 8
%A=getelementptr inbounds i8*,i8**%y,i64 2
%B=bitcast i8**%A to i8***
%C=load i8**,i8***%B,align 8
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%h,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,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**%i,align 8
%K=getelementptr inbounds i8,i8*%G,i64 16
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%j,align 8
%N=getelementptr inbounds i8,i8*%G,i64 24
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%k,align 8
%Q=getelementptr inbounds i8,i8*%w,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%f,align 8
%T=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 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
store i8*%Y,i8**%e,align 8
%Z=bitcast i8**%d to i8***
%aa=load i8**,i8***%Z,align 8
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%d,align 8
%ac=call i8*@sml_alloc(i32 inreg 20)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177296,i32*%ae,align 4
store i8*%ac,i8**%l,align 8
%af=load i8*,i8**%g,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to i8**
store i8*null,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%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
%ao=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%al,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aw=call fastcc i8*%W(i8*inreg%av,i8*inreg%al)
%ax=load i8*,i8**%c,align 8
store i8*null,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
%aB=getelementptr inbounds i8,i8*%aA,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aF=call fastcc i8*@_SMLL14genArgStrEntry_443(i8*inreg%aE,i8*inreg%aw,i8*inreg%aD)
%aG=getelementptr inbounds i8,i8*%aF,i64 24
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%c,align 8
%aJ=bitcast i8*%aF to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%d,align 8
%aL=getelementptr inbounds i8,i8*%aF,i64 16
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%e,align 8
%aO=getelementptr inbounds i8,i8*%aF,i64 8
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
store i8*%aQ,i8**%f,align 8
%aR=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%l,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
%a0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i32*
store i32 3,i32*%a6,align 4
%a7=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%a8=call fastcc i8*%aU(i8*inreg%a7,i8*inreg%aX)
store i8*%a8,i8**%c,align 8
%a9=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%ba=getelementptr inbounds i8,i8*%a9,i64 16
%bb=bitcast i8*%ba to i8*(i8*,i8*)**
%bc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bb,align 8
%bd=bitcast i8*%a9 to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%k,align 8
%bf=call i8*@sml_alloc(i32 inreg 20)#0
%bg=getelementptr inbounds i8,i8*%bf,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177296,i32*%bh,align 4
%bi=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bj=bitcast i8*%bf to i8**
store i8*%bi,i8**%bj,align 8
%bk=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bl=getelementptr inbounds i8,i8*%bf,i64 8
%bm=bitcast i8*%bl to i8**
store i8*%bk,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%bf,i64 16
%bo=bitcast i8*%bn to i32*
store i32 3,i32*%bo,align 4
%bp=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bq=call fastcc i8*%bc(i8*inreg%bp,i8*inreg%bf)
store i8*%bq,i8**%d,align 8
%br=call fastcc i8*@_SMLFN16NameEvalEnvPrims9rebindStrE(i32 inreg 10)
%bs=getelementptr inbounds i8,i8*%br,i64 16
%bt=bitcast i8*%bs to i8*(i8*,i8*)**
%bu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bt,align 8
%bv=bitcast i8*%br to i8**
%bw=load i8*,i8**%bv,align 8
store i8*%bw,i8**%i,align 8
%bx=call i8*@sml_alloc(i32 inreg 28)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177304,i32*%bz,align 4
%bA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bD=getelementptr inbounds i8,i8*%bx,i64 8
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bG=getelementptr inbounds i8,i8*%bx,i64 16
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bx,i64 24
%bJ=bitcast i8*%bI to i32*
store i32 7,i32*%bJ,align 4
%bK=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bL=call fastcc i8*%bu(i8*inreg%bK,i8*inreg%bx)
store i8*%bL,i8**%e,align 8
%bM=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%bN=getelementptr inbounds i8,i8*%bM,i64 16
%bO=bitcast i8*%bN to i8*(i8*,i8*)**
%bP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bO,align 8
%bQ=bitcast i8*%bM to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%g,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
%bV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bY=getelementptr inbounds i8,i8*%bS,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bS,i64 16
%b1=bitcast i8*%b0 to i32*
store i32 3,i32*%b1,align 4
%b2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b3=call fastcc i8*%bP(i8*inreg%b2,i8*inreg%bS)
store i8*%b3,i8**%f,align 8
%b4=call i8*@sml_alloc(i32 inreg 36)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177312,i32*%b6,align 4
%b7=load i8*,i8**%e,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%d,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=load i8*,i8**%f,align 8
%cd=getelementptr inbounds i8,i8*%b4,i64 16
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=load i8*,i8**%c,align 8
%cg=getelementptr inbounds i8,i8*%b4,i64 24
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%b4,i64 32
%cj=bitcast i8*%ci to i32*
store i32 15,i32*%cj,align 4
ret i8*%b4
}
define internal fastcc i8*@_SMLL10genArgStrE_442(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#2 gc"smlsharp"{
%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**%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**%h,align 8
store i8*%b,i8**%g,align 8
store i8*%c,i8**%f,align 8
store i8*%d,i8**%e,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%n,label%m
m:
call void@sml_check(i32 inreg%k)
br label%n
n:
%o=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(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**%i,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**%j,align 8
%x=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%u,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 28)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177304,i32*%G,align 4
%H=load i8*,i8**%j,align 8
store i8*null,i8**%j,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgStrE_444 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgStrE_444 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%E,i64 24
%O=bitcast i8*%N to i32*
store i32 -2147483647,i32*%O,align 4
%P=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%Q=call fastcc i8*%r(i8*inreg%P,i8*inreg%E)
%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**%g,align 8
%W=call i8*@sml_alloc(i32 inreg 36)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177312,i32*%Y,align 4
%Z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%W,i64 8
%ac=getelementptr inbounds i8,i8*%W,i64 32
%ad=bitcast i8*%ac to i32*
call void@llvm.memset.p0i8.i64(i8*%ab,i8 0,i64 24,i1 false)
store i32 15,i32*%ad,align 4
%ae=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%af=call fastcc i8*%T(i8*inreg%ae,i8*inreg%W)
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
%al=load i8*,i8**%f,align 8
%am=call fastcc i8*%ai(i8*inreg%ak,i8*inreg%al)
ret i8*%am
}
define internal fastcc i8*@_SMLL14genArgStrEntry_443(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
v:
%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
%l=alloca i8*,align 8
%m=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
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%b,i8**%d,align 8
store i8*%c,i8**%e,align 8
store i8*%a,i8**%h,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%t,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%e,align 8
%r=load i8*,i8**%d,align 8
%s=load i8*,i8**%h,align 8
br label%t
t:
%u=phi i8*[%s,%p],[%a,%v]
%w=phi i8*[%r,%p],[%b,%v]
%x=phi i8*[%q,%p],[%c,%v]
store i8*null,i8**%e,align 8
store i8*%x,i8**%k,align 8
store i8*null,i8**%d,align 8
store i8*%w,i8**%l,align 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=load i8*,i8**@_SMLZN11NameEvalEnv8emptyEnvE,align 8
%B=call fastcc i8*@_SMLL10genArgStrE_442(i8*inreg%u,i8*inreg%w,i8*inreg%z,i8*inreg%A)
store i8*%B,i8**%g,align 8
%C=getelementptr inbounds i8,i8*%B,i64 24
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%B,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%e,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%f,align 8
%L=bitcast i8**%h to i8***
%M=load i8**,i8***%L,align 8
store i8*null,i8**%h,align 8
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%l,align 8
%P=call fastcc i8*@_SMLL10genArgVarE_441(i8*inreg%N,i8*inreg%O)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
%V=load i8*,i8**%k,align 8
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=call fastcc i8*%S(i8*inreg%U,i8*inreg%Y)
%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
%af=bitcast i8**%g to i8***
%ag=load i8**,i8***%af,align 8
store i8*null,i8**%g,align 8
%ah=load i8*,i8**%ag,align 8
%ai=call fastcc i8*%ac(i8*inreg%ae,i8*inreg%ah)
store i8*%ai,i8**%j,align 8
%aj=getelementptr inbounds i8,i8*%ai,i64 24
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%g,align 8
%am=getelementptr inbounds i8,i8*%ai,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%h,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 16
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%i,align 8
%as=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
store i8*null,i8**%m,align 8
%ay=call fastcc i8*%av(i8*inreg%ax,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@D,i64 0,i32 2)to i8*))
%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
%aE=bitcast i8**%j to i8***
%aF=load i8**,i8***%aE,align 8
store i8*null,i8**%j,align 8
%aG=load i8*,i8**%aF,align 8
%aH=call fastcc i8*%aB(i8*inreg%aD,i8*inreg%aG)
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
%aN=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aO=getelementptr inbounds i8,i8*%aN,i64 8
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
%aR=call fastcc i8*%aK(i8*inreg%aM,i8*inreg%aQ)
store i8*%aR,i8**%j,align 8
%aS=call fastcc i32@_SMLFN11StructureID8generateE(i32 inreg 0)
%aT=call i8*@sml_alloc(i32 inreg 12)#0
%aU=bitcast i8*%aT to i32*
%aV=getelementptr inbounds i8,i8*%aT,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177288,i32*%aW,align 4
store i8*%aT,i8**%m,align 8
store i32 1,i32*%aU,align 4
%aX=getelementptr inbounds i8,i8*%aT,i64 4
%aY=bitcast i8*%aX to i32*
store i32%aS,i32*%aY,align 4
%aZ=getelementptr inbounds i8,i8*%aT,i64 8
%a0=bitcast i8*%aZ to i32*
store i32 0,i32*%a0,align 4
%a1=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%k,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
%ba=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bd=getelementptr inbounds i8,i8*%a7,i64 8
%be=bitcast i8*%bd to i8**
store i8*%bc,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%a7,i64 16
%bg=bitcast i8*%bf to i32*
store i32 3,i32*%bg,align 4
%bh=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bi=call fastcc i8*%a4(i8*inreg%bh,i8*inreg%a7)
store i8*%bi,i8**%d,align 8
%bj=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%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**%g,align 8
%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
%bs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%h,align 8
store i8*null,i8**%h,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=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bA=call fastcc i8*%bm(i8*inreg%bz,i8*inreg%bp)
store i8*%bA,i8**%e,align 8
%bB=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%bC=getelementptr inbounds i8,i8*%bB,i64 16
%bD=bitcast i8*%bC to i8*(i8*,i8*)**
%bE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bD,align 8
%bF=bitcast i8*%bB to i8**
%bG=load i8*,i8**%bF,align 8
store i8*%bG,i8**%g,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
%bK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%i,align 8
store i8*null,i8**%i,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 3,i32*%bQ,align 4
%bR=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bS=call fastcc i8*%bE(i8*inreg%bR,i8*inreg%bH)
store i8*%bS,i8**%f,align 8
%bT=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%bT,i8**%g,align 8
%bU=call i8*@sml_alloc(i32 inreg 36)#0
%bV=getelementptr inbounds i8,i8*%bU,i64 -4
%bW=bitcast i8*%bV to i32*
store i32 1342177312,i32*%bW,align 4
store i8*%bU,i8**%h,align 8
%bX=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%b0=getelementptr inbounds i8,i8*%bU,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b3=getelementptr inbounds i8,i8*%bU,i64 16
%b4=bitcast i8*%b3 to i8**
store i8*%b2,i8**%b4,align 8
%b5=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%b6=getelementptr inbounds i8,i8*%bU,i64 24
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%bU,i64 32
%b9=bitcast i8*%b8 to i32*
store i32 15,i32*%b9,align 4
%ca=call i8*@sml_alloc(i32 inreg 36)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177312,i32*%cc,align 4
%cd=load i8*,i8**%e,align 8
%ce=bitcast i8*%ca to i8**
store i8*%cd,i8**%ce,align 8
%cf=load i8*,i8**%f,align 8
%cg=getelementptr inbounds i8,i8*%ca,i64 8
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=load i8*,i8**%h,align 8
%cj=getelementptr inbounds i8,i8*%ca,i64 16
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=load i8*,i8**%d,align 8
%cm=getelementptr inbounds i8,i8*%ca,i64 24
%cn=bitcast i8*%cm to i8**
store i8*%cl,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%ca,i64 32
%cp=bitcast i8*%co to i32*
store i32 15,i32*%cp,align 4
ret i8*%ca
}
define internal fastcc i8*@_SMLL13extraTvarsMap_449(i8*inreg%a)#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=icmp eq i32%u,5
br i1%v,label%S,label%w
w:
store i8*null,i8**%d,align 8
%x=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%x,i8**%b,align 8
%y=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@F,i64 0,i32 2)to i8*))
store i8*%y,i8**%c,align 8
%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
store i8*%z,i8**%d,align 8
%C=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%F,align 8
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%z,i64 24
%K=bitcast i8*%J to i32*
store i32 7,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 60)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177336,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%L,i64 56
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%d,align 8
%R=bitcast i8*%L to i8**
store i8*%Q,i8**%R,align 8
call void@sml_raise(i8*inreg%L)#1
unreachable
S:
%T=bitcast i8*%m to i8**
%U=getelementptr inbounds i8,i8*%s,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=bitcast i8*%W to i32*
%Y=load i32,i32*%X,align 4
%Z=getelementptr inbounds i8,i8*%W,i64 16
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=load i8*,i8**%T,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%e,align 8
%ag=getelementptr inbounds i8,i8*%m,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%f,align 8
%aj=getelementptr inbounds i8,i8*%W,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=icmp eq i8*%al,null
br i1%am,label%an,label%bY
an:
%ao=call fastcc i8*@_SMLFN6Symbol24coerceLongsymbolToSymbolE(i8*inreg%af)
store i8*%ao,i8**%b,align 8
%ap=call fastcc i32@_SMLFN6TvarID8generateE(i32 inreg 0)
%aq=call i8*@sml_alloc(i32 inreg 28)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177304,i32*%as,align 4
store i8*%aq,i8**%c,align 8
%at=getelementptr inbounds i8,i8*%aq,i64 12
%au=bitcast i8*%at to i32*
store i32 0,i32*%au,align 1
%av=bitcast i8*%aq to i32*
store i32%ap,i32*%av,align 4
%aw=getelementptr inbounds i8,i8*%aq,i64 4
%ax=bitcast i8*%aw to i32*
store i32%Y,i32*%ax,align 4
%ay=getelementptr inbounds i8,i8*%aq,i64 8
%az=bitcast i8*%ay to i32*
store i32 1,i32*%az,align 4
%aA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aB=getelementptr inbounds i8,i8*%aq,i64 16
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aq,i64 24
%aE=bitcast i8*%aD to i32*
store i32 4,i32*%aE,align 4
%aF=call i8*@sml_alloc(i32 inreg 20)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177296,i32*%aH,align 4
store i8*%aF,i8**%g,align 8
%aI=getelementptr inbounds i8,i8*%aF,i64 4
%aJ=bitcast i8*%aI to i32*
store i32 0,i32*%aJ,align 1
%aK=bitcast i8*%aF to i32*
store i32 7,i32*%aK,align 4
%aL=load i8*,i8**%c,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aF,i64 16
%aP=bitcast i8*%aO to i32*
store i32 2,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 36)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177312,i32*%aS,align 4
store i8*%aQ,i8**%b,align 8
%aT=getelementptr inbounds i8,i8*%aQ,i64 4
%aU=bitcast i8*%aT to i32*
store i32 0,i32*%aU,align 1
%aV=bitcast i8*%aQ to i32*
store i32%Y,i32*%aV,align 4
%aW=getelementptr inbounds i8,i8*%aQ,i64 8
%aX=bitcast i8*%aW to i8**
store i8*null,i8**%aX,align 8
%aY=load i8*,i8**%e,align 8
%aZ=getelementptr inbounds i8,i8*%aQ,i64 16
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a2=getelementptr inbounds i8,i8*%aQ,i64 24
%a3=bitcast i8*%a2 to i8**
store i8*%a1,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aQ,i64 32
%a5=bitcast i8*%a4 to i32*
store i32 14,i32*%a5,align 4
%a6=call i8*@sml_alloc(i32 inreg 20)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177296,i32*%a8,align 4
store i8*%a6,i8**%g,align 8
%a9=bitcast i8*%a6 to i64*
store i64 0,i64*%a9,align 4
%ba=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bb=getelementptr inbounds i8,i8*%a6,i64 8
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a6,i64 16
%be=bitcast i8*%bd to i32*
store i32 2,i32*%be,align 4
%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**%b,align 8
%bi=getelementptr inbounds i8,i8*%bf,i64 4
%bj=bitcast i8*%bi to i32*
store i32 0,i32*%bj,align 1
%bk=bitcast i8*%bf to i32*
store i32%ab,i32*%bk,align 4
%bl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bm=getelementptr inbounds i8,i8*%bf,i64 8
%bn=bitcast i8*%bm to i8**
store i8*%bl,i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bf,i64 16
%bp=bitcast i8*%bo to i32*
store i32 2,i32*%bp,align 4
%bq=call i8*@sml_alloc(i32 inreg 20)#0
%br=bitcast i8*%bq to i32*
%bs=getelementptr inbounds i8,i8*%bq,i64 -4
%bt=bitcast i8*%bs to i32*
store i32 1342177296,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 2,i32*%br,align 4
%bw=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bx=getelementptr inbounds i8,i8*%bq,i64 8
%by=bitcast i8*%bx to i8**
store i8*%bw,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%bq,i64 16
%bA=bitcast i8*%bz to i32*
store i32 2,i32*%bA,align 4
%bB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bC=bitcast i8*%bB to i8**
call void@sml_write(i8*inreg%bB,i8**inreg%bC,i8*inreg%bq)#0
%bD=call fastcc i8*@_SMLFN13LongsymbolEnv6insertE(i32 inreg 1,i32 inreg 8)
%bE=getelementptr inbounds i8,i8*%bD,i64 16
%bF=bitcast i8*%bE to i8*(i8*,i8*)**
%bG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bF,align 8
%bH=bitcast i8*%bD to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%b,align 8
%bJ=call i8*@sml_alloc(i32 inreg 28)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177304,i32*%bL,align 4
%bM=load i8*,i8**%f,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%e,align 8
%bP=getelementptr inbounds i8,i8*%bJ,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=load i8*,i8**%c,align 8
%bS=getelementptr inbounds i8,i8*%bJ,i64 16
%bT=bitcast i8*%bS to i8**
store i8*%bR,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bJ,i64 24
%bV=bitcast i8*%bU to i32*
store i32 7,i32*%bV,align 4
%bW=load i8*,i8**%b,align 8
%bX=tail call fastcc i8*%bG(i8*inreg%bW,i8*inreg%bJ)
ret i8*%bX
bY:
ret i8*%ai
}
define internal fastcc i8*@_SMLL8returnTy_459(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=call i8*@sml_alloc(i32 inreg 20)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177296,i32*%f,align 4
%g=getelementptr inbounds i8,i8*%c,i64 4
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 1
store i32 7,i32*%d,align 4
%i=load i8*,i8**%b,align 8
%j=getelementptr inbounds i8,i8*%c,i64 8
%k=bitcast i8*%j to i8**
store i8*%i,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%c,i64 16
%m=bitcast i8*%l to i32*
store i32 2,i32*%m,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLL5conTy_461(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load i8*,i8**@_SMLZN5Types15emptyPropertiesE,align 8
store i8*%e,i8**%c,align 8
%f=call i8*@sml_alloc(i32 inreg 20)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177296,i32*%h,align 4
store i8*%f,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%f,i64 4
%j=bitcast i8*%i to i32*
store i32 0,i32*%j,align 1
%k=bitcast i8*%f to i32*
store i32 1,i32*%k,align 4
%l=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%f,i64 8
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%f,i64 16
%p=bitcast i8*%o to i32*
store i32 2,i32*%p,align 4
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%d,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
ret i8*%q
}
define internal fastcc i8*@_SMLL18materializeDtyTstr_463(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
%l=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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%k,align 8
store i8*%b,i8**%c,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%c,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%b,%s]
%t=bitcast i8*%r to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%g,align 8
%v=getelementptr inbounds i8,i8*%r,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%h,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%i,align 8
%C=getelementptr inbounds i8*,i8**%A,i64 1
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%j,align 8
%E=getelementptr inbounds i8*,i8**%A,i64 2
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%c,align 8
%G=call fastcc i32@_SMLFN5ConID8generateE(i32 inreg 0)
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 12
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 1
%M=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 8
%P=bitcast i8*%O to i32*
store i32%G,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 fastcc i8*@_SMLFN5ConID3Set3addE(i8*inreg%H)
store i8*%S,i8**%c,align 8
%T=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 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
store i8*%Y,i8**%e,align 8
%Z=bitcast i8**%k to i8***
%aa=load i8**,i8***%Z,align 8
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%d,align 8
%ac=call i8*@sml_alloc(i32 inreg 20)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177296,i32*%ae,align 4
store i8*%ac,i8**%f,align 8
%af=load i8*,i8**%g,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to i8**
store i8*null,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%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
%ao=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ar=getelementptr inbounds i8,i8*%al,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%al,i64 16
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aw=call fastcc i8*%W(i8*inreg%av,i8*inreg%al)
store i8*%aw,i8**%d,align 8
%ax=load i8*,i8**%h,align 8
%ay=icmp eq i8*%ax,null
br i1%ay,label%az,label%aE
az:
%aA=load i8*,i8**%k,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 16
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
br label%bg
aE:
%aF=bitcast i8*%ax to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%e,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**%l,align 8
%aK=load i8*,i8**%e,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*null,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=load i8*,i8**%k,align 8
%aR=getelementptr inbounds i8,i8*%aQ,i64 16
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
store i8*%aT,i8**%e,align 8
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
store i8*%aU,i8**%f,align 8
%aX=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a0=getelementptr inbounds i8,i8*%aU,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aU,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 3,i32*%a3,align 4
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=bitcast i8*%a4 to i32*
%a6=getelementptr inbounds i8,i8*%a4,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177296,i32*%a7,align 4
%a8=getelementptr inbounds i8,i8*%a4,i64 4
%a9=bitcast i8*%a8 to i32*
store i32 0,i32*%a9,align 1
store i32 4,i32*%a5,align 4
%ba=load i8*,i8**%f,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 8
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a4,i64 16
%be=bitcast i8*%bd to i32*
store i32 2,i32*%be,align 4
%bf=load i8*,i8**%k,align 8
br label%bg
bg:
%bh=phi i8*[%bf,%aE],[%aA,%az]
%bi=phi i8*[%a4,%aE],[%aD,%az]
store i8*%bi,i8**%e,align 8
%bj=getelementptr inbounds i8,i8*%bh,i64 24
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
%bm=icmp eq i8*%bl,null
br i1%bm,label%b1,label%bn
bn:
%bo=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
%bu=call fastcc i8*%br(i8*inreg%bt,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@M,i64 0,i32 2)to i8*))
%bv=getelementptr inbounds i8,i8*%bu,i64 16
%bw=bitcast i8*%bv to i8*(i8*,i8*)**
%bx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bw,align 8
%by=bitcast i8*%bu to i8**
%bz=load i8*,i8**%by,align 8
%bA=load i8*,i8**%k,align 8
%bB=getelementptr inbounds i8,i8*%bA,i64 24
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
%bE=call fastcc i8*%bx(i8*inreg%bz,i8*inreg%bD)
store i8*%bE,i8**%f,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**%l,align 8
%bI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bL=getelementptr inbounds i8,i8*%bF,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bF,i64 16
%bO=bitcast i8*%bN to i32*
store i32 3,i32*%bO,align 4
%bP=call i8*@sml_alloc(i32 inreg 20)#0
%bQ=bitcast i8*%bP to i32*
%bR=getelementptr inbounds i8,i8*%bP,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177296,i32*%bS,align 4
%bT=getelementptr inbounds i8,i8*%bP,i64 4
%bU=bitcast i8*%bT to i32*
store i32 0,i32*%bU,align 1
store i32 5,i32*%bQ,align 4
%bV=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bW=getelementptr inbounds i8,i8*%bP,i64 8
%bX=bitcast i8*%bW to i8**
store i8*%bV,i8**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bP,i64 16
%bZ=bitcast i8*%bY to i32*
store i32 2,i32*%bZ,align 4
store i8*%bP,i8**%e,align 8
%b0=load i8*,i8**%k,align 8
br label%b1
b1:
%b2=phi i8*[%bh,%bg],[%b0,%bn]
%b3=getelementptr inbounds i8,i8*%b2,i64 8
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
store i8*%b5,i8**%f,align 8
%b6=call i8*@sml_alloc(i32 inreg 36)#0
%b7=getelementptr inbounds i8,i8*%b6,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177312,i32*%b8,align 4
store i8*%b6,i8**%l,align 8
%b9=getelementptr inbounds i8,i8*%b6,i64 12
%ca=bitcast i8*%b9 to i32*
store i32 0,i32*%ca,align 1
%cb=load i8*,i8**%f,align 8
%cc=bitcast i8*%b6 to i8**
store i8*null,i8**%f,align 8
store i8*%cb,i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b6,i64 8
%ce=bitcast i8*%cd to i32*
store i32%G,i32*%ce,align 4
%cf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cg=getelementptr inbounds i8,i8*%b6,i64 16
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cj=getelementptr inbounds i8,i8*%b6,i64 24
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%b6,i64 32
%cm=bitcast i8*%cl to i32*
store i32 13,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg 20)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177296,i32*%cp,align 4
store i8*%cn,i8**%e,align 8
%cq=getelementptr inbounds i8,i8*%cn,i64 4
%cr=bitcast i8*%cq to i32*
store i32 0,i32*%cr,align 1
%cs=bitcast i8*%cn to i32*
store i32 1,i32*%cs,align 4
%ct=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cu=getelementptr inbounds i8,i8*%cn,i64 8
%cv=bitcast i8*%cu to i8**
store i8*%ct,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cn,i64 16
%cx=bitcast i8*%cw to i32*
store i32 2,i32*%cx,align 4
%cy=call fastcc i8*@_SMLFN9SymbolEnv6insertE(i32 inreg 1,i32 inreg 8)
%cz=getelementptr inbounds i8,i8*%cy,i64 16
%cA=bitcast i8*%cz to i8*(i8*,i8*)**
%cB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cA,align 8
%cC=bitcast i8*%cy to i8**
%cD=load i8*,i8**%cC,align 8
store i8*%cD,i8**%d,align 8
%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**%i,align 8
store i8*null,i8**%i,align 8
%cI=bitcast i8*%cE to i8**
store i8*%cH,i8**%cI,align 8
%cJ=load i8*,i8**%g,align 8
%cK=getelementptr inbounds i8,i8*%cE,i64 8
%cL=bitcast i8*%cK to i8**
store i8*%cJ,i8**%cL,align 8
%cM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cN=getelementptr inbounds i8,i8*%cE,i64 16
%cO=bitcast i8*%cN to i8**
store i8*%cM,i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cE,i64 24
%cQ=bitcast i8*%cP to i32*
store i32 7,i32*%cQ,align 4
%cR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cS=call fastcc i8*%cB(i8*inreg%cR,i8*inreg%cE)
store i8*%cS,i8**%f,align 8
%cT=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%cU=getelementptr inbounds i8,i8*%cT,i64 16
%cV=bitcast i8*%cU to i8*(i8*,i8*)**
%cW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cV,align 8
%cX=bitcast i8*%cT to i8**
%cY=load i8*,i8**%cX,align 8
store i8*%cY,i8**%e,align 8
%cZ=load i8**,i8***%Z,align 8
store i8*null,i8**%k,align 8
%c0=load i8*,i8**%cZ,align 8
store i8*%c0,i8**%d,align 8
%c1=call i8*@sml_alloc(i32 inreg 20)#0
%c2=getelementptr inbounds i8,i8*%c1,i64 -4
%c3=bitcast i8*%c2 to i32*
store i32 1342177296,i32*%c3,align 4
store i8*%c1,i8**%i,align 8
%c4=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c5=bitcast i8*%c1 to i8**
store i8*%c4,i8**%c5,align 8
%c6=getelementptr inbounds i8,i8*%c1,i64 8
%c7=bitcast i8*%c6 to i8**
store i8*null,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%c1,i64 16
%c9=bitcast i8*%c8 to i32*
store i32 3,i32*%c9,align 4
%da=call i8*@sml_alloc(i32 inreg 20)#0
%db=getelementptr inbounds i8,i8*%da,i64 -4
%dc=bitcast i8*%db to i32*
store i32 1342177296,i32*%dc,align 4
%dd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%de=bitcast i8*%da to i8**
store i8*%dd,i8**%de,align 8
%df=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dg=getelementptr inbounds i8,i8*%da,i64 8
%dh=bitcast i8*%dg to i8**
store i8*%df,i8**%dh,align 8
%di=getelementptr inbounds i8,i8*%da,i64 16
%dj=bitcast i8*%di to i32*
store i32 3,i32*%dj,align 4
%dk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dl=call fastcc i8*%cW(i8*inreg%dk,i8*inreg%da)
store i8*%dl,i8**%d,align 8
%dm=call i8*@sml_alloc(i32 inreg 20)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177296,i32*%do,align 4
store i8*%dm,i8**%e,align 8
%dp=getelementptr inbounds i8,i8*%dm,i64 4
%dq=bitcast i8*%dp to i32*
store i32 0,i32*%dq,align 1
%dr=bitcast i8*%dm to i32*
store i32%G,i32*%dr,align 4
%ds=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dt=getelementptr inbounds i8,i8*%dm,i64 8
%du=bitcast i8*%dt to i8**
store i8*%ds,i8**%du,align 8
%dv=getelementptr inbounds i8,i8*%dm,i64 16
%dw=bitcast i8*%dv to i32*
store i32 2,i32*%dw,align 4
%dx=call i8*@sml_alloc(i32 inreg 20)#0
%dy=getelementptr inbounds i8,i8*%dx,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177296,i32*%dz,align 4
store i8*%dx,i8**%d,align 8
%dA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dB=bitcast i8*%dx to i8**
store i8*%dA,i8**%dB,align 8
%dC=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dD=getelementptr inbounds i8,i8*%dx,i64 8
%dE=bitcast i8*%dD to i8**
store i8*%dC,i8**%dE,align 8
%dF=getelementptr inbounds i8,i8*%dx,i64 16
%dG=bitcast i8*%dF to i32*
store i32 3,i32*%dG,align 4
%dH=call i8*@sml_alloc(i32 inreg 20)#0
%dI=getelementptr inbounds i8,i8*%dH,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32 1342177296,i32*%dJ,align 4
store i8*%dH,i8**%e,align 8
%dK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dL=bitcast i8*%dH to i8**
store i8*%dK,i8**%dL,align 8
%dM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dN=getelementptr inbounds i8,i8*%dH,i64 8
%dO=bitcast i8*%dN to i8**
store i8*%dM,i8**%dO,align 8
%dP=getelementptr inbounds i8,i8*%dH,i64 16
%dQ=bitcast i8*%dP to i32*
store i32 3,i32*%dQ,align 4
%dR=call i8*@sml_alloc(i32 inreg 28)#0
%dS=getelementptr inbounds i8,i8*%dR,i64 -4
%dT=bitcast i8*%dS to i32*
store i32 1342177304,i32*%dT,align 4
%dU=load i8*,i8**%f,align 8
%dV=bitcast i8*%dR to i8**
store i8*%dU,i8**%dV,align 8
%dW=load i8*,i8**%e,align 8
%dX=getelementptr inbounds i8,i8*%dR,i64 8
%dY=bitcast i8*%dX to i8**
store i8*%dW,i8**%dY,align 8
%dZ=load i8*,i8**%c,align 8
%d0=getelementptr inbounds i8,i8*%dR,i64 16
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dR,i64 24
%d3=bitcast i8*%d2 to i32*
store i32 7,i32*%d3,align 4
ret i8*%dR
}
define internal fastcc void@_SMLL18materializeDtyTstr_468(i8*inreg%a)#2 gc"smlsharp"{
t:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=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
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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%b,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%b,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%a,%t]
%u=getelementptr inbounds i8,i8*%s,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%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=bitcast i8**%b to i8***
%E=load i8**,i8***%D,align 8
store i8*null,i8**%b,align 8
%F=load i8*,i8**%E,align 8
%G=call fastcc i8*%A(i8*inreg%C,i8*inreg%F)
store i8*%G,i8**%b,align 8
%H=icmp eq i8*%G,null
br i1%H,label%I,label%ae
I:
store i8*null,i8**%g,align 8
%J=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%J,i8**%b,align 8
%K=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@I,i64 0,i32 2)to i8*))
store i8*%K,i8**%c,align 8
%L=call i8*@sml_alloc(i32 inreg 28)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177304,i32*%N,align 4
store i8*%L,i8**%d,align 8
%O=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%L,i64 8
%R=bitcast i8*%Q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%R,align 8
%S=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%T=getelementptr inbounds i8,i8*%L,i64 16
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%L,i64 24
%W=bitcast i8*%V to i32*
store i32 7,i32*%W,align 4
%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**%d,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=bitcast i8*%G to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%c,align 8
%ah=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%ai=getelementptr inbounds i8,i8*%ah,i64 16
%aj=bitcast i8*%ai to i8*(i8*,i8*)**
%ak=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aj,align 8
%al=bitcast i8*%ah to i8**
%am=load i8*,i8**%al,align 8
%an=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ao=getelementptr inbounds i8,i8*%an,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
%ar=call fastcc i8*%ak(i8*inreg%am,i8*inreg%aq)
store i8*%ar,i8**%b,align 8
%as=call i8*@sml_alloc(i32 inreg 20)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177296,i32*%au,align 4
%av=load i8*,i8**%c,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=load i8*,i8**%b,align 8
%ay=getelementptr inbounds i8,i8*%as,i64 8
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%as,i64 16
%aB=bitcast i8*%aA to i32*
store i32 3,i32*%aB,align 4
store i8*%av,i8**%b,align 8
store i8*%ax,i8**%c,align 8
%aC=bitcast i8**%g to i8***
%aD=load i8**,i8***%aC,align 8
%aE=load i8*,i8**%aD,align 8
%aF=bitcast i8*%aE to i32*
%aG=load i32,i32*%aF,align 4
switch i32%aG,label%aH[
i32 5,label%fh
i32 4,label%a3
]
aH:
store i8*null,i8**%c,align 8
store i8*null,i8**%g,align 8
%aI=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aI,i8**%b,align 8
%aJ=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@O,i64 0,i32 2)to i8*))
store i8*%aJ,i8**%c,align 8
%aK=call i8*@sml_alloc(i32 inreg 28)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177304,i32*%aM,align 4
store i8*%aK,i8**%d,align 8
%aN=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%aQ,align 8
%aR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aS=getelementptr inbounds i8,i8*%aK,i64 16
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aK,i64 24
%aV=bitcast i8*%aU to i32*
store i32 7,i32*%aV,align 4
%aW=call i8*@sml_alloc(i32 inreg 60)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177336,i32*%aY,align 4
%aZ=getelementptr inbounds i8,i8*%aW,i64 56
%a0=bitcast i8*%aZ to i32*
store i32 1,i32*%a0,align 4
%a1=load i8*,i8**%d,align 8
%a2=bitcast i8*%aW to i8**
store i8*%a1,i8**%a2,align 8
call void@sml_raise(i8*inreg%aW)#1
unreachable
a3:
%a4=getelementptr inbounds i8,i8*%aE,i64 8
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
%a7=bitcast i8*%a6 to i32*
%a8=load i32,i32*%a7,align 4
%a9=getelementptr inbounds i8,i8*%a6,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%h,align 8
%bc=getelementptr inbounds i8,i8*%a6,i64 16
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%i,align 8
%bf=getelementptr inbounds i8,i8*%a6,i64 24
%bg=bitcast i8*%bf to i32*
%bh=load i32,i32*%bg,align 4
%bi=getelementptr inbounds i8,i8*%a6,i64 32
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%j,align 8
%bl=getelementptr inbounds i8,i8*%a6,i64 40
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
store i8*%bn,i8**%k,align 8
%bo=call fastcc i8*@_SMLFN6Symbol15longsymbolToLocE(i8*inreg%bn)
store i8*%bo,i8**%d,align 8
%bp=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
%bv=call fastcc i8*%bs(i8*inreg%bu,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@L,i64 0,i32 2)to i8*))
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
%bB=load i8*,i8**%i,align 8
%bC=call fastcc i8*%by(i8*inreg%bA,i8*inreg%bB)
store i8*%bC,i8**%e,align 8
%bD=call i8*@sml_alloc(i32 inreg 20)#0
%bE=getelementptr inbounds i8,i8*%bD,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177296,i32*%bF,align 4
store i8*%bD,i8**%l,align 8
%bG=getelementptr inbounds i8,i8*%bD,i64 4
%bH=bitcast i8*%bG to i32*
store i32 0,i32*%bH,align 1
%bI=bitcast i8*%bD to i32*
store i32 1,i32*%bI,align 4
%bJ=load i8*,i8**%g,align 8
%bK=getelementptr inbounds i8,i8*%bD,i64 8
%bL=bitcast i8*%bK to i8**
store i8*%bJ,i8**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bD,i64 16
%bN=bitcast i8*%bM to i32*
store i32 2,i32*%bN,align 4
%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**%f,align 8
%bR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bS=bitcast i8*%bO to i8**
store i8*%bR,i8**%bS,align 8
%bT=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bU=getelementptr inbounds i8,i8*%bO,i64 8
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bO,i64 16
%bX=bitcast i8*%bW to i32*
store i32 3,i32*%bX,align 4
%bY=call i8*@sml_alloc(i32 inreg 20)#0
%bZ=getelementptr inbounds i8,i8*%bY,i64 -4
%b0=bitcast i8*%bZ to i32*
store i32 1342177296,i32*%b0,align 4
store i8*%bY,i8**%l,align 8
%b1=getelementptr inbounds i8,i8*%bY,i64 4
%b2=bitcast i8*%b1 to i32*
store i32 0,i32*%b2,align 1
%b3=bitcast i8*%bY to i32*
store i32 1,i32*%b3,align 4
%b4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b5=getelementptr inbounds i8,i8*%bY,i64 8
%b6=bitcast i8*%b5 to i8**
store i8*%b4,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%bY,i64 16
%b8=bitcast i8*%b7 to i32*
store i32 2,i32*%b8,align 4
%b9=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ca=getelementptr inbounds i8,i8*%b9,i64 16
%cb=bitcast i8*%ca to i8*(i8*,i8*)**
%cc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cb,align 8
%cd=bitcast i8*%b9 to i8**
%ce=load i8*,i8**%cd,align 8
store i8*%ce,i8**%e,align 8
%cf=call i8*@sml_alloc(i32 inreg 36)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177312,i32*%ch,align 4
store i8*%cf,i8**%f,align 8
%ci=load i8*,i8**%c,align 8
%cj=bitcast i8*%cf to i8**
store i8*%ci,i8**%cj,align 8
%ck=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cl=getelementptr inbounds i8,i8*%cf,i64 8
%cm=bitcast i8*%cl to i8**
store i8*%ck,i8**%cm,align 8
%cn=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%co=getelementptr inbounds i8,i8*%cf,i64 16
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=load i8*,i8**%i,align 8
%cr=getelementptr inbounds i8,i8*%cf,i64 24
%cs=bitcast i8*%cr to i8**
store i8*%cq,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%cf,i64 32
%cu=bitcast i8*%ct to i32*
store i32 15,i32*%cu,align 4
%cv=call i8*@sml_alloc(i32 inreg 28)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177304,i32*%cx,align 4
%cy=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cz=bitcast i8*%cv to i8**
store i8*%cy,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cv,i64 8
%cB=bitcast i8*%cA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL18materializeDtyTstr_463 to void(...)*),void(...)**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cv,i64 16
%cD=bitcast i8*%cC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL18materializeDtyTstr_463 to void(...)*),void(...)**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cv,i64 24
%cF=bitcast i8*%cE to i32*
store i32 -2147483647,i32*%cF,align 4
%cG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cH=call fastcc i8*%cc(i8*inreg%cG,i8*inreg%cv)
%cI=getelementptr inbounds i8,i8*%cH,i64 16
%cJ=bitcast i8*%cI to i8*(i8*,i8*)**
%cK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cJ,align 8
%cL=bitcast i8*%cH to i8**
%cM=load i8*,i8**%cL,align 8
store i8*%cM,i8**%f,align 8
%cN=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%cN,i8**%d,align 8
%cO=load i8*,i8**@_SMLZN5ConID3Set5emptyE,align 8
store i8*%cO,i8**%e,align 8
%cP=call i8*@sml_alloc(i32 inreg 28)#0
%cQ=getelementptr inbounds i8,i8*%cP,i64 -4
%cR=bitcast i8*%cQ to i32*
store i32 1342177304,i32*%cR,align 4
%cS=load i8*,i8**%d,align 8
store i8*null,i8**%d,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*null,i8**%cV,align 8
%cW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cX=getelementptr inbounds i8,i8*%cP,i64 16
%cY=bitcast i8*%cX to i8**
store i8*%cW,i8**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cP,i64 24
%c0=bitcast i8*%cZ to i32*
store i32 7,i32*%c0,align 4
%c1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c2=call fastcc i8*%cK(i8*inreg%c1,i8*inreg%cP)
%c3=getelementptr inbounds i8,i8*%c2,i64 16
%c4=bitcast i8*%c3 to i8*(i8*,i8*)**
%c5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c4,align 8
%c6=bitcast i8*%c2 to i8**
%c7=load i8*,i8**%c6,align 8
%c8=load i8*,i8**%h,align 8
%c9=call fastcc i8*%c5(i8*inreg%c7,i8*inreg%c8)
%da=bitcast i8*%c9 to i8**
%db=load i8*,i8**%da,align 8
store i8*%db,i8**%d,align 8
%dc=getelementptr inbounds i8,i8*%c9,i64 16
%dd=bitcast i8*%dc to i8**
%de=load i8*,i8**%dd,align 8
store i8*%de,i8**%e,align 8
%df=load i8*,i8**%h,align 8
%dg=call fastcc i8*@_SMLFN14DatatypeLayout14datatypeLayoutE(i8*inreg%df)
store i8*%dg,i8**%f,align 8
%dh=call i8*@sml_alloc(i32 inreg 8)#0
%di=getelementptr inbounds i8,i8*%dh,i64 -4
%dj=bitcast i8*%di to i32*
store i32 805306376,i32*%dj,align 4
store i8*%dh,i8**%l,align 8
%dk=bitcast i8*%dh to i64*
store i64 0,i64*%dk,align 1
%dl=call i8*@sml_alloc(i32 inreg 20)#0
%dm=getelementptr inbounds i8,i8*%dl,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177296,i32*%dn,align 4
store i8*%dl,i8**%m,align 8
%do=bitcast i8*%dl to i64*
store i64 0,i64*%do,align 4
%dp=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dq=getelementptr inbounds i8,i8*%dl,i64 8
%dr=bitcast i8*%dq to i8**
store i8*%dp,i8**%dr,align 8
%ds=getelementptr inbounds i8,i8*%dl,i64 16
%dt=bitcast i8*%ds to i32*
store i32 2,i32*%dt,align 4
%du=call i8*@sml_alloc(i32 inreg 68)#0
%dv=getelementptr inbounds i8,i8*%du,i64 -4
%dw=bitcast i8*%dv to i32*
store i32 1342177344,i32*%dw,align 4
store i8*%du,i8**%f,align 8
%dx=getelementptr inbounds i8,i8*%du,i64 4
call void@llvm.memset.p0i8.i32(i8*%dx,i8 0,i32 44,i1 false)
%dy=bitcast i8*%du to i32*
store i32%a8,i32*%dy,align 4
%dz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dA=getelementptr inbounds i8,i8*%du,i64 8
%dB=bitcast i8*%dA to i8**
store i8*%dz,i8**%dB,align 8
%dC=load i8*,i8**%h,align 8
%dD=getelementptr inbounds i8,i8*%du,i64 16
%dE=bitcast i8*%dD to i8**
store i8*%dC,i8**%dE,align 8
%dF=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%dG=getelementptr inbounds i8,i8*%du,i64 24
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
%dI=load i8*,i8**%i,align 8
%dJ=getelementptr inbounds i8,i8*%du,i64 32
%dK=bitcast i8*%dJ to i8**
store i8*%dI,i8**%dK,align 8
%dL=getelementptr inbounds i8,i8*%du,i64 40
%dM=bitcast i8*%dL to i32*
store i32%bh,i32*%dM,align 4
%dN=load i8*,i8**%j,align 8
%dO=getelementptr inbounds i8,i8*%du,i64 48
%dP=bitcast i8*%dO to i8**
store i8*%dN,i8**%dP,align 8
%dQ=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dR=getelementptr inbounds i8,i8*%du,i64 56
%dS=bitcast i8*%dR to i8**
store i8*%dQ,i8**%dS,align 8
%dT=getelementptr inbounds i8,i8*%du,i64 64
%dU=bitcast i8*%dT to i32*
store i32 222,i32*%dU,align 4
%dV=call i8*@sml_alloc(i32 inreg 20)#0
%dW=bitcast i8*%dV to i32*
%dX=getelementptr inbounds i8,i8*%dV,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177296,i32*%dY,align 4
%dZ=getelementptr inbounds i8,i8*%dV,i64 4
%d0=bitcast i8*%dZ to i32*
store i32 0,i32*%d0,align 1
store i32 3,i32*%dW,align 4
%d1=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d2=getelementptr inbounds i8,i8*%dV,i64 8
%d3=bitcast i8*%d2 to i8**
store i8*%d1,i8**%d3,align 8
%d4=getelementptr inbounds i8,i8*%dV,i64 16
%d5=bitcast i8*%d4 to i32*
store i32 2,i32*%d5,align 4
%d6=load i8*,i8**%l,align 8
%d7=bitcast i8*%d6 to i8**
call void@sml_write(i8*inreg%d6,i8**inreg%d7,i8*inreg%dV)#0
%d8=call i8*@sml_alloc(i32 inreg 20)#0
%d9=getelementptr inbounds i8,i8*%d8,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 1342177296,i32*%ea,align 4
store i8*%d8,i8**%f,align 8
%eb=getelementptr inbounds i8,i8*%d8,i64 4
%ec=bitcast i8*%eb to i32*
store i32 0,i32*%ec,align 1
%ed=bitcast i8*%d8 to i32*
store i32 1,i32*%ed,align 4
%ee=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ef=getelementptr inbounds i8,i8*%d8,i64 8
%eg=bitcast i8*%ef to i8**
store i8*%ee,i8**%eg,align 8
%eh=getelementptr inbounds i8,i8*%d8,i64 16
%ei=bitcast i8*%eh to i32*
store i32 2,i32*%ei,align 4
%ej=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%ek=getelementptr inbounds i8,i8*%ej,i64 16
%el=bitcast i8*%ek to i8*(i8*,i8*)**
%em=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%el,align 8
%en=bitcast i8*%ej to i8**
%eo=load i8*,i8**%en,align 8
store i8*%eo,i8**%e,align 8
%ep=call i8*@sml_alloc(i32 inreg 20)#0
%eq=getelementptr inbounds i8,i8*%ep,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177296,i32*%er,align 4
store i8*%ep,i8**%k,align 8
%es=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%et=bitcast i8*%ep to i8**
store i8*%es,i8**%et,align 8
%eu=getelementptr inbounds i8,i8*%ep,i64 8
%ev=bitcast i8*%eu to i8**
store i8*null,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%ep,i64 16
%ex=bitcast i8*%ew to i32*
store i32 3,i32*%ex,align 4
%ey=call i8*@sml_alloc(i32 inreg 20)#0
%ez=getelementptr inbounds i8,i8*%ey,i64 -4
%eA=bitcast i8*%ez to i32*
store i32 1342177296,i32*%eA,align 4
%eB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eC=bitcast i8*%ey to i8**
store i8*%eB,i8**%eC,align 8
%eD=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eE=getelementptr inbounds i8,i8*%ey,i64 8
%eF=bitcast i8*%eE to i8**
store i8*%eD,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%ey,i64 16
%eH=bitcast i8*%eG to i32*
store i32 3,i32*%eH,align 4
%eI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eJ=call fastcc i8*%em(i8*inreg%eI,i8*inreg%ey)
store i8*%eJ,i8**%b,align 8
%eK=call i8*@sml_alloc(i32 inreg 52)#0
%eL=getelementptr inbounds i8,i8*%eK,i64 -4
%eM=bitcast i8*%eL to i32*
store i32 1342177328,i32*%eM,align 4
store i8*%eK,i8**%c,align 8
%eN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eO=bitcast i8*%eK to i8**
store i8*%eN,i8**%eO,align 8
%eP=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eQ=getelementptr inbounds i8,i8*%eK,i64 8
%eR=bitcast i8*%eQ to i8**
store i8*%eP,i8**%eR,align 8
%eS=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eT=getelementptr inbounds i8,i8*%eK,i64 16
%eU=bitcast i8*%eT to i8**
store i8*%eS,i8**%eU,align 8
%eV=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eW=getelementptr inbounds i8,i8*%eK,i64 24
%eX=bitcast i8*%eW to i8**
store i8*%eV,i8**%eX,align 8
%eY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eZ=getelementptr inbounds i8,i8*%eK,i64 32
%e0=bitcast i8*%eZ to i8**
store i8*%eY,i8**%e0,align 8
%e1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%e2=getelementptr inbounds i8,i8*%eK,i64 40
%e3=bitcast i8*%e2 to i8**
store i8*%e1,i8**%e3,align 8
%e4=getelementptr inbounds i8,i8*%eK,i64 48
%e5=bitcast i8*%e4 to i32*
store i32 63,i32*%e5,align 4
%e6=call i8*@sml_alloc(i32 inreg 20)#0
%e7=getelementptr inbounds i8,i8*%e6,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32 1342177296,i32*%e8,align 4
%e9=bitcast i8*%e6 to i64*
store i64 0,i64*%e9,align 4
%fa=load i8*,i8**%c,align 8
%fb=getelementptr inbounds i8,i8*%e6,i64 8
%fc=bitcast i8*%fb to i8**
store i8*%fa,i8**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e6,i64 16
%fe=bitcast i8*%fd to i32*
store i32 2,i32*%fe,align 4
%ff=load i8*,i8**%g,align 8
%fg=bitcast i8*%ff to i8**
call void@sml_write(i8*inreg%ff,i8**inreg%fg,i8*inreg%e6)#0
ret void
fh:
store i8*null,i8**%c,align 8
store i8*null,i8**%g,align 8
%fi=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%fi,i8**%b,align 8
%fj=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@K,i64 0,i32 2)to i8*))
store i8*%fj,i8**%c,align 8
%fk=call i8*@sml_alloc(i32 inreg 28)#0
%fl=getelementptr inbounds i8,i8*%fk,i64 -4
%fm=bitcast i8*%fl to i32*
store i32 1342177304,i32*%fm,align 4
store i8*%fk,i8**%d,align 8
%fn=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fo=bitcast i8*%fk to i8**
store i8*%fn,i8**%fo,align 8
%fp=getelementptr inbounds i8,i8*%fk,i64 8
%fq=bitcast i8*%fp to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%fq,align 8
%fr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fs=getelementptr inbounds i8,i8*%fk,i64 16
%ft=bitcast i8*%fs to i8**
store i8*%fr,i8**%ft,align 8
%fu=getelementptr inbounds i8,i8*%fk,i64 24
%fv=bitcast i8*%fu to i32*
store i32 7,i32*%fv,align 4
%fw=call i8*@sml_alloc(i32 inreg 60)#0
%fx=getelementptr inbounds i8,i8*%fw,i64 -4
%fy=bitcast i8*%fx to i32*
store i32 1342177336,i32*%fy,align 4
%fz=getelementptr inbounds i8,i8*%fw,i64 56
%fA=bitcast i8*%fz to i32*
store i32 1,i32*%fA,align 4
%fB=load i8*,i8**%d,align 8
%fC=bitcast i8*%fw to i8**
store i8*%fB,i8**%fC,align 8
call void@sml_raise(i8*inreg%fw)#1
unreachable
}
define internal fastcc i8*@_SMLLN12FunctorUtils10evalFunArgE_470(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 4)
%h=getelementptr inbounds i8,i8*%g,i64 16
%i=bitcast i8*%h to i8*(i8*,i8*)**
%j=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i,align 8
%k=bitcast i8*%g to i8**
%l=load i8*,i8**%k,align 8
%m=call fastcc i8*%j(i8*inreg%l,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@P,i64 0,i32 2)to i8*))
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
%s=load i8*,i8**%b,align 8
%t=tail call fastcc i8*%p(i8*inreg%r,i8*inreg%s)
ret i8*%t
}
define internal fastcc i8*@_SMLL15dummyIdfunArgTy_472(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=call i8*@sml_alloc(i32 inreg 20)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177296,i32*%f,align 4
%g=getelementptr inbounds i8,i8*%c,i64 4
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 1
store i32 7,i32*%d,align 4
%i=load i8*,i8**%b,align 8
%j=getelementptr inbounds i8,i8*%c,i64 8
%k=bitcast i8*%j to i8**
store i8*%i,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%c,i64 16
%m=bitcast i8*%l to i32*
store i32 2,i32*%m,align 4
ret i8*%c
}
define fastcc i8*@_SMLFN12FunctorUtils10evalFunArgE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
t:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=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
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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%b,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%b,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%a,%t]
%u=getelementptr inbounds i8,i8*%s,i64 16
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%j,align 8
%x=call i8*@sml_alloc(i32 inreg 12)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177288,i32*%z,align 4
store i8*%x,i8**%c,align 8
%A=load i8*,i8**%j,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 i32*
store i32 1,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 28)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177304,i32*%G,align 4
%H=load i8*,i8**%c,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgVarE_441 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10genArgVarE_441 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%E,i64 24
%O=bitcast i8*%N to i32*
store i32 -2147483647,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 12)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177288,i32*%R,align 4
store i8*%P,i8**%g,align 8
%S=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,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**%g,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%W,i64 8
%ac=bitcast i8*%ab to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLL10genArgStrE_442 to void(...)*),void(...)**%ac,align 8
%ad=getelementptr inbounds i8,i8*%W,i64 16
%ae=bitcast i8*%ad to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLL10genArgStrE_442 to void(...)*),void(...)**%ae,align 8
%af=getelementptr inbounds i8,i8*%W,i64 24
%ag=bitcast i8*%af to i32*
store i32 -2147483647,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=load i8*,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL14genArgStrEntry_443 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%ah,i64 16
%ap=bitcast i8*%ao to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLL14genArgStrEntry_443 to void(...)*),void(...)**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ah,i64 24
%ar=bitcast i8*%aq to i32*
store i32 -2147483647,i32*%ar,align 4
%as=bitcast i8**%b to i8***
%at=load i8**,i8***%as,align 8
%au=load i8*,i8**%at,align 8
%av=call fastcc i8*@_SMLFN7EvalSig9evalPlsigE(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
%aB=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
%aF=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aE)
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%b,align 8
%aI=call fastcc i8*@_SMLFN7EvalSig14refreshSpecEnvE(i8*inreg%aH)
%aJ=getelementptr inbounds i8,i8*%aI,i64 8
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%c,align 8
%aM=invoke fastcc i8*@_SMLFN6TfvMap10listItemsiE(i32 inreg 1,i32 inreg 8)
to label%aN unwind label%ct
aN:
%aO=getelementptr inbounds i8,i8*%aM,i64 16
%aP=bitcast i8*%aO to i8*(i8*,i8*)**
%aQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aP,align 8
%aR=bitcast i8*%aM to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%f,align 8
%aT=load i8*,i8**@_SMLZN8TfunVars8specKindE,align 8
%aU=invoke fastcc i8*@_SMLFN8TfunVars7tfvsEnvE(i8*inreg%aT)
to label%aV unwind label%ct
aV:
%aW=getelementptr inbounds i8,i8*%aU,i64 16
%aX=bitcast i8*%aW to i8*(i8*,i8*)**
%aY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aX,align 8
%aZ=bitcast i8*%aU to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=invoke fastcc i8*%aY(i8*inreg%a0,i8*inreg null)
to label%a2 unwind label%ct
a2:
%a3=getelementptr inbounds i8,i8*%a1,i64 16
%a4=bitcast i8*%a3 to i8*(i8*,i8*)**
%a5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a4,align 8
%a6=bitcast i8*%a1 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%e,align 8
%a8=invoke fastcc i8*@_SMLFN6TfvMap5emptyE(i32 inreg 1,i32 inreg 8)
to label%a9 unwind label%ct
a9:
store i8*%a8,i8**%d,align 8
%ba=call i8*@sml_alloc(i32 inreg 20)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177296,i32*%bc,align 4
%bd=load i8*,i8**%c,align 8
%be=bitcast i8*%ba to i8**
store i8*%bd,i8**%be,align 8
%bf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bg=getelementptr inbounds i8,i8*%ba,i64 8
%bh=bitcast i8*%bg to i8**
store i8*%bf,i8**%bh,align 8
%bi=getelementptr inbounds i8,i8*%ba,i64 16
%bj=bitcast i8*%bi to i32*
store i32 3,i32*%bj,align 4
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=invoke fastcc i8*%a5(i8*inreg%bk,i8*inreg%ba)
to label%bm unwind label%ct
bm:
%bn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bo=invoke fastcc i8*%aQ(i8*inreg%bn,i8*inreg%bl)
to label%bp unwind label%ct
bp:
store i8*%bo,i8**%e,align 8
%bq=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%br=getelementptr inbounds i8,i8*%bq,i64 16
%bs=bitcast i8*%br to i8*(i8*,i8*)**
%bt=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bs,align 8
%bu=bitcast i8*%bq to i8**
%bv=load i8*,i8**%bu,align 8
%bw=call fastcc i8*%bt(i8*inreg%bv,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@G,i64 0,i32 2)to i8*))
%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**%d,align 8
%bC=call fastcc i8*@_SMLFN13LongsymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
%bD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bE=call fastcc i8*%bz(i8*inreg%bD,i8*inreg%bC)
%bF=getelementptr inbounds i8,i8*%bE,i64 16
%bG=bitcast i8*%bF to i8*(i8*,i8*)**
%bH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bG,align 8
%bI=bitcast i8*%bE to i8**
%bJ=load i8*,i8**%bI,align 8
%bK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bL=call fastcc i8*%bH(i8*inreg%bJ,i8*inreg%bK)
store i8*%bL,i8**%d,align 8
%bM=call fastcc i8*@_SMLFN13LongsymbolEnv9listItemsE(i32 inreg 1,i32 inreg 8)
%bN=getelementptr inbounds i8,i8*%bM,i64 16
%bO=bitcast i8*%bN to i8*(i8*,i8*)**
%bP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bO,align 8
%bQ=bitcast i8*%bM to i8**
%bR=load i8*,i8**%bQ,align 8
%bS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bT=call fastcc i8*%bP(i8*inreg%bR,i8*inreg%bS)
store i8*%bT,i8**%d,align 8
%bU=load i8*,i8**%c,align 8
%bV=call fastcc i8*@_SMLFN12SetLiftedTys19setLiftedTysSpecEnvE(i8*inreg%bU)
store i8*%bV,i8**%e,align 8
%bW=load i8*,i8**%c,align 8
%bX=call fastcc i8*@_SMLL14materializeEnv_386(i8*inreg null,i8*inreg%bW)
store i8*%bX,i8**%f,align 8
%bY=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bZ=getelementptr inbounds i8,i8*%bY,i64 16
%b0=bitcast i8*%bZ to i8*(i8*,i8*)**
%b1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b0,align 8
%b2=bitcast i8*%bY to i8**
%b3=load i8*,i8**%b2,align 8
%b4=call fastcc i8*%b1(i8*inreg%b3,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Q,i64 0,i32 2)to i8*))
%b5=getelementptr inbounds i8,i8*%b4,i64 16
%b6=bitcast i8*%b5 to i8*(i8*,i8*)**
%b7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b6,align 8
%b8=bitcast i8*%b4 to i8**
%b9=load i8*,i8**%b8,align 8
%ca=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cb=call fastcc i8*%b7(i8*inreg%b9,i8*inreg%ca)
%cc=load i8*,i8**%c,align 8
%cd=load i8*,i8**%g,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%g,align 8
%ce=call fastcc i8*@_SMLL14genArgStrEntry_443(i8*inreg%cd,i8*inreg null,i8*inreg%cc)
%cf=getelementptr inbounds i8,i8*%ce,i64 24
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
store i8*%ch,i8**%c,align 8
%ci=bitcast i8*%ce to i8**
%cj=load i8*,i8**%ci,align 8
store i8*%cj,i8**%e,align 8
%ck=getelementptr inbounds i8,i8*%ce,i64 16
%cl=bitcast i8*%ck to i8**
%cm=load i8*,i8**%cl,align 8
store i8*%cm,i8**%g,align 8
%cn=getelementptr inbounds i8,i8*%ce,i64 8
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,align 8
store i8*%cp,i8**%h,align 8
%cq=load i8*,i8**%d,align 8
%cr=icmp eq i8*%cq,null
br i1%cr,label%cs,label%cF
cs:
store i8*null,i8**%i,align 8
br label%eU
ct:
%cu=landingpad{i8*,i8*}
catch i8*null
%cv=extractvalue{i8*,i8*}%cu,1
%cw=bitcast i8*%cv to i8**
%cx=load i8*,i8**%cw,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*%cx,i8**%b,align 8
%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**%b,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=call fastcc i8*@_SMLFN11RecordLabel8tupleMapE(i32 inreg 1,i32 inreg 8)
%cH=getelementptr inbounds i8,i8*%cG,i64 16
%cI=bitcast i8*%cH to i8*(i8*,i8*)**
%cJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cI,align 8
%cK=bitcast i8*%cG to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%i,align 8
%cM=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cN=getelementptr inbounds i8,i8*%cM,i64 16
%cO=bitcast i8*%cN to i8*(i8*,i8*)**
%cP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cO,align 8
%cQ=bitcast i8*%cM to i8**
%cR=load i8*,i8**%cQ,align 8
%cS=call fastcc i8*%cP(i8*inreg%cR,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@R,i64 0,i32 2)to i8*))
%cT=getelementptr inbounds i8,i8*%cS,i64 16
%cU=bitcast i8*%cT to i8*(i8*,i8*)**
%cV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cU,align 8
%cW=bitcast i8*%cS to i8**
%cX=load i8*,i8**%cW,align 8
%cY=load i8*,i8**%d,align 8
%cZ=call fastcc i8*%cV(i8*inreg%cX,i8*inreg%cY)
%c0=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%c1=call fastcc i8*%cJ(i8*inreg%c0,i8*inreg%cZ)
store i8*%c1,i8**%i,align 8
%c2=call i8*@sml_alloc(i32 inreg 20)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177296,i32*%c4,align 4
store i8*%c2,i8**%k,align 8
%c5=getelementptr inbounds i8,i8*%c2,i64 12
%c6=bitcast i8*%c5 to i32*
store i32 0,i32*%c6,align 1
%c7=load i8*,i8**%i,align 8
%c8=bitcast i8*%c2 to i8**
store i8*null,i8**%i,align 8
store i8*%c7,i8**%c8,align 8
%c9=getelementptr inbounds i8,i8*%c2,i64 8
%da=bitcast i8*%c9 to i32*
store i32 0,i32*%da,align 4
%db=getelementptr inbounds i8,i8*%c2,i64 16
%dc=bitcast i8*%db to i32*
store i32 1,i32*%dc,align 4
%dd=call i8*@sml_alloc(i32 inreg 20)#0
%de=getelementptr inbounds i8,i8*%dd,i64 -4
%df=bitcast i8*%de to i32*
store i32 1342177296,i32*%df,align 4
store i8*%dd,i8**%i,align 8
%dg=getelementptr inbounds i8,i8*%dd,i64 4
%dh=bitcast i8*%dg to i32*
store i32 0,i32*%dh,align 1
%di=bitcast i8*%dd to i32*
store i32 6,i32*%di,align 4
%dj=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dk=getelementptr inbounds i8,i8*%dd,i64 8
%dl=bitcast i8*%dk to i8**
store i8*%dj,i8**%dl,align 8
%dm=getelementptr inbounds i8,i8*%dd,i64 16
%dn=bitcast i8*%dm to i32*
store i32 2,i32*%dn,align 4
%do=call i8*@sml_alloc(i32 inreg 12)#0
%dp=getelementptr inbounds i8,i8*%do,i64 -4
%dq=bitcast i8*%dp to i32*
store i32 1342177288,i32*%dq,align 4
%dr=load i8*,i8**%i,align 8
%ds=bitcast i8*%do to i8**
store i8*%dr,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%do,i64 8
%du=bitcast i8*%dt to i32*
store i32 1,i32*%du,align 4
store i8*%do,i8**%i,align 8
%dv=icmp eq i8*%do,null
br i1%dv,label%eU,label%dw
dw:
store i8*%dr,i8**%k,align 8
%dx=call i8*@sml_alloc(i32 inreg 20)#0
%dy=getelementptr inbounds i8,i8*%dx,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177296,i32*%dz,align 4
store i8*%dx,i8**%m,align 8
%dA=load i8*,i8**%k,align 8
%dB=bitcast i8*%dx to i8**
store i8*%dA,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%dx,i64 8
%dD=bitcast i8*%dC to i8**
store i8*null,i8**%dD,align 8
%dE=getelementptr inbounds i8,i8*%dx,i64 16
%dF=bitcast i8*%dE to i32*
store i32 3,i32*%dF,align 4
%dG=call i8*@sml_alloc(i32 inreg 20)#0
%dH=getelementptr inbounds i8,i8*%dG,i64 -4
%dI=bitcast i8*%dH to i32*
store i32 1342177296,i32*%dI,align 4
store i8*%dG,i8**%l,align 8
%dJ=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%dK=bitcast i8*%dG to i8**
store i8*%dJ,i8**%dK,align 8
%dL=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dM=getelementptr inbounds i8,i8*%dG,i64 8
%dN=bitcast i8*%dM to i8**
store i8*%dL,i8**%dN,align 8
%dO=getelementptr inbounds i8,i8*%dG,i64 16
%dP=bitcast i8*%dO to i32*
store i32 3,i32*%dP,align 4
%dQ=call i8*@sml_alloc(i32 inreg 20)#0
%dR=getelementptr inbounds i8,i8*%dQ,i64 -4
%dS=bitcast i8*%dR to i32*
store i32 1342177296,i32*%dS,align 4
store i8*%dQ,i8**%k,align 8
%dT=getelementptr inbounds i8,i8*%dQ,i64 4
%dU=bitcast i8*%dT to i32*
store i32 0,i32*%dU,align 1
%dV=bitcast i8*%dQ to i32*
store i32 4,i32*%dV,align 4
%dW=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dX=getelementptr inbounds i8,i8*%dQ,i64 8
%dY=bitcast i8*%dX to i8**
store i8*%dW,i8**%dY,align 8
%dZ=getelementptr inbounds i8,i8*%dQ,i64 16
%d0=bitcast i8*%dZ to i32*
store i32 2,i32*%d0,align 4
%d1=call i8*@sml_alloc(i32 inreg 12)#0
%d2=getelementptr inbounds i8,i8*%d1,i64 -4
%d3=bitcast i8*%d2 to i32*
store i32 1342177288,i32*%d3,align 4
%d4=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%d5=bitcast i8*%d1 to i8**
store i8*%d4,i8**%d5,align 8
%d6=getelementptr inbounds i8,i8*%d1,i64 8
%d7=bitcast i8*%d6 to i32*
store i32 1,i32*%d7,align 4
%d8=icmp eq i8*%d1,null
br i1%d8,label%eU,label%d9
d9:
store i8*%d4,i8**%l,align 8
%ea=call fastcc i8*@_SMLFN6Symbol12mkLongsymbolE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@S,i64 0,i32 2)to i8*))
%eb=getelementptr inbounds i8,i8*%ea,i64 16
%ec=bitcast i8*%eb to i8*(i8*,i8*)**
%ed=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ec,align 8
%ee=bitcast i8*%ea to i8**
%ef=load i8*,i8**%ee,align 8
%eg=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eh=call fastcc i8*%ed(i8*inreg%ef,i8*inreg%eg)
store i8*%eh,i8**%j,align 8
%ei=call fastcc i32@_SMLFN5VarID8generateE(i32 inreg 0)
%ej=call i8*@sml_alloc(i32 inreg 20)#0
%ek=getelementptr inbounds i8,i8*%ej,i64 -4
%el=bitcast i8*%ek to i32*
store i32 1342177296,i32*%el,align 4
store i8*%ej,i8**%k,align 8
%em=getelementptr inbounds i8,i8*%ej,i64 4
%en=bitcast i8*%em to i32*
store i32 0,i32*%en,align 1
%eo=bitcast i8*%ej to i32*
store i32%ei,i32*%eo,align 4
%ep=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eq=getelementptr inbounds i8,i8*%ej,i64 8
%er=bitcast i8*%eq to i8**
store i8*%ep,i8**%er,align 8
%es=getelementptr inbounds i8,i8*%ej,i64 16
%et=bitcast i8*%es to i32*
store i32 2,i32*%et,align 4
%eu=call i8*@sml_alloc(i32 inreg 20)#0
%ev=getelementptr inbounds i8,i8*%eu,i64 -4
%ew=bitcast i8*%ev to i32*
store i32 1342177296,i32*%ew,align 4
store i8*%eu,i8**%m,align 8
%ex=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ey=bitcast i8*%eu to i8**
store i8*%ex,i8**%ey,align 8
%ez=getelementptr inbounds i8,i8*%eu,i64 8
%eA=bitcast i8*%ez to i8**
store i8*null,i8**%eA,align 8
%eB=getelementptr inbounds i8,i8*%eu,i64 16
%eC=bitcast i8*%eB to i32*
store i32 3,i32*%eC,align 4
%eD=call i8*@sml_alloc(i32 inreg 20)#0
%eE=getelementptr inbounds i8,i8*%eD,i64 -4
%eF=bitcast i8*%eE to i32*
store i32 1342177296,i32*%eF,align 4
store i8*%eD,i8**%j,align 8
%eG=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eH=bitcast i8*%eD to i8**
store i8*%eG,i8**%eH,align 8
%eI=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%eJ=getelementptr inbounds i8,i8*%eD,i64 8
%eK=bitcast i8*%eJ to i8**
store i8*%eI,i8**%eK,align 8
%eL=getelementptr inbounds i8,i8*%eD,i64 16
%eM=bitcast i8*%eL to i32*
store i32 3,i32*%eM,align 4
%eN=call i8*@sml_alloc(i32 inreg 12)#0
%eO=getelementptr inbounds i8,i8*%eN,i64 -4
%eP=bitcast i8*%eO to i32*
store i32 1342177288,i32*%eP,align 4
%eQ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eR=bitcast i8*%eN to i8**
store i8*%eQ,i8**%eR,align 8
%eS=getelementptr inbounds i8,i8*%eN,i64 8
%eT=bitcast i8*%eS to i32*
store i32 1,i32*%eT,align 4
br label%eU
eU:
%eV=phi i8*[%eN,%d9],[null,%dw],[null,%cF],[null,%cs]
store i8*%eV,i8**%j,align 8
%eW=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%eX=getelementptr inbounds i8,i8*%eW,i64 16
%eY=bitcast i8*%eX to i8*(i8*,i8*)**
%eZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eY,align 8
%e0=bitcast i8*%eW to i8**
%e1=load i8*,i8**%e0,align 8
store i8*%e1,i8**%k,align 8
%e2=call i8*@sml_alloc(i32 inreg 20)#0
%e3=getelementptr inbounds i8,i8*%e2,i64 -4
%e4=bitcast i8*%e3 to i32*
store i32 1342177296,i32*%e4,align 4
%e5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e6=bitcast i8*%e2 to i8**
store i8*%e5,i8**%e6,align 8
%e7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%e8=getelementptr inbounds i8,i8*%e2,i64 8
%e9=bitcast i8*%e8 to i8**
store i8*%e7,i8**%e9,align 8
%fa=getelementptr inbounds i8,i8*%e2,i64 16
%fb=bitcast i8*%fa to i32*
store i32 3,i32*%fb,align 4
%fc=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fd=call fastcc i8*%eZ(i8*inreg%fc,i8*inreg%e2)
store i8*%fd,i8**%c,align 8
%fe=call i8*@sml_alloc(i32 inreg 68)#0
%ff=getelementptr inbounds i8,i8*%fe,i64 -4
%fg=bitcast i8*%ff to i32*
store i32 1342177344,i32*%fg,align 4
%fh=load i8*,i8**%b,align 8
%fi=bitcast i8*%fe to i8**
store i8*%fh,i8**%fi,align 8
%fj=load i8*,i8**%g,align 8
%fk=getelementptr inbounds i8,i8*%fe,i64 8
%fl=bitcast i8*%fk to i8**
store i8*%fj,i8**%fl,align 8
%fm=load i8*,i8**%i,align 8
%fn=getelementptr inbounds i8,i8*%fe,i64 16
%fo=bitcast i8*%fn to i8**
store i8*%fm,i8**%fo,align 8
%fp=load i8*,i8**%h,align 8
%fq=getelementptr inbounds i8,i8*%fe,i64 24
%fr=bitcast i8*%fq to i8**
store i8*%fp,i8**%fr,align 8
%fs=load i8*,i8**%d,align 8
%ft=getelementptr inbounds i8,i8*%fe,i64 32
%fu=bitcast i8*%ft to i8**
store i8*%fs,i8**%fu,align 8
%fv=load i8*,i8**%j,align 8
%fw=getelementptr inbounds i8,i8*%fe,i64 40
%fx=bitcast i8*%fw to i8**
store i8*%fv,i8**%fx,align 8
%fy=load i8*,i8**%c,align 8
%fz=getelementptr inbounds i8,i8*%fe,i64 48
%fA=bitcast i8*%fz to i8**
store i8*%fy,i8**%fA,align 8
%fB=load i8*,i8**%f,align 8
%fC=getelementptr inbounds i8,i8*%fe,i64 56
%fD=bitcast i8*%fC to i8**
store i8*%fB,i8**%fD,align 8
%fE=getelementptr inbounds i8,i8*%fe,i64 64
%fF=bitcast i8*%fE to i32*
store i32 255,i32*%fF,align 4
ret i8*%fe
}
define internal fastcc i8*@_SMLL13genActualVarE_486(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%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
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
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=bitcast i8*%n to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%n,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 12,label%el
i32 13,label%da
i32 6,label%b0
i32 7,label%bE
i32 0,label%aQ
i32 1,label%aM
i32 4,label%aI
i32 5,label%aE
i32 2,label%aA
i32 3,label%aw
i32 8,label%aa
i32 11,label%W
i32 10,label%S
i32 9,label%O
]
w:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@W,i64 0,i32 2,i64 0),i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 60)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177336,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 56
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
%P=getelementptr inbounds i8,i8*%n,i64 16
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
ret i8*%R
S:
%T=getelementptr inbounds i8,i8*%n,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
ret i8*%V
W:
%X=getelementptr inbounds i8,i8*%n,i64 16
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
ret i8*%Z
aa:
store i8*null,i8**%f,align 8
%ab=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ab,i8**%c,align 8
%ac=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@V,i64 0,i32 2)to i8*))
store i8*%ac,i8**%d,align 8
%ad=call i8*@sml_alloc(i32 inreg 28)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177304,i32*%af,align 4
store i8*%ad,i8**%e,align 8
%ag=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ad,i64 8
%aj=bitcast i8*%ai to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%aj,align 8
%ak=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ad,i64 24
%ao=bitcast i8*%an to i32*
store i32 7,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**%e,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=getelementptr inbounds i8,i8*%n,i64 16
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
ret i8*%az
aA:
%aB=getelementptr inbounds i8,i8*%n,i64 16
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
ret i8*%aD
aE:
%aF=getelementptr inbounds i8,i8*%n,i64 16
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
ret i8*%aH
aI:
%aJ=getelementptr inbounds i8,i8*%n,i64 16
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
ret i8*%aL
aM:
%aN=getelementptr inbounds i8,i8*%n,i64 16
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
ret i8*%aP
aQ:
%aR=getelementptr inbounds i8,i8*%t,i64 8
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
%aU=getelementptr inbounds i8,i8*%aT,i64 8
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%c,align 8
%aX=getelementptr inbounds i8,i8*%aT,i64 16
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%d,align 8
%a0=getelementptr inbounds i8,i8*%n,i64 16
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%e,align 8
%a3=bitcast i8**%f to i8***
%a4=load i8**,i8***%a3,align 8
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%f,align 8
%a6=call i8*@sml_alloc(i32 inreg 28)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177304,i32*%a8,align 4
store i8*%a6,i8**%g,align 8
%a9=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bc=getelementptr inbounds i8,i8*%a6,i64 8
%bd=bitcast i8*%bc to i8**
store i8*%bb,i8**%bd,align 8
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=getelementptr inbounds i8,i8*%a6,i64 16
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a6,i64 24
%bi=bitcast i8*%bh to i32*
store i32 7,i32*%bi,align 4
%bj=call i8*@sml_alloc(i32 inreg 20)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177296,i32*%bl,align 4
store i8*%bj,i8**%c,align 8
%bm=getelementptr inbounds i8,i8*%bj,i64 4
%bn=bitcast i8*%bm to i32*
store i32 0,i32*%bn,align 1
%bo=bitcast i8*%bj to i32*
store i32 2,i32*%bo,align 4
%bp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bq=getelementptr inbounds i8,i8*%bj,i64 8
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bj,i64 16
%bt=bitcast i8*%bs to i32*
store i32 2,i32*%bt,align 4
%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
%bx=load i8*,i8**%c,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%e,align 8
%bA=getelementptr inbounds i8,i8*%bu,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bu,i64 16
%bD=bitcast i8*%bC to i32*
store i32 3,i32*%bD,align 4
ret i8*%bu
bE:
store i8*null,i8**%f,align 8
%bF=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bF,i8**%c,align 8
%bG=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ad,i64 0,i32 2)to i8*))
store i8*%bG,i8**%d,align 8
%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**%e,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,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%bN,align 8
%bO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64 16
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bH,i64 24
%bS=bitcast i8*%bR to i32*
store i32 7,i32*%bS,align 4
%bT=call i8*@sml_alloc(i32 inreg 60)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177336,i32*%bV,align 4
%bW=getelementptr inbounds i8,i8*%bT,i64 56
%bX=bitcast i8*%bW to i32*
store i32 1,i32*%bX,align 4
%bY=load i8*,i8**%e,align 8
%bZ=bitcast i8*%bT to i8**
store i8*%bY,i8**%bZ,align 8
call void@sml_raise(i8*inreg%bT)#1
unreachable
b0:
%b1=getelementptr inbounds i8,i8*%t,i64 8
%b2=bitcast i8*%b1 to i8**
%b3=load i8*,i8**%b2,align 8
%b4=getelementptr inbounds i8,i8*%b3,i64 8
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%d,align 8
%b7=getelementptr inbounds i8,i8*%n,i64 16
%b8=bitcast i8*%b7 to i8**
%b9=load i8*,i8**%b8,align 8
store i8*%b9,i8**%e,align 8
%ca=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%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**%g,align 8
%cg=load i8*,i8**%f,align 8
%ch=getelementptr inbounds i8,i8*%cg,i64 8
%ci=bitcast i8*%ch to i8**
%cj=load i8*,i8**%ci,align 8
store i8*%cj,i8**%f,align 8
%ck=call i8*@sml_alloc(i32 inreg 20)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177296,i32*%cm,align 4
store i8*%ck,i8**%h,align 8
%cn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%co=bitcast i8*%ck to i8**
store i8*%cn,i8**%co,align 8
%cp=getelementptr inbounds i8,i8*%ck,i64 8
%cq=bitcast i8*%cp to i8**
store i8*null,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%ck,i64 16
%cs=bitcast i8*%cr to i32*
store i32 3,i32*%cs,align 4
%ct=call i8*@sml_alloc(i32 inreg 20)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177296,i32*%cv,align 4
%cw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cx=bitcast i8*%ct to i8**
store i8*%cw,i8**%cx,align 8
%cy=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cz=getelementptr inbounds i8,i8*%ct,i64 8
%cA=bitcast i8*%cz to i8**
store i8*%cy,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%ct,i64 16
%cC=bitcast i8*%cB to i32*
store i32 3,i32*%cC,align 4
%cD=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cE=call fastcc i8*%cd(i8*inreg%cD,i8*inreg%ct)
store i8*%cE,i8**%c,align 8
%cF=call i8*@sml_alloc(i32 inreg 20)#0
%cG=getelementptr inbounds i8,i8*%cF,i64 -4
%cH=bitcast i8*%cG to i32*
store i32 1342177296,i32*%cH,align 4
store i8*%cF,i8**%f,align 8
%cI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cJ=bitcast i8*%cF to i8**
store i8*%cI,i8**%cJ,align 8
%cK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cL=getelementptr inbounds i8,i8*%cF,i64 8
%cM=bitcast i8*%cL to i8**
store i8*%cK,i8**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cF,i64 16
%cO=bitcast i8*%cN to i32*
store i32 3,i32*%cO,align 4
%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**%c,align 8
%cS=getelementptr inbounds i8,i8*%cP,i64 4
%cT=bitcast i8*%cS to i32*
store i32 0,i32*%cT,align 1
%cU=bitcast i8*%cP to i32*
store i32 17,i32*%cU,align 4
%cV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cW=getelementptr inbounds i8,i8*%cP,i64 8
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cP,i64 16
%cZ=bitcast i8*%cY to i32*
store i32 2,i32*%cZ,align 4
%c0=call i8*@sml_alloc(i32 inreg 20)#0
%c1=getelementptr inbounds i8,i8*%c0,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32 1342177296,i32*%c2,align 4
%c3=load i8*,i8**%c,align 8
%c4=bitcast i8*%c0 to i8**
store i8*%c3,i8**%c4,align 8
%c5=load i8*,i8**%e,align 8
%c6=getelementptr inbounds i8,i8*%c0,i64 8
%c7=bitcast i8*%c6 to i8**
store i8*%c5,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%c0,i64 16
%c9=bitcast i8*%c8 to i32*
store i32 3,i32*%c9,align 4
ret i8*%c0
da:
%db=getelementptr inbounds i8,i8*%t,i64 8
%dc=bitcast i8*%db to i8**
%dd=load i8*,i8**%dc,align 8
%de=getelementptr inbounds i8,i8*%dd,i64 8
%df=bitcast i8*%de to i32*
%dg=load i32,i32*%df,align 4
%dh=getelementptr inbounds i8,i8*%n,i64 16
%di=bitcast i8*%dh to i8**
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%d,align 8
%dk=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%dl=getelementptr inbounds i8,i8*%dk,i64 16
%dm=bitcast i8*%dl to i8*(i8*,i8*)**
%dn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dm,align 8
%do=bitcast i8*%dk to i8**
%dp=load i8*,i8**%do,align 8
store i8*%dp,i8**%g,align 8
%dq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dr=getelementptr inbounds i8,i8*%dq,i64 8
%ds=bitcast i8*%dr to i8**
%dt=load i8*,i8**%ds,align 8
store i8*%dt,i8**%e,align 8
%du=call i8*@sml_alloc(i32 inreg 20)#0
%dv=getelementptr inbounds i8,i8*%du,i64 -4
%dw=bitcast i8*%dv to i32*
store i32 1342177296,i32*%dw,align 4
store i8*%du,i8**%f,align 8
%dx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dy=bitcast i8*%du to i8**
store i8*%dx,i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%du,i64 8
%dA=bitcast i8*%dz to i8**
store i8*null,i8**%dA,align 8
%dB=getelementptr inbounds i8,i8*%du,i64 16
%dC=bitcast i8*%dB to i32*
store i32 3,i32*%dC,align 4
%dD=call i8*@sml_alloc(i32 inreg 20)#0
%dE=getelementptr inbounds i8,i8*%dD,i64 -4
%dF=bitcast i8*%dE to i32*
store i32 1342177296,i32*%dF,align 4
%dG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dH=bitcast i8*%dD to i8**
store i8*%dG,i8**%dH,align 8
%dI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dJ=getelementptr inbounds i8,i8*%dD,i64 8
%dK=bitcast i8*%dJ to i8**
store i8*%dI,i8**%dK,align 8
%dL=getelementptr inbounds i8,i8*%dD,i64 16
%dM=bitcast i8*%dL to i32*
store i32 3,i32*%dM,align 4
%dN=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dO=call fastcc i8*%dn(i8*inreg%dN,i8*inreg%dD)
store i8*%dO,i8**%c,align 8
%dP=call i8*@sml_alloc(i32 inreg 20)#0
%dQ=getelementptr inbounds i8,i8*%dP,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177296,i32*%dR,align 4
store i8*%dP,i8**%e,align 8
%dS=getelementptr inbounds i8,i8*%dP,i64 4
%dT=bitcast i8*%dS to i32*
store i32 0,i32*%dT,align 1
%dU=bitcast i8*%dP to i32*
store i32%dg,i32*%dU,align 4
%dV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dW=getelementptr inbounds i8,i8*%dP,i64 8
%dX=bitcast i8*%dW to i8**
store i8*%dV,i8**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dP,i64 16
%dZ=bitcast i8*%dY to i32*
store i32 2,i32*%dZ,align 4
%d0=call i8*@sml_alloc(i32 inreg 20)#0
%d1=getelementptr inbounds i8,i8*%d0,i64 -4
%d2=bitcast i8*%d1 to i32*
store i32 1342177296,i32*%d2,align 4
store i8*%d0,i8**%c,align 8
%d3=getelementptr inbounds i8,i8*%d0,i64 4
%d4=bitcast i8*%d3 to i32*
store i32 0,i32*%d4,align 1
%d5=bitcast i8*%d0 to i32*
store i32 40,i32*%d5,align 4
%d6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d7=getelementptr inbounds i8,i8*%d0,i64 8
%d8=bitcast i8*%d7 to i8**
store i8*%d6,i8**%d8,align 8
%d9=getelementptr inbounds i8,i8*%d0,i64 16
%ea=bitcast i8*%d9 to i32*
store i32 2,i32*%ea,align 4
%eb=call i8*@sml_alloc(i32 inreg 20)#0
%ec=getelementptr inbounds i8,i8*%eb,i64 -4
%ed=bitcast i8*%ec to i32*
store i32 1342177296,i32*%ed,align 4
%ee=load i8*,i8**%c,align 8
%ef=bitcast i8*%eb to i8**
store i8*%ee,i8**%ef,align 8
%eg=load i8*,i8**%d,align 8
%eh=getelementptr inbounds i8,i8*%eb,i64 8
%ei=bitcast i8*%eh to i8**
store i8*%eg,i8**%ei,align 8
%ej=getelementptr inbounds i8,i8*%eb,i64 16
%ek=bitcast i8*%ej to i32*
store i32 3,i32*%ek,align 4
ret i8*%eb
el:
%em=getelementptr inbounds i8,i8*%t,i64 8
%en=bitcast i8*%em to i8**
%eo=load i8*,i8**%en,align 8
%ep=getelementptr inbounds i8,i8*%eo,i64 8
%eq=bitcast i8*%ep to i32*
%er=load i32,i32*%eq,align 4
%es=getelementptr inbounds i8,i8*%n,i64 16
%et=bitcast i8*%es to i8**
%eu=load i8*,i8**%et,align 8
store i8*%eu,i8**%d,align 8
%ev=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%ew=getelementptr inbounds i8,i8*%ev,i64 16
%ex=bitcast i8*%ew to i8*(i8*,i8*)**
%ey=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ex,align 8
%ez=bitcast i8*%ev to i8**
%eA=load i8*,i8**%ez,align 8
store i8*%eA,i8**%g,align 8
%eB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eC=getelementptr inbounds i8,i8*%eB,i64 8
%eD=bitcast i8*%eC to i8**
%eE=load i8*,i8**%eD,align 8
store i8*%eE,i8**%e,align 8
%eF=call i8*@sml_alloc(i32 inreg 20)#0
%eG=getelementptr inbounds i8,i8*%eF,i64 -4
%eH=bitcast i8*%eG to i32*
store i32 1342177296,i32*%eH,align 4
store i8*%eF,i8**%f,align 8
%eI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eJ=bitcast i8*%eF to i8**
store i8*%eI,i8**%eJ,align 8
%eK=getelementptr inbounds i8,i8*%eF,i64 8
%eL=bitcast i8*%eK to i8**
store i8*null,i8**%eL,align 8
%eM=getelementptr inbounds i8,i8*%eF,i64 16
%eN=bitcast i8*%eM to i32*
store i32 3,i32*%eN,align 4
%eO=call i8*@sml_alloc(i32 inreg 20)#0
%eP=getelementptr inbounds i8,i8*%eO,i64 -4
%eQ=bitcast i8*%eP to i32*
store i32 1342177296,i32*%eQ,align 4
%eR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eS=bitcast i8*%eO to i8**
store i8*%eR,i8**%eS,align 8
%eT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eU=getelementptr inbounds i8,i8*%eO,i64 8
%eV=bitcast i8*%eU to i8**
store i8*%eT,i8**%eV,align 8
%eW=getelementptr inbounds i8,i8*%eO,i64 16
%eX=bitcast i8*%eW to i32*
store i32 3,i32*%eX,align 4
%eY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eZ=call fastcc i8*%ey(i8*inreg%eY,i8*inreg%eO)
store i8*%eZ,i8**%c,align 8
%e0=call i8*@sml_alloc(i32 inreg 20)#0
%e1=getelementptr inbounds i8,i8*%e0,i64 -4
%e2=bitcast i8*%e1 to i32*
store i32 1342177296,i32*%e2,align 4
store i8*%e0,i8**%e,align 8
%e3=getelementptr inbounds i8,i8*%e0,i64 4
%e4=bitcast i8*%e3 to i32*
store i32 0,i32*%e4,align 1
%e5=bitcast i8*%e0 to i32*
store i32%er,i32*%e5,align 4
%e6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e7=getelementptr inbounds i8,i8*%e0,i64 8
%e8=bitcast i8*%e7 to i8**
store i8*%e6,i8**%e8,align 8
%e9=getelementptr inbounds i8,i8*%e0,i64 16
%fa=bitcast i8*%e9 to i32*
store i32 2,i32*%fa,align 4
%fb=call i8*@sml_alloc(i32 inreg 20)#0
%fc=getelementptr inbounds i8,i8*%fb,i64 -4
%fd=bitcast i8*%fc to i32*
store i32 1342177296,i32*%fd,align 4
store i8*%fb,i8**%c,align 8
%fe=getelementptr inbounds i8,i8*%fb,i64 4
%ff=bitcast i8*%fe to i32*
store i32 0,i32*%ff,align 1
%fg=bitcast i8*%fb to i32*
store i32 40,i32*%fg,align 4
%fh=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fi=getelementptr inbounds i8,i8*%fb,i64 8
%fj=bitcast i8*%fi to i8**
store i8*%fh,i8**%fj,align 8
%fk=getelementptr inbounds i8,i8*%fb,i64 16
%fl=bitcast i8*%fk to i32*
store i32 2,i32*%fl,align 4
%fm=call i8*@sml_alloc(i32 inreg 20)#0
%fn=getelementptr inbounds i8,i8*%fm,i64 -4
%fo=bitcast i8*%fn to i32*
store i32 1342177296,i32*%fo,align 4
%fp=load i8*,i8**%c,align 8
%fq=bitcast i8*%fm to i8**
store i8*%fp,i8**%fq,align 8
%fr=load i8*,i8**%d,align 8
%fs=getelementptr inbounds i8,i8*%fm,i64 8
%ft=bitcast i8*%fs to i8**
store i8*%fr,i8**%ft,align 8
%fu=getelementptr inbounds i8,i8*%fm,i64 16
%fv=bitcast i8*%fu to i32*
store i32 3,i32*%fv,align 4
ret i8*%fm
}
define internal fastcc i8*@_SMLL13genActualVarE_487(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
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
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%g,align 8
%s=bitcast i8**%c to i8***
%t=load i8**,i8***%s,align 8
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=getelementptr inbounds i8*,i8**%t,i64 1
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%f,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%h,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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%x,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177304,i32*%J,align 4
%K=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualVarE_486 to void(...)*),void(...)**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 16
%P=bitcast i8*%O to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualVarE_486 to void(...)*),void(...)**%P,align 8
%Q=getelementptr inbounds i8,i8*%H,i64 24
%R=bitcast i8*%Q to i32*
store i32 -2147483647,i32*%R,align 4
%S=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%T=call fastcc i8*%p(i8*inreg%S,i8*inreg%H)
%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
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
%ad=call fastcc i8*%W(i8*inreg%Y,i8*inreg%ac)
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=load i8*,i8**%d,align 8
%ak=tail call fastcc i8*%ag(i8*inreg%ai,i8*inreg%aj)
ret i8*%ak
}
define internal fastcc i8*@_SMLL13genActualVarE_488(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=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
store i8*%l,i8**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,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**%f,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*)*@_SMLL13genActualVarE_487 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*)*@_SMLL13genActualVarE_487 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLL13genActualVarE_489(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=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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualVarE_488 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualVarE_488 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLL13genActualStrE_492(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
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
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%b to i8**
br label%q
m:
call void@sml_check(i32 inreg%i)
%n=bitcast i8**%c to i8***
%o=load i8**,i8***%n,align 8
%p=load i8*,i8**%e,align 8
br label%q
q:
%r=phi i8*[%p,%m],[%a,%k]
%s=phi i8**[%o,%m],[%l,%k]
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%r,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%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
store i8*%C,i8**%f,align 8
%D=bitcast i8**%e to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%e,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
store i8*%G,i8**%h,align 8
%J=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i8**
store i8*null,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177296,i32*%R,align 4
%S=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%V=getelementptr inbounds i8,i8*%P,i64 8
%W=bitcast i8*%V to i8**
store i8*%U,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%P,i64 16
%Y=bitcast i8*%X to i32*
store i32 3,i32*%Y,align 4
%Z=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aa=call fastcc i8*%A(i8*inreg%Z,i8*inreg%P)
%ab=load i8*,i8**%c,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
%af=getelementptr inbounds i8,i8*%ab,i64 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=getelementptr inbounds i8,i8*%ah,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=load i8*,i8**%g,align 8
%am=call fastcc i8*@_SMLL12genActualEnv_490(i8*inreg%al,i8*inreg%aa,i8*inreg%ae,i8*inreg%ak)
ret i8*%am
}
define internal fastcc i8*@_SMLL12genActualEnv_490(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#2 gc"smlsharp"{
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%h,align 8
store i8*%b,i8**%g,align 8
store i8*%c,i8**%f,align 8
store i8*%d,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%o
l:
%m=bitcast i8*%a to i8**
%n=bitcast i8*%d to i8**
br label%u
o:
call void@sml_check(i32 inreg%j)
%p=bitcast i8**%e to i8***
%q=load i8**,i8***%p,align 8
%r=bitcast i8**%h to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%g,align 8
br label%u
u:
%v=phi i8*[%t,%o],[%b,%l]
%w=phi i8**[%s,%o],[%m,%l]
%x=phi i8**[%q,%o],[%n,%l]
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%i,align 8
%z=load i8*,i8**%w,align 8
%A=call fastcc i8*@_SMLL13genActualVarE_489(i8*inreg%z,i8*inreg%v)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
%G=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%H=call fastcc i8*%D(i8*inreg%F,i8*inreg%G)
%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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%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*%K(i8*inreg%M,i8*inreg%Q)
%S=load i8*,i8**%g,align 8
%T=load i8*,i8**%h,align 8
%U=load i8*,i8**%i,align 8
%V=call fastcc i8*@_SMLL13genActualStrE_491(i8*inreg%T,i8*inreg%S,i8*inreg%R,i8*inreg%U)
ret i8*%V
}
define internal fastcc i8*@_SMLL13genActualStrE_491(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#2 gc"smlsharp"{
%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**%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*%b,i8**%f,align 8
store i8*%c,i8**%e,align 8
store i8*%d,i8**%g,align 8
store i8*%a,i8**%i,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%n,label%m
m:
call void@sml_check(i32 inreg%k)
br label%n
n:
%o=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(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**%h,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**%j,align 8
%x=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%u,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 28)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177304,i32*%G,align 4
%H=load i8*,i8**%j,align 8
store i8*null,i8**%j,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualStrE_492 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualStrE_492 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%E,i64 24
%O=bitcast i8*%N to i32*
store i32 -2147483647,i32*%O,align 4
%P=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%Q=call fastcc i8*%r(i8*inreg%P,i8*inreg%E)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
%W=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%X=call fastcc i8*%T(i8*inreg%V,i8*inreg%W)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
%ad=load i8*,i8**%g,align 8
%ae=call fastcc i8*%aa(i8*inreg%ac,i8*inreg%ad)
ret i8*%ae
}
define internal fastcc i8*@_SMLL12genActualTag_501(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**%c,align 8
store i8*%b,i8**%d,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 i8**
br label%o
k:
call void@sml_check(i32 inreg%g)
%l=load i8*,i8**%d,align 8
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%k],[%j,%i]
%q=phi i8*[%l,%k],[%b,%i]
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%q,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
%w=load i8*,i8**%p,align 8
store i8*%w,i8**%c,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%x,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call fastcc i8*@_SMLFN16NameEvalEnvPrims6findIdE(i8*inreg%x)
%I=icmp eq i8*%H,null
br i1%I,label%J,label%af
J:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%K=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%K,i8**%c,align 8
%L=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aa,i64 0,i32 2)to i8*))
store i8*%L,i8**%d,align 8
%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**%e,align 8
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%S,align 8
%T=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%M,i64 24
%X=bitcast i8*%W to i32*
store i32 7,i32*%X,align 4
%Y=call i8*@sml_alloc(i32 inreg 60)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177336,i32*%aa,align 4
%ab=getelementptr inbounds i8,i8*%Y,i64 56
%ac=bitcast i8*%ab to i32*
store i32 1,i32*%ac,align 4
%ad=load i8*,i8**%e,align 8
%ae=bitcast i8*%Y to i8**
store i8*%ad,i8**%ae,align 8
call void@sml_raise(i8*inreg%Y)#1
unreachable
af:
%ag=bitcast i8*%H to i8**
%ah=load i8*,i8**%ag,align 8
%ai=getelementptr inbounds i8,i8*%ah,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=bitcast i8*%ak to i32*
%am=load i32,i32*%al,align 4
switch i32%am,label%an[
i32 4,label%cC
i32 5,label%bT
i32 2,label%bj
i32 3,label%aJ
]
an:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%ao=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ao,i8**%c,align 8
%ap=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@Y,i64 0,i32 2)to i8*))
store i8*%ap,i8**%d,align 8
%aq=call i8*@sml_alloc(i32 inreg 28)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177304,i32*%as,align 4
store i8*%aq,i8**%e,align 8
%at=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%aq,i64 8
%aw=bitcast i8*%av to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%aw,align 8
%ax=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i8**
store i8*%ax,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%aq,i64 24
%aB=bitcast i8*%aA to i32*
store i32 7,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**%e,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=getelementptr inbounds i8,i8*%ak,i64 8
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
%aN=call fastcc i8*@_SMLFN6IDCalc17idInfoToExExnInfoE(i8*inreg%aM)
store i8*%aN,i8**%c,align 8
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
store i8*%aO,i8**%f,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aO,i64 16
%aX=bitcast i8*%aW to i32*
store i32 3,i32*%aX,align 4
%aY=call i8*@sml_alloc(i32 inreg 20)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177296,i32*%a0,align 4
store i8*%aY,i8**%c,align 8
%a1=getelementptr inbounds i8,i8*%aY,i64 4
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 1
%a3=bitcast i8*%aY to i32*
store i32 14,i32*%a3,align 4
%a4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a5=getelementptr inbounds i8,i8*%aY,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aY,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 2,i32*%a8,align 4
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
%bc=load i8*,i8**%c,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%e,align 8
%bf=getelementptr inbounds i8,i8*%a9,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a9,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
ret i8*%a9
bj:
%bk=getelementptr inbounds i8,i8*%ak,i64 8
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
%bn=call fastcc i8*@_SMLFN6IDCalc17idInfoToExExnInfoE(i8*inreg%bm)
store i8*%bn,i8**%c,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**%f,align 8
%br=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bu=getelementptr inbounds i8,i8*%bo,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bo,i64 16
%bx=bitcast i8*%bw to i32*
store i32 3,i32*%bx,align 4
%by=call i8*@sml_alloc(i32 inreg 20)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
store i8*%by,i8**%c,align 8
%bB=getelementptr inbounds i8,i8*%by,i64 4
%bC=bitcast i8*%bB to i32*
store i32 0,i32*%bC,align 1
%bD=bitcast i8*%by to i32*
store i32 14,i32*%bD,align 4
%bE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%by,i64 16
%bI=bitcast i8*%bH to i32*
store i32 2,i32*%bI,align 4
%bJ=call i8*@sml_alloc(i32 inreg 20)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177296,i32*%bL,align 4
%bM=load i8*,i8**%c,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=load i8*,i8**%e,align 8
%bP=getelementptr inbounds i8,i8*%bJ,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bJ,i64 16
%bS=bitcast i8*%bR to i32*
store i32 3,i32*%bS,align 4
ret i8*%bJ
bT:
%bU=getelementptr inbounds i8,i8*%ak,i64 8
%bV=bitcast i8*%bU to i8**
%bW=load i8*,i8**%bV,align 8
%bX=getelementptr inbounds i8,i8*%bW,i64 8
%bY=bitcast i8*%bX to i32*
%bZ=load i32,i32*%bY,align 4
%b0=getelementptr inbounds i8,i8*%bW,i64 24
%b1=bitcast i8*%b0 to i8**
%b2=load i8*,i8**%b1,align 8
store i8*%b2,i8**%c,align 8
%b3=call i8*@sml_alloc(i32 inreg 28)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177304,i32*%b5,align 4
store i8*%b3,i8**%f,align 8
%b6=getelementptr inbounds i8,i8*%b3,i64 4
%b7=bitcast i8*%b6 to i32*
store i32 0,i32*%b7,align 1
%b8=bitcast i8*%b3 to i32*
store i32%bZ,i32*%b8,align 4
%b9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cd=getelementptr inbounds i8,i8*%b3,i64 16
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b3,i64 24
%cg=bitcast i8*%cf to i32*
store i32 6,i32*%cg,align 4
%ch=call i8*@sml_alloc(i32 inreg 20)#0
%ci=getelementptr inbounds i8,i8*%ch,i64 -4
%cj=bitcast i8*%ci to i32*
store i32 1342177296,i32*%cj,align 4
store i8*%ch,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%ch,i64 4
%cl=bitcast i8*%ck to i32*
store i32 0,i32*%cl,align 1
%cm=bitcast i8*%ch to i32*
store i32 16,i32*%cm,align 4
%cn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%co=getelementptr inbounds i8,i8*%ch,i64 8
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%ch,i64 16
%cr=bitcast i8*%cq to i32*
store i32 2,i32*%cr,align 4
%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
%cv=load i8*,i8**%c,align 8
%cw=bitcast i8*%cs to i8**
store i8*%cv,i8**%cw,align 8
%cx=load i8*,i8**%e,align 8
%cy=getelementptr inbounds i8,i8*%cs,i64 8
%cz=bitcast i8*%cy to i8**
store i8*%cx,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cs,i64 16
%cB=bitcast i8*%cA to i32*
store i32 3,i32*%cB,align 4
ret i8*%cs
cC:
%cD=getelementptr inbounds i8,i8*%ak,i64 8
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
%cG=getelementptr inbounds i8,i8*%cF,i64 8
%cH=bitcast i8*%cG to i32*
%cI=load i32,i32*%cH,align 4
%cJ=getelementptr inbounds i8,i8*%cF,i64 24
%cK=bitcast i8*%cJ to i8**
%cL=load i8*,i8**%cK,align 8
store i8*%cL,i8**%c,align 8
%cM=call i8*@sml_alloc(i32 inreg 28)#0
%cN=getelementptr inbounds i8,i8*%cM,i64 -4
%cO=bitcast i8*%cN to i32*
store i32 1342177304,i32*%cO,align 4
store i8*%cM,i8**%f,align 8
%cP=getelementptr inbounds i8,i8*%cM,i64 4
%cQ=bitcast i8*%cP to i32*
store i32 0,i32*%cQ,align 1
%cR=bitcast i8*%cM to i32*
store i32%cI,i32*%cR,align 4
%cS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cT=getelementptr inbounds i8,i8*%cM,i64 8
%cU=bitcast i8*%cT to i8**
store i8*%cS,i8**%cU,align 8
%cV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cW=getelementptr inbounds i8,i8*%cM,i64 16
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cM,i64 24
%cZ=bitcast i8*%cY to i32*
store i32 6,i32*%cZ,align 4
%c0=call i8*@sml_alloc(i32 inreg 20)#0
%c1=getelementptr inbounds i8,i8*%c0,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32 1342177296,i32*%c2,align 4
store i8*%c0,i8**%c,align 8
%c3=getelementptr inbounds i8,i8*%c0,i64 4
%c4=bitcast i8*%c3 to i32*
store i32 0,i32*%c4,align 1
%c5=bitcast i8*%c0 to i32*
store i32 16,i32*%c5,align 4
%c6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c7=getelementptr inbounds i8,i8*%c0,i64 8
%c8=bitcast i8*%c7 to i8**
store i8*%c6,i8**%c8,align 8
%c9=getelementptr inbounds i8,i8*%c0,i64 16
%da=bitcast i8*%c9 to i32*
store i32 2,i32*%da,align 4
%db=call i8*@sml_alloc(i32 inreg 20)#0
%dc=getelementptr inbounds i8,i8*%db,i64 -4
%dd=bitcast i8*%dc to i32*
store i32 1342177296,i32*%dd,align 4
%de=load i8*,i8**%c,align 8
%df=bitcast i8*%db to i8**
store i8*%de,i8**%df,align 8
%dg=load i8*,i8**%e,align 8
%dh=getelementptr inbounds i8,i8*%db,i64 8
%di=bitcast i8*%dh to i8**
store i8*%dg,i8**%di,align 8
%dj=getelementptr inbounds i8,i8*%db,i64 16
%dk=bitcast i8*%dj to i32*
store i32 3,i32*%dk,align 4
ret i8*%db
}
define internal fastcc i8*@_SMLLN12FunctorUtils15makeFunctorArgsE_504(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**%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**%i,align 8
store i8*%b,i8**%g,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%o
m:
%n=bitcast i8*%a to i8**
br label%s
o:
call void@sml_check(i32 inreg%k)
%p=load i8*,i8**%g,align 8
%q=bitcast i8**%i to i8***
%r=load i8**,i8***%q,align 8
br label%s
s:
%t=phi i8**[%r,%o],[%n,%m]
%u=phi i8*[%p,%o],[%b,%m]
store i8*%u,i8**%h,align 8
%v=load i8*,i8**%t,align 8
store i8*%v,i8**%g,align 8
%w=call i8*@sml_alloc(i32 inreg 12)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177288,i32*%y,align 4
store i8*%w,i8**%j,align 8
%z=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 i32*
store i32 1,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 28)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177304,i32*%F,align 4
%G=load i8*,i8**%j,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualVarE_489 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13genActualVarE_489 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%D,i64 24
%N=bitcast i8*%M to i32*
store i32 -2147483647,i32*%N,align 4
%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**%g,align 8
%R=load i8*,i8**%j,align 8
store i8*null,i8**%j,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**%g,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*,i8*,i8*)*@_SMLL12genActualEnv_490 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*,i8*,i8*)*@_SMLL12genActualEnv_490 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 28)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177304,i32*%ai,align 4
%aj=load i8*,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLL13genActualStrE_491 to void(...)*),void(...)**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLL13genActualStrE_491 to void(...)*),void(...)**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 24
%aq=bitcast i8*%ap to i32*
store i32 -2147483647,i32*%aq,align 4
%ar=load i8*,i8**%h,align 8
store i8*null,i8**%g,align 8
%as=call fastcc i8*@_SMLL12genActualEnv_490(i8*inreg%aj,i8*inreg null,i8*inreg null,i8*inreg%ar)
store i8*%as,i8**%g,align 8
%at=load i8*,i8**%i,align 8
%au=getelementptr inbounds i8,i8*%at,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%i,align 8
%ax=call i8*@sml_alloc(i32 inreg 20)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177296,i32*%az,align 4
%aA=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aB=bitcast i8*%ax to i8**
store i8*%aA,i8**%aB,align 8
%aC=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aD=getelementptr inbounds i8,i8*%ax,i64 8
%aE=bitcast i8*%aD to i8**
store i8*%aC,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%ax,i64 16
%aG=bitcast i8*%aF to i32*
store i32 3,i32*%aG,align 4
%aH=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aH)
%aI=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aI)
%aJ=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aJ)
%aK=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aK)
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*%ax,i8**%c,align 8
%aL=load atomic i32,i32*@sml_check_flag unordered,align 4
%aM=icmp eq i32%aL,0
br i1%aM,label%aS,label%aN
aN:
call void@sml_check(i32 inreg%aL)
%aO=load i8*,i8**%c,align 8
%aP=getelementptr inbounds i8,i8*%aO,i64 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
br label%aS
aS:
%aT=phi i8*[%aR,%aN],[%aC,%s]
store i8*%aT,i8**%d,align 8
%aU=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**%e,align 8
%a0=call i8*@sml_alloc(i32 inreg 12)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177288,i32*%a2,align 4
store i8*%a0,i8**%f,align 8
%a3=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%a0,i64 8
%a6=bitcast i8*%a5 to i32*
store i32 1,i32*%a6,align 4
%a7=call i8*@sml_alloc(i32 inreg 28)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177304,i32*%a9,align 4
%ba=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12genActualTag_501 to void(...)*),void(...)**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 16
%bf=bitcast i8*%be to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12genActualTag_501 to void(...)*),void(...)**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a7,i64 24
%bh=bitcast i8*%bg to i32*
store i32 -2147483647,i32*%bh,align 4
%bi=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bj=call fastcc i8*%aX(i8*inreg%bi,i8*inreg%a7)
%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
%bp=call fastcc i8*%bm(i8*inreg%bo,i8*inreg null)
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
%bv=bitcast i8**%c to i8***
%bw=load i8**,i8***%bv,align 8
%bx=load i8*,i8**%bw,align 8
%by=call fastcc i8*%bs(i8*inreg%bu,i8*inreg%bx)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aH)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aJ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
store i8*%by,i8**%h,align 8
%bz=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%bA=getelementptr inbounds i8,i8*%bz,i64 16
%bB=bitcast i8*%bA to i8*(i8*,i8*)**
%bC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bB,align 8
%bD=bitcast i8*%bz to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%i,align 8
%bF=call i8*@sml_alloc(i32 inreg 20)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177296,i32*%bH,align 4
%bI=load i8*,i8**%g,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=load i8*,i8**%h,align 8
%bL=getelementptr inbounds i8,i8*%bF,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bF,i64 16
%bO=bitcast i8*%bN to i32*
store i32 3,i32*%bO,align 4
%bP=load i8*,i8**%i,align 8
%bQ=tail call fastcc i8*%bC(i8*inreg%bP,i8*inreg%bF)
ret i8*%bQ
}
define internal fastcc i8*@_SMLLN12FunctorUtils15makeFunctorArgsE_505(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=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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils15makeFunctorArgsE_504 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils15makeFunctorArgsE_504 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define fastcc i8*@_SMLFN12FunctorUtils15makeFunctorArgsE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils15makeFunctorArgsE_505 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*)*@_SMLLN12FunctorUtils15makeFunctorArgsE_505 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*@_SMLLN12FunctorUtils10varsInVarEE_517(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%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**%h,align 8
store i8*%b,i8**%c,align 8
%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**%c,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%p,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
switch i32%x,label%y[
i32 12,label%kd
i32 13,label%iD
i32 6,label%gB
i32 7,label%gf
i32 0,label%fY
i32 1,label%fH
i32 4,label%dI
i32 5,label%bJ
i32 2,label%bs
i32 3,label%bb
i32 8,label%aP
i32 11,label%ay
i32 10,label%ah
i32 9,label%Q
]
y:
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%z=load i8*,i8**@_SMLZ5Match,align 8
store i8*%z,i8**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@ag,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:
store i8*null,i8**%h,align 8
%R=getelementptr inbounds i8,i8*%p,i64 16
%S=bitcast i8*%R to i8***
%T=load i8**,i8***%S,align 8
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%c,align 8
%V=getelementptr inbounds i8*,i8**%T,i64 1
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%d,align 8
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
%aa=load i8*,i8**%c,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%d,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 3,i32*%ag,align 4
ret i8*%X
ah:
store i8*null,i8**%h,align 8
%ai=getelementptr inbounds i8,i8*%p,i64 16
%aj=bitcast i8*%ai to i8***
%ak=load i8**,i8***%aj,align 8
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%c,align 8
%am=getelementptr inbounds i8*,i8**%ak,i64 1
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%d,align 8
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177296,i32*%aq,align 4
%ar=load i8*,i8**%c,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=load i8*,i8**%d,align 8
%au=getelementptr inbounds i8,i8*%ao,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ao,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
ret i8*%ao
ay:
store i8*null,i8**%h,align 8
%az=getelementptr inbounds i8,i8*%p,i64 16
%aA=bitcast i8*%az to i8***
%aB=load i8**,i8***%aA,align 8
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%c,align 8
%aD=getelementptr inbounds i8*,i8**%aB,i64 1
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%d,align 8
%aF=call i8*@sml_alloc(i32 inreg 20)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177296,i32*%aH,align 4
%aI=load i8*,i8**%c,align 8
%aJ=bitcast i8*%aF to i8**
store i8*%aI,i8**%aJ,align 8
%aK=load i8*,i8**%d,align 8
%aL=getelementptr inbounds i8,i8*%aF,i64 8
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aF,i64 16
%aO=bitcast i8*%aN to i32*
store i32 3,i32*%aO,align 4
ret i8*%aF
aP:
store i8*null,i8**%h,align 8
%aQ=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aQ,i8**%c,align 8
%aR=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@af,i64 0,i32 2)to i8*))
store i8*%aR,i8**%d,align 8
%aS=call i8*@sml_alloc(i32 inreg 28)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177304,i32*%aU,align 4
store i8*%aS,i8**%e,align 8
%aV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aS,i64 8
%aY=bitcast i8*%aX to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%aY,align 8
%aZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a0=getelementptr inbounds i8,i8*%aS,i64 16
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aS,i64 24
%a3=bitcast i8*%a2 to i32*
store i32 7,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**%e,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:
store i8*null,i8**%h,align 8
%bc=getelementptr inbounds i8,i8*%p,i64 16
%bd=bitcast i8*%bc to i8***
%be=load i8**,i8***%bd,align 8
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%c,align 8
%bg=getelementptr inbounds i8*,i8**%be,i64 1
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%d,align 8
%bi=call i8*@sml_alloc(i32 inreg 20)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177296,i32*%bk,align 4
%bl=load i8*,i8**%c,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%d,align 8
%bo=getelementptr inbounds i8,i8*%bi,i64 8
%bp=bitcast i8*%bo to i8**
store i8*%bn,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bi,i64 16
%br=bitcast i8*%bq to i32*
store i32 3,i32*%br,align 4
ret i8*%bi
bs:
store i8*null,i8**%h,align 8
%bt=getelementptr inbounds i8,i8*%p,i64 16
%bu=bitcast i8*%bt to i8***
%bv=load i8**,i8***%bu,align 8
%bw=load i8*,i8**%bv,align 8
store i8*%bw,i8**%c,align 8
%bx=getelementptr inbounds i8*,i8**%bv,i64 1
%by=load i8*,i8**%bx,align 8
store i8*%by,i8**%d,align 8
%bz=call i8*@sml_alloc(i32 inreg 20)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
%bC=load i8*,i8**%c,align 8
%bD=bitcast i8*%bz to i8**
store i8*%bC,i8**%bD,align 8
%bE=load i8*,i8**%d,align 8
%bF=getelementptr inbounds i8,i8*%bz,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bz,i64 16
%bI=bitcast i8*%bH to i32*
store i32 3,i32*%bI,align 4
ret i8*%bz
bJ:
%bK=getelementptr inbounds i8,i8*%v,i64 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
store i8*%bM,i8**%d,align 8
%bN=getelementptr inbounds i8,i8*%bM,i64 8
%bO=bitcast i8*%bN to i32*
%bP=load i32,i32*%bO,align 4
%bQ=getelementptr inbounds i8,i8*%p,i64 16
%bR=bitcast i8*%bQ to i8***
%bS=load i8**,i8***%bR,align 8
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%e,align 8
%bU=getelementptr inbounds i8*,i8**%bS,i64 1
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%f,align 8
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
%bZ=getelementptr inbounds i8,i8*%bW,i64 12
%b0=bitcast i8*%bZ to i32*
store i32 0,i32*%b0,align 1
%b1=load i8*,i8**%f,align 8
%b2=bitcast i8*%bW to i8**
store i8*%b1,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bW,i64 8
%b4=bitcast i8*%b3 to i32*
store i32%bP,i32*%b4,align 4
%b5=getelementptr inbounds i8,i8*%bW,i64 16
%b6=bitcast i8*%b5 to i32*
store i32 1,i32*%b6,align 4
%b7=call fastcc i32@_SMLFN5ExnID3Set6memberE(i8*inreg%bW)
%b8=icmp eq i32%b7,0
br i1%b8,label%ck,label%b9
b9:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%h,align 8
%ca=call i8*@sml_alloc(i32 inreg 20)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177296,i32*%cc,align 4
%cd=load i8*,i8**%e,align 8
%ce=bitcast i8*%ca to i8**
store i8*%cd,i8**%ce,align 8
%cf=load i8*,i8**%f,align 8
%cg=getelementptr inbounds i8,i8*%ca,i64 8
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%ca,i64 16
%cj=bitcast i8*%ci to i32*
store i32 3,i32*%cj,align 4
ret i8*%ca
ck:
%cl=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%cm=getelementptr inbounds i8,i8*%cl,i64 16
%cn=bitcast i8*%cm to i8*(i8*,i8*)**
%co=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cn,align 8
%cp=bitcast i8*%cl to i8**
%cq=load i8*,i8**%cp,align 8
store i8*%cq,i8**%i,align 8
%cr=bitcast i8**%h to i8***
%cs=load i8**,i8***%cr,align 8
store i8*null,i8**%h,align 8
%ct=load i8*,i8**%cs,align 8
store i8*%ct,i8**%g,align 8
%cu=call i8*@sml_alloc(i32 inreg 20)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177296,i32*%cw,align 4
store i8*%cu,i8**%h,align 8
%cx=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*null,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cu,i64 16
%cC=bitcast i8*%cB to i32*
store i32 3,i32*%cC,align 4
%cD=call i8*@sml_alloc(i32 inreg 20)#0
%cE=getelementptr inbounds i8,i8*%cD,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177296,i32*%cF,align 4
%cG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cH=bitcast i8*%cD to i8**
store i8*%cG,i8**%cH,align 8
%cI=load i8*,i8**%h,align 8
store i8*null,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=getelementptr inbounds i8,i8*%cD,i64 16
%cM=bitcast i8*%cL to i32*
store i32 3,i32*%cM,align 4
%cN=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cO=call fastcc i8*%co(i8*inreg%cN,i8*inreg%cD)
store i8*%cO,i8**%c,align 8
%cP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cQ=call fastcc i8*@_SMLFN6IDCalc15idInfoToExnInfoE(i8*inreg%cP)
store i8*%cQ,i8**%d,align 8
%cR=call i8*@sml_alloc(i32 inreg 20)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32 1342177296,i32*%cT,align 4
store i8*%cR,i8**%g,align 8
%cU=getelementptr inbounds i8,i8*%cR,i64 4
%cV=bitcast i8*%cU to i32*
store i32 0,i32*%cV,align 1
%cW=bitcast i8*%cR to i32*
store i32 16,i32*%cW,align 4
%cX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cY=getelementptr inbounds i8,i8*%cR,i64 8
%cZ=bitcast i8*%cY to i8**
store i8*%cX,i8**%cZ,align 8
%c0=getelementptr inbounds i8,i8*%cR,i64 16
%c1=bitcast i8*%c0 to i32*
store i32 2,i32*%c1,align 4
%c2=call i8*@sml_alloc(i32 inreg 20)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177296,i32*%c4,align 4
store i8*%c2,i8**%d,align 8
%c5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c6=bitcast i8*%c2 to i8**
store i8*%c5,i8**%c6,align 8
%c7=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c8=getelementptr inbounds i8,i8*%c2,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*%c7,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c2,i64 16
%db=bitcast i8*%da to i32*
store i32 3,i32*%db,align 4
%dc=call i8*@sml_alloc(i32 inreg 20)#0
%dd=getelementptr inbounds i8,i8*%dc,i64 -4
%de=bitcast i8*%dd to i32*
store i32 1342177296,i32*%de,align 4
store i8*%dc,i8**%g,align 8
%df=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dg=bitcast i8*%dc to i8**
store i8*%df,i8**%dg,align 8
%dh=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%di=getelementptr inbounds i8,i8*%dc,i64 8
%dj=bitcast i8*%di to i8**
store i8*%dh,i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%dc,i64 16
%dl=bitcast i8*%dk to i32*
store i32 3,i32*%dl,align 4
%dm=call i8*@sml_alloc(i32 inreg 20)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177296,i32*%do,align 4
%dp=getelementptr inbounds i8,i8*%dm,i64 12
%dq=bitcast i8*%dp to i32*
store i32 0,i32*%dq,align 1
%dr=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ds=bitcast i8*%dm to i8**
store i8*%dr,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dm,i64 8
%du=bitcast i8*%dt to i32*
store i32%bP,i32*%du,align 4
%dv=getelementptr inbounds i8,i8*%dm,i64 16
%dw=bitcast i8*%dv to i32*
store i32 1,i32*%dw,align 4
%dx=call fastcc i8*@_SMLFN5ExnID3Set3addE(i8*inreg%dm)
store i8*%dx,i8**%c,align 8
%dy=call i8*@sml_alloc(i32 inreg 20)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32 1342177296,i32*%dA,align 4
%dB=load i8*,i8**%g,align 8
%dC=bitcast i8*%dy to i8**
store i8*%dB,i8**%dC,align 8
%dD=load i8*,i8**%c,align 8
%dE=getelementptr inbounds i8,i8*%dy,i64 8
%dF=bitcast i8*%dE to i8**
store i8*%dD,i8**%dF,align 8
%dG=getelementptr inbounds i8,i8*%dy,i64 16
%dH=bitcast i8*%dG to i32*
store i32 3,i32*%dH,align 4
ret i8*%dy
dI:
%dJ=getelementptr inbounds i8,i8*%v,i64 8
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
store i8*%dL,i8**%d,align 8
%dM=getelementptr inbounds i8,i8*%dL,i64 8
%dN=bitcast i8*%dM to i32*
%dO=load i32,i32*%dN,align 4
%dP=getelementptr inbounds i8,i8*%p,i64 16
%dQ=bitcast i8*%dP to i8***
%dR=load i8**,i8***%dQ,align 8
%dS=load i8*,i8**%dR,align 8
store i8*%dS,i8**%e,align 8
%dT=getelementptr inbounds i8*,i8**%dR,i64 1
%dU=load i8*,i8**%dT,align 8
store i8*%dU,i8**%f,align 8
%dV=call i8*@sml_alloc(i32 inreg 20)#0
%dW=getelementptr inbounds i8,i8*%dV,i64 -4
%dX=bitcast i8*%dW to i32*
store i32 1342177296,i32*%dX,align 4
%dY=getelementptr inbounds i8,i8*%dV,i64 12
%dZ=bitcast i8*%dY to i32*
store i32 0,i32*%dZ,align 1
%d0=load i8*,i8**%f,align 8
%d1=bitcast i8*%dV to i8**
store i8*%d0,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dV,i64 8
%d3=bitcast i8*%d2 to i32*
store i32%dO,i32*%d3,align 4
%d4=getelementptr inbounds i8,i8*%dV,i64 16
%d5=bitcast i8*%d4 to i32*
store i32 1,i32*%d5,align 4
%d6=call fastcc i32@_SMLFN5ExnID3Set6memberE(i8*inreg%dV)
%d7=icmp eq i32%d6,0
br i1%d7,label%ej,label%d8
d8:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%h,align 8
%d9=call i8*@sml_alloc(i32 inreg 20)#0
%ea=getelementptr inbounds i8,i8*%d9,i64 -4
%eb=bitcast i8*%ea to i32*
store i32 1342177296,i32*%eb,align 4
%ec=load i8*,i8**%e,align 8
%ed=bitcast i8*%d9 to i8**
store i8*%ec,i8**%ed,align 8
%ee=load i8*,i8**%f,align 8
%ef=getelementptr inbounds i8,i8*%d9,i64 8
%eg=bitcast i8*%ef to i8**
store i8*%ee,i8**%eg,align 8
%eh=getelementptr inbounds i8,i8*%d9,i64 16
%ei=bitcast i8*%eh to i32*
store i32 3,i32*%ei,align 4
ret i8*%d9
ej:
%ek=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%el=getelementptr inbounds i8,i8*%ek,i64 16
%em=bitcast i8*%el to i8*(i8*,i8*)**
%en=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%em,align 8
%eo=bitcast i8*%ek to i8**
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%i,align 8
%eq=bitcast i8**%h to i8***
%er=load i8**,i8***%eq,align 8
store i8*null,i8**%h,align 8
%es=load i8*,i8**%er,align 8
store i8*%es,i8**%g,align 8
%et=call i8*@sml_alloc(i32 inreg 20)#0
%eu=getelementptr inbounds i8,i8*%et,i64 -4
%ev=bitcast i8*%eu to i32*
store i32 1342177296,i32*%ev,align 4
store i8*%et,i8**%h,align 8
%ew=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ex=bitcast i8*%et to i8**
store i8*%ew,i8**%ex,align 8
%ey=getelementptr inbounds i8,i8*%et,i64 8
%ez=bitcast i8*%ey to i8**
store i8*null,i8**%ez,align 8
%eA=getelementptr inbounds i8,i8*%et,i64 16
%eB=bitcast i8*%eA to i32*
store i32 3,i32*%eB,align 4
%eC=call i8*@sml_alloc(i32 inreg 20)#0
%eD=getelementptr inbounds i8,i8*%eC,i64 -4
%eE=bitcast i8*%eD to i32*
store i32 1342177296,i32*%eE,align 4
%eF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eG=bitcast i8*%eC to i8**
store i8*%eF,i8**%eG,align 8
%eH=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eI=getelementptr inbounds i8,i8*%eC,i64 8
%eJ=bitcast i8*%eI to i8**
store i8*%eH,i8**%eJ,align 8
%eK=getelementptr inbounds i8,i8*%eC,i64 16
%eL=bitcast i8*%eK to i32*
store i32 3,i32*%eL,align 4
%eM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eN=call fastcc i8*%en(i8*inreg%eM,i8*inreg%eC)
store i8*%eN,i8**%c,align 8
%eO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eP=call fastcc i8*@_SMLFN6IDCalc15idInfoToExnInfoE(i8*inreg%eO)
store i8*%eP,i8**%d,align 8
%eQ=call i8*@sml_alloc(i32 inreg 20)#0
%eR=getelementptr inbounds i8,i8*%eQ,i64 -4
%eS=bitcast i8*%eR to i32*
store i32 1342177296,i32*%eS,align 4
store i8*%eQ,i8**%g,align 8
%eT=getelementptr inbounds i8,i8*%eQ,i64 4
%eU=bitcast i8*%eT to i32*
store i32 0,i32*%eU,align 1
%eV=bitcast i8*%eQ to i32*
store i32 16,i32*%eV,align 4
%eW=load i8*,i8**%d,align 8
store i8*null,i8**%d,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
%e0=bitcast i8*%eZ to i32*
store i32 2,i32*%e0,align 4
%e1=call i8*@sml_alloc(i32 inreg 20)#0
%e2=getelementptr inbounds i8,i8*%e1,i64 -4
%e3=bitcast i8*%e2 to i32*
store i32 1342177296,i32*%e3,align 4
store i8*%e1,i8**%d,align 8
%e4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e5=bitcast i8*%e1 to i8**
store i8*%e4,i8**%e5,align 8
%e6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%e7=getelementptr inbounds i8,i8*%e1,i64 8
%e8=bitcast i8*%e7 to i8**
store i8*%e6,i8**%e8,align 8
%e9=getelementptr inbounds i8,i8*%e1,i64 16
%fa=bitcast i8*%e9 to i32*
store i32 3,i32*%fa,align 4
%fb=call i8*@sml_alloc(i32 inreg 20)#0
%fc=getelementptr inbounds i8,i8*%fb,i64 -4
%fd=bitcast i8*%fc to i32*
store i32 1342177296,i32*%fd,align 4
store i8*%fb,i8**%g,align 8
%fe=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ff=bitcast i8*%fb to i8**
store i8*%fe,i8**%ff,align 8
%fg=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fh=getelementptr inbounds i8,i8*%fb,i64 8
%fi=bitcast i8*%fh to i8**
store i8*%fg,i8**%fi,align 8
%fj=getelementptr inbounds i8,i8*%fb,i64 16
%fk=bitcast i8*%fj to i32*
store i32 3,i32*%fk,align 4
%fl=call i8*@sml_alloc(i32 inreg 20)#0
%fm=getelementptr inbounds i8,i8*%fl,i64 -4
%fn=bitcast i8*%fm to i32*
store i32 1342177296,i32*%fn,align 4
%fo=getelementptr inbounds i8,i8*%fl,i64 12
%fp=bitcast i8*%fo to i32*
store i32 0,i32*%fp,align 1
%fq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fr=bitcast i8*%fl to i8**
store i8*%fq,i8**%fr,align 8
%fs=getelementptr inbounds i8,i8*%fl,i64 8
%ft=bitcast i8*%fs to i32*
store i32%dO,i32*%ft,align 4
%fu=getelementptr inbounds i8,i8*%fl,i64 16
%fv=bitcast i8*%fu to i32*
store i32 1,i32*%fv,align 4
%fw=call fastcc i8*@_SMLFN5ExnID3Set3addE(i8*inreg%fl)
store i8*%fw,i8**%c,align 8
%fx=call i8*@sml_alloc(i32 inreg 20)#0
%fy=getelementptr inbounds i8,i8*%fx,i64 -4
%fz=bitcast i8*%fy to i32*
store i32 1342177296,i32*%fz,align 4
%fA=load i8*,i8**%g,align 8
%fB=bitcast i8*%fx to i8**
store i8*%fA,i8**%fB,align 8
%fC=load i8*,i8**%c,align 8
%fD=getelementptr inbounds i8,i8*%fx,i64 8
%fE=bitcast i8*%fD to i8**
store i8*%fC,i8**%fE,align 8
%fF=getelementptr inbounds i8,i8*%fx,i64 16
%fG=bitcast i8*%fF to i32*
store i32 3,i32*%fG,align 4
ret i8*%fx
fH:
store i8*null,i8**%h,align 8
%fI=getelementptr inbounds i8,i8*%p,i64 16
%fJ=bitcast i8*%fI to i8***
%fK=load i8**,i8***%fJ,align 8
%fL=load i8*,i8**%fK,align 8
store i8*%fL,i8**%c,align 8
%fM=getelementptr inbounds i8*,i8**%fK,i64 1
%fN=load i8*,i8**%fM,align 8
store i8*%fN,i8**%d,align 8
%fO=call i8*@sml_alloc(i32 inreg 20)#0
%fP=getelementptr inbounds i8,i8*%fO,i64 -4
%fQ=bitcast i8*%fP to i32*
store i32 1342177296,i32*%fQ,align 4
%fR=load i8*,i8**%c,align 8
%fS=bitcast i8*%fO to i8**
store i8*%fR,i8**%fS,align 8
%fT=load i8*,i8**%d,align 8
%fU=getelementptr inbounds i8,i8*%fO,i64 8
%fV=bitcast i8*%fU to i8**
store i8*%fT,i8**%fV,align 8
%fW=getelementptr inbounds i8,i8*%fO,i64 16
%fX=bitcast i8*%fW to i32*
store i32 3,i32*%fX,align 4
ret i8*%fO
fY:
store i8*null,i8**%h,align 8
%fZ=getelementptr inbounds i8,i8*%p,i64 16
%f0=bitcast i8*%fZ to i8***
%f1=load i8**,i8***%f0,align 8
%f2=load i8*,i8**%f1,align 8
store i8*%f2,i8**%c,align 8
%f3=getelementptr inbounds i8*,i8**%f1,i64 1
%f4=load i8*,i8**%f3,align 8
store i8*%f4,i8**%d,align 8
%f5=call i8*@sml_alloc(i32 inreg 20)#0
%f6=getelementptr inbounds i8,i8*%f5,i64 -4
%f7=bitcast i8*%f6 to i32*
store i32 1342177296,i32*%f7,align 4
%f8=load i8*,i8**%c,align 8
%f9=bitcast i8*%f5 to i8**
store i8*%f8,i8**%f9,align 8
%ga=load i8*,i8**%d,align 8
%gb=getelementptr inbounds i8,i8*%f5,i64 8
%gc=bitcast i8*%gb to i8**
store i8*%ga,i8**%gc,align 8
%gd=getelementptr inbounds i8,i8*%f5,i64 16
%ge=bitcast i8*%gd to i32*
store i32 3,i32*%ge,align 4
ret i8*%f5
gf:
store i8*null,i8**%h,align 8
%gg=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%gg,i8**%c,align 8
%gh=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ad,i64 0,i32 2)to i8*))
store i8*%gh,i8**%d,align 8
%gi=call i8*@sml_alloc(i32 inreg 28)#0
%gj=getelementptr inbounds i8,i8*%gi,i64 -4
%gk=bitcast i8*%gj to i32*
store i32 1342177304,i32*%gk,align 4
store i8*%gi,i8**%e,align 8
%gl=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gm=bitcast i8*%gi to i8**
store i8*%gl,i8**%gm,align 8
%gn=getelementptr inbounds i8,i8*%gi,i64 8
%go=bitcast i8*%gn to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%go,align 8
%gp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gq=getelementptr inbounds i8,i8*%gi,i64 16
%gr=bitcast i8*%gq to i8**
store i8*%gp,i8**%gr,align 8
%gs=getelementptr inbounds i8,i8*%gi,i64 24
%gt=bitcast i8*%gs to i32*
store i32 7,i32*%gt,align 4
%gu=call i8*@sml_alloc(i32 inreg 60)#0
%gv=getelementptr inbounds i8,i8*%gu,i64 -4
%gw=bitcast i8*%gv to i32*
store i32 1342177336,i32*%gw,align 4
%gx=getelementptr inbounds i8,i8*%gu,i64 56
%gy=bitcast i8*%gx to i32*
store i32 1,i32*%gy,align 4
%gz=load i8*,i8**%e,align 8
%gA=bitcast i8*%gu to i8**
store i8*%gz,i8**%gA,align 8
call void@sml_raise(i8*inreg%gu)#1
unreachable
gB:
%gC=getelementptr inbounds i8,i8*%v,i64 8
%gD=bitcast i8*%gC to i8**
%gE=load i8*,i8**%gD,align 8
%gF=getelementptr inbounds i8,i8*%gE,i64 8
%gG=bitcast i8*%gF to i8**
%gH=load i8*,i8**%gG,align 8
store i8*%gH,i8**%e,align 8
%gI=getelementptr inbounds i8,i8*%p,i64 16
%gJ=bitcast i8*%gI to i8***
%gK=load i8**,i8***%gJ,align 8
%gL=load i8*,i8**%gK,align 8
store i8*%gL,i8**%f,align 8
%gM=getelementptr inbounds i8*,i8**%gK,i64 1
%gN=load i8*,i8**%gM,align 8
store i8*%gN,i8**%g,align 8
%gO=getelementptr inbounds i8,i8*%gH,i64 16
%gP=bitcast i8*%gO to i32**
%gQ=load i32*,i32**%gP,align 8
store i32 1,i32*%gQ,align 4
%gR=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%gS=getelementptr inbounds i8,i8*%gR,i64 16
%gT=bitcast i8*%gS to i8*(i8*,i8*)**
%gU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gT,align 8
%gV=bitcast i8*%gR to i8**
%gW=load i8*,i8**%gV,align 8
store i8*%gW,i8**%i,align 8
%gX=bitcast i8**%h to i8***
%gY=load i8**,i8***%gX,align 8
%gZ=load i8*,i8**%gY,align 8
store i8*%gZ,i8**%d,align 8
%g0=call i8*@sml_alloc(i32 inreg 20)#0
%g1=getelementptr inbounds i8,i8*%g0,i64 -4
%g2=bitcast i8*%g1 to i32*
store i32 1342177296,i32*%g2,align 4
store i8*%g0,i8**%j,align 8
%g3=load i8*,i8**%c,align 8
%g4=bitcast i8*%g0 to i8**
store i8*%g3,i8**%g4,align 8
%g5=getelementptr inbounds i8,i8*%g0,i64 8
%g6=bitcast i8*%g5 to i8**
store i8*null,i8**%g6,align 8
%g7=getelementptr inbounds i8,i8*%g0,i64 16
%g8=bitcast i8*%g7 to i32*
store i32 3,i32*%g8,align 4
%g9=call i8*@sml_alloc(i32 inreg 20)#0
%ha=getelementptr inbounds i8,i8*%g9,i64 -4
%hb=bitcast i8*%ha to i32*
store i32 1342177296,i32*%hb,align 4
%hc=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hd=bitcast i8*%g9 to i8**
store i8*%hc,i8**%hd,align 8
%he=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hf=getelementptr inbounds i8,i8*%g9,i64 8
%hg=bitcast i8*%hf to i8**
store i8*%he,i8**%hg,align 8
%hh=getelementptr inbounds i8,i8*%g9,i64 16
%hi=bitcast i8*%hh to i32*
store i32 3,i32*%hi,align 4
%hj=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%hk=call fastcc i8*%gU(i8*inreg%hj,i8*inreg%g9)
store i8*%hk,i8**%d,align 8
%hl=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%hm=getelementptr inbounds i8,i8*%hl,i64 16
%hn=bitcast i8*%hm to i8*(i8*,i8*)**
%ho=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hn,align 8
%hp=bitcast i8*%hl to i8**
%hq=load i8*,i8**%hp,align 8
store i8*%hq,i8**%i,align 8
%hr=load i8**,i8***%gX,align 8
%hs=load i8*,i8**%hr,align 8
store i8*%hs,i8**%h,align 8
%ht=call i8*@sml_alloc(i32 inreg 20)#0
%hu=getelementptr inbounds i8,i8*%ht,i64 -4
%hv=bitcast i8*%hu to i32*
store i32 1342177296,i32*%hv,align 4
store i8*%ht,i8**%j,align 8
%hw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hx=bitcast i8*%ht to i8**
store i8*%hw,i8**%hx,align 8
%hy=getelementptr inbounds i8,i8*%ht,i64 8
%hz=bitcast i8*%hy to i8**
store i8*null,i8**%hz,align 8
%hA=getelementptr inbounds i8,i8*%ht,i64 16
%hB=bitcast i8*%hA to i32*
store i32 3,i32*%hB,align 4
%hC=call i8*@sml_alloc(i32 inreg 20)#0
%hD=getelementptr inbounds i8,i8*%hC,i64 -4
%hE=bitcast i8*%hD to i32*
store i32 1342177296,i32*%hE,align 4
%hF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hG=bitcast i8*%hC to i8**
store i8*%hF,i8**%hG,align 8
%hH=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hI=getelementptr inbounds i8,i8*%hC,i64 8
%hJ=bitcast i8*%hI to i8**
store i8*%hH,i8**%hJ,align 8
%hK=getelementptr inbounds i8,i8*%hC,i64 16
%hL=bitcast i8*%hK to i32*
store i32 3,i32*%hL,align 4
%hM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%hN=call fastcc i8*%ho(i8*inreg%hM,i8*inreg%hC)
store i8*%hN,i8**%c,align 8
%hO=call i8*@sml_alloc(i32 inreg 20)#0
%hP=getelementptr inbounds i8,i8*%hO,i64 -4
%hQ=bitcast i8*%hP to i32*
store i32 1342177296,i32*%hQ,align 4
store i8*%hO,i8**%h,align 8
%hR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hS=bitcast i8*%hO to i8**
store i8*%hR,i8**%hS,align 8
%hT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hU=getelementptr inbounds i8,i8*%hO,i64 8
%hV=bitcast i8*%hU to i8**
store i8*%hT,i8**%hV,align 8
%hW=getelementptr inbounds i8,i8*%hO,i64 16
%hX=bitcast i8*%hW to i32*
store i32 3,i32*%hX,align 4
%hY=call i8*@sml_alloc(i32 inreg 20)#0
%hZ=getelementptr inbounds i8,i8*%hY,i64 -4
%h0=bitcast i8*%hZ to i32*
store i32 1342177296,i32*%h0,align 4
store i8*%hY,i8**%e,align 8
%h1=getelementptr inbounds i8,i8*%hY,i64 4
%h2=bitcast i8*%h1 to i32*
store i32 0,i32*%h2,align 1
%h3=bitcast i8*%hY to i32*
store i32 17,i32*%h3,align 4
%h4=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%h5=getelementptr inbounds i8,i8*%hY,i64 8
%h6=bitcast i8*%h5 to i8**
store i8*%h4,i8**%h6,align 8
%h7=getelementptr inbounds i8,i8*%hY,i64 16
%h8=bitcast i8*%h7 to i32*
store i32 2,i32*%h8,align 4
%h9=call i8*@sml_alloc(i32 inreg 20)#0
%ia=getelementptr inbounds i8,i8*%h9,i64 -4
%ib=bitcast i8*%ia to i32*
store i32 1342177296,i32*%ib,align 4
store i8*%h9,i8**%c,align 8
%ic=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%id=bitcast i8*%h9 to i8**
store i8*%ic,i8**%id,align 8
%ie=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%if=getelementptr inbounds i8,i8*%h9,i64 8
%ig=bitcast i8*%if to i8**
store i8*%ie,i8**%ig,align 8
%ih=getelementptr inbounds i8,i8*%h9,i64 16
%ii=bitcast i8*%ih to i32*
store i32 3,i32*%ii,align 4
%ij=call i8*@sml_alloc(i32 inreg 20)#0
%ik=getelementptr inbounds i8,i8*%ij,i64 -4
%il=bitcast i8*%ik to i32*
store i32 1342177296,i32*%il,align 4
store i8*%ij,i8**%d,align 8
%im=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%in=bitcast i8*%ij to i8**
store i8*%im,i8**%in,align 8
%io=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ip=getelementptr inbounds i8,i8*%ij,i64 8
%iq=bitcast i8*%ip to i8**
store i8*%io,i8**%iq,align 8
%ir=getelementptr inbounds i8,i8*%ij,i64 16
%is=bitcast i8*%ir to i32*
store i32 3,i32*%is,align 4
%it=call i8*@sml_alloc(i32 inreg 20)#0
%iu=getelementptr inbounds i8,i8*%it,i64 -4
%iv=bitcast i8*%iu to i32*
store i32 1342177296,i32*%iv,align 4
%iw=load i8*,i8**%d,align 8
%ix=bitcast i8*%it to i8**
store i8*%iw,i8**%ix,align 8
%iy=load i8*,i8**%g,align 8
%iz=getelementptr inbounds i8,i8*%it,i64 8
%iA=bitcast i8*%iz to i8**
store i8*%iy,i8**%iA,align 8
%iB=getelementptr inbounds i8,i8*%it,i64 16
%iC=bitcast i8*%iB to i32*
store i32 3,i32*%iC,align 4
ret i8*%it
iD:
%iE=getelementptr inbounds i8,i8*%v,i64 8
%iF=bitcast i8*%iE to i8**
%iG=load i8*,i8**%iF,align 8
%iH=getelementptr inbounds i8,i8*%iG,i64 8
%iI=bitcast i8*%iH to i32*
%iJ=load i32,i32*%iI,align 4
%iK=getelementptr inbounds i8,i8*%iG,i64 16
%iL=bitcast i8*%iK to i8**
%iM=load i8*,i8**%iL,align 8
store i8*%iM,i8**%d,align 8
%iN=getelementptr inbounds i8,i8*%p,i64 16
%iO=bitcast i8*%iN to i8***
%iP=load i8**,i8***%iO,align 8
%iQ=load i8*,i8**%iP,align 8
store i8*%iQ,i8**%e,align 8
%iR=getelementptr inbounds i8*,i8**%iP,i64 1
%iS=load i8*,i8**%iR,align 8
store i8*%iS,i8**%f,align 8
%iT=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%iU=getelementptr inbounds i8,i8*%iT,i64 16
%iV=bitcast i8*%iU to i8*(i8*,i8*)**
%iW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iV,align 8
%iX=bitcast i8*%iT to i8**
%iY=load i8*,i8**%iX,align 8
store i8*%iY,i8**%i,align 8
%iZ=bitcast i8**%h to i8***
%i0=load i8**,i8***%iZ,align 8
store i8*null,i8**%h,align 8
%i1=load i8*,i8**%i0,align 8
store i8*%i1,i8**%g,align 8
%i2=call i8*@sml_alloc(i32 inreg 20)#0
%i3=getelementptr inbounds i8,i8*%i2,i64 -4
%i4=bitcast i8*%i3 to i32*
store i32 1342177296,i32*%i4,align 4
store i8*%i2,i8**%h,align 8
%i5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%i6=bitcast i8*%i2 to i8**
store i8*%i5,i8**%i6,align 8
%i7=getelementptr inbounds i8,i8*%i2,i64 8
%i8=bitcast i8*%i7 to i8**
store i8*null,i8**%i8,align 8
%i9=getelementptr inbounds i8,i8*%i2,i64 16
%ja=bitcast i8*%i9 to i32*
store i32 3,i32*%ja,align 4
%jb=call i8*@sml_alloc(i32 inreg 20)#0
%jc=getelementptr inbounds i8,i8*%jb,i64 -4
%jd=bitcast i8*%jc to i32*
store i32 1342177296,i32*%jd,align 4
%je=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jf=bitcast i8*%jb to i8**
store i8*%je,i8**%jf,align 8
%jg=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jh=getelementptr inbounds i8,i8*%jb,i64 8
%ji=bitcast i8*%jh to i8**
store i8*%jg,i8**%ji,align 8
%jj=getelementptr inbounds i8,i8*%jb,i64 16
%jk=bitcast i8*%jj to i32*
store i32 3,i32*%jk,align 4
%jl=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%jm=call fastcc i8*%iW(i8*inreg%jl,i8*inreg%jb)
store i8*%jm,i8**%c,align 8
%jn=call i8*@sml_alloc(i32 inreg 20)#0
%jo=getelementptr inbounds i8,i8*%jn,i64 -4
%jp=bitcast i8*%jo to i32*
store i32 1342177296,i32*%jp,align 4
store i8*%jn,i8**%g,align 8
%jq=getelementptr inbounds i8,i8*%jn,i64 4
%jr=bitcast i8*%jq to i32*
store i32 0,i32*%jr,align 1
%js=bitcast i8*%jn to i32*
store i32%iJ,i32*%js,align 4
%jt=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ju=getelementptr inbounds i8,i8*%jn,i64 8
%jv=bitcast i8*%ju to i8**
store i8*%jt,i8**%jv,align 8
%jw=getelementptr inbounds i8,i8*%jn,i64 16
%jx=bitcast i8*%jw to i32*
store i32 2,i32*%jx,align 4
%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**%h,align 8
%jB=getelementptr inbounds i8,i8*%jy,i64 4
%jC=bitcast i8*%jB to i32*
store i32 0,i32*%jC,align 1
%jD=bitcast i8*%jy to i32*
store i32 40,i32*%jD,align 4
%jE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jF=getelementptr inbounds i8,i8*%jy,i64 8
%jG=bitcast i8*%jF to i8**
store i8*%jE,i8**%jG,align 8
%jH=getelementptr inbounds i8,i8*%jy,i64 16
%jI=bitcast i8*%jH to i32*
store i32 2,i32*%jI,align 4
%jJ=call i8*@sml_alloc(i32 inreg 20)#0
%jK=getelementptr inbounds i8,i8*%jJ,i64 -4
%jL=bitcast i8*%jK to i32*
store i32 1342177296,i32*%jL,align 4
store i8*%jJ,i8**%d,align 8
%jM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jN=bitcast i8*%jJ to i8**
store i8*%jM,i8**%jN,align 8
%jO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jP=getelementptr inbounds i8,i8*%jJ,i64 8
%jQ=bitcast i8*%jP to i8**
store i8*%jO,i8**%jQ,align 8
%jR=getelementptr inbounds i8,i8*%jJ,i64 16
%jS=bitcast i8*%jR to i32*
store i32 3,i32*%jS,align 4
%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
store i8*%jT,i8**%c,align 8
%jW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jX=bitcast i8*%jT to i8**
store i8*%jW,i8**%jX,align 8
%jY=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jZ=getelementptr inbounds i8,i8*%jT,i64 8
%j0=bitcast i8*%jZ to i8**
store i8*%jY,i8**%j0,align 8
%j1=getelementptr inbounds i8,i8*%jT,i64 16
%j2=bitcast i8*%j1 to i32*
store i32 3,i32*%j2,align 4
%j3=call i8*@sml_alloc(i32 inreg 20)#0
%j4=getelementptr inbounds i8,i8*%j3,i64 -4
%j5=bitcast i8*%j4 to i32*
store i32 1342177296,i32*%j5,align 4
%j6=load i8*,i8**%c,align 8
%j7=bitcast i8*%j3 to i8**
store i8*%j6,i8**%j7,align 8
%j8=load i8*,i8**%f,align 8
%j9=getelementptr inbounds i8,i8*%j3,i64 8
%ka=bitcast i8*%j9 to i8**
store i8*%j8,i8**%ka,align 8
%kb=getelementptr inbounds i8,i8*%j3,i64 16
%kc=bitcast i8*%kb to i32*
store i32 3,i32*%kc,align 4
ret i8*%j3
kd:
%ke=getelementptr inbounds i8,i8*%v,i64 8
%kf=bitcast i8*%ke to i8**
%kg=load i8*,i8**%kf,align 8
%kh=getelementptr inbounds i8,i8*%kg,i64 8
%ki=bitcast i8*%kh to i32*
%kj=load i32,i32*%ki,align 4
%kk=getelementptr inbounds i8,i8*%kg,i64 16
%kl=bitcast i8*%kk to i8**
%km=load i8*,i8**%kl,align 8
store i8*%km,i8**%d,align 8
%kn=getelementptr inbounds i8,i8*%p,i64 16
%ko=bitcast i8*%kn to i8***
%kp=load i8**,i8***%ko,align 8
%kq=load i8*,i8**%kp,align 8
store i8*%kq,i8**%e,align 8
%kr=getelementptr inbounds i8*,i8**%kp,i64 1
%ks=load i8*,i8**%kr,align 8
store i8*%ks,i8**%f,align 8
%kt=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%ku=getelementptr inbounds i8,i8*%kt,i64 16
%kv=bitcast i8*%ku to i8*(i8*,i8*)**
%kw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kv,align 8
%kx=bitcast i8*%kt to i8**
%ky=load i8*,i8**%kx,align 8
store i8*%ky,i8**%i,align 8
%kz=bitcast i8**%h to i8***
%kA=load i8**,i8***%kz,align 8
store i8*null,i8**%h,align 8
%kB=load i8*,i8**%kA,align 8
store i8*%kB,i8**%g,align 8
%kC=call i8*@sml_alloc(i32 inreg 20)#0
%kD=getelementptr inbounds i8,i8*%kC,i64 -4
%kE=bitcast i8*%kD to i32*
store i32 1342177296,i32*%kE,align 4
store i8*%kC,i8**%h,align 8
%kF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kG=bitcast i8*%kC to i8**
store i8*%kF,i8**%kG,align 8
%kH=getelementptr inbounds i8,i8*%kC,i64 8
%kI=bitcast i8*%kH to i8**
store i8*null,i8**%kI,align 8
%kJ=getelementptr inbounds i8,i8*%kC,i64 16
%kK=bitcast i8*%kJ to i32*
store i32 3,i32*%kK,align 4
%kL=call i8*@sml_alloc(i32 inreg 20)#0
%kM=getelementptr inbounds i8,i8*%kL,i64 -4
%kN=bitcast i8*%kM to i32*
store i32 1342177296,i32*%kN,align 4
%kO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kP=bitcast i8*%kL to i8**
store i8*%kO,i8**%kP,align 8
%kQ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kR=getelementptr inbounds i8,i8*%kL,i64 8
%kS=bitcast i8*%kR to i8**
store i8*%kQ,i8**%kS,align 8
%kT=getelementptr inbounds i8,i8*%kL,i64 16
%kU=bitcast i8*%kT to i32*
store i32 3,i32*%kU,align 4
%kV=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%kW=call fastcc i8*%kw(i8*inreg%kV,i8*inreg%kL)
store i8*%kW,i8**%c,align 8
%kX=call i8*@sml_alloc(i32 inreg 20)#0
%kY=getelementptr inbounds i8,i8*%kX,i64 -4
%kZ=bitcast i8*%kY to i32*
store i32 1342177296,i32*%kZ,align 4
store i8*%kX,i8**%g,align 8
%k0=getelementptr inbounds i8,i8*%kX,i64 4
%k1=bitcast i8*%k0 to i32*
store i32 0,i32*%k1,align 1
%k2=bitcast i8*%kX to i32*
store i32%kj,i32*%k2,align 4
%k3=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%k4=getelementptr inbounds i8,i8*%kX,i64 8
%k5=bitcast i8*%k4 to i8**
store i8*%k3,i8**%k5,align 8
%k6=getelementptr inbounds i8,i8*%kX,i64 16
%k7=bitcast i8*%k6 to i32*
store i32 2,i32*%k7,align 4
%k8=call i8*@sml_alloc(i32 inreg 20)#0
%k9=getelementptr inbounds i8,i8*%k8,i64 -4
%la=bitcast i8*%k9 to i32*
store i32 1342177296,i32*%la,align 4
store i8*%k8,i8**%h,align 8
%lb=getelementptr inbounds i8,i8*%k8,i64 4
%lc=bitcast i8*%lb to i32*
store i32 0,i32*%lc,align 1
%ld=bitcast i8*%k8 to i32*
store i32 40,i32*%ld,align 4
%le=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lf=getelementptr inbounds i8,i8*%k8,i64 8
%lg=bitcast i8*%lf to i8**
store i8*%le,i8**%lg,align 8
%lh=getelementptr inbounds i8,i8*%k8,i64 16
%li=bitcast i8*%lh to i32*
store i32 2,i32*%li,align 4
%lj=call i8*@sml_alloc(i32 inreg 20)#0
%lk=getelementptr inbounds i8,i8*%lj,i64 -4
%ll=bitcast i8*%lk to i32*
store i32 1342177296,i32*%ll,align 4
store i8*%lj,i8**%d,align 8
%lm=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ln=bitcast i8*%lj to i8**
store i8*%lm,i8**%ln,align 8
%lo=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%lp=getelementptr inbounds i8,i8*%lj,i64 8
%lq=bitcast i8*%lp to i8**
store i8*%lo,i8**%lq,align 8
%lr=getelementptr inbounds i8,i8*%lj,i64 16
%ls=bitcast i8*%lr to i32*
store i32 3,i32*%ls,align 4
%lt=call i8*@sml_alloc(i32 inreg 20)#0
%lu=getelementptr inbounds i8,i8*%lt,i64 -4
%lv=bitcast i8*%lu to i32*
store i32 1342177296,i32*%lv,align 4
store i8*%lt,i8**%c,align 8
%lw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%lx=bitcast i8*%lt to i8**
store i8*%lw,i8**%lx,align 8
%ly=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lz=getelementptr inbounds i8,i8*%lt,i64 8
%lA=bitcast i8*%lz to i8**
store i8*%ly,i8**%lA,align 8
%lB=getelementptr inbounds i8,i8*%lt,i64 16
%lC=bitcast i8*%lB to i32*
store i32 3,i32*%lC,align 4
%lD=call i8*@sml_alloc(i32 inreg 20)#0
%lE=getelementptr inbounds i8,i8*%lD,i64 -4
%lF=bitcast i8*%lE to i32*
store i32 1342177296,i32*%lF,align 4
%lG=load i8*,i8**%c,align 8
%lH=bitcast i8*%lD to i8**
store i8*%lG,i8**%lH,align 8
%lI=load i8*,i8**%f,align 8
%lJ=getelementptr inbounds i8,i8*%lD,i64 8
%lK=bitcast i8*%lJ to i8**
store i8*%lI,i8**%lK,align 8
%lL=getelementptr inbounds i8,i8*%lD,i64 16
%lM=bitcast i8*%lL to i32*
store i32 3,i32*%lM,align 4
ret i8*%lD
}
define internal fastcc i8*@_SMLLN12FunctorUtils10varsInVarEE_518(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**%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*%a,i8**%c,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%k,label%j
j:
call void@sml_check(i32 inreg%h)
br label%k
k:
%l=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%q,i8**%f,align 8
%r=load i8*,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=call i8*@sml_alloc(i32 inreg 12)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177288,i32*%x,align 4
store i8*%v,i8**%g,align 8
%y=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i32*
store i32 1,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
%F=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10varsInVarEE_517 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10varsInVarEE_517 to void(...)*),void(...)**%K,align 8
%L=getelementptr inbounds i8,i8*%C,i64 24
%M=bitcast i8*%L to i32*
store i32 -2147483647,i32*%M,align 4
%N=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%O=call fastcc i8*%o(i8*inreg%N,i8*inreg%C)
%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**%f,align 8
%U=load i8*,i8**%c,align 8
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%e,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%c,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%al=call fastcc i8*%R(i8*inreg%ak,i8*inreg%aa)
%am=getelementptr inbounds i8,i8*%al,i64 16
%an=bitcast i8*%am to i8*(i8*,i8*)**
%ao=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%an,align 8
%ap=bitcast i8*%al to i8**
%aq=load i8*,i8**%ap,align 8
%ar=load i8*,i8**%d,align 8
%as=tail call fastcc i8*%ao(i8*inreg%aq,i8*inreg%ar)
ret i8*%as
}
define internal fastcc i8*@_SMLLN12FunctorUtils10varsInVarEE_519(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=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
store i8*%l,i8**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,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**%f,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*)*@_SMLLN12FunctorUtils10varsInVarEE_518 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*)*@_SMLLN12FunctorUtils10varsInVarEE_518 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLLN12FunctorUtils10varsInVarEE_520(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=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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10varsInVarEE_519 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10varsInVarEE_519 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN12FunctorUtils10varsInVarEE_521(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=call i8*@sml_alloc(i32 inreg 12)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177288,i32*%i,align 4
store i8*%g,i8**%d,align 8
%j=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k=bitcast i8*%g to i8**
store i8*%j,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%g,i64 8
%m=bitcast i8*%l to i32*
store i32 1,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**%d,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*)*@_SMLLN12FunctorUtils10varsInVarEE_520 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*)*@_SMLLN12FunctorUtils10varsInVarEE_520 to void(...)*),void(...)**%v,align 8
%w=getelementptr inbounds i8,i8*%n,i64 24
%x=bitcast i8*%w to i32*
store i32 -2147483647,i32*%x,align 4
ret i8*%n
}
define internal fastcc i8*@_SMLLN12FunctorUtils10varsInStrEE_529(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
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
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%n
l:
%m=bitcast i8*%b to i8**
br label%r
n:
call void@sml_check(i32 inreg%j)
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%e,align 8
br label%r
r:
%s=phi i8*[%q,%n],[%a,%l]
%t=phi i8**[%p,%n],[%m,%l]
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8*,i8**%t,i64 2
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%w,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%g,align 8
%A=getelementptr inbounds i8,i8*%s,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%h,align 8
%D=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%f,align 8
%J=bitcast i8**%e to i8***
%K=load i8**,i8***%J,align 8
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%e,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**%i,align 8
%P=load i8*,i8**%d,align 8
store i8*null,i8**%d,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*null,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 20)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177296,i32*%X,align 4
%Y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%af=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ag=call fastcc i8*%G(i8*inreg%af,i8*inreg%V)
%ah=load i8*,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%ah,i64 16
%aj=bitcast i8*%ai to i8***
%ak=load i8**,i8***%aj,align 8
%al=load i8*,i8**%ak,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=load i8*,i8**%g,align 8
%at=load i8*,i8**%h,align 8
%au=call fastcc i8*@_SMLLN12FunctorUtils9varsInEnvE_524(i8*inreg%as,i8*inreg%at,i8*inreg%ag,i8*inreg%al,i8*inreg%ar)
ret i8*%au
}
define internal fastcc i8*@_SMLLN12FunctorUtils9varsInEnvE_524(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)unnamed_addr#2 gc"smlsharp"{
%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
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
%t=alloca i8*,align 8
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
call void@llvm.gcroot(i8**%s,i8*null)#0
call void@llvm.gcroot(i8**%t,i8*null)#0
store i8*%a,i8**%s,align 8
store i8*%b,i8**%r,align 8
store i8*%c,i8**%q,align 8
store i8*%d,i8**%p,align 8
store i8*%e,i8**%o,align 8
%u=load atomic i32,i32*@sml_check_flag unordered,align 4
%v=icmp eq i32%u,0
br i1%v,label%w,label%y
w:
%x=bitcast i8*%e to i8**
br label%C
y:
call void@sml_check(i32 inreg%u)
%z=bitcast i8**%o to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%s,align 8
br label%C
C:
%D=phi i8*[%B,%y],[%a,%w]
%E=phi i8**[%A,%y],[%x,%w]
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%t,align 8
store i8*null,i8**%s,align 8
%G=bitcast i8**%m to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%G)
%H=bitcast i8**%n to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%H)
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%D,i8**%m,align 8
%I=call i8*@sml_alloc(i32 inreg 12)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177288,i32*%K,align 4
store i8*%I,i8**%n,align 8
%L=load i8*,i8**%m,align 8
store i8*null,i8**%m,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 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**%n,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*)*@_SMLLN12FunctorUtils10varsInVarEE_521 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*)*@_SMLLN12FunctorUtils10varsInVarEE_521 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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%G)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
%aa=load i8*,i8**%r,align 8
%ab=call fastcc i8*@_SMLLN12FunctorUtils10varsInVarEE_521(i8*inreg%S,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
%ah=load i8*,i8**%q,align 8
%ai=call fastcc i8*%ae(i8*inreg%ag,i8*inreg%ah)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%ap=call fastcc i8*%al(i8*inreg%an,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**%o,align 8
store i8*null,i8**%o,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=call fastcc i8*%as(i8*inreg%au,i8*inreg%ay)
%aA=getelementptr inbounds i8,i8*%az,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=bitcast i8*%az to i8**
%aE=load i8*,i8**%aD,align 8
%aF=load i8*,i8**%q,align 8
%aG=load i8*,i8**%r,align 8
%aH=load i8*,i8**%t,align 8
%aI=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aI)
%aJ=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aJ)
%aK=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aK)
%aL=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aL)
%aM=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aM)
%aN=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aN)
%aO=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aO)
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
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%aC,i8**%i,align 8
store i8*%aG,i8**%h,align 8
store i8*%aF,i8**%g,align 8
store i8*%aE,i8**%f,align 8
store i8*%aH,i8**%j,align 8
%aP=load atomic i32,i32*@sml_check_flag unordered,align 4
%aQ=icmp eq i32%aP,0
br i1%aQ,label%aS,label%aR
aR:
call void@sml_check(i32 inreg%aP)
br label%aS
aS:
%aT=call fastcc i8*@_SMLFN9SymbolEnv6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aU=getelementptr inbounds i8,i8*%aT,i64 16
%aV=bitcast i8*%aU to i8*(i8*,i8*)**
%aW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aV,align 8
%aX=bitcast i8*%aT to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%k,align 8
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
store i8*%aZ,i8**%l,align 8
%a2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a5=getelementptr inbounds i8,i8*%aZ,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aZ,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
%a9=call i8*@sml_alloc(i32 inreg 28)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177304,i32*%bb,align 4
%bc=load i8*,i8**%l,align 8
store i8*null,i8**%l,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10varsInStrEE_529 to void(...)*),void(...)**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a9,i64 16
%bh=bitcast i8*%bg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10varsInStrEE_529 to void(...)*),void(...)**%bh,align 8
%bi=getelementptr inbounds i8,i8*%a9,i64 24
%bj=bitcast i8*%bi to i32*
store i32 -2147483647,i32*%bj,align 4
%bk=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bl=call fastcc i8*%aW(i8*inreg%bk,i8*inreg%a9)
%bm=getelementptr inbounds i8,i8*%bl,i64 16
%bn=bitcast i8*%bm to i8*(i8*,i8*)**
%bo=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bn,align 8
%bp=bitcast i8*%bl to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%g,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
%bu=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bx=getelementptr inbounds i8,i8*%br,i64 8
%by=bitcast i8*%bx to i8**
store i8*%bw,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%br,i64 16
%bA=bitcast i8*%bz to i32*
store i32 3,i32*%bA,align 4
%bB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bC=call fastcc i8*%bo(i8*inreg%bB,i8*inreg%br)
%bD=getelementptr inbounds i8,i8*%bC,i64 16
%bE=bitcast i8*%bD to i8*(i8*,i8*)**
%bF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bE,align 8
%bG=bitcast i8*%bC to i8**
%bH=load i8*,i8**%bG,align 8
%bI=load i8*,i8**%j,align 8
%bJ=call fastcc i8*%bF(i8*inreg%bH,i8*inreg%bI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aJ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aL)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aM)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aN)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aO)
ret i8*%bJ
}
define internal fastcc i8*@_SMLL12typidSetTfun_530(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 8
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=bitcast i8*%i to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%o)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=icmp eq i32%r,1
br i1%s,label%t,label%bb
t:
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8***
%w=load i8**,i8***%v,align 8
%x=load i8*,i8**%w,align 8
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=icmp eq i32%z,3
br i1%A,label%B,label%bb
B:
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
%F=getelementptr inbounds i8,i8*%E,i64 24
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=bitcast i8*%H to i32*
%J=load i32,i32*%I,align 4
switch i32%J,label%K[
i32 4,label%aE
i32 3,label%aa
]
K:
%L=getelementptr inbounds i8,i8*%E,i64 40
%M=bitcast i8*%L to i32*
%N=load i32,i32*%M,align 4
%O=call i8*@sml_alloc(i32 inreg 20)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 12
%S=bitcast i8*%R to i32*
store i32 0,i32*%S,align 1
%T=load i8*,i8**%b,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 8
%W=bitcast i8*%V to i32*
store i32%N,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%O,i64 16
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=tail call fastcc i8*@_SMLFN5TypID3Set3addE(i8*inreg%O)
ret i8*%Z
aa:
%ab=getelementptr inbounds i8,i8*%H,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%E,i64 40
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%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
%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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ah,i64 16
%aq=bitcast i8*%ap to i32*
store i32 3,i32*%aq,align 4
%ar=call fastcc i8*@_SMLL12typidSetTfun_530(i8*inreg%ah)
store i8*%ar,i8**%b,align 8
%as=call i8*@sml_alloc(i32 inreg 20)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177296,i32*%au,align 4
%av=getelementptr inbounds i8,i8*%as,i64 12
%aw=bitcast i8*%av to i32*
store i32 0,i32*%aw,align 1
%ax=load i8*,i8**%b,align 8
%ay=bitcast i8*%as to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 8
%aA=bitcast i8*%az to i32*
store i32%ag,i32*%aA,align 4
%aB=getelementptr inbounds i8,i8*%as,i64 16
%aC=bitcast i8*%aB to i32*
store i32 1,i32*%aC,align 4
%aD=tail call fastcc i8*@_SMLFN5TypID3Set3addE(i8*inreg%as)
ret i8*%aD
aE:
%aF=getelementptr inbounds i8,i8*%H,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%c,align 8
%aL=getelementptr inbounds i8,i8*%E,i64 40
%aM=bitcast i8*%aL to i32*
%aN=load i32,i32*%aM,align 4
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
%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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aU=getelementptr inbounds i8,i8*%aO,i64 8
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aO,i64 16
%aX=bitcast i8*%aW to i32*
store i32 3,i32*%aX,align 4
%aY=call fastcc i8*@_SMLL12typidSetTfun_530(i8*inreg%aO)
store i8*%aY,i8**%b,align 8
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=getelementptr inbounds i8,i8*%aZ,i64 12
%a3=bitcast i8*%a2 to i32*
store i32 0,i32*%a3,align 1
%a4=load i8*,i8**%b,align 8
%a5=bitcast i8*%aZ to i8**
store i8*%a4,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aZ,i64 8
%a7=bitcast i8*%a6 to i32*
store i32%aN,i32*%a7,align 4
%a8=getelementptr inbounds i8,i8*%aZ,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 1,i32*%a9,align 4
%ba=tail call fastcc i8*@_SMLFN5TypID3Set3addE(i8*inreg%aZ)
ret i8*%ba
bb:
%bc=load i8*,i8**%b,align 8
ret i8*%bc
}
define internal fastcc i8*@_SMLL12typidSetTstr_533(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=getelementptr inbounds i8,i8*%i,i64 8
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=bitcast i8*%i to i8**
%o=load i8*,i8**%n,align 8
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 0,label%ab
i32 1,label%J
]
r:
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,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,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@ah,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=getelementptr inbounds i8,i8*%o,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=getelementptr inbounds i8,i8*%M,i64 24
%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
%T=load i8*,i8**%c,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=load i8*,i8**%b,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
%aa=tail call fastcc i8*@_SMLL12typidSetTfun_530(i8*inreg%Q)
ret i8*%aa
ab:
%ac=getelementptr inbounds i8,i8*%o,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
%af=getelementptr inbounds i8,i8*%ae,i64 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,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
%al=load i8*,i8**%c,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=load i8*,i8**%b,align 8
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ai,i64 16
%ar=bitcast i8*%aq to i32*
store i32 3,i32*%ar,align 4
%as=tail call fastcc i8*@_SMLL12typidSetTfun_530(i8*inreg%ai)
ret i8*%as
}
define internal fastcc i8*@_SMLL11typidSetEnv_538(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=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=getelementptr inbounds i8,i8*%l,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,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
%v=load i8*,i8**%b,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=load i8*,i8**%c,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%s,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=tail call fastcc i8*@_SMLL11typidSetEnv_535(i8*inreg%s)
ret i8*%C
}
define internal fastcc i8*@_SMLL11typidSetEnv_535(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=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%m,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%b,align 8
%s=getelementptr inbounds i8,i8*%j,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call fastcc i8*@_SMLFN9SymbolEnv5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%y(i8*inreg%A,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ai,i64 0,i32 2)to i8*))
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=call fastcc i8*%E(i8*inreg%G,i8*inreg%H)
%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**%b,align 8
store i8*null,i8**%b,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
store i8*%P,i8**%b,align 8
%Q=call fastcc i8*@_SMLFN9SymbolEnv5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*%T(i8*inreg%V,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aj,i64 0,i32 2)to i8*))
%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
%ac=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ad=call fastcc i8*%Z(i8*inreg%ab,i8*inreg%ac)
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
%aj=load i8*,i8**%d,align 8
%ak=tail call fastcc i8*%ag(i8*inreg%ai,i8*inreg%aj)
ret i8*%ak
}
define fastcc i8*@_SMLFN12FunctorUtils8typidSetE(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=load i8*,i8**@_SMLZN5TypID3Set5emptyE,align 8
store i8*%h,i8**%c,align 8
%i=call i8*@sml_alloc(i32 inreg 20)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177296,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=load i8*,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i8**
store i8*%n,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%i,i64 16
%r=bitcast i8*%q to i32*
store i32 3,i32*%r,align 4
%s=tail call fastcc i8*@_SMLL11typidSetEnv_535(i8*inreg%i)
ret i8*%s
}
define internal fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_549(i32 inreg%a)unnamed_addr#5 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN5Int328toStringE(i32 inreg%a)
store i8*%g,i8**%b,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
%k=bitcast i8*%h to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[31x i8]}>,<{[4x i8],i32,[31x i8]}>*@an,i64 0,i32 2,i64 0),i8**%k,align 8
%l=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i8**
store i8*%l,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%h,i64 16
%p=bitcast i8*%o to i32*
store i32 3,i32*%p,align 4
%q=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%h)
store i8*%q,i8**%b,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**%b,align 8
store i8*null,i8**%b,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,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0),i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%r)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg%A)
%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=bitcast i8*%B to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ap,i64 0,i32 2)to i8*),i8**%G,align 8
call void@sml_raise(i8*inreg%B)#1
unreachable
}
define internal fastcc void@_SMLLN12FunctorUtils9visitTfunE_553(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
p:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%b,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%b,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%s)
store i8*%t,i8**%c,align 8
%u=bitcast i8**%b to i8***
%v=load i8**,i8***%u,align 8
store i8*null,i8**%b,align 8
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%w)
store i8*%x,i8**%b,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%c,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=load i8*,i8**%b,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=bitcast i8*%B to i32*
%J=load i32,i32*%I,align 4
%K=icmp eq i32%J,1
br i1%K,label%L,label%dr
L:
%M=getelementptr inbounds i8,i8*%B,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%b,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=bitcast i8*%Q to i32*
%S=load i32,i32*%R,align 4
switch i32%S,label%dr[
i32 3,label%b7
i32 5,label%bb
i32 4,label%T
]
T:
%U=getelementptr inbounds i8,i8*%Q,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=bitcast i8*%W to i32*
%Y=load i32,i32*%X,align 4
%Z=getelementptr inbounds i8,i8*%W,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%c,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 16
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%d,align 8
%af=getelementptr inbounds i8,i8*%W,i64 32
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%e,align 8
%ai=bitcast i8*%D to i32*
%aj=load i32,i32*%ai,align 4
%ak=icmp eq i32%aj,1
br i1%ak,label%al,label%dr
al:
%am=getelementptr inbounds i8,i8*%D,i64 8
%an=bitcast i8*%am to i8***
%ao=load i8**,i8***%an,align 8
%ap=load i8*,i8**%ao,align 8
%aq=bitcast i8*%ap to i32*
%ar=load i32,i32*%aq,align 4
%as=icmp eq i32%ar,4
br i1%as,label%at,label%dr
at:
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 24
%ay=bitcast i8*%ax to i32*
%az=load i32,i32*%ay,align 4
%aA=getelementptr inbounds i8,i8*%aw,i64 40
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%f,align 8
%aD=call i8*@sml_alloc(i32 inreg 52)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177328,i32*%aF,align 4
store i8*%aD,i8**%g,align 8
%aG=getelementptr inbounds i8,i8*%aD,i64 4
call void@llvm.memset.p0i8.i32(i8*%aG,i8 0,i32 28,i1 false)
%aH=bitcast i8*%aD to i32*
store i32%Y,i32*%aH,align 4
%aI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aJ=getelementptr inbounds i8,i8*%aD,i64 8
%aK=bitcast i8*%aJ to i8**
store i8*%aI,i8**%aK,align 8
%aL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aM=getelementptr inbounds i8,i8*%aD,i64 16
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aD,i64 24
%aP=bitcast i8*%aO to i32*
store i32%az,i32*%aP,align 4
%aQ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aR=getelementptr inbounds i8,i8*%aD,i64 32
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aU=getelementptr inbounds i8,i8*%aD,i64 40
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aD,i64 48
%aX=bitcast i8*%aW to i32*
store i32 54,i32*%aX,align 4
%aY=call i8*@sml_alloc(i32 inreg 20)#0
%aZ=bitcast i8*%aY to i32*
%a0=getelementptr inbounds i8,i8*%aY,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=getelementptr inbounds i8,i8*%aY,i64 4
%a3=bitcast i8*%a2 to i32*
store i32 0,i32*%a3,align 1
store i32 4,i32*%aZ,align 4
%a4=load i8*,i8**%g,align 8
%a5=getelementptr inbounds i8,i8*%aY,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aY,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 2,i32*%a8,align 4
%a9=load i8*,i8**%b,align 8
%ba=bitcast i8*%a9 to i8**
call void@sml_write(i8*inreg%a9,i8**inreg%ba,i8*inreg%aY)#0
ret void
bb:
%bc=getelementptr inbounds i8,i8*%Q,i64 8
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
%bf=bitcast i8*%be to i32*
%bg=load i32,i32*%bf,align 4
%bh=getelementptr inbounds i8,i8*%be,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%c,align 8
%bk=bitcast i8*%D to i32*
%bl=load i32,i32*%bk,align 4
%bm=icmp eq i32%bl,1
br i1%bm,label%bn,label%dr
bn:
%bo=getelementptr inbounds i8,i8*%D,i64 8
%bp=bitcast i8*%bo to i8***
%bq=load i8**,i8***%bp,align 8
%br=load i8*,i8**%bq,align 8
%bs=bitcast i8*%br to i32*
%bt=load i32,i32*%bs,align 4
%bu=icmp eq i32%bt,5
br i1%bu,label%bv,label%dr
bv:
%bw=getelementptr inbounds i8,i8*%br,i64 8
%bx=bitcast i8*%bw to i8**
%by=load i8*,i8**%bx,align 8
%bz=getelementptr inbounds i8,i8*%by,i64 16
%bA=bitcast i8*%bz to i32*
%bB=load i32,i32*%bA,align 4
%bC=getelementptr inbounds i8,i8*%by,i64 24
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%d,align 8
%bF=call i8*@sml_alloc(i32 inreg 36)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177312,i32*%bH,align 4
store i8*%bF,i8**%e,align 8
%bI=getelementptr inbounds i8,i8*%bF,i64 4
call void@llvm.memset.p0i8.i32(i8*%bI,i8 0,i32 20,i1 false)
%bJ=bitcast i8*%bF to i32*
store i32%bg,i32*%bJ,align 4
%bK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bL=getelementptr inbounds i8,i8*%bF,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bF,i64 16
%bO=bitcast i8*%bN to i32*
store i32%bB,i32*%bO,align 4
%bP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bQ=getelementptr inbounds i8,i8*%bF,i64 24
%bR=bitcast i8*%bQ to i8**
store i8*%bP,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bF,i64 32
%bT=bitcast i8*%bS to i32*
store i32 10,i32*%bT,align 4
%bU=call i8*@sml_alloc(i32 inreg 20)#0
%bV=bitcast i8*%bU to i32*
%bW=getelementptr inbounds i8,i8*%bU,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177296,i32*%bX,align 4
%bY=getelementptr inbounds i8,i8*%bU,i64 4
%bZ=bitcast i8*%bY to i32*
store i32 0,i32*%bZ,align 1
store i32 5,i32*%bV,align 4
%b0=load i8*,i8**%e,align 8
%b1=getelementptr inbounds i8,i8*%bU,i64 8
%b2=bitcast i8*%b1 to i8**
store i8*%b0,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bU,i64 16
%b4=bitcast i8*%b3 to i32*
store i32 2,i32*%b4,align 4
%b5=load i8*,i8**%b,align 8
%b6=bitcast i8*%b5 to i8**
call void@sml_write(i8*inreg%b5,i8**inreg%b6,i8*inreg%bU)#0
ret void
b7:
%b8=getelementptr inbounds i8,i8*%Q,i64 8
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
%cb=bitcast i8*%ca to i32*
%cc=load i32,i32*%cb,align 4
%cd=getelementptr inbounds i8,i8*%ca,i64 16
%ce=bitcast i8*%cd to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%c,align 8
%cg=getelementptr inbounds i8,i8*%ca,i64 24
%ch=bitcast i8*%cg to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%d,align 8
%cj=getelementptr inbounds i8,i8*%ca,i64 32
%ck=bitcast i8*%cj to i8**
%cl=load i8*,i8**%ck,align 8
store i8*%cl,i8**%e,align 8
%cm=getelementptr inbounds i8,i8*%ca,i64 48
%cn=bitcast i8*%cm to i8**
%co=load i8*,i8**%cn,align 8
store i8*%co,i8**%f,align 8
%cp=getelementptr inbounds i8,i8*%ca,i64 56
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
store i8*%cr,i8**%g,align 8
%cs=bitcast i8*%D to i32*
%ct=load i32,i32*%cs,align 4
%cu=icmp eq i32%ct,1
br i1%cu,label%cv,label%dr
cv:
%cw=getelementptr inbounds i8,i8*%D,i64 8
%cx=bitcast i8*%cw to i8***
%cy=load i8**,i8***%cx,align 8
%cz=load i8*,i8**%cy,align 8
%cA=bitcast i8*%cz to i32*
%cB=load i32,i32*%cA,align 4
%cC=icmp eq i32%cB,3
br i1%cC,label%cD,label%dr
cD:
%cE=getelementptr inbounds i8,i8*%cz,i64 8
%cF=bitcast i8*%cE to i8**
%cG=load i8*,i8**%cF,align 8
%cH=getelementptr inbounds i8,i8*%cG,i64 8
%cI=bitcast i8*%cH to i8**
%cJ=load i8*,i8**%cI,align 8
store i8*%cJ,i8**%h,align 8
%cK=getelementptr inbounds i8,i8*%cG,i64 40
%cL=bitcast i8*%cK to i32*
%cM=load i32,i32*%cL,align 4
%cN=call i8*@sml_alloc(i32 inreg 68)#0
%cO=getelementptr inbounds i8,i8*%cN,i64 -4
%cP=bitcast i8*%cO to i32*
store i32 1342177344,i32*%cP,align 4
store i8*%cN,i8**%i,align 8
%cQ=getelementptr inbounds i8,i8*%cN,i64 4
call void@llvm.memset.p0i8.i32(i8*%cQ,i8 0,i32 44,i1 false)
%cR=bitcast i8*%cN to i32*
store i32%cc,i32*%cR,align 4
%cS=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cT=getelementptr inbounds i8,i8*%cN,i64 8
%cU=bitcast i8*%cT to i8**
store i8*%cS,i8**%cU,align 8
%cV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cW=getelementptr inbounds i8,i8*%cN,i64 16
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cZ=getelementptr inbounds i8,i8*%cN,i64 24
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c2=getelementptr inbounds i8,i8*%cN,i64 32
%c3=bitcast i8*%c2 to i8**
store i8*%c1,i8**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cN,i64 40
%c5=bitcast i8*%c4 to i32*
store i32%cM,i32*%c5,align 4
%c6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c7=getelementptr inbounds i8,i8*%cN,i64 48
%c8=bitcast i8*%c7 to i8**
store i8*%c6,i8**%c8,align 8
%c9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%da=getelementptr inbounds i8,i8*%cN,i64 56
%db=bitcast i8*%da to i8**
store i8*%c9,i8**%db,align 8
%dc=getelementptr inbounds i8,i8*%cN,i64 64
%dd=bitcast i8*%dc to i32*
store i32 222,i32*%dd,align 4
%de=call i8*@sml_alloc(i32 inreg 20)#0
%df=bitcast i8*%de to i32*
%dg=getelementptr inbounds i8,i8*%de,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177296,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%de,i64 4
%dj=bitcast i8*%di to i32*
store i32 0,i32*%dj,align 1
store i32 3,i32*%df,align 4
%dk=load i8*,i8**%i,align 8
%dl=getelementptr inbounds i8,i8*%de,i64 8
%dm=bitcast i8*%dl to i8**
store i8*%dk,i8**%dm,align 8
%dn=getelementptr inbounds i8,i8*%de,i64 16
%do=bitcast i8*%dn to i32*
store i32 2,i32*%do,align 4
%dp=load i8*,i8**%b,align 8
%dq=bitcast i8*%dp to i8**
call void@sml_write(i8*inreg%dp,i8**inreg%dq,i8*inreg%de)#0
ret void
dr:
ret void
}
define internal fastcc void@_SMLLN12FunctorUtils8visitEnvE_562(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%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
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%e,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%e,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=bitcast i8*%n to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%n,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%f,align 8
%u=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%z,i8**%h,align 8
%A=bitcast i8**%g to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%g,align 8
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%D,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%O=call fastcc i8*%x(i8*inreg%N,i8*inreg%D)
%P=icmp eq i8*%O,null
br i1%P,label%Q,label%X
Q:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
%R=call i8*@sml_alloc(i32 inreg 4)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 4,i32*%U,align 4
store i32 2,i32*%S,align 4
%V=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%W=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%V,i8*inreg%R)
unreachable
X:
%Y=bitcast i8*%O to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%e,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=load i8*,i8**%e,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%f,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ak)
%al=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%al)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aa,i8**%c,align 8
%am=load atomic i32,i32*@sml_check_flag unordered,align 4
%an=icmp eq i32%am,0
br i1%an,label%av,label%ao
ao:
call void@sml_check(i32 inreg%am)
%ap=load i8*,i8**%c,align 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=getelementptr inbounds i8,i8*%ap,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
br label%av
av:
%aw=phi i8*[%au,%ao],[%af,%X]
%ax=phi i8*[%ar,%ao],[%ad,%X]
%ay=bitcast i8*%aw to i32*
%az=load i32,i32*%ay,align 4
switch i32%az,label%aA[
i32 0,label%bj
i32 1,label%aS
]
aA:
call void@sml_matchcomp_bug()
%aB=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aB,i8**%c,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
store i8*%aC,i8**%d,align 8
%aF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aC,i64 8
%aI=bitcast i8*%aH to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@aq,i64 0,i32 2,i64 0),i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aC,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
%aL=call i8*@sml_alloc(i32 inreg 60)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177336,i32*%aN,align 4
%aO=getelementptr inbounds i8,i8*%aL,i64 56
%aP=bitcast i8*%aO to i32*
store i32 1,i32*%aP,align 4
%aQ=load i8*,i8**%d,align 8
%aR=bitcast i8*%aL to i8**
store i8*%aQ,i8**%aR,align 8
call void@sml_raise(i8*inreg%aL)#1
unreachable
aS:
%aT=getelementptr inbounds i8,i8*%aw,i64 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
%aW=getelementptr inbounds i8,i8*%aV,i64 24
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%c,align 8
%aZ=bitcast i8*%ax to i32*
%a0=load i32,i32*%aZ,align 4
%a1=icmp eq i32%a0,1
br i1%a1,label%a2,label%bK
a2:
%a3=getelementptr inbounds i8,i8*%ax,i64 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=getelementptr inbounds i8,i8*%a5,i64 24
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%d,align 8
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
%bc=load i8*,i8**%d,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=load i8*,i8**%c,align 8
%bf=getelementptr inbounds i8,i8*%a9,i64 8
%bg=bitcast i8*%bf to i8**
store i8*%be,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%a9,i64 16
%bi=bitcast i8*%bh to i32*
store i32 3,i32*%bi,align 4
tail call fastcc void@_SMLLN12FunctorUtils9visitTfunE_553(i8*inreg%a9)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ak)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%al)
br label%bL
bj:
%bk=getelementptr inbounds i8,i8*%aw,i64 8
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
%bn=getelementptr inbounds i8,i8*%bm,i64 8
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%c,align 8
%bq=bitcast i8*%ax to i32*
%br=load i32,i32*%bq,align 4
%bs=icmp eq i32%br,0
br i1%bs,label%bt,label%bK
bt:
%bu=getelementptr inbounds i8,i8*%ax,i64 8
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
%bx=getelementptr inbounds i8,i8*%bw,i64 8
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
store i8*%bz,i8**%d,align 8
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177296,i32*%bC,align 4
%bD=load i8*,i8**%d,align 8
%bE=bitcast i8*%bA to i8**
store i8*%bD,i8**%bE,align 8
%bF=load i8*,i8**%c,align 8
%bG=getelementptr inbounds i8,i8*%bA,i64 8
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bA,i64 16
%bJ=bitcast i8*%bI to i32*
store i32 3,i32*%bJ,align 4
tail call fastcc void@_SMLLN12FunctorUtils9visitTfunE_553(i8*inreg%bA)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ak)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%al)
br label%bL
bK:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ak)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%al)
br label%bL
bL:
ret void
}
define internal fastcc void@_SMLLN12FunctorUtils8visitEnvE_563(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]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%A,i8**%f,align 8
%B=bitcast i8**%e to i8***
%C=load i8**,i8***%B,align 8
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%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
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%P=call fastcc i8*%y(i8*inreg%O,i8*inreg%E)
%Q=icmp eq i8*%P,null
br i1%Q,label%R,label%Y
R:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 4)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 4,i32*%V,align 4
store i32 3,i32*%T,align 4
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%W,i8*inreg%S)
unreachable
Y:
%Z=bitcast i8*%P to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%c,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%c,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%d,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
tail call fastcc void@_SMLLN12FunctorUtils8visitEnvE_558(i8*inreg%ae)
ret void
}
define internal fastcc void@_SMLLN12FunctorUtils8visitEnvE_558(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=getelementptr inbounds i8,i8*%p,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%b,align 8
%v=getelementptr inbounds i8,i8*%m,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%f,align 8
%A=call fastcc i8*@_SMLFN9SymbolEnv4appiE(i32 inreg 1,i32 inreg 8)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%c,align 8
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177288,i32*%I,align 4
store i8*%G,i8**%g,align 8
%J=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i32*
store i32 1,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**%g,align 8
store i8*null,i8**%g,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(void(i8*,i8*)*@_SMLLN12FunctorUtils8visitEnvE_562 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*)*@_SMLLN12FunctorUtils8visitEnvE_723 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%N,i64 24
%X=bitcast i8*%W to i32*
store i32 -2147483647,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=call fastcc i8*%D(i8*inreg%Y,i8*inreg%N)
%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
%af=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*%ac(i8*inreg%ae,i8*inreg%ai)
%ak=call fastcc i8*@_SMLFN9SymbolEnv4appiE(i32 inreg 1,i32 inreg 8)
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%b,align 8
%aq=call i8*@sml_alloc(i32 inreg 12)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177288,i32*%as,align 4
store i8*%aq,i8**%c,align 8
%at=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%aq,i64 8
%aw=bitcast i8*%av to 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
%aA=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN12FunctorUtils8visitEnvE_563 to void(...)*),void(...)**%aD,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 16
%aF=bitcast i8*%aE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils8visitEnvE_724 to void(...)*),void(...)**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ax,i64 24
%aH=bitcast i8*%aG to i32*
store i32 -2147483647,i32*%aH,align 4
%aI=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aJ=call fastcc i8*%an(i8*inreg%aI,i8*inreg%ax)
%aK=getelementptr inbounds i8,i8*%aJ,i64 16
%aL=bitcast i8*%aK to i8*(i8*,i8*)**
%aM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aL,align 8
%aN=bitcast i8*%aJ to i8**
%aO=load i8*,i8**%aN,align 8
%aP=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aQ=call fastcc i8*%aM(i8*inreg%aO,i8*inreg%aP)
ret void
}
define internal fastcc i8*@_SMLL5eqEnv_602(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=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=bitcast i8*%l to i32**
%n=load i32*,i32**%m,align 8
%o=load i32,i32*%n,align 4
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i32**
%r=load i32*,i32**%q,align 8
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%i,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%b,align 8
%w=call fastcc i8*@_SMLFN6TvarID3Map6insertE(i32 inreg 0,i32 inreg 4)
%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
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%c,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%b,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i32*
store i32%o,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%C,i64 12
%K=bitcast i8*%J to i32*
store i32%s,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%c,align 8
%O=tail call fastcc i8*%z(i8*inreg%N,i8*inreg%C)
ret i8*%O
}
define internal fastcc void@_SMLLN12FunctorUtils6eqTfunE_586(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%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**%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
call void@llvm.gcroot(i8**%k,i8*null)#0
br label%l
l:
%m=phi i8*[%lb,%la],[%a,%n]
store i8*%m,i8**%e,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%s,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%e,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%m,%l]
store i8*null,i8**%e,align 8
store i8*%t,i8**%g,align 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%i,align 8
%w=getelementptr inbounds i8,i8*%t,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%y)
store i8*%z,i8**%e,align 8
%A=load i8*,i8**%i,align 8
%B=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%A)
store i8*%B,i8**%f,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%e,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%f,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=bitcast i8*%F to i32*
%N=load i32,i32*%M,align 4
switch i32%N,label%O[
i32 0,label%ed
i32 1,label%ag
]
O:
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
call void@sml_matchcomp_bug()
%P=load i8*,i8**@_SMLZ5Match,align 8
store i8*%P,i8**%e,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**%f,align 8
%T=load i8*,i8**%e,align 8
store i8*null,i8**%e,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,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@aE,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
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177336,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%Z,i64 56
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=load i8*,i8**%f,align 8
%af=bitcast i8*%Z to i8**
store i8*%ae,i8**%af,align 8
call void@sml_raise(i8*inreg%Z)#1
unreachable
ag:
%ah=getelementptr inbounds i8,i8*%F,i64 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%e,align 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
switch i32%an,label%ao[
i32 3,label%aT
i32 0,label%aH
]
ao:
%ap=bitcast i8*%H to i32*
%aq=load i32,i32*%ap,align 4
%ar=icmp eq i32%aq,1
br i1%ar,label%as,label%g3
as:
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
%at=getelementptr inbounds i8,i8*%H,i64 8
%au=bitcast i8*%at to i8***
%av=load i8**,i8***%au,align 8
%aw=load i8*,i8**%av,align 8
%ax=bitcast i8*%aw to i32*
%ay=load i32,i32*%ax,align 4
%az=icmp eq i32%ay,0
br i1%az,label%aA,label%hf
aA:
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=getelementptr inbounds i8,i8*%aD,i64 32
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%F,i8**%e,align 8
store i8*%aG,i8**%f,align 8
br label%k4
aH:
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
%aI=getelementptr inbounds i8,i8*%al,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 32
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%e,align 8
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
%aR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
br label%la
aT:
%aU=getelementptr inbounds i8,i8*%al,i64 8
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%f,align 8
%aX=getelementptr inbounds i8,i8*%aW,i64 24
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=bitcast i8*%aZ to i32*
%a1=load i32,i32*%a0,align 4
%a2=icmp eq i32%a1,1
br i1%a2,label%bm,label%a3
a3:
%a4=bitcast i8*%H to i32*
%a5=load i32,i32*%a4,align 4
%a6=icmp eq i32%a5,1
br i1%a6,label%a7,label%g3
a7:
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
%a8=getelementptr inbounds i8,i8*%H,i64 8
%a9=bitcast i8*%a8 to i8***
%ba=load i8**,i8***%a9,align 8
%bb=load i8*,i8**%ba,align 8
%bc=bitcast i8*%bb to i32*
%bd=load i32,i32*%bc,align 4
%be=icmp eq i32%bd,0
br i1%be,label%bf,label%hf
bf:
%bg=getelementptr inbounds i8,i8*%bb,i64 8
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
%bj=getelementptr inbounds i8,i8*%bi,i64 32
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%F,i8**%e,align 8
store i8*%bl,i8**%f,align 8
br label%k4
bm:
%bn=getelementptr inbounds i8,i8*%aZ,i64 8
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%g,align 8
%bq=getelementptr inbounds i8,i8*%aW,i64 40
%br=bitcast i8*%bq to i32*
%bs=load i32,i32*%br,align 4
%bt=bitcast i8*%H to i32*
%bu=load i32,i32*%bt,align 4
%bv=icmp eq i32%bu,1
br i1%bv,label%bC,label%bw
bw:
%bx=bitcast i8*%aW to i32*
%by=load i32,i32*%bx,align 4
%bz=getelementptr inbounds i8,i8*%aW,i64 32
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
store i8*%aj,i8**%e,align 8
store i8*%bB,i8**%f,align 8
store i8*%bp,i8**%g,align 8
br label%lh
bC:
%bD=getelementptr inbounds i8,i8*%H,i64 8
%bE=bitcast i8*%bD to i8***
%bF=load i8**,i8***%bE,align 8
%bG=load i8*,i8**%bF,align 8
%bH=bitcast i8*%bG to i32*
%bI=load i32,i32*%bH,align 4
switch i32%bI,label%bJ[
i32 3,label%bV
i32 0,label%bP
]
bJ:
%bK=bitcast i8*%aW to i32*
%bL=load i32,i32*%bK,align 4
%bM=getelementptr inbounds i8,i8*%aW,i64 32
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
store i8*%aj,i8**%e,align 8
store i8*%bO,i8**%f,align 8
store i8*%bp,i8**%g,align 8
br label%lh
bP:
%bQ=bitcast i8*%aW to i32*
%bR=load i32,i32*%bQ,align 4
%bS=getelementptr inbounds i8,i8*%aW,i64 32
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
store i8*%aj,i8**%e,align 8
store i8*%bU,i8**%f,align 8
store i8*%bp,i8**%g,align 8
br label%lh
bV:
%bW=getelementptr inbounds i8,i8*%bG,i64 8
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
store i8*%bY,i8**%h,align 8
%bZ=getelementptr inbounds i8,i8*%bY,i64 24
%b0=bitcast i8*%bZ to i8**
%b1=load i8*,i8**%b0,align 8
%b2=bitcast i8*%b1 to i32*
%b3=load i32,i32*%b2,align 4
%b4=icmp eq i32%b3,1
br i1%b4,label%cb,label%b5
b5:
store i8*null,i8**%h,align 8
%b6=bitcast i8*%aW to i32*
%b7=load i32,i32*%b6,align 4
%b8=getelementptr inbounds i8,i8*%aW,i64 32
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
store i8*%aj,i8**%e,align 8
store i8*%ca,i8**%f,align 8
store i8*%bp,i8**%g,align 8
br label%lh
cb:
%cc=getelementptr inbounds i8,i8*%b1,i64 8
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
store i8*%ce,i8**%j,align 8
%cf=getelementptr inbounds i8,i8*%bY,i64 40
%cg=bitcast i8*%cf to i32*
%ch=load i32,i32*%cg,align 4
%ci=call i8*@sml_alloc(i32 inreg 12)#0
%cj=bitcast i8*%ci to i32*
%ck=getelementptr inbounds i8,i8*%ci,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177288,i32*%cl,align 4
store i32%bs,i32*%cj,align 4
%cm=getelementptr inbounds i8,i8*%ci,i64 4
%cn=bitcast i8*%cm to i32*
store i32%ch,i32*%cn,align 4
%co=getelementptr inbounds i8,i8*%ci,i64 8
%cp=bitcast i8*%co to i32*
store i32 0,i32*%cp,align 4
%cq=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%ci)
%cr=icmp eq i32%cq,0
br i1%cr,label%ct,label%cs
cs:
ret void
ct:
%cu=call i8*@sml_alloc(i32 inreg 20)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177296,i32*%cw,align 4
store i8*%cu,i8**%k,align 8
%cx=getelementptr inbounds i8,i8*%cu,i64 4
%cy=bitcast i8*%cx to i32*
store i32 0,i32*%cy,align 1
%cz=bitcast i8*%cu to i32*
store i32 1,i32*%cz,align 4
%cA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cB=getelementptr inbounds i8,i8*%cu,i64 8
%cC=bitcast i8*%cB to i8**
store i8*%cA,i8**%cC,align 8
%cD=getelementptr inbounds i8,i8*%cu,i64 16
%cE=bitcast i8*%cD to i32*
store i32 2,i32*%cE,align 4
%cF=call i8*@sml_alloc(i32 inreg 20)#0
%cG=getelementptr inbounds i8,i8*%cF,i64 -4
%cH=bitcast i8*%cG to i32*
store i32 1342177296,i32*%cH,align 4
store i8*%cF,i8**%g,align 8
%cI=getelementptr inbounds i8,i8*%cF,i64 4
%cJ=bitcast i8*%cI to i32*
store i32 0,i32*%cJ,align 1
%cK=bitcast i8*%cF to i32*
store i32 1,i32*%cK,align 4
%cL=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cM=getelementptr inbounds i8,i8*%cF,i64 8
%cN=bitcast i8*%cM to i8**
store i8*%cL,i8**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cF,i64 16
%cP=bitcast i8*%cO to i32*
store i32 2,i32*%cP,align 4
%cQ=call i8*@sml_alloc(i32 inreg 20)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177296,i32*%cS,align 4
%cT=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cU=bitcast i8*%cQ to i8**
store i8*%cT,i8**%cU,align 8
%cV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cW=getelementptr inbounds i8,i8*%cQ,i64 8
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cQ,i64 16
%cZ=bitcast i8*%cY to i32*
store i32 3,i32*%cZ,align 4
%c0=call fastcc i32@_SMLFN6EvalTy14compatPropertyE(i8*inreg%cQ)
%c1=icmp eq i32%c0,0
br i1%c1,label%dG,label%c2
c2:
%c3=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%c4=getelementptr inbounds i8,i8*%c3,i64 16
%c5=bitcast i8*%c4 to i8*(i8*,i8*)**
%c6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c5,align 8
%c7=bitcast i8*%c3 to i8**
%c8=load i8*,i8**%c7,align 8
%c9=load i8*,i8**%f,align 8
%da=getelementptr inbounds i8,i8*%c9,i64 32
%db=bitcast i8*%da to i8**
%dc=load i8*,i8**%db,align 8
%dd=call fastcc i8*%c6(i8*inreg%c8,i8*inreg%dc)
%de=bitcast i8*%dd to i32*
%df=load i32,i32*%de,align 4
%dg=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%dh=getelementptr inbounds i8,i8*%dg,i64 16
%di=bitcast i8*%dh to i8*(i8*,i8*)**
%dj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%di,align 8
%dk=bitcast i8*%dg to i8**
%dl=load i8*,i8**%dk,align 8
%dm=load i8*,i8**%h,align 8
%dn=getelementptr inbounds i8,i8*%dm,i64 32
%do=bitcast i8*%dn to i8**
%dp=load i8*,i8**%do,align 8
%dq=call fastcc i8*%dj(i8*inreg%dl,i8*inreg%dp)
%dr=bitcast i8*%dq to i32*
%ds=load i32,i32*%dr,align 4
%dt=icmp eq i32%df,%ds
br i1%dt,label%du,label%dG
du:
%dv=bitcast i8**%f to i32**
%dw=load i32*,i32**%dv,align 8
store i8*null,i8**%f,align 8
%dx=load i32,i32*%dw,align 4
%dy=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%dx)
%dz=icmp eq i32%dy,0
br i1%dz,label%dB,label%dA
dA:
store i8*null,i8**%h,align 8
br label%dH
dB:
%dC=bitcast i8**%h to i32**
%dD=load i32*,i32**%dC,align 8
store i8*null,i8**%h,align 8
%dE=load i32,i32*%dD,align 4
%dF=icmp eq i32%dE,0
br i1%dF,label%d6,label%dH
dG:
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
br label%d6
dH:
%dI=call i8*@sml_alloc(i32 inreg 20)#0
%dJ=getelementptr inbounds i8,i8*%dI,i64 -4
%dK=bitcast i8*%dJ to i32*
store i32 1342177296,i32*%dK,align 4
store i8*%dI,i8**%f,align 8
%dL=getelementptr inbounds i8,i8*%dI,i64 4
%dM=bitcast i8*%dL to i32*
store i32 0,i32*%dM,align 1
%dN=bitcast i8*%dI to i32*
store i32%bs,i32*%dN,align 4
%dO=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dP=getelementptr inbounds i8,i8*%dI,i64 8
%dQ=bitcast i8*%dP to i8**
store i8*%dO,i8**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dI,i64 16
%dS=bitcast i8*%dR to i32*
store i32 2,i32*%dS,align 4
%dT=call i8*@sml_alloc(i32 inreg 20)#0
%dU=bitcast i8*%dT to i32*
%dV=getelementptr inbounds i8,i8*%dT,i64 -4
%dW=bitcast i8*%dV to i32*
store i32 1342177296,i32*%dW,align 4
%dX=getelementptr inbounds i8,i8*%dT,i64 4
%dY=bitcast i8*%dX to i32*
store i32 0,i32*%dY,align 1
store i32 2,i32*%dU,align 4
%dZ=load i8*,i8**%f,align 8
%d0=getelementptr inbounds i8,i8*%dT,i64 8
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dT,i64 16
%d3=bitcast i8*%d2 to i32*
store i32 2,i32*%d3,align 4
%d4=load i8*,i8**%e,align 8
%d5=bitcast i8*%d4 to i8**
call void@sml_write(i8*inreg%d4,i8**inreg%d5,i8*inreg%dT)#0
ret void
d6:
store i8*null,i8**%i,align 8
store i8*null,i8**%e,align 8
%d7=call i8*@sml_alloc(i32 inreg 4)#0
%d8=bitcast i8*%d7 to i32*
%d9=getelementptr inbounds i8,i8*%d7,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 4,i32*%ea,align 4
store i32 16,i32*%d8,align 4
%eb=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ec=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%eb,i8*inreg%d7)
unreachable
ed:
%ee=getelementptr inbounds i8,i8*%F,i64 8
%ef=bitcast i8*%ee to i8**
%eg=load i8*,i8**%ef,align 8
%eh=bitcast i8*%eg to i32*
%ei=load i32,i32*%eh,align 4
%ej=getelementptr inbounds i8,i8*%eg,i64 8
%ek=bitcast i8*%ej to i8**
%el=load i8*,i8**%ek,align 8
store i8*%el,i8**%e,align 8
%em=getelementptr inbounds i8,i8*%eg,i64 24
%en=bitcast i8*%em to i8**
%eo=load i8*,i8**%en,align 8
store i8*%eo,i8**%f,align 8
%ep=bitcast i8*%H to i32*
%eq=load i32,i32*%ep,align 4
switch i32%eq,label%er[
i32 0,label%eY
i32 1,label%eJ
]
er:
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%es=load i8*,i8**@_SMLZ5Match,align 8
store i8*%es,i8**%e,align 8
%et=call i8*@sml_alloc(i32 inreg 20)#0
%eu=getelementptr inbounds i8,i8*%et,i64 -4
%ev=bitcast i8*%eu to i32*
store i32 1342177296,i32*%ev,align 4
store i8*%et,i8**%f,align 8
%ew=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ex=bitcast i8*%et to i8**
store i8*%ew,i8**%ex,align 8
%ey=getelementptr inbounds i8,i8*%et,i64 8
%ez=bitcast i8*%ey to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@aE,i64 0,i32 2,i64 0),i8**%ez,align 8
%eA=getelementptr inbounds i8,i8*%et,i64 16
%eB=bitcast i8*%eA to i32*
store i32 3,i32*%eB,align 4
%eC=call i8*@sml_alloc(i32 inreg 60)#0
%eD=getelementptr inbounds i8,i8*%eC,i64 -4
%eE=bitcast i8*%eD to i32*
store i32 1342177336,i32*%eE,align 4
%eF=getelementptr inbounds i8,i8*%eC,i64 56
%eG=bitcast i8*%eF to i32*
store i32 1,i32*%eG,align 4
%eH=load i8*,i8**%f,align 8
%eI=bitcast i8*%eC to i8**
store i8*%eH,i8**%eI,align 8
call void@sml_raise(i8*inreg%eC)#1
unreachable
eJ:
%eK=getelementptr inbounds i8,i8*%H,i64 8
%eL=bitcast i8*%eK to i8***
%eM=load i8**,i8***%eL,align 8
%eN=load i8*,i8**%eM,align 8
%eO=bitcast i8*%eN to i32*
%eP=load i32,i32*%eO,align 4
%eQ=icmp eq i32%eP,0
br i1%eQ,label%eR,label%g3
eR:
store i8*null,i8**%g,align 8
store i8*null,i8**%i,align 8
%eS=getelementptr inbounds i8,i8*%eN,i64 8
%eT=bitcast i8*%eS to i8**
%eU=load i8*,i8**%eT,align 8
%eV=getelementptr inbounds i8,i8*%eU,i64 32
%eW=bitcast i8*%eV to i8**
%eX=load i8*,i8**%eW,align 8
store i8*%F,i8**%e,align 8
store i8*%eX,i8**%f,align 8
br label%k4
eY:
store i8*null,i8**%i,align 8
%eZ=getelementptr inbounds i8,i8*%H,i64 8
%e0=bitcast i8*%eZ to i8**
%e1=load i8*,i8**%e0,align 8
%e2=bitcast i8*%e1 to i32*
%e3=load i32,i32*%e2,align 4
%e4=getelementptr inbounds i8,i8*%e1,i64 8
%e5=bitcast i8*%e4 to i8**
%e6=load i8*,i8**%e5,align 8
store i8*%e6,i8**%g,align 8
%e7=getelementptr inbounds i8,i8*%e1,i64 24
%e8=bitcast i8*%e7 to i8**
%e9=load i8*,i8**%e8,align 8
store i8*%e9,i8**%h,align 8
%fa=icmp eq i32%ei,%e3
br i1%fa,label%fi,label%fb
fb:
store i8*null,i8**%i,align 8
%fc=call i8*@sml_alloc(i32 inreg 4)#0
%fd=bitcast i8*%fc to i32*
%fe=getelementptr inbounds i8,i8*%fc,i64 -4
%ff=bitcast i8*%fe to i32*
store i32 4,i32*%ff,align 4
store i32 13,i32*%fd,align 4
%fg=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fh=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%fg,i8*inreg%fc)
unreachable
fi:
%fj=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%fk=getelementptr inbounds i8,i8*%fj,i64 16
%fl=bitcast i8*%fk to i8*(i8*,i8*)**
%fm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fl,align 8
%fn=bitcast i8*%fj to i8**
%fo=load i8*,i8**%fn,align 8
%fp=load i8*,i8**%e,align 8
%fq=call fastcc i8*%fm(i8*inreg%fo,i8*inreg%fp)
%fr=bitcast i8*%fq to i32*
%fs=load i32,i32*%fr,align 4
%ft=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%fu=getelementptr inbounds i8,i8*%ft,i64 16
%fv=bitcast i8*%fu to i8*(i8*,i8*)**
%fw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fv,align 8
%fx=bitcast i8*%ft to i8**
%fy=load i8*,i8**%fx,align 8
%fz=load i8*,i8**%g,align 8
%fA=call fastcc i8*%fw(i8*inreg%fy,i8*inreg%fz)
%fB=bitcast i8*%fA to i32*
%fC=load i32,i32*%fB,align 4
%fD=icmp eq i32%fs,%fC
br i1%fD,label%fL,label%fE
fE:
store i8*null,i8**%g,align 8
store i8*null,i8**%e,align 8
%fF=call i8*@sml_alloc(i32 inreg 4)#0
%fG=bitcast i8*%fF to i32*
%fH=getelementptr inbounds i8,i8*%fF,i64 -4
%fI=bitcast i8*%fH to i32*
store i32 4,i32*%fI,align 4
store i32 14,i32*%fG,align 4
%fJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fK=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%fJ,i8*inreg%fF)
unreachable
fL:
%fM=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fN=getelementptr inbounds i8,i8*%fM,i64 16
%fO=bitcast i8*%fN to i8*(i8*,i8*)**
%fP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fO,align 8
%fQ=bitcast i8*%fM to i8**
%fR=load i8*,i8**%fQ,align 8
store i8*%fR,i8**%i,align 8
%fS=call i8*@sml_alloc(i32 inreg 20)#0
%fT=getelementptr inbounds i8,i8*%fS,i64 -4
%fU=bitcast i8*%fT to i32*
store i32 1342177296,i32*%fU,align 4
%fV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fW=bitcast i8*%fS to i8**
store i8*%fV,i8**%fW,align 8
%fX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fY=getelementptr inbounds i8,i8*%fS,i64 8
%fZ=bitcast i8*%fY to i8**
store i8*%fX,i8**%fZ,align 8
%f0=getelementptr inbounds i8,i8*%fS,i64 16
%f1=bitcast i8*%f0 to i32*
store i32 3,i32*%f1,align 4
%f2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%f3=call fastcc i8*%fP(i8*inreg%f2,i8*inreg%fS)
store i8*%f3,i8**%e,align 8
%f4=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%f5=getelementptr inbounds i8,i8*%f4,i64 16
%f6=bitcast i8*%f5 to i8*(i8*,i8*)**
%f7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f6,align 8
%f8=bitcast i8*%f4 to i8**
%f9=load i8*,i8**%f8,align 8
%ga=call fastcc i8*%f7(i8*inreg%f9,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aD,i64 0,i32 2)to i8*))
%gb=getelementptr inbounds i8,i8*%ga,i64 16
%gc=bitcast i8*%gb to i8*(i8*,i8*)**
%gd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gc,align 8
%ge=bitcast i8*%ga to i8**
%gf=load i8*,i8**%ge,align 8
store i8*%gf,i8**%g,align 8
%gg=call fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%gh=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gi=call fastcc i8*%gd(i8*inreg%gh,i8*inreg%gg)
%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
%go=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gp=call fastcc i8*%gl(i8*inreg%gn,i8*inreg%go)
store i8*%gp,i8**%e,align 8
%gq=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%gq,i8**%g,align 8
%gr=call i8*@sml_alloc(i32 inreg 20)#0
%gs=getelementptr inbounds i8,i8*%gr,i64 -4
%gt=bitcast i8*%gs to i32*
store i32 1342177296,i32*%gt,align 4
%gu=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gv=bitcast i8*%gr to i8**
store i8*%gu,i8**%gv,align 8
%gw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gx=getelementptr inbounds i8,i8*%gr,i64 8
%gy=bitcast i8*%gx to i8**
store i8*%gw,i8**%gy,align 8
%gz=getelementptr inbounds i8,i8*%gr,i64 16
%gA=bitcast i8*%gz to i32*
store i32 3,i32*%gA,align 4
%gB=call fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%gr)
%gC=getelementptr inbounds i8,i8*%gB,i64 16
%gD=bitcast i8*%gC to i8*(i8*,i8*)**
%gE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gD,align 8
%gF=bitcast i8*%gB to i8**
%gG=load i8*,i8**%gF,align 8
store i8*%gG,i8**%e,align 8
%gH=call i8*@sml_alloc(i32 inreg 20)#0
%gI=getelementptr inbounds i8,i8*%gH,i64 -4
%gJ=bitcast i8*%gI to i32*
store i32 1342177296,i32*%gJ,align 4
%gK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gL=bitcast i8*%gH to i8**
store i8*%gK,i8**%gL,align 8
%gM=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gN=getelementptr inbounds i8,i8*%gH,i64 8
%gO=bitcast i8*%gN to i8**
store i8*%gM,i8**%gO,align 8
%gP=getelementptr inbounds i8,i8*%gH,i64 16
%gQ=bitcast i8*%gP to i32*
store i32 3,i32*%gQ,align 4
%gR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gS=call fastcc i8*%gE(i8*inreg%gR,i8*inreg%gH)
%gT=bitcast i8*%gS to i32*
%gU=load i32,i32*%gT,align 4
%gV=icmp eq i32%gU,0
br i1%gV,label%gW,label%cs
gW:
store i8*null,i8**%e,align 8
%gX=call i8*@sml_alloc(i32 inreg 4)#0
%gY=bitcast i8*%gX to i32*
%gZ=getelementptr inbounds i8,i8*%gX,i64 -4
%g0=bitcast i8*%gZ to i32*
store i32 4,i32*%g0,align 4
store i32 15,i32*%gY,align 4
%g1=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%g2=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%g1,i8*inreg%gX)
unreachable
g3:
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@aA,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[10x i8]}>,<{[4x i8],i32,[10x i8]}>*@aB,i64 0,i32 2,i64 0))
%g4=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%g5=getelementptr inbounds i8,i8*%g4,i64 8
%g6=bitcast i8*%g5 to i8**
%g7=load i8*,i8**%g6,align 8
call fastcc void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg%g7)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[10x i8]}>,<{[4x i8],i32,[10x i8]}>*@aC,i64 0,i32 2,i64 0))
%g8=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
call fastcc void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg%g8)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
store i8*null,i8**%e,align 8
%g9=call i8*@sml_alloc(i32 inreg 4)#0
%ha=bitcast i8*%g9 to i32*
%hb=getelementptr inbounds i8,i8*%g9,i64 -4
%hc=bitcast i8*%hb to i32*
store i32 4,i32*%hc,align 4
store i32 19,i32*%ha,align 4
%hd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%he=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%hd,i8*inreg%g9)
unreachable
hf:
%hg=phi i8*[%aw,%as],[%bb,%a7]
store i8*%al,i8**%e,align 8
store i8*%hg,i8**%f,align 8
%hh=call i8*@sml_alloc(i32 inreg 20)#0
%hi=getelementptr inbounds i8,i8*%hh,i64 -4
%hj=bitcast i8*%hi to i32*
store i32 1342177296,i32*%hj,align 4
%hk=load i8*,i8**%f,align 8
%hl=bitcast i8*%hh to i8**
store i8*%hk,i8**%hl,align 8
%hm=load i8*,i8**%e,align 8
%hn=getelementptr inbounds i8,i8*%hh,i64 8
%ho=bitcast i8*%hn to i8**
store i8*%hm,i8**%ho,align 8
%hp=getelementptr inbounds i8,i8*%hh,i64 16
%hq=bitcast i8*%hp to i32*
store i32 3,i32*%hq,align 4
%hr=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hr)
%hs=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hs)
%ht=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ht)
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*%hh,i8**%b,align 8
%hu=load atomic i32,i32*@sml_check_flag unordered,align 4
%hv=icmp eq i32%hu,0
br i1%hv,label%hD,label%hw
hw:
call void@sml_check(i32 inreg%hu)
%hx=load i8*,i8**%b,align 8
%hy=bitcast i8*%hx to i8**
%hz=load i8*,i8**%hy,align 8
%hA=getelementptr inbounds i8,i8*%hx,i64 8
%hB=bitcast i8*%hA to i8**
%hC=load i8*,i8**%hB,align 8
br label%hD
hD:
%hE=phi i8*[%hC,%hw],[%hm,%hf]
%hF=phi i8*[%hz,%hw],[%hk,%hf]
store i8*%hF,i8**%b,align 8
store i8*%hE,i8**%c,align 8
%hG=bitcast i8*%hE to i32*
%hH=load i32,i32*%hG,align 4
%hI=bitcast i8*%hF to i32*
switch i32%hH,label%hJ[
i32 3,label%ji
i32 5,label%iK
i32 4,label%ic
i32 1,label%hQ
i32 0,label%hN
]
hJ:
%hK=load i32,i32*%hI,align 4
switch i32%hK,label%jQ[
i32 1,label%hM
i32 0,label%hL
]
hL:
store i8*null,i8**%c,align 8
br label%jZ
hM:
store i8*null,i8**%c,align 8
br label%kH
hN:
store i8*null,i8**%c,align 8
%hO=load i32,i32*%hI,align 4
%hP=icmp eq i32%hO,1
br i1%hP,label%kH,label%kl
hQ:
store i8*null,i8**%c,align 8
%hR=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%hR,i8**%b,align 8
%hS=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@as,i64 0,i32 2)to i8*))
store i8*%hS,i8**%c,align 8
%hT=call i8*@sml_alloc(i32 inreg 28)#0
%hU=getelementptr inbounds i8,i8*%hT,i64 -4
%hV=bitcast i8*%hU to i32*
store i32 1342177304,i32*%hV,align 4
store i8*%hT,i8**%d,align 8
%hW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%hX=bitcast i8*%hT to i8**
store i8*%hW,i8**%hX,align 8
%hY=getelementptr inbounds i8,i8*%hT,i64 8
%hZ=bitcast i8*%hY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%hZ,align 8
%h0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%h1=getelementptr inbounds i8,i8*%hT,i64 16
%h2=bitcast i8*%h1 to i8**
store i8*%h0,i8**%h2,align 8
%h3=getelementptr inbounds i8,i8*%hT,i64 24
%h4=bitcast i8*%h3 to i32*
store i32 7,i32*%h4,align 4
%h5=call i8*@sml_alloc(i32 inreg 60)#0
%h6=getelementptr inbounds i8,i8*%h5,i64 -4
%h7=bitcast i8*%h6 to i32*
store i32 1342177336,i32*%h7,align 4
%h8=getelementptr inbounds i8,i8*%h5,i64 56
%h9=bitcast i8*%h8 to i32*
store i32 1,i32*%h9,align 4
%ia=load i8*,i8**%d,align 8
%ib=bitcast i8*%h5 to i8**
store i8*%ia,i8**%ib,align 8
call void@sml_raise(i8*inreg%h5)#1
unreachable
ic:
%id=load i32,i32*%hI,align 4
switch i32%id,label%jQ[
i32 4,label%ig
i32 1,label%if
i32 0,label%ie
]
ie:
store i8*null,i8**%c,align 8
br label%jZ
if:
store i8*null,i8**%c,align 8
br label%kH
ig:
%ih=getelementptr inbounds i8,i8*%hE,i64 8
%ii=bitcast i8*%ih to i8**
%ij=load i8*,i8**%ii,align 8
%ik=getelementptr inbounds i8,i8*%ij,i64 24
%il=bitcast i8*%ik to i32*
%im=load i32,i32*%il,align 4
store i8*null,i8**%c,align 8
store i8*null,i8**%b,align 8
%in=getelementptr inbounds i8,i8*%hF,i64 8
%io=bitcast i8*%in to i8**
%ip=load i8*,i8**%io,align 8
%iq=getelementptr inbounds i8,i8*%ip,i64 24
%ir=bitcast i8*%iq to i32*
%is=load i32,i32*%ir,align 4
%it=call i8*@sml_alloc(i32 inreg 12)#0
%iu=bitcast i8*%it to i32*
%iv=getelementptr inbounds i8,i8*%it,i64 -4
%iw=bitcast i8*%iv to i32*
store i32 1342177288,i32*%iw,align 4
store i32%im,i32*%iu,align 4
%ix=getelementptr inbounds i8,i8*%it,i64 4
%iy=bitcast i8*%ix to i32*
store i32%is,i32*%iy,align 4
%iz=getelementptr inbounds i8,i8*%it,i64 8
%iA=bitcast i8*%iz to i32*
store i32 0,i32*%iA,align 4
%iB=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%it)
%iC=icmp eq i32%iB,0
br i1%iC,label%iD,label%k3
iD:
store i8*null,i8**%b,align 8
%iE=call i8*@sml_alloc(i32 inreg 4)#0
%iF=bitcast i8*%iE to i32*
%iG=getelementptr inbounds i8,i8*%iE,i64 -4
%iH=bitcast i8*%iG to i32*
store i32 4,i32*%iH,align 4
store i32 11,i32*%iF,align 4
%iI=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%iJ=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%iI,i8*inreg%iE)
unreachable
iK:
%iL=load i32,i32*%hI,align 4
switch i32%iL,label%jQ[
i32 5,label%iO
i32 1,label%iN
i32 0,label%iM
]
iM:
store i8*null,i8**%c,align 8
br label%jZ
iN:
store i8*null,i8**%c,align 8
br label%kH
iO:
%iP=getelementptr inbounds i8,i8*%hE,i64 8
%iQ=bitcast i8*%iP to i8**
%iR=load i8*,i8**%iQ,align 8
%iS=getelementptr inbounds i8,i8*%iR,i64 16
%iT=bitcast i8*%iS to i32*
%iU=load i32,i32*%iT,align 4
store i8*null,i8**%c,align 8
store i8*null,i8**%b,align 8
%iV=getelementptr inbounds i8,i8*%hF,i64 8
%iW=bitcast i8*%iV to i8**
%iX=load i8*,i8**%iW,align 8
%iY=getelementptr inbounds i8,i8*%iX,i64 16
%iZ=bitcast i8*%iY to i32*
%i0=load i32,i32*%iZ,align 4
%i1=call i8*@sml_alloc(i32 inreg 12)#0
%i2=bitcast i8*%i1 to i32*
%i3=getelementptr inbounds i8,i8*%i1,i64 -4
%i4=bitcast i8*%i3 to i32*
store i32 1342177288,i32*%i4,align 4
store i32%iU,i32*%i2,align 4
%i5=getelementptr inbounds i8,i8*%i1,i64 4
%i6=bitcast i8*%i5 to i32*
store i32%i0,i32*%i6,align 4
%i7=getelementptr inbounds i8,i8*%i1,i64 8
%i8=bitcast i8*%i7 to i32*
store i32 0,i32*%i8,align 4
%i9=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%i1)
%ja=icmp eq i32%i9,0
br i1%ja,label%jb,label%k3
jb:
store i8*null,i8**%b,align 8
%jc=call i8*@sml_alloc(i32 inreg 4)#0
%jd=bitcast i8*%jc to i32*
%je=getelementptr inbounds i8,i8*%jc,i64 -4
%jf=bitcast i8*%je to i32*
store i32 4,i32*%jf,align 4
store i32 10,i32*%jd,align 4
%jg=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%jh=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%jg,i8*inreg%jc)
unreachable
ji:
%jj=load i32,i32*%hI,align 4
switch i32%jj,label%jQ[
i32 3,label%jm
i32 1,label%jl
i32 0,label%jk
]
jk:
store i8*null,i8**%c,align 8
br label%jZ
jl:
store i8*null,i8**%c,align 8
br label%kH
jm:
%jn=getelementptr inbounds i8,i8*%hE,i64 8
%jo=bitcast i8*%jn to i8**
%jp=load i8*,i8**%jo,align 8
%jq=getelementptr inbounds i8,i8*%jp,i64 40
%jr=bitcast i8*%jq to i32*
%js=load i32,i32*%jr,align 4
store i8*null,i8**%c,align 8
store i8*null,i8**%b,align 8
%jt=getelementptr inbounds i8,i8*%hF,i64 8
%ju=bitcast i8*%jt to i8**
%jv=load i8*,i8**%ju,align 8
%jw=getelementptr inbounds i8,i8*%jv,i64 40
%jx=bitcast i8*%jw to i32*
%jy=load i32,i32*%jx,align 4
%jz=call i8*@sml_alloc(i32 inreg 12)#0
%jA=bitcast i8*%jz to i32*
%jB=getelementptr inbounds i8,i8*%jz,i64 -4
%jC=bitcast i8*%jB to i32*
store i32 1342177288,i32*%jC,align 4
store i32%js,i32*%jA,align 4
%jD=getelementptr inbounds i8,i8*%jz,i64 4
%jE=bitcast i8*%jD to i32*
store i32%jy,i32*%jE,align 4
%jF=getelementptr inbounds i8,i8*%jz,i64 8
%jG=bitcast i8*%jF to i32*
store i32 0,i32*%jG,align 4
%jH=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%jz)
%jI=icmp eq i32%jH,0
br i1%jI,label%jJ,label%k3
jJ:
store i8*null,i8**%b,align 8
%jK=call i8*@sml_alloc(i32 inreg 4)#0
%jL=bitcast i8*%jK to i32*
%jM=getelementptr inbounds i8,i8*%jK,i64 -4
%jN=bitcast i8*%jM to i32*
store i32 4,i32*%jN,align 4
store i32 9,i32*%jL,align 4
%jO=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%jP=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%jO,i8*inreg%jK)
unreachable
jQ:
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@ax,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@ay,i64 0,i32 2,i64 0))
%jR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
call fastcc void@_SMLFN13NameEvalUtils13printTfunkindE(i8*inreg%jR)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@az,i64 0,i32 2,i64 0))
%jS=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
call fastcc void@_SMLFN13NameEvalUtils13printTfunkindE(i8*inreg%jS)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
store i8*null,i8**%b,align 8
%jT=call i8*@sml_alloc(i32 inreg 4)#0
%jU=bitcast i8*%jT to i32*
%jV=getelementptr inbounds i8,i8*%jT,i64 -4
%jW=bitcast i8*%jV to i32*
store i32 4,i32*%jW,align 4
store i32 12,i32*%jU,align 4
%jX=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%jY=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%jX,i8*inreg%jT)
unreachable
jZ:
%j0=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%j0,i8**%b,align 8
%j1=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aw,i64 0,i32 2)to i8*))
store i8*%j1,i8**%c,align 8
%j2=call i8*@sml_alloc(i32 inreg 28)#0
%j3=getelementptr inbounds i8,i8*%j2,i64 -4
%j4=bitcast i8*%j3 to i32*
store i32 1342177304,i32*%j4,align 4
store i8*%j2,i8**%d,align 8
%j5=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%j6=bitcast i8*%j2 to i8**
store i8*%j5,i8**%j6,align 8
%j7=getelementptr inbounds i8,i8*%j2,i64 8
%j8=bitcast i8*%j7 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%j8,align 8
%j9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ka=getelementptr inbounds i8,i8*%j2,i64 16
%kb=bitcast i8*%ka to i8**
store i8*%j9,i8**%kb,align 8
%kc=getelementptr inbounds i8,i8*%j2,i64 24
%kd=bitcast i8*%kc to i32*
store i32 7,i32*%kd,align 4
%ke=call i8*@sml_alloc(i32 inreg 60)#0
%kf=getelementptr inbounds i8,i8*%ke,i64 -4
%kg=bitcast i8*%kf to i32*
store i32 1342177336,i32*%kg,align 4
%kh=getelementptr inbounds i8,i8*%ke,i64 56
%ki=bitcast i8*%kh to i32*
store i32 1,i32*%ki,align 4
%kj=load i8*,i8**%d,align 8
%kk=bitcast i8*%ke to i8**
store i8*%kj,i8**%kk,align 8
call void@sml_raise(i8*inreg%ke)#1
unreachable
kl:
%km=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%km,i8**%b,align 8
%kn=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aw,i64 0,i32 2)to i8*))
store i8*%kn,i8**%c,align 8
%ko=call i8*@sml_alloc(i32 inreg 28)#0
%kp=getelementptr inbounds i8,i8*%ko,i64 -4
%kq=bitcast i8*%kp to i32*
store i32 1342177304,i32*%kq,align 4
store i8*%ko,i8**%d,align 8
%kr=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ks=bitcast i8*%ko to i8**
store i8*%kr,i8**%ks,align 8
%kt=getelementptr inbounds i8,i8*%ko,i64 8
%ku=bitcast i8*%kt to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%ku,align 8
%kv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kw=getelementptr inbounds i8,i8*%ko,i64 16
%kx=bitcast i8*%kw to i8**
store i8*%kv,i8**%kx,align 8
%ky=getelementptr inbounds i8,i8*%ko,i64 24
%kz=bitcast i8*%ky to i32*
store i32 7,i32*%kz,align 4
%kA=call i8*@sml_alloc(i32 inreg 60)#0
%kB=getelementptr inbounds i8,i8*%kA,i64 -4
%kC=bitcast i8*%kB to i32*
store i32 1342177336,i32*%kC,align 4
%kD=getelementptr inbounds i8,i8*%kA,i64 56
%kE=bitcast i8*%kD to i32*
store i32 1,i32*%kE,align 4
%kF=load i8*,i8**%d,align 8
%kG=bitcast i8*%kA to i8**
store i8*%kF,i8**%kG,align 8
call void@sml_raise(i8*inreg%kA)#1
unreachable
kH:
%kI=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%kI,i8**%b,align 8
%kJ=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@as,i64 0,i32 2)to i8*))
store i8*%kJ,i8**%c,align 8
%kK=call i8*@sml_alloc(i32 inreg 28)#0
%kL=getelementptr inbounds i8,i8*%kK,i64 -4
%kM=bitcast i8*%kL to i32*
store i32 1342177304,i32*%kM,align 4
store i8*%kK,i8**%d,align 8
%kN=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%kO=bitcast i8*%kK to i8**
store i8*%kN,i8**%kO,align 8
%kP=getelementptr inbounds i8,i8*%kK,i64 8
%kQ=bitcast i8*%kP to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[75x i8]}>,<{[4x i8],i32,[75x i8]}>*@at,i64 0,i32 2,i64 0),i8**%kQ,align 8
%kR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kS=getelementptr inbounds i8,i8*%kK,i64 16
%kT=bitcast i8*%kS to i8**
store i8*%kR,i8**%kT,align 8
%kU=getelementptr inbounds i8,i8*%kK,i64 24
%kV=bitcast i8*%kU to i32*
store i32 7,i32*%kV,align 4
%kW=call i8*@sml_alloc(i32 inreg 60)#0
%kX=getelementptr inbounds i8,i8*%kW,i64 -4
%kY=bitcast i8*%kX to i32*
store i32 1342177336,i32*%kY,align 4
%kZ=getelementptr inbounds i8,i8*%kW,i64 56
%k0=bitcast i8*%kZ to i32*
store i32 1,i32*%k0,align 4
%k1=load i8*,i8**%d,align 8
%k2=bitcast i8*%kW to i8**
store i8*%k1,i8**%k2,align 8
call void@sml_raise(i8*inreg%kW)#1
unreachable
k3:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hr)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hs)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ht)
ret void
k4:
%k5=call i8*@sml_alloc(i32 inreg 20)#0
%k6=getelementptr inbounds i8,i8*%k5,i64 -4
%k7=bitcast i8*%k6 to i32*
store i32 1342177296,i32*%k7,align 4
%k8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%k9=bitcast i8*%k5 to i8**
store i8*%k8,i8**%k9,align 8
br label%la
la:
%lb=phi i8*[%k5,%k4],[%aO,%aH]
%lc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ld=getelementptr inbounds i8,i8*%lb,i64 8
%le=bitcast i8*%ld to i8**
store i8*%lc,i8**%le,align 8
%lf=getelementptr inbounds i8,i8*%lb,i64 16
%lg=bitcast i8*%lf to i32*
store i32 3,i32*%lg,align 4
br label%l
lh:
%li=phi i32[%by,%bw],[%bL,%bJ],[%bR,%bP],[%b7,%b5]
%lj=load i8*,i8**%i,align 8
%lk=call fastcc i8*@_SMLFN6IDCalc12tfunPropertyE(i8*inreg%lj)
%ll=icmp eq i8*%lk,null
br i1%ll,label%lm,label%lt
lm:
store i8*null,i8**%h,align 8
%ln=call i8*@sml_alloc(i32 inreg 4)#0
%lo=bitcast i8*%ln to i32*
%lp=getelementptr inbounds i8,i8*%ln,i64 -4
%lq=bitcast i8*%lp to i32*
store i32 4,i32*%lq,align 4
store i32 17,i32*%lo,align 4
%lr=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ls=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%lr,i8*inreg%ln)
unreachable
lt:
%lu=bitcast i8*%lk to i8**
%lv=load i8*,i8**%lu,align 8
store i8*%lv,i8**%h,align 8
%lw=load i8*,i8**%i,align 8
%lx=call fastcc i32@_SMLFN6IDCalc12tfunAdmitsEqE(i8*inreg%lw)
%ly=call i8*@sml_alloc(i32 inreg 20)#0
%lz=getelementptr inbounds i8,i8*%ly,i64 -4
%lA=bitcast i8*%lz to i32*
store i32 1342177296,i32*%lA,align 4
store i8*%ly,i8**%j,align 8
%lB=getelementptr inbounds i8,i8*%ly,i64 4
%lC=bitcast i8*%lB to i32*
store i32 0,i32*%lC,align 1
%lD=bitcast i8*%ly to i32*
store i32 1,i32*%lD,align 4
%lE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%lF=getelementptr inbounds i8,i8*%ly,i64 8
%lG=bitcast i8*%lF to i8**
store i8*%lE,i8**%lG,align 8
%lH=getelementptr inbounds i8,i8*%ly,i64 16
%lI=bitcast i8*%lH to i32*
store i32 2,i32*%lI,align 4
%lJ=call i8*@sml_alloc(i32 inreg 20)#0
%lK=getelementptr inbounds i8,i8*%lJ,i64 -4
%lL=bitcast i8*%lK to i32*
store i32 1342177296,i32*%lL,align 4
%lM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%lN=bitcast i8*%lJ to i8**
store i8*%lM,i8**%lN,align 8
%lO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%lP=getelementptr inbounds i8,i8*%lJ,i64 8
%lQ=bitcast i8*%lP to i8**
store i8*%lO,i8**%lQ,align 8
%lR=getelementptr inbounds i8,i8*%lJ,i64 16
%lS=bitcast i8*%lR to i32*
store i32 3,i32*%lS,align 4
%lT=call fastcc i32@_SMLFN6EvalTy14compatPropertyE(i8*inreg%lJ)
%lU=icmp eq i32%lT,0
br i1%lU,label%l9,label%lV
lV:
%lW=call fastcc i8*@_SMLFN4List6lengthE(i32 inreg 1,i32 inreg 8)
%lX=getelementptr inbounds i8,i8*%lW,i64 16
%lY=bitcast i8*%lX to i8*(i8*,i8*)**
%lZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lY,align 8
%l0=bitcast i8*%lW to i8**
%l1=load i8*,i8**%l0,align 8
%l2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%l3=call fastcc i8*%lZ(i8*inreg%l1,i8*inreg%l2)
%l4=bitcast i8*%l3 to i32*
%l5=load i32,i32*%l4,align 4
%l6=load i8*,i8**%i,align 8
%l7=call fastcc i32@_SMLFN6IDCalc9tfunArityE(i8*inreg%l6)
%l8=icmp eq i32%l5,%l7
br i1%l8,label%ma,label%me
l9:
store i8*null,i8**%f,align 8
br label%me
ma:
%mb=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%li)
%mc=or i32%mb,%lx
%md=icmp eq i32%mc,0
br i1%md,label%me,label%ml
me:
store i8*null,i8**%f,align 8
%mf=call i8*@sml_alloc(i32 inreg 4)#0
%mg=bitcast i8*%mf to i32*
%mh=getelementptr inbounds i8,i8*%mf,i64 -4
%mi=bitcast i8*%mh to i32*
store i32 4,i32*%mi,align 4
store i32 18,i32*%mg,align 4
%mj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mk=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%mj,i8*inreg%mf)
unreachable
ml:
%mm=call i8*@sml_alloc(i32 inreg 20)#0
%mn=getelementptr inbounds i8,i8*%mm,i64 -4
%mo=bitcast i8*%mn to i32*
store i32 1342177296,i32*%mo,align 4
store i8*%mm,i8**%f,align 8
%mp=getelementptr inbounds i8,i8*%mm,i64 4
%mq=bitcast i8*%mp to i32*
store i32 0,i32*%mq,align 1
%mr=bitcast i8*%mm to i32*
store i32%bs,i32*%mr,align 4
%ms=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%mt=getelementptr inbounds i8,i8*%mm,i64 8
%mu=bitcast i8*%mt to i8**
store i8*%ms,i8**%mu,align 8
%mv=getelementptr inbounds i8,i8*%mm,i64 16
%mw=bitcast i8*%mv to i32*
store i32 2,i32*%mw,align 4
%mx=call i8*@sml_alloc(i32 inreg 20)#0
%my=bitcast i8*%mx to i32*
%mz=getelementptr inbounds i8,i8*%mx,i64 -4
%mA=bitcast i8*%mz to i32*
store i32 1342177296,i32*%mA,align 4
%mB=getelementptr inbounds i8,i8*%mx,i64 4
%mC=bitcast i8*%mB to i32*
store i32 0,i32*%mC,align 1
store i32 2,i32*%my,align 4
%mD=load i8*,i8**%f,align 8
%mE=getelementptr inbounds i8,i8*%mx,i64 8
%mF=bitcast i8*%mE to i8**
store i8*%mD,i8**%mF,align 8
%mG=getelementptr inbounds i8,i8*%mx,i64 16
%mH=bitcast i8*%mG to i32*
store i32 2,i32*%mH,align 4
%mI=load i8*,i8**%e,align 8
%mJ=bitcast i8*%mI to i8**
call void@sml_write(i8*inreg%mI,i8**inreg%mJ,i8*inreg%mx)#0
ret void
}
define internal fastcc void@_SMLLN12FunctorUtils5eqTyEE_625(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%h,align 8
store i8*%b,i8**%f,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%f,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%f,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%g,align 8
%v=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%A,i8**%i,align 8
%B=bitcast i8**%h to i8***
%C=load i8**,i8***%B,align 8
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%h,align 8
%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
%H=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%f,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%P=call fastcc i8*%y(i8*inreg%O,i8*inreg%E)
%Q=icmp eq i8*%P,null
br i1%Q,label%R,label%Z
R:
store i8*null,i8**%g,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[25x i8]}>,<{[4x i8],i32,[25x i8]}>*@aO,i64 0,i32 2,i64 0))
%S=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
call fastcc void@_SMLFN13NameEvalUtils11printSymbolE(i8*inreg%S)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
store i8*null,i8**%f,align 8
%T=call i8*@sml_alloc(i32 inreg 4)#0
%U=bitcast i8*%T to i32*
%V=getelementptr inbounds i8,i8*%T,i64 -4
%W=bitcast i8*%V to i32*
store i32 4,i32*%W,align 4
store i32 21,i32*%U,align 4
%X=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%X,i8*inreg%T)
unreachable
Z:
%aa=bitcast i8*%P to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%f,align 8
%ac=call i8*@sml_alloc(i32 inreg 20)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177296,i32*%ae,align 4
%af=load i8*,i8**%f,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=load i8*,i8**%g,align 8
%ai=getelementptr inbounds i8,i8*%ac,i64 8
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ac,i64 16
%al=bitcast i8*%ak to i32*
store i32 3,i32*%al,align 4
%am=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%am)
%an=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%an)
%ao=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ao)
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*%ac,i8**%c,align 8
%ap=load atomic i32,i32*@sml_check_flag unordered,align 4
%aq=icmp eq i32%ap,0
br i1%aq,label%ax,label%ar
ar:
invoke void@sml_check(i32 inreg%ap)
to label%as unwind label%dh
as:
%at=load i8*,i8**%c,align 8
%au=bitcast i8*%at to i8**
%av=getelementptr inbounds i8,i8*%at,i64 8
%aw=bitcast i8*%av to i8**
br label%ax
ax:
%ay=phi i8**[%aw,%as],[%aj,%Z]
%az=phi i8**[%au,%as],[%ag,%Z]
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**%ay,align 8
%aC=bitcast i8*%aB to i32*
%aD=load i32,i32*%aC,align 4
switch i32%aD,label%aE[
i32 0,label%bU
i32 1,label%aY
]
aE:
invoke void@sml_matchcomp_bug()
to label%aF unwind label%dh
aF:
%aG=load i8*,i8**@_SMLZ5Match,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,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@aK,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
invoke void@sml_raise(i8*inreg%aQ)#1
to label%aX unwind label%dh
aX:
unreachable
aY:
%aZ=getelementptr inbounds i8,i8*%aB,i64 8
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
%a2=getelementptr inbounds i8,i8*%a1,i64 24
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%c,align 8
%a5=bitcast i8*%aA to i32*
%a6=load i32,i32*%a5,align 4
%a7=icmp eq i32%a6,1
br i1%a7,label%bh,label%a8
a8:
store i8*null,i8**%c,align 8
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[28x i8]}>,<{[4x i8],i32,[28x i8]}>*@aJ,i64 0,i32 2,i64 0))
to label%a9 unwind label%dh
a9:
store i8*null,i8**%c,align 8
%ba=call i8*@sml_alloc(i32 inreg 4)#0
%bb=bitcast i8*%ba to i32*
%bc=getelementptr inbounds i8,i8*%ba,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 4,i32*%bd,align 4
store i32 20,i32*%bb,align 4
%be=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bf=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%be,i8*inreg%ba)
to label%bg unwind label%dh
bg:
unreachable
bh:
%bi=getelementptr inbounds i8,i8*%aA,i64 8
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
%bl=getelementptr inbounds i8,i8*%bk,i64 24
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
store i8*%bn,i8**%d,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
%br=load i8*,i8**%d,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%c,align 8
%bu=getelementptr inbounds i8,i8*%bo,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bo,i64 16
%bx=bitcast i8*%bw to i32*
store i32 3,i32*%bx,align 4
invoke fastcc void@_SMLLN12FunctorUtils6eqTfunE_586(i8*inreg%bo)
to label%bT unwind label%by
by:
%bz=landingpad{i8*,i8*}
catch i8*null
%bA=extractvalue{i8*,i8*}%bz,1
%bB=bitcast i8*%bA to i8**
%bC=load i8*,i8**%bB,align 8
store i8*%bC,i8**%e,align 8
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@aG,i64 0,i32 2,i64 0))
to label%bD unwind label%dh
bD:
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@aH,i64 0,i32 2,i64 0))
to label%bE unwind label%dh
bE:
%bF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
invoke fastcc void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg%bF)
to label%bG unwind label%dh
bG:
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@aI,i64 0,i32 2,i64 0))
to label%bH unwind label%dh
bH:
%bI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
invoke fastcc void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg%bI)
to label%bJ unwind label%dh
bJ:
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
to label%bK unwind label%dh
bK:
%bL=call i8*@sml_alloc(i32 inreg 60)#0
%bM=getelementptr inbounds i8,i8*%bL,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177336,i32*%bN,align 4
%bO=getelementptr inbounds i8,i8*%bL,i64 56
%bP=bitcast i8*%bO to i32*
store i32 1,i32*%bP,align 4
%bQ=load i8*,i8**%e,align 8
%bR=bitcast i8*%bL to i8**
store i8*%bQ,i8**%bR,align 8
invoke void@sml_raise(i8*inreg%bL)#1
to label%bS unwind label%dh
bS:
unreachable
bT:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%am)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%an)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ao)
br label%dv
bU:
%bV=getelementptr inbounds i8,i8*%aB,i64 8
%bW=bitcast i8*%bV to i8**
%bX=load i8*,i8**%bW,align 8
%bY=getelementptr inbounds i8,i8*%bX,i64 8
%bZ=bitcast i8*%bY to i8**
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%c,align 8
%b1=bitcast i8*%aA to i32*
%b2=load i32,i32*%b1,align 4
switch i32%b2,label%b3[
i32 0,label%cZ
i32 1,label%cn
]
b3:
invoke void@sml_matchcomp_bug()
to label%b4 unwind label%dh
b4:
%b5=load i8*,i8**@_SMLZ5Match,align 8
store i8*%b5,i8**%c,align 8
%b6=call i8*@sml_alloc(i32 inreg 20)#0
%b7=getelementptr inbounds i8,i8*%b6,i64 -4
%b8=bitcast i8*%b7 to i32*
store i32 1342177296,i32*%b8,align 4
store i8*%b6,i8**%d,align 8
%b9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ca=bitcast i8*%b6 to i8**
store i8*%b9,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b6,i64 8
%cc=bitcast i8*%cb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@aK,i64 0,i32 2,i64 0),i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b6,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**%d,align 8
%cl=bitcast i8*%cf to i8**
store i8*%ck,i8**%cl,align 8
invoke void@sml_raise(i8*inreg%cf)#1
to label%cm unwind label%dh
cm:
unreachable
cn:
%co=getelementptr inbounds i8,i8*%aA,i64 8
%cp=bitcast i8*%co to i8**
%cq=load i8*,i8**%cp,align 8
%cr=getelementptr inbounds i8,i8*%cq,i64 24
%cs=bitcast i8*%cr to i8**
%ct=load i8*,i8**%cs,align 8
store i8*%ct,i8**%d,align 8
%cu=call i8*@sml_alloc(i32 inreg 20)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177296,i32*%cw,align 4
%cx=load i8*,i8**%d,align 8
%cy=bitcast i8*%cu to i8**
store i8*%cx,i8**%cy,align 8
%cz=load i8*,i8**%c,align 8
%cA=getelementptr inbounds i8,i8*%cu,i64 8
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cu,i64 16
%cD=bitcast i8*%cC to i32*
store i32 3,i32*%cD,align 4
invoke fastcc void@_SMLLN12FunctorUtils6eqTfunE_586(i8*inreg%cu)
to label%bT unwind label%cE
cE:
%cF=landingpad{i8*,i8*}
catch i8*null
%cG=extractvalue{i8*,i8*}%cF,1
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
store i8*%cI,i8**%e,align 8
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@aF,i64 0,i32 2,i64 0))
to label%cJ unwind label%dh
cJ:
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@aH,i64 0,i32 2,i64 0))
to label%cK unwind label%dh
cK:
%cL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
invoke fastcc void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg%cL)
to label%cM unwind label%dh
cM:
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@aI,i64 0,i32 2,i64 0))
to label%cN unwind label%dh
cN:
%cO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
invoke fastcc void@_SMLFN13NameEvalUtils9printTfunE(i8*inreg%cO)
to label%cP unwind label%dh
cP:
invoke fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
to label%cQ unwind label%dh
cQ:
%cR=call i8*@sml_alloc(i32 inreg 60)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32 1342177336,i32*%cT,align 4
%cU=getelementptr inbounds i8,i8*%cR,i64 56
%cV=bitcast i8*%cU to i32*
store i32 1,i32*%cV,align 4
%cW=load i8*,i8**%e,align 8
%cX=bitcast i8*%cR to i8**
store i8*%cW,i8**%cX,align 8
invoke void@sml_raise(i8*inreg%cR)#1
to label%cY unwind label%dh
cY:
unreachable
cZ:
%c0=getelementptr inbounds i8,i8*%aA,i64 8
%c1=bitcast i8*%c0 to i8**
%c2=load i8*,i8**%c1,align 8
%c3=getelementptr inbounds i8,i8*%c2,i64 8
%c4=bitcast i8*%c3 to i8**
%c5=load i8*,i8**%c4,align 8
store i8*%c5,i8**%d,align 8
%c6=call i8*@sml_alloc(i32 inreg 20)#0
%c7=getelementptr inbounds i8,i8*%c6,i64 -4
%c8=bitcast i8*%c7 to i32*
store i32 1342177296,i32*%c8,align 4
%c9=load i8*,i8**%d,align 8
%da=bitcast i8*%c6 to i8**
store i8*%c9,i8**%da,align 8
%db=load i8*,i8**%c,align 8
%dc=getelementptr inbounds i8,i8*%c6,i64 8
%dd=bitcast i8*%dc to i8**
store i8*%db,i8**%dd,align 8
%de=getelementptr inbounds i8,i8*%c6,i64 16
%df=bitcast i8*%de to i32*
store i32 3,i32*%df,align 4
invoke fastcc void@_SMLLN12FunctorUtils6eqTfunE_586(i8*inreg%c6)
to label%dg unwind label%dh
dg:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%am)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%an)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ao)
br label%dv
dh:
%di=landingpad{i8*,i8*}
catch i8*null
%dj=extractvalue{i8*,i8*}%di,1
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%h,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@aL,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@aM,i64 0,i32 2,i64 0))
%dm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
call fastcc void@_SMLFN13NameEvalUtils9printTstrE(i8*inreg%dm)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@aN,i64 0,i32 2,i64 0))
%dn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
call fastcc void@_SMLFN13NameEvalUtils9printTstrE(i8*inreg%dn)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
%do=call i8*@sml_alloc(i32 inreg 60)#0
%dp=getelementptr inbounds i8,i8*%do,i64 -4
%dq=bitcast i8*%dp to i32*
store i32 1342177336,i32*%dq,align 4
%dr=getelementptr inbounds i8,i8*%do,i64 56
%ds=bitcast i8*%dr to i32*
store i32 1,i32*%ds,align 4
%dt=load i8*,i8**%h,align 8
%du=bitcast i8*%do to i8**
store i8*%dt,i8**%du,align 8
call void@sml_raise(i8*inreg%do)#1
unreachable
dv:
ret void
}
define internal fastcc void@_SMLLN12FunctorUtils6eqVarEE_638(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
q:
%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**%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**%i,align 8
store i8*%b,i8**%g,align 8
%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**%g,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%g,align 8
%t=getelementptr inbounds i8,i8*%p,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%h,align 8
%w=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%j,align 8
%C=bitcast i8**%i to i8***
%D=load i8**,i8***%C,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%i,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%g,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%Q=call fastcc i8*%z(i8*inreg%P,i8*inreg%F)
%R=icmp eq i8*%Q,null
br i1%R,label%S,label%aa
S:
store i8*null,i8**%h,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[25x i8]}>,<{[4x i8],i32,[25x i8]}>*@aS,i64 0,i32 2,i64 0))
%T=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
call fastcc void@_SMLFN13NameEvalUtils11printSymbolE(i8*inreg%T)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
store i8*null,i8**%g,align 8
%U=call i8*@sml_alloc(i32 inreg 4)#0
%V=bitcast i8*%U to i32*
%W=getelementptr inbounds i8,i8*%U,i64 -4
%X=bitcast i8*%W to i32*
store i32 4,i32*%X,align 4
store i32 32,i32*%V,align 4
%Y=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Z=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%Y,i8*inreg%U)
unreachable
aa:
%ab=bitcast i8*%Q to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%i,align 8
%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=load i8*,i8**%h,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%i,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
%an=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%an)
%ao=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ao)
%ap=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ap)
%aq=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aq)
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*%ad,i8**%c,align 8
%ar=load atomic i32,i32*@sml_check_flag unordered,align 4
%as=icmp eq i32%ar,0
br i1%as,label%az,label%at
at:
invoke void@sml_check(i32 inreg%ar)
to label%au unwind label%ja
au:
%av=load i8*,i8**%c,align 8
%aw=bitcast i8*%av to i8**
%ax=getelementptr inbounds i8,i8*%av,i64 8
%ay=bitcast i8*%ax to i8**
br label%az
az:
%aA=phi i8**[%ay,%au],[%ak,%aa]
%aB=phi i8**[%aw,%au],[%ah,%aa]
store i8*null,i8**%c,align 8
%aC=load i8*,i8**%aB,align 8
%aD=load i8*,i8**%aA,align 8
%aE=bitcast i8*%aC to i32*
%aF=load i32,i32*%aE,align 4
switch i32%aF,label%i2[
i32 6,label%iZ
i32 0,label%iy
i32 1,label%hy
i32 4,label%gy
i32 5,label%fy
i32 2,label%dK
i32 3,label%cK
i32 11,label%bK
i32 10,label%aK
i32 9,label%aG
]
aG:
%aH=bitcast i8*%aD to i32*
%aI=load i32,i32*%aH,align 4
%aJ=icmp eq i32%aI,9
br i1%aJ,label%jp,label%i2
aK:
%aL=getelementptr inbounds i8,i8*%aC,i64 8
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
%aO=getelementptr inbounds i8,i8*%aN,i64 16
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
store i8*%aQ,i8**%d,align 8
%aR=bitcast i8*%aD to i32*
%aS=load i32,i32*%aR,align 4
%aT=icmp eq i32%aS,10
br i1%aT,label%aV,label%aU
aU:
store i8*null,i8**%d,align 8
br label%i2
aV:
%aW=getelementptr inbounds i8,i8*%aD,i64 8
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
%aZ=getelementptr inbounds i8,i8*%aY,i64 16
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
store i8*%a1,i8**%e,align 8
%a2=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%a3 unwind label%ja
a3:
store i8*%a2,i8**%c,align 8
%a4=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%a4,i8**%f,align 8
%a5=call i8*@sml_alloc(i32 inreg 20)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177296,i32*%a7,align 4
%a8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a9=bitcast i8*%a5 to i8**
store i8*%a8,i8**%a9,align 8
%ba=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bb=getelementptr inbounds i8,i8*%a5,i64 8
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a5,i64 16
%be=bitcast i8*%bd to i32*
store i32 3,i32*%be,align 4
%bf=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%a5)
to label%bg unwind label%ja
bg:
%bh=getelementptr inbounds i8,i8*%bf,i64 16
%bi=bitcast i8*%bh to i8*(i8*,i8*)**
%bj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bi,align 8
%bk=bitcast i8*%bf to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%c,align 8
%bm=call i8*@sml_alloc(i32 inreg 20)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177296,i32*%bo,align 4
%bp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bs=getelementptr inbounds i8,i8*%bm,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bm,i64 16
%bv=bitcast i8*%bu to i32*
store i32 3,i32*%bv,align 4
%bw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bx=invoke fastcc i8*%bj(i8*inreg%bw,i8*inreg%bm)
to label%by unwind label%ja
by:
%bz=bitcast i8*%bx to i32*
%bA=load i32,i32*%bz,align 4
%bB=icmp eq i32%bA,0
br i1%bB,label%bC,label%jp
bC:
store i8*null,i8**%c,align 8
%bD=call i8*@sml_alloc(i32 inreg 4)#0
%bE=bitcast i8*%bD to i32*
%bF=getelementptr inbounds i8,i8*%bD,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 4,i32*%bG,align 4
store i32 23,i32*%bE,align 4
%bH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bI=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%bH,i8*inreg%bD)
to label%bJ unwind label%ja
bJ:
unreachable
bK:
%bL=getelementptr inbounds i8,i8*%aC,i64 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
%bO=getelementptr inbounds i8,i8*%bN,i64 16
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%d,align 8
%bR=bitcast i8*%aD to i32*
%bS=load i32,i32*%bR,align 4
%bT=icmp eq i32%bS,11
br i1%bT,label%bV,label%bU
bU:
store i8*null,i8**%d,align 8
br label%i2
bV:
%bW=getelementptr inbounds i8,i8*%aD,i64 8
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
%bZ=getelementptr inbounds i8,i8*%bY,i64 16
%b0=bitcast i8*%bZ to i8**
%b1=load i8*,i8**%b0,align 8
store i8*%b1,i8**%e,align 8
%b2=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%b3 unwind label%ja
b3:
store i8*%b2,i8**%c,align 8
%b4=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%b4,i8**%f,align 8
%b5=call i8*@sml_alloc(i32 inreg 20)#0
%b6=getelementptr inbounds i8,i8*%b5,i64 -4
%b7=bitcast i8*%b6 to i32*
store i32 1342177296,i32*%b7,align 4
%b8=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=getelementptr inbounds i8,i8*%b5,i64 16
%ce=bitcast i8*%cd to i32*
store i32 3,i32*%ce,align 4
%cf=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%b5)
to label%cg unwind label%ja
cg:
%ch=getelementptr inbounds i8,i8*%cf,i64 16
%ci=bitcast i8*%ch to i8*(i8*,i8*)**
%cj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ci,align 8
%ck=bitcast i8*%cf to i8**
%cl=load i8*,i8**%ck,align 8
store i8*%cl,i8**%c,align 8
%cm=call i8*@sml_alloc(i32 inreg 20)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177296,i32*%co,align 4
%cp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cs=getelementptr inbounds i8,i8*%cm,i64 8
%ct=bitcast i8*%cs to i8**
store i8*%cr,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cm,i64 16
%cv=bitcast i8*%cu to i32*
store i32 3,i32*%cv,align 4
%cw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cx=invoke fastcc i8*%cj(i8*inreg%cw,i8*inreg%cm)
to label%cy unwind label%ja
cy:
%cz=bitcast i8*%cx to i32*
%cA=load i32,i32*%cz,align 4
%cB=icmp eq i32%cA,0
br i1%cB,label%cC,label%jp
cC:
store i8*null,i8**%c,align 8
%cD=call i8*@sml_alloc(i32 inreg 4)#0
%cE=bitcast i8*%cD to i32*
%cF=getelementptr inbounds i8,i8*%cD,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 4,i32*%cG,align 4
store i32 22,i32*%cE,align 4
%cH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cI=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%cH,i8*inreg%cD)
to label%cJ unwind label%ja
cJ:
unreachable
cK:
%cL=getelementptr inbounds i8,i8*%aC,i64 8
%cM=bitcast i8*%cL to i8**
%cN=load i8*,i8**%cM,align 8
%cO=getelementptr inbounds i8,i8*%cN,i64 16
%cP=bitcast i8*%cO to i8**
%cQ=load i8*,i8**%cP,align 8
store i8*%cQ,i8**%d,align 8
%cR=bitcast i8*%aD to i32*
%cS=load i32,i32*%cR,align 4
%cT=icmp eq i32%cS,3
br i1%cT,label%cV,label%cU
cU:
store i8*null,i8**%d,align 8
br label%i2
cV:
%cW=getelementptr inbounds i8,i8*%aD,i64 8
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
%cZ=getelementptr inbounds i8,i8*%cY,i64 16
%c0=bitcast i8*%cZ to i8**
%c1=load i8*,i8**%c0,align 8
store i8*%c1,i8**%e,align 8
%c2=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%c3 unwind label%ja
c3:
store i8*%c2,i8**%c,align 8
%c4=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%c4,i8**%f,align 8
%c5=call i8*@sml_alloc(i32 inreg 20)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177296,i32*%c7,align 4
%c8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%db=getelementptr inbounds i8,i8*%c5,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64 16
%de=bitcast i8*%dd to i32*
store i32 3,i32*%de,align 4
%df=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%c5)
to label%dg unwind label%ja
dg:
%dh=getelementptr inbounds i8,i8*%df,i64 16
%di=bitcast i8*%dh to i8*(i8*,i8*)**
%dj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%di,align 8
%dk=bitcast i8*%df to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%c,align 8
%dm=call i8*@sml_alloc(i32 inreg 20)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177296,i32*%do,align 4
%dp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dq=bitcast i8*%dm to i8**
store i8*%dp,i8**%dq,align 8
%dr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ds=getelementptr inbounds i8,i8*%dm,i64 8
%dt=bitcast i8*%ds to i8**
store i8*%dr,i8**%dt,align 8
%du=getelementptr inbounds i8,i8*%dm,i64 16
%dv=bitcast i8*%du to i32*
store i32 3,i32*%dv,align 4
%dw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dx=invoke fastcc i8*%dj(i8*inreg%dw,i8*inreg%dm)
to label%dy unwind label%ja
dy:
%dz=bitcast i8*%dx to i32*
%dA=load i32,i32*%dz,align 4
%dB=icmp eq i32%dA,0
br i1%dB,label%dC,label%jp
dC:
store i8*null,i8**%c,align 8
%dD=call i8*@sml_alloc(i32 inreg 4)#0
%dE=bitcast i8*%dD to i32*
%dF=getelementptr inbounds i8,i8*%dD,i64 -4
%dG=bitcast i8*%dF to i32*
store i32 4,i32*%dG,align 4
store i32 29,i32*%dE,align 4
%dH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dI=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%dH,i8*inreg%dD)
to label%dJ unwind label%ja
dJ:
unreachable
dK:
%dL=getelementptr inbounds i8,i8*%aC,i64 8
%dM=bitcast i8*%dL to i8**
%dN=load i8*,i8**%dM,align 8
%dO=getelementptr inbounds i8,i8*%dN,i64 16
%dP=bitcast i8*%dO to i8**
%dQ=load i8*,i8**%dP,align 8
store i8*%dQ,i8**%d,align 8
%dR=bitcast i8*%aD to i32*
%dS=load i32,i32*%dR,align 4
switch i32%dS,label%dT[
i32 4,label%eJ
i32 2,label%dU
]
dT:
store i8*null,i8**%d,align 8
br label%i2
dU:
%dV=getelementptr inbounds i8,i8*%aD,i64 8
%dW=bitcast i8*%dV to i8**
%dX=load i8*,i8**%dW,align 8
%dY=getelementptr inbounds i8,i8*%dX,i64 16
%dZ=bitcast i8*%dY to i8**
%d0=load i8*,i8**%dZ,align 8
store i8*%d0,i8**%e,align 8
%d1=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%d2 unwind label%ja
d2:
store i8*%d1,i8**%c,align 8
%d3=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%d3,i8**%f,align 8
%d4=call i8*@sml_alloc(i32 inreg 20)#0
%d5=getelementptr inbounds i8,i8*%d4,i64 -4
%d6=bitcast i8*%d5 to i32*
store i32 1342177296,i32*%d6,align 4
%d7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d8=bitcast i8*%d4 to i8**
store i8*%d7,i8**%d8,align 8
%d9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ea=getelementptr inbounds i8,i8*%d4,i64 8
%eb=bitcast i8*%ea to i8**
store i8*%d9,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d4,i64 16
%ed=bitcast i8*%ec to i32*
store i32 3,i32*%ed,align 4
%ee=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%d4)
to label%ef unwind label%ja
ef:
%eg=getelementptr inbounds i8,i8*%ee,i64 16
%eh=bitcast i8*%eg to i8*(i8*,i8*)**
%ei=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eh,align 8
%ej=bitcast i8*%ee to i8**
%ek=load i8*,i8**%ej,align 8
store i8*%ek,i8**%c,align 8
%el=call i8*@sml_alloc(i32 inreg 20)#0
%em=getelementptr inbounds i8,i8*%el,i64 -4
%en=bitcast i8*%em to i32*
store i32 1342177296,i32*%en,align 4
%eo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ep=bitcast i8*%el to i8**
store i8*%eo,i8**%ep,align 8
%eq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%er=getelementptr inbounds i8,i8*%el,i64 8
%es=bitcast i8*%er to i8**
store i8*%eq,i8**%es,align 8
%et=getelementptr inbounds i8,i8*%el,i64 16
%eu=bitcast i8*%et to i32*
store i32 3,i32*%eu,align 4
%ev=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ew=invoke fastcc i8*%ei(i8*inreg%ev,i8*inreg%el)
to label%ex unwind label%ja
ex:
%ey=bitcast i8*%ew to i32*
%ez=load i32,i32*%ey,align 4
%eA=icmp eq i32%ez,0
br i1%eA,label%eB,label%jp
eB:
store i8*null,i8**%c,align 8
%eC=call i8*@sml_alloc(i32 inreg 4)#0
%eD=bitcast i8*%eC to i32*
%eE=getelementptr inbounds i8,i8*%eC,i64 -4
%eF=bitcast i8*%eE to i32*
store i32 4,i32*%eF,align 4
store i32 28,i32*%eD,align 4
%eG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eH=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%eG,i8*inreg%eC)
to label%eI unwind label%ja
eI:
unreachable
eJ:
%eK=getelementptr inbounds i8,i8*%aD,i64 8
%eL=bitcast i8*%eK to i8**
%eM=load i8*,i8**%eL,align 8
%eN=getelementptr inbounds i8,i8*%eM,i64 24
%eO=bitcast i8*%eN to i8**
%eP=load i8*,i8**%eO,align 8
store i8*%eP,i8**%e,align 8
%eQ=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%eR unwind label%ja
eR:
store i8*%eQ,i8**%c,align 8
%eS=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%eS,i8**%f,align 8
%eT=call i8*@sml_alloc(i32 inreg 20)#0
%eU=getelementptr inbounds i8,i8*%eT,i64 -4
%eV=bitcast i8*%eU to i32*
store i32 1342177296,i32*%eV,align 4
%eW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eX=bitcast i8*%eT to i8**
store i8*%eW,i8**%eX,align 8
%eY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eZ=getelementptr inbounds i8,i8*%eT,i64 8
%e0=bitcast i8*%eZ to i8**
store i8*%eY,i8**%e0,align 8
%e1=getelementptr inbounds i8,i8*%eT,i64 16
%e2=bitcast i8*%e1 to i32*
store i32 3,i32*%e2,align 4
%e3=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%eT)
to label%e4 unwind label%ja
e4:
%e5=getelementptr inbounds i8,i8*%e3,i64 16
%e6=bitcast i8*%e5 to i8*(i8*,i8*)**
%e7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e6,align 8
%e8=bitcast i8*%e3 to i8**
%e9=load i8*,i8**%e8,align 8
store i8*%e9,i8**%c,align 8
%fa=call i8*@sml_alloc(i32 inreg 20)#0
%fb=getelementptr inbounds i8,i8*%fa,i64 -4
%fc=bitcast i8*%fb to i32*
store i32 1342177296,i32*%fc,align 4
%fd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fe=bitcast i8*%fa to i8**
store i8*%fd,i8**%fe,align 8
%ff=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fg=getelementptr inbounds i8,i8*%fa,i64 8
%fh=bitcast i8*%fg to i8**
store i8*%ff,i8**%fh,align 8
%fi=getelementptr inbounds i8,i8*%fa,i64 16
%fj=bitcast i8*%fi to i32*
store i32 3,i32*%fj,align 4
%fk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fl=invoke fastcc i8*%e7(i8*inreg%fk,i8*inreg%fa)
to label%fm unwind label%ja
fm:
%fn=bitcast i8*%fl to i32*
%fo=load i32,i32*%fn,align 4
%fp=icmp eq i32%fo,0
br i1%fp,label%fq,label%jp
fq:
store i8*null,i8**%c,align 8
%fr=call i8*@sml_alloc(i32 inreg 4)#0
%fs=bitcast i8*%fr to i32*
%ft=getelementptr inbounds i8,i8*%fr,i64 -4
%fu=bitcast i8*%ft to i32*
store i32 4,i32*%fu,align 4
store i32 27,i32*%fs,align 4
%fv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fw=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%fv,i8*inreg%fr)
to label%fx unwind label%ja
fx:
unreachable
fy:
%fz=getelementptr inbounds i8,i8*%aC,i64 8
%fA=bitcast i8*%fz to i8**
%fB=load i8*,i8**%fA,align 8
%fC=getelementptr inbounds i8,i8*%fB,i64 24
%fD=bitcast i8*%fC to i8**
%fE=load i8*,i8**%fD,align 8
store i8*%fE,i8**%d,align 8
%fF=bitcast i8*%aD to i32*
%fG=load i32,i32*%fF,align 4
%fH=icmp eq i32%fG,5
br i1%fH,label%fJ,label%fI
fI:
store i8*null,i8**%d,align 8
br label%i2
fJ:
%fK=getelementptr inbounds i8,i8*%aD,i64 8
%fL=bitcast i8*%fK to i8**
%fM=load i8*,i8**%fL,align 8
%fN=getelementptr inbounds i8,i8*%fM,i64 24
%fO=bitcast i8*%fN to i8**
%fP=load i8*,i8**%fO,align 8
store i8*%fP,i8**%e,align 8
%fQ=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%fR unwind label%ja
fR:
store i8*%fQ,i8**%c,align 8
%fS=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%fS,i8**%f,align 8
%fT=call i8*@sml_alloc(i32 inreg 20)#0
%fU=getelementptr inbounds i8,i8*%fT,i64 -4
%fV=bitcast i8*%fU to i32*
store i32 1342177296,i32*%fV,align 4
%fW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fX=bitcast i8*%fT to i8**
store i8*%fW,i8**%fX,align 8
%fY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fZ=getelementptr inbounds i8,i8*%fT,i64 8
%f0=bitcast i8*%fZ to i8**
store i8*%fY,i8**%f0,align 8
%f1=getelementptr inbounds i8,i8*%fT,i64 16
%f2=bitcast i8*%f1 to i32*
store i32 3,i32*%f2,align 4
%f3=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%fT)
to label%f4 unwind label%ja
f4:
%f5=getelementptr inbounds i8,i8*%f3,i64 16
%f6=bitcast i8*%f5 to i8*(i8*,i8*)**
%f7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f6,align 8
%f8=bitcast i8*%f3 to i8**
%f9=load i8*,i8**%f8,align 8
store i8*%f9,i8**%c,align 8
%ga=call i8*@sml_alloc(i32 inreg 20)#0
%gb=getelementptr inbounds i8,i8*%ga,i64 -4
%gc=bitcast i8*%gb to i32*
store i32 1342177296,i32*%gc,align 4
%gd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ge=bitcast i8*%ga to i8**
store i8*%gd,i8**%ge,align 8
%gf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gg=getelementptr inbounds i8,i8*%ga,i64 8
%gh=bitcast i8*%gg to i8**
store i8*%gf,i8**%gh,align 8
%gi=getelementptr inbounds i8,i8*%ga,i64 16
%gj=bitcast i8*%gi to i32*
store i32 3,i32*%gj,align 4
%gk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gl=invoke fastcc i8*%f7(i8*inreg%gk,i8*inreg%ga)
to label%gm unwind label%ja
gm:
%gn=bitcast i8*%gl to i32*
%go=load i32,i32*%gn,align 4
%gp=icmp eq i32%go,0
br i1%gp,label%gq,label%jp
gq:
store i8*null,i8**%c,align 8
%gr=call i8*@sml_alloc(i32 inreg 4)#0
%gs=bitcast i8*%gr to i32*
%gt=getelementptr inbounds i8,i8*%gr,i64 -4
%gu=bitcast i8*%gt to i32*
store i32 4,i32*%gu,align 4
store i32 26,i32*%gs,align 4
%gv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gw=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%gv,i8*inreg%gr)
to label%gx unwind label%ja
gx:
unreachable
gy:
%gz=getelementptr inbounds i8,i8*%aC,i64 8
%gA=bitcast i8*%gz to i8**
%gB=load i8*,i8**%gA,align 8
%gC=getelementptr inbounds i8,i8*%gB,i64 24
%gD=bitcast i8*%gC to i8**
%gE=load i8*,i8**%gD,align 8
store i8*%gE,i8**%d,align 8
%gF=bitcast i8*%aD to i32*
%gG=load i32,i32*%gF,align 4
%gH=icmp eq i32%gG,4
br i1%gH,label%gJ,label%gI
gI:
store i8*null,i8**%d,align 8
br label%i2
gJ:
%gK=getelementptr inbounds i8,i8*%aD,i64 8
%gL=bitcast i8*%gK to i8**
%gM=load i8*,i8**%gL,align 8
%gN=getelementptr inbounds i8,i8*%gM,i64 24
%gO=bitcast i8*%gN to i8**
%gP=load i8*,i8**%gO,align 8
store i8*%gP,i8**%e,align 8
%gQ=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%gR unwind label%ja
gR:
store i8*%gQ,i8**%c,align 8
%gS=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%gS,i8**%f,align 8
%gT=call i8*@sml_alloc(i32 inreg 20)#0
%gU=getelementptr inbounds i8,i8*%gT,i64 -4
%gV=bitcast i8*%gU to i32*
store i32 1342177296,i32*%gV,align 4
%gW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gX=bitcast i8*%gT to i8**
store i8*%gW,i8**%gX,align 8
%gY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gZ=getelementptr inbounds i8,i8*%gT,i64 8
%g0=bitcast i8*%gZ to i8**
store i8*%gY,i8**%g0,align 8
%g1=getelementptr inbounds i8,i8*%gT,i64 16
%g2=bitcast i8*%g1 to i32*
store i32 3,i32*%g2,align 4
%g3=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%gT)
to label%g4 unwind label%ja
g4:
%g5=getelementptr inbounds i8,i8*%g3,i64 16
%g6=bitcast i8*%g5 to i8*(i8*,i8*)**
%g7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g6,align 8
%g8=bitcast i8*%g3 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=getelementptr inbounds i8,i8*%ha,i64 -4
%hc=bitcast i8*%hb to i32*
store i32 1342177296,i32*%hc,align 4
%hd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%he=bitcast i8*%ha to i8**
store i8*%hd,i8**%he,align 8
%hf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hg=getelementptr inbounds i8,i8*%ha,i64 8
%hh=bitcast i8*%hg to i8**
store i8*%hf,i8**%hh,align 8
%hi=getelementptr inbounds i8,i8*%ha,i64 16
%hj=bitcast i8*%hi to i32*
store i32 3,i32*%hj,align 4
%hk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hl=invoke fastcc i8*%g7(i8*inreg%hk,i8*inreg%ha)
to label%hm unwind label%ja
hm:
%hn=bitcast i8*%hl to i32*
%ho=load i32,i32*%hn,align 4
%hp=icmp eq i32%ho,0
br i1%hp,label%hq,label%jp
hq:
store i8*null,i8**%c,align 8
%hr=call i8*@sml_alloc(i32 inreg 4)#0
%hs=bitcast i8*%hr to i32*
%ht=getelementptr inbounds i8,i8*%hr,i64 -4
%hu=bitcast i8*%ht to i32*
store i32 4,i32*%hu,align 4
store i32 25,i32*%hs,align 4
%hv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hw=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%hv,i8*inreg%hr)
to label%hx unwind label%ja
hx:
unreachable
hy:
%hz=getelementptr inbounds i8,i8*%aC,i64 8
%hA=bitcast i8*%hz to i8**
%hB=load i8*,i8**%hA,align 8
%hC=getelementptr inbounds i8,i8*%hB,i64 24
%hD=bitcast i8*%hC to i8**
%hE=load i8*,i8**%hD,align 8
store i8*%hE,i8**%d,align 8
%hF=bitcast i8*%aD to i32*
%hG=load i32,i32*%hF,align 4
%hH=icmp eq i32%hG,1
br i1%hH,label%hJ,label%hI
hI:
store i8*null,i8**%d,align 8
br label%i2
hJ:
%hK=getelementptr inbounds i8,i8*%aD,i64 8
%hL=bitcast i8*%hK to i8**
%hM=load i8*,i8**%hL,align 8
%hN=getelementptr inbounds i8,i8*%hM,i64 24
%hO=bitcast i8*%hN to i8**
%hP=load i8*,i8**%hO,align 8
store i8*%hP,i8**%e,align 8
%hQ=invoke fastcc i8*@_SMLFN6TvarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%hR unwind label%ja
hR:
store i8*%hQ,i8**%c,align 8
%hS=load i8*,i8**@_SMLZN11NormalizeTy15emptyTypIdEquivE,align 8
store i8*%hS,i8**%f,align 8
%hT=call i8*@sml_alloc(i32 inreg 20)#0
%hU=getelementptr inbounds i8,i8*%hT,i64 -4
%hV=bitcast i8*%hU to i32*
store i32 1342177296,i32*%hV,align 4
%hW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hX=bitcast i8*%hT to i8**
store i8*%hW,i8**%hX,align 8
%hY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hZ=getelementptr inbounds i8,i8*%hT,i64 8
%h0=bitcast i8*%hZ to i8**
store i8*%hY,i8**%h0,align 8
%h1=getelementptr inbounds i8,i8*%hT,i64 16
%h2=bitcast i8*%h1 to i32*
store i32 3,i32*%h2,align 4
%h3=invoke fastcc i8*@_SMLFN11NormalizeTy7equalTyE(i8*inreg%hT)
to label%h4 unwind label%ja
h4:
%h5=getelementptr inbounds i8,i8*%h3,i64 16
%h6=bitcast i8*%h5 to i8*(i8*,i8*)**
%h7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h6,align 8
%h8=bitcast i8*%h3 to i8**
%h9=load i8*,i8**%h8,align 8
store i8*%h9,i8**%c,align 8
%ia=call i8*@sml_alloc(i32 inreg 20)#0
%ib=getelementptr inbounds i8,i8*%ia,i64 -4
%ic=bitcast i8*%ib to i32*
store i32 1342177296,i32*%ic,align 4
%id=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ie=bitcast i8*%ia to i8**
store i8*%id,i8**%ie,align 8
%if=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ig=getelementptr inbounds i8,i8*%ia,i64 8
%ih=bitcast i8*%ig to i8**
store i8*%if,i8**%ih,align 8
%ii=getelementptr inbounds i8,i8*%ia,i64 16
%ij=bitcast i8*%ii to i32*
store i32 3,i32*%ij,align 4
%ik=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%il=invoke fastcc i8*%h7(i8*inreg%ik,i8*inreg%ia)
to label%im unwind label%ja
im:
%in=bitcast i8*%il to i32*
%io=load i32,i32*%in,align 4
%ip=icmp eq i32%io,0
br i1%ip,label%iq,label%jp
iq:
store i8*null,i8**%c,align 8
%ir=call i8*@sml_alloc(i32 inreg 4)#0
%is=bitcast i8*%ir to i32*
%it=getelementptr inbounds i8,i8*%ir,i64 -4
%iu=bitcast i8*%it to i32*
store i32 4,i32*%iu,align 4
store i32 24,i32*%is,align 4
%iv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iw=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%iv,i8*inreg%ir)
to label%ix unwind label%ja
ix:
unreachable
iy:
%iz=bitcast i8*%aD to i32*
%iA=load i32,i32*%iz,align 4
%iB=icmp eq i32%iA,0
br i1%iB,label%iC,label%i2
iC:
%iD=getelementptr inbounds i8,i8*%aC,i64 8
%iE=bitcast i8*%iD to i8**
%iF=load i8*,i8**%iE,align 8
%iG=getelementptr inbounds i8,i8*%iF,i64 8
%iH=bitcast i8*%iG to i8**
%iI=load i8*,i8**%iH,align 8
%iJ=getelementptr inbounds i8,i8*%aD,i64 8
%iK=bitcast i8*%iJ to i8**
%iL=load i8*,i8**%iK,align 8
%iM=getelementptr inbounds i8,i8*%iL,i64 8
%iN=bitcast i8*%iM to i8**
%iO=load i8*,i8**%iN,align 8
%iP=call i32@sml_obj_equal(i8*inreg%iI,i8*inreg%iO)#0
%iQ=icmp eq i32%iP,0
br i1%iQ,label%iR,label%jp
iR:
store i8*null,i8**%c,align 8
%iS=call i8*@sml_alloc(i32 inreg 4)#0
%iT=bitcast i8*%iS to i32*
%iU=getelementptr inbounds i8,i8*%iS,i64 -4
%iV=bitcast i8*%iU to i32*
store i32 4,i32*%iV,align 4
store i32 30,i32*%iT,align 4
%iW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iX=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%iW,i8*inreg%iS)
to label%iY unwind label%ja
iY:
unreachable
iZ:
%i0=bitcast i8*%aD to i32*
%i1=load i32,i32*%i0,align 4
switch i32%i1,label%i2[
i32 12,label%jp
i32 13,label%jp
i32 6,label%jp
]
i2:
store i8*null,i8**%c,align 8
%i3=call i8*@sml_alloc(i32 inreg 4)#0
%i4=bitcast i8*%i3 to i32*
%i5=getelementptr inbounds i8,i8*%i3,i64 -4
%i6=bitcast i8*%i5 to i32*
store i32 4,i32*%i6,align 4
store i32 31,i32*%i4,align 4
%i7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%i8=invoke fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%i7,i8*inreg%i3)
to label%i9 unwind label%ja
i9:
unreachable
ja:
%jb=landingpad{i8*,i8*}
catch i8*null
%jc=extractvalue{i8*,i8*}%jb,1
%jd=bitcast i8*%jc to i8**
%je=load i8*,i8**%jd,align 8
store i8*%je,i8**%j,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[24x i8]}>,<{[4x i8],i32,[24x i8]}>*@aP,i64 0,i32 2,i64 0))
%jf=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
call fastcc void@_SMLFN13NameEvalUtils11printSymbolE(i8*inreg%jf)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@aQ,i64 0,i32 2,i64 0))
%jg=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
call fastcc void@_SMLFN13NameEvalUtils13printIdstatusE(i8*inreg%jg)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@aR,i64 0,i32 2,i64 0))
%jh=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
call fastcc void@_SMLFN13NameEvalUtils13printIdstatusE(i8*inreg%jh)
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0))
%ji=call i8*@sml_alloc(i32 inreg 60)#0
%jj=getelementptr inbounds i8,i8*%ji,i64 -4
%jk=bitcast i8*%jj to i32*
store i32 1342177336,i32*%jk,align 4
%jl=getelementptr inbounds i8,i8*%ji,i64 56
%jm=bitcast i8*%jl to i32*
store i32 1,i32*%jm,align 4
%jn=load i8*,i8**%j,align 8
%jo=bitcast i8*%ji to i8**
store i8*%jn,i8**%jo,align 8
call void@sml_raise(i8*inreg%ji)#1
unreachable
jp:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%an)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ao)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ap)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aq)
ret void
}
define internal fastcc void@_SMLL6eqStrE_652(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]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%A,i8**%f,align 8
%B=bitcast i8**%e to i8***
%C=load i8**,i8***%B,align 8
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%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
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%P=call fastcc i8*%y(i8*inreg%O,i8*inreg%E)
%Q=icmp eq i8*%P,null
br i1%Q,label%R,label%Y
R:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 4)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 4,i32*%V,align 4
store i32 36,i32*%T,align 4
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%W,i8*inreg%S)
unreachable
Y:
%Z=bitcast i8*%P to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%c,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
call fastcc void@_SMLL6eqEnv_G_641(i8*inreg%ae)
ret void
}
define internal fastcc void@_SMLL6eqEnv_G_641(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
z:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
call void@llvm.gcroot(i8**%s,i8*null)#0
store i8*%a,i8**%n,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**%n,align 8
br label%x
x:
%y=phi i8*[%w,%v],[%a,%z]
%A=bitcast i8*%y to i8**
%B=load i8*,i8**%A,align 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%n,align 8
%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**%o,align 8
%H=getelementptr inbounds i8,i8*%B,i64 16
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%p,align 8
%K=getelementptr inbounds i8,i8*%y,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%q,align 8
%P=getelementptr inbounds i8,i8*%M,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%r,align 8
%S=getelementptr inbounds i8,i8*%M,i64 16
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%s,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
%Y=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%af=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%af)
%ag=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ag)
%ah=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ah)
%ai=bitcast i8**%m to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ai)
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%V,i8**%j,align 8
%aj=load atomic i32,i32*@sml_check_flag unordered,align 4
%ak=icmp eq i32%aj,0
br i1%ak,label%aq,label%al
al:
invoke void@sml_check(i32 inreg%aj)
to label%am unwind label%a4
am:
%an=bitcast i8**%j to i8***
%ao=load i8**,i8***%an,align 8
%ap=load i8*,i8**%ao,align 8
br label%aq
aq:
%ar=phi i8*[%ap,%am],[%Y,%x]
store i8*%ar,i8**%k,align 8
%as=invoke fastcc i8*@_SMLFN9SymbolEnv4appiE(i32 inreg 1,i32 inreg 8)
to label%at unwind label%a4
at:
%au=getelementptr inbounds i8,i8*%as,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%as to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%l,align 8
%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**%m,align 8
%aC=load i8*,i8**%k,align 8
store i8*null,i8**%k,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 i32*
store i32 1,i32*%aF,align 4
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
%aJ=load i8*,i8**%m,align 8
store i8*null,i8**%m,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN12FunctorUtils5eqTyEE_625 to void(...)*),void(...)**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 16
%aO=bitcast i8*%aN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils5eqTyEE_730 to void(...)*),void(...)**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 24
%aQ=bitcast i8*%aP to i32*
store i32 -2147483647,i32*%aQ,align 4
%aR=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aS=invoke fastcc i8*%aw(i8*inreg%aR,i8*inreg%aG)
to label%aT unwind label%a4
aT:
%aU=getelementptr inbounds i8,i8*%aS,i64 16
%aV=bitcast i8*%aU to i8*(i8*,i8*)**
%aW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aV,align 8
%aX=bitcast i8*%aS to i8**
%aY=load i8*,i8**%aX,align 8
%aZ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%a0=getelementptr inbounds i8,i8*%aZ,i64 8
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
%a3=invoke fastcc i8*%aW(i8*inreg%aY,i8*inreg%a2)
to label%br unwind label%a4
a4:
%a5=landingpad{i8*,i8*}
catch i8*null
%a6=extractvalue{i8*,i8*}%a5,1
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%o,align 8
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
%bb=icmp eq i8*%ba,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL544,i64 0,i32 2)to i8*)
br i1%bb,label%bc,label%bj
bc:
store i8*null,i8**%o,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@aU,i64 0,i32 2,i64 0))
store i8*null,i8**%o,align 8
%bd=call i8*@sml_alloc(i32 inreg 4)#0
%be=bitcast i8*%bd to i32*
%bf=getelementptr inbounds i8,i8*%bd,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 4,i32*%bg,align 4
store i32 33,i32*%be,align 4
%bh=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%bi=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%bh,i8*inreg%bd)
unreachable
bj:
store i8*null,i8**%n,align 8
store i8*null,i8**%p,align 8
store i8*null,i8**%q,align 8
store i8*null,i8**%s,align 8
%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**%o,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:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%af)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ag)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ah)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ai)
%bs=call i8*@sml_alloc(i32 inreg 20)#0
%bt=getelementptr inbounds i8,i8*%bs,i64 -4
%bu=bitcast i8*%bt to i32*
store i32 1342177296,i32*%bu,align 4
%bv=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%bw=bitcast i8*%bs to i8**
store i8*%bv,i8**%bw,align 8
%bx=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%by=getelementptr inbounds i8,i8*%bs,i64 8
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bs,i64 16
%bB=bitcast i8*%bA to i32*
store i32 3,i32*%bB,align 4
%bC=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bC)
%bD=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bD)
%bE=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bE)
%bF=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bF)
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
store i8*%bs,i8**%f,align 8
%bG=load atomic i32,i32*@sml_check_flag unordered,align 4
%bH=icmp eq i32%bG,0
br i1%bH,label%bN,label%bI
bI:
invoke void@sml_check(i32 inreg%bG)
to label%bJ unwind label%cr
bJ:
%bK=bitcast i8**%f to i8***
%bL=load i8**,i8***%bK,align 8
%bM=load i8*,i8**%bL,align 8
br label%bN
bN:
%bO=phi i8*[%bM,%bJ],[%bv,%br]
store i8*%bO,i8**%g,align 8
%bP=invoke fastcc i8*@_SMLFN9SymbolEnv4appiE(i32 inreg 1,i32 inreg 8)
to label%bQ unwind label%cr
bQ:
%bR=getelementptr inbounds i8,i8*%bP,i64 16
%bS=bitcast i8*%bR to i8*(i8*,i8*)**
%bT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bS,align 8
%bU=bitcast i8*%bP to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%h,align 8
%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
store i8*%bW,i8**%i,align 8
%bZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,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
%b3=call i8*@sml_alloc(i32 inreg 28)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177304,i32*%b5,align 4
%b6=load i8*,i8**%i,align 8
store i8*null,i8**%i,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN12FunctorUtils6eqVarEE_638 to void(...)*),void(...)**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 16
%cb=bitcast i8*%ca to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils6eqVarEE_733 to void(...)*),void(...)**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 24
%cd=bitcast i8*%cc to i32*
store i32 -2147483647,i32*%cd,align 4
%ce=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cf=invoke fastcc i8*%bT(i8*inreg%ce,i8*inreg%b3)
to label%cg unwind label%cr
cg:
%ch=getelementptr inbounds i8,i8*%cf,i64 16
%ci=bitcast i8*%ch to i8*(i8*,i8*)**
%cj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ci,align 8
%ck=bitcast i8*%cf to i8**
%cl=load i8*,i8**%ck,align 8
%cm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cn=getelementptr inbounds i8,i8*%cm,i64 8
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,align 8
%cq=invoke fastcc i8*%cj(i8*inreg%cl,i8*inreg%cp)
to label%cO unwind label%cr
cr:
%cs=landingpad{i8*,i8*}
catch i8*null
%ct=extractvalue{i8*,i8*}%cs,1
%cu=bitcast i8*%ct to i8**
%cv=load i8*,i8**%cu,align 8
store i8*%cv,i8**%o,align 8
%cw=bitcast i8*%cv to i8**
%cx=load i8*,i8**%cw,align 8
%cy=icmp eq i8*%cx,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL544,i64 0,i32 2)to i8*)
br i1%cy,label%cz,label%cG
cz:
store i8*null,i8**%o,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@aV,i64 0,i32 2,i64 0))
store i8*null,i8**%o,align 8
%cA=call i8*@sml_alloc(i32 inreg 4)#0
%cB=bitcast i8*%cA to i32*
%cC=getelementptr inbounds i8,i8*%cA,i64 -4
%cD=bitcast i8*%cC to i32*
store i32 4,i32*%cD,align 4
store i32 34,i32*%cB,align 4
%cE=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%cF=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%cE,i8*inreg%cA)
unreachable
cG:
store i8*null,i8**%n,align 8
store i8*null,i8**%q,align 8
%cH=call i8*@sml_alloc(i32 inreg 60)#0
%cI=getelementptr inbounds i8,i8*%cH,i64 -4
%cJ=bitcast i8*%cI to i32*
store i32 1342177336,i32*%cJ,align 4
%cK=getelementptr inbounds i8,i8*%cH,i64 56
%cL=bitcast i8*%cK to i32*
store i32 1,i32*%cL,align 4
%cM=load i8*,i8**%o,align 8
%cN=bitcast i8*%cH to i8**
store i8*%cM,i8**%cN,align 8
call void@sml_raise(i8*inreg%cH)#1
unreachable
cO:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bF)
%cP=call i8*@sml_alloc(i32 inreg 20)#0
%cQ=getelementptr inbounds i8,i8*%cP,i64 -4
%cR=bitcast i8*%cQ to i32*
store i32 1342177296,i32*%cR,align 4
%cS=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%cT=bitcast i8*%cP to i8**
store i8*%cS,i8**%cT,align 8
%cU=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%cV=getelementptr inbounds i8,i8*%cP,i64 8
%cW=bitcast i8*%cV to i8**
store i8*%cU,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cP,i64 16
%cY=bitcast i8*%cX to i32*
store i32 3,i32*%cY,align 4
%cZ=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cZ)
%c0=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%c0)
%c1=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%c1)
%c2=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%c2)
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
store i8*%cP,i8**%b,align 8
%c3=load atomic i32,i32*@sml_check_flag unordered,align 4
%c4=icmp eq i32%c3,0
br i1%c4,label%dc,label%c5
c5:
invoke void@sml_check(i32 inreg%c3)
to label%c6 unwind label%dP
c6:
%c7=load i8*,i8**%b,align 8
%c8=getelementptr inbounds i8,i8*%c7,i64 8
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
%db=bitcast i8*%c7 to i8**
br label%dc
dc:
%dd=phi i8**[%db,%c6],[%cT,%cO]
%de=phi i8*[%da,%c6],[%cU,%cO]
store i8*null,i8**%b,align 8
%df=load i8*,i8**%dd,align 8
store i8*%df,i8**%c,align 8
store i8*%de,i8**%d,align 8
%dg=invoke fastcc i8*@_SMLFN9SymbolEnv4appiE(i32 inreg 1,i32 inreg 8)
to label%dh unwind label%dP
dh:
%di=getelementptr inbounds i8,i8*%dg,i64 16
%dj=bitcast i8*%di to i8*(i8*,i8*)**
%dk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dj,align 8
%dl=bitcast i8*%dg to i8**
%dm=load i8*,i8**%dl,align 8
store i8*%dm,i8**%b,align 8
%dn=call i8*@sml_alloc(i32 inreg 12)#0
%do=getelementptr inbounds i8,i8*%dn,i64 -4
%dp=bitcast i8*%do to i32*
store i32 1342177288,i32*%dp,align 4
store i8*%dn,i8**%e,align 8
%dq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dr=bitcast i8*%dn to i8**
store i8*%dq,i8**%dr,align 8
%ds=getelementptr inbounds i8,i8*%dn,i64 8
%dt=bitcast i8*%ds to i32*
store i32 1,i32*%dt,align 4
%du=call i8*@sml_alloc(i32 inreg 28)#0
%dv=getelementptr inbounds i8,i8*%du,i64 -4
%dw=bitcast i8*%dv to i32*
store i32 1342177304,i32*%dw,align 4
%dx=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dy=bitcast i8*%du to i8**
store i8*%dx,i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%du,i64 8
%dA=bitcast i8*%dz to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLL6eqStrE_652 to void(...)*),void(...)**%dA,align 8
%dB=getelementptr inbounds i8,i8*%du,i64 16
%dC=bitcast i8*%dB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6eqStrE_735 to void(...)*),void(...)**%dC,align 8
%dD=getelementptr inbounds i8,i8*%du,i64 24
%dE=bitcast i8*%dD to i32*
store i32 -2147483647,i32*%dE,align 4
%dF=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dG=invoke fastcc i8*%dk(i8*inreg%dF,i8*inreg%du)
to label%dH unwind label%dP
dH:
%dI=getelementptr inbounds i8,i8*%dG,i64 16
%dJ=bitcast i8*%dI to i8*(i8*,i8*)**
%dK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dJ,align 8
%dL=bitcast i8*%dG to i8**
%dM=load i8*,i8**%dL,align 8
%dN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dO=invoke fastcc i8*%dK(i8*inreg%dM,i8*inreg%dN)
to label%ec unwind label%dP
dP:
%dQ=landingpad{i8*,i8*}
catch i8*null
%dR=extractvalue{i8*,i8*}%dQ,1
%dS=bitcast i8*%dR to i8**
%dT=load i8*,i8**%dS,align 8
store i8*%dT,i8**%n,align 8
%dU=bitcast i8*%dT to i8**
%dV=load i8*,i8**%dU,align 8
%dW=icmp eq i8*%dV,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL544,i64 0,i32 2)to i8*)
br i1%dW,label%dX,label%d4
dX:
store i8*null,i8**%n,align 8
call fastcc void@_SMLFN13NameEvalUtils5printE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@aW,i64 0,i32 2,i64 0))
store i8*null,i8**%n,align 8
%dY=call i8*@sml_alloc(i32 inreg 4)#0
%dZ=bitcast i8*%dY to i32*
%d0=getelementptr inbounds i8,i8*%dY,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 4,i32*%d1,align 4
store i32 35,i32*%dZ,align 4
%d2=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%d3=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%d2,i8*inreg%dY)
unreachable
d4:
%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**%n,align 8
%eb=bitcast i8*%d5 to i8**
store i8*%ea,i8**%eb,align 8
call void@sml_raise(i8*inreg%d5)#1
unreachable
ec:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cZ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%c0)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%c1)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%c2)
ret void
}
define fastcc i32@_SMLFN12FunctorUtils5eqEnvE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
invoke fastcc void@_SMLLN12FunctorUtils8visitEnvE_558(i8*inreg%p)
to label%z unwind label%K
z:
%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
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=getelementptr inbounds i8,i8*%A,i64 8
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%A,i64 16
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
invoke fastcc void@_SMLL6eqEnv_G_641(i8*inreg%A)
to label%S unwind label%K
K:
%L=landingpad{i8*,i8*}
catch i8*null
%M=extractvalue{i8*,i8*}%L,1
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*null,i8**%c,align 8
store i8*%O,i8**%b,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=icmp eq i8*%Q,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL544,i64 0,i32 2)to i8*)
br i1%R,label%S,label%U
S:
%T=phi i32[0,%K],[1,%z]
ret i32%T
U:
%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**%b,align 8
%ab=bitcast i8*%V to i8**
store i8*%aa,i8**%ab,align 8
call void@sml_raise(i8*inreg%V)#1
unreachable
}
define internal fastcc void@_SMLLN12FunctorUtils6eqSizeE_662(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]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%A,i8**%f,align 8
%B=bitcast i8**%e to i8***
%C=load i8**,i8***%B,align 8
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%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
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%P=call fastcc i8*%y(i8*inreg%O,i8*inreg%E)
%Q=icmp eq i8*%P,null
br i1%Q,label%R,label%Y
R:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 4)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 4,i32*%V,align 4
store i32 38,i32*%T,align 4
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%W,i8*inreg%S)
unreachable
Y:
%Z=bitcast i8*%P to i8**
%aa=load i8*,i8**%Z,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%c,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=call fastcc i32@_SMLLN12FunctorUtils6eqSizeE_655(i8*inreg%ae)
%ap=icmp eq i32%ao,0
br i1%ap,label%ar,label%aq
aq:
ret void
ar:
%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=bitcast i8*%as to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aZ,i64 0,i32 2)to i8*),i8**%ax,align 8
call void@sml_raise(i8*inreg%as)#1
unreachable
}
define internal fastcc i32@_SMLLN12FunctorUtils6eqSizeE_655(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=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
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,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**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%b,align 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=invoke fastcc i8*@_SMLFN9SymbolEnv8numItemsE(i32 inreg 1,i32 inreg 8)
to label%w unwind label%bH
w:
%x=getelementptr inbounds i8,i8*%v,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%v to i8**
%B=load i8*,i8**%A,align 8
%C=load i8*,i8**%b,align 8
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=invoke fastcc i8*%z(i8*inreg%B,i8*inreg%F)
to label%H unwind label%bH
H:
%I=bitcast i8*%G to i32*
%J=load i32,i32*%I,align 4
%K=invoke fastcc i8*@_SMLFN9SymbolEnv8numItemsE(i32 inreg 1,i32 inreg 8)
to label%L unwind label%bH
L:
%M=getelementptr inbounds i8,i8*%K,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%K to i8**
%Q=load i8*,i8**%P,align 8
%R=load i8*,i8**%d,align 8
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=invoke fastcc i8*%O(i8*inreg%Q,i8*inreg%U)
to label%W unwind label%bH
W:
%X=bitcast i8*%V to i32*
%Y=load i32,i32*%X,align 4
%Z=icmp eq i32%J,%Y
br i1%Z,label%aa,label%aG
aa:
%ab=invoke fastcc i8*@_SMLFN9SymbolEnv8numItemsE(i32 inreg 1,i32 inreg 8)
to label%ac unwind label%bH
ac:
%ad=getelementptr inbounds i8,i8*%ab,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ab to i8**
%ah=load i8*,i8**%ag,align 8
%ai=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aj=getelementptr inbounds i8,i8*%ai,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=invoke fastcc i8*%af(i8*inreg%ah,i8*inreg%al)
to label%an unwind label%bH
an:
%ao=bitcast i8*%am to i32*
%ap=load i32,i32*%ao,align 4
%aq=invoke fastcc i8*@_SMLFN9SymbolEnv8numItemsE(i32 inreg 1,i32 inreg 8)
to label%ar unwind label%bH
ar:
%as=getelementptr inbounds i8,i8*%aq,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%aq to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=invoke fastcc i8*%au(i8*inreg%aw,i8*inreg%aA)
to label%aC unwind label%bH
aC:
%aD=bitcast i8*%aB to i32*
%aE=load i32,i32*%aD,align 4
%aF=icmp eq i32%ap,%aE
br i1%aF,label%aH,label%bP
aG:
store i8*null,i8**%b,align 8
store i8*null,i8**%d,align 8
br label%bP
aH:
%aI=invoke fastcc i8*@_SMLFN9SymbolEnv8numItemsE(i32 inreg 1,i32 inreg 8)
to label%aJ unwind label%bH
aJ:
%aK=getelementptr inbounds i8,i8*%aI,i64 16
%aL=bitcast i8*%aK to i8*(i8*,i8*)**
%aM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aL,align 8
%aN=bitcast i8*%aI to i8**
%aO=load i8*,i8**%aN,align 8
%aP=load i8*,i8**%c,align 8
%aQ=invoke fastcc i8*%aM(i8*inreg%aO,i8*inreg%aP)
to label%aR unwind label%bH
aR:
%aS=bitcast i8*%aQ to i32*
%aT=load i32,i32*%aS,align 4
%aU=invoke fastcc i8*@_SMLFN9SymbolEnv8numItemsE(i32 inreg 1,i32 inreg 8)
to label%aV unwind label%bH
aV:
%aW=getelementptr inbounds i8,i8*%aU,i64 16
%aX=bitcast i8*%aW to i8*(i8*,i8*)**
%aY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aX,align 8
%aZ=bitcast i8*%aU to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=load i8*,i8**%e,align 8
%a2=invoke fastcc i8*%aY(i8*inreg%a0,i8*inreg%a1)
to label%a3 unwind label%bH
a3:
%a4=bitcast i8*%a2 to i32*
%a5=load i32,i32*%a4,align 4
%a6=icmp eq i32%aT,%a5
br i1%a6,label%a7,label%bP
a7:
%a8=invoke fastcc i8*@_SMLFN9SymbolEnv4appiE(i32 inreg 1,i32 inreg 8)
to label%a9 unwind label%bH
a9:
%ba=getelementptr inbounds i8,i8*%a8,i64 16
%bb=bitcast i8*%ba to i8*(i8*,i8*)**
%bc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bb,align 8
%bd=bitcast i8*%a8 to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%b,align 8
%bf=call i8*@sml_alloc(i32 inreg 12)#0
%bg=getelementptr inbounds i8,i8*%bf,i64 -4
%bh=bitcast i8*%bg to i32*
store i32 1342177288,i32*%bh,align 4
store i8*%bf,i8**%d,align 8
%bi=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i32*
store i32 1,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
%bp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bm,i64 8
%bs=bitcast i8*%br to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN12FunctorUtils6eqSizeE_662 to void(...)*),void(...)**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bm,i64 16
%bu=bitcast i8*%bt to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils6eqSizeE_739 to void(...)*),void(...)**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bm,i64 24
%bw=bitcast i8*%bv to i32*
store i32 -2147483647,i32*%bw,align 4
%bx=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%by=invoke fastcc i8*%bc(i8*inreg%bx,i8*inreg%bm)
to label%bz unwind label%bH
bz:
%bA=getelementptr inbounds i8,i8*%by,i64 16
%bB=bitcast i8*%bA to i8*(i8*,i8*)**
%bC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bB,align 8
%bD=bitcast i8*%by to i8**
%bE=load i8*,i8**%bD,align 8
%bF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bG=invoke fastcc i8*%bC(i8*inreg%bE,i8*inreg%bF)
to label%bP unwind label%bH
bH:
%bI=landingpad{i8*,i8*}
catch i8*null
%bJ=extractvalue{i8*,i8*}%bI,1
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*%bL,i8**%b,align 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
%bO=icmp eq i8*%bN,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL544,i64 0,i32 2)to i8*)
br i1%bO,label%bP,label%bR
bP:
%bQ=phi i32[0,%bH],[0,%a3],[0,%aG],[1,%bz],[0,%aC]
ret i32%bQ
bR:
%bS=call i8*@sml_alloc(i32 inreg 60)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177336,i32*%bU,align 4
%bV=getelementptr inbounds i8,i8*%bS,i64 56
%bW=bitcast i8*%bV to i32*
store i32 1,i32*%bW,align 4
%bX=load i8*,i8**%b,align 8
%bY=bitcast i8*%bS to i8**
store i8*%bX,i8**%bY,align 8
call void@sml_raise(i8*inreg%bS)#1
unreachable
}
define internal fastcc i8*@_SMLLN12FunctorUtils8setEquivE_663(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=bitcast i8*%j to i8**
%m=bitcast i8*%j to i8***
%n=load i8**,i8***%m,align 8
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=load i8*,i8**%l,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%j,i64 8
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=getelementptr inbounds i8,i8*%j,i64 12
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=call fastcc i8*@_SMLFN5TypID3Map4findE(i32 inreg 0,i32 inreg 4)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%d,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 12
%J=bitcast i8*%I to i32*
store i32 0,i32*%J,align 1
%K=load i8*,i8**%b,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 8
%N=bitcast i8*%M to i32*
store i32%v,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%F,i64 16
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%R=call fastcc i8*%C(i8*inreg%Q,i8*inreg%F)
%S=icmp eq i8*%R,null
br i1%S,label%T,label%an
T:
%U=call fastcc i8*@_SMLFN5TypID3Map6insertE(i32 inreg 0,i32 inreg 4)
%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
store i8*%Z,i8**%d,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%aa,i64 8
%ag=bitcast i8*%af to i32*
store i32%v,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%aa,i64 12
%ai=bitcast i8*%ah to i32*
store i32%y,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%aa,i64 16
%ak=bitcast i8*%aj to i32*
store i32 1,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=call fastcc i8*%X(i8*inreg%al,i8*inreg%aa)
br label%aJ
an:
%ao=bitcast i8*%R to i32*
%ap=load i32,i32*%ao,align 4
%aq=call i8*@sml_alloc(i32 inreg 12)#0
%ar=bitcast i8*%aq to i32*
%as=getelementptr inbounds i8,i8*%aq,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177288,i32*%at,align 4
store i32%y,i32*%ar,align 4
%au=getelementptr inbounds i8,i8*%aq,i64 4
%av=bitcast i8*%au to i32*
store i32%ap,i32*%av,align 4
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i32*
store i32 0,i32*%ax,align 4
%ay=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%aq)
%az=icmp eq i32%ay,0
br i1%az,label%aC,label%aA
aA:
%aB=load i8*,i8**%b,align 8
br label%aJ
aC:
store i8*null,i8**%b,align 8
%aD=call i8*@sml_alloc(i32 inreg 4)#0
%aE=bitcast i8*%aD to i32*
%aF=getelementptr inbounds i8,i8*%aD,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 4,i32*%aG,align 4
store i32 40,i32*%aE,align 4
%aH=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aI=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%aH,i8*inreg%aD)
unreachable
aJ:
%aK=phi i8*[%am,%T],[%aB,%aA]
store i8*%aK,i8**%b,align 8
%aL=call fastcc i8*@_SMLFN5TypID3Map4findE(i32 inreg 0,i32 inreg 4)
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i8*(i8*,i8*)**
%aO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aN,align 8
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
store i8*%aQ,i8**%d,align 8
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
%aU=getelementptr inbounds i8,i8*%aR,i64 12
%aV=bitcast i8*%aU to i32*
store i32 0,i32*%aV,align 1
%aW=load i8*,i8**%c,align 8
%aX=bitcast i8*%aR to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 8
%aZ=bitcast i8*%aY to i32*
store i32%y,i32*%aZ,align 4
%a0=getelementptr inbounds i8,i8*%aR,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 1,i32*%a1,align 4
%a2=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a3=call fastcc i8*%aO(i8*inreg%a2,i8*inreg%aR)
%a4=icmp eq i8*%a3,null
br i1%a4,label%a5,label%bp
a5:
%a6=call fastcc i8*@_SMLFN5TypID3Map6insertE(i32 inreg 0,i32 inreg 4)
%a7=getelementptr inbounds i8,i8*%a6,i64 16
%a8=bitcast i8*%a7 to i8*(i8*,i8*)**
%a9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a8,align 8
%ba=bitcast i8*%a6 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%d,align 8
%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
%bf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%bc,i64 8
%bi=bitcast i8*%bh to i32*
store i32%y,i32*%bi,align 4
%bj=getelementptr inbounds i8,i8*%bc,i64 12
%bk=bitcast i8*%bj to i32*
store i32%v,i32*%bk,align 4
%bl=getelementptr inbounds i8,i8*%bc,i64 16
%bm=bitcast i8*%bl to i32*
store i32 1,i32*%bm,align 4
%bn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bo=call fastcc i8*%a9(i8*inreg%bn,i8*inreg%bc)
br label%bL
bp:
%bq=bitcast i8*%a3 to i32*
%br=load i32,i32*%bq,align 4
%bs=call i8*@sml_alloc(i32 inreg 12)#0
%bt=bitcast i8*%bs to i32*
%bu=getelementptr inbounds i8,i8*%bs,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177288,i32*%bv,align 4
store i32%v,i32*%bt,align 4
%bw=getelementptr inbounds i8,i8*%bs,i64 4
%bx=bitcast i8*%bw to i32*
store i32%br,i32*%bx,align 4
%by=getelementptr inbounds i8,i8*%bs,i64 8
%bz=bitcast i8*%by to i32*
store i32 0,i32*%bz,align 4
%bA=call fastcc i32@_SMLFN5TypID2eqE(i8*inreg%bs)
%bB=icmp eq i32%bA,0
br i1%bB,label%bE,label%bC
bC:
%bD=load i8*,i8**%c,align 8
br label%bL
bE:
store i8*null,i8**%c,align 8
%bF=call i8*@sml_alloc(i32 inreg 4)#0
%bG=bitcast i8*%bF to i32*
%bH=getelementptr inbounds i8,i8*%bF,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 4,i32*%bI,align 4
store i32 41,i32*%bG,align 4
%bJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bK=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%bJ,i8*inreg%bF)
unreachable
bL:
%bM=phi i8*[%bo,%a5],[%bD,%bC]
store i8*%bM,i8**%c,align 8
%bN=call i8*@sml_alloc(i32 inreg 20)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177296,i32*%bP,align 4
%bQ=load i8*,i8**%b,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=load i8*,i8**%c,align 8
%bT=getelementptr inbounds i8,i8*%bN,i64 8
%bU=bitcast i8*%bT to i8**
store i8*%bS,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bN,i64 16
%bW=bitcast i8*%bV to i32*
store i32 3,i32*%bW,align 4
ret i8*%bN
}
define internal fastcc i8*@_SMLLN12FunctorUtils11eqShapeTfunE_666(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
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%m,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%f,align 8
%l=load i8*,i8**%e,align 8
br label%m
m:
%n=phi i8*[%l,%j],[%a,%o]
%p=phi i8*[%k,%j],[%b,%o]
store i8*%p,i8**%g,align 8
store i8*null,i8**%e,align 8
store i8*%n,i8**%f,align 8
%q=bitcast i8*%n to i8**
%r=load i8*,i8**%q,align 8
%s=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%r)
store i8*%s,i8**%e,align 8
%t=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%u=getelementptr inbounds i8,i8*%t,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*@_SMLFN6IDCalc9derefTfunE(i8*inreg%w)
store i8*%x,i8**%f,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%e,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=load i8*,i8**%f,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=bitcast i8*%B to i32*
%J=load i32,i32*%I,align 4
%K=bitcast i8*%D to i32*
switch i32%J,label%L[
i32 0,label%cQ
i32 1,label%ad
]
L:
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%M=load i8*,i8**@_SMLZ5Match,align 8
store i8*%M,i8**%e,align 8
%N=call i8*@sml_alloc(i32 inreg 20)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177296,i32*%P,align 4
store i8*%N,i8**%f,align 8
%Q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%N,i64 8
%T=bitcast i8*%S to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@a0,i64 0,i32 2,i64 0),i8**%T,align 8
%U=getelementptr inbounds i8,i8*%N,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
%W=call i8*@sml_alloc(i32 inreg 60)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177336,i32*%Y,align 4
%Z=getelementptr inbounds i8,i8*%W,i64 56
%aa=bitcast i8*%Z to i32*
store i32 1,i32*%aa,align 4
%ab=load i8*,i8**%f,align 8
%ac=bitcast i8*%W to i8**
store i8*%ab,i8**%ac,align 8
call void@sml_raise(i8*inreg%W)#1
unreachable
ad:
%ae=getelementptr inbounds i8,i8*%B,i64 8
%af=bitcast i8*%ae to i8***
%ag=load i8**,i8***%af,align 8
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%e,align 8
%ai=load i32,i32*%K,align 4
%aj=icmp eq i32%ai,1
br i1%aj,label%al,label%ak
ak:
store i8*null,i8**%g,align 8
store i8*null,i8**%e,align 8
br label%cW
al:
%am=getelementptr inbounds i8,i8*%D,i64 8
%an=bitcast i8*%am to i8***
%ao=load i8**,i8***%an,align 8
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%f,align 8
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
%at=load i8*,i8**%e,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%f,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8*,i8**%g,align 8
%aB=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aB)
%aC=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aC)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aq,i8**%d,align 8
store i8*%aA,i8**%c,align 8
%aD=load atomic i32,i32*@sml_check_flag unordered,align 4
%aE=icmp eq i32%aD,0
br i1%aE,label%aM,label%aF
aF:
call void@sml_check(i32 inreg%aD)
%aG=load i8*,i8**%d,align 8
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=getelementptr inbounds i8,i8*%aG,i64 8
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
br label%aM
aM:
%aN=phi i8*[%aL,%aF],[%av,%al]
%aO=phi i8*[%aI,%aF],[%at,%al]
%aP=bitcast i8*%aO to i32*
%aQ=load i32,i32*%aP,align 4
switch i32%aQ,label%aR[
i32 3,label%cd
i32 5,label%bJ
i32 4,label%bf
i32 0,label%aS
]
aR:
store i8*null,i8**%c,align 8
br label%cH
aS:
%aT=bitcast i8*%aN to i32*
%aU=load i32,i32*%aT,align 4
%aV=icmp eq i32%aU,0
br i1%aV,label%aX,label%aW
aW:
store i8*null,i8**%c,align 8
br label%cH
aX:
%aY=getelementptr inbounds i8,i8*%aN,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 32
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%d,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
%a7=load i8*,i8**%d,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*%a7,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=load i8*,i8**%c,align 8
%be=tail call fastcc i8*@_SMLLN12FunctorUtils11eqShapeTfunE_666(i8*inreg%a4,i8*inreg%bd)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aB)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aC)
br label%cO
bf:
%bg=bitcast i8*%aN to i32*
%bh=load i32,i32*%bg,align 4
%bi=icmp eq i32%bh,4
br i1%bi,label%bk,label%bj
bj:
store i8*null,i8**%c,align 8
br label%cH
bk:
%bl=getelementptr inbounds i8,i8*%aO,i64 8
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
%bo=getelementptr inbounds i8,i8*%bn,i64 24
%bp=bitcast i8*%bo to i32*
%bq=load i32,i32*%bp,align 4
%br=getelementptr inbounds i8,i8*%aN,i64 8
%bs=bitcast i8*%br to i8**
%bt=load i8*,i8**%bs,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 24
%bv=bitcast i8*%bu to i32*
%bw=load i32,i32*%bv,align 4
%bx=call i8*@sml_alloc(i32 inreg 20)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177296,i32*%bz,align 4
%bA=load i8*,i8**%c,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bx,i64 8
%bD=bitcast i8*%bC to i32*
store i32%bq,i32*%bD,align 4
%bE=getelementptr inbounds i8,i8*%bx,i64 12
%bF=bitcast i8*%bE to i32*
store i32%bw,i32*%bF,align 4
%bG=getelementptr inbounds i8,i8*%bx,i64 16
%bH=bitcast i8*%bG to i32*
store i32 1,i32*%bH,align 4
%bI=tail call fastcc i8*@_SMLLN12FunctorUtils8setEquivE_663(i8*inreg%bx)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aB)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aC)
br label%cO
bJ:
%bK=bitcast i8*%aN to i32*
%bL=load i32,i32*%bK,align 4
%bM=icmp eq i32%bL,5
br i1%bM,label%bO,label%bN
bN:
store i8*null,i8**%c,align 8
br label%cH
bO:
%bP=getelementptr inbounds i8,i8*%aO,i64 8
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
%bS=getelementptr inbounds i8,i8*%bR,i64 16
%bT=bitcast i8*%bS to i32*
%bU=load i32,i32*%bT,align 4
%bV=getelementptr inbounds i8,i8*%aN,i64 8
%bW=bitcast i8*%bV to i8**
%bX=load i8*,i8**%bW,align 8
%bY=getelementptr inbounds i8,i8*%bX,i64 16
%bZ=bitcast i8*%bY to i32*
%b0=load i32,i32*%bZ,align 4
%b1=call i8*@sml_alloc(i32 inreg 20)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177296,i32*%b3,align 4
%b4=load i8*,i8**%c,align 8
%b5=bitcast i8*%b1 to i8**
store i8*%b4,i8**%b5,align 8
%b6=getelementptr inbounds i8,i8*%b1,i64 8
%b7=bitcast i8*%b6 to i32*
store i32%bU,i32*%b7,align 4
%b8=getelementptr inbounds i8,i8*%b1,i64 12
%b9=bitcast i8*%b8 to i32*
store i32%b0,i32*%b9,align 4
%ca=getelementptr inbounds i8,i8*%b1,i64 16
%cb=bitcast i8*%ca to i32*
store i32 1,i32*%cb,align 4
%cc=tail call fastcc i8*@_SMLLN12FunctorUtils8setEquivE_663(i8*inreg%b1)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aB)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aC)
br label%cO
cd:
%ce=bitcast i8*%aN to i32*
%cf=load i32,i32*%ce,align 4
%cg=icmp eq i32%cf,3
br i1%cg,label%ci,label%ch
ch:
store i8*null,i8**%c,align 8
br label%cH
ci:
%cj=getelementptr inbounds i8,i8*%aO,i64 8
%ck=bitcast i8*%cj to i8**
%cl=load i8*,i8**%ck,align 8
%cm=getelementptr inbounds i8,i8*%cl,i64 40
%cn=bitcast i8*%cm to i32*
%co=load i32,i32*%cn,align 4
%cp=getelementptr inbounds i8,i8*%aN,i64 8
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
%cs=getelementptr inbounds i8,i8*%cr,i64 40
%ct=bitcast i8*%cs to i32*
%cu=load i32,i32*%ct,align 4
%cv=call i8*@sml_alloc(i32 inreg 20)#0
%cw=getelementptr inbounds i8,i8*%cv,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177296,i32*%cx,align 4
%cy=load i8*,i8**%c,align 8
%cz=bitcast i8*%cv to i8**
store i8*%cy,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cv,i64 8
%cB=bitcast i8*%cA to i32*
store i32%co,i32*%cB,align 4
%cC=getelementptr inbounds i8,i8*%cv,i64 12
%cD=bitcast i8*%cC to i32*
store i32%cu,i32*%cD,align 4
%cE=getelementptr inbounds i8,i8*%cv,i64 16
%cF=bitcast i8*%cE to i32*
store i32 1,i32*%cF,align 4
%cG=tail call fastcc i8*@_SMLLN12FunctorUtils8setEquivE_663(i8*inreg%cv)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aB)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aC)
br label%cO
cH:
store i8*null,i8**%c,align 8
%cI=call i8*@sml_alloc(i32 inreg 4)#0
%cJ=bitcast i8*%cI to i32*
%cK=getelementptr inbounds i8,i8*%cI,i64 -4
%cL=bitcast i8*%cK to i32*
store i32 4,i32*%cL,align 4
store i32 42,i32*%cJ,align 4
%cM=load i8*,i8**%c,align 8
%cN=tail call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%cM,i8*inreg%cI)
unreachable
cO:
%cP=phi i8*[%be,%aX],[%bI,%bk],[%cc,%bO],[%cG,%ci]
ret i8*%cP
cQ:
%cR=load i32,i32*%K,align 4
%cS=icmp eq i32%cR,0
br i1%cS,label%cU,label%cT
cT:
store i8*null,i8**%g,align 8
br label%cW
cU:
%cV=load i8*,i8**%g,align 8
ret i8*%cV
cW:
store i8*null,i8**%e,align 8
%cX=call i8*@sml_alloc(i32 inreg 4)#0
%cY=bitcast i8*%cX to i32*
%cZ=getelementptr inbounds i8,i8*%cX,i64 -4
%c0=bitcast i8*%cZ to i32*
store i32 4,i32*%c0,align 4
store i32 43,i32*%cY,align 4
%c1=load i8*,i8**%e,align 8
%c2=tail call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%c1,i8*inreg%cX)
unreachable
}
define internal fastcc i8*@_SMLLN12FunctorUtils11eqShapeTstrE_672(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%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d 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
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%o,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=bitcast i8*%q to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 0,label%ar
i32 1,label%O
]
w:
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@a1,i64 0,i32 2,i64 0),i8**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 60)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177336,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%H,i64 56
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=bitcast i8*%H to i8**
store i8*%M,i8**%N,align 8
call void@sml_raise(i8*inreg%H)#1
unreachable
O:
%P=getelementptr inbounds i8,i8*%q,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=getelementptr inbounds i8,i8*%R,i64 24
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%d,align 8
%V=bitcast i8*%t to i32*
%W=load i32,i32*%V,align 4
%X=icmp eq i32%W,1
br i1%X,label%Y,label%aU
Y:
%Z=getelementptr inbounds i8,i8*%t,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,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**%e,align 8
%af=call i8*@sml_alloc(i32 inreg 20)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%e,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
%aq=tail call fastcc i8*@_SMLLN12FunctorUtils11eqShapeTfunE_666(i8*inreg%af,i8*inreg%ap)
ret i8*%aq
ar:
%as=getelementptr inbounds i8,i8*%q,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
%av=getelementptr inbounds i8,i8*%au,i64 8
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%d,align 8
%ay=bitcast i8*%t to i32*
%az=load i32,i32*%ay,align 4
%aA=icmp eq i32%az,0
br i1%aA,label%aB,label%aU
aB:
%aC=getelementptr inbounds i8,i8*%t,i64 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%e,align 8
%aI=call i8*@sml_alloc(i32 inreg 20)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177296,i32*%aK,align 4
%aL=load i8*,i8**%d,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%e,align 8
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aI,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 3,i32*%aR,align 4
%aS=load i8*,i8**%c,align 8
%aT=tail call fastcc i8*@_SMLLN12FunctorUtils11eqShapeTfunE_666(i8*inreg%aI,i8*inreg%aS)
ret i8*%aT
aU:
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%aV=call i8*@sml_alloc(i32 inreg 4)#0
%aW=bitcast i8*%aV to i32*
%aX=getelementptr inbounds i8,i8*%aV,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 4,i32*%aY,align 4
store i32 44,i32*%aW,align 4
%aZ=load i8*,i8**%c,align 8
%a0=tail call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%aZ,i8*inreg%aV)
unreachable
}
define internal fastcc i8*@_SMLLN12FunctorUtils10eqShapeTyEE_675(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
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
store i8*%a,i8**%h,align 8
store i8*%b,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%n
l:
%m=bitcast i8*%b to i8**
br label%q
n:
call void@sml_check(i32 inreg%j)
%o=bitcast i8**%e to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%n],[%m,%l]
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%f,align 8
%t=getelementptr inbounds i8*,i8**%r,i64 1
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%g,align 8
%v=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%A,i8**%i,align 8
%B=bitcast i8**%h to i8***
%C=load i8**,i8***%B,align 8
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%h,align 8
%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
%H=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%P=call fastcc i8*%y(i8*inreg%O,i8*inreg%E)
%Q=icmp eq i8*%P,null
br i1%Q,label%R,label%Y
R:
store i8*null,i8**%g,align 8
store i8*null,i8**%e,align 8
%S=call i8*@sml_alloc(i32 inreg 4)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 4,i32*%V,align 4
store i32 45,i32*%T,align 4
%W=load i8*,i8**%e,align 8
%X=tail call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%W,i8*inreg%S)
unreachable
Y:
%Z=bitcast i8*%P to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%f,align 8
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
%ae=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ab,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%al=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%al)
%am=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%am)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%ab,i8**%c,align 8
%an=call i8*@sml_alloc(i32 inreg 12)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177288,i32*%ap,align 4
store i8*%an,i8**%d,align 8
%aq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%an,i64 8
%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**%d,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*)*@_SMLLN12FunctorUtils11eqShapeTstrE_672 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*)*@_SMLLN12FunctorUtils11eqShapeTstrE_672 to void(...)*),void(...)**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 24
%aE=bitcast i8*%aD to i32*
store i32 -2147483647,i32*%aE,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%al)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%am)
%aF=load i8*,i8**%e,align 8
%aG=getelementptr inbounds i8,i8*%aF,i64 16
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=tail call fastcc i8*@_SMLLN12FunctorUtils11eqShapeTstrE_672(i8*inreg%ax,i8*inreg%aI)
ret i8*%aJ
}
define internal fastcc i8*@_SMLLN12FunctorUtils10eqShapeTyEE_676(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**%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*%a,i8**%e,align 8
store i8*%b,i8**%c,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**%e 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
%r=getelementptr inbounds i8,i8*%q,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=call fastcc i8*@_SMLFN9SymbolEnv6foldliE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%z,i8**%f,align 8
%A=call i8*@sml_alloc(i32 inreg 12)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177288,i32*%C,align 4
store i8*%A,i8**%g,align 8
%D=load i8*,i8**%d,align 8
store i8*null,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 i32*
store i32 1,i32*%G,align 4
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177304,i32*%J,align 4
%K=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10eqShapeTyEE_675 to void(...)*),void(...)**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 16
%P=bitcast i8*%O to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils10eqShapeTyEE_675 to void(...)*),void(...)**%P,align 8
%Q=getelementptr inbounds i8,i8*%H,i64 24
%R=bitcast i8*%Q to i32*
store i32 -2147483647,i32*%R,align 4
%S=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%T=call fastcc i8*%x(i8*inreg%S,i8*inreg%H)
%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
%aa=call fastcc i8*%W(i8*inreg%Y,i8*inreg%Z)
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
%ag=bitcast i8**%e to i8****
%ah=load i8***,i8****%ag,align 8
%ai=load i8**,i8***%ah,align 8
%aj=load i8*,i8**%ai,align 8
%ak=tail call fastcc i8*%ad(i8*inreg%af,i8*inreg%aj)
ret i8*%ak
}
define internal fastcc void@_SMLLN12FunctorUtils11eqShapeVarEE_682(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%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
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%e,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%e,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=bitcast i8*%n to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%n,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%f,align 8
%u=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
store i8*%z,i8**%h,align 8
%A=bitcast i8**%g to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%g,align 8
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%D,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%O=call fastcc i8*%x(i8*inreg%N,i8*inreg%D)
%P=icmp eq i8*%O,null
br i1%P,label%Q,label%X
Q:
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
%R=call i8*@sml_alloc(i32 inreg 4)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 4,i32*%U,align 4
store i32 47,i32*%S,align 4
%V=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%W=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%V,i8*inreg%R)
unreachable
X:
%Y=bitcast i8*%O to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%e,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=load i8*,i8**%f,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%e,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ak)
%al=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%al)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aa,i8**%c,align 8
%am=load atomic i32,i32*@sml_check_flag unordered,align 4
%an=icmp eq i32%am,0
br i1%an,label%at,label%ao
ao:
call void@sml_check(i32 inreg%am)
%ap=load i8*,i8**%c,align 8
%aq=getelementptr inbounds i8,i8*%ap,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
br label%at
at:
%au=phi i8*[%as,%ao],[%af,%X]
%av=phi i8*[%ap,%ao],[%aa,%X]
%aw=bitcast i8*%av to i32**
%ax=load i32*,i32**%aw,align 8
%ay=load i32,i32*%ax,align 4
switch i32%ay,label%az[
i32 12,label%bH
i32 13,label%bD
i32 6,label%bz
i32 7,label%bv
i32 0,label%br
i32 1,label%bn
i32 4,label%bj
i32 5,label%bf
i32 2,label%bb
i32 3,label%a7
i32 8,label%a3
i32 11,label%aZ
i32 10,label%aV
i32 9,label%aR
]
az:
call void@sml_matchcomp_bug()
%aA=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aA,i8**%c,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
store i8*%aB,i8**%d,align 8
%aE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@a2,i64 0,i32 2,i64 0),i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to i32*
store i32 3,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 60)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177336,i32*%aM,align 4
%aN=getelementptr inbounds i8,i8*%aK,i64 56
%aO=bitcast i8*%aN to i32*
store i32 1,i32*%aO,align 4
%aP=load i8*,i8**%d,align 8
%aQ=bitcast i8*%aK to i8**
store i8*%aP,i8**%aQ,align 8
call void@sml_raise(i8*inreg%aK)#1
unreachable
aR:
%aS=bitcast i8*%au to i32*
%aT=load i32,i32*%aS,align 4
%aU=icmp eq i32%aT,9
br i1%aU,label%bS,label%bL
aV:
%aW=bitcast i8*%au to i32*
%aX=load i32,i32*%aW,align 4
%aY=icmp eq i32%aX,10
br i1%aY,label%bS,label%bL
aZ:
%a0=bitcast i8*%au to i32*
%a1=load i32,i32*%a0,align 4
%a2=icmp eq i32%a1,11
br i1%a2,label%bS,label%bL
a3:
%a4=bitcast i8*%au to i32*
%a5=load i32,i32*%a4,align 4
%a6=icmp eq i32%a5,8
br i1%a6,label%bS,label%bL
a7:
%a8=bitcast i8*%au to i32*
%a9=load i32,i32*%a8,align 4
%ba=icmp eq i32%a9,3
br i1%ba,label%bS,label%bL
bb:
%bc=bitcast i8*%au to i32*
%bd=load i32,i32*%bc,align 4
%be=icmp eq i32%bd,2
br i1%be,label%bS,label%bL
bf:
%bg=bitcast i8*%au to i32*
%bh=load i32,i32*%bg,align 4
%bi=icmp eq i32%bh,5
br i1%bi,label%bS,label%bL
bj:
%bk=bitcast i8*%au to i32*
%bl=load i32,i32*%bk,align 4
%bm=icmp eq i32%bl,4
br i1%bm,label%bS,label%bL
bn:
%bo=bitcast i8*%au to i32*
%bp=load i32,i32*%bo,align 4
%bq=icmp eq i32%bp,1
br i1%bq,label%bS,label%bL
br:
%bs=bitcast i8*%au to i32*
%bt=load i32,i32*%bs,align 4
%bu=icmp eq i32%bt,0
br i1%bu,label%bS,label%bL
bv:
%bw=bitcast i8*%au to i32*
%bx=load i32,i32*%bw,align 4
%by=icmp eq i32%bx,7
br i1%by,label%bS,label%bL
bz:
%bA=bitcast i8*%au to i32*
%bB=load i32,i32*%bA,align 4
%bC=icmp eq i32%bB,6
br i1%bC,label%bS,label%bL
bD:
%bE=bitcast i8*%au to i32*
%bF=load i32,i32*%bE,align 4
%bG=icmp eq i32%bF,13
br i1%bG,label%bS,label%bL
bH:
%bI=bitcast i8*%au to i32*
%bJ=load i32,i32*%bI,align 4
%bK=icmp eq i32%bJ,12
br i1%bK,label%bS,label%bL
bL:
store i8*null,i8**%c,align 8
%bM=call i8*@sml_alloc(i32 inreg 4)#0
%bN=bitcast i8*%bM to i32*
%bO=getelementptr inbounds i8,i8*%bM,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 4,i32*%bP,align 4
store i32 46,i32*%bN,align 4
%bQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bR=call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%bQ,i8*inreg%bM)
unreachable
bS:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ak)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%al)
ret void
}
define internal fastcc i8*@_SMLLN12FunctorUtils11eqShapeStrEE_690(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**%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*%a,i8**%f,align 8
store i8*%b,i8**%c,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*%b to i8**
br label%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c 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**%d,align 8
%r=getelementptr inbounds i8*,i8**%p,i64 1
%s=load i8*,i8**%r,align 8
%t=getelementptr inbounds i8,i8*%s,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
%w=call fastcc i8*@_SMLFN9SymbolEnv4findE(i32 inreg 1,i32 inreg 8)
%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
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%g,align 8
%C=bitcast i8**%f to i8***
%D=load i8**,i8***%C,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%f,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=call fastcc i8*%z(i8*inreg%P,i8*inreg%F)
%R=icmp eq i8*%Q,null
br i1%R,label%S,label%Z
S:
store i8*null,i8**%e,align 8
store i8*null,i8**%c,align 8
%T=call i8*@sml_alloc(i32 inreg 4)#0
%U=bitcast i8*%T to i32*
%V=getelementptr inbounds i8,i8*%T,i64 -4
%W=bitcast i8*%V to i32*
store i32 4,i32*%W,align 4
store i32 48,i32*%U,align 4
%X=load i8*,i8**%c,align 8
%Y=tail call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%X,i8*inreg%T)
unreachable
Z:
%aa=bitcast i8*%Q to i8**
%ab=load i8*,i8**%aa,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 8
%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=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177296,i32*%ah,align 4
%ai=load i8*,i8**%e,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%d,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=load i8*,i8**%c,align 8
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
%at=tail call fastcc i8*@_SMLLN12FunctorUtils10eqShapeEnvE_685(i8*inreg%af,i8*inreg%as)
ret i8*%at
}
define internal fastcc i8*@_SMLLN12FunctorUtils10eqShapeEnvE_685(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
A:
%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
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
%t=alloca i8*,align 8
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
call void@llvm.gcroot(i8**%s,i8*null)#0
call void@llvm.gcroot(i8**%t,i8*null)#0
store i8*%a,i8**%o,align 8
store i8*%b,i8**%n,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**%o,align 8
br label%y
y:
%z=phi i8*[%x,%w],[%a,%A]
%B=bitcast i8*%z to i8**
%C=load i8*,i8**%B,align 8
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%s,align 8
%F=getelementptr inbounds i8,i8*%C,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%o,align 8
%I=getelementptr inbounds i8,i8*%C,i64 16
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%p,align 8
%L=getelementptr inbounds i8,i8*%z,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%t,align 8
%Q=getelementptr inbounds i8,i8*%N,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%q,align 8
%T=getelementptr inbounds i8,i8*%N,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%r,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
%Z=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
%ag=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ag)
%ah=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ah)
%ai=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ai)
%aj=bitcast i8**%m to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aj)
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%W,i8**%j,align 8
%ak=load atomic i32,i32*@sml_check_flag unordered,align 4
%al=icmp eq i32%ak,0
br i1%al,label%ar,label%am
am:
call void@sml_check(i32 inreg%ak)
%an=load i8*,i8**%j,align 8
%ao=getelementptr inbounds i8,i8*%an,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
br label%ar
ar:
%as=phi i8*[%aq,%am],[%ab,%y]
store i8*%as,i8**%k,align 8
%at=call fastcc i8*@_SMLFN9SymbolEnv4appiE(i32 inreg 1,i32 inreg 8)
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%at to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%l,align 8
%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**%m,align 8
%aC=load i8*,i8**%k,align 8
store i8*null,i8**%k,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 i32*
store i32 1,i32*%aF,align 4
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
%aJ=load i8*,i8**%m,align 8
store i8*null,i8**%m,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN12FunctorUtils11eqShapeVarEE_682 to void(...)*),void(...)**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 16
%aO=bitcast i8*%aN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils11eqShapeVarEE_747 to void(...)*),void(...)**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 24
%aQ=bitcast i8*%aP to i32*
store i32 -2147483647,i32*%aQ,align 4
%aR=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%aS=call fastcc i8*%aw(i8*inreg%aR,i8*inreg%aG)
%aT=getelementptr inbounds i8,i8*%aS,i64 16
%aU=bitcast i8*%aT to i8*(i8*,i8*)**
%aV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aU,align 8
%aW=bitcast i8*%aS to i8**
%aX=load i8*,i8**%aW,align 8
%aY=bitcast i8**%j to i8***
%aZ=load i8**,i8***%aY,align 8
store i8*null,i8**%j,align 8
%a0=load i8*,i8**%aZ,align 8
%a1=call fastcc i8*%aV(i8*inreg%aX,i8*inreg%a0)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ag)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ah)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ai)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aj)
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%a8=getelementptr inbounds i8,i8*%a2,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*%a7,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a2,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
%bc=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bc)
%bd=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bd)
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a2,i8**%h,align 8
%be=call i8*@sml_alloc(i32 inreg 12)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177288,i32*%bg,align 4
store i8*%be,i8**%i,align 8
%bh=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 i32*
store i32 1,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*)*@_SMLLN12FunctorUtils10eqShapeTyEE_676 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*)*@_SMLLN12FunctorUtils10eqShapeTyEE_676 to void(...)*),void(...)**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 24
%bv=bitcast i8*%bu to i32*
store i32 -2147483647,i32*%bv,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bc)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bd)
%bw=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%bx=call fastcc i8*@_SMLLN12FunctorUtils10eqShapeTyEE_676(i8*inreg%bo,i8*inreg%bw)
store i8*%bx,i8**%n,align 8
%by=call i8*@sml_alloc(i32 inreg 20)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
%bB=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%bE=getelementptr inbounds i8,i8*%by,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%by,i64 16
%bH=bitcast i8*%bG to i32*
store i32 3,i32*%bH,align 4
%bI=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%bJ=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bJ)
%bK=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bK)
%bL=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bL)
%bM=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bM)
%bN=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bN)
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*%by,i8**%d,align 8
store i8*%bI,i8**%c,align 8
%bO=load atomic i32,i32*@sml_check_flag unordered,align 4
%bP=icmp eq i32%bO,0
br i1%bP,label%bV,label%bQ
bQ:
call void@sml_check(i32 inreg%bO)
%bR=load i8*,i8**%d,align 8
%bS=getelementptr inbounds i8,i8*%bR,i64 8
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
br label%bV
bV:
%bW=phi i8*[%bU,%bQ],[%bD,%ar]
store i8*%bW,i8**%e,align 8
%bX=call fastcc i8*@_SMLFN9SymbolEnv6foldliE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bY=getelementptr inbounds i8,i8*%bX,i64 16
%bZ=bitcast i8*%bY to i8*(i8*,i8*)**
%b0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bZ,align 8
%b1=bitcast i8*%bX to i8**
%b2=load i8*,i8**%b1,align 8
store i8*%b2,i8**%f,align 8
%b3=call i8*@sml_alloc(i32 inreg 12)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177288,i32*%b5,align 4
store i8*%b3,i8**%g,align 8
%b6=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i32*
store i32 1,i32*%b9,align 4
%ca=call i8*@sml_alloc(i32 inreg 28)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177304,i32*%cc,align 4
%cd=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ce=bitcast i8*%ca to i8**
store i8*%cd,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%ca,i64 8
%cg=bitcast i8*%cf to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils11eqShapeStrEE_690 to void(...)*),void(...)**%cg,align 8
%ch=getelementptr inbounds i8,i8*%ca,i64 16
%ci=bitcast i8*%ch to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN12FunctorUtils11eqShapeStrEE_690 to void(...)*),void(...)**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ca,i64 24
%ck=bitcast i8*%cj to i32*
store i32 -2147483647,i32*%ck,align 4
%cl=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cm=call fastcc i8*%b0(i8*inreg%cl,i8*inreg%ca)
%cn=getelementptr inbounds i8,i8*%cm,i64 16
%co=bitcast i8*%cn to i8*(i8*,i8*)**
%cp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%co,align 8
%cq=bitcast i8*%cm to i8**
%cr=load i8*,i8**%cq,align 8
%cs=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ct=call fastcc i8*%cp(i8*inreg%cr,i8*inreg%cs)
%cu=getelementptr inbounds i8,i8*%ct,i64 16
%cv=bitcast i8*%cu to i8*(i8*,i8*)**
%cw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cv,align 8
%cx=bitcast i8*%ct to i8**
%cy=load i8*,i8**%cx,align 8
%cz=bitcast i8**%d to i8***
%cA=load i8**,i8***%cz,align 8
%cB=load i8*,i8**%cA,align 8
%cC=call fastcc i8*%cw(i8*inreg%cy,i8*inreg%cB)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bJ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bL)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bM)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bN)
ret i8*%cC
}
define fastcc i32@_SMLFN12FunctorUtils7eqShapeE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%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=invoke fastcc i8*@_SMLFN5TypID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%B unwind label%Q
B:
store i8*%A,i8**%b,align 8
%C=invoke fastcc i8*@_SMLFN5TypID3Map5emptyE(i32 inreg 0,i32 inreg 4)
to label%D unwind label%Q
D:
store i8*%C,i8**%c,align 8
%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
%H=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%I=bitcast i8*%E to i8**
store i8*%H,i8**%I,align 8
%J=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%E,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%E,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%P=invoke fastcc i8*@_SMLLN12FunctorUtils10eqShapeEnvE_685(i8*inreg%O,i8*inreg%E)
to label%Y unwind label%Q
Q:
%R=landingpad{i8*,i8*}
catch i8*null
%S=extractvalue{i8*,i8*}%R,1
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*%U,i8**%b,align 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=icmp eq i8*%W,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL544,i64 0,i32 2)to i8*)
br i1%X,label%Y,label%aa
Y:
%Z=phi i32[0,%Q],[1,%D]
ret i32%Z
aa:
%ab=call i8*@sml_alloc(i32 inreg 60)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177336,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 56
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=load i8*,i8**%b,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
call void@sml_raise(i8*inreg%ab)#1
unreachable
}
define fastcc i8*@_SMLFN12FunctorUtils9varsInEnvE(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=load i8*,i8**@_SMLZN5ExnID3Set5emptyE,align 8
%k=getelementptr inbounds i8,i8*%h,i64 8
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
%n=bitcast i8*%h to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN12FunctorUtils9varsInEnvE_524(i8*inreg%j,i8*inreg%m,i8*inreg null,i8*inreg null,i8*inreg%o)
ret i8*%p
}
define fastcc i32@_SMLFN12FunctorUtils6eqSizeE(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=tail call fastcc i32@_SMLLN12FunctorUtils6eqSizeE_655(i8*inreg%h)
ret i32%j
}
define internal fastcc i8*@_SMLL10genArgTstr_700(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL10genArgTstr_434(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL13extraTvarsMap_702(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL13extraTvarsMap_449(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL8returnTy_703(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL8returnTy_459(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL5conTy_704(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5conTy_461(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL18materializeDtyTstr_705(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL18materializeDtyTstr_468(i8*inreg%b)
%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*@_SMLLN12FunctorUtils10evalFunArgE_706(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN12FunctorUtils10evalFunArgE_470(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL15dummyIdfunArgTy_707(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL15dummyIdfunArgTy_472(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN12FunctorUtils10evalFunArgE_708(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12FunctorUtils10evalFunArgE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN12FunctorUtils15makeFunctorArgsE_710(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12FunctorUtils15makeFunctorArgsE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL12typidSetTstr_715(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL12typidSetTstr_533(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL11typidSetEnv_716(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL11typidSetEnv_538(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN12FunctorUtils8typidSetE_718(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12FunctorUtils8typidSetE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_719(i8*inreg%a,i8*inreg%b)unnamed_addr#5 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN12FunctorUtils9raiseFailE_549(i32 inreg%d)
unreachable
}
define internal fastcc i8*@_SMLLN12FunctorUtils8visitEnvE_723(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN12FunctorUtils8visitEnvE_562(i8*inreg%a,i8*inreg%b)
%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*@_SMLLN12FunctorUtils8visitEnvE_724(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN12FunctorUtils8visitEnvE_563(i8*inreg%a,i8*inreg%b)
%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*@_SMLL5eqEnv_727(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5eqEnv_602(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN12FunctorUtils5eqTyEE_730(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN12FunctorUtils5eqTyEE_625(i8*inreg%a,i8*inreg%b)
%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*@_SMLLN12FunctorUtils6eqVarEE_733(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN12FunctorUtils6eqVarEE_638(i8*inreg%a,i8*inreg%b)
%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*@_SMLL6eqStrE_735(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL6eqStrE_652(i8*inreg%a,i8*inreg%b)
%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*@_SMLLN12FunctorUtils5eqEnvE_738(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN12FunctorUtils5eqEnvE(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*@_SMLLN12FunctorUtils6eqSizeE_739(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN12FunctorUtils6eqSizeE_662(i8*inreg%a,i8*inreg%b)
%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*@_SMLLN12FunctorUtils11eqShapeVarEE_747(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN12FunctorUtils11eqShapeVarEE_682(i8*inreg%a,i8*inreg%b)
%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*@_SMLLN12FunctorUtils7eqShapeE_751(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN12FunctorUtils7eqShapeE(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*@_SMLLN12FunctorUtils9varsInEnvE_752(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12FunctorUtils9varsInEnvE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN12FunctorUtils6eqSizeE_753(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN12FunctorUtils6eqSizeE(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
}
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
declare void@llvm.memset.p0i8.i64(i8*,i8,i64,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
attributes#5={noreturn uwtable}
