	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_add_var_hash
_php_add_var_hash:                      ## @php_add_var_hash
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_Z_ISREF_P
	movq	%rax, %r15
	incl	(%r14)
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	callq	_Z_REFVAL_P
	movq	%rax, %rdi
	callq	_Z_TYPE_P
	movq	_IS_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_Z_REFVAL_P
	movq	%rax, %r12
	jmp	LBB0_4
LBB0_1:
	callq	_Z_TYPE_P
	movq	_IS_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_4:
	movq	%r12, %rdi
	callq	_Z_COUNTED_P
	movq	%rax, %rbx
	leaq	4(%r14), %r13
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_zend_hash_index_find
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	testq	%r15, %r15
	je	LBB0_7
## %bb.6:
	decl	(%r14)
LBB0_7:
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Z_LVAL_P                       ## TAILCALL
LBB0_8:
	movl	(%r14), %esi
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_ZVAL_LONG
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_zend_hash_index_add_new
	incq	%rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_zend_hash_index_add_new
	movq	%r12, %rdi
	callq	_Z_ADDREF_P
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_OBJECT,8,3                  ## @IS_OBJECT
	.no_dead_strip	_php_add_var_hash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_add_var_hash
_php_add_var_hash:                      ; @php_add_var_hash
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_Z_ISREF_P
	mov	x21, x0
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_Z_REFVAL_P
	bl	_Z_TYPE_P
Lloh0:
	adrp	x8, _IS_OBJECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_OBJECT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_Z_REFVAL_P
	mov	x19, x0
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_Z_TYPE_P
Lloh3:
	adrp	x8, _IS_OBJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_OBJECT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
LBB0_4:
	mov	x0, x19
	bl	_Z_COUNTED_P
	mov	x23, x0
	add	x22, x20, #4
	mov	x0, x22
	mov	x1, x23
	bl	_zend_hash_index_find
	cbz	x0, LBB0_8
; %bb.5:
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
LBB0_7:
	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
	b	_Z_LVAL_P
LBB0_8:
	ldr	w1, [x20]
	add	x0, sp, #12
	bl	_ZVAL_LONG
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x23
	bl	_zend_hash_index_add_new
	add	x1, x23, #1
	mov	x0, x22
	mov	x2, x19
	bl	_zend_hash_index_add_new
	mov	x0, x19
	bl	_Z_ADDREF_P
LBB0_9:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_OBJECT,8,3                  ; @IS_OBJECT
	.no_dead_strip	_php_add_var_hash
.subsections_via_symbols
