	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pblk_alloc_page              ## -- Begin function __pblk_alloc_page
	.p2align	4, 0x90
___pblk_alloc_page:                     ## @__pblk_alloc_page
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	12(%rsi), %rdi
	callq	_lockdep_assert_held
	movq	(%r14), %rdx
	movslq	%ebx, %rax
	addq	%rdx, %rax
	movq	(%r15), %rsi
	cmpq	%rsi, %rax
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN
	movq	(%r15), %rsi
	movq	(%r14), %rdx
	movl	%esi, %ebx
	subl	%edx, %ebx
LBB0_2:
	movl	8(%r14), %edi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_find_next_zero_bit
	movl	%eax, %r15d
	movslq	%eax, %rdi
	movq	%rdi, (%r14)
	testl	%ebx, %ebx
	jle	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r14), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_test_and_set_bit
	movl	%eax, %edi
	callq	_WARN_ON
	movq	(%r14), %rdi
	incq	%rdi
	movq	%rdi, (%r14)
	decl	%ebx
	jne	LBB0_3
LBB0_4:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pblk: page allocation out of bounds\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___pblk_alloc_page              ; -- Begin function __pblk_alloc_page
	.p2align	2
___pblk_alloc_page:                     ; @__pblk_alloc_page
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x0, x1, #12
	bl	_lockdep_assert_held
	ldr	x2, [x19]
	add	x8, x2, w20, sxtw
	ldr	x1, [x21]
	cmp	x8, x1
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN
	ldr	x1, [x21]
	ldr	x2, [x19]
	sub	w20, w1, w2
LBB0_2:
	ldr	w0, [x19, #8]
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_find_next_zero_bit
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	str	x21, [x19]
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x0, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_test_and_set_bit
	bl	_WARN_ON
	ldr	x8, [x19]
	add	x0, x8, #1
	str	x0, [x19]
	subs	w20, w20, #1
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pblk: page allocation out of bounds\n"

.subsections_via_symbols
