	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_update_sb               ## -- Begin function bitmap_update_sb
	.p2align	4, 0x90
_bitmap_update_sb:                      ## @bitmap_update_sb
	.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
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	cmpq	$0, 32(%rax)
	je	LBB0_3
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	12(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.4:
	movq	_KM_USER0@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_kmap_atomic
	movq	%rax, %r14
	movq	16(%rbx), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le64
	movq	%rax, 56(%r14)
	movq	(%rbx), %rdi
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	cmpq	%rdi, %rax
	jge	LBB0_6
## %bb.5:
	movq	%rax, (%rbx)
	movq	%rax, %rdi
LBB0_6:
	callq	_cpu_to_le64
	movq	%rax, 48(%r14)
	movl	8(%rbx), %edi
	callq	_cpu_to_le32
	movq	%rax, 40(%r14)
	movq	16(%rbx), %rax
	movl	16(%rax), %eax
	movq	_HZ@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %edi
	callq	_cpu_to_le32
	movq	%rax, 32(%r14)
	movq	16(%rbx), %rax
	movl	20(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r14)
	movq	16(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_cpu_to_le64
	movq	%rax, 16(%r14)
	movq	16(%rbx), %rax
	movl	24(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r14)
	movq	16(%rbx), %rax
	movl	28(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, (%r14)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_kunmap_atomic
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_page                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_KM_USER0,4,2                   ## @KM_USER0
	.comm	_HZ,4,2                         ## @HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_update_sb               ; -- Begin function bitmap_update_sb
	.p2align	2
_bitmap_update_sb:                      ; @bitmap_update_sb
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8, #32]
	cbz	x8, LBB0_4
LBB0_3:
	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
LBB0_4:
	ldr	w0, [x19, #12]
	cbz	w0, LBB0_3
; %bb.5:
Lloh0:
	adrp	x21, _KM_USER0@GOTPAGE
Lloh1:
	ldr	x21, [x21, _KM_USER0@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_kmap_atomic
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	x0, [x8]
	bl	_cpu_to_le64
	str	x0, [x20, #56]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x0, [x19]
	cmp	x8, x0
	b.ge	LBB0_7
; %bb.6:
	str	x8, [x19]
	mov	x0, x8
LBB0_7:
	bl	_cpu_to_le64
	str	x0, [x20, #48]
	ldr	w0, [x19, #8]
	bl	_cpu_to_le32
	str	x0, [x20, #40]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, #16]
Lloh2:
	adrp	x9, _HZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	sdiv	w0, w8, w9
	bl	_cpu_to_le32
	str	x0, [x20, #32]
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #20]
	bl	_cpu_to_le32
	str	x0, [x20, #24]
	ldr	x8, [x19, #16]
	ldr	x0, [x8, #8]
	bl	_cpu_to_le64
	str	x0, [x20, #16]
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #24]
	bl	_cpu_to_le32
	str	x0, [x20, #8]
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #28]
	bl	_cpu_to_le32
	str	x0, [x20]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_kunmap_atomic
	ldr	w1, [x19, #12]
	mov	x0, x19
	mov	w2, #1
	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
	b	_write_page
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_KM_USER0,4,2                   ; @KM_USER0
	.comm	_HZ,4,2                         ; @HZ
.subsections_via_symbols
