	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multipath_wait_for_pg_init_completion
_multipath_wait_for_pg_init_completion: ## @multipath_wait_for_pg_init_completion
	.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, %r14
	movq	_wait@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_DEFINE_WAIT
	movq	_TASK_UNINTERRUPTIBLE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_prepare_to_wait
	leaq	4(%r14), %rbx
	movq	%rbx, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_wait@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_io_schedule
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_prepare_to_wait
	movq	%rbx, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	jne	LBB0_2
LBB0_3:
	movq	_wait@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_finish_wait                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ## @TASK_UNINTERRUPTIBLE
	.no_dead_strip	_multipath_wait_for_pg_init_completion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multipath_wait_for_pg_init_completion
_multipath_wait_for_pg_init_completion: ; @multipath_wait_for_pg_init_completion
	.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	x19, x0
Lloh0:
	adrp	x20, _wait@GOTPAGE
Lloh1:
	ldr	x20, [x20, _wait@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_DEFINE_WAIT
Lloh2:
	adrp	x22, _TASK_UNINTERRUPTIBLE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TASK_UNINTERRUPTIBLE@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_prepare_to_wait
	add	x20, x19, #4
	mov	x0, x20
	bl	_atomic_read
	cbz	w0, LBB0_3
; %bb.1:
Lloh4:
	adrp	x21, _wait@GOTPAGE
Lloh5:
	ldr	x21, [x21, _wait@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_io_schedule
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_prepare_to_wait
	mov	x0, x20
	bl	_atomic_read
	cbnz	w0, LBB0_2
LBB0_3:
Lloh6:
	adrp	x1, _wait@GOTPAGE
Lloh7:
	ldr	x1, [x1, _wait@GOTPAGEOFF]
	mov	x0, x19
	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
	b	_finish_wait
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_TASK_UNINTERRUPTIBLE,4,2       ; @TASK_UNINTERRUPTIBLE
	.no_dead_strip	_multipath_wait_for_pg_init_completion
.subsections_via_symbols
