	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reinstate_path
_reinstate_path:                        ## @reinstate_path
	.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, %r12
	movq	24(%rdi), %rax
	movq	8(%rax), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	xorl	%ebx, %ebx
	cmpl	$0, (%r12)
	je	LBB0_1
LBB0_12:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	24(%r12), %rdi
	movq	(%rdi), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	8(%r12), %r14
	movq	%r14, %rsi
	callq	*%rax
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:
	movl	$1, (%r12)
	movl	8(%r15), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%r15)
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:
	cmpq	$0, 32(%r15)
	je	LBB0_11
## %bb.8:
	movq	24(%r15), %rax
	cmpq	24(%r12), %rax
	jne	LBB0_11
## %bb.9:
	movq	_kmpath_handlerd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %r12
	movq	%r12, %rsi
	callq	_queue_work
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	incl	16(%r15)
	jmp	LBB0_11
LBB0_2:
	movl	8(%rcx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DMWARN
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_5:
	cmpq	$0, 56(%r15)
	je	LBB0_7
## %bb.6:
	movq	$0, 48(%r15)
	movq	_kmultipathd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	40(%r15), %rsi
	callq	_queue_work
LBB0_11:
	movq	_DM_UEVENT_PATH_REINSTATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %ecx
	movl	12(%r15), %esi
	movq	(%r14), %rax
	movl	(%rax), %edx
	callq	_dm_path_uevent
	leaq	4(%r15), %rdi
	callq	_schedule_work
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reinstate path not supported by path selector %s"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_kmultipathd,4,2                ## @kmultipathd
	.comm	_kmpath_handlerd,4,2            ## @kmpath_handlerd
	.comm	_DM_UEVENT_PATH_REINSTATED,4,2  ## @DM_UEVENT_PATH_REINSTATED
	.no_dead_strip	_reinstate_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reinstate_path
_reinstate_path:                        ; @reinstate_path
	.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	x21, x0
	ldr	x8, [x0, #24]
	ldr	x19, [x8, #8]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x21]
	cbz	w8, LBB0_3
LBB0_1:
	mov	w22, #0
LBB0_2:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x22
	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
LBB0_3:
	ldr	x0, [x21, #24]
	ldr	x9, [x0]
	ldr	x8, [x9]
	cbz	x8, LBB0_10
; %bb.4:
	add	x20, x21, #8
	mov	x1, x20
	blr	x8
	mov	x22, x0
	cbnz	w0, LBB0_2
; %bb.5:
	mov	w8, #1
	str	w8, [x21]
	ldr	w8, [x19, #8]
	add	w9, w8, #1
	str	w9, [x19, #8]
	cbz	w8, LBB0_11
LBB0_6:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_13
; %bb.7:
	ldr	x8, [x19, #24]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:
Lloh0:
	adrp	x8, _kmpath_handlerd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kmpath_handlerd@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #16
	bl	_queue_work
	cbz	w0, LBB0_13
; %bb.9:
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	b	LBB0_13
LBB0_10:
	ldr	w1, [x9, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMWARN
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_2
LBB0_11:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_6
; %bb.12:
	str	xzr, [x19, #48]
Lloh8:
	adrp	x8, _kmultipathd@GOTPAGE
Lloh9:
	ldr	x8, [x8, _kmultipathd@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x1, x19, #40
	bl	_queue_work
LBB0_13:
Lloh11:
	adrp	x8, _DM_UEVENT_PATH_REINSTATED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DM_UEVENT_PATH_REINSTATED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	ldp	w3, w1, [x19, #8]
	bl	_dm_path_uevent
	add	x0, x19, #4
	bl	_schedule_work
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reinstate path not supported by path selector %s"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_kmultipathd,4,2                ; @kmultipathd
	.comm	_kmpath_handlerd,4,2            ; @kmpath_handlerd
	.comm	_DM_UEVENT_PATH_REINSTATED,4,2  ; @DM_UEVENT_PATH_REINSTATED
	.no_dead_strip	_reinstate_path
.subsections_via_symbols
