	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ## -- Begin function process_record_user
	.p2align	4, 0x90
_process_record_user:                   ## @process_record_user
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$128, %edi
	je	LBB0_4
## %bb.1:
	cmpl	$130, %edi
	jne	LBB0_6
## %bb.2:
	cmpl	$0, (%rsi)
	je	LBB0_6
## %bb.3:
	movq	_isTapAnim@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_9
LBB0_4:
	cmpl	$0, (%rsi)
	je	LBB0_6
## %bb.5:
	movq	_isTapAnim@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$0, (%rcx)
	sete	%al
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_6:
	movq	_isTapAnim@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	movl	$1, %edi
	callq	_rgblight_mode_noeeprom
	movq	_rgblight_config@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movl	%ecx, %esi
	addl	$5, %esi
	movslq	%esi, %rsi
	imulq	$-1240768329, %rsi, %rsi        ## imm = 0xB60B60B7
	shrq	$32, %rsi
	addl	%ecx, %esi
	addl	$5, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	sarl	$8, %esi
	addl	%edi, %esi
	imull	$360, %esi, %esi                ## imm = 0x168
	negl	%esi
	leal	(%rcx,%rsi), %edi
	addl	$5, %edi
	movl	8(%rax), %esi
	callq	_rgblight_sethsv_noeeprom
LBB0_9:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isTapAnim,4,2                  ## @isTapAnim
	.comm	_rgblight_config,12,2           ## @rgblight_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_user            ; -- Begin function process_record_user
	.p2align	2
_process_record_user:                   ; @process_record_user
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #130
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x1]
	cbz	w8, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _isTapAnim@GOTPAGE
Lloh1:
	ldr	x8, [x8, _isTapAnim@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
	b	LBB0_8
LBB0_4:
	ldr	w8, [x1]
	cbz	w8, LBB0_6
; %bb.5:
Lloh3:
	adrp	x9, _isTapAnim@GOTPAGE
Lloh4:
	ldr	x9, [x9, _isTapAnim@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x9]
	cbnz	w8, LBB0_7
	b	LBB0_8
LBB0_6:
Lloh5:
	adrp	x8, _isTapAnim@GOTPAGE
Lloh6:
	ldr	x8, [x8, _isTapAnim@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_rgblight_mode_noeeprom
Lloh8:
	adrp	x8, _rgblight_config@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rgblight_config@GOTPAGEOFF]
	ldp	w9, w2, [x8]
	add	w9, w9, #5
	mov	w10, #24759
	movk	w10, #46603, lsl #16
	smull	x10, w9, w10
	lsr	x10, x10, #32
	add	w10, w10, w9
	asr	w11, w10, #8
	add	w10, w11, w10, lsr #31
	mov	w11, #360
	msub	w0, w10, w11, w9
	ldr	w1, [x8, #8]
	bl	_rgblight_sethsv_noeeprom
LBB0_8:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_isTapAnim,4,2                  ; @isTapAnim
	.comm	_rgblight_config,12,2           ; @rgblight_config
.subsections_via_symbols
