	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cap_pciaf
_cap_pciaf:                             ## @cap_pciaf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PCIR_PCIAF_CAP@GOTPCREL(%rip), %rax
	addl	(%rax), %edx
	movl	$1, %ecx
	callq	_read_config
	movq	_PCIM_PCIAFCAP_FLR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rcx, %rsi
	movq	_PCIM_PCIAFCAP_TP@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%rcx, %rdx
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIR_PCIAF_CAP,4,2             ## @PCIR_PCIAF_CAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI Advanced Features:%s%s"

	.comm	_PCIM_PCIAFCAP_FLR,4,2          ## @PCIM_PCIAFCAP_FLR
L_.str.1:                               ## @.str.1
	.asciz	" FLR"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_PCIM_PCIAFCAP_TP,4,2           ## @PCIM_PCIAFCAP_TP
L_.str.3:                               ## @.str.3
	.asciz	" TP"

	.no_dead_strip	_cap_pciaf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cap_pciaf
_cap_pciaf:                             ; @cap_pciaf
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _PCIR_PCIAF_CAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIR_PCIAF_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w2, w8, w2
	mov	w3, #1
	bl	_read_config
Lloh3:
	adrp	x8, _PCIM_PCIAFCAP_FLR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCIM_PCIAFCAP_FLR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, l_.str.1@PAGE
Lloh7:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh8:
	adrp	x10, l_.str.2@PAGE
Lloh9:
	add	x10, x10, l_.str.2@PAGEOFF
	tst	w8, w0
	csel	x1, x10, x9, eq
Lloh10:
	adrp	x8, _PCIM_PCIAFCAP_TP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PCIM_PCIAFCAP_TP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, l_.str.3@PAGE
Lloh14:
	add	x9, x9, l_.str.3@PAGEOFF
	tst	w8, w0
	csel	x2, x10, x9, eq
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIR_PCIAF_CAP,4,2             ; @PCIR_PCIAF_CAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI Advanced Features:%s%s"

	.comm	_PCIM_PCIAFCAP_FLR,4,2          ; @PCIM_PCIAFCAP_FLR
l_.str.1:                               ; @.str.1
	.asciz	" FLR"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_PCIM_PCIAFCAP_TP,4,2           ; @PCIM_PCIAFCAP_TP
l_.str.3:                               ; @.str.3
	.asciz	" TP"

	.no_dead_strip	_cap_pciaf
.subsections_via_symbols
