	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_caching_it_next
_spl_caching_it_next:                   ## @spl_caching_it_next
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$1, %esi
	callq	_spl_dual_it_fetch
	movq	_SUCCESS@GOTPCREL(%rip), %rdx
	movq	_CIT_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_20
## %bb.1:
	orl	8(%r15), %ecx
	movl	%ecx, 8(%r15)
	movq	_CIT_FULL_CACHE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	28(%r15), %r14
	leaq	24(%r15), %rbx
	movq	%rbx, %rdi
	callq	_ZVAL_DEREF
	movq	%rbx, %rdi
	callq	_Z_TRY_ADDREF_P
	movl	20(%r15), %edi
	callq	_Z_ARRVAL
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_array_set_zval_key
	movq	%rbx, %rdi
	callq	_zval_ptr_dtor
LBB0_3:
	movq	(%r15), %rax
	movq	_DIT_RecursiveCachingIterator@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.4:
	movl	32(%r15), %edi
	callq	_Z_OBJ
	movl	36(%r15), %esi
	leaq	L_.str(%rip), %rcx
	leaq	-36(%rbp), %r8
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_zend_call_method_with_0_params
	movq	_exception@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_EG
	leaq	-36(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_zval_ptr_dtor
	jmp	LBB0_12
LBB0_20:
	notl	%ecx
	andl	%ecx, 8(%r15)
	jmp	LBB0_21
LBB0_6:
	callq	_zend_is_true
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movl	32(%r15), %edi
	callq	_Z_OBJ
	movl	36(%r15), %esi
	leaq	L_.str.1(%rip), %rcx
	leaq	-40(%rbp), %r8
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_zend_call_method_with_0_params
	movl	(%rbx), %edi
	callq	_EG
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	leaq	-40(%rbp), %rdi
	callq	_zval_ptr_dtor
	movq	_CIT_CATCH_GET_CHILD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_17
## %bb.9:
	xorl	%eax, %eax
	callq	_zend_clear_exception
	jmp	LBB0_11
LBB0_10:
	movq	_CIT_PUBLIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	8(%r15), %esi
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_ZVAL_LONG
	movq	_spl_ce_RecursiveCachingIterator@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	leaq	-40(%rbp), %r12
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	_spl_instantiate_arg_ex2
	movq	%r12, %rdi
	callq	_zval_ptr_dtor
LBB0_11:
	leaq	-36(%rbp), %rdi
	callq	_zval_ptr_dtor
	movl	(%rbx), %edi
	callq	_EG
	testq	%rax, %rax
	je	LBB0_14
LBB0_12:
	movq	_CIT_CATCH_GET_CHILD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r15)
	je	LBB0_21
## %bb.13:
	xorl	%eax, %eax
	callq	_zend_clear_exception
LBB0_14:
	movl	8(%r15), %eax
	movq	_CIT_TOSTRING_USE_INNER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_CIT_CALL_TOSTRING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_19
## %bb.15:
	xorl	%edx, %edx
	testl	%eax, %ecx
	setne	%dl
	leaq	12(%r15), %r14
	leaq	(%r15,%rdx,8), %rsi
	addq	$24, %rsi
	movq	%r14, %rdi
	callq	_ZVAL_COPY_VALUE
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	callq	_zend_make_printable_zval
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ZVAL_COPY_VALUE
	jmp	LBB0_19
LBB0_18:
	movl	(%r14), %edi
	callq	_Z_TRY_ADDREF
LBB0_19:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_spl_dual_it_next
LBB0_21:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	leaq	-36(%rbp), %rdi
	callq	_zval_ptr_dtor
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_CIT_VALID,4,2                  ## @CIT_VALID
	.comm	_CIT_FULL_CACHE,4,2             ## @CIT_FULL_CACHE
	.comm	_DIT_RecursiveCachingIterator,8,3 ## @DIT_RecursiveCachingIterator
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"haschildren"

	.comm	_exception,4,2                  ## @exception
	.comm	_CIT_CATCH_GET_CHILD,4,2        ## @CIT_CATCH_GET_CHILD
L_.str.1:                               ## @.str.1
	.asciz	"getchildren"

	.comm	_CIT_PUBLIC,4,2                 ## @CIT_PUBLIC
	.comm	_spl_ce_RecursiveCachingIterator,4,2 ## @spl_ce_RecursiveCachingIterator
	.comm	_CIT_TOSTRING_USE_INNER,4,2     ## @CIT_TOSTRING_USE_INNER
	.comm	_CIT_CALL_TOSTRING,4,2          ## @CIT_CALL_TOSTRING
	.no_dead_strip	_spl_caching_it_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_caching_it_next
_spl_caching_it_next:                   ; @spl_caching_it_next
	.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	x19, x0
	mov	w1, #1
	bl	_spl_dual_it_fetch
Lloh0:
	adrp	x8, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _CIT_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CIT_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x0, x9
	b.ne	LBB0_6
