	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ITSS_StgOpenStorage            ## -- Begin function ITSS_StgOpenStorage
	.p2align	4, 0x90
_ITSS_StgOpenStorage:                   ## @ITSS_StgOpenStorage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r9, %r14
	movq	%rdi, %rbx
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	movq	%rbx, %rdi
	callq	_chm_openW
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	_ITSS_StgOpenStorage.szRoot(%rip), %rsi
	movq	%rax, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ITSS_create_chm_storage        ## TAILCALL
LBB0_1:
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_ITSS_StgOpenStorage.szRoot:            ## @ITSS_StgOpenStorage.szRoot
	.asciz	"/"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_E_FAIL,4,2                     ## @E_FAIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ITSS_StgOpenStorage            ; -- Begin function ITSS_StgOpenStorage
	.p2align	2
_ITSS_StgOpenStorage:                   ; @ITSS_StgOpenStorage
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x5
	mov	x20, x0
	bl	_debugstr_w
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x20
	bl	_chm_openW
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, _ITSS_StgOpenStorage.szRoot@PAGE
Lloh3:
	add	x1, x1, _ITSS_StgOpenStorage.szRoot@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ITSS_create_chm_storage
LBB0_2:
Lloh4:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_ITSS_StgOpenStorage.szRoot:            ; @ITSS_StgOpenStorage.szRoot
	.asciz	"/"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_E_FAIL,4,2                     ; @E_FAIL
.subsections_via_symbols
