	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_pcib_init_bridge
_mv_pcib_init_bridge:                   ## @mv_pcib_init_bridge
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %r13d
	movl	4(%rdi), %eax
	leal	-1(%r13,%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	8(%rdi), %edi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	12(%r14), %eax
	leal	-1(%rdi,%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	16(%r14), %edi
	movq	_PCIR_IOBASEL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r13d, %r9d
	sarl	$8, %r9d
	movl	$1, (%rsp)
	movl	%esi, %ebx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_IOBASEH_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	sarl	$16, %r13d
	movl	$2, (%rsp)
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%r13d, %r9d
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_IOLIMITL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r9d
	sarl	$8, %r9d
	movl	$1, (%rsp)
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edx
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_IOLIMITH_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	sarl	$16, %ebx
	movl	%ebx, %r9d
	movl	$2, (%rsp)
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_MEMBASE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	sarl	$16, %r9d
	movl	$2, (%rsp)
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_MEMLIMIT_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	sarl	$16, %r9d
	movl	$2, (%rsp)
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_PMBASEL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$2, (%rsp)
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	$16, %r9d
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_PMBASEH_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$4, (%rsp)
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	xorl	%r9d, %r9d
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_PMLIMITL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$2, (%rsp)
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	$15, %r9d
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_PMLIMITH_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$4, (%rsp)
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	xorl	%r9d, %r9d
	callq	_mv_pcib_write_config
	movl	16(%r14), %edi
	movq	_PCIR_SECBUS_1@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	$1, %r9d
	callq	_mv_pcib_read_config
	movq	_PCI_SLOTMAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv_pcib_init                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIR_IOBASEL_1,4,2             ## @PCIR_IOBASEL_1
	.comm	_PCIR_IOBASEH_1,4,2             ## @PCIR_IOBASEH_1
	.comm	_PCIR_IOLIMITL_1,4,2            ## @PCIR_IOLIMITL_1
	.comm	_PCIR_IOLIMITH_1,4,2            ## @PCIR_IOLIMITH_1
	.comm	_PCIR_MEMBASE_1,4,2             ## @PCIR_MEMBASE_1
	.comm	_PCIR_MEMLIMIT_1,4,2            ## @PCIR_MEMLIMIT_1
	.comm	_PCIR_PMBASEL_1,4,2             ## @PCIR_PMBASEL_1
	.comm	_PCIR_PMBASEH_1,4,2             ## @PCIR_PMBASEH_1
	.comm	_PCIR_PMLIMITL_1,4,2            ## @PCIR_PMLIMITL_1
	.comm	_PCIR_PMLIMITH_1,4,2            ## @PCIR_PMLIMITH_1
	.comm	_PCIR_SECBUS_1,4,2              ## @PCIR_SECBUS_1
	.comm	_PCI_SLOTMAX,4,2                ## @PCI_SLOTMAX
	.no_dead_strip	_mv_pcib_init_bridge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_pcib_init_bridge
_mv_pcib_init_bridge:                   ; @mv_pcib_init_bridge
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldp	w25, w8, [x0]
	add	w8, w25, w8
	sub	w26, w8, #1
	ldp	w24, w8, [x0, #8]
	add	w8, w24, w8
	sub	w23, w8, #1
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _PCIR_IOBASEL_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIR_IOBASEL_1@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	asr	w5, w25, #8
	mov	w6, #1
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _PCIR_IOBASEH_1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCIR_IOBASEH_1@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	asr	w5, w25, #16
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w6, #2
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh6:
	adrp	x8, _PCIR_IOLIMITL_1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCIR_IOLIMITL_1@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	asr	w5, w26, #8
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w6, #1
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh9:
	adrp	x8, _PCIR_IOLIMITH_1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PCIR_IOLIMITH_1@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	asr	w5, w26, #16
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w6, #2
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh12:
	adrp	x8, _PCIR_MEMBASE_1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCIR_MEMBASE_1@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	asr	w5, w24, #16
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w6, #2
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh15:
	adrp	x8, _PCIR_MEMLIMIT_1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PCIR_MEMLIMIT_1@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	asr	w5, w23, #16
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w6, #2
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh18:
	adrp	x8, _PCIR_PMBASEL_1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCIR_PMBASEL_1@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w5, #16
	mov	w6, #2
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh21:
	adrp	x8, _PCIR_PMBASEH_1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PCIR_PMBASEH_1@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #4
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh24:
	adrp	x8, _PCIR_PMLIMITL_1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PCIR_PMLIMITL_1@GOTPAGEOFF]
Lloh26:
	ldr	w4, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w5, #15
	mov	w6, #2
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh27:
	adrp	x8, _PCIR_PMLIMITH_1@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PCIR_PMLIMITH_1@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w5, #0
	mov	w6, #4
	bl	_mv_pcib_write_config
	ldr	w0, [x19, #16]
Lloh30:
	adrp	x8, _PCIR_SECBUS_1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PCIR_SECBUS_1@GOTPAGEOFF]
Lloh32:
	ldr	w4, [x8]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w5, #1
	bl	_mv_pcib_read_config
	mov	x1, x0
Lloh33:
	adrp	x8, _PCI_SLOTMAX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PCI_SLOTMAX@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_mv_pcib_init
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIR_IOBASEL_1,4,2             ; @PCIR_IOBASEL_1
	.comm	_PCIR_IOBASEH_1,4,2             ; @PCIR_IOBASEH_1
	.comm	_PCIR_IOLIMITL_1,4,2            ; @PCIR_IOLIMITL_1
	.comm	_PCIR_IOLIMITH_1,4,2            ; @PCIR_IOLIMITH_1
	.comm	_PCIR_MEMBASE_1,4,2             ; @PCIR_MEMBASE_1
	.comm	_PCIR_MEMLIMIT_1,4,2            ; @PCIR_MEMLIMIT_1
	.comm	_PCIR_PMBASEL_1,4,2             ; @PCIR_PMBASEL_1
	.comm	_PCIR_PMBASEH_1,4,2             ; @PCIR_PMBASEH_1
	.comm	_PCIR_PMLIMITL_1,4,2            ; @PCIR_PMLIMITL_1
	.comm	_PCIR_PMLIMITH_1,4,2            ; @PCIR_PMLIMITH_1
	.comm	_PCIR_SECBUS_1,4,2              ; @PCIR_SECBUS_1
	.comm	_PCI_SLOTMAX,4,2                ; @PCI_SLOTMAX
	.no_dead_strip	_mv_pcib_init_bridge
.subsections_via_symbols
