	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_deferred_set_add_work       ## -- Begin function dm_deferred_set_add_work
	.p2align	4, 0x90
_dm_deferred_set_add_work:              ## @dm_deferred_set_add_work
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	movq	24(%rbx), %rdx
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.1:
	cmpl	$0, (%rdx,%rcx,8)
	je	LBB0_2
LBB0_3:
	leaq	(%rdx,%rax,8), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_list_add
	movq	8(%rbx), %rdi
	callq	_ds_next
	movq	24(%rbx), %rcx
	movl	%eax, %eax
	movl	$1, %r15d
	cmpl	$0, (%rcx,%rax,8)
	jne	LBB0_5
## %bb.4:
	movq	%rax, 8(%rbx)
	jmp	LBB0_5
LBB0_2:
	xorl	%r15d, %r15d
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_deferred_set_add_work       ; -- Begin function dm_deferred_set_add_work
	.p2align	2
_dm_deferred_set_add_work:              ; @dm_deferred_set_add_work
	.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, x1
	mov	x20, x0
	add	x19, x0, #16
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldp	x10, x8, [x20]
	ldr	x9, [x20, #24]
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.1:
	lsl	x10, x10, #3
	ldr	w10, [x9, x10]
	cbz	w10, LBB0_5
LBB0_2:
	add	x8, x9, x8, lsl #3
	add	x1, x8, #4
	mov	x0, x21
	bl	_list_add
	ldr	x0, [x20, #8]
	bl	_ds_next
	ldr	x9, [x20, #24]
	mov	w8, w0
	lsl	x10, x8, #3
	ldr	w9, [x9, x10]
	cbnz	w9, LBB0_4
; %bb.3:
	str	x8, [x20, #8]
LBB0_4:
	mov	w20, #1
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
