	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_filesystem_tree_it_rewind
_spl_filesystem_tree_it_rewind:         ## @spl_filesystem_tree_it_rewind
	.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	%rdi, %r14
	callq	_spl_filesystem_iterator_to_object
	movq	%rax, %rbx
	movq	$0, 16(%rax)
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_php_stream_rewinddir
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_spl_filesystem_dir_read
	movl	(%rbx), %edi
	callq	_spl_filesystem_is_dot
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movl	(%r14), %edi
	callq	_Z_ISUNDEF
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	callq	_zval_ptr_dtor
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ZVAL_UNDEF                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_spl_filesystem_tree_it_rewind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_filesystem_tree_it_rewind
_spl_filesystem_tree_it_rewind:         ; @spl_filesystem_tree_it_rewind
	.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, x0
	bl	_spl_filesystem_iterator_to_object
	mov	x20, x0
	str	xzr, [x0, #16]
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_php_stream_rewinddir
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_spl_filesystem_dir_read
	ldr	w0, [x20]
	bl	_spl_filesystem_is_dot
	cbnz	x0, LBB0_2
; %bb.3:
	ldr	w0, [x19]
	bl	_Z_ISUNDEF
	cbz	w0, LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	bl	_zval_ptr_dtor
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ZVAL_UNDEF
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_spl_filesystem_tree_it_rewind
.subsections_via_symbols
