	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iommu_unmap_page
_iommu_unmap_page:                      ## @iommu_unmap_page
	.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, %rbx
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_is_power_of_2
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_BUG_ON
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax
	movq	%rax, %rcx
	negq	%rcx
	andq	%rcx, %rbx
	addq	%rax, %rbx
	addq	%rax, %r15
	cmpq	%r14, %r15
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-48(%rbp), %rdx
	callq	_fetch_pte
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	-48(%rbp), %rdi
	callq	_PAGE_SIZE_PTE_COUNT
	testl	%eax, %eax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %esi
	shlq	$3, %rsi
	movq	%r13, %rdi
	callq	___bzero
	jmp	LBB0_6
LBB0_7:
	testq	%r15, %r15
	je	LBB0_1
## %bb.8:
	movq	%r15, %rdi
	callq	_is_power_of_2
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	jmp	LBB0_9
LBB0_1:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
LBB0_9:
	callq	_BUG_ON
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_iommu_unmap_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iommu_unmap_page
_iommu_unmap_page:                      ; @iommu_unmap_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x2
	bl	_is_power_of_2
	cmp	w0, #0
	cset	w0, eq
	bl	_BUG_ON
	mov	x19, #0
	cbnz	x20, LBB0_2
	b	LBB0_7
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	neg	x9, x8
	and	x9, x22, x9
	add	x22, x9, x8
	add	x19, x8, x19
	cmp	x19, x20
	b.hs	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_fetch_pte
	cbz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	ldr	x0, [sp, #8]
	bl	_PAGE_SIZE_PTE_COUNT
	cmp	w0, #1
	b.lt	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, w0
	lsl	x1, x8, #3
	mov	x0, x23
	bl	_bzero
	b	LBB0_1
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_is_power_of_2
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	bl	_BUG_ON
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_iommu_unmap_page
.subsections_via_symbols
