	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_iterator_to_array_apply
_spl_iterator_to_array_apply:           ## @spl_iterator_to_array_apply
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	callq	*8(%rax)
	movq	%rax, %r15
	movq	_exception@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_EG
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_ZEND_HASH_APPLY_STOP@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testq	%r15, %r15
	je	LBB0_1
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	-36(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*%rax
	movl	(%r12), %edi
	callq	_EG
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	movq	%r14, %rdi
	callq	_Z_ARRVAL_P
	leaq	-36(%rbp), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_array_set_zval_key
	movq	%rbx, %rdi
	callq	_zval_ptr_dtor
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	callq	_Z_TRY_ADDREF_P
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_add_next_index_zval
LBB0_7:
	movq	_ZEND_HASH_APPLY_KEEP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_exception,4,2                  ## @exception
	.comm	_ZEND_HASH_APPLY_STOP,4,2       ## @ZEND_HASH_APPLY_STOP
	.comm	_ZEND_HASH_APPLY_KEEP,4,2       ## @ZEND_HASH_APPLY_KEEP
	.no_dead_strip	_spl_iterator_to_array_apply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_iterator_to_array_apply
_spl_iterator_to_array_apply:           ; @spl_iterator_to_array_apply
	.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	x20, x1
	mov	x21, x0
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x19, x0
Lloh0:
	adrp	x22, _exception@GOTPAGE
Lloh1:
	ldr	x22, [x22, _exception@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_EG
	cbz	x0, LBB0_3
LBB0_1:
Lloh2:
	adrp	x8, _ZEND_HASH_APPLY_STOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZEND_HASH_APPLY_STOP@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	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_3:
	cbz	x19, LBB0_1
; %bb.4:
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
	add	x1, sp, #12
	mov	x0, x21
	blr	x8
	ldr	w0, [x22]
	bl	_EG
	cbnz	x0, LBB0_1
; %bb.6:
	mov	x0, x20
	bl	_Z_ARRVAL_P
	add	x1, sp, #12
	mov	x2, x19
	bl	_array_set_zval_key
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_Z_TRY_ADDREF_P
	mov	x0, x20
	mov	x1, x19
	bl	_add_next_index_zval
LBB0_8:
Lloh4:
	adrp	x8, _ZEND_HASH_APPLY_KEEP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ZEND_HASH_APPLY_KEEP@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_exception,4,2                  ; @exception
	.comm	_ZEND_HASH_APPLY_STOP,4,2       ; @ZEND_HASH_APPLY_STOP
	.comm	_ZEND_HASH_APPLY_KEEP,4,2       ; @ZEND_HASH_APPLY_KEEP
	.no_dead_strip	_spl_iterator_to_array_apply
.subsections_via_symbols
