	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_ops_reserve_addresses
_dma_ops_reserve_addresses:             ## @dma_ops_reserve_addresses
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rax
	movq	%rsi, %rbx
	movl	%edx, %ecx
	addq	%rsi, %rcx
	movl	%eax, %r15d
	subl	%ebx, %r15d
	cmpq	%rax, %rcx
	cmovbel	%edx, %r15d
	addq	%rsi, %r15
	movl	%ebx, %eax
	cmpq	%rax, %r15
	jbe	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	movq	_APERTURE_RANGE_PAGES@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	(%r12)
	movl	%edx, %edi
	movq	8(%r14), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %esi
	callq	___set_bit
	incl	%ebx
	cmpq	%rbx, %r15
	ja	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.comm	_APERTURE_RANGE_PAGES,4,2       ## @APERTURE_RANGE_PAGES
	.no_dead_strip	_dma_ops_reserve_addresses
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_ops_reserve_addresses
_dma_ops_reserve_addresses:             ; @dma_ops_reserve_addresses
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	x8, x8, x9
	add	x9, x1, w2, uxtw
	sub	w10, w8, w1
	cmp	x9, x8
	csel	w8, w10, w2, hi
	add	x21, x8, x1
	cmp	x21, w1, uxtw
	b.ls	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x20, x1
Lloh3:
	adrp	x22, _APERTURE_RANGE_PAGES@GOTPAGE
Lloh4:
	ldr	x22, [x22, _APERTURE_RANGE_PAGES@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	udiv	w9, w20, w8
	msub	w0, w9, w8, w20
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w1, [x8]
	bl	___set_bit
	add	w20, w20, #1
	cmp	x21, x20
	b.hi	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.comm	_APERTURE_RANGE_PAGES,4,2       ; @APERTURE_RANGE_PAGES
	.no_dead_strip	_dma_ops_reserve_addresses
.subsections_via_symbols
