	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phar_mkdir
_phar_mkdir:                            ## @phar_mkdir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rcx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-32(%rbp), %rax
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdx
	movl	$2, %r9d
	pushq	$1
	pushq	%rax
	callq	_phar_get_or_create_entry_data
	addq	$16, %rsp
	movq	-32(%rbp), %r8
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %rbx
	testq	%r8, %r8
	je	LBB0_6
## %bb.5:
	movq	%r8, %rdi
	callq	_efree
LBB0_6:
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, (%r15)
LBB0_8:
	movq	%rbx, %rdi
	callq	_phar_entry_delref
	movq	(%r15), %rdi
	leaq	-32(%rbp), %r8
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_phar_flush
	movq	-32(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	movq	_phar_ce_PharException@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
	jmp	LBB0_10
LBB0_1:
	movq	_spl_ce_BadMethodCallException@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testq	%r8, %r8
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdx
	xorl	%esi, %esi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
LBB0_10:
	movq	-32(%rbp), %rdi
	callq	_efree
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.2(%rip), %rdx
	xorl	%esi, %esi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w+b"

	.comm	_spl_ce_BadMethodCallException,4,2 ## @spl_ce_BadMethodCallException
L_.str.1:                               ## @.str.1
	.asciz	"Directory %s does not exist and cannot be created: %s"

L_.str.2:                               ## @.str.2
	.asciz	"Directory %s does not exist and cannot be created"

	.comm	_phar_ce_PharException,4,2      ## @phar_ce_PharException
L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.no_dead_strip	_phar_mkdir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phar_mkdir
_phar_mkdir:                            ; @phar_mkdir
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x3, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldp	w1, w0, [x8]
Lloh0:
	adrp	x4, l_.str@PAGE
Lloh1:
	add	x4, x4, l_.str@PAGEOFF
	add	x6, sp, #8
	mov	x2, x19
	mov	w5, #2
	mov	w7, #1
	bl	_phar_get_or_create_entry_data
	mov	x21, x0
	ldr	x0, [sp, #8]
	cbz	x21, LBB0_7
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	bl	_efree
LBB0_3:
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	str	x8, [x20]
LBB0_5:
	mov	x0, x21
	bl	_phar_entry_delref
	ldr	x0, [x20]
	add	x4, sp, #8
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_phar_flush
	ldr	x3, [sp, #8]
	cbz	x3, LBB0_10
; %bb.6:
Lloh2:
	adrp	x8, _phar_ce_PharException@GOTPAGE
Lloh3:
	ldr	x8, [x8, _phar_ce_PharException@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x2, l_.str.3@PAGE
Lloh6:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #0
	b	LBB0_9
LBB0_7:
Lloh7:
	adrp	x8, _spl_ce_BadMethodCallException@GOTPAGE
Lloh8:
	ldr	x8, [x8, _spl_ce_BadMethodCallException@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cbz	x0, LBB0_11
; %bb.8:
	str	x0, [sp]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x8
	mov	w1, #0
	mov	x3, x19
LBB0_9:
	bl	_zend_throw_exception_ex
	ldr	x0, [sp, #8]
	bl	_efree
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_11:
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x8
	mov	w1, #0
	mov	x3, x19
	bl	_zend_throw_exception_ex
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w+b"

	.comm	_spl_ce_BadMethodCallException,4,2 ; @spl_ce_BadMethodCallException
l_.str.1:                               ; @.str.1
	.asciz	"Directory %s does not exist and cannot be created: %s"

l_.str.2:                               ; @.str.2
	.asciz	"Directory %s does not exist and cannot be created"

	.comm	_phar_ce_PharException,4,2      ; @phar_ce_PharException
l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.no_dead_strip	_phar_mkdir
.subsections_via_symbols
