@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN11InterfaceID3Set5emptyE=external local_unnamed_addr global i8*
@_SMLZN11RequirePath4PathE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError12CircularLoadE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError13DuplicateHashE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError13UseNotAllowedE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError14NotAnInterfaceE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError18FileNotFoundOnPathE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError18PathMustNotBeEmptyE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError18UseRequireConflictE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError20UnknownRequireOptionE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError22AbsolutePathNotAllowedE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError23DirectoryPathNotAllowedE=external local_unnamed_addr global i8*
@_SMLZN13LoadFileError23UnexpectedInterfaceDeclE=external local_unnamed_addr global i8*
@_SMLZN16SMLSharp__Runtime6SysErrE=external local_unnamed_addr global i8*
@_SMLZN2IO2IoE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN3Loc5nolocE=external local_unnamed_addr global i8*
@_SMLZN6TextIO6stdErrE=external local_unnamed_addr global i8*
@_SMLZN7Control13traceFileLoadE=external local_unnamed_addr global i8*
@_SMLZN7LibBase8NotFoundE=external local_unnamed_addr global i8*
@_SMLZN8Filename3Set5emptyE=external local_unnamed_addr global i8*
@_SMLZN8Filename8realPathE=external local_unnamed_addr global i8*
@_SMLZN9UserError10UserErrorsE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:27.12(595)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:56.4(1663)\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[65x i8]}><{[4x i8]zeroinitializer,i32 -2147483583,[65x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:61.4(1917)\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*)*@_SMLLN8LoadFile5Assoc10concatWithE_310 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc10concatWithE_619 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:82.42(2986)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"Assoc.remove\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:87.41(3216)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"Assoc.listItems\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:91.41(3457)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[14x i8]}><{[4x i8]zeroinitializer,i32 -2147483634,[14x i8]c"Assoc.collect\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:95.40(3639)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"Assoc.collectPartial\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"LoadFile.NotFound\00"}>,align 8
@n=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]}>*@m,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL357=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}>*@n,i32 0,i32 0,i32 0),i32 8)}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:131.60(4708)\00"}>,align 8
@p=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*}>*@_SMLDL357,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@o,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN8LoadFile8openPathE_364 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile8openPathE_635 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:169.46(6146)\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,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL357,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@r,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:165.7(5958)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:181.30(6657)\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:183.30(6769)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:185.30(6891)\00"}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:187.30(7023)\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:165.6(5957)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:196.12(7264)\00"}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"smi: \00"}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"sml: \00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"\0A\00"}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:290.44(10814)\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:291.42(10890)\00"}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:288.9(10685)\00"}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:305.44(11494)\00"}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:306.42(11570)\00"}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:303.9(11365)\00"}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:332.34(12499)\00"}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:320.6(12046)\00"}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:358.33(13552)\00"}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 2,[4x i8]zeroinitializer,i32 0}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:349.6(13077)\00"}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:389.37(14777)\00"}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile18evalRequireOptionsE_461 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile18evalRequireOptionsE_652 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*)*@_SMLL5inits_464 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5inits_653 to void(...)*),i32 -2147483647}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:312.2(11777)\00"}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:416.11(15708)\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,[66x i8]}><{[4x i8]zeroinitializer,i32 -2147483582,[66x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:118.2(4319)\00"}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:438.11(16566)\00"}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:401.6(15095)\00"}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL4hash_484 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4hash_657 to void(...)*),i32 -2147483647}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL3dec_486 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3dec_658 to void(...)*),i32 -2147483647}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL5edges_488 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5edges_659 to void(...)*),i32 -2147483647}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 0,[4x i8]zeroinitializer,i32 0}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:483.6(18430)\00"}>,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*)*@_SMLLN8LoadFile16evalIrequireListE_493 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile16evalIrequireListE_660 to void(...)*),i32 -2147483647}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile16evalIrequireListE_495 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile16evalIrequireListE_661 to void(...)*),i32 -2147483647}>,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*)*@_SMLLN8LoadFile16evalIrequireListE_497 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile16evalIrequireListE_662 to void(...)*),i32 -2147483647}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile16evalIrequireListE_499 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile16evalIrequireListE_663 to void(...)*),i32 -2147483647}>,align 8
@af=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile15loadRequireListE_501 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile15loadRequireListE_664 to void(...)*),i32 -2147483647}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile15loadRequireListE_503 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile15loadRequireListE_665 to void(...)*),i32 -2147483647}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile15loadRequireListE_505 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile15loadRequireListE_666 to void(...)*),i32 -2147483647}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:580.39(22587)\00"}>,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*)*@_SMLLN8LoadFile20checkHashDuplicationE_508 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile20checkHashDuplicationE_671 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*)*@_SMLL14initRequisites_512 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL14initRequisites_673 to void(...)*),i32 -2147483647}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL18locallyRequiredIds_514 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL18locallyRequiredIds_674 to void(...)*),i32 -2147483647}>,align 8
@am=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL8requires_516 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8requires_675 to void(...)*),i32 -2147483647}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL13interfaceDecs_519 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13interfaceDecs_677 to void(...)*),i32 -2147483647}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:593.36(23135)\00"}>,align 8
@ap=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*null,i8*null,i32 3}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,[4x i8]}><{[4x i8]zeroinitializer,i32 -2147483644,[4x i8]c"smi\00"}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:648.27(25509)\00"}>,align 8
@as=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"listNodes: CYCLE\00"}>,align 8
@at=private unnamed_addr constant<{[4x i8],i32,[67x i8]}><{[4x i8]zeroinitializer,i32 -2147483581,[67x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:646.9(25419)\00"}>,align 8
@au=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile9listNodesE_533 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile9listNodesE_680 to void(...)*),i32 -2147483647}>,align 8
@av=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:671.41(26408)\00"}>,align 8
@aw=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL8allowUse_540 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8allowUse_682 to void(...)*),i32 -2147483647}>,align 8
@ax=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL6source_542 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6source_683 to void(...)*),i32 -2147483647}>,align 8
@ay=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile21loadInterfaceFileListE_547 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile21loadInterfaceFileListE_684 to void(...)*),i32 -2147483647}>,align 8
@az=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN8LoadFile21loadInterfaceFileListE_549 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile21loadInterfaceFileListE_685 to void(...)*),i32 -2147483647}>,align 8
@aA=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,i32 1,i32 0}>,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*)*@_SMLL5edges_552 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5edges_687 to void(...)*),i32 -2147483647}>,align 8
@aC=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL13interfaceDecs_554 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13interfaceDecs_688 to void(...)*),i32 -2147483647}>,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*)*@_SMLLN8LoadFile18loadInterfaceFilesE_556 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile18loadInterfaceFilesE_689 to void(...)*),i32 -2147483647}>,align 8
@aE=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 4,[4x i8]zeroinitializer,i32 0}>,align 8
@aF=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 5,[4x i8]zeroinitializer,i32 0}>,align 8
@aG=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,[4x i8]zeroinitializer,i32 0}>,align 8
@aH=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilePhases/loadfile/main/LoadFile.sml:772.12(30871)\00"}>,align 8
@_SML_gvarfa08e3523bacf9b8_LoadFile=private global<{[4x i8],i32,[3x i8*]}><{[4x i8]zeroinitializer,i32 -1342177256,[3x i8*]zeroinitializer}>,align 8
@aI=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@aI to i64))]
@_SML_ftabfa08e3523bacf9b8_LoadFile=external global i8
@aJ=private unnamed_addr global i8 0
@aK=private unnamed_addr constant[6x i32][i32 0,i32 1,i32 5,i32 4,i32 4,i32 5]
@_SMLZN8LoadFile4loadE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i32 0,i32 2,i32 0)
@_SMLZN8LoadFile18loadInterfaceFilesE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i32 0,i32 2,i32 1)
@_SMLZN8LoadFile7revisitE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i32 0,i32 2,i32 2)
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_end()local_unnamed_addr#0
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_save_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN11InterfaceID3Set3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN11InterfaceID3Set6memberE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN11InterfaceID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RequirePath10toFilenameE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN11RequirePath13beginsWithDotE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13InterfaceHash8generateE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13InterfaceName12hashToStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15InterfaceParser5parseE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15InterfaceParser5setupE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16SMLSharp__Runtime9errorNameE(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*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List6concatE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List6filterE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4SEnv4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4SEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4SEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Option3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Parser5parseE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Parser5setupE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6TextIO6inputNE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN6TextIO6outputE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN6TextIO7closeInE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename10concatPathE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename13replaceSuffixE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map6lookupE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map6removeE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map8inDomainE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map9singletonE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Map9unionWithE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename3Set3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN8Filename3Set6memberE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename6TextIO6openInE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename6suffixE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename7dirnameE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename8realPathE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename8toStringE(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 i32@_SMLFN9CoreUtils9testExistE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainfe9066b69eea2866_IO()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main00d884c96265bfea_SMLSharp_Runtime()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_main3a60343781315c1e_Option()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3446b7b079949ccf_text_io()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main6ad4d8e473c26a9c_BasicFormatters()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main34dcc998b8dca612_lib_base()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maine29d9c3af819282f_Filename()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main67a5b28ff146c353_Loc()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_maind12f270a309dc7dd_SEnv()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main44ca35c4c731682b_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainbda7a2fa42fa5d88_CoreUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadeb402e3568875f_UserError_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina8c984cf5ab1458f_Control()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main97ec6533be83b3ae_RequirePath()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main76f5db83044d8678_Parser()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainb4dea6a4db82451c_InterfaceName_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main9b3df51f850ccbaa_InterfaceParser()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main24af31a24e1cce7c_InterfaceHash()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind58a6bde06859847_LoadFileError_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_loadfe9066b69eea2866_IO(i8*)local_unnamed_addr
declare void@_SML_load00d884c96265bfea_SMLSharp_Runtime(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_load3a60343781315c1e_Option(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load3446b7b079949ccf_text_io(i8*)local_unnamed_addr
declare void@_SML_load6ad4d8e473c26a9c_BasicFormatters(i8*)local_unnamed_addr
declare void@_SML_load34dcc998b8dca612_lib_base(i8*)local_unnamed_addr
declare void@_SML_loade29d9c3af819282f_Filename(i8*)local_unnamed_addr
declare void@_SML_load67a5b28ff146c353_Loc(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_loadd12f270a309dc7dd_SEnv(i8*)local_unnamed_addr
declare void@_SML_load44ca35c4c731682b_Symbol(i8*)local_unnamed_addr
declare void@_SML_loadbda7a2fa42fa5d88_CoreUtils(i8*)local_unnamed_addr
declare void@_SML_loadadeb402e3568875f_UserError_ppg(i8*)local_unnamed_addr
declare void@_SML_loada8c984cf5ab1458f_Control(i8*)local_unnamed_addr
declare void@_SML_load97ec6533be83b3ae_RequirePath(i8*)local_unnamed_addr
declare void@_SML_load76f5db83044d8678_Parser(i8*)local_unnamed_addr
declare void@_SML_loadb4dea6a4db82451c_InterfaceName_ppg(i8*)local_unnamed_addr
declare void@_SML_load9b3df51f850ccbaa_InterfaceParser(i8*)local_unnamed_addr
declare void@_SML_load24af31a24e1cce7c_InterfaceHash(i8*)local_unnamed_addr
declare void@_SML_loadd58a6bde06859847_LoadFileError_ppg(i8*)local_unnamed_addr
define private void@_SML_tabbfa08e3523bacf9b8_LoadFile()#3{
unreachable
}
define void@_SML_loadfa08e3523bacf9b8_LoadFile(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@aJ,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@aJ,align 1
tail call void@_SML_loadfe9066b69eea2866_IO(i8*%a)#0
tail call void@_SML_load00d884c96265bfea_SMLSharp_Runtime(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_load3a60343781315c1e_Option(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load3446b7b079949ccf_text_io(i8*%a)#0
tail call void@_SML_load6ad4d8e473c26a9c_BasicFormatters(i8*%a)#0
tail call void@_SML_load34dcc998b8dca612_lib_base(i8*%a)#0
tail call void@_SML_loade29d9c3af819282f_Filename(i8*%a)#0
tail call void@_SML_load67a5b28ff146c353_Loc(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_loadd12f270a309dc7dd_SEnv(i8*%a)#0
tail call void@_SML_load44ca35c4c731682b_Symbol(i8*%a)#0
tail call void@_SML_loadbda7a2fa42fa5d88_CoreUtils(i8*%a)#0
tail call void@_SML_loadadeb402e3568875f_UserError_ppg(i8*%a)#0
tail call void@_SML_loada8c984cf5ab1458f_Control(i8*%a)#0
tail call void@_SML_load97ec6533be83b3ae_RequirePath(i8*%a)#0
tail call void@_SML_load76f5db83044d8678_Parser(i8*%a)#0
tail call void@_SML_loadb4dea6a4db82451c_InterfaceName_ppg(i8*%a)#0
tail call void@_SML_load9b3df51f850ccbaa_InterfaceParser(i8*%a)#0
tail call void@_SML_load24af31a24e1cce7c_InterfaceHash(i8*%a)#0
tail call void@_SML_loadd58a6bde06859847_LoadFileError_ppg(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbfa08e3523bacf9b8_LoadFile,i8*@_SML_ftabfa08e3523bacf9b8_LoadFile,i8*bitcast([2x i64]*@aI to i8*))#0
ret void
}
define void@_SML_mainfa08e3523bacf9b8_LoadFile()local_unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=load i8,i8*@aJ,align 1
%g=and i8%f,2
%h=icmp eq i8%g,0
br i1%h,label%j,label%i
i:
ret void
j:
store i8 3,i8*@aJ,align 1
tail call void@_SML_mainfe9066b69eea2866_IO()#2
tail call void@_SML_main00d884c96265bfea_SMLSharp_Runtime()#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_main3a60343781315c1e_Option()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main3446b7b079949ccf_text_io()#2
tail call void@_SML_main6ad4d8e473c26a9c_BasicFormatters()#2
tail call void@_SML_main34dcc998b8dca612_lib_base()#2
tail call void@_SML_maine29d9c3af819282f_Filename()#2
tail call void@_SML_main67a5b28ff146c353_Loc()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_maind12f270a309dc7dd_SEnv()#2
tail call void@_SML_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_mainbda7a2fa42fa5d88_CoreUtils()#2
tail call void@_SML_mainadeb402e3568875f_UserError_ppg()#2
tail call void@_SML_maina8c984cf5ab1458f_Control()#2
tail call void@_SML_main97ec6533be83b3ae_RequirePath()#2
tail call void@_SML_main76f5db83044d8678_Parser()#2
tail call void@_SML_mainb4dea6a4db82451c_InterfaceName_ppg()#2
tail call void@_SML_main9b3df51f850ccbaa_InterfaceParser()#2
tail call void@_SML_main24af31a24e1cce7c_InterfaceHash()#2
tail call void@_SML_maind58a6bde06859847_LoadFileError_ppg()#2
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%k=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%k)#0
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%o,label%n
n:
invoke void@sml_check(i32 inreg%l)
to label%o unwind label%cc
o:
%p=invoke fastcc i8*@_SMLFN8Filename3Map5emptyE(i32 inreg 1,i32 inreg 8)
to label%q unwind label%cc
q:
store i8*%p,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
store i8*%r,i8**%c,align 8
%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*null,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 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**%b,align 8
%D=load i8*,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 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**%b,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i32,i8*)*@_SMLLN8LoadFile12evalIrequireE_469 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*,i8*,i8*,i8*)*@_SMLLN8LoadFile12evalIrequireE_667 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=call i8*@sml_alloc(i32 inreg 28)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,i32*%U,align 4
%V=load i8*,i8**%b,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%S,i64 8
%Y=bitcast i8*%X to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i32,i8*)*@_SMLLN8LoadFile11loadRequireE_470 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*)*@_SMLLN8LoadFile11loadRequireE_668 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 24
%ac=bitcast i8*%ab to i32*
store i32 -2147483647,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 28)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177304,i32*%af,align 4
%ag=load i8*,i8**%b,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i32,i8*)*@_SMLLN8LoadFile16evalIrequireListE_471 to void(...)*),void(...)**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 16
%al=bitcast i8*%ak to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*)*@_SMLLN8LoadFile16evalIrequireListE_669 to void(...)*),void(...)**%al,align 8
%am=getelementptr inbounds i8,i8*%ad,i64 24
%an=bitcast i8*%am to i32*
store i32 -2147483647,i32*%an,align 4
%ao=call i8*@sml_alloc(i32 inreg 28)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177304,i32*%aq,align 4
%ar=load i8*,i8**%b,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i32,i8*)*@_SMLLN8LoadFile15loadRequireListE_472 to void(...)*),void(...)**%au,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 16
%aw=bitcast i8*%av to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*)*@_SMLLN8LoadFile15loadRequireListE_670 to void(...)*),void(...)**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ao,i64 24
%ay=bitcast i8*%ax to i32*
store i32 -2147483647,i32*%ay,align 4
%az=call i8*@sml_alloc(i32 inreg 12)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177288,i32*%aB,align 4
store i8*%az,i8**%d,align 8
%aC=load i8*,i8**%b,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**%d,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*)*@_SMLLN8LoadFile20loadProvideInterfaceE_526 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*)*@_SMLLN8LoadFile20loadProvideInterfaceE_526 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=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
store i8*%aR,i8**%e,align 8
%aU=load i8*,i8**%c,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aX=getelementptr inbounds i8,i8*%aR,i64 8
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aR,i64 16
%a0=bitcast i8*%aZ to i32*
store i32 3,i32*%a0,align 4
%a1=call i8*@sml_alloc(i32 inreg 28)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177304,i32*%a3,align 4
store i8*%a1,i8**%d,align 8
%a4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a5=bitcast i8*%a1 to i8**
store i8*%a4,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%a1,i64 8
%a7=bitcast i8*%a6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile4loadE_545 to void(...)*),void(...)**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a1,i64 16
%a9=bitcast i8*%a8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile4loadE_545 to void(...)*),void(...)**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a1,i64 24
%bb=bitcast i8*%ba to i32*
store i32 -2147483647,i32*%bb,align 4
%bc=call i8*@sml_alloc(i32 inreg 20)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177296,i32*%be,align 4
store i8*%bc,i8**%e,align 8
%bf=load i8*,i8**%c,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bc,i64 16
%bl=bitcast i8*%bk to i32*
store i32 3,i32*%bl,align 4
%bm=call i8*@sml_alloc(i32 inreg 28)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177304,i32*%bo,align 4
%bp=load i8*,i8**%e,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bm,i64 8
%bs=bitcast i8*%br to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i32,i8*)*@_SMLLN8LoadFile21loadInterfaceFileListE_546 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*,i8*,i8*,i8*)*@_SMLLN8LoadFile21loadInterfaceFileListE_686 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=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
store i8*%bx,i8**%b,align 8
%bA=load i8*,i8**%c,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bD=getelementptr inbounds i8,i8*%bx,i64 8
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bx,i64 16
%bG=bitcast i8*%bF to i32*
store i32 3,i32*%bG,align 4
%bH=call i8*@sml_alloc(i32 inreg 28)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177304,i32*%bJ,align 4
store i8*%bH,i8**%e,align 8
%bK=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile18loadInterfaceFilesE_559 to void(...)*),void(...)**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bH,i64 16
%bP=bitcast i8*%bO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile18loadInterfaceFilesE_559 to void(...)*),void(...)**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bH,i64 24
%bR=bitcast i8*%bQ to i32*
store i32 -2147483647,i32*%bR,align 4
%bS=call i8*@sml_alloc(i32 inreg 12)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177288,i32*%bU,align 4
store i8*%bS,i8**%b,align 8
%bV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bS,i64 8
%bY=bitcast i8*%bX to i32*
store i32 1,i32*%bY,align 4
%bZ=call i8*@sml_alloc(i32 inreg 28)#0
%b0=getelementptr inbounds i8,i8*%bZ,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177304,i32*%b1,align 4
%b2=load i8*,i8**%b,align 8
%b3=bitcast i8*%bZ to i8**
store i8*%b2,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bZ,i64 8
%b5=bitcast i8*%b4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile7revisitE_608 to void(...)*),void(...)**%b5,align 8
%b6=getelementptr inbounds i8,i8*%bZ,i64 16
%b7=bitcast i8*%b6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile7revisitE_608 to void(...)*),void(...)**%b7,align 8
%b8=getelementptr inbounds i8,i8*%bZ,i64 24
%b9=bitcast i8*%b8 to i32*
store i32 -2147483647,i32*%b9,align 4
%ca=load i8*,i8**%d,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 0),i8*inreg%ca)#0
%cb=load i8*,i8**%e,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 1),i8*inreg%cb)#0
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 2),i8*inreg%bZ)#0
call void@sml_end()#0
ret void
cc:
%cd=landingpad{i8*,i8*}
cleanup
%ce=extractvalue{i8*,i8*}%cd,1
call void@sml_save_exn(i8*inreg%ce)#0
call void@sml_end()#0
resume{i8*,i8*}%cd
}
define internal fastcc i8*@_SMLLN8LoadFile7consOptE_282(i8*inreg%a)unnamed_addr#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
%d=bitcast i8*%a to i8**
%e=load i8*,i8**%d,align 8
%f=icmp eq i8*%e,null
br i1%f,label%g,label%k
g:
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i8**
%j=load i8*,i8**%i,align 8
ret i8*%j
k:
%l=bitcast i8*%e to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%a,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
%t=load i8*,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,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
ret i8*%q
}
define internal fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%a)unnamed_addr#5 gc"smlsharp"{
%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
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%c,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i8**
%j=load i8*,i8**%i,align 8
store i8*%j,i8**%d,align 8
%k=load i8*,i8**@_SMLZN9UserError10UserErrorsE,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**%b,align 8
%o=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aG,i64 0,i32 2)to i8*),i8**%r,align 8
%s=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%c,align 8
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*null,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 28)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177304,i32*%I,align 4
store i8*%G,i8**%b,align 8
%J=load i8*,i8**%e,align 8
store i8*null,i8**%e,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*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@a,i64 0,i32 2,i64 0),i8**%M,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=getelementptr inbounds i8,i8*%G,i64 16
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%G,i64 24
%R=bitcast i8*%Q to i32*
store i32 7,i32*%R,align 4
%S=call i8*@sml_alloc(i32 inreg 60)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177336,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%S,i64 56
%W=bitcast i8*%V to i32*
store i32 1,i32*%W,align 4
%X=load i8*,i8**%b,align 8
%Y=bitcast i8*%S to i8**
store i8*%X,i8**%Y,align 8
call void@sml_raise(i8*inreg%S)#1
unreachable
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc9keysFoldrE_294(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
l:
%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**%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**%d,align 8
store i8*%b,i8**%i,align 8
store i8*%c,i8**%e,align 8
br label%j
j:
%k=phi i8*[%c,%l],[%bf,%be]
%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**%e,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%k,%j]
%s=icmp eq i8*%r,null
br i1%s,label%b1,label%t
t:
%u=bitcast i8*%r to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 2,label%b1
i32 1,label%bF
i32 0,label%O
]
w:
store i8*null,i8**%i,align 8
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%d,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**%e,align 8
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@b,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**%e,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*%r,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%e,align 8
%U=getelementptr inbounds i8,i8*%R,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=icmp eq i8*%W,null
br i1%X,label%bE,label%Y
Y:
%Z=bitcast i8*%W to i32*
%aa=load i32,i32*%Z,align 4
switch i32%aa,label%ab[
i32 2,label%bE
i32 1,label%bg
i32 0,label%at
]
ab:
store i8*null,i8**%e,align 8
store i8*null,i8**%i,align 8
call void@sml_matchcomp_bug()
%ac=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ac,i8**%d,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
store i8*%ad,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@b,i64 0,i32 2,i64 0),i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 16
%al=bitcast i8*%ak to i32*
store i32 3,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 60)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177336,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%am,i64 56
%aq=bitcast i8*%ap to i32*
store i32 1,i32*%aq,align 4
%ar=load i8*,i8**%e,align 8
%as=bitcast i8*%am to i8**
store i8*%ar,i8**%as,align 8
call void@sml_raise(i8*inreg%am)#1
unreachable
at:
%au=getelementptr inbounds i8,i8*%W,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%f,align 8
%az=getelementptr inbounds i8,i8*%aw,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%g,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**%h,align 8
%aF=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
store i8*%aM,i8**%f,align 8
%aP=bitcast i8*%aM to i64*
store i64 0,i64*%aP,align 4
%aQ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to i32*
store i32 2,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177296,i32*%aX,align 4
store i8*%aV,i8**%e,align 8
%aY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a1=getelementptr inbounds i8,i8*%aV,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aV,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%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=bitcast i8*%a5 to i64*
store i64 0,i64*%a8,align 4
%a9=load i8*,i8**%e,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to i32*
store i32 2,i32*%bd,align 4
store i8*%a5,i8**%e,align 8
br label%be
be:
%bf=phi i8*[%a5,%at],[%bD,%bg],[%T,%bE]
br label%j
bg:
%bh=getelementptr inbounds i8,i8*%W,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%f,align 8
%bk=load i8*,i8**%d,align 8
%bl=getelementptr inbounds i8,i8*%bk,i64 16
%bm=bitcast i8*%bl to i8*(i8*,i8*)**
%bn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bm,align 8
%bo=bitcast i8*%bk to i8**
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%g,align 8
%bq=call i8*@sml_alloc(i32 inreg 20)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177296,i32*%bs,align 4
%bt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bq,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
%bA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bB=call fastcc i8*%bn(i8*inreg%bA,i8*inreg%bq)
%bC=load i8*,i8**%d,align 8
%bD=load i8*,i8**%e,align 8
store i8*%bC,i8**%d,align 8
store i8*%bB,i8**%i,align 8
store i8*%bD,i8**%e,align 8
br label%be
bE:
store i8*%T,i8**%e,align 8
br label%be
bF:
%bG=getelementptr inbounds i8,i8*%r,i64 8
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%e,align 8
%bJ=load i8*,i8**%d,align 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**%d,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
%bT=bitcast i8*%bP to i8**
store i8*%bS,i8**%bT,align 8
%bU=load i8*,i8**%i,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**%d,align 8
%b0=tail call fastcc i8*%bM(i8*inreg%bZ,i8*inreg%bP)
ret i8*%b0
b1:
%b2=load i8*,i8**%i,align 8
ret i8*%b2
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc5rmKeyE_300(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
l:
%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**%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**%f,align 8
store i8*%c,i8**%d,align 8
br label%j
j:
%k=phi i8*[%b,%l],[%bg,%bf]
%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**%f,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%k,%j]
%s=icmp eq i8*%r,null
br i1%s,label%cV,label%t
t:
%u=bitcast i8*%r to i32*
%v=load i32,i32*%u,align 4
switch i32%v,label%w[
i32 2,label%cV
i32 1,label%ch
i32 0,label%O
]
w:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%x=load i8*,i8**@_SMLZ5Match,align 8
store i8*%x,i8**%d,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**%e,align 8
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@c,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**%e,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*%r,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=getelementptr inbounds i8,i8*%R,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=icmp eq i8*%W,null
br i1%X,label%cf,label%Y
Y:
%Z=bitcast i8*%W to i32*
%aa=load i32,i32*%Z,align 4
switch i32%aa,label%ab[
i32 2,label%cf
i32 1,label%bh
i32 0,label%at
]
ab:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%ac=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ac,i8**%d,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
store i8*%ad,i8**%e,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[65x i8]}>,<{[4x i8],i32,[65x i8]}>*@c,i64 0,i32 2,i64 0),i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 16
%al=bitcast i8*%ak to i32*
store i32 3,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 60)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177336,i32*%ao,align 4
%ap=getelementptr inbounds i8,i8*%am,i64 56
%aq=bitcast i8*%ap to i32*
store i32 1,i32*%aq,align 4
%ar=load i8*,i8**%e,align 8
%as=bitcast i8*%am to i8**
store i8*%ar,i8**%as,align 8
call void@sml_raise(i8*inreg%am)#1
unreachable
at:
%au=getelementptr inbounds i8,i8*%W,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%g,align 8
%az=getelementptr inbounds i8,i8*%aw,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%h,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**%i,align 8
%aF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%g,align 8
store i8*null,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=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
store i8*%aM,i8**%g,align 8
%aP=bitcast i8*%aM to i64*
store i64 0,i64*%aP,align 4
%aQ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to i32*
store i32 2,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177296,i32*%aX,align 4
store i8*%aV,i8**%f,align 8
%aY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aZ=bitcast i8*%aV to i8**
store i8*%aY,i8**%aZ,align 8
%a0=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a1=getelementptr inbounds i8,i8*%aV,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aV,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%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=bitcast i8*%a5 to i64*
store i64 0,i64*%a8,align 4
%a9=load i8*,i8**%f,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to i32*
store i32 2,i32*%bd,align 4
%be=load i8*,i8**%d,align 8
store i8*%a5,i8**%f,align 8
store i8*%be,i8**%d,align 8
br label%bf
bf:
%bg=phi i8*[%a5,%at],[%ce,%bI],[%T,%cf]
br label%j
bh:
%bi=getelementptr inbounds i8,i8*%W,i64 8
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%g,align 8
%bl=load i8*,i8**%e,align 8
%bm=call i32@sml_obj_equal(i8*inreg%bk,i8*inreg%bl)#0
%bn=icmp eq i32%bm,0
br i1%bn,label%bI,label%bo
bo:
store i8*null,i8**%e,align 8
store i8*null,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
store i8*%bp,i8**%e,align 8
%bs=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bv=getelementptr inbounds i8,i8*%bp,i64 8
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bp,i64 16
%by=bitcast i8*%bx to i32*
store i32 3,i32*%by,align 4
%bz=call i8*@sml_alloc(i32 inreg 20)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
%bC=bitcast i8*%bz to i64*
store i64 0,i64*%bC,align 4
%bD=load i8*,i8**%e,align 8
%bE=getelementptr inbounds i8,i8*%bz,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bz,i64 16
%bH=bitcast i8*%bG to i32*
store i32 2,i32*%bH,align 4
ret i8*%bz
bI:
%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**%h,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 1,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
store i8*%bU,i8**%g,align 8
%bX=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=getelementptr inbounds i8,i8*%bU,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bU,i64 16
%b3=bitcast i8*%b2 to i32*
store i32 3,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=bitcast i8*%b4 to i64*
store i64 0,i64*%b7,align 4
%b8=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b9=getelementptr inbounds i8,i8*%b4,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 16
%cc=bitcast i8*%cb to i32*
store i32 2,i32*%cc,align 4
%cd=load i8*,i8**%e,align 8
%ce=load i8*,i8**%f,align 8
store i8*%cd,i8**%e,align 8
store i8*%ce,i8**%f,align 8
store i8*%b4,i8**%d,align 8
br label%bf
cf:
%cg=load i8*,i8**%d,align 8
store i8*%T,i8**%f,align 8
store i8*%cg,i8**%d,align 8
br label%bf
ch:
%ci=getelementptr inbounds i8,i8*%r,i64 8
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%f,align 8
%cl=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cm=call i32@sml_obj_equal(i8*inreg%ck,i8*inreg%cl)#0
%cn=icmp eq i32%cm,0
br i1%cn,label%cq,label%co
co:
%cp=load i8*,i8**%d,align 8
ret i8*%cp
cq:
%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 1,i32*%cw,align 4
%cx=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cy=getelementptr inbounds i8,i8*%cr,i64 8
%cz=bitcast i8*%cy to i8**
store i8*%cx,i8**%cz,align 8
%cA=getelementptr inbounds i8,i8*%cr,i64 16
%cB=bitcast i8*%cA to i32*
store i32 2,i32*%cB,align 4
%cC=call i8*@sml_alloc(i32 inreg 20)#0
%cD=getelementptr inbounds i8,i8*%cC,i64 -4
%cE=bitcast i8*%cD to i32*
store i32 1342177296,i32*%cE,align 4
store i8*%cC,i8**%e,align 8
%cF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cG=bitcast i8*%cC to i8**
store i8*%cF,i8**%cG,align 8
%cH=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cI=getelementptr inbounds i8,i8*%cC,i64 8
%cJ=bitcast i8*%cI to i8**
store i8*%cH,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cC,i64 16
%cL=bitcast i8*%cK to i32*
store i32 3,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
%cP=bitcast i8*%cM to i64*
store i64 0,i64*%cP,align 4
%cQ=load i8*,i8**%e,align 8
%cR=getelementptr inbounds i8,i8*%cM,i64 8
%cS=bitcast i8*%cR to i8**
store i8*%cQ,i8**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cM,i64 16
%cU=bitcast i8*%cT to i32*
store i32 2,i32*%cU,align 4
ret i8*%cM
cV:
%cW=load i8*,i8**%d,align 8
ret i8*%cW
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_310(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i8**
%k=load i8*,i8**%j,align 8
%l=getelementptr inbounds i8,i8*%h,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
%o=tail call fastcc i8*@_SMLLN8LoadFile5Assoc5rmKeyE_300(i8*inreg%k,i8*inreg%n,i8*inreg null)
ret i8*%o
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_312(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**%g,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%p
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c to i8****
%n=load i8***,i8****%m,align 8
%o=bitcast i8***%n to i8*
br label%p
p:
%q=phi i8*[%o,%l],[%b,%j]
%r=phi i8***[%n,%l],[%k,%j]
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=bitcast i8***%r 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*%q,i64 8
%A=bitcast i8*%z 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 fastcc i8*@_SMLFN8Filename3Map9unionWithE(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
%J=bitcast i8**%g to i8***
%K=load i8**,i8***%J,align 8
store i8*null,i8**%g,align 8
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*%G(i8*inreg%I,i8*inreg%L)
%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=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**%d,align 8
store i8*null,i8**%d,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%S,i64 16
%ab=bitcast i8*%aa to i32*
store i32 3,i32*%ab,align 4
%ac=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ad=call fastcc i8*%P(i8*inreg%ac,i8*inreg%S)
store i8*%ad,i8**%d,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%ae,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**%e,align 8
%am=call fastcc i8*@_SMLLN8LoadFile5Assoc9keysFoldrE_294(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*),i8*inreg%ak,i8*inreg%al)
store i8*%am,i8**%c,align 8
%an=call i8*@sml_alloc(i32 inreg 20)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177296,i32*%ap,align 4
store i8*%an,i8**%f,align 8
%aq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%at=getelementptr inbounds i8,i8*%an,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%an,i64 16
%aw=bitcast i8*%av to i32*
store i32 3,i32*%aw,align 4
%ax=call i8*@sml_alloc(i32 inreg 20)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177296,i32*%az,align 4
store i8*%ax,i8**%c,align 8
%aA=bitcast i8*%ax to i64*
store i64 0,i64*%aA,align 4
%aB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aC=getelementptr inbounds i8,i8*%ax,i64 8
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 16
%aF=bitcast i8*%aE to i32*
store i32 2,i32*%aF,align 4
%aG=call i8*@sml_alloc(i32 inreg 20)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177296,i32*%aI,align 4
%aJ=load i8*,i8**%d,align 8
%aK=bitcast i8*%aG to i8**
store i8*%aJ,i8**%aK,align 8
%aL=load i8*,i8**%c,align 8
%aM=getelementptr inbounds i8,i8*%aG,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aG,i64 16
%aP=bitcast i8*%aO to i32*
store i32 3,i32*%aP,align 4
ret i8*%aG
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc9listItemsE_319(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
store i8*%r,i8**%d,align 8
%s=call fastcc i8*@_SMLFN8Filename3Map6lookupE(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**%f,align 8
%y=bitcast i8**%e to i8***
%z=load i8**,i8***%y,align 8
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%e,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%M=call fastcc i8*%v(i8*inreg%L,i8*inreg%B)
store i8*%M,i8**%c,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
%Q=load i8*,i8**%c,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=load i8*,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%N,i64 8
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%N,i64 16
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
ret i8*%N
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_324(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%p
l:
call void@sml_check(i32 inreg%h)
%m=load i8*,i8**%c,align 8
%n=bitcast i8**%e to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%l],[%k,%j]
%r=phi i8*[%m,%l],[%b,%j]
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%r,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%d,align 8
%x=load i8*,i8**%q,align 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**%g,align 8
%D=call fastcc i8*@_SMLFN8Filename3Map6lookupE(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=load i8*,i8**%e,align 8
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,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
%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=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%T=getelementptr inbounds i8,i8*%N,i64 8
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%N,i64 16
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
%X=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=call fastcc i8*%G(i8*inreg%X,i8*inreg%N)
%Z=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aa=call fastcc i8*%A(i8*inreg%Z,i8*inreg%Y)
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
%ae=load i8*,i8**%c,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%d,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
ret i8*%ab
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_327(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%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%i,label%l
i:
%j=bitcast i8*%a to i8**
%k=bitcast i8*%b to i8**
br label%q
l:
call void@sml_check(i32 inreg%g)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%e to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%l],[%j,%i]
%s=phi i8**[%n,%l],[%k,%i]
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=load i8*,i8**%r,align 8
store i8*%u,i8**%e,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%f,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%v,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
%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=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc7collectE_324 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc7collectE_324 to void(...)*),void(...)**%N,align 8
%O=getelementptr inbounds i8,i8*%F,i64 24
%P=bitcast i8*%O to i32*
store i32 -2147483647,i32*%P,align 4
%Q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=invoke fastcc i8*@_SMLLN8LoadFile5Assoc9keysFoldrE_294(i8*inreg%F,i8*inreg null,i8*inreg%T)
to label%aG unwind label%V
V:
%W=landingpad{i8*,i8*}
catch i8*null
%X=extractvalue{i8*,i8*}%W,1
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%c,align 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=load i8*,i8**@_SMLZN7LibBase8NotFoundE,align 8
%ad=icmp eq i8*%ab,%ac
br i1%ad,label%ae,label%ay
ae:
%af=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%af,i8**%c,align 8
%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
store i8*%ag,i8**%d,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@i,i64 0,i32 2,i64 0),i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[14x i8]}>,<{[4x i8],i32,[14x i8]}>*@j,i64 0,i32 2,i64 0),i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 24
%aq=bitcast i8*%ap to i32*
store i32 7,i32*%aq,align 4
%ar=call i8*@sml_alloc(i32 inreg 60)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177336,i32*%at,align 4
%au=getelementptr inbounds i8,i8*%ar,i64 56
%av=bitcast i8*%au to i32*
store i32 1,i32*%av,align 4
%aw=load i8*,i8**%d,align 8
%ax=bitcast i8*%ar to i8**
store i8*%aw,i8**%ax,align 8
call void@sml_raise(i8*inreg%ar)#1
unreachable
ay:
%az=call i8*@sml_alloc(i32 inreg 60)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177336,i32*%aB,align 4
%aC=getelementptr inbounds i8,i8*%az,i64 56
%aD=bitcast i8*%aC to i32*
store i32 1,i32*%aD,align 4
%aE=load i8*,i8**%c,align 8
%aF=bitcast i8*%az to i8**
store i8*%aE,i8**%aF,align 8
call void@sml_raise(i8*inreg%az)#1
unreachable
aG:
ret i8*%U
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc14collectPartialE_332(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call fastcc i8*@_SMLFN8Filename3Map4findE(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**%g,align 8
%z=load i8*,i8**%e,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i8**
%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
%G=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,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**%g,align 8
store i8*null,i8**%g,align 8
%O=call fastcc i8*%w(i8*inreg%N,i8*inreg%D)
%P=icmp eq i8*%O,null
br i1%P,label%Q,label%ak
Q:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%R=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%R,i8**%c,align 8
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,i32*%U,align 4
store i8*%S,i8**%d,align 8
%V=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%S,i64 8
%Y=bitcast i8*%X to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@k,i64 0,i32 2,i64 0),i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@l,i64 0,i32 2,i64 0),i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 24
%ac=bitcast i8*%ab to i32*
store i32 7,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 60)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177336,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 56
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=bitcast i8*%O to i8**
%am=load i8*,i8**%al,align 8
%an=bitcast i8**%e to i8***
%ao=load i8**,i8***%an,align 8
%ap=load i8*,i8**%ao,align 8
%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
store i8*null,i8**%e,align 8
%at=bitcast i8**%ao to i8***
%au=load i8**,i8***%at,align 8
%av=load i8*,i8**%au,align 8
%aw=call fastcc i8*%as(i8*inreg%av,i8*inreg%am)
store i8*%aw,i8**%c,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**%c,align 8
%aB=bitcast i8*%ax to i8**
store i8*%aA,i8**%aB,align 8
%aC=load i8*,i8**%d,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=tail call fastcc i8*@_SMLLN8LoadFile7consOptE_282(i8*inreg%ax)
ret i8*%aH
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc14collectPartialE_333(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**%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%i,label%l
i:
%j=bitcast i8*%a to i8**
%k=bitcast i8*%b to i8**
br label%q
l:
call void@sml_check(i32 inreg%g)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
%o=bitcast i8**%e to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%l],[%j,%i]
%s=phi i8**[%n,%l],[%k,%i]
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=load i8*,i8**%r,align 8
store i8*%u,i8**%e,align 8
%v=call i8*@sml_alloc(i32 inreg 20)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177296,i32*%x,align 4
store i8*%v,i8**%f,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%v,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
%I=load i8*,i8**%f,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc14collectPartialE_332 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc14collectPartialE_332 to void(...)*),void(...)**%N,align 8
%O=getelementptr inbounds i8,i8*%F,i64 24
%P=bitcast i8*%O to i32*
store i32 -2147483647,i32*%P,align 4
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=tail call fastcc i8*@_SMLLN8LoadFile5Assoc9keysFoldrE_294(i8*inreg%F,i8*inreg null,i8*inreg%T)
ret i8*%U
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(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**%g,i8*null)#0
store i8*%a,i8**%g,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**%g,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
store i8*null,i8**%g,align 8
%o=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
%p=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%p)
%q=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%q)
%r=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%r)
%s=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%s)
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
store i8*%m,i8**%b,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**%b,align 8
br label%x
x:
%y=phi i8*[%w,%v],[%m,%l]
%z=bitcast i8*%y to i8**
%A=bitcast i8*%y to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%c,align 8
%D=load i8*,i8**%z,align 8
%E=getelementptr inbounds i8,i8*%D,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%d,align 8
%H=getelementptr inbounds i8,i8*%y,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%e,align 8
%K=getelementptr inbounds i8,i8*%y,i64 16
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%b,align 8
%N=call fastcc i8*@_SMLFN8Filename3Map6insertE(i32 inreg 1,i32 inreg 8)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%f,align 8
%T=call i8*@sml_alloc(i32 inreg 28)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
%W=load i8*,i8**%c,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%e,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%T,i64 24
%af=bitcast i8*%ae to i32*
store i32 7,i32*%af,align 4
%ag=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ah=call fastcc i8*%Q(i8*inreg%ag,i8*inreg%T)
store i8*%ah,i8**%b,align 8
%ai=call fastcc i8*@_SMLFN8Filename3Map8inDomainE(i32 inreg 1,i32 inreg 8)
%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
store i8*%an,i8**%f,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
store i8*null,i8**%c,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=load i8*,i8**%e,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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%az=call fastcc i8*%al(i8*inreg%ay,i8*inreg%ao)
%aA=bitcast i8*%az to i32*
%aB=load i32,i32*%aA,align 4
%aC=icmp eq i32%aB,0
br i1%aC,label%aF,label%aD
aD:
store i8*null,i8**%e,align 8
%aE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
br label%ba
aF:
%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**%f,align 8
%aJ=getelementptr inbounds i8,i8*%aG,i64 4
%aK=bitcast i8*%aJ to i32*
store i32 0,i32*%aK,align 1
%aL=bitcast i8*%aG to i32*
store i32 1,i32*%aL,align 4
%aM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 8
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 2,i32*%aQ,align 4
%aR=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
store i8*%aR,i8**%c,align 8
%aU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aX=getelementptr inbounds i8,i8*%aR,i64 8
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aR,i64 16
%a0=bitcast i8*%aZ to i32*
store i32 3,i32*%a0,align 4
%a1=call i8*@sml_alloc(i32 inreg 20)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177296,i32*%a3,align 4
%a4=bitcast i8*%a1 to i64*
store i64 0,i64*%a4,align 4
%a5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%a1,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a1,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 2,i32*%a9,align 4
br label%ba
ba:
%bb=phi i8*[%a1,%aF],[%aE,%aD]
store i8*%bb,i8**%c,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**%b,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=load i8*,i8**%c,align 8
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bc,i64 16
%bl=bitcast i8*%bk to i32*
store i32 3,i32*%bl,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%s)
ret i8*%bc
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_338(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**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*null,i8**%d,align 8
%l=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%l)
%m=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%m)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%j,i8**%b,align 8
%n=call i8*@sml_alloc(i32 inreg 12)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177288,i32*%p,align 4
store i8*%n,i8**%c,align 8
%q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc7collectE_327 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc7collectE_327 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%l)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
ret i8*%u
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc14collectPartialE_340(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**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*null,i8**%d,align 8
%l=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%l)
%m=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%m)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%j,i8**%b,align 8
%n=call i8*@sml_alloc(i32 inreg 12)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177288,i32*%p,align 4
store i8*%n,i8**%c,align 8
%q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc14collectPartialE_333 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc14collectPartialE_333 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%l)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
ret i8*%u
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(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**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*null,i8**%d,align 8
%l=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%l)
%m=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%m)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%j,i8**%b,align 8
%n=call i8*@sml_alloc(i32 inreg 12)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177288,i32*%p,align 4
store i8*%n,i8**%c,align 8
%q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc10concatWithE_312 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc10concatWithE_312 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%l)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
ret i8*%u
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc4findE_344(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=load i8*,i8**%m,align 8
store i8*%n,i8**%b,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call fastcc i8*@_SMLFN8Filename3Map4findE(i32 inreg 1,i32 inreg 8)
%s=getelementptr inbounds i8,i8*%r,i64 16
%t=bitcast i8*%s to i8*(i8*,i8*)**
%u=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t,align 8
%v=bitcast i8*%r to i8**
%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
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%x,i64 16
%G=bitcast i8*%F to i32*
store i32 3,i32*%G,align 4
%H=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%I=call fastcc i8*%u(i8*inreg%H,i8*inreg%x)
ret i8*%I
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc9listItemsE_346(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**%e,i8*null)#0
store i8*%a,i8**%e,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%e,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
store i8*null,i8**%e,align 8
%m=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%m)
%n=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%n)
%o=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
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*%k,i8**%b,align 8
%p=load atomic i32,i32*@sml_check_flag unordered,align 4
%q=icmp eq i32%p,0
br i1%q,label%r,label%t
r:
%s=bitcast i8*%k to i8**
br label%w
t:
call void@sml_check(i32 inreg%p)
%u=bitcast i8**%b to i8***
%v=load i8**,i8***%u,align 8
br label%w
w:
%x=phi i8**[%v,%t],[%s,%r]
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%c,align 8
%z=call i8*@sml_alloc(i32 inreg 12)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177288,i32*%B,align 4
store i8*%z,i8**%d,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 28)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177304,i32*%I,align 4
%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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc9listItemsE_319 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc9listItemsE_319 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%G,i64 24
%Q=bitcast i8*%P to i32*
store i32 -2147483647,i32*%Q,align 4
%R=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%S=getelementptr inbounds i8,i8*%R,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=invoke fastcc i8*@_SMLLN8LoadFile5Assoc9keysFoldrE_294(i8*inreg%G,i8*inreg null,i8*inreg%U)
to label%aH unwind label%W
W:
%X=landingpad{i8*,i8*}
catch i8*null
%Y=extractvalue{i8*,i8*}%X,1
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%b,align 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
%ad=load i8*,i8**@_SMLZN7LibBase8NotFoundE,align 8
%ae=icmp eq i8*%ac,%ad
br i1%ae,label%af,label%az
af:
%ag=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ag,i8**%b,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**%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,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@g,i64 0,i32 2,i64 0),i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ah,i64 16
%ap=bitcast i8*%ao to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@h,i64 0,i32 2,i64 0),i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%ah,i64 24
%ar=bitcast i8*%aq to i32*
store i32 7,i32*%ar,align 4
%as=call i8*@sml_alloc(i32 inreg 60)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177336,i32*%au,align 4
%av=getelementptr inbounds i8,i8*%as,i64 56
%aw=bitcast i8*%av to i32*
store i32 1,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
%ay=bitcast i8*%as to i8**
store i8*%ax,i8**%ay,align 8
call void@sml_raise(i8*inreg%as)#1
unreachable
az:
%aA=call i8*@sml_alloc(i32 inreg 60)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177336,i32*%aC,align 4
%aD=getelementptr inbounds i8,i8*%aA,i64 56
%aE=bitcast i8*%aD to i32*
store i32 1,i32*%aE,align 4
%aF=load i8*,i8**%b,align 8
%aG=bitcast i8*%aA to i8**
store i8*%aF,i8**%aG,align 8
call void@sml_raise(i8*inreg%aA)#1
unreachable
aH:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
ret i8*%V
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc3mapE_348(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=call fastcc i8*@_SMLFN8Filename3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=bitcast i8**%e to i8***
%w=load i8**,i8***%v,align 8
store i8*null,i8**%e,align 8
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*%s(i8*inreg%u,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=bitcast i8**%c to i8***
%F=load i8**,i8***%E,align 8
store i8*null,i8**%c,align 8
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*%B(i8*inreg%D,i8*inreg%G)
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**%c,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=load i8*,i8**%d,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
ret i8*%I
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc6removeE_351(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
m:
%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
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,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**%f,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
store i8*null,i8**%f,align 8
%n=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%n)
%o=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
%p=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%p)
%q=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%q)
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*%l,i8**%b,align 8
%r=load atomic i32,i32*@sml_check_flag unordered,align 4
%s=icmp eq i32%r,0
br i1%s,label%t,label%v
t:
%u=bitcast i8*%l to i8***
br label%y
v:
call void@sml_check(i32 inreg%r)
%w=bitcast i8**%b to i8****
%x=load i8***,i8****%w,align 8
br label%y
y:
%z=phi i8***[%x,%v],[%u,%t]
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%c,align 8
%C=getelementptr inbounds i8**,i8***%z,i64 1
%D=bitcast i8***%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%d,align 8
%F=invoke fastcc i8*@_SMLFN8Filename3Map6removeE(i32 inreg 1,i32 inreg 8)
to label%G unwind label%Y
G:
%H=getelementptr inbounds i8,i8*%F,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%F to i8**
%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
%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=load i8*,i8**%d,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**%e,align 8
store i8*null,i8**%e,align 8
%X=invoke fastcc i8*%J(i8*inreg%W,i8*inreg%M)
to label%aJ unwind label%Y
Y:
%Z=landingpad{i8*,i8*}
catch i8*null
%aa=extractvalue{i8*,i8*}%Z,1
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*%ac,i8**%b,align 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
%af=load i8*,i8**@_SMLZN7LibBase8NotFoundE,align 8
%ag=icmp eq i8*%ae,%af
br i1%ag,label%ah,label%aB
ah:
%ai=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ai,i8**%b,align 8
%aj=call i8*@sml_alloc(i32 inreg 28)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177304,i32*%al,align 4
store i8*%aj,i8**%c,align 8
%am=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@e,i64 0,i32 2,i64 0),i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 16
%ar=bitcast i8*%aq to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@f,i64 0,i32 2,i64 0),i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 24
%at=bitcast i8*%as to i32*
store i32 7,i32*%at,align 4
%au=call i8*@sml_alloc(i32 inreg 60)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177336,i32*%aw,align 4
%ax=getelementptr inbounds i8,i8*%au,i64 56
%ay=bitcast i8*%ax to i32*
store i32 1,i32*%ay,align 4
%az=load i8*,i8**%c,align 8
%aA=bitcast i8*%au to i8**
store i8*%az,i8**%aA,align 8
call void@sml_raise(i8*inreg%au)#1
unreachable
aB:
%aC=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**%b,align 8
%aI=bitcast i8*%aC to i8**
store i8*%aH,i8**%aI,align 8
call void@sml_raise(i8*inreg%aC)#1
unreachable
aJ:
%aK=bitcast i8*%X to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%c,align 8
%aM=bitcast i8**%b to i8***
%aN=load i8**,i8***%aM,align 8
store i8*null,i8**%b,align 8
%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**%d,align 8
store i8*null,i8**%d,align 8
%aT=call fastcc i8*@_SMLLN8LoadFile5Assoc5rmKeyE_300(i8*inreg%aS,i8*inreg%aR,i8*inreg null)
store i8*%aT,i8**%b,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
%aX=load i8*,i8**%c,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=load i8*,i8**%b,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
ret i8*%aU
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc9singletonE_353(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
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**%e,i8*null)#0
store i8*%a,i8**%e,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%e,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
store i8*null,i8**%e,align 8
%m=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%m)
%n=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%n)
%o=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
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*%k,i8**%b,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**%b,align 8
br label%t
t:
%u=phi i8*[%s,%r],[%k,%j]
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%u,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%b,align 8
%A=call fastcc i8*@_SMLFN8Filename3Map9singletonE(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**%d,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
%J=load i8*,i8**%c,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%G,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
%Q=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%R=call fastcc i8*%D(i8*inreg%Q,i8*inreg%G)
store i8*%R,i8**%b,align 8
%S=call i8*@sml_alloc(i32 inreg 20)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177296,i32*%U,align 4
store i8*%S,i8**%d,align 8
%V=getelementptr inbounds i8,i8*%S,i64 4
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 1
%X=bitcast i8*%S to i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 16
%ac=bitcast i8*%ab to i32*
store i32 2,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 20)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177296,i32*%af,align 4
%ag=load i8*,i8**%b,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%d,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
ret i8*%ad
}
define internal fastcc i8*@_SMLLN8LoadFile14openFileOnPathE_358(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
j:
%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
br label%h
h:
%i=phi i8*[%a,%j],[%bL,%bH]
%k=phi i8*[%b,%j],[%bM,%bH]
store i8*%i,i8**%c,align 8
store i8*%k,i8**%d,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
%p=load i8*,i8**%d,align 8
br label%q
q:
%r=phi i8*[%p,%n],[%k,%h]
%s=phi i8*[%o,%n],[%i,%h]
store i8*null,i8**%d,align 8
store i8*%r,i8**%e,align 8
store i8*%s,i8**%f,align 8
%t=icmp eq i8*%s,null
br i1%t,label%u,label%B
u:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%v=call i8*@sml_alloc(i32 inreg 60)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177336,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%v,i64 56
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=bitcast i8*%v to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@p,i64 0,i32 2)to i8*),i8**%A,align 8
call void@sml_raise(i8*inreg%v)#1
unreachable
B:
%C=bitcast i8*%s to i8**
%D=load i8*,i8**%C,align 8
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=getelementptr inbounds i8,i8*%D,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%c,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
%M=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%e,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=call fastcc i8*@_SMLFN8Filename10concatPathE(i8*inreg%J)
store i8*%T,i8**%c,align 8
%U=invoke fastcc i8*@_SMLFN8Filename6TextIO6openInE(i8*inreg%T)
to label%bd unwind label%V
V:
%W=landingpad{i8*,i8*}
catch i8*null
%X=extractvalue{i8*,i8*}%W,1
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*null,i8**%d,align 8
store i8*%Z,i8**%c,align 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=load i8*,i8**@_SMLZN2IO2IoE,align 8
%ad=icmp eq i8*%ab,%ac
br i1%ad,label%ae,label%a5
ae:
%af=getelementptr inbounds i8,i8*%Z,i64 16
%ag=bitcast i8*%af to i8***
%ah=load i8**,i8***%ag,align 8
%ai=load i8*,i8**%ah,align 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=load i8*,i8**@_SMLZN16SMLSharp__Runtime6SysErrE,align 8
%am=icmp eq i8*%ak,%al
br i1%am,label%an,label%aX
an:
%ao=getelementptr inbounds i8,i8*%ai,i64 16
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=icmp eq i8*%at,null
br i1%au,label%aX,label%av
av:
%aw=bitcast i8*%at to i32*
%ax=load i32,i32*%aw,align 4
%ay=call fastcc i8*@_SMLFN16SMLSharp__Runtime9errorNameE(i32 inreg%ax)
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
%aB=load i32,i32*%aA,align 4
%aC=and i32%aB,268435455
%aD=icmp eq i32%aC,6
br i1%aD,label%aE,label%aX
aE:
%aF=load i8,i8*%ay,align 1
%aG=icmp eq i8%aF,110
br i1%aG,label%aH,label%aX
aH:
%aI=getelementptr inbounds i8,i8*%ay,i64 1
%aJ=load i8,i8*%aI,align 1
%aK=icmp eq i8%aJ,111
br i1%aK,label%aL,label%aX
aL:
%aM=getelementptr inbounds i8,i8*%ay,i64 2
%aN=load i8,i8*%aM,align 1
%aO=icmp eq i8%aN,101
br i1%aO,label%aP,label%aX
aP:
%aQ=getelementptr inbounds i8,i8*%ay,i64 3
%aR=load i8,i8*%aQ,align 1
%aS=icmp eq i8%aR,110
br i1%aS,label%aT,label%aX
aT:
%aU=getelementptr inbounds i8,i8*%ay,i64 4
%aV=load i8,i8*%aU,align 1
%aW=icmp eq i8%aV,116
br i1%aW,label%bH,label%aX
aX:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%aY=call i8*@sml_alloc(i32 inreg 60)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177336,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aY,i64 56
%a2=bitcast i8*%a1 to i32*
store i32 1,i32*%a2,align 4
%a3=load i8*,i8**%c,align 8
%a4=bitcast i8*%aY to i8**
store i8*%a3,i8**%a4,align 8
call void@sml_raise(i8*inreg%aY)#1
unreachable
a5:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%a6=call i8*@sml_alloc(i32 inreg 60)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177336,i32*%a8,align 4
%a9=getelementptr inbounds i8,i8*%a6,i64 56
%ba=bitcast i8*%a9 to i32*
store i32 1,i32*%ba,align 4
%bb=load i8*,i8**%c,align 8
%bc=bitcast i8*%a6 to i8**
store i8*%bb,i8**%bc,align 8
call void@sml_raise(i8*inreg%a6)#1
unreachable
bd:
store i8*%U,i8**%d,align 8
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
store i8*%be,i8**%g,align 8
%bh=getelementptr inbounds i8,i8*%be,i64 4
%bi=bitcast i8*%bh to i32*
store i32 0,i32*%bi,align 1
%bj=bitcast i8*%be to i32*
store i32%F,i32*%bj,align 4
%bk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 8
%bm=bitcast i8*%bl to i8**
store i8*%bk,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%be,i64 16
%bo=bitcast i8*%bn to i32*
store i32 2,i32*%bo,align 4
%bp=call i8*@sml_alloc(i32 inreg 20)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177296,i32*%br,align 4
store i8*%bp,i8**%c,align 8
%bs=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bv=getelementptr inbounds i8,i8*%bp,i64 8
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bp,i64 16
%by=bitcast i8*%bx to i32*
store i32 3,i32*%by,align 4
%bz=call i8*@sml_alloc(i32 inreg 12)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177288,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=getelementptr inbounds i8,i8*%bz,i64 8
%bF=bitcast i8*%bE to i32*
store i32 1,i32*%bF,align 4
%bG=icmp eq i8*%bz,null
br i1%bG,label%bH,label%bN
bH:
%bI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bJ=getelementptr inbounds i8,i8*%bI,i64 8
%bK=bitcast i8*%bJ to i8**
%bL=load i8*,i8**%bK,align 8
%bM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
br label%h
bN:
ret i8*%bC
}
define internal fastcc i32@_SMLLN8LoadFile8openPathE_364(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=icmp eq i32%c,0
%e=zext i1%d to i32
ret i32%e
}
define internal fastcc i8*@_SMLLN8LoadFile8openPathE_366(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=call fastcc i8*@_SMLFN8Filename6TextIO6openInE(i8*inreg%k)
store i8*%m,i8**%d,align 8
%n=bitcast i8**%e to i32**
%o=load i32*,i32**%n,align 8
store i8*null,i8**%e,align 8
%p=load i32,i32*%o,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
store i8*%q,i8**%e,align 8
%t=getelementptr inbounds i8,i8*%q,i64 4
%u=bitcast i8*%t to i32*
store i32 0,i32*%u,align 1
%v=bitcast i8*%q to i32*
store i32%p,i32*%v,align 4
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%q,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%q,i64 16
%A=bitcast i8*%z to i32*
store i32 2,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%d,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%e,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
ret i8*%B
}
define internal fastcc i8*@_SMLLN8LoadFile8openPathE_375(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%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%m
j:
%k=bitcast i8*%a to i8***
%l=bitcast i8*%a to i8**
br label%r
m:
call void@sml_check(i32 inreg%h)
%n=bitcast i8**%f to i8***
%o=load i8**,i8***%n,align 8
%p=load i8*,i8**%c,align 8
%q=bitcast i8**%o to i8***
br label%r
r:
%s=phi i8*[%p,%m],[%b,%j]
%t=phi i8***[%q,%m],[%k,%j]
%u=phi i8**[%o,%m],[%l,%j]
%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**%d,align 8
%z=getelementptr inbounds i8,i8*%s,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%e,align 8
%C=load i8**,i8***%t,align 8
%D=load i8*,i8**%C,align 8
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
switch i32%F,label%G[
i32 0,label%bp
i32 1,label%S
]
G:
invoke void@sml_matchcomp_bug()
to label%H unwind label%cA
H:
%I=load i8*,i8**@_SMLZ5Match,align 8
store i8*%I,i8**%d,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
%M=load i8*,i8**%d,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@t,i64 0,i32 2,i64 0),i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
store i8*%J,i8**%d,align 8
br label%cF
S:
store i8*null,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%D,i64 4
%U=bitcast i8*%T to i32*
%V=load i32,i32*%U,align 4
%W=call i8*@sml_alloc(i32 inreg 12)#0
%X=bitcast i8*%W to i32*
%Y=getelementptr inbounds i8,i8*%W,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177288,i32*%Z,align 4
store i8*%W,i8**%d,align 8
store i32%V,i32*%X,align 4
%aa=getelementptr inbounds i8,i8*%W,i64 8
%ab=bitcast i8*%aa to i32*
store i32 0,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 28)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177304,i32*%ae,align 4
%af=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile8openPathE_366 to void(...)*),void(...)**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile8openPathE_366 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 24
%am=bitcast i8*%al to i32*
store i32 -2147483647,i32*%am,align 4
%an=bitcast i8**%c to i8***
%ao=load i8**,i8***%an,align 8
%ap=load i8*,i8**%ao,align 8
%aq=invoke fastcc i8*@_SMLFN11RequirePath10toFilenameE(i8*inreg%ap)
to label%ar unwind label%au
ar:
%as=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%at=invoke fastcc i8*@_SMLLN8LoadFile8openPathE_366(i8*inreg%as,i8*inreg%aq)
to label%fe unwind label%au
au:
%av=landingpad{i8*,i8*}
catch i8*null
%aw=extractvalue{i8*,i8*}%av,1
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%d,align 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=load i8*,i8**@_SMLZN2IO2IoE,align 8
%aC=icmp eq i8*%aA,%aB
br i1%aC,label%aD,label%bo
aD:
%aE=getelementptr inbounds i8,i8*%ay,i64 16
%aF=bitcast i8*%aE to i8***
%aG=load i8**,i8***%aF,align 8
%aH=load i8*,i8**%aG,align 8
%aI=bitcast i8*%aH to i8**
%aJ=load i8*,i8**%aI,align 8
%aK=load i8*,i8**@_SMLZN16SMLSharp__Runtime6SysErrE,align 8
%aL=icmp eq i8*%aJ,%aK
br i1%aL,label%aM,label%cF
aM:
%aN=getelementptr inbounds i8,i8*%aH,i64 16
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
%aT=icmp eq i8*%aS,null
br i1%aT,label%cF,label%aU
aU:
%aV=bitcast i8*%aS to i32*
%aW=load i32,i32*%aV,align 4
%aX=invoke fastcc i8*@_SMLFN16SMLSharp__Runtime9errorNameE(i32 inreg%aW)
to label%aY unwind label%cA
aY:
%aZ=getelementptr inbounds i8,i8*%aX,i64 -4
%a0=bitcast i8*%aZ to i32*
%a1=load i32,i32*%a0,align 4
%a2=and i32%a1,268435455
%a3=icmp eq i32%a2,6
br i1%a3,label%a4,label%cF
a4:
%a5=load i8,i8*%aX,align 1
%a6=icmp eq i8%a5,110
br i1%a6,label%a7,label%cF
a7:
%a8=getelementptr inbounds i8,i8*%aX,i64 1
%a9=load i8,i8*%a8,align 1
%ba=icmp eq i8%a9,111
br i1%ba,label%bb,label%cF
bb:
%bc=getelementptr inbounds i8,i8*%aX,i64 2
%bd=load i8,i8*%bc,align 1
%be=icmp eq i8%bd,101
br i1%be,label%bf,label%cF
bf:
%bg=getelementptr inbounds i8,i8*%aX,i64 3
%bh=load i8,i8*%bg,align 1
%bi=icmp eq i8%bh,110
br i1%bi,label%bj,label%cF
bj:
%bk=getelementptr inbounds i8,i8*%aX,i64 4
%bl=load i8,i8*%bk,align 1
%bm=icmp eq i8%bl,116
br i1%bm,label%bn,label%cF
bn:
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@s,i64 0,i32 2)to i8*),i8**%d,align 8
br label%cF
bo:
store i8*%ay,i8**%d,align 8
br label%cF
bp:
%bq=bitcast i8*%s to i8**
%br=getelementptr inbounds i8,i8*%D,i64 8
%bs=bitcast i8*%br to i8**
%bt=load i8*,i8**%bs,align 8
store i8*%bt,i8**%f,align 8
%bu=bitcast i8**%c to i8***
%bv=load i8*,i8**%bq,align 8
%bw=invoke fastcc i32@_SMLFN11RequirePath13beginsWithDotE(i8*inreg%bv)
to label%bx unwind label%cA
bx:
%by=icmp eq i32%bw,0
br i1%by,label%bP,label%bz
bz:
store i8*null,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**%d,align 8
%bD=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=load i8**,i8***%bu,align 8
%bK=load i8*,i8**%bJ,align 8
%bL=invoke fastcc i8*@_SMLFN11RequirePath10toFilenameE(i8*inreg%bK)
to label%bM unwind label%cA
bM:
%bN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bO=invoke fastcc i8*@_SMLLN8LoadFile14openFileOnPathE_358(i8*inreg%bN,i8*inreg%bL)
to label%fe unwind label%cA
bP:
%bQ=bitcast i8**%f to i32**
%bR=load i32*,i32**%bQ,align 8
%bS=load i32,i32*%bR,align 4
%bT=icmp eq i32%bS,0
br i1%bT,label%b0,label%bU
bU:
%bV=call i8*@sml_alloc(i32 inreg 20)#0
%bW=getelementptr inbounds i8,i8*%bV,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177296,i32*%bX,align 4
%bY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bZ=bitcast i8*%bV to i8**
store i8*%bY,i8**%bZ,align 8
br label%cn
b0:
%b1=invoke fastcc i8*@_SMLFN4List6filterE(i32 inreg 1,i32 inreg 8)
to label%b2 unwind label%cA
b2:
%b3=getelementptr inbounds i8,i8*%b1,i64 16
%b4=bitcast i8*%b3 to i8*(i8*,i8*)**
%b5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b4,align 8
%b6=bitcast i8*%b1 to i8**
%b7=load i8*,i8**%b6,align 8
%b8=invoke fastcc i8*%b5(i8*inreg%b7,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*))
to label%b9 unwind label%cA
b9:
%ca=getelementptr inbounds i8,i8*%b8,i64 16
%cb=bitcast i8*%ca to i8*(i8*,i8*)**
%cc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cb,align 8
%cd=bitcast i8*%b8 to i8**
%ce=load i8*,i8**%cd,align 8
%cf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cg=invoke fastcc i8*%cc(i8*inreg%ce,i8*inreg%cf)
to label%ch unwind label%cA
ch:
store i8*%cg,i8**%d,align 8
%ci=call i8*@sml_alloc(i32 inreg 20)#0
%cj=getelementptr inbounds i8,i8*%ci,i64 -4
%ck=bitcast i8*%cj to i32*
store i32 1342177296,i32*%ck,align 4
%cl=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cm=bitcast i8*%ci to i8**
store i8*%cl,i8**%cm,align 8
br label%cn
cn:
%co=phi i8*[%ci,%ch],[%bV,%bU]
%cp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cq=getelementptr inbounds i8,i8*%co,i64 8
%cr=bitcast i8*%cq to i8**
store i8*%cp,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%co,i64 16
%ct=bitcast i8*%cs to i32*
store i32 3,i32*%ct,align 4
store i8*%co,i8**%d,align 8
%cu=load i8**,i8***%bu,align 8
%cv=load i8*,i8**%cu,align 8
%cw=invoke fastcc i8*@_SMLFN11RequirePath10toFilenameE(i8*inreg%cv)
to label%cx unwind label%cA
cx:
%cy=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cz=invoke fastcc i8*@_SMLLN8LoadFile14openFileOnPathE_358(i8*inreg%cy,i8*inreg%cw)
to label%fe unwind label%cA
cA:
%cB=landingpad{i8*,i8*}
catch i8*null
%cC=extractvalue{i8*,i8*}%cB,1
%cD=bitcast i8*%cC to i8**
%cE=load i8*,i8**%cD,align 8
store i8*null,i8**%f,align 8
store i8*%cE,i8**%d,align 8
br label%cF
cF:
%cG=load i8*,i8**%d,align 8
%cH=bitcast i8*%cG to i8**
%cI=load i8*,i8**%cH,align 8
%cJ=load i8*,i8**@_SMLZN2IO2IoE,align 8
%cK=icmp eq i8*%cI,%cJ
br i1%cK,label%cL,label%cX
cL:
store i8*null,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**%e,align 8
%cQ=bitcast i8*%cM to i8**
store i8*%cP,i8**%cQ,align 8
%cR=load i8*,i8**%d,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=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%cM)
unreachable
cX:
%cY=load i8*,i8**@_SMLZN11RequirePath4PathE,align 8
%cZ=icmp eq i8*%cI,%cY
br i1%cZ,label%c0,label%eC
c0:
store i8*null,i8**%d,align 8
%c1=getelementptr inbounds i8,i8*%cG,i64 16
%c2=bitcast i8*%c1 to i32*
%c3=load i32,i32*%c2,align 4
switch i32%c3,label%c4[
i32 2,label%eg
i32 0,label%dO
i32 1,label%dm
]
c4:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%c5=load i8*,i8**@_SMLZ5Match,align 8
store i8*%c5,i8**%c,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
store i8*%c6,i8**%d,align 8
%c9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%da=bitcast i8*%c6 to i8**
store i8*%c9,i8**%da,align 8
%db=getelementptr inbounds i8,i8*%c6,i64 8
%dc=bitcast i8*%db to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@y,i64 0,i32 2,i64 0),i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c6,i64 16
%de=bitcast i8*%dd to i32*
store i32 3,i32*%de,align 4
%df=call i8*@sml_alloc(i32 inreg 60)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177336,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%df,i64 56
%dj=bitcast i8*%di to i32*
store i32 1,i32*%dj,align 4
%dk=load i8*,i8**%d,align 8
%dl=bitcast i8*%df to i8**
store i8*%dk,i8**%dl,align 8
call void@sml_raise(i8*inreg%df)#1
unreachable
dm:
store i8*null,i8**%f,align 8
%dn=load i8*,i8**@_SMLZN13LoadFileError23DirectoryPathNotAllowedE,align 8
store i8*%dn,i8**%d,align 8
%do=bitcast i8**%c to i8***
%dp=load i8**,i8***%do,align 8
%dq=load i8*,i8**%dp,align 8
store i8*%dq,i8**%c,align 8
%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
store i8*%dr,i8**%g,align 8
%du=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dr,i64 8
%dx=bitcast i8*%dw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@x,i64 0,i32 2,i64 0),i8**%dx,align 8
%dy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dz=getelementptr inbounds i8,i8*%dr,i64 16
%dA=bitcast i8*%dz to i8**
store i8*%dy,i8**%dA,align 8
%dB=getelementptr inbounds i8,i8*%dr,i64 24
%dC=bitcast i8*%dB to i32*
store i32 7,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
%dH=bitcast i8*%dD to i8**
store i8*%dG,i8**%dH,align 8
%dI=load i8*,i8**%g,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=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%dD)
unreachable
dO:
store i8*null,i8**%f,align 8
%dP=load i8*,i8**@_SMLZN13LoadFileError22AbsolutePathNotAllowedE,align 8
store i8*%dP,i8**%d,align 8
%dQ=bitcast i8**%c to i8***
%dR=load i8**,i8***%dQ,align 8
%dS=load i8*,i8**%dR,align 8
store i8*%dS,i8**%c,align 8
%dT=call i8*@sml_alloc(i32 inreg 28)#0
%dU=getelementptr inbounds i8,i8*%dT,i64 -4
%dV=bitcast i8*%dU to i32*
store i32 1342177304,i32*%dV,align 4
store i8*%dT,i8**%g,align 8
%dW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dX=bitcast i8*%dT to i8**
store i8*%dW,i8**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dT,i64 8
%dZ=bitcast i8*%dY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@w,i64 0,i32 2,i64 0),i8**%dZ,align 8
%d0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d1=getelementptr inbounds i8,i8*%dT,i64 16
%d2=bitcast i8*%d1 to i8**
store i8*%d0,i8**%d2,align 8
%d3=getelementptr inbounds i8,i8*%dT,i64 24
%d4=bitcast i8*%d3 to i32*
store i32 7,i32*%d4,align 4
%d5=call i8*@sml_alloc(i32 inreg 20)#0
%d6=getelementptr inbounds i8,i8*%d5,i64 -4
%d7=bitcast i8*%d6 to i32*
store i32 1342177296,i32*%d7,align 4
%d8=load i8*,i8**%e,align 8
%d9=bitcast i8*%d5 to i8**
store i8*%d8,i8**%d9,align 8
%ea=load i8*,i8**%g,align 8
%eb=getelementptr inbounds i8,i8*%d5,i64 8
%ec=bitcast i8*%eb to i8**
store i8*%ea,i8**%ec,align 8
%ed=getelementptr inbounds i8,i8*%d5,i64 16
%ee=bitcast i8*%ed to i32*
store i32 3,i32*%ee,align 4
%ef=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%d5)
unreachable
eg:
store i8*null,i8**%d,align 8
%eh=load i8*,i8**@_SMLZN13LoadFileError18PathMustNotBeEmptyE,align 8
store i8*%eh,i8**%c,align 8
%ei=call i8*@sml_alloc(i32 inreg 20)#0
%ej=getelementptr inbounds i8,i8*%ei,i64 -4
%ek=bitcast i8*%ej to i32*
store i32 1342177296,i32*%ek,align 4
store i8*%ei,i8**%f,align 8
%el=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%em=bitcast i8*%ei to i8**
store i8*%el,i8**%em,align 8
%en=getelementptr inbounds i8,i8*%ei,i64 8
%eo=bitcast i8*%en to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@v,i64 0,i32 2,i64 0),i8**%eo,align 8
%ep=getelementptr inbounds i8,i8*%ei,i64 16
%eq=bitcast i8*%ep to i32*
store i32 3,i32*%eq,align 4
%er=call i8*@sml_alloc(i32 inreg 20)#0
%es=getelementptr inbounds i8,i8*%er,i64 -4
%et=bitcast i8*%es to i32*
store i32 1342177296,i32*%et,align 4
%eu=load i8*,i8**%e,align 8
%ev=bitcast i8*%er to i8**
store i8*%eu,i8**%ev,align 8
%ew=load i8*,i8**%f,align 8
%ex=getelementptr inbounds i8,i8*%er,i64 8
%ey=bitcast i8*%ex to i8**
store i8*%ew,i8**%ey,align 8
%ez=getelementptr inbounds i8,i8*%er,i64 16
%eA=bitcast i8*%ez to i32*
store i32 3,i32*%eA,align 4
%eB=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%er)
unreachable
eC:
%eD=icmp eq i8*%cI,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL357,i64 0,i32 2)to i8*)
br i1%eD,label%eE,label%e6
eE:
store i8*null,i8**%f,align 8
%eF=load i8*,i8**@_SMLZN13LoadFileError18FileNotFoundOnPathE,align 8
store i8*%eF,i8**%d,align 8
%eG=bitcast i8**%c to i8***
%eH=load i8**,i8***%eG,align 8
%eI=load i8*,i8**%eH,align 8
store i8*%eI,i8**%c,align 8
%eJ=call i8*@sml_alloc(i32 inreg 28)#0
%eK=getelementptr inbounds i8,i8*%eJ,i64 -4
%eL=bitcast i8*%eK to i32*
store i32 1342177304,i32*%eL,align 4
store i8*%eJ,i8**%g,align 8
%eM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eN=bitcast i8*%eJ to i8**
store i8*%eM,i8**%eN,align 8
%eO=getelementptr inbounds i8,i8*%eJ,i64 8
%eP=bitcast i8*%eO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@u,i64 0,i32 2,i64 0),i8**%eP,align 8
%eQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eR=getelementptr inbounds i8,i8*%eJ,i64 16
%eS=bitcast i8*%eR to i8**
store i8*%eQ,i8**%eS,align 8
%eT=getelementptr inbounds i8,i8*%eJ,i64 24
%eU=bitcast i8*%eT to i32*
store i32 7,i32*%eU,align 4
%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
%eY=load i8*,i8**%e,align 8
%eZ=bitcast i8*%eV to i8**
store i8*%eY,i8**%eZ,align 8
%e0=load i8*,i8**%g,align 8
%e1=getelementptr inbounds i8,i8*%eV,i64 8
%e2=bitcast i8*%e1 to i8**
store i8*%e0,i8**%e2,align 8
%e3=getelementptr inbounds i8,i8*%eV,i64 16
%e4=bitcast i8*%e3 to i32*
store i32 3,i32*%e4,align 4
%e5=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%eV)
unreachable
e6:
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
%e7=call i8*@sml_alloc(i32 inreg 60)#0
%e8=getelementptr inbounds i8,i8*%e7,i64 -4
%e9=bitcast i8*%e8 to i32*
store i32 1342177336,i32*%e9,align 4
%fa=getelementptr inbounds i8,i8*%e7,i64 56
%fb=bitcast i8*%fa to i32*
store i32 1,i32*%fb,align 4
%fc=load i8*,i8**%d,align 8
%fd=bitcast i8*%e7 to i8**
store i8*%fc,i8**%fd,align 8
call void@sml_raise(i8*inreg%e7)#1
unreachable
fe:
%ff=phi i8*[%at,%ar],[%bO,%bM],[%cz,%cx]
ret i8*%ff
}
define internal fastcc i8*@_SMLLN8LoadFile9visitFileE_379(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**%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**%g,align 8
store i8*%b,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%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%e,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%b,%q]
%r=bitcast i8*%p to i8**
%s=load i8*,i8**%r,align 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
switch i32%u,label%v[
i32 0,label%aI
i32 1,label%N
]
v:
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%w=load i8*,i8**@_SMLZ5Match,align 8
store i8*%w,i8**%e,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**%f,align 8
%A=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@z,i64 0,i32 2,i64 0),i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 60)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177336,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 56
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%f,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
call void@sml_raise(i8*inreg%G)#1
unreachable
N:
%O=getelementptr inbounds i8,i8*%s,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%e,align 8
%R=getelementptr inbounds i8,i8*%p,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=bitcast i8**%g to i8***
%V=load i8**,i8***%U,align 8
%W=load i8*,i8**%V,align 8
%X=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%X)
%Y=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Y)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%W,i8**%c,align 8
%Z=call i8*@sml_alloc(i32 inreg 12)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177288,i32*%ab,align 4
store i8*%Z,i8**%d,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 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**%d,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*)*@_SMLLN8LoadFile8openPathE_375 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*)*@_SMLLN8LoadFile8openPathE_375 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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%X)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Y)
store i8*%aj,i8**%h,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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ar,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
%aB=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aC=call fastcc i8*@_SMLLN8LoadFile8openPathE_375(i8*inreg%aB,i8*inreg%ar)
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
%aF=getelementptr inbounds i8,i8*%aC,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
br label%bh
aI:
%aJ=getelementptr inbounds i8,i8*%s,i64 8
%aK=bitcast i8*%aJ to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%aL,i64 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
%aP=call fastcc i8*@_SMLFN8Filename6TextIO6openInE(i8*inreg%aO)
store i8*%aP,i8**%f,align 8
%aQ=load i8*,i8**%e,align 8
%aR=bitcast i8*%aQ to i32*
%aS=load i32,i32*%aR,align 4
%aT=getelementptr inbounds i8,i8*%aQ,i64 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%e,align 8
%aW=call i8*@sml_alloc(i32 inreg 20)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177296,i32*%aY,align 4
store i8*%aW,i8**%h,align 8
%aZ=getelementptr inbounds i8,i8*%aW,i64 4
%a0=bitcast i8*%aZ to i32*
store i32 0,i32*%a0,align 1
%a1=bitcast i8*%aW to i32*
store i32%aS,i32*%a1,align 4
%a2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a3=getelementptr inbounds i8,i8*%aW,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aW,i64 16
%a6=bitcast i8*%a5 to i32*
store i32 2,i32*%a6,align 4
%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**%f,align 8
store i8*null,i8**%f,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=load i8*,i8**%h,align 8
store i8*null,i8**%h,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
br label%bh
bh:
%bi=phi i8*[%aH,%N],[%bc,%aI]
%bj=phi i8*[%aE,%N],[%ba,%aI]
store i8*%bj,i8**%e,align 8
%bk=bitcast i8*%bi to i32*
%bl=load i32,i32*%bk,align 4
%bm=getelementptr inbounds i8,i8*%bi,i64 8
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
%bp=invoke fastcc i8*@_SMLFN8Filename8realPathE(i8*inreg%bo)
to label%bq unwind label%cr
bq:
store i8*%bp,i8**%i,align 8
%br=bitcast i8**%g to i8***
%bs=load i8**,i8***%br,align 8
%bt=load i8*,i8**%bs,align 8
store i8*%bt,i8**%g,align 8
%bu=call fastcc i8*@_SMLFN8Filename7dirnameE(i8*inreg%bp)
store i8*%bu,i8**%f,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
store i8*%bv,i8**%h,align 8
%by=getelementptr inbounds i8,i8*%bv,i64 4
%bz=bitcast i8*%by to i32*
store i32 0,i32*%bz,align 1
%bA=bitcast i8*%bv to i32*
store i32%bl,i32*%bA,align 4
%bB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 8
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 16
%bF=bitcast i8*%bE to i32*
store i32 2,i32*%bF,align 4
%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**%j,align 8
%bJ=bitcast i8*%bG to i64*
store i64 0,i64*%bJ,align 4
%bK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bL=getelementptr inbounds i8,i8*%bG,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bG,i64 16
%bO=bitcast i8*%bN to i32*
store i32 2,i32*%bO,align 4
%bP=load i8*,i8**%g,align 8
%bQ=getelementptr inbounds i8,i8*%bP,i64 8
%bR=bitcast i8*%bQ to i8**
%bS=load i8*,i8**%bR,align 8
store i8*%bS,i8**%g,align 8
%bT=call i8*@sml_alloc(i32 inreg 20)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177296,i32*%bV,align 4
store i8*%bT,i8**%f,align 8
%bW=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bX=bitcast i8*%bT to i8**
store i8*%bW,i8**%bX,align 8
%bY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bZ=getelementptr inbounds i8,i8*%bT,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bT,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 3,i32*%b2,align 4
%b3=call i8*@sml_alloc(i32 inreg 20)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
store i8*%b3,i8**%g,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%bl,i32*%b8,align 4
%b9=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 16
%cd=bitcast i8*%cc to i32*
store i32 2,i32*%cd,align 4
%ce=call i8*@sml_alloc(i32 inreg 28)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177304,i32*%cg,align 4
%ch=load i8*,i8**%f,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=load i8*,i8**%e,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**%g,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
ret i8*%ce
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*null,i8**%g,align 8
store i8*%cv,i8**%f,align 8
%cw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
call fastcc void@_SMLFN6TextIO7closeInE(i8*inreg%cw)
%cx=call i8*@sml_alloc(i32 inreg 60)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177336,i32*%cz,align 4
%cA=getelementptr inbounds i8,i8*%cx,i64 56
%cB=bitcast i8*%cA to i32*
store i32 1,i32*%cB,align 4
%cC=load i8*,i8**%f,align 8
%cD=bitcast i8*%cx to i8**
store i8*%cC,i8**%cD,align 8
call void@sml_raise(i8*inreg%cx)#1
unreachable
}
define internal fastcc i8*@_SMLLN8LoadFile9visitFileE_380(i8*inreg%a)unnamed_addr#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*)*@_SMLLN8LoadFile9visitFileE_379 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*)*@_SMLLN8LoadFile9visitFileE_379 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*@_SMLLN8LoadFile8parseSmiE_384(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%f,label%h
f:
%g=bitcast i8*%a to i8**
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%c to i8***
%j=load i8**,i8***%i,align 8
br label%k
k:
%l=phi i8**[%j,%h],[%g,%f]
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,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
%q=getelementptr inbounds i8,i8*%n,i64 12
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 1
%s=load i8*,i8**%c,align 8
%t=bitcast i8*%n to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%n,i64 8
%v=bitcast i8*%u to i32*
store i32%b,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%n,i64 16
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=tail call fastcc i8*@_SMLFN6TextIO6inputNE(i8*inreg%n)
ret i8*%y
}
define internal fastcc i8*@_SMLLN8LoadFile8parseSmlE_389(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%o,i64 4
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=load i8*,i8**%n,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 12
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 1
%y=load i8*,i8**%c,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 8
%B=bitcast i8*%A to i32*
store i32%r,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%t,i64 16
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=tail call fastcc i8*@_SMLFN6TextIO6inputNE(i8*inreg%t)
ret i8*%E
}
define internal fastcc i8*@_SMLLN8LoadFile16visitAndParseSmiE_428(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
t:
%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**%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**%g,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%r,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%g,align 8
%q=load i8*,i8**%k,align 8
br label%r
r:
%s=phi i8*[%q,%o],[%a,%t]
%u=phi i8*[%p,%o],[%b,%t]
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%j,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*@_SMLLN8LoadFile9visitFileE_380(i8*inreg%A)
%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**%g,align 8
store i8*null,i8**%g,align 8
%I=call fastcc i8*%E(i8*inreg%G,i8*inreg%H)
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%g,align 8
%L=getelementptr inbounds i8,i8*%I,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%h,align 8
%O=getelementptr inbounds i8,i8*%I,i64 16
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%i,align 8
%R=bitcast i8**%k to i8***
%S=load i8**,i8***%R,align 8
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%k,align 8
%U=getelementptr inbounds i8,i8*%Q,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%l,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**%k,align 8
store i8*null,i8**%k,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%l,align 8
store i8*null,i8**%l,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
%ah=call fastcc i8*@_SMLLN8LoadFile5Assoc4findE_344(i8*inreg%X)
%ai=icmp eq i8*%ah,null
br i1%ai,label%aj,label%cA
aj:
store i8*null,i8**%j,align 8
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
%an=load i8*,i8**%h,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=load i8*,i8**%i,align 8
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%ak,i64 16
%at=bitcast i8*%as to i32*
store i32 3,i32*%at,align 4
%au=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%au)
%av=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%av)
%aw=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aw)
%ax=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ax)
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*%ak,i8**%c,align 8
%ay=load atomic i32,i32*@sml_check_flag unordered,align 4
%az=icmp eq i32%ay,0
br i1%az,label%aG,label%aA
aA:
invoke void@sml_check(i32 inreg%ay)
to label%aB unwind label%cn
aB:
%aC=bitcast i8**%c to i8***
%aD=load i8**,i8***%aC,align 8
%aE=bitcast i8**%aD to i8*
%aF=load i8*,i8**%aD,align 8
br label%aG
aG:
%aH=phi i8*[%aF,%aB],[%an,%aj]
%aI=phi i8*[%aE,%aB],[%ak,%aj]
store i8*%aH,i8**%e,align 8
%aJ=load i32*,i32**bitcast(i8**@_SMLZN7Control13traceFileLoadE to i32**),align 8
%aK=load i32,i32*%aJ,align 4
%aL=icmp eq i32%aK,0
br i1%aL,label%bs,label%aM
aM:
%aN=getelementptr inbounds i8,i8*%aI,i64 8
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
%aT=invoke fastcc i8*@_SMLFN8Filename8toStringE(i8*inreg%aS)
to label%aU unwind label%cn
aU:
store i8*%aT,i8**%d,align 8
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177296,i32*%aX,align 4
%aY=bitcast i8*%aV to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@A,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*%aV,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 3,i32*%a3,align 4
%a4=invoke fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aV)
to label%a5 unwind label%cn
a5:
store i8*%a4,i8**%d,align 8
%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
%a9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a6,i64 8
%bc=bitcast i8*%bb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@C,i64 0,i32 2,i64 0),i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a6,i64 16
%be=bitcast i8*%bd to i32*
store i32 3,i32*%be,align 4
%bf=invoke fastcc i8*@_SMLFN6String1_ZE(i8*inreg%a6)
to label%bg unwind label%cn
bg:
store i8*%bf,i8**%d,align 8
%bh=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%bh,i8**%f,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**%f,align 8
store i8*null,i8**%f,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%d,align 8
store i8*null,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
invoke fastcc void@_SMLFN6TextIO6outputE(i8*inreg%bi)
to label%bs unwind label%cn
bs:
%bt=call i8*@sml_alloc(i32 inreg 12)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177288,i32*%bv,align 4
store i8*%bt,i8**%d,align 8
%bw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bt,i64 8
%bz=bitcast i8*%by to i32*
store i32 1,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 28)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177304,i32*%bC,align 4
store i8*%bA,i8**%e,align 8
%bD=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN8LoadFile8parseSmiE_384 to void(...)*),void(...)**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 16
%bI=bitcast i8*%bH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile8parseSmiE_638 to void(...)*),void(...)**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bA,i64 24
%bK=bitcast i8*%bJ to i32*
store i32 -2147483647,i32*%bK,align 4
%bL=load i8*,i8**%c,align 8
%bM=getelementptr inbounds i8,i8*%bL,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
store i8*%bO,i8**%c,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**%c,align 8
store i8*null,i8**%c,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=invoke fastcc i8*@_SMLFN15InterfaceParser5setupE(i8*inreg%bP)
to label%b0 unwind label%cn
b0:
%b1=invoke fastcc i8*@_SMLFN15InterfaceParser5parseE(i8*inreg%bZ)
to label%b2 unwind label%cn
b2:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%au)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%av)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aw)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ax)
store i8*%b1,i8**%j,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**%k,align 8
%b6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%b9=getelementptr inbounds i8,i8*%b3,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 16
%cd=bitcast i8*%cc to i8**
store i8*%cb,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b3,i64 24
%cf=bitcast i8*%ce to i32*
store i32 7,i32*%cf,align 4
%cg=call i8*@sml_alloc(i32 inreg 20)#0
%ch=bitcast i8*%cg to i32*
%ci=getelementptr inbounds i8,i8*%cg,i64 -4
%cj=bitcast i8*%ci to i32*
store i32 1342177296,i32*%cj,align 4
%ck=getelementptr inbounds i8,i8*%cg,i64 4
%cl=bitcast i8*%ck to i32*
store i32 0,i32*%cl,align 1
store i32 1,i32*%ch,align 4
%cm=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
br label%d4
cn:
%co=landingpad{i8*,i8*}
catch i8*null
%cp=extractvalue{i8*,i8*}%co,1
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
store i8*%cr,i8**%g,align 8
%cs=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
call fastcc void@_SMLFN6TextIO7closeInE(i8*inreg%cs)
%ct=call i8*@sml_alloc(i32 inreg 60)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177336,i32*%cv,align 4
%cw=getelementptr inbounds i8,i8*%ct,i64 56
%cx=bitcast i8*%cw to i32*
store i32 1,i32*%cx,align 4
%cy=load i8*,i8**%g,align 8
%cz=bitcast i8*%ct to i8**
store i8*%cy,i8**%cz,align 8
call void@sml_raise(i8*inreg%ct)#1
unreachable
cA:
%cB=bitcast i8*%ah to i8**
%cC=load i8*,i8**%cB,align 8
%cD=icmp eq i8*%cC,null
br i1%cD,label%cZ,label%cE
cE:
%cF=bitcast i8*%cC to i32*
%cG=load i32,i32*%cF,align 4
switch i32%cG,label%cH[
i32 2,label%dB
i32 1,label%ds
i32 0,label%cZ
]
cH:
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%cI=load i8*,i8**@_SMLZ5Match,align 8
store i8*%cI,i8**%g,align 8
%cJ=call i8*@sml_alloc(i32 inreg 20)#0
%cK=getelementptr inbounds i8,i8*%cJ,i64 -4
%cL=bitcast i8*%cK to i32*
store i32 1342177296,i32*%cL,align 4
store i8*%cJ,i8**%h,align 8
%cM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cN=bitcast i8*%cJ to i8**
store i8*%cM,i8**%cN,align 8
%cO=getelementptr inbounds i8,i8*%cJ,i64 8
%cP=bitcast i8*%cO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@F,i64 0,i32 2,i64 0),i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cJ,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 3,i32*%cR,align 4
%cS=call i8*@sml_alloc(i32 inreg 60)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177336,i32*%cU,align 4
%cV=getelementptr inbounds i8,i8*%cS,i64 56
%cW=bitcast i8*%cV to i32*
store i32 1,i32*%cW,align 4
%cX=load i8*,i8**%h,align 8
%cY=bitcast i8*%cS to i8**
store i8*%cX,i8**%cY,align 8
call void@sml_raise(i8*inreg%cS)#1
unreachable
cZ:
store i8*null,i8**%k,align 8
%c0=load i8*,i8**@_SMLZN13LoadFileError12CircularLoadE,align 8
store i8*%c0,i8**%g,align 8
%c1=load i8*,i8**%i,align 8
%c2=getelementptr inbounds i8,i8*%c1,i64 8
%c3=bitcast i8*%c2 to i8**
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%i,align 8
%c5=call i8*@sml_alloc(i32 inreg 28)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177304,i32*%c7,align 4
store i8*%c5,i8**%l,align 8
%c8=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c5,i64 8
%db=bitcast i8*%da to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@E,i64 0,i32 2,i64 0),i8**%db,align 8
%dc=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64 16
%de=bitcast i8*%dd to i8**
store i8*%dc,i8**%de,align 8
%df=getelementptr inbounds i8,i8*%c5,i64 24
%dg=bitcast i8*%df to i32*
store i32 7,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
%dk=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dl=bitcast i8*%dh to i8**
store i8*%dk,i8**%dl,align 8
%dm=load i8*,i8**%l,align 8
store i8*null,i8**%l,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
store i8*null,i8**%k,align 8
%dr=call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%dh)
unreachable
ds:
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
%dt=getelementptr inbounds i8,i8*%cC,i64 8
%du=bitcast i8*%dt to i8**
%dv=load i8*,i8**%du,align 8
store i8*%dv,i8**%g,align 8
%dw=call i8*@sml_alloc(i32 inreg 20)#0
%dx=getelementptr inbounds i8,i8*%dw,i64 -4
%dy=bitcast i8*%dx to i32*
store i32 1342177296,i32*%dy,align 4
%dz=bitcast i8*%dw to i64*
store i64 0,i64*%dz,align 4
%dA=load i8*,i8**%g,align 8
br label%d4
dB:
store i8*null,i8**%k,align 8
%dC=load i8*,i8**@_SMLZN13LoadFileError18UseRequireConflictE,align 8
store i8*%dC,i8**%g,align 8
%dD=load i8*,i8**%i,align 8
%dE=getelementptr inbounds i8,i8*%dD,i64 8
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
store i8*%dG,i8**%i,align 8
%dH=call i8*@sml_alloc(i32 inreg 28)#0
%dI=getelementptr inbounds i8,i8*%dH,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32 1342177304,i32*%dJ,align 4
store i8*%dH,i8**%l,align 8
%dK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dL=bitcast i8*%dH to i8**
store i8*%dK,i8**%dL,align 8
%dM=getelementptr inbounds i8,i8*%dH,i64 8
%dN=bitcast i8*%dM to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@D,i64 0,i32 2,i64 0),i8**%dN,align 8
%dO=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dP=getelementptr inbounds i8,i8*%dH,i64 16
%dQ=bitcast i8*%dP to i8**
store i8*%dO,i8**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dH,i64 24
%dS=bitcast i8*%dR to i32*
store i32 7,i32*%dS,align 4
%dT=call i8*@sml_alloc(i32 inreg 20)#0
%dU=getelementptr inbounds i8,i8*%dT,i64 -4
%dV=bitcast i8*%dU to i32*
store i32 1342177296,i32*%dV,align 4
%dW=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dX=bitcast i8*%dT to i8**
store i8*%dW,i8**%dX,align 8
%dY=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dZ=getelementptr inbounds i8,i8*%dT,i64 8
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dT,i64 16
%d2=bitcast i8*%d1 to i32*
store i32 3,i32*%d2,align 4
store i8*null,i8**%k,align 8
%d3=call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%dT)
unreachable
d4:
%d5=phi i8*[%dw,%ds],[%cg,%b2]
%d6=phi i8*[%dA,%ds],[%cm,%b2]
%d7=getelementptr inbounds i8,i8*%d5,i64 8
%d8=bitcast i8*%d7 to i8**
store i8*%d6,i8**%d8,align 8
%d9=getelementptr inbounds i8,i8*%d5,i64 16
%ea=bitcast i8*%d9 to i32*
store i32 2,i32*%ea,align 4
store i8*%d5,i8**%g,align 8
%eb=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
call fastcc void@_SMLFN6TextIO7closeInE(i8*inreg%eb)
%ec=load i8*,i8**%g,align 8
ret i8*%ec
}
define internal fastcc i8*@_SMLLN8LoadFile16visitAndParseSmiE_429(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*)*@_SMLLN8LoadFile16visitAndParseSmiE_428 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*)*@_SMLLN8LoadFile16visitAndParseSmiE_428 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*@_SMLLN8LoadFile16visitAndParseSmlE_435(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
t:
%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**%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**%g,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%r,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%g,align 8
%q=load i8*,i8**%k,align 8
br label%r
r:
%s=phi i8*[%q,%o],[%a,%t]
%u=phi i8*[%p,%o],[%b,%t]
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%j,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%h,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**%h,align 8
store i8*null,i8**%h,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*null,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 fastcc i8*@_SMLLN8LoadFile9visitFileE_380(i8*inreg%C)
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
%R=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%S=call fastcc i8*%O(i8*inreg%Q,i8*inreg%R)
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%g,align 8
%V=getelementptr inbounds i8,i8*%S,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*%S,i64 16
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%i,align 8
%ab=bitcast i8**%k to i8***
%ac=load i8**,i8***%ab,align 8
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%k,align 8
%ae=getelementptr inbounds i8,i8*%aa,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%l,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
%ak=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=load i8*,i8**%l,align 8
store i8*null,i8**%l,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*@_SMLLN8LoadFile5Assoc4findE_344(i8*inreg%ah)
%as=icmp eq i8*%ar,null
br i1%as,label%at,label%cO
at:
store i8*null,i8**%j,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
%ax=load i8*,i8**%h,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=load i8*,i8**%i,align 8
%aA=getelementptr inbounds i8,i8*%au,i64 8
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%au,i64 16
%aD=bitcast i8*%aC to i32*
store i32 3,i32*%aD,align 4
%aE=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aE)
%aF=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aF)
%aG=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aG)
%aH=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aH)
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*%au,i8**%c,align 8
%aI=load atomic i32,i32*@sml_check_flag unordered,align 4
%aJ=icmp eq i32%aI,0
br i1%aJ,label%aQ,label%aK
aK:
invoke void@sml_check(i32 inreg%aI)
to label%aL unwind label%cB
aL:
%aM=bitcast i8**%c to i8***
%aN=load i8**,i8***%aM,align 8
%aO=bitcast i8**%aN to i8*
%aP=load i8*,i8**%aN,align 8
br label%aQ
aQ:
%aR=phi i8*[%aP,%aL],[%ax,%at]
%aS=phi i8*[%aO,%aL],[%au,%at]
store i8*%aR,i8**%e,align 8
%aT=load i32*,i32**bitcast(i8**@_SMLZN7Control13traceFileLoadE to i32**),align 8
%aU=load i32,i32*%aT,align 4
%aV=icmp eq i32%aU,0
br i1%aV,label%bC,label%aW
aW:
%aX=getelementptr inbounds i8,i8*%aS,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,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*@_SMLFN8Filename8toStringE(i8*inreg%a2)
to label%a4 unwind label%cB
a4:
store i8*%a3,i8**%d,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=bitcast i8*%a5 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@B,i64 0,i32 2,i64 0),i8**%a8,align 8
%a9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=invoke fastcc i8*@_SMLFN6String1_ZE(i8*inreg%a5)
to label%bf unwind label%cB
bf:
store i8*%be,i8**%d,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**%d,align 8
store i8*null,i8**%d,align 8
%bk=bitcast i8*%bg to i8**
store i8*%bj,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bg,i64 8
%bm=bitcast i8*%bl to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@C,i64 0,i32 2,i64 0),i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%bg,i64 16
%bo=bitcast i8*%bn to i32*
store i32 3,i32*%bo,align 4
%bp=invoke fastcc i8*@_SMLFN6String1_ZE(i8*inreg%bg)
to label%bq unwind label%cB
bq:
store i8*%bp,i8**%d,align 8
%br=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%br,i8**%f,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**%d,align 8
store i8*null,i8**%d,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
invoke fastcc void@_SMLFN6TextIO6outputE(i8*inreg%bs)
to label%bC unwind label%cB
bC:
%bD=call i8*@sml_alloc(i32 inreg 12)#0
%bE=getelementptr inbounds i8,i8*%bD,i64 -4
%bF=bitcast i8*%bE to i32*
store i32 1342177288,i32*%bF,align 4
store i8*%bD,i8**%d,align 8
%bG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bH=bitcast i8*%bD to i8**
store i8*%bG,i8**%bH,align 8
%bI=getelementptr inbounds i8,i8*%bD,i64 8
%bJ=bitcast i8*%bI to i32*
store i32 1,i32*%bJ,align 4
%bK=call i8*@sml_alloc(i32 inreg 28)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177304,i32*%bM,align 4
store i8*%bK,i8**%e,align 8
%bN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bK,i64 8
%bQ=bitcast i8*%bP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile8parseSmlE_389 to void(...)*),void(...)**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bK,i64 16
%bS=bitcast i8*%bR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile8parseSmlE_389 to void(...)*),void(...)**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 24
%bU=bitcast i8*%bT to i32*
store i32 -2147483647,i32*%bU,align 4
%bV=load i8*,i8**%c,align 8
%bW=getelementptr inbounds i8,i8*%bV,i64 8
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
store i8*%bY,i8**%c,align 8
%bZ=call i8*@sml_alloc(i32 inreg 28)#0
%b0=bitcast i8*%bZ to i32*
%b1=getelementptr inbounds i8,i8*%bZ,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177304,i32*%b2,align 4
%b3=getelementptr inbounds i8,i8*%bZ,i64 4
%b4=bitcast i8*%b3 to i32*
store i32 0,i32*%b4,align 1
store i32 1,i32*%b0,align 4
%b5=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b6=getelementptr inbounds i8,i8*%bZ,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b9=getelementptr inbounds i8,i8*%bZ,i64 16
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%bZ,i64 24
%cc=bitcast i8*%cb to i32*
store i32 6,i32*%cc,align 4
%cd=invoke fastcc i8*@_SMLFN6Parser5setupE(i8*inreg%bZ)
to label%ce unwind label%cB
ce:
%cf=invoke fastcc i8*@_SMLFN6Parser5parseE(i8*inreg%cd)
to label%cg unwind label%cB
cg:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aE)
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)
store i8*%cf,i8**%j,align 8
%ch=call i8*@sml_alloc(i32 inreg 28)#0
%ci=getelementptr inbounds i8,i8*%ch,i64 -4
%cj=bitcast i8*%ci to i32*
store i32 1342177304,i32*%cj,align 4
store i8*%ch,i8**%k,align 8
%ck=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cl=bitcast i8*%ch to i8**
store i8*%ck,i8**%cl,align 8
%cm=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cn=getelementptr inbounds i8,i8*%ch,i64 8
%co=bitcast i8*%cn to i8**
store i8*%cm,i8**%co,align 8
%cp=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cq=getelementptr inbounds i8,i8*%ch,i64 16
%cr=bitcast i8*%cq to i8**
store i8*%cp,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%ch,i64 24
%ct=bitcast i8*%cs to i32*
store i32 7,i32*%ct,align 4
%cu=call i8*@sml_alloc(i32 inreg 20)#0
%cv=bitcast i8*%cu to i32*
%cw=getelementptr inbounds i8,i8*%cu,i64 -4
%cx=bitcast i8*%cw to i32*
store i32 1342177296,i32*%cx,align 4
%cy=getelementptr inbounds i8,i8*%cu,i64 4
%cz=bitcast i8*%cy to i32*
store i32 0,i32*%cz,align 1
store i32 1,i32*%cv,align 4
%cA=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
br label%ei
cB:
%cC=landingpad{i8*,i8*}
catch i8*null
%cD=extractvalue{i8*,i8*}%cC,1
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
store i8*%cF,i8**%g,align 8
%cG=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
call fastcc void@_SMLFN6TextIO7closeInE(i8*inreg%cG)
%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**%g,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:
%cP=bitcast i8*%ar to i8**
%cQ=load i8*,i8**%cP,align 8
%cR=icmp eq i8*%cQ,null
br i1%cR,label%dd,label%cS
cS:
%cT=bitcast i8*%cQ to i32*
%cU=load i32,i32*%cT,align 4
switch i32%cU,label%cV[
i32 2,label%d9
i32 1,label%dG
i32 0,label%dd
]
cV:
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
call void@sml_matchcomp_bug()
%cW=load i8*,i8**@_SMLZ5Match,align 8
store i8*%cW,i8**%g,align 8
%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**%h,align 8
%c0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cX,i64 8
%c3=bitcast i8*%c2 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@I,i64 0,i32 2,i64 0),i8**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cX,i64 16
%c5=bitcast i8*%c4 to i32*
store i32 3,i32*%c5,align 4
%c6=call i8*@sml_alloc(i32 inreg 60)#0
%c7=getelementptr inbounds i8,i8*%c6,i64 -4
%c8=bitcast i8*%c7 to i32*
store i32 1342177336,i32*%c8,align 4
%c9=getelementptr inbounds i8,i8*%c6,i64 56
%da=bitcast i8*%c9 to i32*
store i32 1,i32*%da,align 4
%db=load i8*,i8**%h,align 8
%dc=bitcast i8*%c6 to i8**
store i8*%db,i8**%dc,align 8
call void@sml_raise(i8*inreg%c6)#1
unreachable
dd:
store i8*null,i8**%k,align 8
%de=load i8*,i8**@_SMLZN13LoadFileError12CircularLoadE,align 8
store i8*%de,i8**%g,align 8
%df=load i8*,i8**%i,align 8
%dg=getelementptr inbounds i8,i8*%df,i64 8
%dh=bitcast i8*%dg to i8**
%di=load i8*,i8**%dh,align 8
store i8*%di,i8**%i,align 8
%dj=call i8*@sml_alloc(i32 inreg 28)#0
%dk=getelementptr inbounds i8,i8*%dj,i64 -4
%dl=bitcast i8*%dk to i32*
store i32 1342177304,i32*%dl,align 4
store i8*%dj,i8**%l,align 8
%dm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dn=bitcast i8*%dj to i8**
store i8*%dm,i8**%dn,align 8
%do=getelementptr inbounds i8,i8*%dj,i64 8
%dp=bitcast i8*%do to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@H,i64 0,i32 2,i64 0),i8**%dp,align 8
%dq=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dr=getelementptr inbounds i8,i8*%dj,i64 16
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dj,i64 24
%du=bitcast i8*%dt to i32*
store i32 7,i32*%du,align 4
%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=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dz=bitcast i8*%dv to i8**
store i8*%dy,i8**%dz,align 8
%dA=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dB=getelementptr inbounds i8,i8*%dv,i64 8
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=getelementptr inbounds i8,i8*%dv,i64 16
%dE=bitcast i8*%dD to i32*
store i32 3,i32*%dE,align 4
store i8*null,i8**%k,align 8
%dF=call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%dv)
unreachable
dG:
store i8*null,i8**%k,align 8
%dH=load i8*,i8**@_SMLZN13LoadFileError18UseRequireConflictE,align 8
store i8*%dH,i8**%g,align 8
%dI=load i8*,i8**%i,align 8
%dJ=getelementptr inbounds i8,i8*%dI,i64 8
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
store i8*%dL,i8**%i,align 8
%dM=call i8*@sml_alloc(i32 inreg 28)#0
%dN=getelementptr inbounds i8,i8*%dM,i64 -4
%dO=bitcast i8*%dN to i32*
store i32 1342177304,i32*%dO,align 4
store i8*%dM,i8**%l,align 8
%dP=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dQ=bitcast i8*%dM to i8**
store i8*%dP,i8**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dM,i64 8
%dS=bitcast i8*%dR to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@G,i64 0,i32 2,i64 0),i8**%dS,align 8
%dT=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dU=getelementptr inbounds i8,i8*%dM,i64 16
%dV=bitcast i8*%dU to i8**
store i8*%dT,i8**%dV,align 8
%dW=getelementptr inbounds i8,i8*%dM,i64 24
%dX=bitcast i8*%dW to i32*
store i32 7,i32*%dX,align 4
%dY=call i8*@sml_alloc(i32 inreg 20)#0
%dZ=getelementptr inbounds i8,i8*%dY,i64 -4
%d0=bitcast i8*%dZ to i32*
store i32 1342177296,i32*%d0,align 4
%d1=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%d2=bitcast i8*%dY to i8**
store i8*%d1,i8**%d2,align 8
%d3=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%d4=getelementptr inbounds i8,i8*%dY,i64 8
%d5=bitcast i8*%d4 to i8**
store i8*%d3,i8**%d5,align 8
%d6=getelementptr inbounds i8,i8*%dY,i64 16
%d7=bitcast i8*%d6 to i32*
store i32 3,i32*%d7,align 4
store i8*null,i8**%k,align 8
%d8=call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%dY)
unreachable
d9:
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
%ea=getelementptr inbounds i8,i8*%cQ,i64 8
%eb=bitcast i8*%ea to i8**
%ec=load i8*,i8**%eb,align 8
store i8*%ec,i8**%g,align 8
%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
%eg=bitcast i8*%ed to i64*
store i64 0,i64*%eg,align 4
%eh=load i8*,i8**%g,align 8
br label%ei
ei:
%ej=phi i8*[%ed,%d9],[%cu,%cg]
%ek=phi i8*[%eh,%d9],[%cA,%cg]
%el=getelementptr inbounds i8,i8*%ej,i64 8
%em=bitcast i8*%el to i8**
store i8*%ek,i8**%em,align 8
%en=getelementptr inbounds i8,i8*%ej,i64 16
%eo=bitcast i8*%en to i32*
store i32 2,i32*%eo,align 4
store i8*%ej,i8**%g,align 8
%ep=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
call fastcc void@_SMLFN6TextIO7closeInE(i8*inreg%ep)
%eq=load i8*,i8**%g,align 8
ret i8*%eq
}
define internal fastcc i8*@_SMLLN8LoadFile16visitAndParseSmlE_436(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*)*@_SMLLN8LoadFile16visitAndParseSmlE_435 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*)*@_SMLLN8LoadFile16visitAndParseSmlE_435 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*@_SMLLN8LoadFile7loadUseE_440(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
t:
%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**%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**%h,align 8
store i8*%b,i8**%g,align 8
store i8*%c,i8**%f,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%r,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%f,align 8
%q=load i8*,i8**%h,align 8
br label%r
r:
%s=phi i8*[%q,%o],[%a,%t]
%u=phi i8*[%p,%o],[%c,%t]
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%i,align 8
%y=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%y)
%z=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z)
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%s,i8**%d,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**%e,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**%e,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*)*@_SMLLN8LoadFile16visitAndParseSmlE_436 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*)*@_SMLLN8LoadFile16visitAndParseSmlE_436 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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%y)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z)
%S=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%T=call fastcc i8*@_SMLLN8LoadFile16visitAndParseSmlE_436(i8*inreg%K,i8*inreg%S)
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%g,align 8
%Z=bitcast i8**%f to i8***
%aa=load i8**,i8***%Z,align 8
%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
store i8*%ac,i8**%j,align 8
%af=getelementptr inbounds i8,i8*%ac,i64 4
%ag=bitcast i8*%af to i32*
store i32 0,i32*%ag,align 1
%ah=bitcast i8*%ac to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 16
%am=bitcast i8*%al to i32*
store i32 2,i32*%am,align 4
%an=call i8*@sml_alloc(i32 inreg 20)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177296,i32*%ap,align 4
%aq=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=load i8*,i8**%i,align 8
%at=getelementptr inbounds i8,i8*%an,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%an,i64 16
%aw=bitcast i8*%av to i32*
store i32 3,i32*%aw,align 4
%ax=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ay=call fastcc i8*%W(i8*inreg%ax,i8*inreg%an)
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
switch i32%aA,label%aB[
i32 0,label%dD
i32 1,label%aT
]
aB:
store i8*null,i8**%h,align 8
store i8*null,i8**%i,align 8
call void@sml_matchcomp_bug()
%aC=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aC,i8**%f,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
store i8*%aD,i8**%g,align 8
%aG=load i8*,i8**%f,align 8
store i8*null,i8**%f,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,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@N,i64 0,i32 2,i64 0),i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aD,i64 16
%aL=bitcast i8*%aK to i32*
store i32 3,i32*%aL,align 4
%aM=call i8*@sml_alloc(i32 inreg 60)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177336,i32*%aO,align 4
%aP=getelementptr inbounds i8,i8*%aM,i64 56
%aQ=bitcast i8*%aP to i32*
store i32 1,i32*%aQ,align 4
%aR=load i8*,i8**%g,align 8
%aS=bitcast i8*%aM to i8**
store i8*%aR,i8**%aS,align 8
call void@sml_raise(i8*inreg%aM)#1
unreachable
aT:
%aU=getelementptr inbounds i8,i8*%ay,i64 8
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
store i8*%aW,i8**%g,align 8
%aX=getelementptr inbounds i8,i8*%aW,i64 16
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,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
store i8*%a2,i8**%f,align 8
%a3=call i8*@sml_alloc(i32 inreg 28)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177304,i32*%a5,align 4
%a6=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a9=getelementptr inbounds i8,i8*%a3,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a3,i64 16
%bc=bitcast i8*%bb to i8**
store i8*null,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a3,i64 24
%be=bitcast i8*%bd to i32*
store i32 7,i32*%be,align 4
%bf=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%a3)
store i8*%bf,i8**%f,align 8
%bg=load i8*,i8**%g,align 8
%bh=getelementptr inbounds i8,i8*%bg,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
%bk=icmp eq i8*%bj,null
br i1%bk,label%bl,label%bv
bl:
store i8*null,i8**%g,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**%f,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 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**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bm,i64 16
%bu=bitcast i8*%bt to i32*
store i32 3,i32*%bu,align 4
br label%ce
bv:
%bw=bitcast i8*%bj to i8**
%bx=load i8*,i8**%bw,align 8
%by=icmp eq i8*%bx,null
store i8*null,i8**%g,align 8
br i1%by,label%bz,label%bJ
bz:
%bA=bitcast i8*%bg to i8**
%bB=load i8*,i8**%bA,align 8
%bC=getelementptr inbounds i8,i8*%bj,i64 16
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*null,i8**%f,align 8
%bF=call fastcc i8*@_SMLLN8LoadFile11evalTopListE_441(i8*inreg%bf,i8*inreg%bB,i8*inreg null,i8*inreg%bE)
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
%bI=getelementptr inbounds i8,i8*%bF,i64 8
br label%ce
bJ:
%bK=load i8*,i8**%bw,align 8
store i8*%bK,i8**%h,align 8
%bL=getelementptr inbounds i8,i8*%bK,i64 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
store i8*%bN,i8**%f,align 8
store i8*null,i8**%k,align 8
%bO=load i8*,i8**@_SMLZN13LoadFileError23UnexpectedInterfaceDeclE,align 8
store i8*%bO,i8**%g,align 8
%bP=bitcast i8*%bK to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%h,align 8
%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**%l,align 8
%bU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bR,i64 8
%bX=bitcast i8*%bW to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@L,i64 0,i32 2,i64 0),i8**%bX,align 8
%bY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bZ=getelementptr inbounds i8,i8*%bR,i64 16
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bR,i64 24
%b2=bitcast i8*%b1 to i32*
store i32 7,i32*%b2,align 4
%b3=call i8*@sml_alloc(i32 inreg 20)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
%b6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%b9=getelementptr inbounds i8,i8*%b3,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b3,i64 16
%cc=bitcast i8*%cb to i32*
store i32 3,i32*%cc,align 4
store i8*null,i8**%k,align 8
%cd=call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%b3)
unreachable
ce:
%cf=phi i8*[%bI,%bz],[%br,%bl]
%cg=phi i8*[%bH,%bz],[%bp,%bl]
store i8*%cg,i8**%f,align 8
%ch=bitcast i8*%cf to i8***
%ci=load i8**,i8***%ch,align 8
%cj=load i8*,i8**%ci,align 8
store i8*%cj,i8**%g,align 8
%ck=getelementptr inbounds i8*,i8**%ci,i64 1
%cl=load i8*,i8**%ck,align 8
store i8*%cl,i8**%h,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**%k,align 8
%cp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%cm,i64 8
%cs=bitcast i8*%cr to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@M,i64 0,i32 2)to i8*),i8**%cs,align 8
%ct=load i8*,i8**%j,align 8
%cu=getelementptr inbounds i8,i8*%cm,i64 16
%cv=bitcast i8*%cu to i8**
store i8*%ct,i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cm,i64 24
%cx=bitcast i8*%cw to i32*
store i32 7,i32*%cx,align 4
%cy=call i8*@sml_alloc(i32 inreg 28)#0
%cz=getelementptr inbounds i8,i8*%cy,i64 -4
%cA=bitcast i8*%cz to i32*
store i32 1342177304,i32*%cA,align 4
store i8*%cy,i8**%g,align 8
%cB=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cC=bitcast i8*%cy to i8**
store i8*%cB,i8**%cC,align 8
%cD=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cE=getelementptr inbounds i8,i8*%cy,i64 8
%cF=bitcast i8*%cE to i8**
store i8*%cD,i8**%cF,align 8
%cG=load i8*,i8**%h,align 8
%cH=getelementptr inbounds i8,i8*%cy,i64 16
%cI=bitcast i8*%cH to i8**
store i8*%cG,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cy,i64 24
%cK=bitcast i8*%cJ to i32*
store i32 7,i32*%cK,align 4
%cL=load i8*,i8**%j,align 8
%cM=getelementptr inbounds i8,i8*%cL,i64 8
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
store i8*%cO,i8**%h,align 8
%cP=call i8*@sml_alloc(i32 inreg 20)#0
%cQ=getelementptr inbounds i8,i8*%cP,i64 -4
%cR=bitcast i8*%cQ to i32*
store i32 1342177296,i32*%cR,align 4
%cS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cT=bitcast i8*%cP to i8**
store i8*%cS,i8**%cT,align 8
%cU=load i8*,i8**%h,align 8
store i8*null,i8**%h,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=call fastcc i8*@_SMLLN8LoadFile5Assoc6removeE_351(i8*inreg%cP)
store i8*%cZ,i8**%f,align 8
%c0=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%c1=getelementptr inbounds i8,i8*%c0,i64 8
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
store i8*%c3,i8**%h,align 8
%c4=call i8*@sml_alloc(i32 inreg 20)#0
%c5=getelementptr inbounds i8,i8*%c4,i64 -4
%c6=bitcast i8*%c5 to i32*
store i32 1342177296,i32*%c6,align 4
store i8*%c4,i8**%i,align 8
%c7=getelementptr inbounds i8,i8*%c4,i64 4
%c8=bitcast i8*%c7 to i32*
store i32 0,i32*%c8,align 1
%c9=bitcast i8*%c4 to i32*
store i32 2,i32*%c9,align 4
%da=load i8*,i8**%g,align 8
%db=getelementptr inbounds i8,i8*%c4,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c4,i64 16
%de=bitcast i8*%dd to i32*
store i32 2,i32*%de,align 4
%df=call i8*@sml_alloc(i32 inreg 28)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177304,i32*%dh,align 4
%di=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dj=bitcast i8*%df to i8**
store i8*%di,i8**%dj,align 8
%dk=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dl=getelementptr inbounds i8,i8*%df,i64 8
%dm=bitcast i8*%dl to i8**
store i8*%dk,i8**%dm,align 8
%dn=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%do=getelementptr inbounds i8,i8*%df,i64 16
%dp=bitcast i8*%do to i8**
store i8*%dn,i8**%dp,align 8
%dq=getelementptr inbounds i8,i8*%df,i64 24
%dr=bitcast i8*%dq to i32*
store i32 7,i32*%dr,align 4
%ds=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%df)
store i8*%ds,i8**%f,align 8
%dt=call i8*@sml_alloc(i32 inreg 20)#0
%du=getelementptr inbounds i8,i8*%dt,i64 -4
%dv=bitcast i8*%du to i32*
store i32 1342177296,i32*%dv,align 4
%dw=load i8*,i8**%f,align 8
%dx=bitcast i8*%dt to i8**
store i8*%dw,i8**%dx,align 8
%dy=load i8*,i8**%g,align 8
%dz=getelementptr inbounds i8,i8*%dt,i64 8
%dA=bitcast i8*%dz to i8**
store i8*%dy,i8**%dA,align 8
%dB=getelementptr inbounds i8,i8*%dt,i64 16
%dC=bitcast i8*%dB to i32*
store i32 3,i32*%dC,align 4
ret i8*%dt
dD:
%dE=getelementptr inbounds i8,i8*%ay,i64 8
%dF=bitcast i8*%dE to i8**
%dG=load i8*,i8**%dF,align 8
%dH=getelementptr inbounds i8,i8*%dG,i64 8
%dI=bitcast i8*%dH to i8**
%dJ=load i8*,i8**%dI,align 8
store i8*%dJ,i8**%g,align 8
%dK=getelementptr inbounds i8,i8*%dG,i64 16
%dL=bitcast i8*%dK to i8**
%dM=load i8*,i8**%dL,align 8
store i8*%dM,i8**%j,align 8
%dN=call i8*@sml_alloc(i32 inreg 28)#0
%dO=getelementptr inbounds i8,i8*%dN,i64 -4
%dP=bitcast i8*%dO to i32*
store i32 1342177304,i32*%dP,align 4
store i8*%dN,i8**%f,align 8
%dQ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dR=bitcast i8*%dN to i8**
store i8*%dQ,i8**%dR,align 8
%dS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dT=getelementptr inbounds i8,i8*%dN,i64 8
%dU=bitcast i8*%dT to i8**
store i8*%dS,i8**%dU,align 8
%dV=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dW=getelementptr inbounds i8,i8*%dN,i64 16
%dX=bitcast i8*%dW to i8**
store i8*%dV,i8**%dX,align 8
%dY=getelementptr inbounds i8,i8*%dN,i64 24
%dZ=bitcast i8*%dY to i32*
store i32 7,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
%d3=load i8*,i8**%h,align 8
%d4=bitcast i8*%d0 to i8**
store i8*%d3,i8**%d4,align 8
%d5=load i8*,i8**%f,align 8
%d6=getelementptr inbounds i8,i8*%d0,i64 8
%d7=bitcast i8*%d6 to i8**
store i8*%d5,i8**%d7,align 8
%d8=getelementptr inbounds i8,i8*%d0,i64 16
%d9=bitcast i8*%d8 to i32*
store i32 3,i32*%d9,align 4
ret i8*%d0
}
define internal fastcc i8*@_SMLLN8LoadFile11evalTopListE_441(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)unnamed_addr#2 gc"smlsharp"{
y:
%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
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
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
store i8*%a,i8**%m,align 8
store i8*%b,i8**%n,align 8
store i8*%c,i8**%p,align 8
store i8*%d,i8**%o,align 8
%r=load atomic i32,i32*@sml_check_flag unordered,align 4
%s=icmp eq i32%r,0
br i1%s,label%w,label%t
t:
call void@sml_check(i32 inreg%r)
%u=load i8*,i8**%o,align 8
%v=load i8*,i8**%n,align 8
br label%w
w:
%x=phi i8*[%v,%t],[%b,%y]
%z=phi i8*[%u,%t],[%d,%y]
store i8*null,i8**%n,align 8
store i8*%x,i8**%q,align 8
%A=icmp eq i8*%z,null
br i1%A,label%B,label%L
B:
store i8*null,i8**%o,align 8
store i8*null,i8**%p,align 8
store i8*null,i8**%q,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**%m,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*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ap,i64 0,i32 2)to i8*),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
ret i8*%C
L:
%M=load i8*,i8**%m,align 8
%N=bitcast i8*%z to i8**
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%p,align 8
store i8*null,i8**%m,align 8
%Q=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Q)
%R=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%R)
%S=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%S)
%T=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%T)
%U=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%U)
%V=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%V)
%W=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%W)
%X=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%X)
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*%M,i8**%f,align 8
store i8*%x,i8**%e,align 8
store i8*%P,i8**%g,align 8
store i8*%O,i8**%h,align 8
%Y=load atomic i32,i32*@sml_check_flag unordered,align 4
%Z=icmp eq i32%Y,0
br i1%Z,label%ad,label%aa
aa:
call void@sml_check(i32 inreg%Y)
%ab=load i8*,i8**%h,align 8
%ac=load i8*,i8**%g,align 8
br label%ad
ad:
%ae=phi i8*[%ac,%aa],[%P,%L]
%af=phi i8*[%ab,%aa],[%O,%L]
store i8*null,i8**%h,align 8
store i8*%ae,i8**%i,align 8
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
switch i32%ah,label%ai[
i32 0,label%cC
i32 1,label%aA
]
ai:
store i8*null,i8**%i,align 8
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%aj=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aj,i8**%e,align 8
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
store i8*%ak,i8**%f,align 8
%an=load i8*,i8**%e,align 8
store i8*null,i8**%e,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,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@K,i64 0,i32 2,i64 0),i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 16
%as=bitcast i8*%ar to i32*
store i32 3,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 60)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177336,i32*%av,align 4
%aw=getelementptr inbounds i8,i8*%at,i64 56
%ax=bitcast i8*%aw to i32*
store i32 1,i32*%ax,align 4
%ay=load i8*,i8**%f,align 8
%az=bitcast i8*%at to i8**
store i8*%ay,i8**%az,align 8
call void@sml_raise(i8*inreg%at)#1
unreachable
aA:
%aB=getelementptr inbounds i8,i8*%af,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%j,align 8
%aG=getelementptr inbounds i8,i8*%aD,i64 8
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%g,align 8
%aJ=call i8*@sml_alloc(i32 inreg 20)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177296,i32*%aL,align 4
%aM=load i8*,i8**%j,align 8
%aN=bitcast i8*%aJ to i8**
store i8*%aM,i8**%aN,align 8
%aO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aP=getelementptr inbounds i8,i8*%aJ,i64 8
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aJ,i64 16
%aS=bitcast i8*%aR to i32*
store i32 3,i32*%aS,align 4
%aT=load i8*,i8**%e,align 8
%aU=load i8*,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%aV=call fastcc i8*@_SMLLN8LoadFile7loadUseE_440(i8*inreg%aU,i8*inreg%aT,i8*inreg%aJ)
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%e,align 8
%aY=getelementptr inbounds i8,i8*%aV,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%f,align 8
%a4=bitcast i8*%a0 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%g,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 16
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%h,align 8
%a9=load i8*,i8**%i,align 8
%ba=icmp eq i8*%a9,null
br i1%ba,label%bb,label%bc
bb:
store i8*null,i8**%i,align 8
br label%bW
bc:
%bd=bitcast i8*%a9 to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%i,align 8
%bf=getelementptr inbounds i8,i8*%a3,i64 16
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
%bi=getelementptr inbounds i8,i8*%bh,i64 8
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%k,align 8
%bl=call i8*@sml_alloc(i32 inreg 20)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177296,i32*%bn,align 4
%bo=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%br=getelementptr inbounds i8,i8*%bl,i64 8
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bl,i64 16
%bu=bitcast i8*%bt to i32*
store i32 3,i32*%bu,align 4
%bv=call fastcc i32@_SMLFN8Filename3Set6memberE(i8*inreg%bl)
%bw=icmp eq i32%bv,0
br i1%bw,label%bx,label%bW
bx:
store i8*null,i8**%k,align 8
%by=load i8*,i8**@_SMLZN13LoadFileError13UseNotAllowedE,align 8
store i8*%by,i8**%i,align 8
%bz=call i8*@sml_alloc(i32 inreg 28)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177304,i32*%bB,align 4
store i8*%bz,i8**%l,align 8
%bC=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bD=bitcast i8*%bz to i8**
store i8*%bC,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bz,i64 8
%bF=bitcast i8*%bE to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@J,i64 0,i32 2,i64 0),i8**%bF,align 8
%bG=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bH=getelementptr inbounds i8,i8*%bz,i64 16
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bz,i64 24
%bK=bitcast i8*%bJ to i32*
store i32 7,i32*%bK,align 4
%bL=call i8*@sml_alloc(i32 inreg 20)#0
%bM=getelementptr inbounds i8,i8*%bL,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177296,i32*%bN,align 4
%bO=load i8*,i8**%g,align 8
%bP=bitcast i8*%bL to i8**
store i8*%bO,i8**%bP,align 8
%bQ=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bR=getelementptr inbounds i8,i8*%bL,i64 8
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bL,i64 16
%bU=bitcast i8*%bT to i32*
store i32 3,i32*%bU,align 4
store i8*null,i8**%k,align 8
%bV=call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%bL)
unreachable
bW:
store i8*null,i8**%j,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
store i8*%bX,i8**%i,align 8
%b0=getelementptr inbounds i8,i8*%bX,i64 4
%b1=bitcast i8*%b0 to i32*
store i32 0,i32*%b1,align 1
%b2=bitcast i8*%bX to i32*
store i32 5,i32*%b2,align 4
%b3=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b4=getelementptr inbounds i8,i8*%bX,i64 8
%b5=bitcast i8*%b4 to i8**
store i8*%b3,i8**%b5,align 8
%b6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b7=getelementptr inbounds i8,i8*%bX,i64 16
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%bX,i64 24
%ca=bitcast i8*%b9 to i32*
store i32 6,i32*%ca,align 4
%cb=call i8*@sml_alloc(i32 inreg 12)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177288,i32*%cd,align 4
store i8*%cb,i8**%g,align 8
%ce=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cf=bitcast i8*%cb to i8**
store i8*%ce,i8**%cf,align 8
%cg=getelementptr inbounds i8,i8*%cb,i64 8
%ch=bitcast i8*%cg to i32*
store i32 1,i32*%ch,align 4
%ci=call i8*@sml_alloc(i32 inreg 20)#0
%cj=getelementptr inbounds i8,i8*%ci,i64 -4
%ck=bitcast i8*%cj to i32*
store i32 1342177296,i32*%ck,align 4
store i8*%ci,i8**%f,align 8
%cl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cm=bitcast i8*%ci to i8**
store i8*%cl,i8**%cm,align 8
%cn=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%co=getelementptr inbounds i8,i8*%ci,i64 8
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%ci,i64 16
%cr=bitcast i8*%cq to i32*
store i32 3,i32*%cr,align 4
%cs=call 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**%e,align 8
%cw=bitcast i8*%cs to i8**
store i8*%cv,i8**%cw,align 8
%cx=load i8*,i8**%f,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%R)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%S)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%T)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%U)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%V)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%W)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%X)
br label%cZ
cC:
store i8*null,i8**%i,align 8
store i8*null,i8**%e,align 8
%cD=getelementptr inbounds i8,i8*%af,i64 8
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
store i8*%cF,i8**%g,align 8
%cG=call i8*@sml_alloc(i32 inreg 20)#0
%cH=getelementptr inbounds i8,i8*%cG,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 1342177296,i32*%cI,align 4
store i8*%cG,i8**%e,align 8
%cJ=bitcast i8*%cG to i8**
store i8*null,i8**%cJ,align 8
%cK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cL=getelementptr inbounds i8,i8*%cG,i64 8
%cM=bitcast i8*%cL to i8**
store i8*%cK,i8**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cG,i64 16
%cO=bitcast i8*%cN to 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
%cS=load i8*,i8**%f,align 8
%cT=bitcast i8*%cP to i8**
store i8*%cS,i8**%cT,align 8
%cU=load i8*,i8**%e,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%R)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%S)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%T)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%U)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%V)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%W)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%X)
br label%cZ
cZ:
%c0=phi i8*[%cV,%cC],[%cy,%bW]
%c1=phi i8*[%cS,%cC],[%cv,%bW]
%c2=bitcast i8*%c0 to i8***
%c3=load i8**,i8***%c2,align 8
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%m,align 8
%c5=getelementptr inbounds i8*,i8**%c3,i64 1
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%n,align 8
%c7=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%c8=getelementptr inbounds i8,i8*%c7,i64 8
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
%db=load i8*,i8**%p,align 8
%dc=load i8*,i8**%q,align 8
store i8*null,i8**%p,align 8
store i8*null,i8**%q,align 8
%dd=call fastcc i8*@_SMLLN8LoadFile11evalTopListE_441(i8*inreg%c1,i8*inreg%dc,i8*inreg%db,i8*inreg%da)
%de=bitcast i8*%dd to i8**
%df=load i8*,i8**%de,align 8
store i8*%df,i8**%o,align 8
%dg=getelementptr inbounds i8,i8*%dd,i64 8
%dh=bitcast i8*%dg to i8***
%di=load i8**,i8***%dh,align 8
%dj=load i8*,i8**%di,align 8
store i8*%dj,i8**%p,align 8
%dk=getelementptr inbounds i8*,i8**%di,i64 1
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%q,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**%m,align 8
store i8*null,i8**%m,align 8
%dq=bitcast i8*%dm to i8**
store i8*%dp,i8**%dq,align 8
%dr=load i8*,i8**%p,align 8
store i8*null,i8**%p,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=call fastcc i8*@_SMLLN8LoadFile7consOptE_282(i8*inreg%dm)
store i8*%dw,i8**%m,align 8
%dx=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%dy=getelementptr inbounds i8,i8*%dx,i64 16
%dz=bitcast i8*%dy to i8*(i8*,i8*)**
%dA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dz,align 8
%dB=bitcast i8*%dx to i8**
%dC=load i8*,i8**%dB,align 8
store i8*%dC,i8**%p,align 8
%dD=call i8*@sml_alloc(i32 inreg 20)#0
%dE=getelementptr inbounds i8,i8*%dD,i64 -4
%dF=bitcast i8*%dE to i32*
store i32 1342177296,i32*%dF,align 4
%dG=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%dH=bitcast i8*%dD to i8**
store i8*%dG,i8**%dH,align 8
%dI=load i8*,i8**%q,align 8
store i8*null,i8**%q,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**%p,align 8
store i8*null,i8**%p,align 8
%dO=call fastcc i8*%dA(i8*inreg%dN,i8*inreg%dD)
store i8*%dO,i8**%n,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**%p,align 8
%dS=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%dT=bitcast i8*%dP to i8**
store i8*%dS,i8**%dT,align 8
%dU=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%dV=getelementptr inbounds i8,i8*%dP,i64 8
%dW=bitcast i8*%dV to i8**
store i8*%dU,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dP,i64 16
%dY=bitcast i8*%dX to i32*
store i32 3,i32*%dY,align 4
%dZ=call i8*@sml_alloc(i32 inreg 20)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177296,i32*%d1,align 4
%d2=load i8*,i8**%o,align 8
%d3=bitcast i8*%dZ to i8**
store i8*%d2,i8**%d3,align 8
%d4=load i8*,i8**%p,align 8
%d5=getelementptr inbounds i8,i8*%dZ,i64 8
%d6=bitcast i8*%d5 to i8**
store i8*%d4,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%dZ,i64 16
%d8=bitcast i8*%d7 to i32*
store i32 3,i32*%d8,align 4
ret i8*%dZ
}
define internal fastcc i8*@_SMLLN8LoadFile18evalRequireOptionsE_461(i8*inreg%a)#2 gc"smlsharp"{
%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
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
store i8*%a,i8**%b,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%l
i:
%j=bitcast i8*%a to i8**
%k=bitcast i8**%b to i8***
br label%o
l:
call void@sml_check(i32 inreg%g)
%m=bitcast i8**%b to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8***[%k,%i],[%m,%l]
%q=phi i8**[%j,%i],[%n,%l]
%r=load i8*,i8**%q,align 8
%s=call fastcc i8*@_SMLFN6Symbol14symbolToStringE(i8*inreg%r)
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=and i32%v,268435455
%x=icmp eq i32%w,5
br i1%x,label%y,label%O
y:
%z=load i8,i8*%s,align 1
%A=icmp eq i8%z,105
br i1%A,label%B,label%O
B:
%C=getelementptr inbounds i8,i8*%s,i64 1
%D=load i8,i8*%C,align 1
%E=icmp eq i8%D,110
br i1%E,label%F,label%O
F:
%G=getelementptr inbounds i8,i8*%s,i64 2
%H=load i8,i8*%G,align 1
%I=icmp eq i8%H,105
br i1%I,label%J,label%O
J:
%K=getelementptr inbounds i8,i8*%s,i64 3
%L=load i8,i8*%K,align 1
%M=icmp eq i8%L,116
br i1%M,label%N,label%O
N:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aG,i64 0,i32 2)to i8*)
O:
store i8*null,i8**%e,align 8
%P=load i8**,i8***%p,align 8
store i8*null,i8**%b,align 8
%Q=load i8*,i8**%P,align 8
%R=call fastcc i8*@_SMLFN6Symbol11symbolToLocE(i8*inreg%Q)
store i8*%R,i8**%b,align 8
%S=load i8*,i8**@_SMLZN13LoadFileError20UnknownRequireOptionE,align 8
store i8*%S,i8**%d,align 8
%T=call i8*@sml_alloc(i32 inreg 28)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
store i8*%T,i8**%f,align 8
%W=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%T,i64 8
%Z=bitcast i8*%Y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@O,i64 0,i32 2,i64 0),i8**%Z,align 8
%aa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%T,i64 24
%ae=bitcast i8*%ad to i32*
store i32 7,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
%ai=load i8*,i8**%b,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%f,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=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%af)
unreachable
}
define internal fastcc i8*@_SMLL5inits_464(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
store i8*%d,i8**%b,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=getelementptr inbounds i8,i8*%e,i64 12
%i=bitcast i8*%h to i32*
store i32 0,i32*%i,align 1
%j=load i8*,i8**%b,align 8
%k=bitcast i8*%e to i8**
store i8*%j,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%e,i64 8
%m=bitcast i8*%l to i32*
store i32 0,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%e,i64 16
%o=bitcast i8*%n to i32*
store i32 1,i32*%o,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile18evalRequireOptionsE_466(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%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**%e,align 8
store i8*%b,i8**%f,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*@_SMLFN4List5foldlE(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
%u=call fastcc i8*%r(i8*inreg%t,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*))
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*%x(i8*inreg%z,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@Z,i64 0,i32 2)to i8*))
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
%G=bitcast i8**%e to i8***
%H=load i8**,i8***%G,align 8
store i8*null,i8**%e,align 8
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%D(i8*inreg%F,i8*inreg%I)
%K=bitcast i8*%J to i32*
%L=load i32,i32*%K,align 4
%M=icmp eq i32%L,0
br i1%M,label%aq,label%N
N:
%O=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%O)
%P=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%P)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*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*),i8**%c,align 8
%Q=call i8*@sml_alloc(i32 inreg 12)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177288,i32*%S,align 4
store i8*%Q,i8**%d,align 8
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i32*
store i32 1,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%d,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc3mapE_348 to void(...)*),void(...)**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile5Assoc3mapE_348 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 24
%ah=bitcast i8*%ag to i32*
store i32 -2147483647,i32*%ah,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%O)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%P)
%ai=load i8*,i8**%f,align 8
%aj=getelementptr inbounds i8,i8*%ai,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=call fastcc i8*@_SMLLN8LoadFile5Assoc3mapE_348(i8*inreg%aa,i8*inreg%al)
%an=bitcast i8**%f to i8***
%ao=load i8**,i8***%an,align 8
%ap=bitcast i8**%ao to i8*
br label%aw
aq:
%ar=load i8*,i8**%f,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
%av=bitcast i8*%ar to i8**
br label%aw
aw:
%ax=phi i8*[%ar,%aq],[%ap,%N]
%ay=phi i8**[%av,%aq],[%ao,%N]
%az=phi i8*[%au,%aq],[%am,%N]
store i8*%az,i8**%e,align 8
%aA=load i8*,i8**%ay,align 8
store i8*%aA,i8**%g,align 8
%aB=getelementptr inbounds i8*,i8**%ay,i64 2
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%h,align 8
%aD=getelementptr inbounds i8*,i8**%ay,i64 3
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%i,align 8
%aF=getelementptr inbounds i8,i8*%ax,i64 32
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%j,align 8
%aI=getelementptr inbounds i8,i8*%ax,i64 40
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%f,align 8
%aL=call i8*@sml_alloc(i32 inreg 52)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177328,i32*%aN,align 4
%aO=load i8*,i8**%g,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=load i8*,i8**%e,align 8
%aR=getelementptr inbounds i8,i8*%aL,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=load i8*,i8**%h,align 8
%aU=getelementptr inbounds i8,i8*%aL,i64 16
%aV=bitcast i8*%aU to i8**
store i8*%aT,i8**%aV,align 8
%aW=load i8*,i8**%i,align 8
%aX=getelementptr inbounds i8,i8*%aL,i64 24
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=load i8*,i8**%j,align 8
%a0=getelementptr inbounds i8,i8*%aL,i64 32
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=load i8*,i8**%f,align 8
%a3=getelementptr inbounds i8,i8*%aL,i64 40
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aL,i64 48
%a6=bitcast i8*%a5 to i32*
store i32 63,i32*%a6,align 4
ret i8*%aL
}
define internal fastcc i8*@_SMLLN8LoadFile18evalRequireOptionsE_467(i8*inreg%a)unnamed_addr#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*)*@_SMLLN8LoadFile18evalRequireOptionsE_466 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*)*@_SMLLN8LoadFile18evalRequireOptionsE_466 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*@_SMLL4hash_484(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%e,label%g
e:
%f=bitcast i8*%a to i8**
br label%j
g:
call void@sml_check(i32 inreg%c)
%h=bitcast i8**%b to i8***
%i=load i8**,i8***%h,align 8
br label%j
j:
%k=phi i8**[%i,%g],[%f,%e]
store i8*null,i8**%b,align 8
%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
ret i8*%o
}
define internal fastcc i8*@_SMLL3dec_486(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
%e=load i32,i32*%d,align 4
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%b,align 8
%i=call i8*@sml_alloc(i32 inreg 20)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
store i32 0,i32*%n,align 1
store i32%e,i32*%j,align 4
%o=load i8*,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i8**
store i8*%o,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 16
%s=bitcast i8*%r to i32*
store i32 2,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLL5edges_488(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
%d=bitcast i8*%a to i8**
%e=load i8*,i8**%d,align 8
store i8*%e,i8**%b,align 8
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%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=bitcast i8*%i to i64*
store i64 0,i64*%l,align 4
%m=load i8*,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=load i8*,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%i,i64 16
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%i,i64 24
%t=bitcast i8*%s to i32*
store i32 6,i32*%t,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_493(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
%e=getelementptr inbounds i8,i8*%d,i64 8
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i8***
%j=load i8**,i8***%i,align 8
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%b,align 8
%l=getelementptr inbounds i8*,i8**%j,i64 1
%m=bitcast i8**%l to i32*
%n=load i32,i32*%m,align 4
%o=icmp eq i32%g,0
%p=select i1%o,i32 0,i32%n
%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=getelementptr inbounds i8,i8*%q,i64 12
%u=bitcast i8*%t to i32*
store i32 0,i32*%u,align 1
%v=load i8*,i8**%b,align 8
%w=bitcast i8*%q to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 8
%y=bitcast i8*%x to i32*
store i32%p,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%q,i64 16
%A=bitcast i8*%z to i32*
store i32 1,i32*%A,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_495(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_497(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_499(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_501(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_503(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_505(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile12evalIrequireE_469(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%d,i8*inreg%e)#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
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**%m,align 8
store i8*%b,i8**%g,align 8
store i8*%c,i8**%f,align 8
store i8*%e,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%p,label%r
p:
%q=bitcast i8*%c to i8**
br label%w
r:
call void@sml_check(i32 inreg%n)
%s=load i8*,i8**%h,align 8
%t=bitcast i8**%f to i8***
%u=load i8**,i8***%t,align 8
%v=bitcast i8**%u to i8*
br label%w
w:
%x=phi i8*[%v,%r],[%c,%p]
%y=phi i8**[%u,%r],[%q,%p]
%z=phi i8*[%s,%r],[%e,%p]
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
switch i32%B,label%C[
i32 2,label%fa
i32 0,label%ce
i32 1,label%U
]
C:
store i8*null,i8**%g,align 8
store i8*null,i8**%m,align 8
call void@sml_matchcomp_bug()
%D=load i8*,i8**@_SMLZ5Match,align 8
store i8*%D,i8**%f,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
store i8*%E,i8**%g,align 8
%H=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@V,i64 0,i32 2,i64 0),i8**%K,align 8
%L=getelementptr inbounds i8,i8*%E,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=call i8*@sml_alloc(i32 inreg 60)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177336,i32*%P,align 4
%Q=getelementptr inbounds i8,i8*%N,i64 56
%R=bitcast i8*%Q to i32*
store i32 1,i32*%R,align 4
%S=load i8*,i8**%g,align 8
%T=bitcast i8*%N to i8**
store i8*%S,i8**%T,align 8
call void@sml_raise(i8*inreg%N)#1
unreachable
U:
%V=getelementptr inbounds i8,i8*%z,i64 8
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
switch i32%d,label%Y[
i32 5,label%b4
i32 2,label%aX
i32 4,label%b4
i32 3,label%aX
i32 1,label%aq
i32 0,label%aX
]
Y:
store i8*null,i8**%g,align 8
store i8*null,i8**%m,align 8
call void@sml_matchcomp_bug()
%Z=load i8*,i8**@_SMLZ5Match,align 8
store i8*%Z,i8**%f,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
store i8*%aa,i8**%g,align 8
%ad=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@U,i64 0,i32 2,i64 0),i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 16
%ai=bitcast i8*%ah to i32*
store i32 3,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 60)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177336,i32*%al,align 4
%am=getelementptr inbounds i8,i8*%aj,i64 56
%an=bitcast i8*%am to i32*
store i32 1,i32*%an,align 4
%ao=load i8*,i8**%g,align 8
%ap=bitcast i8*%aj to i8**
store i8*%ao,i8**%ap,align 8
call void@sml_raise(i8*inreg%aj)#1
unreachable
aq:
%ar=load i8*,i8**%y,align 8
%as=bitcast i8*%ar to i32*
%at=load i32,i32*%as,align 4
switch i32%at,label%au[
i32 0,label%aP
i32 1,label%aM
]
au:
store i8*null,i8**%g,align 8
store i8*null,i8**%m,align 8
call void@sml_matchcomp_bug()
%av=load i8*,i8**@_SMLZ5Match,align 8
store i8*%av,i8**%f,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
store i8*%aw,i8**%g,align 8
%az=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@T,i64 0,i32 2,i64 0),i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to i32*
store i32 3,i32*%aE,align 4
%aF=call i8*@sml_alloc(i32 inreg 60)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177336,i32*%aH,align 4
%aI=getelementptr inbounds i8,i8*%aF,i64 56
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
%aK=load i8*,i8**%g,align 8
%aL=bitcast i8*%aF to i8**
store i8*%aK,i8**%aL,align 8
call void@sml_raise(i8*inreg%aF)#1
unreachable
aM:
%aN=getelementptr inbounds i8,i8*%ar,i64 4
%aO=bitcast i8*%aN to i32*
br label%aT
aP:
%aQ=getelementptr inbounds i8,i8*%ar,i64 8
%aR=bitcast i8*%aQ to i32**
%aS=load i32*,i32**%aR,align 8
br label%aT
aT:
%aU=phi i32*[%aO,%aM],[%aS,%aP]
%aV=load i32,i32*%aU,align 4
%aW=icmp eq i32%aV,1
br i1%aW,label%aX,label%b4
aX:
%aY=load i8*,i8**%g,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%aZ=call fastcc i8*@_SMLLN8LoadFile7loadUseE_440(i8*inreg%aY,i8*inreg%x,i8*inreg%X)
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
store i8*%a1,i8**%f,align 8
%a2=getelementptr inbounds i8,i8*%aZ,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
%a5=getelementptr inbounds i8,i8*%a4,i64 8
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%g,align 8
%a8=bitcast i8*%a4 to i8**
%a9=load i8*,i8**%a8,align 8
store i8*%a9,i8**%h,align 8
%ba=call i8*@sml_alloc(i32 inreg 28)#0
%bb=getelementptr inbounds i8,i8*%ba,i64 -4
%bc=bitcast i8*%bb to i32*
store i32 1342177304,i32*%bc,align 4
store i8*%ba,i8**%i,align 8
%bd=getelementptr inbounds i8,i8*%ba,i64 4
%be=bitcast i8*%bd to i32*
store i32 0,i32*%be,align 1
%bf=bitcast i8*%ba to i32*
store i32 2,i32*%bf,align 4
%bg=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bh=getelementptr inbounds i8,i8*%ba,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=load i8*,i8**%h,align 8
%bk=getelementptr inbounds i8,i8*%ba,i64 16
%bl=bitcast i8*%bk to i8**
store i8*%bj,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%ba,i64 24
%bn=bitcast i8*%bm to i32*
store i32 6,i32*%bn,align 4
%bo=bitcast i8**%m to i8***
%bp=load i8**,i8***%bo,align 8
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%h,align 8
%br=load i8*,i8**%bp,align 8
store i8*%br,i8**%j,align 8
%bs=load i8*,i8**%bp,align 8
store i8*%bs,i8**%k,align 8
store i8*null,i8**%m,align 8
%bt=load i8*,i8**%bp,align 8
store i8*%bt,i8**%l,align 8
%bu=call i8*@sml_alloc(i32 inreg 44)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177320,i32*%bw,align 4
store i8*%bu,i8**%g,align 8
%bx=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bA=getelementptr inbounds i8,i8*%bu,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bD=getelementptr inbounds i8,i8*%bu,i64 16
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bG=getelementptr inbounds i8,i8*%bu,i64 24
%bH=bitcast i8*%bG to i8**
store i8*%bF,i8**%bH,align 8
%bI=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%bJ=getelementptr inbounds i8,i8*%bu,i64 32
%bK=bitcast i8*%bJ to i8**
store i8*%bI,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bu,i64 40
%bM=bitcast i8*%bL to i32*
store i32 31,i32*%bM,align 4
%bN=call i8*@sml_alloc(i32 inreg 12)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177288,i32*%bP,align 4
store i8*%bN,i8**%h,align 8
%bQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bN,i64 8
%bT=bitcast i8*%bS to i32*
store i32 1,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**%f,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=load i8*,i8**%h,align 8
%b0=getelementptr inbounds i8,i8*%bU,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bU,i64 16
%b3=bitcast i8*%b2 to i32*
store i32 3,i32*%b3,align 4
ret i8*%bU
b4:
store i8*null,i8**%f,align 8
store i8*null,i8**%m,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**%g,align 8
%b9=bitcast i8*%b5 to i8**
store i8*%b8,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b5,i64 8
%cb=bitcast i8*%ca to i8**
store i8*null,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b5,i64 16
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
ret i8*%b5
ce:
%cf=getelementptr inbounds i8,i8*%z,i64 8
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
store i8*%ch,i8**%h,align 8
%ci=getelementptr inbounds i8,i8*%ch,i64 16
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%l,align 8
%cl=bitcast i8*%ch to i8**
switch i32%d,label%cm[
i32 5,label%e0
i32 1,label%cE
i32 2,label%dd
i32 4,label%dc
i32 3,label%db
i32 0,label%de
]
cm:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%m,align 8
call void@sml_matchcomp_bug()
%cn=load i8*,i8**@_SMLZ5Match,align 8
store i8*%cn,i8**%f,align 8
%co=call i8*@sml_alloc(i32 inreg 20)#0
%cp=getelementptr inbounds i8,i8*%co,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
store i8*%co,i8**%g,align 8
%cr=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cs=bitcast i8*%co to i8**
store i8*%cr,i8**%cs,align 8
%ct=getelementptr inbounds i8,i8*%co,i64 8
%cu=bitcast i8*%ct to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@S,i64 0,i32 2,i64 0),i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%co,i64 16
%cw=bitcast i8*%cv to i32*
store i32 3,i32*%cw,align 4
%cx=call i8*@sml_alloc(i32 inreg 60)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177336,i32*%cz,align 4
%cA=getelementptr inbounds i8,i8*%cx,i64 56
%cB=bitcast i8*%cA to i32*
store i32 1,i32*%cB,align 4
%cC=load i8*,i8**%g,align 8
%cD=bitcast i8*%cx to i8**
store i8*%cC,i8**%cD,align 8
call void@sml_raise(i8*inreg%cx)#1
unreachable
cE:
%cF=load i8*,i8**%y,align 8
%cG=bitcast i8*%cF to i32*
%cH=load i32,i32*%cG,align 4
switch i32%cH,label%cI[
i32 0,label%c3
i32 1,label%c0
]
cI:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%m,align 8
call void@sml_matchcomp_bug()
%cJ=load i8*,i8**@_SMLZ5Match,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**%g,align 8
%cN=load i8*,i8**%f,align 8
store i8*null,i8**%f,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*getelementptr inbounds(<{[4x i8],i32,[66x i8]}>,<{[4x i8],i32,[66x i8]}>*@T,i64 0,i32 2,i64 0),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 60)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177336,i32*%cV,align 4
%cW=getelementptr inbounds i8,i8*%cT,i64 56
%cX=bitcast i8*%cW to i32*
store i32 1,i32*%cX,align 4
%cY=load i8*,i8**%g,align 8
%cZ=bitcast i8*%cT to i8**
store i8*%cY,i8**%cZ,align 8
call void@sml_raise(i8*inreg%cT)#1
unreachable
c0:
%c1=getelementptr inbounds i8,i8*%cF,i64 4
%c2=bitcast i8*%c1 to i32*
br label%c7
c3:
%c4=getelementptr inbounds i8,i8*%cF,i64 8
%c5=bitcast i8*%c4 to i32**
%c6=load i32*,i32**%c5,align 8
br label%c7
c7:
%c8=phi i32*[%c2,%c0],[%c6,%c3]
%c9=load i32,i32*%c8,align 4
%da=icmp eq i32%c9,1
br i1%da,label%de,label%e0
db:
br label%de
dc:
br label%de
dd:
br label%de
de:
%df=phi i32[4,%db],[4,%dc],[5,%dd],[%d,%ce],[1,%c7]
%dg=load i8*,i8**%cl,align 8
store i8*%dg,i8**%i,align 8
%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**%j,align 8
%dk=getelementptr inbounds i8,i8*%dh,i64 4
%dl=bitcast i8*%dk to i32*
store i32 0,i32*%dl,align 1
%dm=bitcast i8*%dh to i32*
store i32 1,i32*%dm,align 4
%dn=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%do=getelementptr inbounds i8,i8*%dh,i64 8
%dp=bitcast i8*%do to i8**
store i8*%dn,i8**%dp,align 8
%dq=getelementptr inbounds i8,i8*%dh,i64 16
%dr=bitcast i8*%dq to i32*
store i32 2,i32*%dr,align 4
%ds=call i8*@sml_alloc(i32 inreg 20)#0
%dt=getelementptr inbounds i8,i8*%ds,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177296,i32*%du,align 4
%dv=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dw=bitcast i8*%ds to i8**
store i8*%dv,i8**%dw,align 8
%dx=load i8*,i8**%l,align 8
%dy=getelementptr inbounds i8,i8*%ds,i64 8
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=getelementptr inbounds i8,i8*%ds,i64 16
%dB=bitcast i8*%dA to i32*
store i32 3,i32*%dB,align 4
%dC=load i8*,i8**%f,align 8
%dD=load i8*,i8**%g,align 8
%dE=load i8*,i8**%m,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%dF=call fastcc i8*@_SMLLN8LoadFile11loadRequireE_470(i8*inreg%dE,i8*inreg%dD,i8*inreg%dC,i32 inreg%df,i8*inreg%ds)
store i8*%dF,i8**%g,align 8
%dG=bitcast i8*%dF to i8**
%dH=load i8*,i8**%dG,align 8
store i8*%dH,i8**%f,align 8
%dI=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dJ=getelementptr inbounds i8,i8*%dI,i64 8
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
%dM=call fastcc i8*@_SMLLN8LoadFile18evalRequireOptionsE_467(i8*inreg%dL)
%dN=getelementptr inbounds i8,i8*%dM,i64 16
%dO=bitcast i8*%dN to i8*(i8*,i8*)**
%dP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dO,align 8
%dQ=bitcast i8*%dM to i8**
%dR=load i8*,i8**%dQ,align 8
%dS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dT=getelementptr inbounds i8,i8*%dS,i64 8
%dU=bitcast i8*%dT to i8**
%dV=load i8*,i8**%dU,align 8
%dW=call fastcc i8*%dP(i8*inreg%dR,i8*inreg%dV)
%dX=getelementptr inbounds i8,i8*%dW,i64 24
%dY=bitcast i8*%dX to i8**
%dZ=load i8*,i8**%dY,align 8
store i8*%dZ,i8**%g,align 8
%d0=getelementptr inbounds i8,i8*%dW,i64 8
%d1=bitcast i8*%d0 to i8**
%d2=load i8*,i8**%d1,align 8
store i8*%d2,i8**%h,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 32
%d4=bitcast i8*%d3 to i8**
%d5=load i8*,i8**%d4,align 8
store i8*%d5,i8**%i,align 8
%d6=getelementptr inbounds i8,i8*%dW,i64 40
%d7=bitcast i8*%d6 to i8**
%d8=load i8*,i8**%d7,align 8
store i8*%d8,i8**%j,align 8
%d9=call i8*@sml_alloc(i32 inreg 28)#0
%ea=getelementptr inbounds i8,i8*%d9,i64 -4
%eb=bitcast i8*%ea to i32*
store i32 1342177304,i32*%eb,align 4
store i8*%d9,i8**%k,align 8
%ec=getelementptr inbounds i8,i8*%d9,i64 4
%ed=bitcast i8*%ec to i32*
store i32 0,i32*%ed,align 1
%ee=bitcast i8*%d9 to i32*
store i32 1,i32*%ee,align 4
%ef=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eg=getelementptr inbounds i8,i8*%d9,i64 8
%eh=bitcast i8*%eg to i8**
store i8*%ef,i8**%eh,align 8
%ei=load i8*,i8**%l,align 8
%ej=getelementptr inbounds i8,i8*%d9,i64 16
%ek=bitcast i8*%ej to i8**
store i8*%ei,i8**%ek,align 8
%el=getelementptr inbounds i8,i8*%d9,i64 24
%em=bitcast i8*%el to i32*
store i32 6,i32*%em,align 4
%en=bitcast i8**%m to i8***
%eo=load i8**,i8***%en,align 8
store i8*null,i8**%m,align 8
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%l,align 8
%eq=call i8*@sml_alloc(i32 inreg 44)#0
%er=getelementptr inbounds i8,i8*%eq,i64 -4
%es=bitcast i8*%er to i32*
store i32 1342177320,i32*%es,align 4
store i8*%eq,i8**%g,align 8
%et=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eu=bitcast i8*%eq to i8**
store i8*%et,i8**%eu,align 8
%ev=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ew=getelementptr inbounds i8,i8*%eq,i64 8
%ex=bitcast i8*%ew to i8**
store i8*%ev,i8**%ex,align 8
%ey=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ez=getelementptr inbounds i8,i8*%eq,i64 16
%eA=bitcast i8*%ez to i8**
store i8*%ey,i8**%eA,align 8
%eB=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%eC=getelementptr inbounds i8,i8*%eq,i64 24
%eD=bitcast i8*%eC to i8**
store i8*%eB,i8**%eD,align 8
%eE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eF=getelementptr inbounds i8,i8*%eq,i64 32
%eG=bitcast i8*%eF to i8**
store i8*%eE,i8**%eG,align 8
%eH=getelementptr inbounds i8,i8*%eq,i64 40
%eI=bitcast i8*%eH to i32*
store i32 31,i32*%eI,align 4
%eJ=call i8*@sml_alloc(i32 inreg 12)#0
%eK=getelementptr inbounds i8,i8*%eJ,i64 -4
%eL=bitcast i8*%eK to i32*
store i32 1342177288,i32*%eL,align 4
store i8*%eJ,i8**%h,align 8
%eM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eN=bitcast i8*%eJ to i8**
store i8*%eM,i8**%eN,align 8
%eO=getelementptr inbounds i8,i8*%eJ,i64 8
%eP=bitcast i8*%eO to i32*
store i32 1,i32*%eP,align 4
%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
%eT=load i8*,i8**%f,align 8
%eU=bitcast i8*%eQ to i8**
store i8*%eT,i8**%eU,align 8
%eV=load i8*,i8**%h,align 8
%eW=getelementptr inbounds i8,i8*%eQ,i64 8
%eX=bitcast i8*%eW to i8**
store i8*%eV,i8**%eX,align 8
%eY=getelementptr inbounds i8,i8*%eQ,i64 16
%eZ=bitcast i8*%eY to i32*
store i32 3,i32*%eZ,align 4
ret i8*%eQ
e0:
store i8*null,i8**%f,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%m,align 8
%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
%e4=load i8*,i8**%g,align 8
%e5=bitcast i8*%e1 to i8**
store i8*%e4,i8**%e5,align 8
%e6=getelementptr inbounds i8,i8*%e1,i64 8
%e7=bitcast i8*%e6 to i8**
store i8*null,i8**%e7,align 8
%e8=getelementptr inbounds i8,i8*%e1,i64 16
%e9=bitcast i8*%e8 to i32*
store i32 3,i32*%e9,align 4
ret i8*%e1
fa:
%fb=getelementptr inbounds i8,i8*%z,i64 8
%fc=bitcast i8*%fb to i8**
%fd=load i8*,i8**%fc,align 8
store i8*%fd,i8**%h,align 8
%fe=getelementptr inbounds i8,i8*%fd,i64 16
%ff=bitcast i8*%fe to i8**
%fg=load i8*,i8**%ff,align 8
store i8*%fg,i8**%l,align 8
%fh=icmp ult i32%d,6
br i1%fh,label%fA,label%fi
fi:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%m,align 8
call void@sml_matchcomp_bug()
%fj=load i8*,i8**@_SMLZ5Match,align 8
store i8*%fj,i8**%f,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**%g,align 8
%fn=load i8*,i8**%f,align 8
store i8*null,i8**%f,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,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@R,i64 0,i32 2,i64 0),i8**%fq,align 8
%fr=getelementptr inbounds i8,i8*%fk,i64 16
%fs=bitcast i8*%fr to i32*
store i32 3,i32*%fs,align 4
%ft=call i8*@sml_alloc(i32 inreg 60)#0
%fu=getelementptr inbounds i8,i8*%ft,i64 -4
%fv=bitcast i8*%fu to i32*
store i32 1342177336,i32*%fv,align 4
%fw=getelementptr inbounds i8,i8*%ft,i64 56
%fx=bitcast i8*%fw to i32*
store i32 1,i32*%fx,align 4
%fy=load i8*,i8**%g,align 8
%fz=bitcast i8*%ft to i8**
store i8*%fy,i8**%fz,align 8
call void@sml_raise(i8*inreg%ft)#1
unreachable
fA:
%fB=bitcast i8*%fd to i8**
%fC=sext i32%d to i64
%fD=getelementptr inbounds[6x i32],[6x i32]*@aK,i64 0,i64%fC
%fE=load i32,i32*%fD,align 4
%fF=load i8*,i8**%fB,align 8
store i8*%fF,i8**%i,align 8
%fG=call i8*@sml_alloc(i32 inreg 20)#0
%fH=getelementptr inbounds i8,i8*%fG,i64 -4
%fI=bitcast i8*%fH to i32*
store i32 1342177296,i32*%fI,align 4
store i8*%fG,i8**%j,align 8
%fJ=getelementptr inbounds i8,i8*%fG,i64 4
%fK=bitcast i8*%fJ to i32*
store i32 0,i32*%fK,align 1
%fL=bitcast i8*%fG to i32*
store i32 1,i32*%fL,align 4
%fM=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fN=getelementptr inbounds i8,i8*%fG,i64 8
%fO=bitcast i8*%fN to i8**
store i8*%fM,i8**%fO,align 8
%fP=getelementptr inbounds i8,i8*%fG,i64 16
%fQ=bitcast i8*%fP to i32*
store i32 2,i32*%fQ,align 4
%fR=call i8*@sml_alloc(i32 inreg 20)#0
%fS=getelementptr inbounds i8,i8*%fR,i64 -4
%fT=bitcast i8*%fS to i32*
store i32 1342177296,i32*%fT,align 4
%fU=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fV=bitcast i8*%fR to i8**
store i8*%fU,i8**%fV,align 8
%fW=load i8*,i8**%l,align 8
%fX=getelementptr inbounds i8,i8*%fR,i64 8
%fY=bitcast i8*%fX to i8**
store i8*%fW,i8**%fY,align 8
%fZ=getelementptr inbounds i8,i8*%fR,i64 16
%f0=bitcast i8*%fZ to i32*
store i32 3,i32*%f0,align 4
%f1=load i8*,i8**%f,align 8
%f2=load i8*,i8**%g,align 8
%f3=load i8*,i8**%m,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%f4=call fastcc i8*@_SMLLN8LoadFile11loadRequireE_470(i8*inreg%f3,i8*inreg%f2,i8*inreg%f1,i32 inreg%fE,i8*inreg%fR)
store i8*%f4,i8**%g,align 8
%f5=bitcast i8*%f4 to i8**
%f6=load i8*,i8**%f5,align 8
store i8*%f6,i8**%f,align 8
%f7=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%f8=getelementptr inbounds i8,i8*%f7,i64 8
%f9=bitcast i8*%f8 to i8**
%ga=load i8*,i8**%f9,align 8
%gb=call fastcc i8*@_SMLLN8LoadFile18evalRequireOptionsE_467(i8*inreg%ga)
%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
%gh=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gi=getelementptr inbounds i8,i8*%gh,i64 8
%gj=bitcast i8*%gi to i8**
%gk=load i8*,i8**%gj,align 8
%gl=call fastcc i8*%ge(i8*inreg%gg,i8*inreg%gk)
%gm=getelementptr inbounds i8,i8*%gl,i64 24
%gn=bitcast i8*%gm to i8**
%go=load i8*,i8**%gn,align 8
store i8*%go,i8**%g,align 8
%gp=getelementptr inbounds i8,i8*%gl,i64 8
%gq=bitcast i8*%gp to i8**
%gr=load i8*,i8**%gq,align 8
store i8*%gr,i8**%h,align 8
%gs=getelementptr inbounds i8,i8*%gl,i64 32
%gt=bitcast i8*%gs to i8**
%gu=load i8*,i8**%gt,align 8
store i8*%gu,i8**%i,align 8
%gv=getelementptr inbounds i8,i8*%gl,i64 40
%gw=bitcast i8*%gv to i8**
%gx=load i8*,i8**%gw,align 8
store i8*%gx,i8**%j,align 8
%gy=call i8*@sml_alloc(i32 inreg 28)#0
%gz=getelementptr inbounds i8,i8*%gy,i64 -4
%gA=bitcast i8*%gz to i32*
store i32 1342177304,i32*%gA,align 4
store i8*%gy,i8**%k,align 8
%gB=getelementptr inbounds i8,i8*%gy,i64 4
%gC=bitcast i8*%gB to i32*
store i32 0,i32*%gC,align 1
%gD=bitcast i8*%gy to i32*
store i32 4,i32*%gD,align 4
%gE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gF=getelementptr inbounds i8,i8*%gy,i64 8
%gG=bitcast i8*%gF to i8**
store i8*%gE,i8**%gG,align 8
%gH=load i8*,i8**%l,align 8
%gI=getelementptr inbounds i8,i8*%gy,i64 16
%gJ=bitcast i8*%gI to i8**
store i8*%gH,i8**%gJ,align 8
%gK=getelementptr inbounds i8,i8*%gy,i64 24
%gL=bitcast i8*%gK to i32*
store i32 6,i32*%gL,align 4
%gM=bitcast i8**%m to i8***
%gN=load i8**,i8***%gM,align 8
store i8*null,i8**%m,align 8
%gO=load i8*,i8**%gN,align 8
store i8*%gO,i8**%l,align 8
%gP=call i8*@sml_alloc(i32 inreg 44)#0
%gQ=getelementptr inbounds i8,i8*%gP,i64 -4
%gR=bitcast i8*%gQ to i32*
store i32 1342177320,i32*%gR,align 4
store i8*%gP,i8**%g,align 8
%gS=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%gT=bitcast i8*%gP to i8**
store i8*%gS,i8**%gT,align 8
%gU=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gV=getelementptr inbounds i8,i8*%gP,i64 8
%gW=bitcast i8*%gV to i8**
store i8*%gU,i8**%gW,align 8
%gX=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%gY=getelementptr inbounds i8,i8*%gP,i64 16
%gZ=bitcast i8*%gY to i8**
store i8*%gX,i8**%gZ,align 8
%g0=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%g1=getelementptr inbounds i8,i8*%gP,i64 24
%g2=bitcast i8*%g1 to i8**
store i8*%g0,i8**%g2,align 8
%g3=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%g4=getelementptr inbounds i8,i8*%gP,i64 32
%g5=bitcast i8*%g4 to i8**
store i8*%g3,i8**%g5,align 8
%g6=getelementptr inbounds i8,i8*%gP,i64 40
%g7=bitcast i8*%g6 to i32*
store i32 31,i32*%g7,align 4
%g8=call i8*@sml_alloc(i32 inreg 12)#0
%g9=getelementptr inbounds i8,i8*%g8,i64 -4
%ha=bitcast i8*%g9 to i32*
store i32 1342177288,i32*%ha,align 4
store i8*%g8,i8**%h,align 8
%hb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hc=bitcast i8*%g8 to i8**
store i8*%hb,i8**%hc,align 8
%hd=getelementptr inbounds i8,i8*%g8,i64 8
%he=bitcast i8*%hd to i32*
store i32 1,i32*%he,align 4
%hf=call i8*@sml_alloc(i32 inreg 20)#0
%hg=getelementptr inbounds i8,i8*%hf,i64 -4
%hh=bitcast i8*%hg to i32*
store i32 1342177296,i32*%hh,align 4
%hi=load i8*,i8**%f,align 8
%hj=bitcast i8*%hf to i8**
store i8*%hi,i8**%hj,align 8
%hk=load i8*,i8**%h,align 8
%hl=getelementptr inbounds i8,i8*%hf,i64 8
%hm=bitcast i8*%hl to i8**
store i8*%hk,i8**%hm,align 8
%hn=getelementptr inbounds i8,i8*%hf,i64 16
%ho=bitcast i8*%hn to i32*
store i32 3,i32*%ho,align 4
ret i8*%hf
}
define internal fastcc i8*@_SMLLN8LoadFile11loadRequireE_470(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%d,i8*inreg%e)#2 gc"smlsharp"{
C:
%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
%u=alloca i8*,align 8
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
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
call void@llvm.gcroot(i8**%u,i8*null)#0
store i8*%b,i8**%i,align 8
store i8*%c,i8**%h,align 8
store i8*%e,i8**%j,align 8
store i8*%a,i8**%u,align 8
%v=load atomic i32,i32*@sml_check_flag unordered,align 4
%w=icmp eq i32%v,0
br i1%w,label%A,label%x
x:
call void@sml_check(i32 inreg%v)
%y=load i8*,i8**%j,align 8
%z=load i8*,i8**%i,align 8
br label%A
A:
%B=phi i8*[%z,%x],[%b,%C]
%D=phi i8*[%y,%x],[%e,%C]
store i8*null,i8**%j,align 8
store i8*%D,i8**%p,align 8
%E=getelementptr inbounds i8,i8*%D,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%q,align 8
%H=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%H)
%I=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%I)
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%B,i8**%f,align 8
%J=call i8*@sml_alloc(i32 inreg 12)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177288,i32*%L,align 4
store i8*%J,i8**%g,align 8
%M=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
%Q=call i8*@sml_alloc(i32 inreg 28)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177304,i32*%S,align 4
%T=load i8*,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile16visitAndParseSmiE_429 to void(...)*),void(...)**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN8LoadFile16visitAndParseSmiE_429 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%Q,i64 24
%aa=bitcast i8*%Z to i32*
store i32 -2147483647,i32*%aa,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
%ab=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ac=call fastcc i8*@_SMLLN8LoadFile16visitAndParseSmiE_429(i8*inreg%T,i8*inreg%ab)
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
%ai=load i8*,i8**%p,align 8
%aj=call fastcc i8*%af(i8*inreg%ah,i8*inreg%ai)
%ak=bitcast i8*%aj to i32*
%al=load i32,i32*%ak,align 4
switch i32%al,label%am[
i32 0,label%lS
i32 1,label%aE
]
am:
store i8*null,i8**%p,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%q,align 8
store i8*null,i8**%u,align 8
call void@sml_matchcomp_bug()
%an=load i8*,i8**@_SMLZ5Match,align 8
store i8*%an,i8**%h,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**%i,align 8
%ar=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@aa,i64 0,i32 2,i64 0),i8**%au,align 8
%av=getelementptr inbounds i8,i8*%ao,i64 16
%aw=bitcast i8*%av to i32*
store i32 3,i32*%aw,align 4
%ax=call i8*@sml_alloc(i32 inreg 60)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177336,i32*%az,align 4
%aA=getelementptr inbounds i8,i8*%ax,i64 56
%aB=bitcast i8*%aA to i32*
store i32 1,i32*%aB,align 4
%aC=load i8*,i8**%i,align 8
%aD=bitcast i8*%ax to i8**
store i8*%aC,i8**%aD,align 8
call void@sml_raise(i8*inreg%ax)#1
unreachable
aE:
%aF=getelementptr inbounds i8,i8*%aj,i64 8
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%h,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 1,label%fv
i32 0,label%a5
]
aN:
store i8*null,i8**%p,align 8
store i8*null,i8**%i,align 8
store i8*null,i8**%q,align 8
store i8*null,i8**%u,align 8
call void@sml_matchcomp_bug()
%aO=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aO,i8**%h,align 8
%aP=call i8*@sml_alloc(i32 inreg 20)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
store i8*%aP,i8**%i,align 8
%aS=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aP,i64 8
%aV=bitcast i8*%aU to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@aa,i64 0,i32 2,i64 0),i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aP,i64 16
%aX=bitcast i8*%aW to i32*
store i32 3,i32*%aX,align 4
%aY=call i8*@sml_alloc(i32 inreg 60)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177336,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aY,i64 56
%a2=bitcast i8*%a1 to i32*
store i32 1,i32*%a2,align 4
%a3=load i8*,i8**%i,align 8
%a4=bitcast i8*%aY to i8**
store i8*%a3,i8**%a4,align 8
call void@sml_raise(i8*inreg%aY)#1
unreachable
a5:
store i8*null,i8**%p,align 8
%a6=getelementptr inbounds i8,i8*%aK,i64 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%j,align 8
%a9=getelementptr inbounds i8,i8*%a8,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%n,align 8
%bc=getelementptr inbounds i8,i8*%aH,i64 16
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%o,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 8
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%k,align 8
%bi=call i8*@sml_alloc(i32 inreg 28)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177304,i32*%bk,align 4
%bl=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%k,align 8
store i8*null,i8**%k,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 i8**
store i8*null,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bi,i64 24
%bt=bitcast i8*%bs to i32*
store i32 7,i32*%bt,align 4
%bu=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%bi)
%bv=bitcast i8**%h to i8***
%bw=load i8**,i8***%bv,align 8
store i8*null,i8**%h,align 8
%bx=load i8*,i8**%bw,align 8
%by=bitcast i8**%j to i8***
%bz=load i8**,i8***%by,align 8
store i8*null,i8**%j,align 8
%bA=load i8*,i8**%bz,align 8
%bB=load i8*,i8**%u,align 8
store i8*null,i8**%u,align 8
%bC=call fastcc i8*@_SMLLN8LoadFile15loadRequireListE_472(i8*inreg%bB,i8*inreg%bu,i8*inreg%bx,i32 inreg%d,i8*inreg%bA)
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%h,align 8
%bF=getelementptr inbounds i8,i8*%bC,i64 8
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
%bI=getelementptr inbounds i8,i8*%bH,i64 16
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%i,align 8
%bL=getelementptr inbounds i8,i8*%bH,i64 8
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
store i8*%bN,i8**%j,align 8
%bO=bitcast i8*%bH to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%k,align 8
%bQ=getelementptr inbounds i8,i8*%bH,i64 24
%bR=bitcast i8*%bQ to i8**
%bS=load i8*,i8**%bR,align 8
store i8*%bS,i8**%l,align 8
%bT=getelementptr inbounds i8,i8*%bH,i64 32
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%m,align 8
%bW=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
%b0=bitcast i8*%bW to i8**
%b1=load i8*,i8**%b0,align 8
%b2=call fastcc i8*%bZ(i8*inreg%b1,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Y,i64 0,i32 2)to i8*))
%b3=getelementptr inbounds i8,i8*%b2,i64 16
%b4=bitcast i8*%b3 to i8*(i8*,i8*)**
%b5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b4,align 8
%b6=bitcast i8*%b2 to i8**
%b7=load i8*,i8**%b6,align 8
store i8*%b7,i8**%r,align 8
%b8=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%b9=getelementptr inbounds i8,i8*%b8,i64 16
%ca=bitcast i8*%b9 to i8*(i8*,i8*)**
%cb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ca,align 8
%cc=bitcast i8*%b8 to i8**
%cd=load i8*,i8**%cc,align 8
store i8*%cd,i8**%p,align 8
%ce=call i8*@sml_alloc(i32 inreg 20)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177296,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**%j,align 8
store i8*null,i8**%j,align 8
%ck=getelementptr inbounds i8,i8*%ce,i64 8
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%ce,i64 16
%cn=bitcast i8*%cm to i32*
store i32 3,i32*%cn,align 4
%co=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%cp=call fastcc i8*%cb(i8*inreg%co,i8*inreg%ce)
%cq=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%cr=call fastcc i8*%b5(i8*inreg%cq,i8*inreg%cp)
store i8*%cr,i8**%i,align 8
%cs=load i8*,i8**%o,align 8
%ct=getelementptr inbounds i8,i8*%cs,i64 8
%cu=bitcast i8*%ct to i8**
%cv=load i8*,i8**%cu,align 8
store i8*%cv,i8**%j,align 8
%cw=call i8*@sml_alloc(i32 inreg 28)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177304,i32*%cy,align 4
%cz=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cC=getelementptr inbounds i8,i8*%cw,i64 8
%cD=bitcast i8*%cC to i8**
store i8*%cB,i8**%cD,align 8
%cE=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%cF=getelementptr inbounds i8,i8*%cw,i64 16
%cG=bitcast i8*%cF to i8**
store i8*%cE,i8**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cw,i64 24
%cI=bitcast i8*%cH to i32*
store i32 7,i32*%cI,align 4
%cJ=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%cw)
store i8*%cJ,i8**%j,align 8
%cK=call i8*@sml_alloc(i32 inreg 28)#0
%cL=getelementptr inbounds i8,i8*%cK,i64 -4
%cM=bitcast i8*%cL to i32*
store i32 1342177304,i32*%cM,align 4
store i8*%cK,i8**%m,align 8
%cN=load i8*,i8**%i,align 8
store i8*null,i8**%i,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*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@Z,i64 0,i32 2)to i8*),i8**%cQ,align 8
%cR=load i8*,i8**%o,align 8
%cS=getelementptr inbounds i8,i8*%cK,i64 16
%cT=bitcast i8*%cS to i8**
store i8*%cR,i8**%cT,align 8
%cU=getelementptr inbounds i8,i8*%cK,i64 24
%cV=bitcast i8*%cU to i32*
store i32 7,i32*%cV,align 4
%cW=call i8*@sml_alloc(i32 inreg 52)#0
%cX=getelementptr inbounds i8,i8*%cW,i64 -4
%cY=bitcast i8*%cX to i32*
store i32 1342177328,i32*%cY,align 4
store i8*%cW,i8**%i,align 8
%cZ=bitcast i8*%cW to i8**
store i8*null,i8**%cZ,align 8
%c0=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%c1=getelementptr inbounds i8,i8*%cW,i64 8
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%c4=getelementptr inbounds i8,i8*%cW,i64 16
%c5=bitcast i8*%c4 to i8**
store i8*%c3,i8**%c5,align 8
%c6=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%c7=getelementptr inbounds i8,i8*%cW,i64 24
%c8=bitcast i8*%c7 to i8**
store i8*%c6,i8**%c8,align 8
%c9=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%da=getelementptr inbounds i8,i8*%cW,i64 32
%db=bitcast i8*%da to i8**
store i8*%c9,i8**%db,align 8
%dc=load i8*,i8**%j,align 8
%dd=getelementptr inbounds i8,i8*%cW,i64 40
%de=bitcast i8*%dd to i8**
store i8*%dc,i8**%de,align 8
%df=getelementptr inbounds i8,i8*%cW,i64 48
%dg=bitcast i8*%df to i32*
store i32 63,i32*%dg,align 4
%dh=load i8*,i8**%o,align 8
%di=getelementptr inbounds i8,i8*%dh,i64 8
%dj=bitcast i8*%di to i8**
%dk=load i8*,i8**%dj,align 8
store i8*%dk,i8**%j,align 8
%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
%do=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dp=bitcast i8*%dl to i8**
store i8*%do,i8**%dp,align 8
%dq=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dr=getelementptr inbounds i8,i8*%dl,i64 8
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dl,i64 16
%du=bitcast i8*%dt to i32*
store i32 3,i32*%du,align 4
%dv=call fastcc i8*@_SMLLN8LoadFile5Assoc6removeE_351(i8*inreg%dl)
store i8*%dv,i8**%h,align 8
%dw=load i8*,i8**%o,align 8
%dx=getelementptr inbounds i8,i8*%dw,i64 8
%dy=bitcast i8*%dx to i8**
%dz=load i8*,i8**%dy,align 8
store i8*%dz,i8**%p,align 8
%dA=bitcast i8**%i to i8***
%dB=load i8**,i8***%dA,align 8
%dC=load i8*,i8**%dB,align 8
store i8*%dC,i8**%j,align 8
%dD=getelementptr inbounds i8*,i8**%dB,i64 1
%dE=load i8*,i8**%dD,align 8
store i8*%dE,i8**%k,align 8
%dF=getelementptr inbounds i8*,i8**%dB,i64 2
%dG=load i8*,i8**%dF,align 8
store i8*%dG,i8**%l,align 8
%dH=getelementptr inbounds i8*,i8**%dB,i64 3
%dI=load i8*,i8**%dH,align 8
store i8*%dI,i8**%m,align 8
%dJ=getelementptr inbounds i8*,i8**%dB,i64 4
%dK=load i8*,i8**%dJ,align 8
store i8*%dK,i8**%n,align 8
%dL=getelementptr inbounds i8*,i8**%dB,i64 5
%dM=load i8*,i8**%dL,align 8
store i8*%dM,i8**%o,align 8
%dN=call i8*@sml_alloc(i32 inreg 52)#0
%dO=getelementptr inbounds i8,i8*%dN,i64 -4
%dP=bitcast i8*%dO to i32*
store i32 1342177328,i32*%dP,align 4
store i8*%dN,i8**%q,align 8
%dQ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dR=bitcast i8*%dN to i8**
store i8*%dQ,i8**%dR,align 8
%dS=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%dT=getelementptr inbounds i8,i8*%dN,i64 8
%dU=bitcast i8*%dT to i8**
store i8*%dS,i8**%dU,align 8
%dV=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dW=getelementptr inbounds i8,i8*%dN,i64 16
%dX=bitcast i8*%dW to i8**
store i8*%dV,i8**%dX,align 8
%dY=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%dZ=getelementptr inbounds i8,i8*%dN,i64 24
%d0=bitcast i8*%dZ to i8**
store i8*%dY,i8**%d0,align 8
%d1=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%d2=getelementptr inbounds i8,i8*%dN,i64 32
%d3=bitcast i8*%d2 to i8**
store i8*%d1,i8**%d3,align 8
%d4=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%d5=getelementptr inbounds i8,i8*%dN,i64 40
%d6=bitcast i8*%d5 to i8**
store i8*%d4,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%dN,i64 48
%d8=bitcast i8*%d7 to i32*
store i32 63,i32*%d8,align 4
%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
store i8*%d9,i8**%j,align 8
%ec=getelementptr inbounds i8,i8*%d9,i64 4
%ed=bitcast i8*%ec to i32*
store i32 0,i32*%ed,align 1
%ee=bitcast i8*%d9 to i32*
store i32 1,i32*%ee,align 4
%ef=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%eg=getelementptr inbounds i8,i8*%d9,i64 8
%eh=bitcast i8*%eg to i8**
store i8*%ef,i8**%eh,align 8
%ei=getelementptr inbounds i8,i8*%d9,i64 16
%ej=bitcast i8*%ei to i32*
store i32 2,i32*%ej,align 4
%ek=call i8*@sml_alloc(i32 inreg 28)#0
%el=getelementptr inbounds i8,i8*%ek,i64 -4
%em=bitcast i8*%el to i32*
store i32 1342177304,i32*%em,align 4
%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**%p,align 8
store i8*null,i8**%p,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=getelementptr inbounds i8,i8*%ek,i64 24
%ew=bitcast i8*%ev to i32*
store i32 7,i32*%ew,align 4
%ex=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%ek)
store i8*%ex,i8**%h,align 8
%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**%h,align 8
%eC=bitcast i8*%ey to i8**
store i8*%eB,i8**%eC,align 8
%eD=load i8*,i8**%i,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=bitcast i8*%eD to i8**
%eJ=load i8*,i8**%eI,align 8
store i8*%eJ,i8**%i,align 8
%eK=getelementptr inbounds i8,i8*%eD,i64 8
%eL=bitcast i8*%eK to i8**
%eM=load i8*,i8**%eL,align 8
store i8*%eM,i8**%j,align 8
%eN=getelementptr inbounds i8,i8*%eD,i64 16
%eO=bitcast i8*%eN to i8**
%eP=load i8*,i8**%eO,align 8
store i8*%eP,i8**%k,align 8
%eQ=getelementptr inbounds i8,i8*%eD,i64 24
%eR=bitcast i8*%eQ to i8**
%eS=load i8*,i8**%eR,align 8
store i8*%eS,i8**%l,align 8
%eT=getelementptr inbounds i8,i8*%eD,i64 32
%eU=bitcast i8*%eT to i8**
%eV=load i8*,i8**%eU,align 8
store i8*%eV,i8**%m,align 8
%eW=getelementptr inbounds i8,i8*%eD,i64 40
%eX=bitcast i8*%eW to i8**
%eY=load i8*,i8**%eX,align 8
store i8*%eY,i8**%n,align 8
%eZ=call i8*@sml_alloc(i32 inreg 52)#0
%e0=getelementptr inbounds i8,i8*%eZ,i64 -4
%e1=bitcast i8*%e0 to i32*
store i32 1342177328,i32*%e1,align 4
store i8*%eZ,i8**%o,align 8
%e2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%e3=bitcast i8*%eZ to i8**
store i8*%e2,i8**%e3,align 8
%e4=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%e5=getelementptr inbounds i8,i8*%eZ,i64 8
%e6=bitcast i8*%e5 to i8**
store i8*%e4,i8**%e6,align 8
%e7=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%e8=getelementptr inbounds i8,i8*%eZ,i64 16
%e9=bitcast i8*%e8 to i8**
store i8*%e7,i8**%e9,align 8
%fa=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%fb=getelementptr inbounds i8,i8*%eZ,i64 24
%fc=bitcast i8*%fb to i8**
store i8*%fa,i8**%fc,align 8
%fd=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%fe=getelementptr inbounds i8,i8*%eZ,i64 32
%ff=bitcast i8*%fe to i8**
store i8*%fd,i8**%ff,align 8
%fg=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%fh=getelementptr inbounds i8,i8*%eZ,i64 40
%fi=bitcast i8*%fh to i8**
store i8*%fg,i8**%fi,align 8
%fj=getelementptr inbounds i8,i8*%eZ,i64 48
%fk=bitcast i8*%fj to i32*
store i32 63,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=load i8*,i8**%h,align 8
%fp=bitcast i8*%fl to i8**
store i8*%fo,i8**%fp,align 8
%fq=load i8*,i8**%o,align 8
%fr=getelementptr inbounds i8,i8*%fl,i64 8
%fs=bitcast i8*%fr to i8**
store i8*%fq,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%fl,i64 16
%fu=bitcast i8*%ft to i32*
store i32 3,i32*%fu,align 4
ret i8*%fl
fv:
%fw=getelementptr inbounds i8,i8*%aK,i64 8
%fx=bitcast i8*%fw to i8**
%fy=load i8*,i8**%fx,align 8
store i8*%fy,i8**%j,align 8
%fz=bitcast i8*%fy to i8**
%fA=load i8*,i8**%fz,align 8
store i8*%fA,i8**%r,align 8
%fB=getelementptr inbounds i8,i8*%aH,i64 16
%fC=bitcast i8*%fB to i8**
%fD=load i8*,i8**%fC,align 8
store i8*%fD,i8**%s,align 8
%fE=getelementptr inbounds i8,i8*%fD,i64 8
%fF=bitcast i8*%fE to i8**
%fG=load i8*,i8**%fF,align 8
store i8*%fG,i8**%k,align 8
%fH=call i8*@sml_alloc(i32 inreg 28)#0
%fI=getelementptr inbounds i8,i8*%fH,i64 -4
%fJ=bitcast i8*%fI to i32*
store i32 1342177304,i32*%fJ,align 4
%fK=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fL=bitcast i8*%fH to i8**
store i8*%fK,i8**%fL,align 8
%fM=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fN=getelementptr inbounds i8,i8*%fH,i64 8
%fO=bitcast i8*%fN to i8**
store i8*%fM,i8**%fO,align 8
%fP=getelementptr inbounds i8,i8*%fH,i64 16
%fQ=bitcast i8*%fP to i8**
store i8*null,i8**%fQ,align 8
%fR=getelementptr inbounds i8,i8*%fH,i64 24
%fS=bitcast i8*%fR to i32*
store i32 7,i32*%fS,align 4
%fT=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%fH)
%fU=bitcast i8**%h to i8***
%fV=load i8**,i8***%fU,align 8
store i8*null,i8**%h,align 8
%fW=load i8*,i8**%fV,align 8
%fX=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fY=getelementptr inbounds i8,i8*%fX,i64 8
%fZ=bitcast i8*%fY to i8**
%f0=load i8*,i8**%fZ,align 8
%f1=load i8*,i8**%u,align 8
%f2=call fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_471(i8*inreg%f1,i8*inreg%fT,i8*inreg%fW,i32 inreg%d,i8*inreg%f0)
store i8*%f2,i8**%n,align 8
%f3=bitcast i8*%f2 to i8**
%f4=load i8*,i8**%f3,align 8
store i8*%f4,i8**%h,align 8
%f5=getelementptr inbounds i8,i8*%f2,i64 8
%f6=bitcast i8*%f5 to i8***
%f7=load i8**,i8***%f6,align 8
%f8=load i8*,i8**%f7,align 8
store i8*%f8,i8**%i,align 8
%f9=getelementptr inbounds i8*,i8**%f7,i64 1
%ga=load i8*,i8**%f9,align 8
store i8*%ga,i8**%j,align 8
%gb=getelementptr inbounds i8*,i8**%f7,i64 2
%gc=load i8*,i8**%gb,align 8
store i8*%gc,i8**%k,align 8
%gd=getelementptr inbounds i8*,i8**%f7,i64 4
%ge=load i8*,i8**%gd,align 8
store i8*%ge,i8**%l,align 8
%gf=call fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_338(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@W,i64 0,i32 2)to i8*))
%gg=getelementptr inbounds i8,i8*%gf,i64 16
%gh=bitcast i8*%gg to i8*(i8*,i8*)**
%gi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gh,align 8
%gj=bitcast i8*%gf to i8**
%gk=load i8*,i8**%gj,align 8
%gl=load i8*,i8**%n,align 8
%gm=getelementptr inbounds i8,i8*%gl,i64 8
%gn=bitcast i8*%gm to i8**
%go=load i8*,i8**%gn,align 8
%gp=getelementptr inbounds i8,i8*%go,i64 24
%gq=bitcast i8*%gp to i8**
%gr=load i8*,i8**%gq,align 8
%gs=call fastcc i8*%gi(i8*inreg%gk,i8*inreg%gr)
store i8*%gs,i8**%m,align 8
%gt=load i8*,i8**%s,align 8
%gu=getelementptr inbounds i8,i8*%gt,i64 8
%gv=bitcast i8*%gu to i8**
%gw=load i8*,i8**%gv,align 8
store i8*%gw,i8**%o,align 8
%gx=call i8*@sml_alloc(i32 inreg 28)#0
%gy=getelementptr inbounds i8,i8*%gx,i64 -4
%gz=bitcast i8*%gy to i32*
store i32 1342177304,i32*%gz,align 4
%gA=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%gB=bitcast i8*%gx to i8**
store i8*%gA,i8**%gB,align 8
%gC=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%gD=getelementptr inbounds i8,i8*%gx,i64 8
%gE=bitcast i8*%gD to i8**
store i8*%gC,i8**%gE,align 8
%gF=load i8*,i8**%r,align 8
%gG=getelementptr inbounds i8,i8*%gx,i64 16
%gH=bitcast i8*%gG to i8**
store i8*%gF,i8**%gH,align 8
%gI=getelementptr inbounds i8,i8*%gx,i64 24
%gJ=bitcast i8*%gI to i32*
store i32 7,i32*%gJ,align 4
%gK=call fastcc i8*@_SMLFN13InterfaceHash8generateE(i8*inreg%gx)
store i8*%gK,i8**%m,align 8
%gL=call fastcc i32@_SMLFN11InterfaceID8generateE(i32 inreg 0)
%gM=call fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_338(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@X,i64 0,i32 2)to i8*))
%gN=getelementptr inbounds i8,i8*%gM,i64 16
%gO=bitcast i8*%gN to i8*(i8*,i8*)**
%gP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gO,align 8
%gQ=bitcast i8*%gM to i8**
%gR=load i8*,i8**%gQ,align 8
%gS=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%gT=getelementptr inbounds i8,i8*%gS,i64 8
%gU=bitcast i8*%gT to i8**
%gV=load i8*,i8**%gU,align 8
%gW=getelementptr inbounds i8,i8*%gV,i64 24
%gX=bitcast i8*%gW to i8**
%gY=load i8*,i8**%gX,align 8
%gZ=call fastcc i8*%gP(i8*inreg%gR,i8*inreg%gY)
store i8*%gZ,i8**%o,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**%t,align 8
%g3=load i8*,i8**%m,align 8
%g4=bitcast i8*%g0 to i8**
store i8*%g3,i8**%g4,align 8
%g5=load i8*,i8**%s,align 8
%g6=getelementptr inbounds i8,i8*%g0,i64 8
%g7=bitcast i8*%g6 to i8**
store i8*%g5,i8**%g7,align 8
%g8=getelementptr inbounds i8,i8*%g0,i64 16
%g9=bitcast i8*%g8 to i32*
store i32 3,i32*%g9,align 4
%ha=call i8*@sml_alloc(i32 inreg 36)#0
%hb=getelementptr inbounds i8,i8*%ha,i64 -4
%hc=bitcast i8*%hb to i32*
store i32 1342177312,i32*%hc,align 4
store i8*%ha,i8**%n,align 8
%hd=getelementptr inbounds i8,i8*%ha,i64 4
%he=bitcast i8*%hd to i32*
store i32 0,i32*%he,align 1
%hf=bitcast i8*%ha to i32*
store i32%gL,i32*%hf,align 4
%hg=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%hh=getelementptr inbounds i8,i8*%ha,i64 8
%hi=bitcast i8*%hh to i8**
store i8*%hg,i8**%hi,align 8
%hj=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%hk=getelementptr inbounds i8,i8*%ha,i64 16
%hl=bitcast i8*%hk to i8**
store i8*%hj,i8**%hl,align 8
%hm=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%hn=getelementptr inbounds i8,i8*%ha,i64 24
%ho=bitcast i8*%hn to i8**
store i8*%hm,i8**%ho,align 8
%hp=getelementptr inbounds i8,i8*%ha,i64 32
%hq=bitcast i8*%hp to i32*
store i32 14,i32*%hq,align 4
%hr=call i8*@sml_alloc(i32 inreg 28)#0
%hs=getelementptr inbounds i8,i8*%hr,i64 -4
%ht=bitcast i8*%hs to i32*
store i32 1342177304,i32*%ht,align 4
store i8*%hr,i8**%o,align 8
%hu=load i8*,i8**%j,align 8
%hv=bitcast i8*%hr to i8**
store i8*%hu,i8**%hv,align 8
%hw=load i8*,i8**%k,align 8
%hx=getelementptr inbounds i8,i8*%hr,i64 8
%hy=bitcast i8*%hx to i8**
store i8*%hw,i8**%hy,align 8
%hz=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%hA=getelementptr inbounds i8,i8*%hr,i64 16
%hB=bitcast i8*%hA to i8**
store i8*%hz,i8**%hB,align 8
%hC=getelementptr inbounds i8,i8*%hr,i64 24
%hD=bitcast i8*%hC to i32*
store i32 7,i32*%hD,align 4
%hE=load i8*,i8**%s,align 8
%hF=getelementptr inbounds i8,i8*%hE,i64 8
%hG=bitcast i8*%hF to i8**
%hH=load i8*,i8**%hG,align 8
store i8*%hH,i8**%k,align 8
%hI=call i8*@sml_alloc(i32 inreg 20)#0
%hJ=getelementptr inbounds i8,i8*%hI,i64 -4
%hK=bitcast i8*%hJ to i32*
store i32 1342177296,i32*%hK,align 4
store i8*%hI,i8**%l,align 8
%hL=getelementptr inbounds i8,i8*%hI,i64 12
%hM=bitcast i8*%hL to i32*
store i32 0,i32*%hM,align 1
%hN=load i8*,i8**%n,align 8
%hO=bitcast i8*%hI to i8**
store i8*%hN,i8**%hO,align 8
%hP=getelementptr inbounds i8,i8*%hI,i64 8
%hQ=bitcast i8*%hP to i32*
store i32 1,i32*%hQ,align 4
%hR=getelementptr inbounds i8,i8*%hI,i64 16
%hS=bitcast i8*%hR to i32*
store i32 1,i32*%hS,align 4
%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
%hW=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hX=bitcast i8*%hT to i8**
store i8*%hW,i8**%hX,align 8
%hY=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%hZ=getelementptr inbounds i8,i8*%hT,i64 8
%h0=bitcast i8*%hZ to i8**
store i8*%hY,i8**%h0,align 8
%h1=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%h2=getelementptr inbounds i8,i8*%hT,i64 16
%h3=bitcast i8*%h2 to i8**
store i8*%h1,i8**%h3,align 8
%h4=getelementptr inbounds i8,i8*%hT,i64 24
%h5=bitcast i8*%h4 to i32*
store i32 7,i32*%h5,align 4
%h6=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%hT)
store i8*%h6,i8**%j,align 8
%h7=load i8*,i8**%s,align 8
%h8=getelementptr inbounds i8,i8*%h7,i64 8
%h9=bitcast i8*%h8 to i8**
%ia=load i8*,i8**%h9,align 8
store i8*%ia,i8**%k,align 8
%ib=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%ic=getelementptr inbounds i8,i8*%ib,i64 8
%id=bitcast i8*%ic to i8**
%ie=load i8*,i8**%id,align 8
store i8*%ie,i8**%l,align 8
%if=call i8*@sml_alloc(i32 inreg 20)#0
%ig=getelementptr inbounds i8,i8*%if,i64 -4
%ih=bitcast i8*%ig to i32*
store i32 1342177296,i32*%ih,align 4
store i8*%if,i8**%p,align 8
%ii=load i8*,i8**%n,align 8
%ij=bitcast i8*%if to i8**
store i8*%ii,i8**%ij,align 8
%ik=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%il=getelementptr inbounds i8,i8*%if,i64 8
%im=bitcast i8*%il to i8**
store i8*%ik,i8**%im,align 8
%in=getelementptr inbounds i8,i8*%if,i64 16
%io=bitcast i8*%in to i32*
store i32 3,i32*%io,align 4
%ip=call i8*@sml_alloc(i32 inreg 20)#0
%iq=getelementptr inbounds i8,i8*%ip,i64 -4
%ir=bitcast i8*%iq to i32*
store i32 1342177296,i32*%ir,align 4
%is=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%it=bitcast i8*%ip to i8**
store i8*%is,i8**%it,align 8
%iu=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%iv=getelementptr inbounds i8,i8*%ip,i64 8
%iw=bitcast i8*%iv to i8**
store i8*%iu,i8**%iw,align 8
%ix=getelementptr inbounds i8,i8*%ip,i64 16
%iy=bitcast i8*%ix to i32*
store i32 3,i32*%iy,align 4
%iz=call fastcc i8*@_SMLLN8LoadFile5Assoc9singletonE_353(i8*inreg%ip)
store i8*%iz,i8**%k,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
store i8*%iA,i8**%l,align 8
%iD=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%iE=bitcast i8*%iA to i8**
store i8*%iD,i8**%iE,align 8
%iF=load i8*,i8**%o,align 8
store i8*null,i8**%o,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=call i8*@sml_alloc(i32 inreg 12)#0
%iL=getelementptr inbounds i8,i8*%iK,i64 -4
%iM=bitcast i8*%iL to i32*
store i32 1342177288,i32*%iM,align 4
store i8*%iK,i8**%n,align 8
%iN=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%iO=bitcast i8*%iK to i8**
store i8*%iN,i8**%iO,align 8
%iP=getelementptr inbounds i8,i8*%iK,i64 8
%iQ=bitcast i8*%iP to i32*
store i32 1,i32*%iQ,align 4
%iR=call i8*@sml_alloc(i32 inreg 20)#0
%iS=getelementptr inbounds i8,i8*%iR,i64 -4
%iT=bitcast i8*%iS to i32*
store i32 1342177296,i32*%iT,align 4
store i8*%iR,i8**%l,align 8
%iU=getelementptr inbounds i8,i8*%iR,i64 4
%iV=bitcast i8*%iU to i32*
store i32 0,i32*%iV,align 1
%iW=bitcast i8*%iR to i32*
store i32 1,i32*%iW,align 4
%iX=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%iY=getelementptr inbounds i8,i8*%iR,i64 8
%iZ=bitcast i8*%iY to i8**
store i8*%iX,i8**%iZ,align 8
%i0=getelementptr inbounds i8,i8*%iR,i64 16
%i1=bitcast i8*%i0 to i32*
store i32 2,i32*%i1,align 4
%i2=call i8*@sml_alloc(i32 inreg 28)#0
%i3=getelementptr inbounds i8,i8*%i2,i64 -4
%i4=bitcast i8*%i3 to i32*
store i32 1342177304,i32*%i4,align 4
store i8*%i2,i8**%m,align 8
%i5=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%i6=bitcast i8*%i2 to i8**
store i8*%i5,i8**%i6,align 8
%i7=load i8*,i8**%l,align 8
%i8=getelementptr inbounds i8,i8*%i2,i64 8
%i9=bitcast i8*%i8 to i8**
store i8*%i7,i8**%i9,align 8
%ja=load i8*,i8**%s,align 8
%jb=getelementptr inbounds i8,i8*%i2,i64 16
%jc=bitcast i8*%jb to i8**
store i8*%ja,i8**%jc,align 8
%jd=getelementptr inbounds i8,i8*%i2,i64 24
%je=bitcast i8*%jd to i32*
store i32 7,i32*%je,align 4
%jf=bitcast i8**%u to i8***
%jg=load i8**,i8***%jf,align 8
store i8*null,i8**%u,align 8
%jh=load i8*,i8**%jg,align 8
store i8*%jh,i8**%l,align 8
%ji=call i8*@sml_alloc(i32 inreg 52)#0
%jj=getelementptr inbounds i8,i8*%ji,i64 -4
%jk=bitcast i8*%jj to i32*
store i32 1342177328,i32*%jk,align 4
store i8*%ji,i8**%i,align 8
%jl=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%jm=bitcast i8*%ji to i8**
store i8*%jl,i8**%jm,align 8
%jn=load i8*,i8**%j,align 8
%jo=getelementptr inbounds i8,i8*%ji,i64 8
%jp=bitcast i8*%jo to i8**
store i8*%jn,i8**%jp,align 8
%jq=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%jr=getelementptr inbounds i8,i8*%ji,i64 16
%js=bitcast i8*%jr to i8**
store i8*%jq,i8**%js,align 8
%jt=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%ju=getelementptr inbounds i8,i8*%ji,i64 24
%jv=bitcast i8*%ju to i8**
store i8*%jt,i8**%jv,align 8
%jw=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%jx=getelementptr inbounds i8,i8*%ji,i64 32
%jy=bitcast i8*%jx to i8**
store i8*%jw,i8**%jy,align 8
%jz=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%jA=getelementptr inbounds i8,i8*%ji,i64 40
%jB=bitcast i8*%jA to i8**
store i8*%jz,i8**%jB,align 8
%jC=getelementptr inbounds i8,i8*%ji,i64 48
%jD=bitcast i8*%jC to i32*
store i32 63,i32*%jD,align 4
%jE=load i8*,i8**%s,align 8
%jF=getelementptr inbounds i8,i8*%jE,i64 8
%jG=bitcast i8*%jF to i8**
%jH=load i8*,i8**%jG,align 8
store i8*%jH,i8**%j,align 8
%jI=call i8*@sml_alloc(i32 inreg 20)#0
%jJ=getelementptr inbounds i8,i8*%jI,i64 -4
%jK=bitcast i8*%jJ to i32*
store i32 1342177296,i32*%jK,align 4
%jL=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jM=bitcast i8*%jI to i8**
store i8*%jL,i8**%jM,align 8
%jN=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%jO=getelementptr inbounds i8,i8*%jI,i64 8
%jP=bitcast i8*%jO to i8**
store i8*%jN,i8**%jP,align 8
%jQ=getelementptr inbounds i8,i8*%jI,i64 16
%jR=bitcast i8*%jQ to i32*
store i32 3,i32*%jR,align 4
%jS=call fastcc i8*@_SMLLN8LoadFile5Assoc6removeE_351(i8*inreg%jI)
store i8*%jS,i8**%h,align 8
%jT=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%jU=getelementptr inbounds i8,i8*%jT,i64 8
%jV=bitcast i8*%jU to i8**
%jW=load i8*,i8**%jV,align 8
store i8*%jW,i8**%o,align 8
%jX=bitcast i8**%i to i8***
%jY=load i8**,i8***%jX,align 8
%jZ=load i8*,i8**%jY,align 8
store i8*%jZ,i8**%j,align 8
%j0=getelementptr inbounds i8*,i8**%jY,i64 1
%j1=load i8*,i8**%j0,align 8
store i8*%j1,i8**%k,align 8
%j2=getelementptr inbounds i8*,i8**%jY,i64 2
%j3=load i8*,i8**%j2,align 8
store i8*%j3,i8**%l,align 8
%j4=getelementptr inbounds i8*,i8**%jY,i64 3
%j5=load i8*,i8**%j4,align 8
store i8*%j5,i8**%m,align 8
%j6=getelementptr inbounds i8*,i8**%jY,i64 4
%j7=load i8*,i8**%j6,align 8
store i8*%j7,i8**%n,align 8
%j8=getelementptr inbounds i8*,i8**%jY,i64 5
%j9=load i8*,i8**%j8,align 8
store i8*%j9,i8**%q,align 8
%ka=call i8*@sml_alloc(i32 inreg 52)#0
%kb=getelementptr inbounds i8,i8*%ka,i64 -4
%kc=bitcast i8*%kb to i32*
store i32 1342177328,i32*%kc,align 4
store i8*%ka,i8**%p,align 8
%kd=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ke=bitcast i8*%ka to i8**
store i8*%kd,i8**%ke,align 8
%kf=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%kg=getelementptr inbounds i8,i8*%ka,i64 8
%kh=bitcast i8*%kg to i8**
store i8*%kf,i8**%kh,align 8
%ki=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%kj=getelementptr inbounds i8,i8*%ka,i64 16
%kk=bitcast i8*%kj to i8**
store i8*%ki,i8**%kk,align 8
%kl=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%km=getelementptr inbounds i8,i8*%ka,i64 24
%kn=bitcast i8*%km to i8**
store i8*%kl,i8**%kn,align 8
%ko=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%kp=getelementptr inbounds i8,i8*%ka,i64 32
%kq=bitcast i8*%kp to i8**
store i8*%ko,i8**%kq,align 8
%kr=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%ks=getelementptr inbounds i8,i8*%ka,i64 40
%kt=bitcast i8*%ks to i8**
store i8*%kr,i8**%kt,align 8
%ku=getelementptr inbounds i8,i8*%ka,i64 48
%kv=bitcast i8*%ku to i32*
store i32 63,i32*%kv,align 4
%kw=call i8*@sml_alloc(i32 inreg 20)#0
%kx=getelementptr inbounds i8,i8*%kw,i64 -4
%ky=bitcast i8*%kx to i32*
store i32 1342177296,i32*%ky,align 4
store i8*%kw,i8**%j,align 8
%kz=getelementptr inbounds i8,i8*%kw,i64 4
%kA=bitcast i8*%kz to i32*
store i32 0,i32*%kA,align 1
%kB=bitcast i8*%kw to i32*
store i32 1,i32*%kB,align 4
%kC=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%kD=getelementptr inbounds i8,i8*%kw,i64 8
%kE=bitcast i8*%kD to i8**
store i8*%kC,i8**%kE,align 8
%kF=getelementptr inbounds i8,i8*%kw,i64 16
%kG=bitcast i8*%kF to i32*
store i32 2,i32*%kG,align 4
%kH=call i8*@sml_alloc(i32 inreg 28)#0
%kI=getelementptr inbounds i8,i8*%kH,i64 -4
%kJ=bitcast i8*%kI to i32*
store i32 1342177304,i32*%kJ,align 4
%kK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kL=bitcast i8*%kH to i8**
store i8*%kK,i8**%kL,align 8
%kM=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%kN=getelementptr inbounds i8,i8*%kH,i64 8
%kO=bitcast i8*%kN to i8**
store i8*%kM,i8**%kO,align 8
%kP=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%kQ=getelementptr inbounds i8,i8*%kH,i64 16
%kR=bitcast i8*%kQ to i8**
store i8*%kP,i8**%kR,align 8
%kS=getelementptr inbounds i8,i8*%kH,i64 24
%kT=bitcast i8*%kS to i32*
store i32 7,i32*%kT,align 4
%kU=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%kH)
store i8*%kU,i8**%h,align 8
%kV=call i8*@sml_alloc(i32 inreg 20)#0
%kW=getelementptr inbounds i8,i8*%kV,i64 -4
%kX=bitcast i8*%kW to i32*
store i32 1342177296,i32*%kX,align 4
%kY=load i8*,i8**%h,align 8
%kZ=bitcast i8*%kV to i8**
store i8*%kY,i8**%kZ,align 8
%k0=load i8*,i8**%i,align 8
%k1=getelementptr inbounds i8,i8*%kV,i64 8
%k2=bitcast i8*%k1 to i8**
store i8*%k0,i8**%k2,align 8
%k3=getelementptr inbounds i8,i8*%kV,i64 16
%k4=bitcast i8*%k3 to i32*
store i32 3,i32*%k4,align 4
%k5=bitcast i8*%k0 to i8**
%k6=load i8*,i8**%k5,align 8
store i8*%k6,i8**%i,align 8
%k7=getelementptr inbounds i8,i8*%k0,i64 8
%k8=bitcast i8*%k7 to i8**
%k9=load i8*,i8**%k8,align 8
store i8*%k9,i8**%j,align 8
%la=getelementptr inbounds i8,i8*%k0,i64 16
%lb=bitcast i8*%la to i8**
%lc=load i8*,i8**%lb,align 8
store i8*%lc,i8**%k,align 8
%ld=getelementptr inbounds i8,i8*%k0,i64 24
%le=bitcast i8*%ld to i8**
%lf=load i8*,i8**%le,align 8
store i8*%lf,i8**%l,align 8
%lg=getelementptr inbounds i8,i8*%k0,i64 32
%lh=bitcast i8*%lg to i8**
%li=load i8*,i8**%lh,align 8
store i8*%li,i8**%m,align 8
%lj=getelementptr inbounds i8,i8*%k0,i64 40
%lk=bitcast i8*%lj to i8**
%ll=load i8*,i8**%lk,align 8
store i8*%ll,i8**%o,align 8
%lm=call i8*@sml_alloc(i32 inreg 52)#0
%ln=getelementptr inbounds i8,i8*%lm,i64 -4
%lo=bitcast i8*%ln to i32*
store i32 1342177328,i32*%lo,align 4
store i8*%lm,i8**%n,align 8
%lp=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%lq=bitcast i8*%lm to i8**
store i8*%lp,i8**%lq,align 8
%lr=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ls=getelementptr inbounds i8,i8*%lm,i64 8
%lt=bitcast i8*%ls to i8**
store i8*%lr,i8**%lt,align 8
%lu=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%lv=getelementptr inbounds i8,i8*%lm,i64 16
%lw=bitcast i8*%lv to i8**
store i8*%lu,i8**%lw,align 8
%lx=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ly=getelementptr inbounds i8,i8*%lm,i64 24
%lz=bitcast i8*%ly to i8**
store i8*%lx,i8**%lz,align 8
%lA=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%lB=getelementptr inbounds i8,i8*%lm,i64 32
%lC=bitcast i8*%lB to i8**
store i8*%lA,i8**%lC,align 8
%lD=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%lE=getelementptr inbounds i8,i8*%lm,i64 40
%lF=bitcast i8*%lE to i8**
store i8*%lD,i8**%lF,align 8
%lG=getelementptr inbounds i8,i8*%lm,i64 48
%lH=bitcast i8*%lG to i32*
store i32 63,i32*%lH,align 4
%lI=call i8*@sml_alloc(i32 inreg 20)#0
%lJ=getelementptr inbounds i8,i8*%lI,i64 -4
%lK=bitcast i8*%lJ to i32*
store i32 1342177296,i32*%lK,align 4
%lL=load i8*,i8**%h,align 8
%lM=bitcast i8*%lI to i8**
store i8*%lL,i8**%lM,align 8
%lN=load i8*,i8**%n,align 8
%lO=getelementptr inbounds i8,i8*%lI,i64 8
%lP=bitcast i8*%lO to i8**
store i8*%lN,i8**%lP,align 8
%lQ=getelementptr inbounds i8,i8*%lI,i64 16
%lR=bitcast i8*%lQ to i32*
store i32 3,i32*%lR,align 4
ret i8*%lI
lS:
store i8*null,i8**%p,align 8
store i8*null,i8**%u,align 8
%lT=getelementptr inbounds i8,i8*%aj,i64 8
%lU=bitcast i8*%lT to i8**
%lV=load i8*,i8**%lU,align 8
%lW=bitcast i8*%lV to i8**
%lX=load i8*,i8**%lW,align 8
store i8*%lX,i8**%j,align 8
%lY=getelementptr inbounds i8,i8*%lV,i64 8
%lZ=bitcast i8*%lY to i8**
%l0=load i8*,i8**%lZ,align 8
store i8*%l0,i8**%k,align 8
%l1=getelementptr inbounds i8,i8*%lV,i64 24
%l2=bitcast i8*%l1 to i8**
%l3=load i8*,i8**%l2,align 8
store i8*%l3,i8**%l,align 8
%l4=getelementptr inbounds i8,i8*%lV,i64 32
%l5=bitcast i8*%l4 to i8**
%l6=load i8*,i8**%l5,align 8
store i8*%l6,i8**%m,align 8
%l7=getelementptr inbounds i8,i8*%lV,i64 40
%l8=bitcast i8*%l7 to i8**
%l9=load i8*,i8**%l8,align 8
store i8*%l9,i8**%n,align 8
%ma=call i8*@sml_alloc(i32 inreg 52)#0
%mb=getelementptr inbounds i8,i8*%ma,i64 -4
%mc=bitcast i8*%mb to i32*
store i32 1342177328,i32*%mc,align 4
store i8*%ma,i8**%h,align 8
%md=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%me=bitcast i8*%ma to i8**
store i8*%md,i8**%me,align 8
%mf=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%mg=getelementptr inbounds i8,i8*%ma,i64 8
%mh=bitcast i8*%mg to i8**
store i8*%mf,i8**%mh,align 8
%mi=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%mj=getelementptr inbounds i8,i8*%ma,i64 16
%mk=bitcast i8*%mj to i8**
store i8*%mi,i8**%mk,align 8
%ml=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%mm=getelementptr inbounds i8,i8*%ma,i64 24
%mn=bitcast i8*%mm to i8**
store i8*%ml,i8**%mn,align 8
%mo=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%mp=getelementptr inbounds i8,i8*%ma,i64 32
%mq=bitcast i8*%mp to i8**
store i8*%mo,i8**%mq,align 8
%mr=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%ms=getelementptr inbounds i8,i8*%ma,i64 40
%mt=bitcast i8*%ms to i8**
store i8*%mr,i8**%mt,align 8
%mu=getelementptr inbounds i8,i8*%ma,i64 48
%mv=bitcast i8*%mu to i32*
store i32 63,i32*%mv,align 4
%mw=call i8*@sml_alloc(i32 inreg 20)#0
%mx=getelementptr inbounds i8,i8*%mw,i64 -4
%my=bitcast i8*%mx to i32*
store i32 1342177296,i32*%my,align 4
%mz=load i8*,i8**%i,align 8
%mA=bitcast i8*%mw to i8**
store i8*%mz,i8**%mA,align 8
%mB=load i8*,i8**%h,align 8
%mC=getelementptr inbounds i8,i8*%mw,i64 8
%mD=bitcast i8*%mC to i8**
store i8*%mB,i8**%mD,align 8
%mE=getelementptr inbounds i8,i8*%mw,i64 16
%mF=bitcast i8*%mE to i32*
store i32 3,i32*%mF,align 4
ret i8*%mw
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_471(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%d,i8*inreg%e)#2 gc"smlsharp"{
y:
%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
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
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
store i8*%b,i8**%f,align 8
store i8*%c,i8**%h,align 8
store i8*%e,i8**%g,align 8
store i8*%a,i8**%j,align 8
%r=load atomic i32,i32*@sml_check_flag unordered,align 4
%s=icmp eq i32%r,0
br i1%s,label%w,label%t
t:
call void@sml_check(i32 inreg%r)
%u=load i8*,i8**%g,align 8
%v=load i8*,i8**%f,align 8
br label%w
w:
%x=phi i8*[%v,%t],[%b,%y]
%z=phi i8*[%u,%t],[%e,%y]
store i8*null,i8**%f,align 8
store i8*%x,i8**%i,align 8
%A=icmp eq i8*%z,null
br i1%A,label%B,label%ak
B:
%C=bitcast i8**%j to i8***
%D=load i8**,i8***%C,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%g,align 8
%F=load i8*,i8**%D,align 8
store i8*%F,i8**%h,align 8
%G=load i8*,i8**%D,align 8
store i8*%G,i8**%k,align 8
%H=load i8*,i8**%D,align 8
store i8*%H,i8**%j,align 8
%I=call i8*@sml_alloc(i32 inreg 44)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177320,i32*%K,align 4
store i8*%I,i8**%f,align 8
%L=bitcast i8*%I to i8**
store i8*null,i8**%L,align 8
%M=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%T=getelementptr inbounds i8,i8*%I,i64 24
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%W=getelementptr inbounds i8,i8*%I,i64 32
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%I,i64 40
%Z=bitcast i8*%Y to i32*
store i32 31,i32*%Z,align 4
%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**%i,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
ret i8*%aa
ak:
%al=bitcast i8*%z to i8**
%am=load i8*,i8**%al,align 8
%an=load i8*,i8**%h,align 8
%ao=load i8*,i8**%j,align 8
store i8*null,i8**%i,align 8
%ap=call fastcc i8*@_SMLLN8LoadFile12evalIrequireE_469(i8*inreg%ao,i8*inreg%x,i8*inreg%an,i32 inreg%d,i8*inreg%am)
%aq=getelementptr inbounds i8,i8*%ap,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%f,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=load i8*,i8**%h,align 8
%aA=load i8*,i8**%j,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%j,align 8
%aB=call fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_471(i8*inreg%aA,i8*inreg%au,i8*inreg%az,i32 inreg%d,i8*inreg%ay)
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%g,align 8
%aE=getelementptr inbounds i8,i8*%aB,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%h,align 8
%aH=load i8*,i8**%f,align 8
%aI=icmp eq i8*%aH,null
br i1%aI,label%aJ,label%aU
aJ:
store i8*null,i8**%f,align 8
%aK=call i8*@sml_alloc(i32 inreg 20)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177296,i32*%aM,align 4
%aN=load i8*,i8**%g,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=load i8*,i8**%h,align 8
%aQ=getelementptr inbounds i8,i8*%aK,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aK,i64 16
%aT=bitcast i8*%aS to i32*
store i32 3,i32*%aT,align 4
ret i8*%aK
aU:
%aV=bitcast i8*%aG to i8**
%aW=bitcast i8*%aH to i8**
%aX=load i8*,i8**%aW,align 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%k,align 8
%a0=getelementptr inbounds i8,i8*%aX,i64 8
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
store i8*%a2,i8**%f,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 16
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%i,align 8
%a6=getelementptr inbounds i8,i8*%aX,i64 24
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%j,align 8
%a9=getelementptr inbounds i8,i8*%aX,i64 32
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%l,align 8
%bc=load i8*,i8**%aV,align 8
store i8*%bc,i8**%m,align 8
%bd=getelementptr inbounds i8,i8*%aG,i64 8
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%n,align 8
%bg=getelementptr inbounds i8,i8*%aG,i64 16
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%o,align 8
%bj=getelementptr inbounds i8,i8*%aG,i64 24
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%p,align 8
store i8*null,i8**%h,align 8
%bm=getelementptr inbounds i8,i8*%aG,i64 32
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
store i8*%bo,i8**%q,align 8
%bp=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg 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*))
%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
store i8*%bu,i8**%h,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
%by=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%bB=getelementptr inbounds i8,i8*%bv,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bv,i64 16
%bE=bitcast i8*%bD to i32*
store i32 3,i32*%bE,align 4
%bF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bG=call fastcc i8*%bs(i8*inreg%bF,i8*inreg%bv)
store i8*%bG,i8**%f,align 8
%bH=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ac,i64 0,i32 2)to i8*))
%bI=getelementptr inbounds i8,i8*%bH,i64 16
%bJ=bitcast i8*%bI to i8*(i8*,i8*)**
%bK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bJ,align 8
%bL=bitcast i8*%bH to i8**
%bM=load i8*,i8**%bL,align 8
store i8*%bM,i8**%h,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**%i,align 8
store i8*null,i8**%i,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=load i8*,i8**%o,align 8
store i8*null,i8**%o,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
%bX=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bY=call fastcc i8*%bK(i8*inreg%bX,i8*inreg%bN)
store i8*%bY,i8**%h,align 8
%bZ=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(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*))
%b0=getelementptr inbounds i8,i8*%bZ,i64 16
%b1=bitcast i8*%b0 to i8*(i8*,i8*)**
%b2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b1,align 8
%b3=bitcast i8*%bZ to i8**
%b4=load i8*,i8**%b3,align 8
store i8*%b4,i8**%i,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**%j,align 8
store i8*null,i8**%j,align 8
%b9=bitcast i8*%b5 to i8**
store i8*%b8,i8**%b9,align 8
%ca=load i8*,i8**%p,align 8
store i8*null,i8**%p,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=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cg=call fastcc i8*%b2(i8*inreg%cf,i8*inreg%b5)
store i8*%cg,i8**%i,align 8
%ch=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ae,i64 0,i32 2)to i8*))
%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**%j,align 8
%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
%cq=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%ct=getelementptr inbounds i8,i8*%cn,i64 8
%cu=bitcast i8*%ct to i8**
store i8*%cs,i8**%cu,align 8
%cv=getelementptr inbounds i8,i8*%cn,i64 16
%cw=bitcast i8*%cv to i32*
store i32 3,i32*%cw,align 4
%cx=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cy=call fastcc i8*%ck(i8*inreg%cx,i8*inreg%cn)
store i8*%cy,i8**%j,align 8
%cz=call i8*@sml_alloc(i32 inreg 20)#0
%cA=getelementptr inbounds i8,i8*%cz,i64 -4
%cB=bitcast i8*%cA to i32*
store i32 1342177296,i32*%cB,align 4
store i8*%cz,i8**%l,align 8
%cC=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cD=bitcast i8*%cz to i8**
store i8*%cC,i8**%cD,align 8
%cE=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%cF=getelementptr inbounds i8,i8*%cz,i64 8
%cG=bitcast i8*%cF to i8**
store i8*%cE,i8**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cz,i64 16
%cI=bitcast i8*%cH to i32*
store i32 3,i32*%cI,align 4
%cJ=call i8*@sml_alloc(i32 inreg 44)#0
%cK=getelementptr inbounds i8,i8*%cJ,i64 -4
%cL=bitcast i8*%cK to i32*
store i32 1342177320,i32*%cL,align 4
store i8*%cJ,i8**%k,align 8
%cM=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cN=bitcast i8*%cJ to i8**
store i8*%cM,i8**%cN,align 8
%cO=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cP=getelementptr inbounds i8,i8*%cJ,i64 8
%cQ=bitcast i8*%cP to i8**
store i8*%cO,i8**%cQ,align 8
%cR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cS=getelementptr inbounds i8,i8*%cJ,i64 16
%cT=bitcast i8*%cS to i8**
store i8*%cR,i8**%cT,align 8
%cU=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cV=getelementptr inbounds i8,i8*%cJ,i64 24
%cW=bitcast i8*%cV to i8**
store i8*%cU,i8**%cW,align 8
%cX=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cY=getelementptr inbounds i8,i8*%cJ,i64 32
%cZ=bitcast i8*%cY to i8**
store i8*%cX,i8**%cZ,align 8
%c0=getelementptr inbounds i8,i8*%cJ,i64 40
%c1=bitcast i8*%c0 to i32*
store i32 31,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
%c5=load i8*,i8**%g,align 8
%c6=bitcast i8*%c2 to i8**
store i8*%c5,i8**%c6,align 8
%c7=load i8*,i8**%k,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
ret i8*%c2
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_472(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%d,i8*inreg%e)#2 gc"smlsharp"{
z:
%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
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
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
store i8*%b,i8**%f,align 8
store i8*%c,i8**%g,align 8
store i8*%e,i8**%h,align 8
store i8*%a,i8**%m,align 8
%r=load atomic i32,i32*@sml_check_flag unordered,align 4
%s=icmp eq i32%r,0
br i1%s,label%x,label%t
t:
call void@sml_check(i32 inreg%r)
%u=load i8*,i8**%h,align 8
%v=load i8*,i8**%g,align 8
%w=load i8*,i8**%f,align 8
br label%x
x:
%y=phi i8*[%w,%t],[%b,%z]
%A=phi i8*[%v,%t],[%c,%z]
%B=phi i8*[%u,%t],[%e,%z]
store i8*%B,i8**%k,align 8
store i8*%A,i8**%l,align 8
store i8*%y,i8**%g,align 8
%C=icmp eq i8*%B,null
br i1%C,label%D,label%ah
D:
store i8*null,i8**%k,align 8
store i8*null,i8**%l,align 8
%E=bitcast i8**%m to i8***
%F=load i8**,i8***%E,align 8
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%h,align 8
%H=load i8*,i8**%F,align 8
store i8*%H,i8**%i,align 8
store i8*null,i8**%m,align 8
%I=load i8*,i8**%F,align 8
store i8*%I,i8**%j,align 8
%J=call i8*@sml_alloc(i32 inreg 44)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177320,i32*%L,align 4
store i8*%J,i8**%f,align 8
%M=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
call void@llvm.memset.p0i8.i64(i8*%O,i8 0,i64 16,i1 false)
%P=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 24
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%T=getelementptr inbounds i8,i8*%J,i64 32
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%J,i64 40
%W=bitcast i8*%V to i32*
store i32 31,i32*%W,align 4
%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**%g,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%f,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:
%ai=bitcast i8*%B to i8***
%aj=bitcast i8*%B to i8**
%ak=load i8*,i8**%aj,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%f,align 8
%ao=load i8**,i8***%ai,align 8
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%h,align 8
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%i,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 1,i32*%av,align 4
%aw=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%aq,i64 16
%aA=bitcast i8*%az to i32*
store i32 2,i32*%aA,align 4
%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**%i,align 8
store i8*null,i8**%i,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=load i8*,i8**%l,align 8
%aM=load i8*,i8**%g,align 8
%aN=load i8*,i8**%m,align 8
store i8*null,i8**%g,align 8
%aO=call fastcc i8*@_SMLLN8LoadFile11loadRequireE_470(i8*inreg%aN,i8*inreg%aM,i8*inreg%aL,i32 inreg%d,i8*inreg%aB)
%aP=getelementptr inbounds i8,i8*%aO,i64 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
%aS=getelementptr inbounds i8,i8*%aR,i64 24
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%f,align 8
%aV=getelementptr inbounds i8,i8*%aR,i64 16
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%g,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%h,align 8
%a1=getelementptr inbounds i8,i8*%aR,i64 32
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%i,align 8
%a4=getelementptr inbounds i8,i8*%aR,i64 40
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%j,align 8
%a7=bitcast i8*%aO to i8**
%a8=load i8*,i8**%a7,align 8
%a9=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%ba=getelementptr inbounds i8,i8*%a9,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
%bd=load i8*,i8**%l,align 8
%be=load i8*,i8**%m,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%m,align 8
%bf=call fastcc i8*@_SMLLN8LoadFile15loadRequireListE_472(i8*inreg%be,i8*inreg%a8,i8*inreg%bd,i32 inreg%d,i8*inreg%bc)
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%k,align 8
%bi=getelementptr inbounds i8,i8*%bf,i64 8
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
%bl=getelementptr inbounds i8,i8*%bk,i64 16
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
store i8*%bn,i8**%l,align 8
%bo=getelementptr inbounds i8,i8*%bk,i64 8
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%m,align 8
%br=bitcast i8*%bk to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%n,align 8
%bt=getelementptr inbounds i8,i8*%bk,i64 24
%bu=bitcast i8*%bt to i8**
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%o,align 8
%bw=getelementptr inbounds i8,i8*%bk,i64 32
%bx=bitcast i8*%bw to i8**
%by=load i8*,i8**%bx,align 8
store i8*%by,i8**%p,align 8
%bz=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@af,i64 0,i32 2)to i8*))
%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**%q,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**%h,align 8
store i8*null,i8**%h,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=load i8*,i8**%n,align 8
store i8*null,i8**%n,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**%q,align 8
store i8*null,i8**%q,align 8
%bQ=call fastcc i8*%bC(i8*inreg%bP,i8*inreg%bF)
store i8*%bQ,i8**%h,align 8
%bR=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ag,i64 0,i32 2)to i8*))
%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**%n,align 8
%bX=call i8*@sml_alloc(i32 inreg 20)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177296,i32*%bZ,align 4
%b0=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b1=bitcast i8*%bX to i8**
store i8*%b0,i8**%b1,align 8
%b2=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%b3=getelementptr inbounds i8,i8*%bX,i64 8
%b4=bitcast i8*%b3 to i8**
store i8*%b2,i8**%b4,align 8
%b5=getelementptr inbounds i8,i8*%bX,i64 16
%b6=bitcast i8*%b5 to i32*
store i32 3,i32*%b6,align 4
%b7=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%b8=call fastcc i8*%bU(i8*inreg%b7,i8*inreg%bX)
store i8*%b8,i8**%i,align 8
%b9=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ah,i64 0,i32 2)to i8*))
%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**%n,align 8
%cf=call i8*@sml_alloc(i32 inreg 20)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177296,i32*%ch,align 4
%ci=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cj=bitcast i8*%cf to i8**
store i8*%ci,i8**%cj,align 8
%ck=load i8*,i8**%p,align 8
store i8*null,i8**%p,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=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%cq=call fastcc i8*%cc(i8*inreg%cp,i8*inreg%cf)
store i8*%cq,i8**%j,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**%n,align 8
%cu=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cv=bitcast i8*%cr to i8**
store i8*%cu,i8**%cv,align 8
%cw=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%cx=getelementptr inbounds i8,i8*%cr,i64 8
%cy=bitcast i8*%cx to i8**
store i8*%cw,i8**%cy,align 8
%cz=getelementptr inbounds i8,i8*%cr,i64 16
%cA=bitcast i8*%cz to i32*
store i32 3,i32*%cA,align 4
%cB=call i8*@sml_alloc(i32 inreg 20)#0
%cC=getelementptr inbounds i8,i8*%cB,i64 -4
%cD=bitcast i8*%cC to i32*
store i32 1342177296,i32*%cD,align 4
store i8*%cB,i8**%g,align 8
%cE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cF=bitcast i8*%cB to i8**
store i8*%cE,i8**%cF,align 8
%cG=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cH=getelementptr inbounds i8,i8*%cB,i64 8
%cI=bitcast i8*%cH to i8**
store i8*%cG,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cB,i64 16
%cK=bitcast i8*%cJ to i32*
store i32 3,i32*%cK,align 4
%cL=call i8*@sml_alloc(i32 inreg 44)#0
%cM=getelementptr inbounds i8,i8*%cL,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177320,i32*%cN,align 4
store i8*%cL,i8**%f,align 8
%cO=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cP=bitcast i8*%cL to i8**
store i8*%cO,i8**%cP,align 8
%cQ=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%cR=getelementptr inbounds i8,i8*%cL,i64 8
%cS=bitcast i8*%cR to i8**
store i8*%cQ,i8**%cS,align 8
%cT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cU=getelementptr inbounds i8,i8*%cL,i64 16
%cV=bitcast i8*%cU to i8**
store i8*%cT,i8**%cV,align 8
%cW=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cX=getelementptr inbounds i8,i8*%cL,i64 24
%cY=bitcast i8*%cX to i8**
store i8*%cW,i8**%cY,align 8
%cZ=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%c0=getelementptr inbounds i8,i8*%cL,i64 32
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cL,i64 40
%c3=bitcast i8*%c2 to i32*
store i32 31,i32*%c3,align 4
%c4=call i8*@sml_alloc(i32 inreg 20)#0
%c5=getelementptr inbounds i8,i8*%c4,i64 -4
%c6=bitcast i8*%c5 to i32*
store i32 1342177296,i32*%c6,align 4
%c7=load i8*,i8**%k,align 8
%c8=bitcast i8*%c4 to i8**
store i8*%c7,i8**%c8,align 8
%c9=load i8*,i8**%f,align 8
%da=getelementptr inbounds i8,i8*%c4,i64 8
%db=bitcast i8*%da to i8**
store i8*%c9,i8**%db,align 8
%dc=getelementptr inbounds i8,i8*%c4,i64 16
%dd=bitcast i8*%dc to i32*
store i32 3,i32*%dd,align 4
ret i8*%c4
}
define internal fastcc i8*@_SMLLN8LoadFile20checkHashDuplicationE_508(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]
store i8*null,i8**%b,align 8
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%m,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*@_SMLFN13InterfaceName12hashToStringE(i8*inreg%x)
store i8*%y,i8**%b,align 8
%z=call fastcc i8*@_SMLFN4SEnv4findE(i32 inreg 1,i32 inreg 8)
%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**%e,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**%d,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%b,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**%e,align 8
store i8*null,i8**%e,align 8
%Q=call fastcc i8*%C(i8*inreg%P,i8*inreg%F)
%R=icmp eq i8*%Q,null
br i1%R,label%S,label%ao
S:
%T=call fastcc i8*@_SMLFN4SEnv6insertE(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=call i8*@sml_alloc(i32 inreg 28)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
%ac=load i8*,i8**%d,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%b,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%c,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%Z,i64 24
%al=bitcast i8*%ak to i32*
store i32 7,i32*%al,align 4
%am=load i8*,i8**%e,align 8
%an=tail call fastcc i8*%W(i8*inreg%am,i8*inreg%Z)
ret i8*%an
ao:
store i8*null,i8**%d,align 8
%ap=bitcast i8*%Q to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%b,align 8
store i8*null,i8**%g,align 8
%ar=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%ar,i8**%d,align 8
%as=load i8*,i8**@_SMLZN13LoadFileError13DuplicateHashE,align 8
store i8*%as,i8**%e,align 8
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177296,i32*%av,align 4
store i8*%at,i8**%f,align 8
%aw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%az=getelementptr inbounds i8,i8*%at,i64 8
%aA=bitcast i8*%az to i8**
store i8*%ay,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%at,i64 16
%aC=bitcast i8*%aB to i32*
store i32 3,i32*%aC,align 4
%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**%b,align 8
%aG=load i8*,i8**%e,align 8
store i8*null,i8**%e,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,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@ai,i64 0,i32 2,i64 0),i8**%aJ,align 8
%aK=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 20)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
%aS=load i8*,i8**%d,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=load i8*,i8**%b,align 8
%aV=getelementptr inbounds i8,i8*%aP,i64 8
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aP,i64 16
%aY=bitcast i8*%aX to i32*
store i32 3,i32*%aY,align 4
%aZ=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%aP)
unreachable
}
define internal fastcc void@_SMLLN8LoadFile20checkHashDuplicationE_510(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%i=getelementptr inbounds i8,i8*%h,i64 16
%j=bitcast i8*%i to i8*(i8*,i8*)**
%k=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j,align 8
%l=bitcast i8*%h to i8**
%m=load i8*,i8**%l,align 8
%n=call fastcc i8*%k(i8*inreg%m,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*))
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=call fastcc i8*@_SMLFN4SEnv5emptyE(i32 inreg 1,i32 inreg 8)
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=call fastcc i8*%q(i8*inreg%u,i8*inreg%t)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=load i8*,i8**%b,align 8
%C=tail call fastcc i8*%y(i8*inreg%A,i8*inreg%B)
ret void
}
define internal fastcc i8*@_SMLL14initRequisites_512(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=bitcast i8*%a to i8**
%d=load i8*,i8**%c,align 8
%e=getelementptr inbounds i8,i8*%d,i64 8
%f=bitcast i8*%e to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%b,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=bitcast i8*%k to i32*
%m=getelementptr inbounds i8,i8*%k,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177296,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%k,i64 4
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 1
store i32%j,i32*%l,align 4
%q=load i8*,i8**%b,align 8
%r=getelementptr inbounds i8,i8*%k,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 16
%u=bitcast i8*%t to i32*
store i32 2,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLL18locallyRequiredIds_514(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
%e=load i32,i32*%d,align 4
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%b,align 8
%i=call i8*@sml_alloc(i32 inreg 20)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
store i32 0,i32*%n,align 1
store i32%e,i32*%j,align 4
%o=load i8*,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i8**
store i8*%o,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 16
%s=bitcast i8*%r to i32*
store i32 2,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLL8requires_516(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i32**
%k=load i32*,i32**%j,align 8
%l=load i32,i32*%k,align 4
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,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=getelementptr inbounds i8,i8*%p,i64 12
%t=bitcast i8*%s to i32*
store i32 0,i32*%t,align 1
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%p to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 8
%x=bitcast i8*%w to i32*
store i32%l,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i32*
store i32 1,i32*%z,align 4
%A=tail call fastcc i8*@_SMLFN11InterfaceID3Set3addE(i8*inreg%p)
ret i8*%A
}
define internal fastcc i32@_SMLL18locallyRequiredIds_518(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%a to i8**
%i=bitcast i8*%b to i32*
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%d to i32**
%l=load i32*,i32**%k,align 8
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%j],[%h,%g]
%q=phi i32*[%l,%j],[%i,%g]
store i8*null,i8**%d,align 8
%r=load i32,i32*%q,align 4
%s=load i8*,i8**%p,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 12
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 1
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 8
%B=bitcast i8*%A to i32*
store i32%r,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%t,i64 16
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=call fastcc i32@_SMLFN11InterfaceID3Set6memberE(i8*inreg%t)
%F=tail call fastcc i32@_SMLFN4Bool3notE(i32 inreg%E)
ret i32%F
}
define internal fastcc i8*@_SMLL13interfaceDecs_519(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=icmp eq i8*%a,null
br i1%c,label%y,label%d
d:
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=icmp eq i32%f,1
br i1%g,label%h,label%y
h:
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8***
%k=load i8**,i8***%j,align 8
%l=load i8*,i8**%k,align 8
%m=icmp eq i8*%l,null
br i1%m,label%y,label%n
n:
%o=bitcast i8*%l to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=call i8*@sml_alloc(i32 inreg 12)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177288,i32*%t,align 4
%u=load i8*,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 i32*
store i32 1,i32*%x,align 4
ret i8*%r
y:
ret i8*null
}
define internal fastcc i8*@_SMLLN8LoadFile20loadProvideInterfaceE_523(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**%e,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=icmp eq i8*%r,null
br i1%t,label%u,label%X
u:
%v=load i8*,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%v,i64 8
%x=bitcast i8*%w to i8***
%y=load i8**,i8***%x,align 8
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 36)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177312,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=load i8*,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=getelementptr inbounds i8,i8*%A,i64 24
%H=bitcast i8*%G to i8**
call void@llvm.memset.p0i8.i64(i8*%F,i8 0,i64 16,i1 false)
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**%H,align 8
%I=getelementptr inbounds i8,i8*%A,i64 32
%J=bitcast i8*%I to i32*
store i32 15,i32*%J,align 4
%K=bitcast i8**%e to i8***
%L=load i8**,i8***%K,align 8
store i8*null,i8**%e,align 8
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,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
%Q=load i8*,i8**%c,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=load i8*,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%N,i64 8
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%N,i64 16
%W=bitcast i8*%V to i32*
store i32 3,i32*%W,align 4
ret i8*%N
X:
%Y=bitcast i8*%r to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%c,align 8
%aa=load i8*,i8**%e,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
store i8*null,i8**%e,align 8
%aj=getelementptr inbounds i8,i8*%aa,i64 24
%ak=bitcast i8*%aj to i32*
%al=load i32,i32*%ak,align 4
%am=call fastcc i8*@_SMLLN8LoadFile11loadRequireE_470(i8*inreg%ad,i8*inreg%af,i8*inreg%ai,i32 inreg%al,i8*inreg%Z)
store i8*%am,i8**%h,align 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%i,align 8
%ap=getelementptr inbounds i8,i8*%am,i64 8
%aq=bitcast i8*%ap to i8***
%ar=load i8**,i8***%aq,align 8
%as=load i8*,i8**%ar,align 8
%at=icmp eq i8*%as,null
br i1%at,label%au,label%a5
au:
store i8*null,i8**%i,align 8
store i8*null,i8**%h,align 8
%av=getelementptr inbounds i8*,i8**%ar,i64 3
%aw=load i8*,i8**%av,align 8
store i8*null,i8**%f,align 8
%ax=load i8*,i8**%c,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%c,align 8
%aB=load i8*,i8**@_SMLZN13LoadFileError14NotAnInterfaceE,align 8
store i8*%aB,i8**%d,align 8
%aC=getelementptr inbounds i8,i8*%aw,i64 16
%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 28)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177304,i32*%aK,align 4
store i8*%aI,i8**%g,align 8
%aL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aI,i64 8
%aO=bitcast i8*%aN to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@ao,i64 0,i32 2,i64 0),i8**%aO,align 8
%aP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aQ=getelementptr inbounds i8,i8*%aI,i64 16
%aR=bitcast i8*%aQ to i8**
store i8*%aP,i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aI,i64 24
%aT=bitcast i8*%aS to i32*
store i32 7,i32*%aT,align 4
%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
%aX=load i8*,i8**%c,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=load i8*,i8**%g,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=tail call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%aU)
unreachable
a5:
%a6=bitcast i8**%ar to i8***
store i8*null,i8**%c,align 8
%a7=load i8**,i8***%a6,align 8
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%e,align 8
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%j,align 8
%bb=call fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_338(i8*inreg 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*))
%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
%bh=load i8*,i8**%e,align 8
%bi=getelementptr inbounds i8,i8*%bh,i64 8
%bj=bitcast i8*%bi to i8***
%bk=load i8**,i8***%bj,align 8
%bl=load i8*,i8**%bk,align 8
%bm=call fastcc i8*%be(i8*inreg%bg,i8*inreg%bl)
store i8*%bm,i8**%c,align 8
%bn=call fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_338(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@al,i64 0,i32 2)to i8*))
%bo=getelementptr inbounds i8,i8*%bn,i64 16
%bp=bitcast i8*%bo to i8*(i8*,i8*)**
%bq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bp,align 8
%br=bitcast i8*%bn to i8**
%bs=load i8*,i8**%br,align 8
%bt=load i8*,i8**%e,align 8
%bu=getelementptr inbounds i8,i8*%bt,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
%bA=call fastcc i8*%bq(i8*inreg%bs,i8*inreg%bz)
store i8*%bA,i8**%d,align 8
%bB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bC=getelementptr inbounds i8,i8*%bB,i64 8
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
%bF=getelementptr inbounds i8,i8*%bE,i64 16
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
%bI=call fastcc i8*@_SMLLN8LoadFile5Assoc9listItemsE_346(i8*inreg%bH)
store i8*%bI,i8**%e,align 8
%bJ=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,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
%bP=call fastcc i8*%bM(i8*inreg%bO,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@am,i64 0,i32 2)to i8*))
%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=load i8*,i8**@_SMLZN11InterfaceID3Set5emptyE,align 8
%bW=call fastcc i8*%bS(i8*inreg%bU,i8*inreg%bV)
%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
%b0=bitcast i8*%bW to i8**
%b1=load i8*,i8**%b0,align 8
%b2=load i8*,i8**%j,align 8
%b3=getelementptr inbounds i8,i8*%b2,i64 24
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=call fastcc i8*%bZ(i8*inreg%b1,i8*inreg%b5)
store i8*%b6,i8**%f,align 8
%b7=call fastcc i8*@_SMLFN4List6filterE(i32 inreg 1,i32 inreg 8)
%b8=getelementptr inbounds i8,i8*%b7,i64 16
%b9=bitcast i8*%b8 to i8*(i8*,i8*)**
%ca=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b9,align 8
%cb=bitcast i8*%b7 to i8**
%cc=load i8*,i8**%cb,align 8
store i8*%cc,i8**%g,align 8
%cd=call i8*@sml_alloc(i32 inreg 12)#0
%ce=getelementptr inbounds i8,i8*%cd,i64 -4
%cf=bitcast i8*%ce to i32*
store i32 1342177288,i32*%cf,align 4
store i8*%cd,i8**%k,align 8
%cg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ch=bitcast i8*%cd to i8**
store i8*%cg,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%cd,i64 8
%cj=bitcast i8*%ci to i32*
store i32 1,i32*%cj,align 4
%ck=call i8*@sml_alloc(i32 inreg 28)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177304,i32*%cm,align 4
%cn=load i8*,i8**%k,align 8
store i8*null,i8**%k,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 void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL18locallyRequiredIds_518 to void(...)*),void(...)**%cq,align 8
%cr=getelementptr inbounds i8,i8*%ck,i64 16
%cs=bitcast i8*%cr to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL18locallyRequiredIds_676 to void(...)*),void(...)**%cs,align 8
%ct=getelementptr inbounds i8,i8*%ck,i64 24
%cu=bitcast i8*%ct to i32*
store i32 -2147483647,i32*%cu,align 4
%cv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cw=call fastcc i8*%ca(i8*inreg%cv,i8*inreg%ck)
%cx=getelementptr inbounds i8,i8*%cw,i64 16
%cy=bitcast i8*%cx to i8*(i8*,i8*)**
%cz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cy,align 8
%cA=bitcast i8*%cw to i8**
%cB=load i8*,i8**%cA,align 8
%cC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cD=call fastcc i8*%cz(i8*inreg%cB,i8*inreg%cC)
store i8*%cD,i8**%d,align 8
%cE=call fastcc i8*@_SMLLN8LoadFile5Assoc14collectPartialE_340(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@an,i64 0,i32 2)to i8*))
%cF=getelementptr inbounds i8,i8*%cE,i64 16
%cG=bitcast i8*%cF to i8*(i8*,i8*)**
%cH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cG,align 8
%cI=bitcast i8*%cE to i8**
%cJ=load i8*,i8**%cI,align 8
store i8*%cJ,i8**%g,align 8
%cK=load i8*,i8**%j,align 8
%cL=getelementptr inbounds i8,i8*%cK,i64 8
%cM=bitcast i8*%cL to i8**
%cN=load i8*,i8**%cM,align 8
%cO=getelementptr inbounds i8,i8*%cN,i64 8
%cP=bitcast i8*%cO to i8**
%cQ=load i8*,i8**%cP,align 8
%cR=getelementptr inbounds i8,i8*%cQ,i64 8
%cS=bitcast i8*%cR to i8**
%cT=load i8*,i8**%cS,align 8
store i8*%cT,i8**%f,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**%i,align 8
%cY=bitcast i8*%cU to i8**
store i8*%cX,i8**%cY,align 8
%cZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c0=getelementptr inbounds i8,i8*%cU,i64 8
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cU,i64 16
%c3=bitcast i8*%c2 to i32*
store i32 3,i32*%c3,align 4
%c4=call fastcc i8*@_SMLLN8LoadFile5Assoc6removeE_351(i8*inreg%cU)
%c5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c6=call fastcc i8*%cH(i8*inreg%c5,i8*inreg%c4)
store i8*%c6,i8**%f,align 8
%c7=call fastcc i8*@_SMLFN4List6concatE(i32 inreg 1,i32 inreg 8)
%c8=getelementptr inbounds i8,i8*%c7,i64 16
%c9=bitcast i8*%c8 to i8*(i8*,i8*)**
%da=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c9,align 8
%db=bitcast i8*%c7 to i8**
%dc=load i8*,i8**%db,align 8
%dd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%de=call fastcc i8*%da(i8*inreg%dc,i8*inreg%dd)
store i8*%de,i8**%e,align 8
%df=load i8*,i8**%j,align 8
%dg=getelementptr inbounds i8,i8*%df,i64 16
%dh=bitcast i8*%dg to i8**
%di=load i8*,i8**%dh,align 8
store i8*%di,i8**%k,align 8
%dj=getelementptr inbounds i8,i8*%df,i64 24
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%l,align 8
%dm=call i8*@sml_alloc(i32 inreg 36)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177312,i32*%do,align 4
store i8*%dm,i8**%g,align 8
%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**%k,align 8
store i8*null,i8**%k,align 8
%ds=getelementptr inbounds i8,i8*%dm,i64 8
%dt=bitcast i8*%ds to i8**
store i8*%dr,i8**%dt,align 8
%du=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dv=getelementptr inbounds i8,i8*%dm,i64 16
%dw=bitcast i8*%dv to i8**
store i8*%du,i8**%dw,align 8
%dx=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dy=getelementptr inbounds i8,i8*%dm,i64 24
%dz=bitcast i8*%dy to i8**
store i8*%dx,i8**%dz,align 8
%dA=getelementptr inbounds i8,i8*%dm,i64 32
%dB=bitcast i8*%dA to i32*
store i32 15,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**%d,align 8
%dF=load i8*,i8**%f,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=getelementptr inbounds i8,i8*%dC,i64 16
%dL=bitcast i8*%dK to i32*
store i32 3,i32*%dL,align 4
%dM=load i8*,i8**%j,align 8
%dN=getelementptr inbounds i8,i8*%dM,i64 8
%dO=bitcast i8*%dN to i8**
%dP=load i8*,i8**%dO,align 8
store i8*%dP,i8**%e,align 8
%dQ=call i8*@sml_alloc(i32 inreg 12)#0
%dR=getelementptr inbounds i8,i8*%dQ,i64 -4
%dS=bitcast i8*%dR to i32*
store i32 1342177288,i32*%dS,align 4
store i8*%dQ,i8**%g,align 8
%dT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dU=bitcast i8*%dQ to i8**
store i8*%dT,i8**%dU,align 8
%dV=getelementptr inbounds i8,i8*%dQ,i64 8
%dW=bitcast i8*%dV to i32*
store i32 1,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**%e,align 8
%d0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d1=bitcast i8*%dX to i8**
store i8*%d0,i8**%d1,align 8
%d2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%d3=getelementptr inbounds i8,i8*%dX,i64 8
%d4=bitcast i8*%d3 to i8**
store i8*%d2,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dX,i64 16
%d6=bitcast i8*%d5 to i32*
store i32 3,i32*%d6,align 4
%d7=call i8*@sml_alloc(i32 inreg 20)#0
%d8=getelementptr inbounds i8,i8*%d7,i64 -4
%d9=bitcast i8*%d8 to i32*
store i32 1342177296,i32*%d9,align 4
%ea=load i8*,i8**%j,align 8
%eb=bitcast i8*%d7 to i8**
store i8*%ea,i8**%eb,align 8
%ec=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ed=getelementptr inbounds i8,i8*%d7,i64 8
%ee=bitcast i8*%ed to i8**
store i8*%ec,i8**%ee,align 8
%ef=getelementptr inbounds i8,i8*%d7,i64 16
%eg=bitcast i8*%ef to i32*
store i32 3,i32*%eg,align 4
call fastcc void@_SMLLN8LoadFile20checkHashDuplicationE_510(i8*inreg%d7)
%eh=load i8*,i8**%j,align 8
%ei=getelementptr inbounds i8,i8*%eh,i64 8
%ej=bitcast i8*%ei to i8**
%ek=load i8*,i8**%ej,align 8
%el=getelementptr inbounds i8,i8*%ek,i64 8
%em=bitcast i8*%el to i8**
%en=load i8*,i8**%em,align 8
%eo=getelementptr inbounds i8,i8*%en,i64 8
%ep=bitcast i8*%eo to i8**
%eq=load i8*,i8**%ep,align 8
%er=call fastcc i8*@_SMLFN8Filename7dirnameE(i8*inreg%eq)
store i8*%er,i8**%c,align 8
%es=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%et=getelementptr inbounds i8,i8*%es,i64 8
%eu=bitcast i8*%et to i8**
%ev=load i8*,i8**%eu,align 8
%ew=getelementptr inbounds i8,i8*%ev,i64 8
%ex=bitcast i8*%ew to i32**
%ey=load i32*,i32**%ex,align 8
%ez=load i32,i32*%ey,align 4
%eA=call i8*@sml_alloc(i32 inreg 20)#0
%eB=getelementptr inbounds i8,i8*%eA,i64 -4
%eC=bitcast i8*%eB to i32*
store i32 1342177296,i32*%eC,align 4
store i8*%eA,i8**%f,align 8
%eD=getelementptr inbounds i8,i8*%eA,i64 4
%eE=bitcast i8*%eD to i32*
store i32 0,i32*%eE,align 1
%eF=bitcast i8*%eA to i32*
store i32%ez,i32*%eF,align 4
%eG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eH=getelementptr inbounds i8,i8*%eA,i64 8
%eI=bitcast i8*%eH to i8**
store i8*%eG,i8**%eI,align 8
%eJ=getelementptr inbounds i8,i8*%eA,i64 16
%eK=bitcast i8*%eJ to i32*
store i32 2,i32*%eK,align 4
%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
store i8*%eL,i8**%g,align 8
%eO=bitcast i8*%eL to i64*
store i64 0,i64*%eO,align 4
%eP=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eQ=getelementptr inbounds i8,i8*%eL,i64 8
%eR=bitcast i8*%eQ to i8**
store i8*%eP,i8**%eR,align 8
%eS=getelementptr inbounds i8,i8*%eL,i64 16
%eT=bitcast i8*%eS to i32*
store i32 2,i32*%eT,align 4
%eU=call i8*@sml_alloc(i32 inreg 12)#0
%eV=getelementptr inbounds i8,i8*%eU,i64 -4
%eW=bitcast i8*%eV to i32*
store i32 1342177288,i32*%eW,align 4
store i8*%eU,i8**%f,align 8
%eX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eY=bitcast i8*%eU to i8**
store i8*%eX,i8**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eU,i64 8
%e0=bitcast i8*%eZ to i32*
store i32 1,i32*%e0,align 4
%e1=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%e2=getelementptr inbounds i8,i8*%e1,i64 8
%e3=bitcast i8*%e2 to i8**
%e4=load i8*,i8**%e3,align 8
%e5=getelementptr inbounds i8,i8*%e4,i64 24
%e6=bitcast i8*%e5 to i8**
%e7=load i8*,i8**%e6,align 8
store i8*%e7,i8**%c,align 8
%e8=call i8*@sml_alloc(i32 inreg 12)#0
%e9=getelementptr inbounds i8,i8*%e8,i64 -4
%fa=bitcast i8*%e9 to i32*
store i32 1342177288,i32*%fa,align 4
store i8*%e8,i8**%d,align 8
%fb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fc=bitcast i8*%e8 to i8**
store i8*%fb,i8**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e8,i64 8
%fe=bitcast i8*%fd to i32*
store i32 1,i32*%fe,align 4
%ff=call i8*@sml_alloc(i32 inreg 36)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177312,i32*%fh,align 4
store i8*%ff,i8**%c,align 8
%fi=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 8
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fo=getelementptr inbounds i8,i8*%ff,i64 16
%fp=bitcast i8*%fo to i8**
store i8*%fn,i8**%fp,align 8
%fq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fr=getelementptr inbounds i8,i8*%ff,i64 24
%fs=bitcast i8*%fr to i8**
store i8*%fq,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%ff,i64 32
%fu=bitcast i8*%ft to i32*
store i32 15,i32*%fu,align 4
%fv=call i8*@sml_alloc(i32 inreg 20)#0
%fw=getelementptr inbounds i8,i8*%fv,i64 -4
%fx=bitcast i8*%fw to i32*
store i32 1342177296,i32*%fx,align 4
%fy=load i8*,i8**%i,align 8
%fz=bitcast i8*%fv to i8**
store i8*%fy,i8**%fz,align 8
%fA=load i8*,i8**%c,align 8
%fB=getelementptr inbounds i8,i8*%fv,i64 8
%fC=bitcast i8*%fB to i8**
store i8*%fA,i8**%fC,align 8
%fD=getelementptr inbounds i8,i8*%fv,i64 16
%fE=bitcast i8*%fD to i32*
store i32 3,i32*%fE,align 4
ret i8*%fv
}
define internal fastcc i8*@_SMLLN8LoadFile20loadProvideInterfaceE_524(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%d,align 8
%l=getelementptr inbounds i8,i8*%a,i64 16
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%e,align 8
%o=call i8*@sml_alloc(i32 inreg 36)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177312,i32*%q,align 4
store i8*%o,i8**%f,align 8
%r=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%o,i64 8
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%x=getelementptr inbounds i8,i8*%o,i64 16
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%o,i64 24
%A=bitcast i8*%z to i32*
store i32%b,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%o,i64 32
%C=bitcast i8*%B to i32*
store i32 7,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**%f,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*)*@_SMLLN8LoadFile20loadProvideInterfaceE_523 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*)*@_SMLLN8LoadFile20loadProvideInterfaceE_523 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
ret i8*%D
}
define internal fastcc i8*@_SMLLN8LoadFile20loadProvideInterfaceE_525(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*,i32)*@_SMLLN8LoadFile20loadProvideInterfaceE_524 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*)*@_SMLLN8LoadFile20loadProvideInterfaceE_678 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*@_SMLLN8LoadFile20loadProvideInterfaceE_526(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*)*@_SMLLN8LoadFile20loadProvideInterfaceE_525 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*)*@_SMLLN8LoadFile20loadProvideInterfaceE_525 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*@_SMLLN8LoadFile9listNodesE_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=icmp eq i8*%i,null
br i1%k,label%G,label%l
l:
%m=bitcast i8*%i to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 2,label%ah
i32 1,label%aa
i32 0,label%G
]
o:
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
store i8*%q,i8**%c,align 8
%t=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[67x i8]}>,<{[4x i8],i32,[67x i8]}>*@at,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
%H=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%H,i8**%b,align 8
%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
store i8*%I,i8**%c,align 8
%L=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@ar,i64 0,i32 2,i64 0),i8**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@as,i64 0,i32 2,i64 0),i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 7,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 60)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177336,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%T,i64 56
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
call void@sml_raise(i8*inreg%T)#1
unreachable
aa:
%ab=getelementptr inbounds i8,i8*%i,i64 8
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 24
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
ret i8*%ag
ah:
%ai=getelementptr inbounds i8,i8*%i,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
ret i8*%an
}
define internal fastcc i8*@_SMLLN8LoadFile9listNodesE_535(i8*inreg%a)unnamed_addr#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*@_SMLLN8LoadFile5Assoc7collectE_338(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@au,i64 0,i32 2)to i8*))
%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=load i8*,i8**%b,align 8
%n=tail call fastcc i8*%j(i8*inreg%l,i8*inreg%m)
ret i8*%n
}
define internal fastcc i8*@_SMLL7smiEdge_539(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%d,align 8
%g=call i8*@sml_alloc(i32 inreg 28)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177304,i32*%j,align 4
%k=getelementptr inbounds i8,i8*%g,i64 4
%l=bitcast i8*%k to i32*
store i32 0,i32*%l,align 1
store i32 3,i32*%h,align 4
%m=load i8*,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%g,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=load i8*,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%g,i64 16
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%g,i64 24
%t=bitcast i8*%s to i32*
store i32 6,i32*%t,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLL8allowUse_540(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 4
%o=icmp eq i32%n,2
br i1%o,label%t,label%p
p:
%q=getelementptr inbounds i8,i8*%i,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
ret i8*%s
t:
%u=getelementptr inbounds i8,i8*%l,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%b,align 8
%D=getelementptr inbounds i8,i8*%i,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%c,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
%J=load i8*,i8**%c,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=load i8*,i8**%b,align 8
%M=getelementptr inbounds i8,i8*%G,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%G,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
%Q=tail call fastcc i8*@_SMLFN8Filename3Set3addE(i8*inreg%G)
ret i8*%Q
}
define internal fastcc i8*@_SMLL6source_542(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 1,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*@_SMLLN8LoadFile4loadE_544(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
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
store i8*%a,i8**%h,align 8
store i8*%b,i8**%d,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%t,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%d,align 8
%s=load i8*,i8**%h,align 8
br label%t
t:
%u=phi i8*[%s,%q],[%a,%v]
%w=phi i8*[%r,%q],[%b,%v]
store i8*null,i8**%d,align 8
store i8*%w,i8**%j,align 8
%x=getelementptr inbounds i8,i8*%u,i64 8
%y=bitcast i8*%x to i8***
%z=load i8**,i8***%y,align 8
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%k,align 8
%B=getelementptr inbounds i8*,i8**%z,i64 2
%C=bitcast i8**%B to i32*
%D=load i32,i32*%C,align 4
%E=getelementptr inbounds i8*,i8**%z,i64 3
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%l,align 8
%G=getelementptr inbounds i8,i8*%w,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%m,align 8
%J=bitcast i8*%w to i8**
%K=load i8*,i8**%J,align 8
%L=icmp eq i8*%K,null
br i1%L,label%M,label%bE
M:
%N=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%N)
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%A,i8**%c,align 8
%O=load atomic i32,i32*@sml_check_flag unordered,align 4
%P=icmp eq i32%O,0
br i1%P,label%S,label%Q
Q:
call void@sml_check(i32 inreg%O)
%R=load i8*,i8**%c,align 8
br label%S
S:
%T=phi i8*[%R,%Q],[%A,%M]
%U=icmp eq i8*%T,null
br i1%U,label%V,label%W
V:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%N)
br label%c4
W:
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%c,align 8
%Z=call fastcc i8*@_SMLFN8Filename6suffixE(i8*inreg%Y)
%aa=icmp eq i8*%Z,null
br i1%aa,label%V,label%ab
ab:
%ac=bitcast i8*%Z to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%ah=and i32%ag,268435455
%ai=icmp eq i32%ah,4
br i1%ai,label%aj,label%V
aj:
%ak=load i8,i8*%ad,align 1
%al=icmp eq i8%ak,115
br i1%al,label%am,label%V
am:
%an=getelementptr inbounds i8,i8*%ad,i64 1
%ao=load i8,i8*%an,align 1
%ap=icmp eq i8%ao,109
br i1%ap,label%aq,label%V
aq:
%ar=getelementptr inbounds i8,i8*%ad,i64 2
%as=load i8,i8*%ar,align 1
%at=icmp eq i8%as,108
br i1%at,label%au,label%V
au:
%av=call fastcc i8*@_SMLFN8Filename13replaceSuffixE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[4x i8]}>,<{[4x i8],i32,[4x i8]}>*@aq,i64 0,i32 2,i64 0))
%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**%c,align 8
store i8*null,i8**%c,align 8
%aC=call fastcc i8*%ay(i8*inreg%aA,i8*inreg%aB)
store i8*%aC,i8**%c,align 8
%aD=call i8*@sml_alloc(i32 inreg 12)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177288,i32*%aF,align 4
%aG=load i8*,i8**%c,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to i32*
store i32 1,i32*%aJ,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%N)
%aK=icmp eq i8*%aD,null
br i1%aK,label%c4,label%aL
aL:
%aM=load i8*,i8**%h,align 8
%aN=getelementptr inbounds i8,i8*%aM,i64 8
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 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
%aY=call fastcc i8*%aV(i8*inreg%aX,i8*inreg%aG)
store i8*%aY,i8**%d,align 8
%aZ=call fastcc i32@_SMLFN9CoreUtils9testExistE(i8*inreg%aY)
%a0=icmp eq i32%aZ,0
br i1%a0,label%c4,label%a1
a1:
%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
store i8*%a2,i8**%e,align 8
%a5=getelementptr inbounds i8,i8*%a2,i64 4
%a6=bitcast i8*%a5 to i32*
store i32 0,i32*%a6,align 1
%a7=bitcast i8*%a2 to i32*
store i32 1,i32*%a7,align 4
%a8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a9=getelementptr inbounds i8,i8*%a2,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 16
%bc=bitcast i8*%bb to i32*
store i32 2,i32*%bc,align 4
%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**%f,align 8
%bg=bitcast i8*%bd to i64*
store i64 0,i64*%bg,align 4
%bh=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bi=getelementptr inbounds i8,i8*%bd,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bd,i64 16
%bl=bitcast i8*%bk to i32*
store i32 2,i32*%bl,align 4
%bm=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%bm,i8**%d,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
store i8*%bn,i8**%e,align 8
%bq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%d,align 8
store i8*null,i8**%d,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
%bx=call i8*@sml_alloc(i32 inreg 12)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177288,i32*%bz,align 4
%bA=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 1,i32*%bD,align 4
br label%c4
bE:
store i8*%K,i8**%e,align 8
%bF=getelementptr inbounds i8,i8*%K,i64 8
%bG=bitcast i8*%bF to i8**
%bH=load i8*,i8**%bG,align 8
store i8*%bH,i8**%f,align 8
%bI=icmp eq i8*%A,null
br i1%bI,label%bJ,label%ca
bJ:
%bK=bitcast i8*%K to i8**
store i8*null,i8**%g,align 8
%bL=load i8*,i8**@_SMLZN13LoadFileError23UnexpectedInterfaceDeclE,align 8
store i8*%bL,i8**%d,align 8
%bM=load i8*,i8**%bK,align 8
store i8*%bM,i8**%e,align 8
%bN=call i8*@sml_alloc(i32 inreg 28)#0
%bO=getelementptr inbounds i8,i8*%bN,i64 -4
%bP=bitcast i8*%bO to i32*
store i32 1342177304,i32*%bP,align 4
store i8*%bN,i8**%i,align 8
%bQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bR=bitcast i8*%bN to i8**
store i8*%bQ,i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bN,i64 8
%bT=bitcast i8*%bS to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@av,i64 0,i32 2,i64 0),i8**%bT,align 8
%bU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bV=getelementptr inbounds i8,i8*%bN,i64 16
%bW=bitcast i8*%bV to i8**
store i8*%bU,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bN,i64 24
%bY=bitcast i8*%bX to i32*
store i32 7,i32*%bY,align 4
%bZ=call i8*@sml_alloc(i32 inreg 20)#0
%b0=getelementptr inbounds i8,i8*%bZ,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177296,i32*%b1,align 4
%b2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b3=bitcast i8*%bZ to i8**
store i8*%b2,i8**%b3,align 8
%b4=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%b5=getelementptr inbounds i8,i8*%bZ,i64 8
%b6=bitcast i8*%b5 to i8**
store i8*%b4,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%bZ,i64 16
%b8=bitcast i8*%b7 to i32*
store i32 3,i32*%b8,align 4
store i8*null,i8**%g,align 8
%b9=call fastcc i8*@_SMLLN8LoadFile10raiseErrorE_290(i8*inreg%bZ)
unreachable
ca:
%cb=bitcast i8*%A to i8**
%cc=load i8*,i8**%cb,align 8
%cd=call fastcc i8*@_SMLFN8Filename7dirnameE(i8*inreg%cc)
store i8*%cd,i8**%d,align 8
%ce=bitcast i8**%e to i8***
%cf=load i8**,i8***%ce,align 8
store i8*null,i8**%e,align 8
%cg=load i8*,i8**%cf,align 8
%ch=call fastcc i8*@_SMLFN11RequirePath10toFilenameE(i8*inreg%cg)
store i8*%ch,i8**%e,align 8
%ci=call i8*@sml_alloc(i32 inreg 20)#0
%cj=getelementptr inbounds i8,i8*%ci,i64 -4
%ck=bitcast i8*%cj to i32*
store i32 1342177296,i32*%ck,align 4
%cl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cm=bitcast i8*%ci to i8**
store i8*%cl,i8**%cm,align 8
%cn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%co=getelementptr inbounds i8,i8*%ci,i64 8
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%ci,i64 16
%cr=bitcast i8*%cq to i32*
store i32 3,i32*%cr,align 4
%cs=call fastcc i8*@_SMLFN8Filename10concatPathE(i8*inreg%ci)
store i8*%cs,i8**%d,align 8
%ct=call i8*@sml_alloc(i32 inreg 20)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177296,i32*%cv,align 4
store i8*%ct,i8**%e,align 8
%cw=getelementptr inbounds i8,i8*%ct,i64 4
%cx=bitcast i8*%cw to i32*
store i32 0,i32*%cx,align 1
%cy=bitcast i8*%ct to i32*
store i32 1,i32*%cy,align 4
%cz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cA=getelementptr inbounds i8,i8*%ct,i64 8
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%ct,i64 16
%cD=bitcast i8*%cC to i32*
store i32 2,i32*%cD,align 4
%cE=call i8*@sml_alloc(i32 inreg 20)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177296,i32*%cG,align 4
store i8*%cE,i8**%g,align 8
%cH=bitcast i8*%cE to i64*
store i64 0,i64*%cH,align 4
%cI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cJ=getelementptr inbounds i8,i8*%cE,i64 8
%cK=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cE,i64 16
%cM=bitcast i8*%cL to i32*
store i32 2,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**%d,align 8
%cQ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cR=bitcast i8*%cN to i8**
store i8*%cQ,i8**%cR,align 8
%cS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cT=getelementptr inbounds i8,i8*%cN,i64 8
%cU=bitcast i8*%cT to i8**
store i8*%cS,i8**%cU,align 8
%cV=getelementptr inbounds i8,i8*%cN,i64 16
%cW=bitcast i8*%cV to i32*
store i32 3,i32*%cW,align 4
%cX=call i8*@sml_alloc(i32 inreg 12)#0
%cY=getelementptr inbounds i8,i8*%cX,i64 -4
%cZ=bitcast i8*%cY to i32*
store i32 1342177288,i32*%cZ,align 4
%c0=load i8*,i8**%d,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cX,i64 8
%c3=bitcast i8*%c2 to i32*
store i32 1,i32*%c3,align 4
br label%c4
c4:
%c5=phi i8*[null,%au],[%bx,%a1],[null,%aL],[%cX,%ca],[null,%V]
store i8*%c5,i8**%d,align 8
%c6=load i8*,i8**%k,align 8
%c7=icmp eq i8*%c6,null
br i1%c7,label%dw,label%c8
c8:
%c9=bitcast i8*%c6 to i8**
%da=load i8*,i8**%c9,align 8
%db=call fastcc i8*@_SMLFN8Filename7dirnameE(i8*inreg%da)
store i8*%db,i8**%e,align 8
%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**%f,align 8
%df=getelementptr inbounds i8,i8*%dc,i64 4
%dg=bitcast i8*%df to i32*
store i32 0,i32*%dg,align 1
%dh=bitcast i8*%dc to i32*
store i32 1,i32*%dh,align 4
%di=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dj=getelementptr inbounds i8,i8*%dc,i64 8
%dk=bitcast i8*%dj to i8**
store i8*%di,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dc,i64 16
%dm=bitcast i8*%dl to i32*
store i32 2,i32*%dm,align 4
%dn=call i8*@sml_alloc(i32 inreg 20)#0
%do=getelementptr inbounds i8,i8*%dn,i64 -4
%dp=bitcast i8*%do to i32*
store i32 1342177296,i32*%dp,align 4
%dq=bitcast i8*%dn to i64*
store i64 0,i64*%dq,align 4
%dr=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ds=getelementptr inbounds i8,i8*%dn,i64 8
%dt=bitcast i8*%ds to i8**
store i8*%dr,i8**%dt,align 8
%du=getelementptr inbounds i8,i8*%dn,i64 16
%dv=bitcast i8*%du to i32*
store i32 2,i32*%dv,align 4
br label%dw
dw:
%dx=phi i8*[%dn,%c8],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@aA,i64 0,i32 2)to i8*),%c4]
store i8*%dx,i8**%f,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
store i8*%dy,i8**%e,align 8
%dB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dC=bitcast i8*%dy to i8**
store i8*%dB,i8**%dC,align 8
%dD=load i8*,i8**%l,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
%dI=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dJ=getelementptr inbounds i8,i8*%dI,i64 16
%dK=bitcast i8*%dJ to i8*(i8*,i8*)**
%dL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dK,align 8
%dM=bitcast i8*%dI to i8**
%dN=load i8*,i8**%dM,align 8
%dO=load i8*,i8**@_SMLZN8Filename8realPathE,align 8
%dP=call fastcc i8*%dL(i8*inreg%dN,i8*inreg%dO)
%dQ=getelementptr inbounds i8,i8*%dP,i64 16
%dR=bitcast i8*%dQ to i8*(i8*,i8*)**
%dS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dR,align 8
%dT=bitcast i8*%dP to i8**
%dU=load i8*,i8**%dT,align 8
%dV=load i8*,i8**%k,align 8
%dW=call fastcc i8*%dS(i8*inreg%dU,i8*inreg%dV)
store i8*%dW,i8**%f,align 8
%dX=icmp eq i8*%dW,null
br i1%dX,label%dY,label%d3
dY:
%dZ=bitcast i8**%h to i8***
%d0=load i8**,i8***%dZ,align 8
%d1=load i8*,i8**%d0,align 8
%d2=bitcast i8**%d0 to i8*
br label%eh
d3:
%d4=bitcast i8*%dW to i8**
%d5=load i8*,i8**%d4,align 8
store i8*%d5,i8**%g,align 8
%d6=call i8*@sml_alloc(i32 inreg 20)#0
%d7=getelementptr inbounds i8,i8*%d6,i64 -4
%d8=bitcast i8*%d7 to i32*
store i32 1342177296,i32*%d8,align 4
%d9=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ea=bitcast i8*%d6 to i8**
store i8*%d9,i8**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d6,i64 8
%ec=bitcast i8*%eb to i8**
store i8*null,i8**%ec,align 8
%ed=getelementptr inbounds i8,i8*%d6,i64 16
%ee=bitcast i8*%ed to i32*
store i32 3,i32*%ee,align 4
%ef=call fastcc i8*@_SMLLN8LoadFile5Assoc9singletonE_353(i8*inreg%d6)
%eg=load i8*,i8**%h,align 8
br label%eh
eh:
%ei=phi i8*[%d2,%dY],[%eg,%d3]
%ej=phi i8*[%d1,%dY],[%ef,%d3]
store i8*null,i8**%h,align 8
%ek=getelementptr inbounds i8,i8*%ei,i64 16
%el=bitcast i8*%ek to i8**
%em=load i8*,i8**%el,align 8
%en=call fastcc i8*@_SMLLN8LoadFile20loadProvideInterfaceE_526(i8*inreg%em,i8*inreg%ej)
%eo=getelementptr inbounds i8,i8*%en,i64 16
%ep=bitcast i8*%eo to i8*(i8*,i8*)**
%eq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ep,align 8
%er=bitcast i8*%en to i8**
%es=load i8*,i8**%er,align 8
%et=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eu=call fastcc i8*%eq(i8*inreg%es,i8*inreg%et)
%ev=getelementptr inbounds i8,i8*%eu,i64 16
%ew=bitcast i8*%ev to i8*(i8*,i8*)**
%ex=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ew,align 8
%ey=bitcast i8*%eu to i8**
%ez=load i8*,i8**%ey,align 8
store i8*%ez,i8**%e,align 8
%eA=call i8*@sml_alloc(i32 inreg 4)#0
%eB=bitcast i8*%eA to i32*
%eC=getelementptr inbounds i8,i8*%eA,i64 -4
%eD=bitcast i8*%eC to i32*
store i32 4,i32*%eD,align 4
store i32%D,i32*%eB,align 4
%eE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eF=call fastcc i8*%ex(i8*inreg%eE,i8*inreg%eA)
%eG=getelementptr inbounds i8,i8*%eF,i64 16
%eH=bitcast i8*%eG to i8*(i8*,i8*)**
%eI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eH,align 8
%eJ=bitcast i8*%eF to i8**
%eK=load i8*,i8**%eJ,align 8
%eL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eM=call fastcc i8*%eI(i8*inreg%eK,i8*inreg%eL)
%eN=bitcast i8*%eM to i8**
%eO=load i8*,i8**%eN,align 8
store i8*%eO,i8**%d,align 8
%eP=getelementptr inbounds i8,i8*%eM,i64 8
%eQ=bitcast i8*%eP to i8**
%eR=load i8*,i8**%eQ,align 8
%eS=getelementptr inbounds i8,i8*%eR,i64 16
%eT=bitcast i8*%eS to i8**
%eU=load i8*,i8**%eT,align 8
store i8*%eU,i8**%e,align 8
%eV=getelementptr inbounds i8,i8*%eR,i64 24
%eW=bitcast i8*%eV to i8**
%eX=load i8*,i8**%eW,align 8
store i8*%eX,i8**%g,align 8
%eY=getelementptr inbounds i8,i8*%eR,i64 8
%eZ=bitcast i8*%eY to i8**
%e0=load i8*,i8**%eZ,align 8
store i8*%e0,i8**%h,align 8
%e1=bitcast i8*%eR to i8**
%e2=load i8*,i8**%e1,align 8
store i8*%e2,i8**%i,align 8
%e3=load i8*,i8**%f,align 8
%e4=icmp eq i8*%e3,null
br i1%e4,label%e5,label%e6
e5:
store i8*null,i8**%f,align 8
br label%fk
e6:
%e7=bitcast i8*%e3 to i8**
%e8=load i8*,i8**%e7,align 8
store i8*%e8,i8**%f,align 8
%e9=call i8*@sml_alloc(i32 inreg 20)#0
%fa=getelementptr inbounds i8,i8*%e9,i64 -4
%fb=bitcast i8*%fa to i32*
store i32 1342177296,i32*%fb,align 4
%fc=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fd=bitcast i8*%e9 to i8**
store i8*%fc,i8**%fd,align 8
%fe=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ff=getelementptr inbounds i8,i8*%e9,i64 8
%fg=bitcast i8*%ff to i8**
store i8*%fe,i8**%fg,align 8
%fh=getelementptr inbounds i8,i8*%e9,i64 16
%fi=bitcast i8*%fh to i32*
store i32 3,i32*%fi,align 4
%fj=call fastcc i8*@_SMLLN8LoadFile5Assoc6removeE_351(i8*inreg%e9)
store i8*%fj,i8**%d,align 8
br label%fk
fk:
%fl=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fm=getelementptr inbounds i8,i8*%fl,i64 16
%fn=bitcast i8*%fm to i8*(i8*,i8*)**
%fo=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fn,align 8
%fp=bitcast i8*%fl to i8**
%fq=load i8*,i8**%fp,align 8
store i8*%fq,i8**%f,align 8
%fr=call i8*@sml_alloc(i32 inreg 12)#0
%fs=getelementptr inbounds i8,i8*%fr,i64 -4
%ft=bitcast i8*%fs to i32*
store i32 1342177288,i32*%ft,align 4
store i8*%fr,i8**%n,align 8
%fu=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%fv=bitcast i8*%fr to i8**
store i8*%fu,i8**%fv,align 8
%fw=getelementptr inbounds i8,i8*%fr,i64 8
%fx=bitcast i8*%fw to i32*
store i32 1,i32*%fx,align 4
%fy=call i8*@sml_alloc(i32 inreg 28)#0
%fz=getelementptr inbounds i8,i8*%fy,i64 -4
%fA=bitcast i8*%fz to i32*
store i32 1342177304,i32*%fA,align 4
%fB=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%fC=bitcast i8*%fy to i8**
store i8*%fB,i8**%fC,align 8
%fD=getelementptr inbounds i8,i8*%fy,i64 8
%fE=bitcast i8*%fD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7smiEdge_539 to void(...)*),void(...)**%fE,align 8
%fF=getelementptr inbounds i8,i8*%fy,i64 16
%fG=bitcast i8*%fF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7smiEdge_539 to void(...)*),void(...)**%fG,align 8
%fH=getelementptr inbounds i8,i8*%fy,i64 24
%fI=bitcast i8*%fH to i32*
store i32 -2147483647,i32*%fI,align 4
%fJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fK=call fastcc i8*%fo(i8*inreg%fJ,i8*inreg%fy)
%fL=getelementptr inbounds i8,i8*%fK,i64 16
%fM=bitcast i8*%fL to i8*(i8*,i8*)**
%fN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fM,align 8
%fO=bitcast i8*%fK to i8**
%fP=load i8*,i8**%fO,align 8
%fQ=load i8*,i8**%e,align 8
%fR=call fastcc i8*%fN(i8*inreg%fP,i8*inreg%fQ)
store i8*%fR,i8**%f,align 8
%fS=load i8*,i8**%k,align 8
%fT=icmp eq i8*%fS,null
br i1%fT,label%gB,label%fU
fU:
%fV=load i8*,i8**%e,align 8
%fW=icmp eq i8*%fV,null
br i1%fW,label%fX,label%f2
fX:
%fY=load i8*,i8**@_SMLZN8Filename3Set5emptyE,align 8
store i8*%fY,i8**%e,align 8
%fZ=call i8*@sml_alloc(i32 inreg 12)#0
%f0=getelementptr inbounds i8,i8*%fZ,i64 -4
%f1=bitcast i8*%f0 to i32*
store i32 1342177288,i32*%f1,align 4
br label%gv
f2:
%f3=bitcast i8*%fV to i8**
%f4=load i8*,i8**%f3,align 8
store i8*%f4,i8**%e,align 8
%f5=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%f6=getelementptr inbounds i8,i8*%f5,i64 16
%f7=bitcast i8*%f6 to i8*(i8*,i8*)**
%f8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f7,align 8
%f9=bitcast i8*%f5 to i8**
%ga=load i8*,i8**%f9,align 8
%gb=call fastcc i8*%f8(i8*inreg%ga,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aw,i64 0,i32 2)to i8*))
%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
%gh=load i8*,i8**@_SMLZN8Filename3Set5emptyE,align 8
%gi=call fastcc i8*%ge(i8*inreg%gg,i8*inreg%gh)
%gj=getelementptr inbounds i8,i8*%gi,i64 16
%gk=bitcast i8*%gj to i8*(i8*,i8*)**
%gl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gk,align 8
%gm=bitcast i8*%gi to i8**
%gn=load i8*,i8**%gm,align 8
%go=bitcast i8**%e to i8***
%gp=load i8**,i8***%go,align 8
store i8*null,i8**%e,align 8
%gq=load i8*,i8**%gp,align 8
%gr=call fastcc i8*%gl(i8*inreg%gn,i8*inreg%gq)
store i8*%gr,i8**%e,align 8
%gs=call i8*@sml_alloc(i32 inreg 12)#0
%gt=getelementptr inbounds i8,i8*%gs,i64 -4
%gu=bitcast i8*%gt to i32*
store i32 1342177288,i32*%gu,align 4
br label%gv
gv:
%gw=phi i8*[%fZ,%fX],[%gs,%f2]
%gx=load i8*,i8**%e,align 8
%gy=bitcast i8*%gw to i8**
store i8*%gx,i8**%gy,align 8
%gz=getelementptr inbounds i8,i8*%gw,i64 8
%gA=bitcast i8*%gz to i32*
store i32 1,i32*%gA,align 4
br label%gB
gB:
%gC=phi i8*[null,%fk],[%gw,%gv]
store i8*%gC,i8**%e,align 8
%gD=call i8*@sml_alloc(i32 inreg 20)#0
%gE=getelementptr inbounds i8,i8*%gD,i64 -4
%gF=bitcast i8*%gE to i32*
store i32 1342177296,i32*%gF,align 4
%gG=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%gH=bitcast i8*%gD to i8**
store i8*%gG,i8**%gH,align 8
%gI=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%gJ=getelementptr inbounds i8,i8*%gD,i64 8
%gK=bitcast i8*%gJ to i8**
store i8*%gI,i8**%gK,align 8
%gL=getelementptr inbounds i8,i8*%gD,i64 16
%gM=bitcast i8*%gL to i32*
store i32 3,i32*%gM,align 4
%gN=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%gO=getelementptr inbounds i8,i8*%gN,i64 16
%gP=bitcast i8*%gO to i8**
%gQ=load i8*,i8**%gP,align 8
%gR=load i8*,i8**%d,align 8
%gS=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%gT=call fastcc i8*@_SMLLN8LoadFile11evalTopListE_441(i8*inreg%gR,i8*inreg%gD,i8*inreg%gS,i8*inreg%gQ)
store i8*%gT,i8**%j,align 8
%gU=getelementptr inbounds i8,i8*%gT,i64 8
%gV=bitcast i8*%gU to i8***
%gW=load i8**,i8***%gV,align 8
%gX=load i8*,i8**%gW,align 8
store i8*%gX,i8**%d,align 8
%gY=getelementptr inbounds i8*,i8**%gW,i64 1
%gZ=load i8*,i8**%gY,align 8
store i8*%gZ,i8**%e,align 8
%g0=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%g1=getelementptr inbounds i8,i8*%g0,i64 16
%g2=bitcast i8*%g1 to i8*(i8*,i8*)**
%g3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g2,align 8
%g4=bitcast i8*%g0 to i8**
%g5=load i8*,i8**%g4,align 8
%g6=call fastcc i8*%g3(i8*inreg%g5,i8*inreg 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*))
%g7=getelementptr inbounds i8,i8*%g6,i64 16
%g8=bitcast i8*%g7 to i8*(i8*,i8*)**
%g9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g8,align 8
%ha=bitcast i8*%g6 to i8**
%hb=load i8*,i8**%ha,align 8
%hc=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%hd=call fastcc i8*%g9(i8*inreg%hb,i8*inreg%hc)
store i8*%hd,i8**%i,align 8
%he=bitcast i8**%j to i8***
%hf=load i8**,i8***%he,align 8
store i8*null,i8**%j,align 8
%hg=load i8*,i8**%hf,align 8
%hh=call fastcc i8*@_SMLLN8LoadFile9listNodesE_535(i8*inreg%hg)
store i8*%hh,i8**%j,align 8
%hi=call i8*@sml_alloc(i32 inreg 20)#0
%hj=getelementptr inbounds i8,i8*%hi,i64 -4
%hk=bitcast i8*%hj to i32*
store i32 1342177296,i32*%hk,align 4
%hl=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hm=bitcast i8*%hi to i8**
store i8*%hl,i8**%hm,align 8
%hn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ho=getelementptr inbounds i8,i8*%hi,i64 8
%hp=bitcast i8*%ho to i8**
store i8*%hn,i8**%hp,align 8
%hq=getelementptr inbounds i8,i8*%hi,i64 16
%hr=bitcast i8*%hq to i32*
store i32 3,i32*%hr,align 4
%hs=call fastcc i8*@_SMLLN8LoadFile7consOptE_282(i8*inreg%hi)
store i8*%hs,i8**%d,align 8
%ht=call i8*@sml_alloc(i32 inreg 12)#0
%hu=getelementptr inbounds i8,i8*%ht,i64 -4
%hv=bitcast i8*%hu to i32*
store i32 1342177288,i32*%hv,align 4
store i8*%ht,i8**%k,align 8
%hw=load i8*,i8**%i,align 8
store i8*null,i8**%i,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 i32*
store i32 1,i32*%hz,align 4
%hA=call i8*@sml_alloc(i32 inreg 28)#0
%hB=getelementptr inbounds i8,i8*%hA,i64 -4
%hC=bitcast i8*%hB to i32*
store i32 1342177304,i32*%hC,align 4
store i8*%hA,i8**%f,align 8
%hD=getelementptr inbounds i8,i8*%hA,i64 20
%hE=bitcast i8*%hD to i32*
store i32 0,i32*%hE,align 1
%hF=load i8*,i8**%d,align 8
%hG=bitcast i8*%hA to i8**
store i8*null,i8**%d,align 8
store i8*%hF,i8**%hG,align 8
%hH=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%hI=getelementptr inbounds i8,i8*%hA,i64 8
%hJ=bitcast i8*%hI to i8**
store i8*%hH,i8**%hJ,align 8
%hK=getelementptr inbounds i8,i8*%hA,i64 16
%hL=bitcast i8*%hK to i32*
store i32%D,i32*%hL,align 4
%hM=getelementptr inbounds i8,i8*%hA,i64 24
%hN=bitcast i8*%hM to i32*
store i32 3,i32*%hN,align 4
%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**%d,align 8
%hR=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%hS=bitcast i8*%hO to i8**
store i8*%hR,i8**%hS,align 8
%hT=load i8*,i8**%f,align 8
store i8*null,i8**%f,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**%f,align 8
%h1=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%h2=bitcast i8*%hY to i8**
store i8*%h1,i8**%h2,align 8
%h3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%h4=getelementptr inbounds i8,i8*%hY,i64 8
%h5=bitcast i8*%h4 to i8**
store i8*%h3,i8**%h5,align 8
%h6=getelementptr inbounds i8,i8*%hY,i64 16
%h7=bitcast i8*%h6 to i32*
store i32 3,i32*%h7,align 4
%h8=call i8*@sml_alloc(i32 inreg 28)#0
%h9=getelementptr inbounds i8,i8*%h8,i64 -4
%ia=bitcast i8*%h9 to i32*
store i32 1342177304,i32*%ia,align 4
%ib=load i8*,i8**%d,align 8
%ic=bitcast i8*%h8 to i8**
store i8*%ib,i8**%ic,align 8
%id=load i8*,i8**%g,align 8
%ie=getelementptr inbounds i8,i8*%h8,i64 8
%if=bitcast i8*%ie to i8**
store i8*%id,i8**%if,align 8
%ig=load i8*,i8**%f,align 8
%ih=getelementptr inbounds i8,i8*%h8,i64 16
%ii=bitcast i8*%ih to i8**
store i8*%ig,i8**%ii,align 8
%ij=getelementptr inbounds i8,i8*%h8,i64 24
%ik=bitcast i8*%ij to i32*
store i32 7,i32*%ik,align 4
ret i8*%h8
}
define internal fastcc i8*@_SMLLN8LoadFile4loadE_545(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*)*@_SMLLN8LoadFile4loadE_544 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*)*@_SMLLN8LoadFile4loadE_544 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*@_SMLLN8LoadFile21loadInterfaceFileListE_547(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_549(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_546(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%d,i8*inreg%e)#2 gc"smlsharp"{
x:
%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**%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**%l,align 8
store i8*%b,i8**%f,align 8
store i8*%c,i8**%g,align 8
store i8*%e,i8**%h,align 8
%p=load atomic i32,i32*@sml_check_flag unordered,align 4
%q=icmp eq i32%p,0
br i1%q,label%v,label%r
r:
call void@sml_check(i32 inreg%p)
%s=load i8*,i8**%h,align 8
%t=load i8*,i8**%g,align 8
%u=load i8*,i8**%f,align 8
br label%v
v:
%w=phi i8*[%u,%r],[%b,%x]
%y=phi i8*[%t,%r],[%c,%x]
%z=phi i8*[%s,%r],[%e,%x]
store i8*%z,i8**%j,align 8
store i8*%y,i8**%k,align 8
store i8*%w,i8**%g,align 8
%A=icmp eq i8*%z,null
br i1%A,label%B,label%ab
B:
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%C=bitcast i8**%l to i8***
%D=load i8**,i8***%C,align 8
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%h,align 8
store i8*null,i8**%l,align 8
%F=load i8*,i8**%D,align 8
store i8*%F,i8**%i,align 8
%G=call i8*@sml_alloc(i32 inreg 36)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177312,i32*%I,align 4
store i8*%G,i8**%f,align 8
call void@llvm.memset.p0i8.i64(i8*%G,i8 0,i64 16,i1 false)
%J=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%K=getelementptr inbounds i8,i8*%G,i64 16
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%N=getelementptr inbounds i8,i8*%G,i64 24
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%G,i64 32
%Q=bitcast i8*%P to i32*
store i32 15,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 20)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177296,i32*%T,align 4
%U=load i8*,i8**%g,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%f,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%R,i64 16
%aa=bitcast i8*%Z to i32*
store i32 3,i32*%aa,align 4
ret i8*%R
ab:
%ac=bitcast i8*%z to i8**
%ad=load i8*,i8**%l,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%h,align 8
%ah=load i8*,i8**%ac,align 8
store i8*%ah,i8**%f,align 8
%ai=call i8*@sml_alloc(i32 inreg 20)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177296,i32*%ak,align 4
store i8*%ai,i8**%i,align 8
%al=bitcast i8*%ai to i64*
store i64 0,i64*%al,align 4
%am=load i8*,i8**%f,align 8
%an=getelementptr inbounds i8,i8*%ai,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ai,i64 16
%aq=bitcast i8*%ap to i32*
store i32 2,i32*%aq,align 4
%ar=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%ar,i8**%f,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**%i,align 8
store i8*null,i8**%i,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%aC=load i8*,i8**%k,align 8
%aD=load i8*,i8**%g,align 8
%aE=load i8*,i8**%h,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%aF=call fastcc i8*@_SMLLN8LoadFile11loadRequireE_470(i8*inreg%aE,i8*inreg%aD,i8*inreg%aC,i32 inreg%d,i8*inreg%as)
%aG=getelementptr inbounds i8,i8*%aF,i64 8
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,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**%f,align 8
%aM=getelementptr inbounds i8,i8*%aI,i64 16
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
store i8*%aO,i8**%g,align 8
%aP=getelementptr inbounds i8,i8*%aI,i64 32
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
store i8*%aR,i8**%h,align 8
%aS=getelementptr inbounds i8,i8*%aI,i64 40
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%i,align 8
%aV=bitcast i8*%aF to i8**
%aW=load i8*,i8**%aV,align 8
%aX=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=load i8*,i8**%k,align 8
%a2=load i8*,i8**%l,align 8
store i8*null,i8**%k,align 8
store i8*null,i8**%l,align 8
%a3=call fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_546(i8*inreg%a2,i8*inreg%aW,i8*inreg%a1,i32 inreg%d,i8*inreg%a0)
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%j,align 8
%a6=getelementptr inbounds i8,i8*%a3,i64 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=getelementptr inbounds i8,i8*%a8,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%k,align 8
%bc=bitcast i8*%a8 to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%l,align 8
%be=getelementptr inbounds i8,i8*%a8,i64 16
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%m,align 8
%bh=getelementptr inbounds i8,i8*%a8,i64 24
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%n,align 8
%bk=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ay,i64 0,i32 2)to i8*))
%bl=getelementptr inbounds i8,i8*%bk,i64 16
%bm=bitcast i8*%bl to i8*(i8*,i8*)**
%bn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bm,align 8
%bo=bitcast i8*%bk to i8**
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%o,align 8
%bq=call i8*@sml_alloc(i32 inreg 20)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177296,i32*%bs,align 4
%bt=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bq,i64 16
%bz=bitcast i8*%by to i32*
store i32 3,i32*%bz,align 4
%bA=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%bB=call fastcc i8*%bn(i8*inreg%bA,i8*inreg%bq)
store i8*%bB,i8**%h,align 8
%bC=call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_342(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@az,i64 0,i32 2)to i8*))
%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
store i8*%bH,i8**%m,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**%i,align 8
store i8*null,i8**%i,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=load i8*,i8**%n,align 8
store i8*null,i8**%n,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**%m,align 8
store i8*null,i8**%m,align 8
%bT=call fastcc i8*%bF(i8*inreg%bS,i8*inreg%bI)
store i8*%bT,i8**%i,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**%m,align 8
%bX=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bY=bitcast i8*%bU to i8**
store i8*%bX,i8**%bY,align 8
%bZ=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%b0=getelementptr inbounds i8,i8*%bU,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bU,i64 16
%b3=bitcast i8*%b2 to i32*
store i32 3,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
store i8*%b4,i8**%g,align 8
%b7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b4,i64 16
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
%ce=call i8*@sml_alloc(i32 inreg 36)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177312,i32*%cg,align 4
store i8*%ce,i8**%f,align 8
%ch=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=load i8*,i8**%g,align 8
store i8*null,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**%h,align 8
store i8*null,i8**%h,align 8
%cn=getelementptr inbounds i8,i8*%ce,i64 16
%co=bitcast i8*%cn to i8**
store i8*%cm,i8**%co,align 8
%cp=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cq=getelementptr inbounds i8,i8*%ce,i64 24
%cr=bitcast i8*%cq to i8**
store i8*%cp,i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%ce,i64 32
%ct=bitcast i8*%cs to i32*
store i32 15,i32*%ct,align 4
%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**%j,align 8
%cy=bitcast i8*%cu to i8**
store i8*%cx,i8**%cy,align 8
%cz=load i8*,i8**%f,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
ret i8*%cu
}
define internal fastcc i8*@_SMLL5edges_552(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
%d=bitcast i8*%a to i8**
%e=load i8*,i8**%d,align 8
store i8*%e,i8**%b,align 8
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%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=bitcast i8*%i to i64*
store i64 0,i64*%l,align 4
%m=load i8*,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=load i8*,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%i,i64 16
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%i,i64 24
%t=bitcast i8*%s to i32*
store i32 6,i32*%t,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLL13interfaceDecs_554(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=icmp eq i8*%a,null
br i1%c,label%y,label%d
d:
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=icmp eq i32%f,1
br i1%g,label%h,label%y
h:
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8***
%k=load i8**,i8***%j,align 8
%l=load i8*,i8**%k,align 8
%m=icmp eq i8*%l,null
br i1%m,label%y,label%n
n:
%o=bitcast i8*%l to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=call i8*@sml_alloc(i32 inreg 12)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177288,i32*%t,align 4
%u=load i8*,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 i32*
store i32 1,i32*%x,align 4
ret i8*%r
y:
ret i8*null
}
define internal fastcc i8*@_SMLLN8LoadFile18loadInterfaceFilesE_556(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=bitcast i8*%a to i32**
%d=load i32*,i32**%c,align 8
%e=load i32,i32*%d,align 4
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%b,align 8
%i=call i8*@sml_alloc(i32 inreg 20)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
store i32 0,i32*%n,align 1
store i32%e,i32*%j,align 4
%o=load i8*,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i8**
store i8*%o,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 16
%s=bitcast i8*%r to i32*
store i32 2,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN8LoadFile18loadInterfaceFilesE_558(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%e,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=getelementptr inbounds i8,i8*%m,i64 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
%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**%d,align 8
%w=getelementptr inbounds i8,i8*%m,i64 16
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=bitcast i8*%m to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%e,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=bitcast i8*%B to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@aA,i64 0,i32 2)to i8*),i8**%E,align 8
%F=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
%K=load i8*,i8**%c,align 8
%L=load i8*,i8**%f,align 8
%M=load i8*,i8**%e,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
%N=call fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_546(i8*inreg%L,i8*inreg%M,i8*inreg%B,i32 inreg%s,i8*inreg%K)
store i8*%N,i8**%e,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i8**
%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**%c,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%d,align 8
%W=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
%ac=call fastcc i8*%Z(i8*inreg%ab,i8*inreg 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*))
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%g,align 8
%ai=call fastcc i8*@_SMLFN8ListPair3zipE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%an,i8**%f,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
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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%az=call fastcc i8*%al(i8*inreg%ay,i8*inreg%ao)
%aA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aB=call fastcc i8*%af(i8*inreg%aA,i8*inreg%az)
store i8*%aB,i8**%c,align 8
%aC=bitcast i8**%e to i8***
%aD=load i8**,i8***%aC,align 8
%aE=load i8*,i8**%aD,align 8
%aF=call fastcc i8*@_SMLLN8LoadFile9listNodesE_535(i8*inreg%aE)
store i8*%aF,i8**%d,align 8
%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
store i8*%aG,i8**%f,align 8
%aJ=getelementptr inbounds i8,i8*%aG,i64 20
%aK=bitcast i8*%aJ to i32*
store i32 0,i32*%aK,align 1
%aL=load i8*,i8**%c,align 8
%aM=bitcast i8*%aG to i8**
store i8*null,i8**%c,align 8
store i8*%aL,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 8
%aO=bitcast i8*%aN to i8**
store i8*null,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 16
%aQ=bitcast i8*%aP to i32*
store i32%s,i32*%aQ,align 4
%aR=getelementptr inbounds i8,i8*%aG,i64 24
%aS=bitcast i8*%aR to i32*
store i32 3,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 20)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177296,i32*%aV,align 4
store i8*%aT,i8**%c,align 8
%aW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aZ=getelementptr inbounds i8,i8*%aT,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aT,i64 16
%a2=bitcast i8*%a1 to i32*
store i32 3,i32*%a2,align 4
%a3=call fastcc i8*@_SMLLN8LoadFile5Assoc14collectPartialE_340(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aC,i64 0,i32 2)to i8*))
%a4=getelementptr inbounds i8,i8*%a3,i64 16
%a5=bitcast i8*%a4 to i8*(i8*,i8*)**
%a6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a5,align 8
%a7=bitcast i8*%a3 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=load i8**,i8***%aC,align 8
%ba=load i8*,i8**%a9,align 8
%bb=call fastcc i8*%a6(i8*inreg%a8,i8*inreg%ba)
store i8*%bb,i8**%d,align 8
call fastcc void@_SMLLN8LoadFile20checkHashDuplicationE_510(i8*inreg%bb)
%bc=call fastcc i8*@_SMLLN8LoadFile5Assoc7collectE_338(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*))
%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**%e,align 8
%bj=getelementptr inbounds i8,i8*%bi,i64 8
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
%bm=getelementptr inbounds i8,i8*%bl,i64 16
%bn=bitcast i8*%bm to i8**
%bo=load i8*,i8**%bn,align 8
%bp=call fastcc i8*%bf(i8*inreg%bh,i8*inreg%bo)
store i8*%bp,i8**%f,align 8
%bq=call fastcc i8*@_SMLFN4List6concatE(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
store i8*%bv,i8**%g,align 8
%bw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bx=getelementptr inbounds i8,i8*%bw,i64 8
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
%bA=getelementptr inbounds i8,i8*%bz,i64 24
%bB=bitcast i8*%bA to i8**
%bC=load i8*,i8**%bB,align 8
%bD=call fastcc i8*@_SMLLN8LoadFile5Assoc9listItemsE_346(i8*inreg%bC)
%bE=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bF=call fastcc i8*%bt(i8*inreg%bE,i8*inreg%bD)
store i8*%bF,i8**%e,align 8
%bG=call i8*@sml_alloc(i32 inreg 28)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177304,i32*%bI,align 4
store i8*%bG,i8**%g,align 8
%bJ=load i8*,i8**%d,align 8
store i8*null,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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bP=getelementptr inbounds i8,i8*%bG,i64 16
%bQ=bitcast i8*%bP to i8**
store i8*%bO,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bG,i64 24
%bS=bitcast i8*%bR to i32*
store i32 7,i32*%bS,align 4
%bT=call i8*@sml_alloc(i32 inreg 20)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177296,i32*%bV,align 4
%bW=load i8*,i8**%c,align 8
%bX=bitcast i8*%bT to i8**
store i8*%bW,i8**%bX,align 8
%bY=load i8*,i8**%g,align 8
%bZ=getelementptr inbounds i8,i8*%bT,i64 8
%b0=bitcast i8*%bZ to i8**
store i8*%bY,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bT,i64 16
%b2=bitcast i8*%b1 to i32*
store i32 3,i32*%b2,align 4
ret i8*%bT
}
define internal fastcc i8*@_SMLLN8LoadFile18loadInterfaceFilesE_559(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*)*@_SMLLN8LoadFile18loadInterfaceFilesE_558 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*)*@_SMLLN8LoadFile18loadInterfaceFilesE_558 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*@_SMLLN8LoadFile15revisitEdgeListE_560(i8*inreg%a,i32 inreg%b,i32 inreg%c,i8*inreg%d)unnamed_addr#2 gc"smlsharp"{
s:
%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**%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**%k,align 8
%p=icmp eq i32%b,0
br label%q
q:
%r=phi i8*[%cr,%cn],[%d,%s]
store i8*%r,i8**%l,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**%l,align 8
br label%x
x:
%y=phi i8*[%w,%v],[%r,%q]
%z=icmp eq i8*%y,null
br i1%z,label%A,label%K
A:
store i8*null,i8**%l,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%k,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i8**
store i8*null,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to i32*
store i32 3,i32*%J,align 4
ret i8*%B
K:
%L=bitcast i8*%y to i8**
%M=load i8*,i8**%L,align 8
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=getelementptr inbounds i8,i8*%M,i64 16
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%n,align 8
switch i32%c,label%S[
i32 5,label%bE
i32 2,label%bl
i32 4,label%a2
i32 3,label%aJ
i32 1,label%ao
i32 0,label%ak
]
S:
store i8*null,i8**%l,align 8
store i8*null,i8**%n,align 8
call void@sml_matchcomp_bug()
%T=load i8*,i8**@_SMLZ5Match,align 8
store i8*%T,i8**%k,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**%l,align 8
%X=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@aH,i64 0,i32 2,i64 0),i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 60)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177336,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 56
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%l,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=call i8*@sml_alloc(i32 inreg 12)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
call void@llvm.memset.p0i8.i64(i8*%al,i8 0,i64 12,i1 false)
br label%cf
ao:
switch i32%O,label%ap[
i32 4,label%cs
i32 1,label%aI
i32 2,label%aH
i32 5,label%cB
i32 0,label%b6
i32 3,label%bX
]
ap:
store i8*null,i8**%l,align 8
store i8*null,i8**%n,align 8
call void@sml_matchcomp_bug()
%aq=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aq,i8**%k,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
store i8*%ar,i8**%l,align 8
%au=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ar,i64 8
%ax=bitcast i8*%aw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@aH,i64 0,i32 2,i64 0),i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=call i8*@sml_alloc(i32 inreg 60)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177336,i32*%aC,align 4
%aD=getelementptr inbounds i8,i8*%aA,i64 56
%aE=bitcast i8*%aD to i32*
store i32 1,i32*%aE,align 4
%aF=load i8*,i8**%l,align 8
%aG=bitcast i8*%aA to i8**
store i8*%aF,i8**%aG,align 8
call void@sml_raise(i8*inreg%aA)#1
unreachable
aH:
br i1%p,label%cn,label%cB
aI:
br i1%p,label%cn,label%cB
aJ:
switch i32%O,label%aK[
i32 4,label%cy
i32 1,label%cv
i32 2,label%cs
i32 5,label%cB
i32 0,label%b6
i32 3,label%bX
]
aK:
store i8*null,i8**%l,align 8
store i8*null,i8**%n,align 8
call void@sml_matchcomp_bug()
%aL=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aL,i8**%k,align 8
%aM=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
store i8*%aM,i8**%l,align 8
%aP=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@aH,i64 0,i32 2,i64 0),i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to i32*
store i32 3,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 60)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177336,i32*%aX,align 4
%aY=getelementptr inbounds i8,i8*%aV,i64 56
%aZ=bitcast i8*%aY to i32*
store i32 1,i32*%aZ,align 4
%a0=load i8*,i8**%l,align 8
%a1=bitcast i8*%aV to i8**
store i8*%a0,i8**%a1,align 8
call void@sml_raise(i8*inreg%aV)#1
unreachable
a2:
switch i32%O,label%a3[
i32 4,label%cs
i32 1,label%cB
i32 2,label%cn
i32 5,label%cn
i32 0,label%b6
i32 3,label%bX
]
a3:
store i8*null,i8**%l,align 8
store i8*null,i8**%n,align 8
call void@sml_matchcomp_bug()
%a4=load i8*,i8**@_SMLZ5Match,align 8
store i8*%a4,i8**%k,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
store i8*%a5,i8**%l,align 8
%a8=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%a9=bitcast i8*%a5 to i8**
store i8*%a8,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@aH,i64 0,i32 2,i64 0),i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=call i8*@sml_alloc(i32 inreg 60)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177336,i32*%bg,align 4
%bh=getelementptr inbounds i8,i8*%be,i64 56
%bi=bitcast i8*%bh to i32*
store i32 1,i32*%bi,align 4
%bj=load i8*,i8**%l,align 8
%bk=bitcast i8*%be to i8**
store i8*%bj,i8**%bk,align 8
call void@sml_raise(i8*inreg%be)#1
unreachable
bl:
switch i32%O,label%bm[
i32 4,label%cy
i32 1,label%cv
i32 2,label%cs
i32 5,label%cB
i32 0,label%b6
i32 3,label%bX
]
bm:
store i8*null,i8**%l,align 8
store i8*null,i8**%n,align 8
call void@sml_matchcomp_bug()
%bn=load i8*,i8**@_SMLZ5Match,align 8
store i8*%bn,i8**%k,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**%l,align 8
%br=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bo,i64 8
%bu=bitcast i8*%bt to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@aH,i64 0,i32 2,i64 0),i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bo,i64 16
%bw=bitcast i8*%bv to i32*
store i32 3,i32*%bw,align 4
%bx=call i8*@sml_alloc(i32 inreg 60)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177336,i32*%bz,align 4
%bA=getelementptr inbounds i8,i8*%bx,i64 56
%bB=bitcast i8*%bA to i32*
store i32 1,i32*%bB,align 4
%bC=load i8*,i8**%l,align 8
%bD=bitcast i8*%bx to i8**
store i8*%bC,i8**%bD,align 8
call void@sml_raise(i8*inreg%bx)#1
unreachable
bE:
switch i32%O,label%bF[
i32 4,label%cs
i32 1,label%cn
i32 2,label%cn
i32 5,label%cB
i32 0,label%b6
i32 3,label%bX
]
bF:
store i8*null,i8**%l,align 8
store i8*null,i8**%n,align 8
call void@sml_matchcomp_bug()
%bG=load i8*,i8**@_SMLZ5Match,align 8
store i8*%bG,i8**%k,align 8
%bH=call i8*@sml_alloc(i32 inreg 20)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177296,i32*%bJ,align 4
store i8*%bH,i8**%l,align 8
%bK=load i8*,i8**%k,align 8
store i8*null,i8**%k,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,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@aH,i64 0,i32 2,i64 0),i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bH,i64 16
%bP=bitcast i8*%bO to i32*
store i32 3,i32*%bP,align 4
%bQ=call i8*@sml_alloc(i32 inreg 60)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177336,i32*%bS,align 4
%bT=getelementptr inbounds i8,i8*%bQ,i64 56
%bU=bitcast i8*%bT to i32*
store i32 1,i32*%bU,align 4
%bV=load i8*,i8**%l,align 8
%bW=bitcast i8*%bQ to i8**
store i8*%bV,i8**%bW,align 8
call void@sml_raise(i8*inreg%bQ)#1
unreachable
bX:
%bY=call i8*@sml_alloc(i32 inreg 12)#0
%bZ=bitcast i8*%bY to i32*
%b0=getelementptr inbounds i8,i8*%bY,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177288,i32*%b1,align 4
%b2=getelementptr inbounds i8,i8*%bY,i64 4
%b3=bitcast i8*%b2 to i32*
store i32 0,i32*%b3,align 1
store i32%c,i32*%bZ,align 4
%b4=getelementptr inbounds i8,i8*%bY,i64 8
%b5=bitcast i8*%b4 to i32*
store i32 0,i32*%b5,align 4
br label%cf
b6:
%b7=call i8*@sml_alloc(i32 inreg 12)#0
%b8=bitcast i8*%b7 to i32*
%b9=getelementptr inbounds i8,i8*%b7,i64 -4
%ca=bitcast i8*%b9 to i32*
store i32 1342177288,i32*%ca,align 4
%cb=getelementptr inbounds i8,i8*%b7,i64 4
%cc=bitcast i8*%cb to i32*
store i32 0,i32*%cc,align 1
store i32%c,i32*%b8,align 4
%cd=getelementptr inbounds i8,i8*%b7,i64 8
%ce=bitcast i8*%cd to i32*
store i32 0,i32*%ce,align 4
br label%cf
cf:
%cg=phi i8*[%al,%ak],[%b7,%b6],[%bY,%bX]
%ch=icmp eq i8*%cg,null
br i1%ch,label%cl,label%ci
ci:
%cj=bitcast i8**%l to i8***
%ck=load i8**,i8***%cj,align 8
br label%cE
cl:
%cm=load i8*,i8**%l,align 8
br label%cn
cn:
%co=phi i8*[%cm,%cl],[%y,%aI],[%y,%aH],[%y,%bE],[%y,%bE],[%y,%a2],[%y,%a2]
store i8*null,i8**%n,align 8
store i8*null,i8**%l,align 8
%cp=getelementptr inbounds i8,i8*%co,i64 8
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
br label%q
cs:
%ct=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aG,i64 0,i32 2)to i8*),%ao],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%aJ],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aE,i64 0,i32 2)to i8*),%a2],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%bl],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%bE]
%cu=bitcast i8*%y to i8**
br label%cE
cv:
%cw=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%bl],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aE,i64 0,i32 2)to i8*),%aJ]
%cx=bitcast i8*%y to i8**
br label%cE
cy:
%cz=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%bl],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aE,i64 0,i32 2)to i8*),%aJ]
%cA=bitcast i8*%y to i8**
br label%cE
cB:
%cC=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aG,i64 0,i32 2)to i8*),%aH],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aG,i64 0,i32 2)to i8*),%aI],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aG,i64 0,i32 2)to i8*),%ao],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%aJ],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%bl],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aF,i64 0,i32 2)to i8*),%bE],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@aE,i64 0,i32 2)to i8*),%a2]
%cD=bitcast i8*%y to i8**
br label%cE
cE:
%cF=phi i8**[%cu,%cs],[%cx,%cv],[%cA,%cy],[%ck,%ci],[%cD,%cB]
%cG=phi i32[%O,%cs],[1,%cv],[4,%cy],[%O,%ci],[%O,%cB]
%cH=phi i8*[%ct,%cs],[%cw,%cv],[%cz,%cy],[%cg,%ci],[%cC,%cB]
%cI=bitcast i8*%cH to i32*
%cJ=load i32,i32*%cI,align 4
%cK=load i8*,i8**%cF,align 8
%cL=getelementptr inbounds i8,i8*%cK,i64 8
%cM=bitcast i8*%cL to i8**
%cN=load i8*,i8**%cM,align 8
%cO=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cP=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cP)
%cQ=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cQ)
%cR=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cR)
%cS=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cS)
%cT=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cT)
%cU=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%cU)
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*%cO,i8**%e,align 8
store i8*%cN,i8**%f,align 8
%cV=load atomic i32,i32*@sml_check_flag unordered,align 4
%cW=icmp eq i32%cV,0
br i1%cW,label%cZ,label%cX
cX:
call void@sml_check(i32 inreg%cV)
%cY=load i8*,i8**%f,align 8
br label%cZ
cZ:
%c0=phi i8*[%cY,%cX],[%cN,%cE]
%c1=getelementptr inbounds i8,i8*%c0,i64 16
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
%c4=getelementptr inbounds i8,i8*%c3,i64 8
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%g,align 8
%c7=call i8*@sml_alloc(i32 inreg 20)#0
%c8=getelementptr inbounds i8,i8*%c7,i64 -4
%c9=bitcast i8*%c8 to i32*
store i32 1342177296,i32*%c9,align 4
%da=load i8*,i8**%e,align 8
%db=bitcast i8*%c7 to i8**
store i8*%da,i8**%db,align 8
%dc=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dd=getelementptr inbounds i8,i8*%c7,i64 8
%de=bitcast i8*%dd to i8**
store i8*%dc,i8**%de,align 8
%df=getelementptr inbounds i8,i8*%c7,i64 16
%dg=bitcast i8*%df to i32*
store i32 3,i32*%dg,align 4
%dh=call fastcc i8*@_SMLLN8LoadFile5Assoc4findE_344(i8*inreg%c7)
%di=icmp eq i8*%dh,null
br i1%di,label%dj,label%en
dj:
%dk=load i8*,i8**%f,align 8
%dl=getelementptr inbounds i8,i8*%dk,i64 16
%dm=bitcast i8*%dl to i32**
%dn=load i32*,i32**%dm,align 8
%do=load i32,i32*%dn,align 4
%dp=bitcast i8*%dk to i8**
%dq=load i8*,i8**%dp,align 8
%dr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ds=call fastcc i8*@_SMLLN8LoadFile15revisitEdgeListE_560(i8*inreg%dr,i32 inreg%do,i32 inreg%cJ,i8*inreg%dq)
%dt=bitcast i8*%ds to i8**
%du=load i8*,i8**%dt,align 8
store i8*%du,i8**%e,align 8
%dv=getelementptr inbounds i8,i8*%ds,i64 8
%dw=bitcast i8*%dv to i8**
%dx=load i8*,i8**%dw,align 8
store i8*%dx,i8**%g,align 8
%dy=load i8*,i8**%f,align 8
%dz=getelementptr inbounds i8,i8*%dy,i64 8
%dA=bitcast i8*%dz to i8**
%dB=load i8*,i8**%dA,align 8
store i8*%dB,i8**%h,align 8
%dC=getelementptr inbounds i8,i8*%dy,i64 16
%dD=bitcast i8*%dC to i8**
%dE=load i8*,i8**%dD,align 8
store i8*%dE,i8**%i,align 8
%dF=call i8*@sml_alloc(i32 inreg 28)#0
%dG=getelementptr inbounds i8,i8*%dF,i64 -4
%dH=bitcast i8*%dG to i32*
store i32 1342177304,i32*%dH,align 4
store i8*%dF,i8**%j,align 8
%dI=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dJ=bitcast i8*%dF to i8**
store i8*%dI,i8**%dJ,align 8
%dK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dL=getelementptr inbounds i8,i8*%dF,i64 8
%dM=bitcast i8*%dL to i8**
store i8*%dK,i8**%dM,align 8
%dN=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dO=getelementptr inbounds i8,i8*%dF,i64 16
%dP=bitcast i8*%dO to i8**
store i8*%dN,i8**%dP,align 8
%dQ=getelementptr inbounds i8,i8*%dF,i64 24
%dR=bitcast i8*%dQ to i32*
store i32 7,i32*%dR,align 4
%dS=load i8*,i8**%f,align 8
%dT=getelementptr inbounds i8,i8*%dS,i64 16
%dU=bitcast i8*%dT to i8**
%dV=load i8*,i8**%dU,align 8
%dW=getelementptr inbounds i8,i8*%dV,i64 8
%dX=bitcast i8*%dW to i8**
%dY=load i8*,i8**%dX,align 8
store i8*%dY,i8**%f,align 8
%dZ=call i8*@sml_alloc(i32 inreg 28)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177304,i32*%d1,align 4
%d2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d3=bitcast i8*%dZ to i8**
store i8*%d2,i8**%d3,align 8
%d4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d5=getelementptr inbounds i8,i8*%dZ,i64 8
%d6=bitcast i8*%d5 to i8**
store i8*%d4,i8**%d6,align 8
%d7=load i8*,i8**%j,align 8
%d8=getelementptr inbounds i8,i8*%dZ,i64 16
%d9=bitcast i8*%d8 to i8**
store i8*%d7,i8**%d9,align 8
%ea=getelementptr inbounds i8,i8*%dZ,i64 24
%eb=bitcast i8*%ea to i32*
store i32 7,i32*%eb,align 4
%ec=call fastcc i8*@_SMLLN8LoadFile5Assoc6appendE_336(i8*inreg%dZ)
store i8*%ec,i8**%e,align 8
%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
%eg=load i8*,i8**%e,align 8
%eh=bitcast i8*%ed to i8**
store i8*%eg,i8**%eh,align 8
%ei=load i8*,i8**%j,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cP)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cQ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cR)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cS)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cU)
br label%eA
en:
%eo=bitcast i8*%dh to i8**
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%f,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
%et=load i8*,i8**%e,align 8
%eu=bitcast i8*%eq to i8**
store i8*%et,i8**%eu,align 8
%ev=load i8*,i8**%f,align 8
%ew=getelementptr inbounds i8,i8*%eq,i64 8
%ex=bitcast i8*%ew to i8**
store i8*%ev,i8**%ex,align 8
%ey=getelementptr inbounds i8,i8*%eq,i64 16
%ez=bitcast i8*%ey to i32*
store i32 3,i32*%ez,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cP)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cQ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cR)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cS)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%cU)
br label%eA
eA:
%eB=phi i8*[%eg,%dj],[%et,%en]
%eC=phi i8*[%ei,%dj],[%ev,%en]
store i8*%eC,i8**%k,align 8
%eD=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%eE=getelementptr inbounds i8,i8*%eD,i64 8
%eF=bitcast i8*%eE to i8**
%eG=load i8*,i8**%eF,align 8
%eH=call fastcc i8*@_SMLLN8LoadFile15revisitEdgeListE_560(i8*inreg%eB,i32 inreg%b,i32 inreg%c,i8*inreg%eG)
%eI=bitcast i8*%eH to i8**
%eJ=load i8*,i8**%eI,align 8
store i8*%eJ,i8**%l,align 8
%eK=getelementptr inbounds i8,i8*%eH,i64 8
%eL=bitcast i8*%eK to i8**
%eM=load i8*,i8**%eL,align 8
store i8*%eM,i8**%m,align 8
%eN=call i8*@sml_alloc(i32 inreg 28)#0
%eO=getelementptr inbounds i8,i8*%eN,i64 -4
%eP=bitcast i8*%eO to i32*
store i32 1342177304,i32*%eP,align 4
store i8*%eN,i8**%o,align 8
%eQ=getelementptr inbounds i8,i8*%eN,i64 4
%eR=bitcast i8*%eQ to i32*
store i32 0,i32*%eR,align 1
%eS=bitcast i8*%eN to i32*
store i32%cG,i32*%eS,align 4
%eT=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eU=getelementptr inbounds i8,i8*%eN,i64 8
%eV=bitcast i8*%eU to i8**
store i8*%eT,i8**%eV,align 8
%eW=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%eX=getelementptr inbounds i8,i8*%eN,i64 16
%eY=bitcast i8*%eX to i8**
store i8*%eW,i8**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eN,i64 24
%e0=bitcast i8*%eZ to i32*
store i32 6,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**%k,align 8
%e4=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%e5=bitcast i8*%e1 to i8**
store i8*%e4,i8**%e5,align 8
%e6=load i8*,i8**%m,align 8
store i8*null,i8**%m,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
%fe=load i8*,i8**%l,align 8
%ff=bitcast i8*%fb to i8**
store i8*%fe,i8**%ff,align 8
%fg=load i8*,i8**%k,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
ret i8*%fb
}
define internal fastcc i8*@_SMLLN8LoadFile7revisitE_608(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=icmp eq i8*%p,null
br i1%q,label%z,label%r
r:
%s=bitcast i8*%p to i8**
%t=load i8*,i8**%s,align 8
%u=icmp eq i8*%t,null
br i1%u,label%z,label%v
v:
%w=bitcast i8*%t to i32**
%x=load i32*,i32**%w,align 8
%y=load i32,i32*%x,align 4
br label%z
z:
%A=phi i32[1,%k],[%y,%v],[1,%r]
%B=bitcast i8**%d to i8***
%C=load i8**,i8***%B,align 8
store i8*null,i8**%d,align 8
%D=load i8*,i8**%C,align 8
%E=getelementptr inbounds i8,i8*%l,i64 16
%F=bitcast i8*%E to i32*
%G=load i32,i32*%F,align 4
%H=bitcast i8*%l to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*@_SMLLN8LoadFile15revisitEdgeListE_560(i8*inreg%D,i32 inreg%A,i32 inreg%G,i8*inreg%I)
store i8*%J,i8**%d,align 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*@_SMLLN8LoadFile5Assoc9listItemsE_346(i8*inreg%L)
store i8*%M,i8**%e,align 8
%N=load i8*,i8**%d,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%d,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**%f,align 8
store i8*null,i8**%c,align 8
%V=getelementptr inbounds i8,i8*%R,i64 16
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=call i8*@sml_alloc(i32 inreg 28)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177304,i32*%aa,align 4
store i8*%Y,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%Y,i64 20
%ac=bitcast i8*%ab to i32*
store i32 0,i32*%ac,align 1
%ad=bitcast i8*%Y to i8**
%ae=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
store i8*%ae,i8**%ad,align 8
%af=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ag=getelementptr inbounds i8,i8*%Y,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%Y,i64 16
%aj=bitcast i8*%ai to i32*
store i32%X,i32*%aj,align 4
%ak=getelementptr inbounds i8,i8*%Y,i64 24
%al=bitcast i8*%ak to i32*
store i32 3,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177296,i32*%ao,align 4
%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
ret i8*%am
}
define fastcc i8*@_SMLFN8LoadFile4loadE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 0)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN8LoadFile4loadE_545(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i8*@_SMLFN8LoadFile18loadInterfaceFilesE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 1)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN8LoadFile18loadInterfaceFilesE_559(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i8*@_SMLFN8LoadFile7revisitE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[3x i8*]}>,<{[4x i8],i32,[3x i8*]}>*@_SML_gvarfa08e3523bacf9b8_LoadFile,i64 0,i32 2,i64 2)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN8LoadFile7revisitE_608(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define internal fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_619(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN8LoadFile5Assoc10concatWithE_310(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN8LoadFile8openPathE_635(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=icmp eq i32%d,0
%f=zext i1%e to i32
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLLN8LoadFile8parseSmiE_638(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN8LoadFile8parseSmiE_384(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile18evalRequireOptionsE_652(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN8LoadFile18evalRequireOptionsE_461(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL5inits_653(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5inits_464(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL4hash_657(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL4hash_484(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL3dec_658(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL3dec_486(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL5edges_659(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5edges_488(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_660(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_493(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_661(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_662(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_663(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_664(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_665(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_666(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile12evalIrequireE_667(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#2 gc"smlsharp"{
%f=bitcast i8*%d to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN8LoadFile12evalIrequireE_469(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%g,i8*inreg%e)
ret i8*%h
}
define internal fastcc i8*@_SMLLN8LoadFile11loadRequireE_668(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#2 gc"smlsharp"{
%f=bitcast i8*%d to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN8LoadFile11loadRequireE_470(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%g,i8*inreg%e)
ret i8*%h
}
define internal fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_669(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#2 gc"smlsharp"{
%f=bitcast i8*%d to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN8LoadFile16evalIrequireListE_471(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%g,i8*inreg%e)
ret i8*%h
}
define internal fastcc i8*@_SMLLN8LoadFile15loadRequireListE_670(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#2 gc"smlsharp"{
%f=bitcast i8*%d to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN8LoadFile15loadRequireListE_472(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%g,i8*inreg%e)
ret i8*%h
}
define internal fastcc i8*@_SMLLN8LoadFile20checkHashDuplicationE_671(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN8LoadFile20checkHashDuplicationE_508(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL14initRequisites_673(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL14initRequisites_512(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL18locallyRequiredIds_674(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL18locallyRequiredIds_514(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL8requires_675(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL8requires_516(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL18locallyRequiredIds_676(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL18locallyRequiredIds_518(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLL13interfaceDecs_677(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL13interfaceDecs_519(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN8LoadFile20loadProvideInterfaceE_678(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN8LoadFile20loadProvideInterfaceE_524(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile9listNodesE_680(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN8LoadFile9listNodesE_533(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL8allowUse_682(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL8allowUse_540(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL6source_683(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL6source_542(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_684(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_685(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_686(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#2 gc"smlsharp"{
%f=bitcast i8*%d to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN8LoadFile21loadInterfaceFileListE_546(i8*inreg%a,i8*inreg%b,i8*inreg%c,i32 inreg%g,i8*inreg%e)
ret i8*%h
}
define internal fastcc i8*@_SMLL5edges_687(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5edges_552(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL13interfaceDecs_688(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL13interfaceDecs_554(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN8LoadFile18loadInterfaceFilesE_689(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN8LoadFile18loadInterfaceFilesE_556(i8*inreg%b)
ret i8*%c
}
declare void@llvm.memset.p0i8.i64(i8*,i8,i64,i1)#0
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
attributes#5={noreturn uwtable}
