	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function daio_imap_add
_daio_imap_add:                         ## @daio_imap_add
	.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	%rsi, %r14
	movq	%rdi, %rbx
	callq	_spin_lock_irqsave
	cmpl	$0, (%r14)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	leaq	4(%rbx), %rdi
	movl	16(%rbx), %esi
	movq	_daio_map_op@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	callq	_input_mapper_delete
	movq	$0, 8(%rbx)
LBB0_3:
	leaq	4(%rbx), %rdi
	movq	_daio_map_op@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movq	%rbx, %rcx
	callq	_input_mapper_add
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_daio_map_op,4,2                ## @daio_map_op
	.no_dead_strip	_daio_imap_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function daio_imap_add
_daio_imap_add:                         ; @daio_imap_add
	.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	x20, x1
	mov	x19, x0
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
Lloh0:
	adrp	x21, _daio_map_op@GOTPAGE
Lloh1:
	ldr	x21, [x21, _daio_map_op@GOTPAGEOFF]
	cbnz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	add	x0, x19, #4
	ldr	w1, [x19, #16]
	ldr	w2, [x21]
	mov	x3, x19
	bl	_input_mapper_delete
	str	xzr, [x19, #8]
LBB0_3:
	add	x0, x19, #4
	ldr	w2, [x21]
	mov	x1, x20
	mov	x3, x19
	bl	_input_mapper_add
	mov	x20, x0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_daio_map_op,4,2                ; @daio_map_op
	.no_dead_strip	_daio_imap_add
.subsections_via_symbols
