	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __iommu_build_inv_iommu_pages
___iommu_build_inv_iommu_pages:         ## @__iommu_build_inv_iommu_pages
	.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
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_CMD_INV_IOMMU_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_CMD_SET_TYPE
	movq	(%rbx), %rax
	orl	%r13d, 4(%rax)
	movl	%r12d, %edi
	callq	_lower_32_bits
	movq	(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movl	%r12d, %edi
	callq	_upper_32_bits
	movq	(%rbx), %rcx
	movl	%eax, 12(%rcx)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_CMD_INV_IOMMU_PAGES_SIZE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rcx)
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	_CMD_INV_IOMMU_PAGES_PDE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rcx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
	.comm	_CMD_INV_IOMMU_PAGES,4,2        ## @CMD_INV_IOMMU_PAGES
	.comm	_CMD_INV_IOMMU_PAGES_SIZE_MASK,4,2 ## @CMD_INV_IOMMU_PAGES_SIZE_MASK
	.comm	_CMD_INV_IOMMU_PAGES_PDE_MASK,4,2 ## @CMD_INV_IOMMU_PAGES_PDE_MASK
	.no_dead_strip	___iommu_build_inv_iommu_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __iommu_build_inv_iommu_pages
___iommu_build_inv_iommu_pages:         ; @__iommu_build_inv_iommu_pages
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w22, w8, w22
Lloh3:
	adrp	x8, _CMD_INV_IOMMU_PAGES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CMD_INV_IOMMU_PAGES@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_CMD_SET_TYPE
	ldr	x8, [x23]
	ldr	w9, [x8, #4]
	orr	w9, w9, w21
	str	w9, [x8, #4]
	mov	x0, x22
	bl	_lower_32_bits
	ldr	x8, [x23]
	str	w0, [x8, #8]
	mov	x0, x22
	bl	_upper_32_bits
	ldr	x8, [x23]
	str	w0, [x8, #12]
	cbz	w20, LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _CMD_INV_IOMMU_PAGES_SIZE_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CMD_INV_IOMMU_PAGES_SIZE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [x8, #8]
	orr	w9, w10, w9
	str	w9, [x8, #8]
LBB0_2:
	cbz	w19, LBB0_4
; %bb.3:
Lloh9:
	adrp	x9, _CMD_INV_IOMMU_PAGES_PDE_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CMD_INV_IOMMU_PAGES_PDE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x8, #8]
	orr	w9, w10, w9
	str	w9, [x8, #8]
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
	.comm	_CMD_INV_IOMMU_PAGES,4,2        ; @CMD_INV_IOMMU_PAGES
	.comm	_CMD_INV_IOMMU_PAGES_SIZE_MASK,4,2 ; @CMD_INV_IOMMU_PAGES_SIZE_MASK
	.comm	_CMD_INV_IOMMU_PAGES_PDE_MASK,4,2 ; @CMD_INV_IOMMU_PAGES_PDE_MASK
	.no_dead_strip	___iommu_build_inv_iommu_pages
.subsections_via_symbols
