	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_hash_persist_calc
_zend_hash_persist_calc:                ## @zend_hash_persist_calc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_HT_FLAGS
	movq	_HASH_FLAG_UNINITIALIZED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, (%rbx)
	je	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_HT_FLAGS
	movq	_HASH_FLAG_PACKED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_7
## %bb.3:
	movl	(%rbx), %eax
	movq	_HT_MIN_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_7
## %bb.4:
	movl	8(%rbx), %ecx
	movl	$3, %edx
	subl	%ecx, %edx
	negl	%ecx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	cmpl	%edx, %eax
	jge	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edi
	movl	%ecx, %edx
	sarl	$2, %edx
	sarl	%ecx
	cmpl	%eax, %edx
	jg	LBB0_5
## %bb.6:
	addl	%eax, %edi
	shll	$2, %edi
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_HT_USED_SIZE
	movl	%eax, %edi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ADD_SIZE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_FLAG_UNINITIALIZED,4,2    ## @HASH_FLAG_UNINITIALIZED
	.comm	_HASH_FLAG_PACKED,4,2           ## @HASH_FLAG_PACKED
	.comm	_HT_MIN_SIZE,4,2                ## @HT_MIN_SIZE
	.no_dead_strip	_zend_hash_persist_calc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_hash_persist_calc
_zend_hash_persist_calc:                ; @zend_hash_persist_calc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_HT_FLAGS
Lloh0:
	adrp	x8, _HASH_FLAG_UNINITIALIZED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_FLAG_UNINITIALIZED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19]
	cbz	w8, LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_HT_FLAGS
Lloh3:
	adrp	x8, _HASH_FLAG_PACKED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_FLAG_PACKED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _HT_MIN_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HT_MIN_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_8
; %bb.5:
	ldr	w10, [x19, #8]
	neg	w9, w10
	mov	w11, #3
	sub	w11, w11, w10
	cmp	w9, #0
	csneg	w10, w11, w10, lt
	cmp	w8, w10, asr #2
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x9
	asr	w9, w9, #1
	cmp	w8, w10, asr #2
	b.lt	LBB0_6
; %bb.7:
	add	w8, w10, w8
	lsl	w0, w8, #2
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_HT_USED_SIZE
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ADD_SIZE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_FLAG_UNINITIALIZED,4,2    ; @HASH_FLAG_UNINITIALIZED
	.comm	_HASH_FLAG_PACKED,4,2           ; @HASH_FLAG_PACKED
	.comm	_HT_MIN_SIZE,4,2                ; @HT_MIN_SIZE
	.no_dead_strip	_zend_hash_persist_calc
.subsections_via_symbols
