	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fail_path
_fail_path:                             ## @fail_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movq	8(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DMWARN
	movq	24(%rbx), %rdi
	movq	(%rdi), %rax
	movq	%rbx, %rsi
	callq	*(%rax)
	movq	$0, 16(%rbx)
	incl	8(%rbx)
	movl	8(%r14), %ecx
	decl	%ecx
	movl	%ecx, 8(%r14)
	cmpq	%rbx, 16(%r14)
	jne	LBB0_3
## %bb.2:
	movq	$0, 16(%r14)
LBB0_3:
	movq	_DM_UEVENT_PATH_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r14), %esi
	movq	(%rbx), %rax
	movl	(%rax), %edx
	callq	_dm_path_uevent
	leaq	4(%r14), %rdi
	callq	_schedule_work
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failing path %s."

	.comm	_DM_UEVENT_PATH_FAILED,4,2      ## @DM_UEVENT_PATH_FAILED
	.no_dead_strip	_fail_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fail_path
_fail_path:                             ; @fail_path
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	ldr	x8, [x0, #24]
	ldr	x19, [x8, #8]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x8, [x20]
	ldr	w1, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMWARN
	ldr	x0, [x20, #24]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x20
	blr	x8
	str	xzr, [x20, #16]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	ldr	w8, [x19, #8]
	sub	w3, w8, #1
	str	w3, [x19, #8]
	ldr	x8, [x19, #16]
	cmp	x8, x20
	b.ne	LBB0_3
; %bb.2:
	str	xzr, [x19, #16]
LBB0_3:
Lloh2:
	adrp	x8, _DM_UEVENT_PATH_FAILED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DM_UEVENT_PATH_FAILED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	ldr	x8, [x20]
	ldr	w2, [x8]
	bl	_dm_path_uevent
	add	x0, x19, #4
	bl	_schedule_work
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failing path %s."

	.comm	_DM_UEVENT_PATH_FAILED,4,2      ; @DM_UEVENT_PATH_FAILED
	.no_dead_strip	_fail_path
.subsections_via_symbols
