	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_exp_set_dev_base
_pci_exp_set_dev_base:                  ## @pci_exp_set_dev_base
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	shll	$20, %esi
	orl	%edi, %esi
	shll	$12, %ebx
	orl	%esi, %ebx
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	_mmcfg_last_accessed_device@GOTPCREL(%rip), %rcx
	movq	_mmcfg_last_accessed_cpu@GOTPCREL(%rip), %rdx
	cmpq	%rbx, (%rcx)
	jne	LBB0_3
## %bb.1:
	cmpl	(%rdx), %eax
	jne	LBB0_3
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, (%rcx)
	movl	%eax, (%rdx)
	movq	_FIX_PCIE_MCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_fixmap_nocache             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mmcfg_last_accessed_device,8,3 ## @mmcfg_last_accessed_device
	.comm	_mmcfg_last_accessed_cpu,4,2    ## @mmcfg_last_accessed_cpu
	.comm	_FIX_PCIE_MCFG,4,2              ## @FIX_PCIE_MCFG
	.no_dead_strip	_pci_exp_set_dev_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_exp_set_dev_base
_pci_exp_set_dev_base:                  ; @pci_exp_set_dev_base
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	orr	w8, w0, w1, lsl #20
	orr	w19, w8, w2, lsl #12
	bl	_smp_processor_id
Lloh0:
	adrp	x8, _mmcfg_last_accessed_device@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mmcfg_last_accessed_device@GOTPAGEOFF]
	ldr	x10, [x8]
Lloh2:
	adrp	x9, _mmcfg_last_accessed_cpu@GOTPAGE
Lloh3:
	ldr	x9, [x9, _mmcfg_last_accessed_cpu@GOTPAGEOFF]
	ldr	w11, [x9]
	cmp	x10, x19
	ccmp	w0, w11, #0, eq
	b.eq	LBB0_2
; %bb.1:
	str	x19, [x8]
	str	w0, [x9]
Lloh4:
	adrp	x8, _FIX_PCIE_MCFG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FIX_PCIE_MCFG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_fixmap_nocache
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_mmcfg_last_accessed_device,8,3 ; @mmcfg_last_accessed_device
	.comm	_mmcfg_last_accessed_cpu,4,2    ; @mmcfg_last_accessed_cpu
	.comm	_FIX_PCIE_MCFG,4,2              ; @FIX_PCIE_MCFG
	.no_dead_strip	_pci_exp_set_dev_base
.subsections_via_symbols
