	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_recursive_it_rewind_ex
_spl_recursive_it_rewind_ex:            ## @spl_recursive_it_rewind_ex
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rdi, %rsi
	callq	_SPL_FETCH_SUB_ITERATOR
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	leaq	32(%rbx), %r15
	movq	_exception@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_Z_OBJ_P
	movl	16(%rbx), %esi
	movl	%eax, %edi
	movq	%r15, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_zend_call_method_with_0_params
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rcx
	cltq
	shlq	$4, %rax
	movq	(%rcx,%rax), %rdi
	callq	_zend_iterator_dtor
	movq	24(%rbx), %rax
	movslq	(%rbx), %rcx
	leal	-1(%rcx), %edx
	movl	%edx, (%rbx)
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$12, %rdi
	callq	_zval_ptr_dtor
	movl	(%r13), %edi
	callq	_EG
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	movq	_spl_ce_RecursiveIteratorIterator@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	24(%rbx), %rdi
	movl	$4, %esi
	callq	_erealloc
	movq	%rax, 24(%rbx)
	movq	_RS_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	callq	*%rax
LBB0_9:
	movq	_exception@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EG
	testl	%eax, %eax
	je	LBB0_10
LBB0_13:
	movl	$1, 4(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spl_recursive_it_move_forward_ex ## TAILCALL
LBB0_10:
	cmpq	$0, 8(%rbx)
	je	LBB0_13
## %bb.11:
	cmpl	$0, 4(%rbx)
	jne	LBB0_13
## %bb.12:
	leaq	8(%rbx), %r15
	movq	%r14, %rdi
	callq	_Z_OBJ_P
	movl	16(%rbx), %esi
	leaq	L_.str.1(%rip), %rcx
	movl	%eax, %edi
	movq	%r15, %rdx
	xorl	%r8d, %r8d
	callq	_zend_call_method_with_0_params
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_exception,4,2                  ## @exception
	.comm	_spl_ce_RecursiveIteratorIterator,8,3 ## @spl_ce_RecursiveIteratorIterator
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"endchildren"

	.comm	_RS_START,4,2                   ## @RS_START
L_.str.1:                               ## @.str.1
	.asciz	"beginIteration"

	.no_dead_strip	_spl_recursive_it_rewind_ex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_recursive_it_rewind_ex
_spl_recursive_it_rewind_ex:            ; @spl_recursive_it_rewind_ex
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x1, x0
	bl	_SPL_FETCH_SUB_ITERATOR
	ldr	w8, [x20]
Lloh0:
	adrp	x23, _exception@GOTPAGE
Lloh1:
	ldr	x23, [x23, _exception@GOTPAGEOFF]
	cbz	w8, LBB0_7
; %bb.1:
	add	x21, x20, #32
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
Lloh4:
	adrp	x24, _spl_ce_RecursiveIteratorIterator@GOTPAGE
Lloh5:
	ldr	x24, [x24, _spl_ce_RecursiveIteratorIterator@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_Z_OBJ_P
	ldr	w1, [x20, #16]
	mov	x2, x21
	mov	x3, x22
	mov	x4, #0
	bl	_zend_call_method_with_0_params
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x20]
	cbz	w8, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #24]
	sbfiz	x8, x8, #4, #32
	ldr	x0, [x9, x8]
	bl	_zend_iterator_dtor
	ldr	x8, [x20, #24]
	ldrsw	x9, [x20]
	sub	w10, w9, #1
	str	w10, [x20]
	add	x8, x8, x9, lsl #4
	add	x0, x8, #12
	bl	_zval_ptr_dtor
	ldr	w0, [x23]
	bl	_EG
	cbnz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	cbz	x8, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x8]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_2
	b	LBB0_3
LBB0_7:
	ldr	x0, [x20, #24]
	mov	w1, #4
	bl	_erealloc
Lloh6:
	adrp	x8, _RS_START@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RS_START@GOTPAGEOFF]
	str	x0, [x20, #24]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	blr	x8
LBB0_9:
	ldr	w0, [x23]
	bl	_EG
	cbz	w0, LBB0_11
LBB0_10:
	mov	w8, #1
	str	w8, [x20, #4]
	mov	x0, x20
	mov	x1, x19
	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
	b	_spl_recursive_it_move_forward_ex
LBB0_11:
	mov	x21, x20
	ldr	x8, [x21, #8]!
	cbz	x8, LBB0_10
; %bb.12:
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_10
; %bb.13:
	mov	x0, x19
	bl	_Z_OBJ_P
	ldr	w1, [x20, #16]
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x2, x21
	mov	x4, #0
	bl	_zend_call_method_with_0_params
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_exception,4,2                  ; @exception
	.comm	_spl_ce_RecursiveIteratorIterator,8,3 ; @spl_ce_RecursiveIteratorIterator
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"endchildren"

	.comm	_RS_START,4,2                   ; @RS_START
l_.str.1:                               ; @.str.1
	.asciz	"beginIteration"

	.no_dead_strip	_spl_recursive_it_rewind_ex
.subsections_via_symbols
