	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$5, %edi
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_23:
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.24:
	movq	__LOWER@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	je	LBB0_27
## %bb.25:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movq	_rgblight_config@GOTPCREL(%rip), %rax
	movq	_RGB_current_mode@GOTPCREL(%rip), %rcx
	movl	(%rax), %edx
	movl	12(%rax), %eax
	movl	%edx, (%rcx)
	movq	_RGB_current_hue@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_rgblight_mode
	xorl	%edi, %edi
	movl	$255, %esi
	xorl	%edx, %edx
	callq	_rgblight_setrgb
LBB0_27:
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_on
	movl	(%r14), %edi
	movl	(%rbx), %esi
	jmp	LBB0_15
LBB0_1:
	movl	$1, %ebx
	jmp	LBB0_36
LBB0_3:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_36
## %bb.4:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	cmpl	$0, (%rsi)
	je	LBB0_18
## %bb.11:
	movq	__RAISE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movq	_rgblight_config@GOTPCREL(%rip), %rax
	movq	_RGB_current_mode@GOTPCREL(%rip), %rcx
	movl	(%rax), %edx
	movl	12(%rax), %eax
	movl	%edx, (%rcx)
	movq	_RGB_current_hue@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %edi
	callq	_rgblight_mode
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_rgblight_setrgb
LBB0_14:
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_on
	movl	(%rbx), %edi
	movl	(%r14), %esi
LBB0_15:
	movq	__ADJUST@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_update_tri_layer
	movl	(%rbx), %edi
	callq	_IS_LAYER_ON
	testl	%eax, %eax
	je	LBB0_35
## %bb.16:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$255, %esi
LBB0_17:
	movl	$255, %edx
	callq	_rgblight_setrgb
	jmp	LBB0_36
LBB0_8:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_36
## %bb.9:
	movq	__DVORAK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_36
## %bb.7:
	movq	__COLEMAK@GOTPCREL(%rip), %rax
LBB0_5:
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	callq	_persistent_default_layer_set
	jmp	LBB0_36
LBB0_32:
	cmpl	$0, (%rsi)
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_34
## %bb.33:
	callq	_layer_on
	jmp	LBB0_35
LBB0_28:
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_off
	movq	__LOWER@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movq	__ADJUST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_update_tri_layer
	movl	(%r15), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	je	LBB0_30
## %bb.29:
	movl	(%r14), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	jne	LBB0_20
LBB0_30:
	movl	(%r15), %edi
	callq	_IS_LAYER_ON
	testl	%eax, %eax
	je	LBB0_35
## %bb.31:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	jmp	LBB0_17
LBB0_18:
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_off
	movl	(%rbx), %edi
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	__ADJUST@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_update_tri_layer
	movl	(%rbx), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	movl	(%r14), %edi
	callq	_IS_LAYER_OFF
	testl	%eax, %eax
	je	LBB0_21
LBB0_20:
	movq	_RGB_current_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rgblight_mode
	movq	_RGB_current_hue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_rgblight_config@GOTPCREL(%rip), %rax
	movl	4(%rax), %edx
	movl	8(%rax), %esi
	callq	_rgblight_sethsv
	jmp	LBB0_35
LBB0_34:
	callq	_layer_off
LBB0_35:
	xorl	%ebx, %ebx
LBB0_36:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	(%rbx), %edi
	callq	_IS_LAYER_ON
	testl	%eax, %eax
	je	LBB0_35
## %bb.22:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$255, %esi
	xorl	%edx, %edx
	callq	_rgblight_setrgb
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_32
	.end_data_region
                                        ## -- End function
	.comm	__QWERTY,8,3                    ## @_QWERTY
	.comm	__COLEMAK,8,3                   ## @_COLEMAK
	.comm	__DVORAK,8,3                    ## @_DVORAK
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__ADJUST,4,2                    ## @_ADJUST
	.comm	_rgblight_config,16,2           ## @rgblight_config
	.comm	_RGB_current_mode,4,2           ## @RGB_current_mode
	.comm	_RGB_current_hue,4,2            ## @RGB_current_hue
	.comm	__LOWER,4,2                     ## @_LOWER
