	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_generator_get_gc
_zend_generator_get_gc:                 ## @zend_generator_get_gc
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	56(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_func@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EX
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_calc_gc_buffer_size
	movq	%rax, %rbx
	movq	48(%r15), %r14
	cmpq	%rax, (%r15)
	jge	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$4, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_safe_erealloc
	movq	%rax, %r14
	movq	%rax, 48(%r15)
	movq	%rbx, (%r15)
LBB0_4:
	movl	%ebx, (%r12)
	movq	%r14, (%r13)
	leal	4(%r14), %ebx
	leaq	40(%r15), %rsi
	movl	%r14d, %edi
	callq	_ZVAL_COPY_VALUE
	leal	8(%r14), %r12d
	leaq	36(%r15), %rsi
	movl	%ebx, %edi
	callq	_ZVAL_COPY_VALUE
	leal	12(%r14), %ebx
	leaq	32(%r15), %rsi
	movl	%r12d, %edi
	callq	_ZVAL_COPY_VALUE
	leaq	16(%r14), %r12
	leaq	28(%r15), %rsi
	movl	%ebx, %edi
	callq	_ZVAL_COPY_VALUE
	xorl	%eax, %eax
	callq	_EX_CALL_INFO
	movq	_ZEND_CALL_HAS_SYMBOL_TABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.5:
	movq	_func@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EX
	movq	(%rax), %r13
	testq	%r13, %r13
	jle	LBB0_8
## %bb.6:
	addl	$16, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	addq	$4, %r12
	movq	%rbx, %rdi
	callq	_EX_VAR_NUM
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_ZVAL_COPY_VALUE
	incq	%rbx
	addl	$4, %r14d
	cmpq	%rbx, %r13
	jne	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	callq	_EX_CALL_INFO
	movq	_ZEND_CALL_FREE_EXTRA_ARGS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	addq	(%rbx), %rdi
	callq	_EX_VAR_NUM
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_EX_NUM_ARGS
	movslq	16(%rbx), %rdx
	cmpl	%edx, %eax
	je	LBB0_13
## %bb.10:
	movq	%rdx, %rcx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	shlq	$2, %rcx
	cltq
	shlq	$2, %rax
	subq	%rax, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	4(%r14), %r13
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_ZVAL_COPY_VALUE
	addq	$-4, %r15
	addl	$4, %ebx
	movq	%r13, %r14
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.12:
	subq	%r15, %r12
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_13:
	xorl	%eax, %eax
	callq	_EX_CALL_INFO
	movq	_ZEND_CALL_RELEASE_THIS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:
	leaq	4(%r12), %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	callq	_Z_OBJ
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_ZVAL_OBJ
	movq	%rbx, %r12
LBB0_15:
	xorl	%eax, %eax
	callq	_EX_CALL_INFO
	movq	_ZEND_CALL_CLOSURE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.16:
	leaq	4(%r12), %rbx
	movq	_func@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EX
	movq	%rax, %rdi
	callq	_ZEND_CLOSURE_OBJECT
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_ZVAL_OBJ
	movq	%rbx, %r12
LBB0_17:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	24(%rcx), %rax
	cmpq	%rax, %r14
	je	LBB0_27
## %bb.18:
	cmpq	$0, 32(%rcx)
	jle	LBB0_27
## %bb.19:
	notq	%rax
	addq	%rax, %r14
	movl	$16, %ebx
	xorl	%r13d, %r13d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_20 Depth=1
	leaq	4(%r12), %r15
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	_ZVAL_COPY_VALUE
	movq	%r15, %r12
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%r13
	addq	$24, %rbx
	cmpq	32(%rcx), %r13
	jge	LBB0_27
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%rcx), %rax
	cmpq	%r14, -16(%rax,%rbx)
	jg	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	-8(%rax,%rbx), %r14
	jge	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%rax,%rbx), %rax
	movq	_ZEND_LIVE_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rdi, %r15
	andq	%rax, %r15
	notq	%rdi
	andq	%rax, %rdi
	callq	_EX_VAR
	movq	_ZEND_LIVE_TMPVAR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_ZEND_LIVE_LOOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r15
	jne	LBB0_25
	jmp	LBB0_24
LBB0_27:
	cmpq	$0, 8(%r15)
	jne	LBB0_30
## %bb.28:
	movq	16(%r15), %rbx
	cmpq	%r15, %rbx
	je	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	leaq	24(%rbx), %rsi
	movl	%r12d, %edi
	callq	_ZVAL_OBJ
	addq	$8, %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_zend_generator_get_child
	movq	%rax, %rbx
	addl	$4, %r12d
	cmpq	%r15, %rax
	jne	LBB0_29
