	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __evdev_queue_syn_dropped
___evdev_queue_syn_dropped:             ## @__evdev_queue_syn_dropped
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movl	(%rax), %edi
	callq	_input_get_timestamp
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_ktime_to_timespec64
	movq	%rax, %rcx
	movq	_NSEC_PER_USEC@GOTPCREL(%rip), %rsi
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	(%rsi)
	shrq	$32, %rcx
	movq	_EV_SYN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	_SYN_DROPPED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	movq	24(%rbx), %rdi
	movslq	8(%rbx), %rdx
	leal	1(%rdx), %esi
	movl	%esi, 8(%rbx)
	shlq	$5, %rdx
	movl	%eax, (%rdi,%rdx)
	movq	$0, 8(%rdi,%rdx)
	movl	%r9d, 16(%rdi,%rdx)
	movl	%r8d, 20(%rdi,%rdx)
	movl	%ecx, 24(%rdi,%rdx)
	movl	12(%rbx), %eax
	decl	%eax
	andl	8(%rbx), %eax
	movl	%eax, 8(%rbx)
	xorl	%edi, %edi
	cmpl	16(%rbx), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%rbx), %eax
	movl	12(%rbx), %ecx
	decl	%eax
	decl	%ecx
	andl	%eax, %ecx
	movl	%ecx, 16(%rbx)
	movl	%ecx, 20(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NSEC_PER_USEC,4,2              ## @NSEC_PER_USEC
	.comm	_EV_SYN,4,2                     ## @EV_SYN
	.comm	_SYN_DROPPED,4,2                ## @SYN_DROPPED
	.no_dead_strip	___evdev_queue_syn_dropped
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __evdev_queue_syn_dropped
___evdev_queue_syn_dropped:             ; @__evdev_queue_syn_dropped
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	w0, [x8]
	bl	_input_get_timestamp
	ldr	x8, [x19]
	ldr	w0, [x0, x8, lsl #2]
	bl	_ktime_to_timespec64
	lsr	x8, x0, #32
Lloh0:
	adrp	x9, _NSEC_PER_USEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NSEC_PER_USEC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w9, w0, w9
Lloh3:
	adrp	x10, _EV_SYN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _EV_SYN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _SYN_DROPPED@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SYN_DROPPED@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	ldr	x12, [x19, #24]
	ldrsw	x13, [x19, #8]
	add	w14, w13, #1
	str	w14, [x19, #8]
	add	x12, x12, x13, lsl #5
	str	w9, [x12]
	str	xzr, [x12, #8]
	stp	w11, w10, [x12, #16]
	str	w8, [x12, #24]
	ldp	w9, w8, [x19, #8]
	sub	w8, w8, #1
	and	w8, w9, w8
	str	w8, [x19, #8]
	ldr	w9, [x19, #16]
	cmp	w8, w9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w8, w9, [x19, #8]
	sub	w8, w8, #1
	sub	w9, w9, #1
	and	w8, w9, w8
	stp	w8, w8, [x19, #16]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NSEC_PER_USEC,4,2              ; @NSEC_PER_USEC
	.comm	_EV_SYN,4,2                     ; @EV_SYN
	.comm	_SYN_DROPPED,4,2                ; @SYN_DROPPED
	.no_dead_strip	___evdev_queue_syn_dropped
.subsections_via_symbols
