	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_phys_avail_count
_vm_phys_avail_count:                   ## @vm_phys_avail_count
	.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	_phys_avail@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rax
	movl	$-2, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addl	$2, %ebx
	cmpq	$0, (%rax)
	leaq	16(%rax), %rax
	jne	LBB0_1
## %bb.2:
	movq	_PHYS_AVAIL_ENTRIES@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_panic
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_phys_avail,8,3                 ## @phys_avail
	.comm	_PHYS_AVAIL_ENTRIES,4,2         ## @PHYS_AVAIL_ENTRIES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Improperly terminated phys_avail %d entries"

	.no_dead_strip	_vm_phys_avail_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_phys_avail_count
_vm_phys_avail_count:                   ; @vm_phys_avail_count
	.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
Lloh0:
	adrp	x8, _phys_avail@GOTPAGE
Lloh1:
	ldr	x8, [x8, _phys_avail@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, #8
	mov	w19, #-2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8], #16
	add	w19, w19, #2
	cbnz	x9, LBB0_1
; %bb.2:
Lloh3:
	adrp	x8, _PHYS_AVAIL_ENTRIES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PHYS_AVAIL_ENTRIES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ge	LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_panic
LBB0_4:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_phys_avail,8,3                 ; @phys_avail
	.comm	_PHYS_AVAIL_ENTRIES,4,2         ; @PHYS_AVAIL_ENTRIES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Improperly terminated phys_avail %d entries"

	.no_dead_strip	_vm_phys_avail_count
.subsections_via_symbols
