	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kovaplus_keep_values_up_to_date
_kovaplus_keep_values_up_to_date:       ## @kovaplus_keep_values_up_to_date
	.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	(%rsi), %rax
	movq	_KOVAPLUS_MOUSE_REPORT_NUMBER_BUTTON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$128, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$130, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.4:
	movl	8(%rsi), %esi
	decl	%esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_kovaplus_profile_activated     ## TAILCALL
LBB0_6:
	shrq	$32, %rax
	movl	8(%rsi), %ecx
	movl	%ecx, 4(%rbx)
	movl	%eax, (%rbx)
	jmp	LBB0_7
LBB0_5:
	movl	8(%rsi), %edi
	callq	_kovaplus_convert_event_cpi
	movl	%eax, 8(%rbx)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KOVAPLUS_MOUSE_REPORT_NUMBER_BUTTON,8,3 ## @KOVAPLUS_MOUSE_REPORT_NUMBER_BUTTON
	.no_dead_strip	_kovaplus_keep_values_up_to_date
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kovaplus_keep_values_up_to_date
_kovaplus_keep_values_up_to_date:       ; @kovaplus_keep_values_up_to_date
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _KOVAPLUS_MOUSE_REPORT_NUMBER_BUTTON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KOVAPLUS_MOUSE_REPORT_NUMBER_BUTTON@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x0
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x1, #8]
	sub	w1, w8, #1
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_kovaplus_profile_activated
LBB0_5:
	ldr	w9, [x1, #8]
	lsr	x8, x8, #32
	stp	w8, w9, [x19]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x1, #8]
	bl	_kovaplus_convert_event_cpi
	str	w0, [x19, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KOVAPLUS_MOUSE_REPORT_NUMBER_BUTTON,8,3 ; @KOVAPLUS_MOUSE_REPORT_NUMBER_BUTTON
	.no_dead_strip	_kovaplus_keep_values_up_to_date
.subsections_via_symbols
