	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spl_append_it_next_iterator    ## -- Begin function spl_append_it_next_iterator
	.p2align	4, 0x90
_spl_append_it_next_iterator:           ## @spl_append_it_next_iterator
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_spl_dual_it_free
	leaq	16(%rbx), %r14
	movl	16(%rbx), %edi
	callq	_Z_ISUNDEF
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_zval_ptr_dtor
	movq	%r14, %rdi
	callq	_ZVAL_UNDEF
	movq	$0, (%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_zend_iterator_dtor
	movq	$0, 8(%rbx)
LBB0_3:
	movq	24(%rbx), %rdi
	movq	(%rdi), %rax
	callq	*(%rax)
	movq	_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_5
## %bb.4:
	movq	24(%rbx), %rdi
	movq	(%rdi), %rax
	callq	*8(%rax)
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ZVAL_COPY
	movq	%r15, %rdi
	callq	_Z_OBJCE_P
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	*(%rax)
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_spl_dual_it_rewind
	movl	(%r12), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_FAILURE,4,2                    ## @FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spl_append_it_next_iterator    ; -- Begin function spl_append_it_next_iterator
	.p2align	2
_spl_append_it_next_iterator:           ; @spl_append_it_next_iterator
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_spl_dual_it_free
	mov	x20, x19
	ldr	w0, [x20, #16]!
	bl	_Z_ISUNDEF
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_zval_ptr_dtor
	mov	x0, x20
	bl	_ZVAL_UNDEF
	str	xzr, [x19]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_zend_iterator_dtor
	str	xzr, [x19, #8]
LBB0_3:
	ldr	x0, [x19, #24]
	ldr	x8, [x0]
	ldr	x8, [x8]
	blr	x8
Lloh0:
	adrp	x22, _SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.4:
	ldr	x0, [x19, #24]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_ZVAL_COPY
	mov	x0, x21
	bl	_Z_OBJCE_P
	str	x0, [x19]
	ldr	x8, [x0]
	mov	x1, x21
	mov	w2, #0
	blr	x8
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_spl_dual_it_rewind
	ldr	w0, [x22]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _FAILURE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_FAILURE,4,2                    ; @FAILURE
.subsections_via_symbols
