	.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
	subq	$16, %rsp
	.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
	leaq	(%rax,%rax,4), %rax
	movl	%r12d, (%rcx,%rax,4)
	movl	%r15d, 4(%rcx,%rax,4)
	movl	%r14d, 8(%rcx,%rax,4)
	leaq	-40(%rbp), %rdi
	callq	_ktime_get_ts64
	movl	-36(%rbp), %eax
	movq	(%rbx), %rcx
	movq	16(%rbx), %rsi
	leaq	(%rcx,%rcx,4), %rdi
	movl	%eax, 16(%rsi,%rdi,4)
	movl	-40(%rbp), %eax
	movq	_NSEC_PER_USEC@GOTPCREL(%rip), %r8
	cltd
	idivl	(%r8)
	movl	%eax, 12(%rsi,%rdi,4)
	incq	%rcx
	movq	_UINPUT_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_3
LBB0_1:
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## 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
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NSEC_PER_USEC,4,2              ## @NSEC_PER_USEC
	.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_input_get_drvdata
	mov	x22, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x0]
	mov	w23, #20
	madd	x8, x9, x23, x8
	stp	w21, w20, [x8]
	str	w19, [x8, #8]
	add	x0, sp, #8
	bl	_ktime_get_ts64
	ldr	x8, [x22, #16]
	ldr	x9, [x22]
	madd	x8, x9, x23, x8
	ldp	w11, w10, [sp, #8]
Lloh0:
	adrp	x12, _NSEC_PER_USEC@GOTPAGE
Lloh1:
	ldr	x12, [x12, _NSEC_PER_USEC@GOTPAGEOFF]
	str	w10, [x8, #16]
Lloh2:
	ldr	w10, [x12]
	sdiv	w10, w11, w10
	str	w10, [x8, #12]
Lloh3:
	adrp	x8, _UINPUT_BUFFER_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UINPUT_BUFFER_SIZE@GOTPAGEOFF]
	add	x9, x9, #1
Lloh5:
	ldrsw	x8, [x8]
	udiv	x10, x9, x8
	msub	x8, x10, x8, x9
	str	x8, [x22]
	add	x0, x22, #8
	bl	_wake_up_interruptible
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NSEC_PER_USEC,4,2              ; @NSEC_PER_USEC
	.comm	_UINPUT_BUFFER_SIZE,4,2         ; @UINPUT_BUFFER_SIZE
	.no_dead_strip	_uinput_dev_event
.subsections_via_symbols