LBB0_30:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_EX_CALL_INFO
	movq	_ZEND_CALL_HAS_SYMBOL_TABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
## %bb.31:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rbx
	jmp	LBB0_32
LBB0_1:
	addq	$40, %r15
	movq	%r15, (%r13)
	movl	$3, (%r12)
	xorl	%ebx, %ebx
LBB0_32:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_func,4,2                       ## @func
	.comm	_ZEND_CALL_HAS_SYMBOL_TABLE,4,2 ## @ZEND_CALL_HAS_SYMBOL_TABLE
	.comm	_ZEND_CALL_FREE_EXTRA_ARGS,4,2  ## @ZEND_CALL_FREE_EXTRA_ARGS
	.comm	_ZEND_CALL_RELEASE_THIS,4,2     ## @ZEND_CALL_RELEASE_THIS
	.comm	_ZEND_CALL_CLOSURE,4,2          ## @ZEND_CALL_CLOSURE
	.comm	_ZEND_LIVE_MASK,8,3             ## @ZEND_LIVE_MASK
	.comm	_ZEND_LIVE_TMPVAR,8,3           ## @ZEND_LIVE_TMPVAR
	.comm	_ZEND_LIVE_LOOP,8,3             ## @ZEND_LIVE_LOOP
	.no_dead_strip	_zend_generator_get_gc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_generator_get_gc
