	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_ops_free_addresses
_dma_ops_free_addresses:                ## @dma_ops_free_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	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_APERTURE_RANGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rsi, %rax
	shrq	%cl, %rax
	movq	16(%rdi), %rcx
	movl	%eax, %edx
	movq	(%rcx,%rdx,8), %r12
	movq	_APERTURE_MAX_RANGES@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	setbe	%al
	testq	%r12, %r12
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_BUG_ON
	cmpq	%rbx, (%r15)
	ja	LBB0_2
## %bb.1:
	movl	$1, 8(%r15)
LBB0_2:
	movq	_APERTURE_RANGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_5
LBB0_3:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_5:
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rdx
	movl	(%r12), %edi
	movq	%rdx, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iommu_area_free                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_APERTURE_RANGE_SHIFT,8,3       ## @APERTURE_RANGE_SHIFT
	.comm	_APERTURE_MAX_RANGES,4,2        ## @APERTURE_MAX_RANGES
	.comm	_APERTURE_RANGE_SIZE,8,3        ## @APERTURE_RANGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.no_dead_strip	_dma_ops_free_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_free_addresses
_dma_ops_free_addresses:                ; @dma_ops_free_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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _APERTURE_RANGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _APERTURE_RANGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsr	x8, x1, x8
	ldr	x9, [x0, #16]
	ldr	x22, [x9, w8, uxtw #3]
Lloh3:
	adrp	x9, _APERTURE_MAX_RANGES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _APERTURE_MAX_RANGES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w8
	ccmp	x22, #0, #4, hi
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x21]
	cmp	x8, x20
	b.hi	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x21, #8]
LBB0_2:
Lloh6:
	adrp	x8, _APERTURE_RANGE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _APERTURE_RANGE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	udiv	x9, x20, x8
	msub	x8, x9, x8, x20
Lloh9:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	lsr	x1, x8, x9
	ldr	w0, [x22]
	mov	x2, x19
	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	_iommu_area_free
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_APERTURE_RANGE_SHIFT,8,3       ; @APERTURE_RANGE_SHIFT
	.comm	_APERTURE_MAX_RANGES,4,2        ; @APERTURE_MAX_RANGES
	.comm	_APERTURE_RANGE_SIZE,8,3        ; @APERTURE_RANGE_SIZE
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.no_dead_strip	_dma_ops_free_addresses
.subsections_via_symbols