; %bb.1:
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
Lloh6:
	adrp	x9, _CIT_FULL_CACHE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CIT_FULL_CACHE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	add	x20, x19, #28
	add	x21, x19, #24
	mov	x0, x21
	bl	_ZVAL_DEREF
	mov	x0, x21
	bl	_Z_TRY_ADDREF_P
	ldr	w0, [x19, #20]
	bl	_Z_ARRVAL
	mov	x1, x20
	mov	x2, x21
	bl	_array_set_zval_key
	mov	x0, x21
	bl	_zval_ptr_dtor
LBB0_3:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _DIT_RecursiveCachingIterator@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DIT_RecursiveCachingIterator@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.4:
	ldr	w0, [x19, #32]
	bl	_Z_OBJ
	ldr	w1, [x19, #36]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	add	x4, sp, #12
	mov	x2, #0
	bl	_zend_call_method_with_0_params
Lloh14:
	adrp	x20, _exception@GOTPAGE
Lloh15:
	ldr	x20, [x20, _exception@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_EG
	cbz	x0, LBB0_7
; %bb.5:
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	b	LBB0_13
LBB0_6:
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
	b	LBB0_20
LBB0_7:
	add	x0, sp, #12
	bl	_zend_is_true
	cbz	x0, LBB0_12
; %bb.8:
	ldr	w0, [x19, #32]
	bl	_Z_OBJ
	ldr	w1, [x19, #36]
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
	add	x4, sp, #8
	mov	x2, #0
	bl	_zend_call_method_with_0_params
	ldr	w0, [x20]
	bl	_EG
	cbz	x0, LBB0_11
; %bb.9:
	add	x0, sp, #8
	bl	_zval_ptr_dtor
	ldr	w8, [x19, #8]
Lloh18:
	adrp	x9, _CIT_CATCH_GET_CHILD@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CIT_CATCH_GET_CHILD@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.10:
	bl	_zend_clear_exception
	b	LBB0_12
LBB0_11:
	ldr	w8, [x19, #8]
Lloh21:
	adrp	x9, _CIT_PUBLIC@GOTPAGE
Lloh22:
	ldr	x9, [x9, _CIT_PUBLIC@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w1, w9, w8
	add	x0, sp, #4
	bl	_ZVAL_LONG
Lloh24:
	adrp	x8, _spl_ce_RecursiveCachingIterator@GOTPAGE
Lloh25:
	ldr	x8, [x8, _spl_ce_RecursiveCachingIterator@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x1, x19, #16
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_spl_instantiate_arg_ex2
	add	x0, sp, #8
	bl	_zval_ptr_dtor
LBB0_12:
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	ldr	w0, [x20]
	bl	_EG
	cbz	x0, LBB0_15
LBB0_13:
	ldr	w8, [x19, #8]
Lloh27:
	adrp	x9, _CIT_CATCH_GET_CHILD@GOTPAGE
Lloh28:
	ldr	x9, [x9, _CIT_CATCH_GET_CHILD@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.14:
	bl	_zend_clear_exception
LBB0_15:
	ldr	w8, [x19, #8]
Lloh30:
	adrp	x9, _CIT_TOSTRING_USE_INNER@GOTPAGE
Lloh31:
	ldr	x9, [x9, _CIT_TOSTRING_USE_INNER@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _CIT_CALL_TOSTRING@GOTPAGE
Lloh34:
	ldr	x10, [x10, _CIT_CALL_TOSTRING@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	orr	w10, w10, w9
	tst	w10, w8
	b.eq	LBB0_19
; %bb.16:
	add	x20, x19, #12
	add	x10, x19, #24
	add	x11, x19, #32
	tst	w9, w8
	csel	x1, x10, x11, eq
	mov	x0, x20
	bl	_ZVAL_COPY_VALUE
	add	x1, sp, #12
	mov	x0, x20
	bl	_zend_make_printable_zval
	cbz	w0, LBB0_18
; %bb.17:
	add	x1, sp, #12
	mov	x0, x20
	bl	_ZVAL_COPY_VALUE
	b	LBB0_19
LBB0_18:
	ldr	w0, [x20]
	bl	_Z_TRY_ADDREF
LBB0_19:
	mov	x0, x19
	mov	w1, #0
	bl	_spl_dual_it_next
LBB0_20:
	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_21:
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_CIT_VALID,4,2                  ; @CIT_VALID
	.comm	_CIT_FULL_CACHE,4,2             ; @CIT_FULL_CACHE
	.comm	_DIT_RecursiveCachingIterator,8,3 ; @DIT_RecursiveCachingIterator
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"haschildren"

	.comm	_exception,4,2                  ; @exception
	.comm	_CIT_CATCH_GET_CHILD,4,2        ; @CIT_CATCH_GET_CHILD
l_.str.1:                               ; @.str.1
	.asciz	"getchildren"

	.comm	_CIT_PUBLIC,4,2                 ; @CIT_PUBLIC
	.comm	_spl_ce_RecursiveCachingIterator,4,2 ; @spl_ce_RecursiveCachingIterator
	.comm	_CIT_TOSTRING_USE_INNER,4,2     ; @CIT_TOSTRING_USE_INNER
	.comm	_CIT_CALL_TOSTRING,4,2          ; @CIT_CALL_TOSTRING
	.no_dead_strip	_spl_caching_it_next
.subsections_via_symbols
