	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uinput_dev_event
_uinput_dev_event:                      ## @uinput_dev_event
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r12d
	callq	_input_get_drvdata
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	16(%rbx), %rcx
	shlq	$4, %rax
	movl	%r12d, (%rcx,%rax)
	movl	%r15d, 4(%rcx,%rax)
	movl	%r14d, 8(%rcx,%rax)
	leaq	(%rcx,%rax), %rdi
	addq	$12, %rdi
	callq	_do_gettimeofday
	movq	(%rbx), %rax
	incq	%rax
	movq	_UINPUT_BUFFER_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_1
## %bb.2:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	%rdx, (%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_wake_up_interruptible
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UINPUT_BUFFER_SIZE,4,2         ## @UINPUT_BUFFER_SIZE
	.no_dead_strip	_uinput_dev_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uinput_dev_event
_uinput_dev_event:                      ; @uinput_dev_event
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_input_get_drvdata
	mov	x22, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x0]
	add	x8, x8, x9, lsl #4
	stp	w21, w20, [x8]
	str	w19, [x8, #8]
	add	x0, x8, #12
	bl	_do_gettimeofday
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _UINPUT_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UINPUT_BUFFER_SIZE@GOTPAGEOFF]
	add	x8, x8, #1
Lloh2:
	ldrsw	x9, [x9]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x22]
	add	x0, x22, #8
	bl	_wake_up_interruptible
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINPUT_BUFFER_SIZE,4,2         ; @UINPUT_BUFFER_SIZE
	.no_dead_strip	_uinput_dev_event
.subsections_via_symbols
