	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function to_zval_read_aggregation
_to_zval_read_aggregation:              ## @to_zval_read_aggregation
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_Z_TYPE_P
	movq	_IS_ARRAY@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_Z_ARRVAL_P
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	16(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	leaq	-60(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 4(%r14)
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_ZVAL_NULL
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_Z_ARRVAL_P
	leaq	16(%rbx), %r12
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rdx
	decq	%rdx
	movq	%rax, %rdi
	movq	%r13, %rcx
	callq	_zend_symtable_str_update
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_zend_llist_add_element
	movslq	(%rbx), %rdi
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	*8(%rbx)
	movq	%r14, %rdi
	callq	_zend_llist_remove_tail
	movq	48(%rbx), %rdx
	addq	$32, %rbx
	testq	%rdx, %rdx
	jne	LBB0_2
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_do_to_zval_err
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_ARRAY,8,3                   ## @IS_ARRAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No information on how to convert native field into value for key '%s'"

	.no_dead_strip	_to_zval_read_aggregation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function to_zval_read_aggregation
_to_zval_read_aggregation:              ; @to_zval_read_aggregation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_Z_TYPE_P
Lloh0:
	adrp	x8, _IS_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_Z_ARRVAL_P
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x2, [x22, #16]
	cbz	x2, LBB0_6
; %bb.1:
	add	x24, x22, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x24, #-16]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #12
	bl	_ZVAL_NULL
	mov	x0, x20
	bl	_Z_ARRVAL_P
	mov	x22, x24
	ldr	x1, [x22, #-8]!
	ldr	x8, [x24]
	sub	x2, x8, #1
	add	x3, sp, #12
	bl	_zend_symtable_str_update
	mov	x23, x0
	mov	x0, x19
	mov	x1, x22
	bl	_zend_llist_add_element
	ldur	x8, [x24, #-16]
	ldursw	x9, [x24, #-24]
	add	x0, x21, x9
	mov	x1, x23
	mov	x2, x19
	blr	x8
	mov	x0, x19
	bl	_zend_llist_remove_tail
	ldr	x2, [x24, #24]
	add	x24, x24, #32
	cbnz	x2, LBB0_2
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_do_to_zval_err
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_ARRAY,8,3                   ; @IS_ARRAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No information on how to convert native field into value for key '%s'"

	.no_dead_strip	_to_zval_read_aggregation
.subsections_via_symbols
