	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmar_bus_dma_is_dev_disabled
_dmar_bus_dma_is_dev_disabled:          ## @dmar_bus_dma_is_dev_disabled
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, -180(%rbp)                ## 4-byte Spill
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_kern_getenv
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	leaq	_dmar_bus_dma_is_dev_disabled.bounce_str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	_dmar_bus_dma_is_dev_disabled.dmar_str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_3:
	movl	$1, %r15d
LBB0_5:
	movq	%r14, %rdi
	callq	_freeenv
	movl	%r15d, %r14d
LBB0_6:
	movl	%r12d, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	leaq	-176(%rbp), %r15
	movq	%r15, %rdi
	movl	$128, %esi
	movl	%r13d, %ecx
	movl	-180(%rbp), %r8d                ## 4-byte Reload
	movl	%ebx, %r9d
	callq	_snprintf
	movq	%r15, %rdi
	callq	_kern_getenv
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	%rax, %rbx
	leaq	_dmar_bus_dma_is_dev_disabled.bounce_str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	_dmar_bus_dma_is_dev_disabled.dmar_str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_8:
	movl	$1, %r14d
LBB0_11:
	movq	%rbx, %rdi
	callq	_freeenv
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%r14d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_dmar_bus_dma_is_dev_disabled.bounce_str: ## @dmar_bus_dma_is_dev_disabled.bounce_str
	.asciz	"bounce"

_dmar_bus_dma_is_dev_disabled.dmar_str: ## @dmar_bus_dma_is_dev_disabled.dmar_str
	.asciz	"dmar"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hw.busdma.default"

L_.str.1:                               ## @.str.1
	.asciz	"hw.busdma.pci%d.%d.%d.%d"

	.no_dead_strip	_dmar_bus_dma_is_dev_disabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmar_bus_dma_is_dev_disabled
_dmar_bus_dma_is_dev_disabled:          ; @dmar_bus_dma_is_dev_disabled
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_kern_getenv
	cbz	x0, LBB0_3
; %bb.1:
	mov	x24, x0
Lloh5:
	adrp	x1, _dmar_bus_dma_is_dev_disabled.bounce_str@PAGE
Lloh6:
	add	x1, x1, _dmar_bus_dma_is_dev_disabled.bounce_str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh7:
	adrp	x1, _dmar_bus_dma_is_dev_disabled.dmar_str@PAGE
Lloh8:
	add	x1, x1, _dmar_bus_dma_is_dev_disabled.dmar_str@PAGEOFF
	mov	x0, x24
	bl	_strcmp
	mov	w19, #0
	b	LBB0_5
LBB0_3:
	mov	w19, #0
	b	LBB0_6
LBB0_4:
	mov	w19, #1
LBB0_5:
	mov	x0, x24
	bl	_freeenv
LBB0_6:
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #128
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	bl	_snprintf
	add	x0, sp, #8
	bl	_kern_getenv
	cbz	x0, LBB0_12
; %bb.7:
	mov	x20, x0
Lloh11:
	adrp	x1, _dmar_bus_dma_is_dev_disabled.bounce_str@PAGE
Lloh12:
	add	x1, x1, _dmar_bus_dma_is_dev_disabled.bounce_str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.8:
Lloh13:
	adrp	x1, _dmar_bus_dma_is_dev_disabled.dmar_str@PAGE
Lloh14:
	add	x1, x1, _dmar_bus_dma_is_dev_disabled.dmar_str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.9:
	mov	w19, #0
	b	LBB0_11
LBB0_10:
	mov	w19, #1
LBB0_11:
	mov	x0, x20
	bl	_freeenv
LBB0_12:
	ldur	x8, [x29, #-56]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_dmar_bus_dma_is_dev_disabled.bounce_str: ; @dmar_bus_dma_is_dev_disabled.bounce_str
	.asciz	"bounce"

_dmar_bus_dma_is_dev_disabled.dmar_str: ; @dmar_bus_dma_is_dev_disabled.dmar_str
	.asciz	"dmar"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hw.busdma.default"

l_.str.1:                               ; @.str.1
	.asciz	"hw.busdma.pci%d.%d.%d.%d"

	.no_dead_strip	_dmar_bus_dma_is_dev_disabled
.subsections_via_symbols
