	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pg_init_done
_pg_init_done:                          ## @pg_init_done
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	8(%r14), %r15
	leal	-128(%r12), %eax
	cmpl	$5, %eax
	ja	LBB0_13
## %bb.1:
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movl	$1, %r13d
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_pg_init_limit_reached
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_fail_path
LBB0_8:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
LBB0_15:
	movq	_MPATHF_PG_INIT_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movl	$0, (%r14)
	jmp	LBB0_17
LBB0_13:
	movq	%rbx, %rdi
	callq	_fail_path
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	testl	%r12d, %r12d
	jne	LBB0_11
## %bb.14:
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_2:
	movl	32(%r15), %esi
	testl	%esi, %esi
	je	LBB0_3
## %bb.9:
	leaq	L_.str(%rip), %rdi
	movl	$131, %edx
	xorl	%eax, %eax
	callq	_DMERR
	movq	%rbx, %rdi
	callq	_fail_path
	jmp	LBB0_10
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_bypass_pg
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
LBB0_11:
	xorl	%r13d, %r13d
	cmpq	%rbx, 24(%r15)
	jne	LBB0_17
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r13d, %r13d
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DMERR
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
LBB0_17:
	leaq	12(%r15), %rdi
	callq	_atomic_dec_return
	testq	%rax, %rax
	jg	LBB0_24
## %bb.18:
	movq	_MPATHF_PG_INIT_REQUIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_23
## %bb.19:
	movq	_MPATHF_PG_INIT_DELAY_RETRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	testl	%r13d, %r13d
	je	LBB0_21
## %bb.20:
	callq	_set_bit
	jmp	LBB0_22
LBB0_21:
	callq	_clear_bit
LBB0_22:
	movq	%r15, %rdi
	callq	___pg_init_all_paths
	testq	%rax, %rax
	jne	LBB0_24
LBB0_23:
	movq	_MPATHF_QUEUE_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movq	%r15, %rdi
	callq	_process_queued_io_list
	leaq	4(%r15), %rdi
	callq	_wake_up
LBB0_24:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_3:
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not failover the device: Handler scsi_dh_%s Error %d."

L_.str.1:                               ## @.str.1
	.asciz	"Could not failover device. Error %d."

	.comm	_MPATHF_PG_INIT_REQUIRED,4,2    ## @MPATHF_PG_INIT_REQUIRED
	.comm	_MPATHF_PG_INIT_DELAY_RETRY,4,2 ## @MPATHF_PG_INIT_DELAY_RETRY
	.comm	_MPATHF_QUEUE_IO,4,2            ## @MPATHF_QUEUE_IO
	.no_dead_strip	_pg_init_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pg_init_done
_pg_init_done:                          ; @pg_init_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x1
	mov	x21, x0
	ldr	x20, [x0]
	ldr	x19, [x20, #8]
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_8
; %bb.1:
	mov	w23, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w23, #1
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_pg_init_limit_reached
	cbz	w0, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_fail_path
LBB0_5:
	mov	x0, x19
	bl	_spin_lock_irqsave
LBB0_6:
Lloh2:
	adrp	x8, _MPATHF_PG_INIT_REQUIRED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MPATHF_PG_INIT_REQUIRED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbnz	x0, LBB0_17
; %bb.7:
	str	wzr, [x20]
	b	LBB0_17
LBB0_8:
	mov	x0, x21
	bl	_fail_path
	mov	x0, x19
	bl	_spin_lock_irqsave
	cbnz	w22, LBB0_14
; %bb.9:
	mov	w23, #0
	b	LBB0_6
LBB0_10:
	ldr	w1, [x19, #32]
	cbz	w1, LBB0_25
; %bb.11:
	mov	w8, #131
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMERR
	mov	x0, x21
	bl	_fail_path
	b	LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_bypass_pg
LBB0_13:
	mov	x0, x19
	bl	_spin_lock_irqsave
LBB0_14:
	ldr	x8, [x19, #24]
	cmp	x8, x21
	b.eq	LBB0_16
; %bb.15:
	mov	w23, #0
	b	LBB0_17
LBB0_16:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_DMERR
	mov	w23, #0
	stp	xzr, xzr, [x19, #16]
LBB0_17:
	add	x0, x19, #12
	bl	_atomic_dec_return
	cmp	x0, #0
	b.gt	LBB0_24
; %bb.18:
Lloh9:
	adrp	x8, _MPATHF_PG_INIT_REQUIRED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPATHF_PG_INIT_REQUIRED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_23
; %bb.19:
Lloh12:
	adrp	x8, _MPATHF_PG_INIT_DELAY_RETRY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPATHF_PG_INIT_DELAY_RETRY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	cbz	w23, LBB0_21
; %bb.20:
	bl	_set_bit
	b	LBB0_22
LBB0_21:
	bl	_clear_bit
LBB0_22:
	mov	x0, x19
	bl	___pg_init_all_paths
	cbnz	x0, LBB0_24
LBB0_23:
Lloh15:
	adrp	x8, _MPATHF_QUEUE_IO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MPATHF_QUEUE_IO@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	mov	x0, x19
	bl	_process_queued_io_list
	add	x0, x19, #4
	bl	_wake_up
LBB0_24:
	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
	add	sp, sp, #80
	b	_spin_unlock_irqrestore
LBB0_25:
	mov	w23, #0
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not failover the device: Handler scsi_dh_%s Error %d."

l_.str.1:                               ; @.str.1
	.asciz	"Could not failover device. Error %d."

	.comm	_MPATHF_PG_INIT_REQUIRED,4,2    ; @MPATHF_PG_INIT_REQUIRED
	.comm	_MPATHF_PG_INIT_DELAY_RETRY,4,2 ; @MPATHF_PG_INIT_DELAY_RETRY
	.comm	_MPATHF_QUEUE_IO,4,2            ; @MPATHF_QUEUE_IO
	.no_dead_strip	_pg_init_done
.subsections_via_symbols