.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, #128
	cmp	w8, #5
	b.hi	LBB0_7
; %bb.1:
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_26
; %bb.3:
Lloh2:
	adrp	x19, __LOWER@GOTPAGE
Lloh3:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_IS_LAYER_OFF
	cbz	w0, LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, __ADJUST@GOTPAGE
Lloh5:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_IS_LAYER_OFF
	cbz	w0, LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _rgblight_config@GOTPAGE
Lloh8:
	ldr	x8, [x8, _rgblight_config@GOTPAGEOFF]
Lloh9:
	adrp	x9, _RGB_current_mode@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RGB_current_mode@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh11:
	str	w10, [x9]
	ldr	w8, [x8, #12]
Lloh12:
	adrp	x9, _RGB_current_hue@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RGB_current_hue@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #0
	mov	w1, #255
	mov	w2, #0
	bl	_rgblight_setrgb
LBB0_6:
Lloh15:
	adrp	x20, __RAISE@GOTPAGE
Lloh16:
	ldr	x20, [x20, __RAISE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_layer_on
	ldr	w0, [x19]
	ldr	w1, [x20]
	b	LBB0_15
LBB0_7:
	mov	w0, #1
	b	LBB0_35
LBB0_8:
	ldr	w8, [x1]
	cbz	w8, LBB0_34
; %bb.9:
Lloh17:
	adrp	x8, __QWERTY@GOTPAGE
Lloh18:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
	b	LBB0_23
LBB0_10:
	ldr	w8, [x1]
	cbz	w8, LBB0_30
; %bb.11:
Lloh19:
	adrp	x19, __RAISE@GOTPAGE
Lloh20:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_IS_LAYER_OFF
	cbz	w0, LBB0_14
; %bb.12:
Lloh21:
	adrp	x8, __ADJUST@GOTPAGE
Lloh22:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_IS_LAYER_OFF
	cbz	w0, LBB0_14
; %bb.13:
Lloh24:
	adrp	x8, _rgblight_config@GOTPAGE
Lloh25:
	ldr	x8, [x8, _rgblight_config@GOTPAGEOFF]
Lloh26:
	adrp	x9, _RGB_current_mode@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RGB_current_mode@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh28:
	str	w10, [x9]
	ldr	w8, [x8, #12]
Lloh29:
	adrp	x9, _RGB_current_hue@GOTPAGE
Lloh30:
	ldr	x9, [x9, _RGB_current_hue@GOTPAGEOFF]
Lloh31:
	str	w8, [x9]
	mov	w0, #1
	bl	_rgblight_mode
	mov	w0, #0
	mov	w1, #0
	mov	w2, #255
	bl	_rgblight_setrgb
LBB0_14:
Lloh32:
	adrp	x20, __LOWER@GOTPAGE
Lloh33:
	ldr	x20, [x20, __LOWER@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_layer_on
	ldr	w0, [x20]
	ldr	w1, [x19]
LBB0_15:
Lloh34:
	adrp	x19, __ADJUST@GOTPAGE
Lloh35:
	ldr	x19, [x19, __ADJUST@GOTPAGEOFF]
	ldr	w2, [x19]
	bl	_update_tri_layer
	ldr	w0, [x19]
	bl	_IS_LAYER_ON
	cbz	w0, LBB0_35
; %bb.16:
	mov	w0, #0
	mov	w1, #255
LBB0_17:
	mov	w2, #255
LBB0_18:
	bl	_rgblight_setrgb
	b	LBB0_34
LBB0_19:
	ldr	w8, [x1]
	cbz	w8, LBB0_34
; %bb.20:
Lloh36:
	adrp	x8, __DVORAK@GOTPAGE
Lloh37:
	ldr	x8, [x8, __DVORAK@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
	ldr	w8, [x1]
	cbz	w8, LBB0_34
; %bb.22:
Lloh38:
	adrp	x8, __COLEMAK@GOTPAGE
Lloh39:
	ldr	x8, [x8, __COLEMAK@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	bl	_persistent_default_layer_set
	b	LBB0_34
LBB0_24:
	ldr	w8, [x1]
Lloh40:
	adrp	x9, __ADJUST@GOTPAGE
Lloh41:
	ldr	x9, [x9, __ADJUST@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x9]
	cbz	w8, LBB0_33
; %bb.25:
	bl	_layer_on
	b	LBB0_34
LBB0_26:
Lloh43:
	adrp	x20, __RAISE@GOTPAGE
Lloh44:
	ldr	x20, [x20, __RAISE@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_layer_off
Lloh45:
	adrp	x19, __LOWER@GOTPAGE
Lloh46:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	ldr	w1, [x20]
Lloh47:
	adrp	x20, __ADJUST@GOTPAGE
Lloh48:
	ldr	x20, [x20, __ADJUST@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_update_tri_layer
	ldr	w0, [x19]
	bl	_IS_LAYER_OFF
	cbz	w0, LBB0_28
; %bb.27:
	ldr	w0, [x20]
	bl	_IS_LAYER_OFF
	cbnz	w0, LBB0_32
LBB0_28:
	ldr	w0, [x19]
	bl	_IS_LAYER_ON
	cbz	w0, LBB0_35
; %bb.29:
	mov	w0, #0
	mov	w1, #0
	b	LBB0_17
LBB0_30:
Lloh49:
	adrp	x19, __LOWER@GOTPAGE
Lloh50:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_off
	ldr	w0, [x19]
Lloh51:
	adrp	x19, __RAISE@GOTPAGE
Lloh52:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh53:
	adrp	x20, __ADJUST@GOTPAGE
Lloh54:
	ldr	x20, [x20, __ADJUST@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_update_tri_layer
	ldr	w0, [x19]
	bl	_IS_LAYER_OFF
	cbz	w0, LBB0_36
; %bb.31:
	ldr	w0, [x20]
	bl	_IS_LAYER_OFF
	cbz	w0, LBB0_36
LBB0_32:
Lloh55:
	adrp	x8, _RGB_current_mode@GOTPAGE
Lloh56:
	ldr	x8, [x8, _RGB_current_mode@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	bl	_rgblight_mode
Lloh58:
	adrp	x8, _RGB_current_hue@GOTPAGE
Lloh59:
	ldr	x8, [x8, _RGB_current_hue@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
Lloh61:
	adrp	x8, _rgblight_config@GOTPAGE
Lloh62:
	ldr	x8, [x8, _rgblight_config@GOTPAGEOFF]
	ldp	w2, w1, [x8, #4]
	bl	_rgblight_sethsv
	b	LBB0_34
LBB0_33:
	bl	_layer_off
LBB0_34:
	mov	w0, #0
LBB0_35:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_36:
	ldr	w0, [x19]
	bl	_IS_LAYER_ON
	cbz	w0, LBB0_35
; %bb.37:
	mov	w0, #0
	mov	w1, #255
	mov	w2, #0
	b	LBB0_18
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_21-LBB0_2)>>2
	.byte	(LBB0_24-LBB0_2)>>2
                                        ; -- End function
	.comm	__QWERTY,8,3                    ; @_QWERTY
	.comm	__COLEMAK,8,3                   ; @_COLEMAK
	.comm	__DVORAK,8,3                    ; @_DVORAK
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__ADJUST,4,2                    ; @_ADJUST
	.comm	_rgblight_config,16,2           ; @rgblight_config
	.comm	_RGB_current_mode,4,2           ; @RGB_current_mode
	.comm	_RGB_current_hue,4,2            ; @RGB_current_hue
	.comm	__LOWER,4,2                     ; @_LOWER
.subsections_via_symbols
