	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_early_dump_pci_devices         ## -- Begin function early_dump_pci_devices
	.p2align	4, 0x90
_early_dump_pci_devices:                ## @early_dump_pci_devices
	.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
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_early_pci_allowed
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	movq	_PCI_CLASS_REVISION@GOTPCREL(%rip), %r12
	movq	_PCI_HEADER_TYPE@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	cmpl	$256, %r14d                     ## imm = 0x100
	je	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_4 Depth 3
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	incl	%r15d
	cmpl	$32, %r15d
	je	LBB0_9
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_4 Depth 3
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=3
	leal	1(%rbx), %eax
	cmpl	$7, %ebx
	movl	%eax, %ebx
	jae	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r12), %ecx
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_read_pci_config
	cmpl	$-1, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=3
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_early_dump_pci_device
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=3
	movl	(%r13), %ecx
	movl	%r14d, %edi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_read_pci_config_byte
	movl	$1, %ebx
	testb	$-128, %al
	jne	LBB0_4
	jmp	LBB0_8
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_CLASS_REVISION,4,2         ## @PCI_CLASS_REVISION
	.comm	_PCI_HEADER_TYPE,4,2            ## @PCI_HEADER_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_early_dump_pci_devices         ; -- Begin function early_dump_pci_devices
	.p2align	2
_early_dump_pci_devices:                ; @early_dump_pci_devices
	.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
	bl	_early_pci_allowed
	cbz	w0, LBB0_10
; %bb.1:
	mov	w19, #0
Lloh0:
	adrp	x22, _PCI_CLASS_REVISION@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PCI_CLASS_REVISION@GOTPAGEOFF]
Lloh2:
	adrp	x23, _PCI_HEADER_TYPE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PCI_HEADER_TYPE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w19, w19, #1
	cmp	w19, #256
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
	mov	w20, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=2
	add	w20, w20, #1
	cmp	w20, #32
	b.eq	LBB0_2
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
	mov	w21, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=3
	add	w8, w21, #1
	cmp	w21, #7
	mov	x21, x8
	b.hs	LBB0_4
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_5 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_read_pci_config
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_early_dump_pci_device
	cbnz	w21, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w3, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_read_pci_config_byte
	mov	w21, #1
	tbnz	w0, #7, LBB0_7
	b	LBB0_4
LBB0_10:
	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
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_CLASS_REVISION,4,2         ; @PCI_CLASS_REVISION
	.comm	_PCI_HEADER_TYPE,4,2            ; @PCI_HEADER_TYPE
.subsections_via_symbols
