	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_dev_set_poll_interval
_input_dev_set_poll_interval:           ## @input_dev_set_poll_interval
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_to_input_dev
	movq	%rax, %r12
	movq	16(%rax), %r15
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_kstrtouint
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movl	-36(%rbp), %eax
	cmpl	(%r15), %eax
	jb	LBB0_2
## %bb.3:
	cmpl	4(%r15), %eax
	jbe	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_4:
	movq	%r12, %rdi
	callq	_mutex_lock
	movl	-36(%rbp), %eax
	movl	%eax, 8(%r15)
	cmpq	$0, 8(%r12)
	je	LBB0_7
## %bb.5:
	leaq	12(%r15), %rdi
	callq	_cancel_delayed_work_sync
	cmpl	$0, 8(%r15)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_input_dev_poller_queue_work
LBB0_7:
	movq	%r12, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_input_dev_set_poll_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_dev_set_poll_interval
_input_dev_set_poll_interval:           ; @input_dev_set_poll_interval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x22, x2
	bl	_to_input_dev
	mov	x20, x0
	ldr	x21, [x0, #16]
	add	x2, sp, #12
	mov	x0, x22
	mov	w1, #0
	bl	_kstrtouint
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w8, [sp, #12]
	ldr	w9, [x21]
	cmp	w8, w9
	b.lo	LBB0_3
; %bb.2:
	ldr	w9, [x21, #4]
	cmp	w8, w9
	b.ls	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [sp, #12]
	str	w8, [x21, #8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.5:
	add	x0, x21, #12
	bl	_cancel_delayed_work_sync
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_input_dev_poller_queue_work
LBB0_7:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
LBB0_8:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_input_dev_set_poll_interval
.subsections_via_symbols
