	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quirk_pcie_aspm_write
_quirk_pcie_aspm_write:                 ## @quirk_pcie_aspm_write
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	_quirk_aspm_offset@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_GET_INDEX
	movl	(%rbx,%rax,4), %eax
	movl	%r14d, %ebx
	andl	$-4, %ebx
	cmpl	%r15d, %eax
	cmovnel	%r14d, %ebx
	testl	%eax, %eax
	cmovel	%r14d, %ebx
	movq	%r13, %rdi
	callq	_pci_domain_nr
	movl	(%r13), %esi
	movl	%eax, %edi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%ebx, %r9d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_raw_pci_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_quirk_aspm_offset,8,3          ## @quirk_aspm_offset
	.no_dead_strip	_quirk_pcie_aspm_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quirk_pcie_aspm_write
_quirk_pcie_aspm_write:                 ; @quirk_pcie_aspm_write
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _quirk_aspm_offset@GOTPAGE
Lloh1:
	ldr	x9, [x9, _quirk_aspm_offset@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x9]
	ldr	w0, [x8]
	bl	_GET_INDEX
	ldr	w8, [x24, x0, lsl #2]
	cmp	w8, w21
	ccmp	w8, #0, #4, eq
	and	w8, w19, #0xfffffffc
	csel	w19, w8, w19, ne
	mov	x0, x23
	bl	_pci_domain_nr
	ldr	w1, [x23]
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_raw_pci_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_quirk_aspm_offset,8,3          ; @quirk_aspm_offset
	.no_dead_strip	_quirk_pcie_aspm_write
.subsections_via_symbols
