	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function shpc_capable
_shpc_capable:                          ## @shpc_capable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_PCI_VENDOR_ID_AMD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rdi), %rcx
	movq	_PCI_DEVICE_ID_AMD_GOLAM_7450@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_3
LBB0_2:
	movq	_PCI_CAP_ID_SHPC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pci_find_capability
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_VENDOR_ID_AMD,8,3          ## @PCI_VENDOR_ID_AMD
	.comm	_PCI_DEVICE_ID_AMD_GOLAM_7450,8,3 ## @PCI_DEVICE_ID_AMD_GOLAM_7450
	.comm	_PCI_CAP_ID_SHPC,4,2            ## @PCI_CAP_ID_SHPC
	.no_dead_strip	_shpc_capable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shpc_capable
_shpc_capable:                          ; @shpc_capable
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PCI_VENDOR_ID_AMD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_VENDOR_ID_AMD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _PCI_DEVICE_ID_AMD_GOLAM_7450@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_DEVICE_ID_AMD_GOLAM_7450@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x8, _PCI_CAP_ID_SHPC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCI_CAP_ID_SHPC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_pci_find_capability
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_VENDOR_ID_AMD,8,3          ; @PCI_VENDOR_ID_AMD
	.comm	_PCI_DEVICE_ID_AMD_GOLAM_7450,8,3 ; @PCI_DEVICE_ID_AMD_GOLAM_7450
	.comm	_PCI_CAP_ID_SHPC,4,2            ; @PCI_CAP_ID_SHPC
	.no_dead_strip	_shpc_capable
.subsections_via_symbols
