	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_supported                  ## -- Begin function dma_supported
	.p2align	4, 0x90
_dma_supported:                         ## @dma_supported
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_get_dma_ops
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movl	$24, %edi
	callq	_DMA_BIT_MASK
	xorl	%r15d, %r15d
	cmpl	%r14d, %eax
	jg	LBB0_5
## %bb.2:
	movq	_iommu_sac_force@GOTPCREL(%rip), %rax
	movl	$1, %r15d
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movl	$40, %edi
	callq	_DMA_BIT_MASK
	cmpl	%r14d, %eax
	jg	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_info
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iommu_sac_force,8,3            ## @iommu_sac_force
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Force SAC with mask %Lx\n"

	.comm	_forbid_dac,8,3                 ## @forbid_dac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dma_supported                  ; -- Begin function dma_supported
	.p2align	2
_dma_supported:                         ; @dma_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_get_dma_ops
	ldr	x2, [x0]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	br	x2
LBB0_2:
	mov	w0, #24
	bl	_DMA_BIT_MASK
	cmp	w0, w20
	b.gt	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _iommu_sac_force@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iommu_sac_force@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #40
	bl	_DMA_BIT_MASK
	cmp	w0, w20
	b.le	LBB0_6
LBB0_5:
	mov	w0, #1
	b	LBB0_8
LBB0_6:
	str	x20, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_iommu_sac_force,8,3            ; @iommu_sac_force
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Force SAC with mask %Lx\n"

	.comm	_forbid_dac,8,3                 ; @forbid_dac
.subsections_via_symbols
