	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dir2prot
_dir2prot:                              ## @dir2prot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_IOMMU_PROT_IR@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_IOMMU_PROT_IW@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edi, (%rcx)
	jne	LBB0_7
## %bb.6:
	movq	_IOMMU_PROT_IW@GOTPCREL(%rip), %rcx
	movq	_IOMMU_PROT_IR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_IOMMU_PROT_IR,4,2              ## @IOMMU_PROT_IR
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_IOMMU_PROT_IW,4,2              ## @IOMMU_PROT_IW
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.no_dead_strip	_dir2prot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dir2prot
_dir2prot:                              ; @dir2prot
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IOMMU_PROT_IR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IOMMU_PROT_IR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _IOMMU_PROT_IW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IOMMU_PROT_IW@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _IOMMU_PROT_IW@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IOMMU_PROT_IW@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _IOMMU_PROT_IR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IOMMU_PROT_IR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_IOMMU_PROT_IR,4,2              ; @IOMMU_PROT_IR
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_IOMMU_PROT_IW,4,2              ; @IOMMU_PROT_IW
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.no_dead_strip	_dir2prot
.subsections_via_symbols
