	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, %edi
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edi
	je	LBB0_8
## %bb.2:
	cmpl	$130, %edi
	jne	LBB0_10
## %bb.3:
	cmpl	$0, (%rsi)
	je	LBB0_13
## %bb.4:
	movl	$130, %edi
	callq	_register_code
	movq	_caps_is_active@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$0, (%rax)
	sete	%cl
	movl	%ecx, (%rax)
	je	LBB0_5
## %bb.11:
	movl	$130, %edi
	callq	_unregister_code
	movq	_RGB_current_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	jmp	LBB0_12
LBB0_6:
	cmpl	$0, (%rsi)
	je	LBB0_13
## %bb.7:
	movq	_RGB_current_mode@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rgblight_mode
	xorl	%eax, %eax
	callq	_rgblight_step
	movq	_rgblight_config@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_13
LBB0_8:
	cmpl	$0, (%rsi)
	je	LBB0_13
## %bb.9:
	xorl	%eax, %eax
	callq	_rgblight_enable
	movl	$1, %edi
	callq	_rgblight_mode
	movl	$255, %edi
	movl	$255, %esi
	movl	$255, %edx
	callq	_rgblight_setrgb
	xorl	%eax, %eax
	callq	_reset_keyboard
	jmp	LBB0_13
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_process_record_keymap          ## TAILCALL
LBB0_5:
	movl	$14, %edi
LBB0_12:
	callq	_rgblight_mode
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_caps_is_active,4,2             ## @caps_is_active
	.comm	_RGB_current_mode,4,2           ## @RGB_current_mode
	.comm	_rgblight_config,4,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	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
	cmp	w0, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_8
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_10
; %bb.3:
	ldr	w8, [x1]
	cbz	w8, LBB0_13
; %bb.4:
	mov	w0, #130
	bl	_register_code
Lloh0:
	adrp	x8, _caps_is_active@GOTPAGE
Lloh1:
	ldr	x8, [x8, _caps_is_active@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #0
	cset	w10, eq
	str	w10, [x8]
	cbz	w9, LBB0_11
; %bb.5:
	mov	w0, #130
	bl	_unregister_code
Lloh2:
	adrp	x8, _RGB_current_mode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RGB_current_mode@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_6:
	ldr	w8, [x1]
	cbz	w8, LBB0_13
; %bb.7:
Lloh5:
	adrp	x19, _RGB_current_mode@GOTPAGE
Lloh6:
	ldr	x19, [x19, _RGB_current_mode@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_rgblight_mode
	bl	_rgblight_step
Lloh7:
	adrp	x8, _rgblight_config@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rgblight_config@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_13
LBB0_8:
	ldr	w8, [x1]
	cbz	w8, LBB0_13
; %bb.9:
	bl	_rgblight_enable
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #255
	mov	w1, #255
	mov	w2, #255
	bl	_rgblight_setrgb
	bl	_reset_keyboard
	b	LBB0_13
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_process_record_keymap
LBB0_11:
	mov	w0, #14
LBB0_12:
	bl	_rgblight_mode
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_caps_is_active,4,2             ; @caps_is_active
	.comm	_RGB_current_mode,4,2           ; @RGB_current_mode
	.comm	_rgblight_config,4,2            ; @rgblight_config
.subsections_via_symbols
