@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN1__24SMLSharp__SMLNJ__OS__PathFnE=external local_unnamed_addr global i8*
@_SMLZ9Subscript=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[29x i8]}><{[4x i8]zeroinitializer,i32 -2147483619,[29x i8]c"SMLSharp_SMLNJ_PathBase.Path\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[29x i8]}>,<{[4x i8],i32,[29x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL49=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i32 0,i32 0,i32 0),i32 8)}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[45x i8]}><{[4x i8]zeroinitializer,i32 -2147483603,[45x i8]c"src/smlnj/Basis/Unix/os-path.sml:70.29(2079)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[45x i8]}><{[4x i8]zeroinitializer,i32 -2147483603,[45x i8]c"src/smlnj/Basis/Unix/os-path.sml:76.30(2371)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL49,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[45x i8]}>,<{[4x i8],i32,[45x i8]}>*@e,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"/\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN23SMLSharp__SMLNJ__PathBase11joinVolPathE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase11joinVolPathE_113 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLL62 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL114 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLL66 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL115 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLLL68 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL116 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLL70 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL117 to void(...)*),i32 -2147483647}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLL72 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL118 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN23SMLSharp__SMLNJ__PathBase4PathE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL49,i64 0,i32 2)to i8*)
@n=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
@o=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
@p=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 3,[4x i8]zeroinitializer,i32 0}>,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*)*@_SMLFN23SMLSharp__SMLNJ__PathBase8classifyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase8classifyE_119 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN23SMLSharp__SMLNJ__PathBase8classifyE=local_unnamed_addr constant 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*)
@r=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c"..\00"}>,align 8
@_SMLZN23SMLSharp__SMLNJ__PathBase9parentArcE=local_unnamed_addr constant i8*getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@r,i64 0,i32 2,i64 0)
@s=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c".\00"}>,align 8
@_SMLZN23SMLSharp__SMLNJ__PathBase10currentArcE=local_unnamed_addr constant i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@s,i64 0,i32 2,i64 0)
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLLN23SMLSharp__SMLNJ__PathBase8validArcE_81 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase8validArcE_120 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN23SMLSharp__SMLNJ__PathBase8validArcE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase8validArcE_121 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN23SMLSharp__SMLNJ__PathBase8validArcE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*)
@v=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN23SMLSharp__SMLNJ__PathBase11validVolumeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase11validVolumeE_122 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN23SMLSharp__SMLNJ__PathBase11validVolumeE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@v,i64 0,i32 2)to i8*)
@_SMLZN23SMLSharp__SMLNJ__PathBase11joinVolPathE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*)
@_SMLZN23SMLSharp__SMLNJ__PathBase10arcSepCharE=local_unnamed_addr constant i8 47
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN23SMLSharp__SMLNJ__PathBase7sameVolE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase7sameVolE_124 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN23SMLSharp__SMLNJ__PathBase7sameVolE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*)
@_SML_gvard140b1de0a56705c_os_path=private global<{[4x i8],i32,[28x i8*]}><{[4x i8]zeroinitializer,i32 -1342177056,[28x i8*]zeroinitializer}>,align 8
@x=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@x to i64))]
@_SML_ftabd140b1de0a56705c_os_path=external global i8
@y=private unnamed_addr global i8 0
@_SMLZN23SMLSharp__SMLNJ__PathBase12splitVolPathE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 0)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10InvalidArcE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 1)
@_SMLZN22SMLSharp__SMLNJ__OS__Path4PathE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 2)
@_SMLZN22SMLSharp__SMLNJ__OS__Path4baseE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 3)
@_SMLZN22SMLSharp__SMLNJ__OS__Path6concatE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 4)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10currentArcE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 5)
@_SMLZN22SMLSharp__SMLNJ__OS__Path3dirE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 6)
@_SMLZN22SMLSharp__SMLNJ__OS__Path3extE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 7)
@_SMLZN22SMLSharp__SMLNJ__OS__Path4fileE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 8)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10fromStringE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 9)
@_SMLZN22SMLSharp__SMLNJ__OS__Path12fromUnixPathE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 10)
@_SMLZN22SMLSharp__SMLNJ__OS__Path9getParentE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 11)
@_SMLZN22SMLSharp__SMLNJ__OS__Path9getVolumeE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 12)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10isAbsoluteE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 13)
@_SMLZN22SMLSharp__SMLNJ__OS__Path11isCanonicalE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 14)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10isRelativeE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 15)
@_SMLZN22SMLSharp__SMLNJ__OS__Path6isRootE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 16)
@_SMLZN22SMLSharp__SMLNJ__OS__Path11joinBaseExtE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 17)
@_SMLZN22SMLSharp__SMLNJ__OS__Path11joinDirFileE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 18)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10mkAbsoluteE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 19)
@_SMLZN22SMLSharp__SMLNJ__OS__Path11mkCanonicalE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 20)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10mkRelativeE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 21)
@_SMLZN22SMLSharp__SMLNJ__OS__Path9parentArcE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 22)
@_SMLZN22SMLSharp__SMLNJ__OS__Path12splitBaseExtE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 23)
@_SMLZN22SMLSharp__SMLNJ__OS__Path12splitDirFileE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 24)
@_SMLZN22SMLSharp__SMLNJ__OS__Path8toStringE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 25)
@_SMLZN22SMLSharp__SMLNJ__OS__Path10toUnixPathE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 26)
@_SMLZN22SMLSharp__SMLNJ__OS__Path11validVolumeE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i32 0,i32 2,i32 27)
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 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*@_SMLFN10CharVector3allE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring4fullE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9Substring5trimlE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN9Substring7isEmptyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main145db56e6796da5b_Substring()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina86fb7da431cf755_os_path_fn()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load145db56e6796da5b_Substring(i8*)local_unnamed_addr
declare void@_SML_loada86fb7da431cf755_os_path_fn(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
define private void@_SML_tabbd140b1de0a56705c_os_path()#3{
unreachable
}
define void@_SML_loadd140b1de0a56705c_os_path(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@y,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@y,align 1
tail call void@_SML_load145db56e6796da5b_Substring(i8*%a)#0
tail call void@_SML_loada86fb7da431cf755_os_path_fn(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbd140b1de0a56705c_os_path,i8*@_SML_ftabd140b1de0a56705c_os_path,i8*bitcast([2x i64]*@x to i8*))#0
ret void
}
define void@_SML_maind140b1de0a56705c_os_path()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=load i8,i8*@y,align 1
%f=and i8%e,2
%g=icmp eq i8%f,0
br i1%g,label%i,label%h
h:
ret void
i:
store i8 3,i8*@y,align 1
tail call void@_SML_main145db56e6796da5b_Substring()#2
tail call void@_SML_maina86fb7da431cf755_os_path_fn()#2
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main1ef93e13728790b1_String()#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
%j=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%j)#0
%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:
invoke void@sml_check(i32 inreg%k)
to label%n unwind label%bo
n:
%o=invoke fastcc i8*@_SMLFN9Substring4fullE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@c,i64 0,i32 2,i64 0))
to label%p unwind label%bo
p:
store i8*%o,i8**%b,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**%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 i32*
store i32 1,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 28)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177304,i32*%z,align 4
store i8*%x,i8**%d,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase12splitVolPathE_52 to void(...)*),void(...)**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN23SMLSharp__SMLNJ__PathBase12splitVolPathE_52 to void(...)*),void(...)**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 24
%H=bitcast i8*%G to i32*
store i32 -2147483647,i32*%H,align 4
%I=load i8*,i8**@_SMLZN1__24SMLSharp__SMLNJ__OS__PathFnE,align 8
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*)**
%L=load i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*)*,i8*(i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%b,align 8
%O=call i8*@sml_alloc(i32 inreg 1)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1,i32*%Q,align 4
store i8 47,i8*%O,align 1
%R=load i8*,i8**%b,align 8
%S=load i8*,i8**%d,align 8
store i8*null,i8**%b,align 8
%T=invoke fastcc i8*%L(i8*inreg%R,i8*inreg%O,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*),i8*inreg getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@s,i64 0,i32 2,i64 0),i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*),i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@r,i64 0,i32 2,i64 0),i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*),i8*inreg%S,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@l,i64 0,i32 2)to i8*),i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*),i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL49,i64 0,i32 2)to i8*))
to label%U unwind label%bo
U:
%V=bitcast i8*%T to i8**
%W=load i8*,i8**%V,align 8
%X=getelementptr inbounds i8,i8*%T,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
%aa=load i8*,i8**%d,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0),i8*inreg%aa)#0
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 1),i8*inreg%W)#0
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 2),i8*inreg%Z)#0
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 3),i8*inreg%ad)#0
%ae=getelementptr inbounds i8,i8*%T,i64 24
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 4),i8*inreg%ag)#0
%ah=getelementptr inbounds i8,i8*%T,i64 32
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 5),i8*inreg%aj)#0
%ak=getelementptr inbounds i8,i8*%T,i64 40
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 6),i8*inreg%am)#0
%an=getelementptr inbounds i8,i8*%T,i64 48
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 7),i8*inreg%ap)#0
%aq=getelementptr inbounds i8,i8*%T,i64 56
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 8),i8*inreg%as)#0
%at=getelementptr inbounds i8,i8*%T,i64 64
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 9),i8*inreg%av)#0
%aw=getelementptr inbounds i8,i8*%T,i64 72
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 10),i8*inreg%ay)#0
%az=getelementptr inbounds i8,i8*%T,i64 80
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 11),i8*inreg%aB)#0
%aC=getelementptr inbounds i8,i8*%T,i64 88
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 12),i8*inreg%aE)#0
%aF=getelementptr inbounds i8,i8*%T,i64 96
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 13),i8*inreg%aH)#0
%aI=getelementptr inbounds i8,i8*%T,i64 104
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 14),i8*inreg%aK)#0
%aL=getelementptr inbounds i8,i8*%T,i64 112
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 15),i8*inreg%aN)#0
%aO=getelementptr inbounds i8,i8*%T,i64 120
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 16),i8*inreg%aQ)#0
%aR=getelementptr inbounds i8,i8*%T,i64 128
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 17),i8*inreg%aT)#0
%aU=getelementptr inbounds i8,i8*%T,i64 136
%aV=bitcast i8*%aU to i8**
%aW=load i8*,i8**%aV,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 18),i8*inreg%aW)#0
%aX=getelementptr inbounds i8,i8*%T,i64 144
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 19),i8*inreg%aZ)#0
%a0=getelementptr inbounds i8,i8*%T,i64 152
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 20),i8*inreg%a2)#0
%a3=getelementptr inbounds i8,i8*%T,i64 160
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 21),i8*inreg%a5)#0
%a6=getelementptr inbounds i8,i8*%T,i64 168
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 22),i8*inreg%a8)#0
%a9=getelementptr inbounds i8,i8*%T,i64 176
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 23),i8*inreg%bb)#0
%bc=getelementptr inbounds i8,i8*%T,i64 184
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 24),i8*inreg%be)#0
%bf=getelementptr inbounds i8,i8*%T,i64 192
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 25),i8*inreg%bh)#0
%bi=getelementptr inbounds i8,i8*%T,i64 200
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 26),i8*inreg%bk)#0
%bl=getelementptr inbounds i8,i8*%T,i64 208
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 27),i8*inreg%bn)#0
call void@sml_end()#0
ret void
bo:
%bp=landingpad{i8*,i8*}
cleanup
%bq=extractvalue{i8*,i8*}%bp,1
call void@sml_save_exn(i8*inreg%bq)#0
call void@sml_end()#0
resume{i8*,i8*}%bp
}
define internal fastcc i8*@_SMLLN23SMLSharp__SMLNJ__PathBase12splitVolPathE_52(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%b to i32*
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%c to i32**
%l=load i32*,i32**%k,align 8
%m=bitcast i32*%l to i8*
br label%n
n:
%o=phi i8*[%m,%j],[%b,%h]
%p=phi i32*[%l,%j],[%i,%h]
%q=getelementptr inbounds i32,i32*%p,i64 -1
%r=load i32,i32*%q,align 4
%s=and i32%r,268435454
%t=icmp eq i32%s,0
br i1%t,label%x,label%u
u:
%v=load i8,i8*%o,align 1
%w=icmp eq i8%v,47
br i1%w,label%P,label%ar
x:
store i8*null,i8**%d,align 8
%y=load i8*,i8**@_SMLZ9Subscript,align 8
store i8*%y,i8**%c,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[45x i8]}>,<{[4x i8],i32,[45x i8]}>*@d,i64 0,i32 2,i64 0),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 60)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177336,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%I,i64 56
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%d,align 8
%O=bitcast i8*%I to i8**
store i8*%N,i8**%O,align 8
call void@sml_raise(i8*inreg%I)#1
unreachable
P:
%Q=call fastcc i8*@_SMLFN9Substring5trimlE(i32 inreg 1)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%W)
%Y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Z=call fastcc i8*%T(i8*inreg%Y,i8*inreg%X)
store i8*%Z,i8**%c,align 8
%aa=bitcast i8**%d to i8***
%ab=load i8**,i8***%aa,align 8
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%d,align 8
%ad=call i8*@sml_alloc(i32 inreg 28)#0
%ae=bitcast i8*%ad to i32*
%af=getelementptr inbounds i8,i8*%ad,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177304,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ad,i64 4
%ai=bitcast i8*%ah to i32*
store i32 0,i32*%ai,align 1
store i32 1,i32*%ae,align 4
%aj=load i8*,i8**%d,align 8
%ak=getelementptr inbounds i8,i8*%ad,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=load i8*,i8**%c,align 8
%an=getelementptr inbounds i8,i8*%ad,i64 16
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ad,i64 24
%aq=bitcast i8*%ap to i32*
store i32 6,i32*%aq,align 4
ret i8*%ad
ar:
store i8*null,i8**%c,align 8
%as=call fastcc i8*@_SMLFN9Substring4fullE(i8*inreg%o)
store i8*%as,i8**%c,align 8
%at=bitcast i8**%d to i8***
%au=load i8**,i8***%at,align 8
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%d,align 8
%aw=call i8*@sml_alloc(i32 inreg 28)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177304,i32*%ay,align 4
%az=bitcast i8*%aw to i64*
store i64 0,i64*%az,align 4
%aA=load i8*,i8**%d,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to i8**
store i8*%aA,i8**%aC,align 8
%aD=load i8*,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%aw,i64 16
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aw,i64 24
%aH=bitcast i8*%aG to i32*
store i32 6,i32*%aH,align 4
ret i8*%aw
}
define fastcc i8*@_SMLFN23SMLSharp__SMLNJ__PathBase11joinVolPathE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i32*
%k=load i32,i32*%j,align 4
%l=icmp eq i32%k,0
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32**
%o=load i32*,i32**%n,align 8
%p=getelementptr inbounds i32,i32*%o,i64 -1
%q=load i32,i32*%p,align 4
%r=and i32%q,268435455
%s=icmp eq i32%r,1
br i1%l,label%P,label%t
t:
br i1%s,label%u,label%U
u:
%v=getelementptr inbounds i8,i8*%h,i64 16
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%b,align 8
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=and i32%A,268435455
%C=icmp eq i32%B,1
br i1%C,label%D,label%E
D:
ret i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@g,i64 0,i32 2,i64 0)
E:
%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=bitcast i8*%F to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@g,i64 0,i32 2,i64 0),i8**%I,align 8
%J=load i8*,i8**%b,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%F)
ret i8*%O
P:
br i1%s,label%Q,label%U
Q:
%R=getelementptr inbounds i8,i8*%h,i64 16
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
ret i8*%T
U:
%V=call i8*@sml_alloc(i32 inreg 60)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177336,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%V,i64 56
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
%aa=bitcast i8*%V to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@f,i64 0,i32 2)to i8*),i8**%aa,align 8
call void@sml_raise(i8*inreg%V)#1
unreachable
}
define internal fastcc i8*@_SMLLL62(i8*inreg%a)#4 gc"smlsharp"{
p:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=getelementptr inbounds i8,i8*%a,i64 -4
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%f=trunc i32%e to i28
switch i28%f,label%t[
i28 1,label%n
i28 2,label%q
i28 3,label%g
]
g:
%h=load i8,i8*%a,align 1
%i=icmp eq i8%h,46
br i1%i,label%j,label%t
j:
%k=getelementptr inbounds i8,i8*%a,i64 1
%l=load i8,i8*%k,align 1
%m=icmp eq i8%l,46
br i1%m,label%n,label%t
n:
%o=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@p,i64 0,i32 2)to i8*),%j],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@o,i64 0,i32 2)to i8*),%q],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@n,i64 0,i32 2)to i8*),%p]
ret i8*%o
q:
%r=load i8,i8*%a,align 1
%s=icmp eq i8%r,46
br i1%s,label%n,label%t
t:
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
%x=bitcast i8*%u to i64*
store i64 0,i64*%x,align 4
%y=load i8*,i8**%b,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 2,i32*%C,align 4
ret i8*%u
}
define internal fastcc i32@_SMLLL66(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
%d=getelementptr inbounds i8,i8*%a,i64 8
%e=bitcast i8*%d to i8**
%f=load i8*,i8**%e,align 8
%g=tail call i32@sml_obj_equal(i8*inreg%c,i8*inreg%f)#0
ret i32%g
}
define internal fastcc i32@_SMLLL68(i8 inreg%a)#4 gc"smlsharp"{
d:
switch i8%a,label%b[
i8 0,label%f
i8 47,label%e
]
b:
%c=phi i32[1,%d],[0,%e],[0,%f]
ret i32%c
e:
br label%b
f:
br label%b
}
define internal fastcc i32@_SMLLL70(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN10CharVector3allE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*))
%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
store i8*null,i8**%b,align 8
%n=call fastcc i8*%j(i8*inreg%l,i8*inreg%m)
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
ret i32%p
}
define internal fastcc i32@_SMLLL72(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=getelementptr inbounds i8,i8*%h,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
%m=tail call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%l)
ret i32%m
}
define fastcc i8*@_SMLFN23SMLSharp__SMLNJ__PathBase8classifyE(i8*inreg%a)#4 gc"smlsharp"{
p:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=getelementptr inbounds i8,i8*%a,i64 -4
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%f=trunc i32%e to i28
switch i28%f,label%t[
i28 1,label%n
i28 2,label%q
i28 3,label%g
]
g:
%h=load i8,i8*%a,align 1
%i=icmp eq i8%h,46
br i1%i,label%j,label%t
j:
%k=getelementptr inbounds i8,i8*%a,i64 1
%l=load i8,i8*%k,align 1
%m=icmp eq i8%l,46
br i1%m,label%n,label%t
n:
%o=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@p,i64 0,i32 2)to i8*),%j],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@o,i64 0,i32 2)to i8*),%q],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@n,i64 0,i32 2)to i8*),%p]
ret i8*%o
q:
%r=load i8,i8*%a,align 1
%s=icmp eq i8%r,46
br i1%s,label%n,label%t
t:
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
%x=bitcast i8*%u to i64*
store i64 0,i64*%x,align 4
%y=load i8*,i8**%b,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 2,i32*%C,align 4
ret i8*%u
}
define internal fastcc i32@_SMLLN23SMLSharp__SMLNJ__PathBase8validArcE_81(i8 inreg%a)#4 gc"smlsharp"{
d:
switch i8%a,label%b[
i8 0,label%f
i8 47,label%e
]
b:
%c=phi i32[1,%d],[0,%e],[0,%f]
ret i32%c
e:
br label%b
f:
br label%b
}
define fastcc i32@_SMLFN23SMLSharp__SMLNJ__PathBase8validArcE(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN10CharVector3allE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*))
%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
store i8*null,i8**%b,align 8
%n=call fastcc i8*%j(i8*inreg%l,i8*inreg%m)
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
ret i32%p
}
define fastcc i32@_SMLFN23SMLSharp__SMLNJ__PathBase11validVolumeE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=getelementptr inbounds i8,i8*%h,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
%m=tail call fastcc i32@_SMLFN9Substring7isEmptyE(i8*inreg%l)
ret i32%m
}
define fastcc i8*@_SMLFN23SMLSharp__SMLNJ__PathBase12splitVolPathE(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,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 0)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLN23SMLSharp__SMLNJ__PathBase12splitVolPathE_52(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define fastcc i32@_SMLFN23SMLSharp__SMLNJ__PathBase7sameVolE(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
%d=getelementptr inbounds i8,i8*%a,i64 8
%e=bitcast i8*%d to i8**
%f=load i8*,i8**%e,align 8
%g=tail call i32@sml_obj_equal(i8*inreg%c,i8*inreg%f)#0
ret i32%g
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path4baseE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 3),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path6concatE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 4),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path3dirE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 6),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path3extE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 7),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path4fileE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 8),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path10fromStringE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 9),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path12fromUnixPathE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 10),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path9getParentE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 11),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path9getVolumeE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 12),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i32@_SMLFN22SMLSharp__SMLNJ__OS__Path10isAbsoluteE(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]
store i8*null,i8**%b,align 8
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 13),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
ret i32%r
}
define fastcc i32@_SMLFN22SMLSharp__SMLNJ__OS__Path11isCanonicalE(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]
store i8*null,i8**%b,align 8
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 14),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
ret i32%r
}
define fastcc i32@_SMLFN22SMLSharp__SMLNJ__OS__Path10isRelativeE(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]
store i8*null,i8**%b,align 8
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 15),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
ret i32%r
}
define fastcc i32@_SMLFN22SMLSharp__SMLNJ__OS__Path6isRootE(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]
store i8*null,i8**%b,align 8
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 16),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
ret i32%r
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path11joinBaseExtE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 17),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path11joinDirFileE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 18),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path10mkAbsoluteE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 19),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path11mkCanonicalE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 20),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path10mkRelativeE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 21),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path12splitBaseExtE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 23),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path12splitDirFileE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 24),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path8toStringE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 25),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i8*@_SMLFN22SMLSharp__SMLNJ__OS__Path10toUnixPathE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 26),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=tail call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
ret i8*%p
}
define fastcc i32@_SMLFN22SMLSharp__SMLNJ__OS__Path11validVolumeE(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]
store i8*null,i8**%b,align 8
%j=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[28x i8*]}>,<{[4x i8],i32,[28x i8*]}>*@_SML_gvard140b1de0a56705c_os_path,i64 0,i32 2,i64 27),align 8
%k=getelementptr inbounds i8,i8*%j,i64 16
%l=bitcast i8*%k to i8*(i8*,i8*)**
%m=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%l,align 8
%n=bitcast i8*%j to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*%m(i8*inreg%o,i8*inreg%h)
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
ret i32%r
}
define internal fastcc i8*@_SMLLN23SMLSharp__SMLNJ__PathBase11joinVolPathE_113(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN23SMLSharp__SMLNJ__PathBase11joinVolPathE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL114(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL62(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL115(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL66(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*@_SMLLL116(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
h:
%c=load i8,i8*%b,align 1
switch i8%c,label%f[
i8 0,label%e
i8 47,label%d
]
d:
br label%f
e:
br label%f
f:
%g=phi i32[1,%h],[0,%d],[0,%e]
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%g,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLL117(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL70(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*@_SMLLL118(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL72(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*@_SMLLN23SMLSharp__SMLNJ__PathBase8classifyE_119(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN23SMLSharp__SMLNJ__PathBase8classifyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN23SMLSharp__SMLNJ__PathBase8validArcE_120(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
h:
%c=load i8,i8*%b,align 1
switch i8%c,label%f[
i8 0,label%e
i8 47,label%d
]
d:
br label%f
e:
br label%f
f:
%g=phi i32[1,%h],[0,%d],[0,%e]
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%g,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN23SMLSharp__SMLNJ__PathBase8validArcE_121(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN23SMLSharp__SMLNJ__PathBase8validArcE(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*@_SMLLN23SMLSharp__SMLNJ__PathBase11validVolumeE_122(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN23SMLSharp__SMLNJ__PathBase11validVolumeE(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*@_SMLLN23SMLSharp__SMLNJ__PathBase7sameVolE_124(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN23SMLSharp__SMLNJ__PathBase7sameVolE(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
}
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
