	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_restore_config_space
_pci_restore_config_space:              ## @pci_restore_config_space
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_PCI_HEADER_TYPE_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$10, %esi
	movl	$15, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_pci_restore_config_space_range
	movq	%rbx, %rdi
	movl	$4, %esi
	movl	$9, %edx
	movl	$10, %ecx
	xorl	%r8d, %r8d
	callq	_pci_restore_config_space_range
	movl	$3, %edx
	jmp	LBB0_4
LBB0_2:
	movq	_PCI_HEADER_TYPE_BRIDGE@GOTPCREL(%rip), %rcx
	movl	$15, %edx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$12, %esi
	movl	$15, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_pci_restore_config_space_range
	movq	%rbx, %rdi
	movl	$9, %esi
	movl	$11, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_pci_restore_config_space_range
	movl	$8, %edx
LBB0_4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pci_restore_config_space_range ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_HEADER_TYPE_NORMAL,8,3     ## @PCI_HEADER_TYPE_NORMAL
	.comm	_PCI_HEADER_TYPE_BRIDGE,8,3     ## @PCI_HEADER_TYPE_BRIDGE
	.no_dead_strip	_pci_restore_config_space
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_restore_config_space
_pci_restore_config_space:              ; @pci_restore_config_space
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PCI_HEADER_TYPE_NORMAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_HEADER_TYPE_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #10
	mov	w2, #15
	mov	w3, #0
	mov	w4, #0
	bl	_pci_restore_config_space_range
	mov	x0, x19
	mov	w1, #4
	mov	w2, #9
	mov	w3, #10
	mov	w4, #0
	bl	_pci_restore_config_space_range
	mov	w2, #3
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x9, _PCI_HEADER_TYPE_BRIDGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_HEADER_TYPE_BRIDGE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #12
	mov	w2, #15
	mov	w3, #0
	mov	w4, #0
	bl	_pci_restore_config_space_range
	mov	x0, x19
	mov	w1, #9
	mov	w2, #11
	mov	w3, #0
	mov	w4, #1
	bl	_pci_restore_config_space_range
	mov	w2, #8
	b	LBB0_5
LBB0_4:
	mov	w2, #15
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	mov	w4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pci_restore_config_space_range
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_HEADER_TYPE_NORMAL,8,3     ; @PCI_HEADER_TYPE_NORMAL
	.comm	_PCI_HEADER_TYPE_BRIDGE,8,3     ; @PCI_HEADER_TYPE_BRIDGE
	.no_dead_strip	_pci_restore_config_space
.subsections_via_symbols
