	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_pvo_entry
_alloc_pvo_entry:                       ## @alloc_pvo_entry
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edi, %edi
	jne	LBB0_2
## %bb.1:
	movq	_moea64_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.5:
	movq	_moea64_pvo_zone@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_uma_zalloc                     ## TAILCALL
LBB0_2:
	movq	_moea64_bpvo_pool_index@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_moea64_bpvo_pool_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edx, %esi
	jl	LBB0_4
## %bb.3:
	leal	(,%rdx,4), %ecx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_panic
LBB0_4:
	movq	_moea64_bpvo_pool@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_moea64_bpvo_pool_index@GOTPCREL(%rip), %rdi
	movl	$1, %esi
	callq	_atomic_fetchadd_int
	movq	%rax, %rbx
	leaq	(%r15,%rax,4), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_bzero
	movq	_PVO_BOOTSTRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15,%rbx,4)
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_moea64_initialized,4,2         ## @moea64_initialized
	.comm	_moea64_bpvo_pool_index,4,2     ## @moea64_bpvo_pool_index
	.comm	_moea64_bpvo_pool_size,4,2      ## @moea64_bpvo_pool_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"moea64_enter: bpvo pool exhausted, %d, %d, %zd"

	.comm	_moea64_bpvo_pool,8,3           ## @moea64_bpvo_pool
	.comm	_PVO_BOOTSTRAP,4,2              ## @PVO_BOOTSTRAP
	.comm	_moea64_pvo_zone,4,2            ## @moea64_pvo_zone
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.no_dead_strip	_alloc_pvo_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_pvo_entry
_alloc_pvo_entry:                       ; @alloc_pvo_entry
	.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
	cbnz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _moea64_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _moea64_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _moea64_pvo_zone@GOTPAGE
Lloh4:
	ldr	x8, [x8, _moea64_pvo_zone@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w1, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_uma_zalloc
LBB0_3:
Lloh12:
	adrp	x8, _moea64_bpvo_pool_index@GOTPAGE
Lloh13:
	ldr	x8, [x8, _moea64_bpvo_pool_index@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _moea64_bpvo_pool_size@GOTPAGE
Lloh16:
	ldr	x8, [x8, _moea64_bpvo_pool_size@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	cmp	w1, w2
	b.lt	LBB0_5
; %bb.4:
	lsl	w3, w2, #2
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_panic
LBB0_5:
Lloh20:
	adrp	x8, _moea64_bpvo_pool@GOTPAGE
Lloh21:
	ldr	x8, [x8, _moea64_bpvo_pool@GOTPAGEOFF]
Lloh22:
	ldr	x19, [x8]
Lloh23:
	adrp	x0, _moea64_bpvo_pool_index@GOTPAGE
Lloh24:
	ldr	x0, [x0, _moea64_bpvo_pool_index@GOTPAGEOFF]
	mov	w1, #1
	bl	_atomic_fetchadd_int
	add	x19, x19, x0, lsl #2
	mov	x0, x19
	mov	w1, #4
	bl	_bzero
Lloh25:
	adrp	x8, _PVO_BOOTSTRAP@GOTPAGE
Lloh26:
	ldr	x8, [x8, _PVO_BOOTSTRAP@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_moea64_initialized,4,2         ; @moea64_initialized
	.comm	_moea64_bpvo_pool_index,4,2     ; @moea64_bpvo_pool_index
	.comm	_moea64_bpvo_pool_size,4,2      ; @moea64_bpvo_pool_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"moea64_enter: bpvo pool exhausted, %d, %d, %zd"

	.comm	_moea64_bpvo_pool,8,3           ; @moea64_bpvo_pool
	.comm	_PVO_BOOTSTRAP,4,2              ; @PVO_BOOTSTRAP
	.comm	_moea64_pvo_zone,4,2            ; @moea64_pvo_zone
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.no_dead_strip	_alloc_pvo_entry
.subsections_via_symbols
