	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tboot_force_iommu              ## -- Begin function tboot_force_iommu
	.p2align	4, 0x90
_tboot_force_iommu:                     ## @tboot_force_iommu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_tboot_enabled
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	_no_iommu@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	movq	_dmar_disabled@GOTPCREL(%rip), %r14
	jne	LBB0_4
## %bb.2:
	movq	_swiotlb@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_warning
LBB0_5:
	movq	$0, (%r14)
	movq	$0, (%rbx)
	movl	$1, %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_no_iommu,8,3                   ## @no_iommu
	.comm	_swiotlb,8,3                    ## @swiotlb
	.comm	_dmar_disabled,8,3              ## @dmar_disabled
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Forcing Intel-IOMMU to enabled\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tboot_force_iommu              ; -- Begin function tboot_force_iommu
	.p2align	2
_tboot_force_iommu:                     ; @tboot_force_iommu
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_tboot_enabled
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x19, _no_iommu@GOTPAGE
Lloh1:
	ldr	x19, [x19, _no_iommu@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _swiotlb@GOTPAGE
Lloh3:
	ldr	x9, [x9, _swiotlb@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x20, _dmar_disabled@GOTPAGE
Lloh6:
	ldr	x20, [x20, _dmar_disabled@GOTPAGEOFF]
	ldr	x10, [x20]
	cmp	x8, #0
	ccmp	x9, #0, #0, eq
	ccmp	x10, #0, #0, eq
	b.eq	LBB0_3
; %bb.2:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warning
LBB0_3:
	str	xzr, [x20]
	str	xzr, [x19]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_no_iommu,8,3                   ; @no_iommu
	.comm	_swiotlb,8,3                    ; @swiotlb
	.comm	_dmar_disabled,8,3              ; @dmar_disabled
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Forcing Intel-IOMMU to enabled\n"

.subsections_via_symbols
