	.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	$129, %edi
	je	LBB0_10
## %bb.1:
	cmpl	$131, %edi
	je	LBB0_16
## %bb.2:
	movl	$1, %eax
	cmpl	$130, %edi
	jne	LBB0_20
## %bb.3:
	cmpl	$0, (%rsi)
	je	LBB0_9
## %bb.4:
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	$1, (%rax)
LBB0_6:
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_on
	jmp	LBB0_7
LBB0_10:
	cmpl	$0, (%rsi)
	je	LBB0_15
## %bb.11:
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_13
## %bb.12:
	movl	$1, (%rax)
LBB0_13:
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_on
	jmp	LBB0_14
LBB0_16:
	cmpl	$0, (%rsi)
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_18
## %bb.17:
	callq	_layer_on
	jmp	LBB0_19
LBB0_9:
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_off
LBB0_7:
	movl	(%rbx), %edi
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_8
LBB0_15:
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_off
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_14:
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
LBB0_8:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer_RGB
LBB0_19:
	xorl	%eax, %eax
LBB0_20:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_18:
	callq	_layer_off
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_TOG_STATUS,4,2                 ## @TOG_STATUS
	.comm	__LOWER,4,2                     ## @_LOWER
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__ADJUST,4,2                    ## @_ADJUST
	.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, #129
	b.eq	LBB0_7
; %bb.1:
	cmp	w0, #131
	b.eq	LBB0_11
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_13
; %bb.3:
	ldr	w8, [x1]
	cbz	w8, LBB0_14
; %bb.4:
Lloh0:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_6
; %bb.5:
	mov	w9, #1
	str	w9, [x8]
LBB0_6:
Lloh2:
	adrp	x19, __LOWER@GOTPAGE
Lloh3:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_on
	b	LBB0_15
LBB0_7:
	ldr	w8, [x1]
	cbz	w8, LBB0_16
; %bb.8:
Lloh4:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_10
; %bb.9:
	mov	w9, #1
	str	w9, [x8]
LBB0_10:
Lloh6:
	adrp	x19, __RAISE@GOTPAGE
Lloh7:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_on
Lloh8:
	adrp	x8, __LOWER@GOTPAGE
Lloh9:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_17
LBB0_11:
	ldr	w8, [x1]
Lloh11:
	adrp	x9, __ADJUST@GOTPAGE
Lloh12:
	ldr	x9, [x9, __ADJUST@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
	cbz	w8, LBB0_21
; %bb.12:
	bl	_layer_on
	b	LBB0_19
LBB0_13:
	mov	w0, #1
	b	LBB0_20
LBB0_14:
Lloh14:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
Lloh16:
	str	wzr, [x8]
Lloh17:
	adrp	x19, __LOWER@GOTPAGE
Lloh18:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_off
LBB0_15:
	ldr	w0, [x19]
Lloh19:
	adrp	x8, __RAISE@GOTPAGE
Lloh20:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	b	LBB0_18
LBB0_16:
Lloh22:
	adrp	x19, __RAISE@GOTPAGE
Lloh23:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_off
Lloh24:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
Lloh26:
	adrp	x9, __LOWER@GOTPAGE
Lloh27:
	ldr	x9, [x9, __LOWER@GOTPAGEOFF]
Lloh28:
	str	wzr, [x8]
Lloh29:
	ldr	w0, [x9]
LBB0_17:
	ldr	w1, [x19]
LBB0_18:
Lloh30:
	adrp	x8, __ADJUST@GOTPAGE
Lloh31:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	bl	_update_tri_layer_RGB
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_21:
	bl	_layer_off
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_TOG_STATUS,4,2                 ; @TOG_STATUS
	.comm	__LOWER,4,2                     ; @_LOWER
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__ADJUST,4,2                    ; @_ADJUST
	.comm	_RGB_current_mode,4,2           ; @RGB_current_mode
	.comm	_rgblight_config,4,2            ; @rgblight_config
.subsections_via_symbols
