	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_resize                  ## -- Begin function bitmap_resize
	.p2align	4, 0x90
_bitmap_resize:                         ## @bitmap_resize
	.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
	subq	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r12
	testl	%edx, %edx
	je	LBB0_1
## %bb.42:
	notl	%edx
	movl	%edx, %edi
	callq	_ffz
	movl	%eax, %r14d
	movq	_BITMAP_BLOCK_SHIFT@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movl	$1, %r15d
	movl	%r14d, %ecx
	shll	%cl, %r15d
	jmp	LBB0_6
LBB0_1:
	movq	(%r12), %rax
	movq	8(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.2:
	movq	8(%r12), %rdi
	movl	$8, %esi
	callq	_DIV_ROUND_UP
	movq	(%r12), %rcx
	leaq	4(%rax), %rdi
	cmpl	$0, 20(%rcx)
	cmovneq	%rax, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_DIV_ROUND_UP
	movq	%rax, %rbx
	movq	(%r12), %rax
	movq	%rbx, 8(%rax)
LBB0_3:
	movl	16(%r12), %r14d
	shlq	$9, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %r15d
	movl	%r14d, %ecx
	shll	%cl, %r15d
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_DIV_ROUND_UP_SECTOR_T
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_DIV_ROUND_UP
	movq	(%r12), %rcx
	leaq	4(%rax), %rdx
	cmpl	$0, 20(%rcx)
	cmovneq	%rax, %rdx
	incl	%r14d
	cmpq	%rbx, %rdx
	jg	LBB0_4
## %bb.5:
	decl	%r14d
LBB0_6:
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_DIV_ROUND_UP_SECTOR_T
	movq	%rax, %r13
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	(%r12), %rax
	cmpq	$0, 32(%rax)
	jne	LBB0_8
## %bb.7:
	cmpq	$0, 24(%rax)
	je	LBB0_9
LBB0_8:
	xorl	%edx, %edx
	cmpl	$0, 20(%rax)
	sete	%dl
	leaq	-120(%rbp), %rdi
	movq	%r13, %rsi
	callq	_bitmap_storage_alloc
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_41
LBB0_9:
	movq	_PAGE_COUNTER_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_DIV_ROUND_UP
	movq	%rax, %rbx
	leaq	(,%rax,4), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:
	movq	(%r12), %rdi
	movq	(%rdi), %rax
	movl	$1, %esi
	callq	*(%rax)
LBB0_13:
	leaq	56(%r12), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	72(%r12), %rax
	movq	%rax, -104(%rbp)
	movq	$0, 72(%r12)
	movq	-112(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.14:
	cmpq	$0, 64(%r12)
	je	LBB0_16
## %bb.15:
	callq	_page_address
	movl	%eax, %r13d
	movq	64(%r12), %rdi
	callq	_page_address
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
LBB0_16:
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_bitmap_file_unmap
	movq	-104(%rbp), %rax
	movq	%rax, 16(%r13)
	movups	-120(%rbp), %xmm0
	movups	%xmm0, (%r13)
	movups	8(%r12), %xmm0
	movups	24(%r12), %xmm1
	movups	40(%r12), %xmm2
	movaps	%xmm2, -144(%rbp)
	movaps	%xmm1, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r12)
	movq	%rbx, 24(%r12)
	movq	%rbx, 32(%r12)
	movl	%r14d, 16(%r12)
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, 8(%r12)
	movq	_BITMAP_BLOCK_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	%r14d, %ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	leaq	8(%r12), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rcx
	movl	%eax, 16(%rcx)
	movq	-176(%rbp), %rdi
	movb	-168(%rbp), %cl
	shlq	%cl, %rdi
	leaq	40(%r12), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ecx
	shlq	%cl, %r13
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r13, %rsi
	callq	_min
	movl	%eax, %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_lock_irq
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_17
## %bb.18:
	movl	$-1, %eax
	movl	%r14d, %ecx
	shll	%cl, %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_19 Depth=1
	addl	-48(%rbp), %ebx
	cmpl	%r14d, %ebx
	jge	LBB0_29
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_23 Depth 2
	leaq	-176(%rbp), %rdi
	movl	%ebx, %esi
	leaq	-48(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_bitmap_get_counter
	testq	%rax, %rax
	je	LBB0_28
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	(%rax), %edi
	callq	_NEEDED
	testq	%rax, %rax
	je	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	leaq	-44(%rbp), %rdx
	movl	$1, %ecx
	callq	_bitmap_get_counter
	movl	(%rax), %edx
	testl	%edx, %edx
	jne	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	-44(%rbp), %r13d
	addl	%ebx, %r13d
	movq	%r12, %r14
	movl	%ebx, %r12d
	andl	-84(%rbp), %r12d                ## 4-byte Folded Reload
	cmpl	%r13d, %r12d
	jge	LBB0_25
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bitmap_file_set_bit
	addl	%r15d, %r12d
	cmpl	%r13d, %r12d
	jl	LBB0_23
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movl	$2, (%r13)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_bitmap_count_page
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_bitmap_set_pending
	movq	%r13, %rax
	movl	(%r13), %edx
	movq	%r14, %r12
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movl	-60(%rbp), %r14d                ## 4-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	_NEEDED_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	-44(%rbp), %eax
	cmpl	-48(%rbp), %eax
	jge	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, -48(%rbp)
	jmp	LBB0_28
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	-120(%rbp), %rdi
	callq	_bitmap_file_unmap
	jmp	LBB0_41
LBB0_17:
	xorl	%ebx, %ebx
LBB0_29:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
## %bb.40:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irq
	xorl	%ebx, %ebx
	jmp	LBB0_41
LBB0_30:
	movslq	%ebx, %rax
	cmpq	%rax, %r13
	jbe	LBB0_36
## %bb.31:
	leaq	-44(%rbp), %r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_32 Depth=1
	movslq	-44(%rbp), %rax
	movslq	%ebx, %rbx
	addq	%rax, %rbx
	cmpq	%rbx, %r13
	jbe	LBB0_36
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_bitmap_get_counter
	testq	%rax, %rax
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	cmpl	$0, (%rax)
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	_NEEDED_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	$2, %ecx
	movl	%ecx, (%rax)
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_bitmap_count_page
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_bitmap_set_pending
	jmp	LBB0_35
LBB0_36:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jle	LBB0_39
## %bb.37:
	xorl	%ebx, %ebx
	movq	_BITMAP_PAGE_DIRTY@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_set_page_attr
	incl	%ebx
	cmpl	56(%r12), %ebx
	jl	LBB0_38
LBB0_39:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irq
	movq	%r12, %rdi
	callq	_bitmap_unplug
	movq	(%r12), %rdi
	movq	(%rdi), %rax
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	*(%rax)
LBB0_41:
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BITMAP_BLOCK_SHIFT,4,2         ## @BITMAP_BLOCK_SHIFT
	.comm	_PAGE_COUNTER_RATIO,4,2         ## @PAGE_COUNTER_RATIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NEEDED_MASK,4,2                ## @NEEDED_MASK
	.comm	_BITMAP_PAGE_DIRTY,4,2          ## @BITMAP_PAGE_DIRTY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_resize                  ; -- Begin function bitmap_resize
	.p2align	2
_bitmap_resize:                         ; @bitmap_resize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x22, x1
	mov	x19, x0
	cbz	w2, LBB0_2
; %bb.1:
	mvn	w0, w2
	bl	_ffz
Lloh0:
	adrp	x8, _BITMAP_BLOCK_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BITMAP_BLOCK_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w28, w0, w8
	mov	w8, #1
	lsl	w21, w8, w28
	b	LBB0_7
LBB0_2:
	mov	x25, x20
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
	mov	w1, #8
	bl	_DIV_ROUND_UP
	ldr	x8, [x19]
	ldr	w8, [x8, #20]
	add	x9, x0, #4
	cmp	w8, #0
	csel	x0, x9, x0, eq
	mov	w1, #512
	bl	_DIV_ROUND_UP
	ldr	x8, [x19]
	str	x0, [x8, #8]
LBB0_4:
	ldr	w20, [x19, #16]
	lsl	x23, x0, #9
	mov	w24, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w21, w24, w20
	mov	x0, x22
	mov	x1, x21
	bl	_DIV_ROUND_UP_SECTOR_T
	mov	w1, #8
	bl	_DIV_ROUND_UP
	ldr	x8, [x19]
	ldr	w8, [x8, #20]
	add	x9, x0, #4
	cmp	w8, #0
	csel	x8, x9, x0, eq
	add	w20, w20, #1
	cmp	x8, x23
	b.gt	LBB0_5
; %bb.6:
	sub	w28, w20, #1
	mov	x20, x25
LBB0_7:
	mov	x0, x22
	mov	x1, x21
	bl	_DIV_ROUND_UP_SECTOR_T
	mov	x25, x0
	add	x0, sp, #88
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [x19]
	ldr	x9, [x8, #32]
	cbnz	x9, LBB0_9
; %bb.8:
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_10
LBB0_9:
	ldr	w8, [x8, #20]
	cmp	w8, #0
	cset	w2, eq
	add	x0, sp, #88
	mov	x1, x25
	bl	_bitmap_storage_alloc
	mov	x22, x0
	cbnz	w0, LBB0_41
LBB0_10:
Lloh3:
	adrp	x8, _PAGE_COUNTER_RATIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAGE_COUNTER_RATIO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x25
	bl	_DIV_ROUND_UP
	mov	x26, x0
	lsl	x0, x0, #2
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_29
; %bb.11:
	mov	x27, x0
	cbnz	w20, LBB0_13
; %bb.12:
	ldr	x0, [x19]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	w1, #1
	blr	x8
LBB0_13:
	add	x22, x19, #56
	ldr	x8, [x19, #72]
	str	x8, [sp, #104]
	str	xzr, [x19, #72]
	ldr	x0, [sp, #96]
	cbz	x0, LBB0_16
; %bb.14:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_16
; %bb.15:
	bl	_page_address
	mov	x23, x0
	ldr	x0, [x19, #64]
	bl	_page_address
	mov	x1, x0
	mov	x0, x23
	mov	w2, #4
	bl	_memcpy
LBB0_16:
	mov	x0, x22
	bl	_bitmap_file_unmap
	ldur	q0, [sp, #88]
	str	q0, [x22]
	ldr	x8, [sp, #104]
	str	x22, [sp]                       ; 8-byte Folded Spill
	str	x8, [x22, #16]
	add	x24, x19, #8
	ldur	q2, [x19, #40]
	ldur	q0, [x19, #24]
	ldur	q1, [x19, #8]
	stp	q0, q2, [sp, #48]
	str	q1, [sp, #32]
	add	x22, x19, #40
	str	x27, [x19, #48]
	stp	x26, x26, [x19, #24]
	str	w28, [x19, #16]
	str	x25, [x19, #8]
Lloh9:
	adrp	x8, _BITMAP_BLOCK_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BITMAP_BLOCK_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w8, w8, w28
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	x9, [x19]
	str	w8, [x9, #16]
	ldr	x8, [sp, #32]
	ldr	w9, [sp, #40]
	lsl	x0, x8, x9
	lsl	x25, x25, x28
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x25
	bl	_min
	mov	x27, x0
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x22
	bl	_spin_lock_irq
	cmp	w27, #1
	str	w20, [sp, #16]                  ; 4-byte Folded Spill
	mov	w26, #0
	b.lt	LBB0_27
; %bb.17:
	mov	w8, #-1
	lsl	w8, w8, w28
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x20, _NEEDED_MASK@GOTPAGE
Lloh13:
	ldr	x20, [x20, _NEEDED_MASK@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [sp, #28]
	add	w26, w8, w26
	cmp	w26, w27
	b.ge	LBB0_27
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_23 Depth 2
	add	x0, sp, #32
	add	x2, sp, #28
	mov	x1, x26
	mov	w3, #0
	bl	_bitmap_get_counter
	cbz	x0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x0]
	bl	_NEEDED
	cbz	x0, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x2, sp, #24
	mov	x0, x24
	mov	x1, x26
	mov	w3, #1
	bl	_bitmap_get_counter
	mov	x28, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldp	w9, w8, [sp, #20]               ; 4-byte Folded Reload
	and	w22, w26, w9
	add	w23, w8, w26
	cmp	w22, w23
	b.ge	LBB0_24
LBB0_23:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x26
	bl	_bitmap_file_set_bit
	add	w22, w22, w21
	cmp	w22, w23
	b.lt	LBB0_23
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w8, #2
	str	w8, [x28]
	mov	x0, x24
	mov	x1, x26
	mov	w2, #1
	bl	_bitmap_count_page
	mov	x0, x24
	mov	x1, x26
	bl	_bitmap_set_pending
	ldr	w8, [x28]
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x28]
	ldp	w8, w9, [sp, #24]
	cmp	w8, w9
	b.ge	LBB0_18
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	str	w8, [sp, #28]
	b	LBB0_18
LBB0_27:
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_30
; %bb.28:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_spin_unlock_irq
	b	LBB0_40
LBB0_29:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w22, w8
	add	x0, sp, #88
	bl	_bitmap_file_unmap
	b	LBB0_41
LBB0_30:
	cmp	x25, w26, sxtw
	b.ls	LBB0_36
; %bb.31:
Lloh17:
	adrp	x20, _NEEDED_MASK@GOTPAGE
Lloh18:
	ldr	x20, [x20, _NEEDED_MASK@GOTPAGEOFF]
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	ldrsw	x8, [sp, #24]
	add	x26, x8, w26, sxtw
	cmp	x25, x26
	b.ls	LBB0_36
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	mov	x0, x24
	mov	x1, x26
	mov	w3, #1
	bl	_bitmap_get_counter
	cbz	x0, LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	w8, [x0]
	cbnz	w8, LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=1
	ldr	w8, [x20]
	orr	w8, w8, #0x2
	str	w8, [x0]
	mov	x0, x24
	mov	x1, x26
	mov	w2, #1
	bl	_bitmap_count_page
	mov	x0, x24
	mov	x1, x26
	bl	_bitmap_set_pending
	b	LBB0_32
LBB0_36:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_39
; %bb.37:
	mov	w20, #0
Lloh19:
	adrp	x21, _BITMAP_PAGE_DIRTY@GOTPAGE
Lloh20:
	ldr	x21, [x21, _BITMAP_PAGE_DIRTY@GOTPAGEOFF]
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_set_page_attr
	add	w20, w20, #1
	ldr	w8, [x19, #56]
	cmp	w20, w8
	b.lt	LBB0_38
LBB0_39:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_spin_unlock_irq
	mov	x0, x19
	bl	_bitmap_unplug
	ldr	x0, [x19]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	w1, #0
	blr	x8
LBB0_40:
	mov	w22, #0
LBB0_41:
	mov	x0, x22
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BITMAP_BLOCK_SHIFT,4,2         ; @BITMAP_BLOCK_SHIFT
	.comm	_PAGE_COUNTER_RATIO,4,2         ; @PAGE_COUNTER_RATIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NEEDED_MASK,4,2                ; @NEEDED_MASK
	.comm	_BITMAP_PAGE_DIRTY,4,2          ; @BITMAP_PAGE_DIRTY
.subsections_via_symbols
