	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_pcib_mem_init
_mv_pcib_mem_init:                      ## @mv_pcib_mem_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_RMAN_ARRAY@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	leaq	8(%rdi), %r14
	movq	%rax, 8(%rdi)
	movq	%r14, %rdi
	callq	_rman_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	(%r12), %rax
	movq	%rax, (%r15)
	movq	%r15, %rdi
	callq	_rman_init
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	32(%r15), %rax
	movq	40(%r15), %rsi
	leaq	(%rsi,%rax), %rdx
	decq	%rdx
	movq	%r14, %rdi
	callq	_rman_manage_region
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	16(%r15), %rax
	movq	24(%r15), %rsi
	leaq	(%rsi,%rax), %rdx
	decq	%rdx
	movq	%r15, %rdi
	callq	_rman_manage_region
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_rman_fini
	movq	%r15, %r14
LBB0_7:
	movq	%r14, %rdi
	callq	_rman_fini
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_RMAN_ARRAY,8,3                 ## @RMAN_ARRAY
	.no_dead_strip	_mv_pcib_mem_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_pcib_mem_init
_mv_pcib_mem_init:                      ; @mv_pcib_mem_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x22, _RMAN_ARRAY@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RMAN_ARRAY@GOTPAGEOFF]
	ldr	x8, [x22]
	mov	x19, x0
	str	x8, [x19, #8]!
	mov	x0, x19
	bl	_rman_init
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x22]
	str	x8, [x20]
	mov	x0, x20
	bl	_rman_init
	cbz	w0, LBB0_3
; %bb.2:
	mov	x21, x0
	b	LBB0_6
LBB0_3:
	ldp	x8, x1, [x20, #32]
	add	x8, x1, x8
	sub	x2, x8, #1
	mov	x0, x19
	bl	_rman_manage_region
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldp	x8, x1, [x20, #16]
	add	x8, x1, x8
	sub	x2, x8, #1
	mov	x0, x20
	bl	_rman_manage_region
	mov	x21, x0
	cbz	w0, LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_rman_fini
	mov	x19, x20
LBB0_6:
	mov	x0, x19
	bl	_rman_fini
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RMAN_ARRAY,8,3                 ; @RMAN_ARRAY
	.no_dead_strip	_mv_pcib_mem_init
.subsections_via_symbols
