	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phar_dir_seek
_phar_dir_seek:                         ## @phar_dir_seek
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r12
	movl	$-1, %r14d
	testq	%r12, %r12
	je	LBB0_10
## %bb.1:
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_zend_hash_num_elements
	addq	%rax, %r15
LBB0_3:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_zend_hash_internal_pointer_reset
LBB0_5:
	testq	%r15, %r15
	js	LBB0_10
## %bb.6:
	movq	$0, (%rbx)
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_10
## %bb.7:
	movq	_SUCCESS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_zend_hash_move_forward
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	cmpq	%r15, %rax
	jl	LBB0_8
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.no_dead_strip	_phar_dir_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phar_dir_seek
_phar_dir_seek:                         ; @phar_dir_seek
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x21, [x0]
	cbz	x21, LBB0_11
; %bb.1:
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x23, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SEEK_SET@GOTPAGEOFF]
	cmp	w8, w2
	b.ne	LBB0_3
; %bb.2:
	ldr	w22, [x23]
	mov	x0, x21
	bl	_zend_hash_num_elements
	add	x20, x0, x20
LBB0_3:
	ldr	w8, [x23]
	cmp	w22, w8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_zend_hash_internal_pointer_reset
LBB0_5:
	tbnz	x20, #63, LBB0_11
; %bb.6:
	str	xzr, [x19]
	cbz	x20, LBB0_10
; %bb.7:
Lloh5:
	adrp	x22, _SUCCESS@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SUCCESS@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_zend_hash_move_forward
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	cmp	x8, x20
	b.lt	LBB0_8
LBB0_10:
	mov	w0, #0
	b	LBB0_12
LBB0_11:
	mov	w0, #-1
LBB0_12:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.no_dead_strip	_phar_dir_seek
.subsections_via_symbols
