	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspm_hw_l1_supported
_aspm_hw_l1_supported:                  ## @aspm_hw_l1_supported
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_PCI_EXP_LNKCAP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %rdx
	callq	_pcie_capability_read_dword
	movl	-36(%rbp), %edi
	callq	_ASPM_L1_SUPPORTED
	movl	%eax, -36(%rbp)
	movl	(%r12), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_pcie_capability_read_dword
	movl	-40(%rbp), %edi
	callq	_ASPM_L1_SUPPORTED
	movl	%eax, -40(%rbp)
	cmpl	$0, -36(%rbp)
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_is_ax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	-40(%rbp), %eax
LBB0_4:
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_EXP_LNKCAP,4,2             ## @PCI_EXP_LNKCAP
	.no_dead_strip	_aspm_hw_l1_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspm_hw_l1_supported
_aspm_hw_l1_supported:                  ; @aspm_hw_l1_supported
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x8, [x0]
	ldr	x20, [x8]
	cbz	x20, LBB0_5
; %bb.1:
Lloh0:
	adrp	x21, _PCI_EXP_LNKCAP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PCI_EXP_LNKCAP@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #8
	bl	_pcie_capability_read_dword
	ldr	w0, [sp, #8]
	bl	_ASPM_L1_SUPPORTED
	str	w0, [sp, #8]
	ldr	w1, [x21]
	add	x2, sp, #12
	mov	x0, x20
	bl	_pcie_capability_read_dword
	ldr	w0, [sp, #12]
	bl	_ASPM_L1_SUPPORTED
	str	w0, [sp, #12]
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_is_ax
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [sp, #12]
LBB0_4:
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_EXP_LNKCAP,4,2             ; @PCI_EXP_LNKCAP
	.no_dead_strip	_aspm_hw_l1_supported
.subsections_via_symbols
