	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function legacy_pcib_identify
_legacy_pcib_identify:                  ## @legacy_pcib_identify
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_pci_cfgregopen
	testq	%rax, %rax
	je	LBB0_32
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_devclass_find
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_devclass_get_device
	testq	%rax, %rax
	jne	LBB0_32
LBB0_3:
	movq	_PCI_SLOTMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movb	$1, %cl
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
LBB0_27:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%cl
	movl	$1, %r13d
	testb	%cl, -84(%rbp)                  ## 1-byte Folded Reload
	movl	$0, %ecx
	je	LBB0_28
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_13 Depth 3
                                        ##         Child Loop BB0_18 Depth 4
	testl	%eax, %eax
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	js	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=2
	leal	1(%r14), %ecx
	movq	_PCI_SLOTMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	movl	%ecx, %r14d
	jge	LBB0_27
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_13 Depth 3
                                        ##         Child Loop BB0_18 Depth 4
	movq	_PCIR_HDRTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_legacy_pcib_read_config
	movq	_PCIM_HDRTYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_PCI_MAXHDRTYPE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jg	LBB0_26
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r15d, %r15d
	movl	$0, %ebx
	movq	_PCIM_MFDEV@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	$0, %ebx
	cmpl	$255, %eax
	je	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	_PCI_FUNCMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	js	LBB0_26
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_13
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=3
	movq	-80(%rbp), %rdi
	movq	_M_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	testq	%r13, %r13
	je	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=3
	movl	-64(%rbp), %ecx
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	$100, %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_BUS_ADD_CHILD
	movl	%eax, %ebx
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_device_set_desc
	movl	-64(%rbp), %esi
	movl	%ebx, %edi
	callq	_legacy_set_pcibus
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_legacy_set_pcislot
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_legacy_set_pcifunc
	cmpl	$304447622, %r12d               ## imm = 0x12258086
	movl	$1, %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmovel	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$-2067496826, %r12d             ## imm = 0x84C48086
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	cmovel	%ecx, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=3
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=3
	leal	1(%r15), %eax
	cmpl	%ebx, %r15d
	movl	%eax, %r15d
	je	LBB0_26
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_18 Depth 4
	movq	_PCIR_DEVVENDOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	$4, %r9d
	callq	_legacy_pcib_read_config
	cmpl	$-1, %eax
	je	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=3
	movl	%eax, %r12d
	movq	_PCIR_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	$1, %r9d
	callq	_legacy_pcib_read_config
	movl	%eax, %ebx
	movq	_PCIR_SUBCLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edi, %edi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	movl	$1, %r9d
	callq	_legacy_pcib_read_config
	leaq	-64(%rbp), %rcx
	movq	%rcx, (%rsp)
	movl	%r13d, %edi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	callq	_legacy_pcib_is_host_bridge
	testq	%rax, %rax
	je	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	%rax, %r13
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	leaq	-80(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	callq	_device_get_children
	testq	%rax, %rax
	jne	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=3
	cmpl	$0, -72(%rbp)
	jle	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=3
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ##       Parent Loop BB0_13 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	-80(%rbp), %rax
	movl	-4(%rax,%rbx,4), %edi
	callq	_device_get_name
	movl	%eax, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=4
	movq	-80(%rbp), %rax
	movl	-4(%rax,%rbx,4), %edi
	callq	_legacy_get_pcibus
	cmpl	-64(%rbp), %eax
	movl	$0, %eax
	cmoveq	%rax, %r13
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=4
	testq	%r13, %r13
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=4
	leaq	1(%rbx), %rax
	movslq	-72(%rbp), %rcx
	cmpq	%rcx, %rbx
	movq	%rax, %rbx
	jl	LBB0_18
	jmp	LBB0_22
LBB0_28:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_32
## %bb.29:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.30:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_31:
	leaq	L_.str.1(%rip), %rdx
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	$100, %esi
	xorl	%ecx, %ecx
	callq	_BUS_ADD_CHILD
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_legacy_set_pcibus
LBB0_32:
	addq	$56, %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	"pci"

	.comm	_PCI_SLOTMAX,4,2                ## @PCI_SLOTMAX
	.comm	_PCIR_HDRTYPE,4,2               ## @PCIR_HDRTYPE
	.comm	_PCIM_HDRTYPE,4,2               ## @PCIM_HDRTYPE
	.comm	_PCI_MAXHDRTYPE,4,2             ## @PCI_MAXHDRTYPE
	.comm	_PCIM_MFDEV,4,2                 ## @PCIM_MFDEV
	.comm	_PCI_FUNCMAX,4,2                ## @PCI_FUNCMAX
	.comm	_PCIR_DEVVENDOR,4,2             ## @PCIR_DEVVENDOR
	.comm	_PCIR_CLASS,4,2                 ## @PCIR_CLASS
	.comm	_PCIR_SUBCLASS,4,2              ## @PCIR_SUBCLASS
L_.str.1:                               ## @.str.1
	.asciz	"pcib"

	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.comm	_bootverbose,8,3                ## @bootverbose
L_str:                                  ## @str
	.asciz	"legacy_pcib_identify: no bridge found, adding pcib0 anyway"

	.no_dead_strip	_legacy_pcib_identify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function legacy_pcib_identify
_legacy_pcib_identify:                  ; @legacy_pcib_identify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w1, [sp, #8]                    ; 4-byte Folded Spill
	bl	_pci_cfgregopen
	cbz	x0, LBB0_34
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_devclass_find
	cbz	w0, LBB0_3
; %bb.2:
	mov	w1, #0
	bl	_devclass_get_device
	cbnz	x0, LBB0_34
LBB0_3:
	mov	w27, #0
	str	wzr, [sp, #4]                   ; 4-byte Folded Spill
	mov	w21, #0
Lloh2:
	adrp	x8, _PCI_SLOTMAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PCI_SLOTMAX@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w10, #1
Lloh5:
	adrp	x26, _PCIR_DEVVENDOR@GOTPAGE
Lloh6:
	ldr	x26, [x26, _PCIR_DEVVENDOR@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str.1@PAGE
Lloh8:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [sp]                       ; 4-byte Folded Reload
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w28, #0
	cset	w9, ne
	and	w9, w10, w9
	mov	w21, #1
	mov	w10, #0
	tbz	w9, #0, LBB0_30
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_20 Depth 3
                                        ;         Child Loop BB0_25 Depth 4
	tbnz	w8, #31, LBB0_29
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w10, [sp]                       ; 4-byte Folded Spill
	mov	w22, #0
	mov	x28, x21
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w9, w22, #1
Lloh9:
	adrp	x8, _PCI_SLOTMAX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCI_SLOTMAX@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w22, w8
	mov	x22, x9
	b.ge	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_20 Depth 3
                                        ;         Child Loop BB0_25 Depth 4
Lloh12:
	adrp	x8, _PCIR_HDRTYPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCIR_HDRTYPE@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	w0, #0
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	w5, #1
	bl	_legacy_pcib_read_config
Lloh15:
	adrp	x8, _PCIM_HDRTYPE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PCIM_HDRTYPE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh18:
	adrp	x9, _PCI_MAXHDRTYPE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PCI_MAXHDRTYPE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
Lloh21:
	adrp	x8, _PCIM_MFDEV@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PCIM_MFDEV@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	cbz	w27, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w0, #255
	b.ne	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w19, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=2
Lloh24:
	adrp	x8, _PCI_FUNCMAX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PCI_FUNCMAX@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
	tbnz	w19, #31, LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w23, #0
	b	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_20 Depth=3
	ldr	x0, [sp, #16]
Lloh27:
	adrp	x8, _M_TEMP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _M_TEMP@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_free
	cbz	x25, LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_20 Depth=3
	ldr	w3, [sp, #28]
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	mov	w1, #100
	mov	x2, x20
	bl	_BUS_ADD_CHILD
	mov	x26, x0
	mov	x1, x25
	bl	_device_set_desc
	ldr	w1, [sp, #28]
	mov	x0, x26
	bl	_legacy_set_pcibus
	mov	x0, x26
	mov	x1, x22
	bl	_legacy_set_pcislot
	mov	x0, x26
	mov	x1, x23
	bl	_legacy_set_pcifunc
	mov	w8, #32902
	movk	w8, #4645, lsl #16
	cmp	w24, w8
	csinc	w28, w28, wzr, ne
	mov	w8, #32902
	movk	w8, #33988, lsl #16
	cmp	w24, w8
	csinc	w27, w27, wzr, ne
	mov	w8, #1
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=3
Lloh30:
	adrp	x26, _PCIR_DEVVENDOR@GOTPAGE
Lloh31:
	ldr	x26, [x26, _PCIR_DEVVENDOR@GOTPAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=3
	add	w8, w23, #1
	cmp	w23, w19
	mov	x23, x8
	b.eq	LBB0_8
LBB0_20:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_25 Depth 4
	ldr	w4, [x26]
	mov	w0, #0
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	w5, #4
	bl	_legacy_pcib_read_config
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=3
	mov	x24, x0
Lloh32:
	adrp	x8, _PCIR_CLASS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PCIR_CLASS@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
	mov	w0, #0
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	w5, #1
	bl	_legacy_pcib_read_config
	mov	x25, x0
Lloh35:
	adrp	x8, _PCIR_SUBCLASS@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PCIR_SUBCLASS@GOTPAGEOFF]
Lloh37:
	ldr	w4, [x8]
	mov	w0, #0
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	w5, #1
	bl	_legacy_pcib_read_config
	mov	x5, x0
	add	x6, sp, #28
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	bl	_legacy_pcib_is_host_bridge
	cbz	x0, LBB0_19
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=3
	mov	x25, x0
	add	x1, sp, #16
	add	x2, sp, #12
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_device_get_children
	cbnz	x0, LBB0_17
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=3
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=3
	mov	x26, #0
LBB0_25:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ;       Parent Loop BB0_20 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x8, [sp, #16]
	ldr	w0, [x8, x26, lsl #2]
	bl	_device_get_name
	mov	x1, x20
	bl	_strcmp
	cbnz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=4
	ldr	x8, [sp, #16]
	ldr	w0, [x8, x26, lsl #2]
	bl	_legacy_get_pcibus
	ldr	w8, [sp, #28]
	cmp	w0, w8
	csel	x25, xzr, x25, eq
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=4
	cbz	x25, LBB0_16
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=4
	add	x26, x26, #1
	ldrsw	x8, [sp, #12]
	cmp	x26, x8
	b.lt	LBB0_25
	b	LBB0_16
LBB0_29:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x21
	b	LBB0_5
LBB0_30:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cbnz	w8, LBB0_34
; %bb.31:
Lloh38:
	adrp	x8, _bootverbose@GOTPAGE
Lloh39:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cbz	x8, LBB0_33
; %bb.32:
Lloh41:
	adrp	x0, l_str@PAGE
Lloh42:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_33:
Lloh43:
	adrp	x2, l_.str.1@PAGE
Lloh44:
	add	x2, x2, l_.str.1@PAGEOFF
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	mov	w1, #100
	mov	w3, #0
	bl	_BUS_ADD_CHILD
	mov	w1, #0
	bl	_legacy_set_pcibus
LBB0_34:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pci"

	.comm	_PCI_SLOTMAX,4,2                ; @PCI_SLOTMAX
	.comm	_PCIR_HDRTYPE,4,2               ; @PCIR_HDRTYPE
	.comm	_PCIM_HDRTYPE,4,2               ; @PCIM_HDRTYPE
	.comm	_PCI_MAXHDRTYPE,4,2             ; @PCI_MAXHDRTYPE
	.comm	_PCIM_MFDEV,4,2                 ; @PCIM_MFDEV
	.comm	_PCI_FUNCMAX,4,2                ; @PCI_FUNCMAX
	.comm	_PCIR_DEVVENDOR,4,2             ; @PCIR_DEVVENDOR
	.comm	_PCIR_CLASS,4,2                 ; @PCIR_CLASS
	.comm	_PCIR_SUBCLASS,4,2              ; @PCIR_SUBCLASS
l_.str.1:                               ; @.str.1
	.asciz	"pcib"

	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.comm	_bootverbose,8,3                ; @bootverbose
l_str:                                  ; @str
	.asciz	"legacy_pcib_identify: no bridge found, adding pcib0 anyway"

	.no_dead_strip	_legacy_pcib_identify
.subsections_via_symbols
