	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-129, %edi
	cmpl	$5, %edi
	ja	LBB0_20
## %bb.1:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	cmpl	$0, (%rsi)
	je	LBB0_14
## %bb.10:
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_12
## %bb.11:
	movl	$1, (%rax)
LBB0_12:
	movq	__RAISE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_layer_on
	jmp	LBB0_13
LBB0_20:
	movl	$1, %ebx
	jmp	LBB0_21
LBB0_2:
	cmpl	$0, (%rsi)
	je	LBB0_8
## %bb.3:
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	$1, (%rax)
LBB0_5:
	movq	__LOWER@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_layer_on
	jmp	LBB0_6
LBB0_18:
	cmpl	$0, (%rsi)
	je	LBB0_21
## %bb.19:
	leaq	L_.str(%rip), %rdi
	callq	_print
	jmp	LBB0_21
LBB0_15:
	cmpl	$0, (%rsi)
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_17
## %bb.16:
	callq	_layer_on
	jmp	LBB0_21
LBB0_14:
	movq	__RAISE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_layer_off
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_13:
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	jmp	LBB0_7
LBB0_8:
	movq	_TOG_STATUS@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	__LOWER@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_layer_off
LBB0_6:
	movl	(%r14), %edi
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_7:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer_RGB
LBB0_21:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_17:
	callq	_layer_off
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_21
	.long	L0_0_set_2
	.long	L0_0_set_21
	.long	L0_0_set_18
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_TOG_STATUS,4,2                 ## @TOG_STATUS
	.comm	__LOWER,4,2                     ## @_LOWER
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__ADJUST,4,2                    ## @_ADJUST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stepping backlight\n"

	.comm	_RGB_current_mode,4,2           ## @RGB_current_mode
	.comm	_rgblight_config,4,2            ## @rgblight_config
	.comm	_tone_qwerty,4,2                ## @tone_qwerty
.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
	sub	w8, w0, #129
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x1]
	cbz	w8, LBB0_15
; %bb.3:
Lloh2:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_5
; %bb.4:
	mov	w9, #1
	str	w9, [x8]
LBB0_5:
Lloh4:
	adrp	x19, __RAISE@GOTPAGE
Lloh5:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_on
Lloh6:
	adrp	x8, __LOWER@GOTPAGE
Lloh7:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_16
LBB0_6:
	mov	w0, #1
	b	LBB0_21
LBB0_7:
	ldr	w8, [x1]
	cbz	w8, LBB0_17
; %bb.8:
Lloh9:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_10
; %bb.9:
	mov	w9, #1
	str	w9, [x8]
LBB0_10:
Lloh11:
	adrp	x19, __LOWER@GOTPAGE
Lloh12:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_on
	b	LBB0_18
LBB0_11:
	ldr	w8, [x1]
	cbz	w8, LBB0_20
; %bb.12:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_print
	b	LBB0_20
LBB0_13:
	ldr	w8, [x1]
Lloh15:
	adrp	x9, __ADJUST@GOTPAGE
Lloh16:
	ldr	x9, [x9, __ADJUST@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x9]
	cbz	w8, LBB0_22
; %bb.14:
	bl	_layer_on
	b	LBB0_20
LBB0_15:
Lloh18:
	adrp	x19, __RAISE@GOTPAGE
Lloh19:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_off
Lloh20:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
Lloh22:
	adrp	x9, __LOWER@GOTPAGE
Lloh23:
	ldr	x9, [x9, __LOWER@GOTPAGEOFF]
Lloh24:
	str	wzr, [x8]
Lloh25:
	ldr	w0, [x9]
LBB0_16:
	ldr	w1, [x19]
	b	LBB0_19
LBB0_17:
Lloh26:
	adrp	x8, _TOG_STATUS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TOG_STATUS@GOTPAGEOFF]
Lloh28:
	str	wzr, [x8]
Lloh29:
	adrp	x19, __LOWER@GOTPAGE
Lloh30:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_off
LBB0_18:
	ldr	w0, [x19]
Lloh31:
	adrp	x8, __RAISE@GOTPAGE
Lloh32:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
LBB0_19:
Lloh34:
	adrp	x8, __ADJUST@GOTPAGE
Lloh35:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	bl	_update_tri_layer_RGB
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_22:
	bl	_layer_off
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
                                        ; -- End function
	.comm	_TOG_STATUS,4,2                 ; @TOG_STATUS
	.comm	__LOWER,4,2                     ; @_LOWER
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__ADJUST,4,2                    ; @_ADJUST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stepping backlight\n"

	.comm	_RGB_current_mode,4,2           ; @RGB_current_mode
	.comm	_rgblight_config,4,2            ; @rgblight_config
	.comm	_tone_qwerty,4,2                ; @tone_qwerty
.subsections_via_symbols
