	.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	%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
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	8(%rax), %r14
	leaq	8(%r14), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	xorl	%r13d, %r13d
	cmpl	$0, (%rbx)
	jne	LBB0_11
## %bb.1:
	leaq	8(%rbx), %r15
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DMWARN
	movq	24(%rbx), %rdi
	movq	(%rdi), %rax
	movq	%r15, %rsi
	callq	*(%rax)
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_2
LBB0_11:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
LBB0_10:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, (%rbx)
	leaq	48(%r14), %rdi
	callq	_atomic_inc_return
	movl	%eax, %r13d
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movq	$0, 40(%r14)
	jmp	LBB0_8
LBB0_4:
	cmpq	$0, 32(%r14)
	je	LBB0_8
## %bb.5:
	movq	24(%r14), %rax
	cmpq	24(%rbx), %rax
	jne	LBB0_8
## %bb.6:
	movq	_kmpath_handlerd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rbx
	movq	%rbx, %rsi
	callq	_queue_work
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	16(%r14), %rdi
	callq	_atomic_inc
LBB0_8:
	movq	_DM_UEVENT_PATH_REINSTATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rsi
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	%r13d, %ecx
	callq	_dm_path_uevent
	leaq	12(%r14), %rdi
	callq	_schedule_work
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r13d, %eax
	xorl	%r13d, %r13d
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.9:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_dm_table_run_md_queue_async
	movq	%r14, %rdi
	callq	_process_queued_io_list
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reinstating path %s."

	.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
	ldr	x8, [x0, #24]
	ldr	x19, [x8, #8]
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w23, #0
	b	LBB0_3
LBB0_2:
	mov	x21, x22
	ldr	x8, [x21, #8]!
	ldr	w1, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMWARN
	ldr	x0, [x21, #16]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x21
	blr	x8
	mov	x23, x0
	cbz	w0, LBB0_5
LBB0_3:
	mov	x0, x20
	bl	_spin_unlock_irqrestore
LBB0_4:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w8, #1
	str	w8, [x22]
	add	x0, x19, #48
	bl	_atomic_inc_return
	mov	x23, x0
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.6:
	str	xzr, [x19, #40]
	b	LBB0_11
LBB0_7:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_11
; %bb.8:
	ldr	x8, [x19, #24]
	ldr	x9, [x22, #24]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
Lloh2:
	adrp	x8, _kmpath_handlerd@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kmpath_handlerd@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x22, #16
	bl	_queue_work
	cbz	x0, LBB0_11
; %bb.10:
	add	x0, x19, #16
	bl	_atomic_inc
LBB0_11:
Lloh5:
	adrp	x8, _DM_UEVENT_PATH_REINSTATED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DM_UEVENT_PATH_REINSTATED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x22, x19
	ldr	x1, [x22], #12
	ldr	x8, [x21]
	ldr	w2, [x8]
	mov	x3, x23
	bl	_dm_path_uevent
	mov	x0, x22
	bl	_schedule_work
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	cmp	w23, #1
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_dm_table_run_md_queue_async
	mov	x0, x19
	bl	_process_queued_io_list
LBB0_13:
	mov	w23, #0
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reinstating path %s."

	.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
