	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function block_bitmap_copy
_block_bitmap_copy:                     ## @block_bitmap_copy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	(%rdi), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BITMAP_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %esi
	callq	_DIV_ROUND_UP
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_lowmem_page_address
	movq	%rax, %r13
	movl	(%r14,%rbx,4), %edi
	callq	_lowmem_page_address
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_copy_page
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_BITMAP_BLOCK_SIZE,4,2          ## @BITMAP_BLOCK_SIZE
	.no_dead_strip	_block_bitmap_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function block_bitmap_copy
_block_bitmap_copy:                     ; @block_bitmap_copy
	.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	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
	ldr	w0, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BITMAP_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BITMAP_BLOCK_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sdiv	w1, w8, w9
	bl	_DIV_ROUND_UP
	cbz	w0, LBB0_3
; %bb.1:
	mov	w22, w0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_lowmem_page_address
	mov	x21, x0
	ldr	w0, [x19], #4
	bl	_lowmem_page_address
	mov	x1, x0
	mov	x0, x21
	bl	_copy_page
	subs	x22, x22, #1
	b.ne	LBB0_2
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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_BITMAP_BLOCK_SIZE,4,2          ; @BITMAP_BLOCK_SIZE
	.no_dead_strip	_block_bitmap_copy
.subsections_via_symbols
