	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_pci
_show_pci:                              ## @show_pci
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	callq	_to_pci_dev
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r15, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %r12
	addq	%r15, %r12
	movq	%r13, %rdi
	movl	%r14d, %esi
	leaq	-44(%rbp), %rdx
	callq	_pci_read_config_dword
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r12, %rbx
	leal	4(%r14), %esi
	movq	%r13, %rdi
	leaq	-44(%rbp), %r12
	movq	%r12, %rdx
	callq	_pci_read_config_dword
	movl	-44(%rbp), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %r15
	addq	%rbx, %r15
	leal	8(%r14), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_pci_read_config_dword
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r15, %rbx
	leal	12(%r14), %esi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_pci_read_config_dword
	movl	-44(%rbp), %edx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	movw	$10, (%rax,%rbx)
	leaq	(%rax,%rbx), %r15
	incq	%r15
	addl	$16, %r14d
	cmpl	$256, %r14d                     ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	subl	-56(%rbp), %r15d                ## 4-byte Folded Reload
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%08X] "

L_.str.1:                               ## @.str.1
	.asciz	"%08X "

	.no_dead_strip	_show_pci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_pci
_show_pci:                              ; @show_pci
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	bl	_to_pci_dev
	mov	x20, x0
	mov	w21, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	mov	w25, #10
	mov	x24, x19
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	x21, [sp]
	mov	x0, x24
	mov	x1, x22
	bl	_sprintf
	add	x24, x24, w0, sxtw
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
	str	x8, [sp]
	mov	x0, x24
	mov	x1, x23
	bl	_sprintf
	add	x24, x24, w0, sxtw
	add	w1, w21, #4
	add	x2, sp, #12
	mov	x0, x20
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
	str	x8, [sp]
	mov	x0, x24
	mov	x1, x23
	bl	_sprintf
	add	x24, x24, w0, sxtw
	add	w1, w21, #8
	add	x2, sp, #12
	mov	x0, x20
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
	str	x8, [sp]
	mov	x0, x24
	mov	x1, x23
	bl	_sprintf
	add	x24, x24, w0, sxtw
	add	w1, w21, #12
	add	x2, sp, #12
	mov	x0, x20
	bl	_pci_read_config_dword
	ldr	w8, [sp, #12]
	str	x8, [sp]
	mov	x0, x24
	mov	x1, x23
	bl	_sprintf
	add	x24, x24, w0, sxtw
	strh	w25, [x24], #1
	add	w21, w21, #16
	cmp	w21, #256
	b.ne	LBB0_1
; %bb.2:
	sub	w0, w24, w19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%08X] "

l_.str.1:                               ; @.str.1
	.asciz	"%08X "

	.no_dead_strip	_show_pci
.subsections_via_symbols
