	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cap_subvendor
_cap_subvendor:                         ## @cap_subvendor
	.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_SUBVENDCAP_ID@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movl	$4, %ecx
	callq	_read_config
	movzwl	%ax, %esi
	movl	%eax, %edx
	sarl	$16, %edx
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIR_SUBVENDCAP_ID,8,3         ## @PCIR_SUBVENDCAP_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PCI Bridge subvendor=0x%04x subdevice=0x%04x"

	.no_dead_strip	_cap_subvendor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cap_subvendor
_cap_subvendor:                         ; @cap_subvendor
	.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_SUBVENDCAP_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIR_SUBVENDCAP_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x2, x8, x2
	mov	w3, #4
	bl	_read_config
	asr	w2, w0, #16
	and	w1, w0, #0xffff
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_printf
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIR_SUBVENDCAP_ID,8,3         ; @PCIR_SUBVENDCAP_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PCI Bridge subvendor=0x%04x subdevice=0x%04x"

	.no_dead_strip	_cap_subvendor
.subsections_via_symbols
