	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_pcib_hw_cfginit
_mv_pcib_hw_cfginit:                    ## @mv_pcib_hw_cfginit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpb	$0, _mv_pcib_hw_cfginit.opened(%rip)
	jne	LBB0_2
## %bb.1:
	movq	_MTX_SPIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_pcicfg_mtx@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	movb	$1, _mv_pcib_hw_cfginit.opened(%rip)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mv_pcib_hw_cfginit.opened,1,2 ## @mv_pcib_hw_cfginit.opened
	.comm	_pcicfg_mtx,4,2                 ## @pcicfg_mtx
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pcicfg"

	.comm	_MTX_SPIN,4,2                   ## @MTX_SPIN
	.no_dead_strip	_mv_pcib_hw_cfginit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_pcib_hw_cfginit
_mv_pcib_hw_cfginit:                    ; @mv_pcib_hw_cfginit
	.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
	adrp	x19, _mv_pcib_hw_cfginit.opened@PAGE
	ldrb	w8, [x19, _mv_pcib_hw_cfginit.opened@PAGEOFF]
	tbnz	w8, #0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MTX_SPIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTX_SPIN@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, _pcicfg_mtx@GOTPAGE
Lloh4:
	ldr	x0, [x0, _pcicfg_mtx@GOTPAGEOFF]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_mtx_init
	mov	w8, #1
	strb	w8, [x19, _mv_pcib_hw_cfginit.opened@PAGEOFF]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mv_pcib_hw_cfginit.opened,1,2 ; @mv_pcib_hw_cfginit.opened
	.comm	_pcicfg_mtx,4,2                 ; @pcicfg_mtx
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pcicfg"

	.comm	_MTX_SPIN,4,2                   ; @MTX_SPIN
	.no_dead_strip	_mv_pcib_hw_cfginit
.subsections_via_symbols
