	.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	%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
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, (%rbx)
	je	LBB0_4
## %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, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	callq	*(%rax)
	movl	$0, (%rbx)
	incl	16(%rbx)
	leaq	8(%r14), %r12
	movq	%r12, %rdi
	callq	_atomic_dec
	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), %r15d
	movl	12(%r14), %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_atomic_read
	movl	%r15d, %edi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dm_path_uevent
	leaq	4(%r14), %rdi
	callq	_schedule_work
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	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	x20, x0
	ldr	x8, [x0, #24]
	ldr	x19, [x8, #8]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x21, x20
	ldr	x8, [x21, #8]!
	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, x21
	blr	x8
	str	wzr, [x20]
	ldr	w8, [x20, #16]
	add	w8, w8, #1
	str	w8, [x20, #16]
	add	x22, x19, #8
	mov	x0, x22
	bl	_atomic_dec
	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	w20, [x8]
	ldr	w23, [x19, #12]
	ldr	x8, [x21]
	ldr	w21, [x8]
	mov	x0, x22
	bl	_atomic_read
	mov	x3, x0
	mov	x0, x20
	mov	x1, x23
	mov	x2, x21
	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, #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
	.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