_zend_generator_get_gc:                 ; @zend_generator_get_gc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x25, [x0, #56]
	cbz	x25, LBB0_28
; %bb.1:
Lloh0:
	adrp	x26, _func@GOTPAGE
Lloh1:
	ldr	x26, [x26, _func@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_EX
	mov	x20, x0
	mov	x0, x19
	bl	_calc_gc_buffer_size
	mov	x24, x0
	ldr	x8, [x19]
	ldr	x22, [x19, #48]
	cmp	x8, x0
	b.ge	LBB0_3
; %bb.2:
	mov	x0, x22
	mov	w1, #4
	mov	x2, x24
	mov	w3, #0
	bl	_safe_erealloc
	mov	x22, x0
	str	x0, [x19, #48]
	str	x24, [x19]
LBB0_3:
	str	w24, [x21]
	str	x22, [x23]
	add	w21, w22, #4
	add	x1, x19, #40
	mov	x0, x22
	bl	_ZVAL_COPY_VALUE
	add	w23, w22, #8
	add	x1, x19, #36
	mov	x0, x21
	bl	_ZVAL_COPY_VALUE
	add	w24, w22, #12
	add	x1, x19, #32
	mov	x0, x23
	bl	_ZVAL_COPY_VALUE
	add	x21, x22, #16
	add	x1, x19, #28
	mov	x0, x24
	bl	_ZVAL_COPY_VALUE
	bl	_EX_CALL_INFO
Lloh2:
	adrp	x8, _ZEND_CALL_HAS_SYMBOL_TABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ZEND_CALL_HAS_SYMBOL_TABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_7
; %bb.4:
	ldr	w0, [x26]
	bl	_EX
	ldr	x24, [x0]
	cmp	x24, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x23, #0
	add	w22, w22, #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x21, #4
	mov	x0, x23
	bl	_EX_VAR_NUM
	mov	x1, x0
	mov	x0, x22
	bl	_ZVAL_COPY_VALUE
	add	x23, x23, #1
	add	w22, w22, #4
	cmp	x24, x23
	b.ne	LBB0_6
LBB0_7:
	bl	_EX_CALL_INFO
Lloh5:
	adrp	x8, _ZEND_CALL_FREE_EXTRA_ARGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ZEND_CALL_FREE_EXTRA_ARGS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_11
; %bb.8:
	ldp	x8, x9, [x20]
	add	x0, x9, x8
	bl	_EX_VAR_NUM
	mov	x22, x0
	bl	_EX_NUM_ARGS
                                        ; kill: def $w0 killed $w0 def $x0
	ldrsw	x8, [x20, #16]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.9:
	sbfiz	x9, x0, #2, #32
	sub	x24, x9, x8, lsl #2
	mov	x23, x21
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x21, x21, #4
	add	x27, x22, #4
	mov	x0, x23
	mov	x1, x22
	bl	_ZVAL_COPY_VALUE
	add	w23, w23, #4
	mov	x22, x27
	subs	x24, x24, #4
	b.ne	LBB0_10
LBB0_11:
	bl	_EX_CALL_INFO
Lloh8:
	adrp	x8, _ZEND_CALL_RELEASE_THIS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ZEND_CALL_RELEASE_THIS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.12:
	add	x22, x21, #4
	ldr	w0, [x25, #16]
	bl	_Z_OBJ
	mov	x1, x0
	mov	x0, x21
	bl	_ZVAL_OBJ
	mov	x21, x22
LBB0_13:
	bl	_EX_CALL_INFO
Lloh11:
	adrp	x8, _ZEND_CALL_CLOSURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ZEND_CALL_CLOSURE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_15
; %bb.14:
	add	x22, x21, #4
	ldr	w0, [x26]
	bl	_EX
	bl	_ZEND_CLOSURE_OBJECT
	mov	x1, x0
	mov	x0, x21
	bl	_ZVAL_OBJ
	mov	x21, x22
LBB0_15:
	ldr	x8, [x25]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	str	x25, [sp, #8]                   ; 8-byte Folded Spill
	b.eq	LBB0_23
; %bb.16:
	ldr	x10, [x20, #32]
	cmp	x10, #1
	b.lt	LBB0_23
; %bb.17:
	mov	x22, #0
	mov	x23, #0
	mvn	x9, x9
	add	x26, x8, x9
Lloh14:
	adrp	x27, _ZEND_LIVE_MASK@GOTPAGE
Lloh15:
	ldr	x27, [x27, _ZEND_LIVE_MASK@GOTPAGEOFF]
Lloh16:
	adrp	x28, _ZEND_LIVE_TMPVAR@GOTPAGE
Lloh17:
	ldr	x28, [x28, _ZEND_LIVE_TMPVAR@GOTPAGEOFF]
Lloh18:
	adrp	x24, _ZEND_LIVE_LOOP@GOTPAGE
Lloh19:
	ldr	x24, [x24, _ZEND_LIVE_LOOP@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20, #32]
	add	x22, x22, #24
	cmp	x23, x8
	b.ge	LBB0_23
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #40]
	ldr	x9, [x8, x22]
	cmp	x9, x26
	b.gt	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x8, x8, x22
	ldr	x9, [x8, #8]
	cmp	x26, x9
	b.ge	LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x8, #16]
	ldr	x9, [x27]
	and	x25, x9, x8
	bic	x0, x8, x9
	bl	_EX_VAR
	ldr	x8, [x28]
	ldr	x9, [x24]
	cmp	x25, x8
	ccmp	x25, x9, #4, ne
	b.ne	LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x1, x0
	add	x25, x21, #4
	mov	x0, x21
	bl	_ZVAL_COPY_VALUE
	mov	x21, x25
	b	LBB0_18
LBB0_23:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_26
; %bb.24:
	ldr	x20, [x19, #16]
	cmp	x20, x19
	b.eq	LBB0_26
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	add	x1, x20, #24
	mov	x0, x21
	bl	_ZVAL_OBJ
	add	x0, x20, #8
	mov	x1, x19
	bl	_zend_generator_get_child
	mov	x20, x0
	add	w21, w21, #4
	cmp	x0, x19
	b.ne	LBB0_25
LBB0_26:
	bl	_EX_CALL_INFO
Lloh20:
	adrp	x8, _ZEND_CALL_HAS_SYMBOL_TABLE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ZEND_CALL_HAS_SYMBOL_TABLE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	b.eq	LBB0_29
; %bb.27:
	ldr	x0, [x8, #8]
	b	LBB0_30
LBB0_28:
	mov	x0, #0
	add	x8, x19, #40
	str	x8, [x23]
	mov	w8, #3
	str	w8, [x21]
	b	LBB0_30
LBB0_29:
	mov	x0, #0
LBB0_30:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_func,4,2                       ; @func
	.comm	_ZEND_CALL_HAS_SYMBOL_TABLE,4,2 ; @ZEND_CALL_HAS_SYMBOL_TABLE
	.comm	_ZEND_CALL_FREE_EXTRA_ARGS,4,2  ; @ZEND_CALL_FREE_EXTRA_ARGS
	.comm	_ZEND_CALL_RELEASE_THIS,4,2     ; @ZEND_CALL_RELEASE_THIS
	.comm	_ZEND_CALL_CLOSURE,4,2          ; @ZEND_CALL_CLOSURE
	.comm	_ZEND_LIVE_MASK,8,3             ; @ZEND_LIVE_MASK
	.comm	_ZEND_LIVE_TMPVAR,8,3           ; @ZEND_LIVE_TMPVAR
	.comm	_ZEND_LIVE_LOOP,8,3             ; @ZEND_LIVE_LOOP
	.no_dead_strip	_zend_generator_get_gc
.subsections_via_symbols
