	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_acs_enabled                ## -- Begin function pci_acs_enabled
	.p2align	4, 0x90
_pci_acs_enabled:                       ## @pci_acs_enabled
	.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	_pci_dev_specific_acs_enabled
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	setne	%al
	movzbl	%al, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	_pci_is_pcie
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	%rbx, %rdi
	callq	_pci_pcie_type
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_8
## %bb.4:
	movl	$197, %ecx
	btl	%eax, %ecx
	jb	LBB0_7
## %bb.5:
	movl	$56, %ecx
	btl	%eax, %ecx
	jb	LBB0_9
	jmp	LBB0_6
LBB0_7:
	cmpl	$0, (%rbx)
	je	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pci_acs_flags_enabled          ## TAILCALL
LBB0_8:
	movl	$1, %r15d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_acs_enabled                ; -- Begin function pci_acs_enabled
	.p2align	2
_pci_acs_enabled:                       ; @pci_acs_enabled
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_pci_dev_specific_acs_enabled
	tbnz	w0, #31, LBB0_3
; %bb.1:
	cmp	w0, #0
	cset	w0, ne
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	bl	_pci_is_pcie
	cbz	w0, LBB0_2
; %bb.4:
	mov	x0, x20
	bl	_pci_pcie_type
	sub	w8, w0, #128
	cmp	w8, #8
	b.hi	LBB0_10
; %bb.5:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #197
	tst	w8, w9
	b.ne	LBB0_8
; %bb.6:
	tst	w8, #0x38
	b.eq	LBB0_9
; %bb.7:
	mov	w0, #0
	b	LBB0_2
LBB0_8:
	ldr	w8, [x20]
	cbz	w8, LBB0_10
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_acs_flags_enabled
LBB0_10:
	mov	w0, #1
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
