	.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	$-128, %edi
	cmpl	$6, %edi
	ja	LBB0_15
## %bb.1:
	movq	%rsi, %rbx
	xorl	%r14d, %r14d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_14:
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	setne	%al
	movq	_isScrollMode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_16
LBB0_15:
	movl	$1, %r14d
	jmp	LBB0_16
LBB0_9:
	cmpl	$0, (%rbx)
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_12
## %bb.10:
	callq	_layer_on
	jmp	LBB0_11
LBB0_2:
	cmpl	$0, (%rbx)
	je	LBB0_16
## %bb.3:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	callq	_persistent_default_layer_set
	jmp	LBB0_16
LBB0_13:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pointing_device_get_report
	movq	_MOUSE_BTN1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, %ecx
	orl	%eax, %ecx
	notl	%edi
	andl	%eax, %edi
	cmpl	$0, (%rbx)
	cmovnel	%ecx, %edi
	callq	_pointing_device_set_report
	xorl	%eax, %eax
	callq	_pointing_device_send
	jmp	LBB0_16
LBB0_4:
	cmpl	$0, (%rbx)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_8
## %bb.5:
	callq	_layer_on
	jmp	LBB0_6
LBB0_12:
	callq	_layer_off
LBB0_11:
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_7
LBB0_8:
	callq	_layer_off
LBB0_6:
	movl	(%rbx), %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_16:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_9
	.long	L0_0_set_2
	.long	L0_0_set_13
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	__QWERTY,8,3                    ## @_QWERTY
	.comm	__LOWER,4,2                     ## @_LOWER
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__ADJUST,4,2                    ## @_ADJUST
	.comm	_MOUSE_BTN1,4,2                 ## @MOUSE_BTN1
	.comm	_isScrollMode,4,2               ## @isScrollMode
	.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
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
	mov	x19, x1
	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:
	mov	w0, #0
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w8, ne
Lloh2:
	adrp	x9, _isScrollMode@GOTPAGE
Lloh3:
	ldr	x9, [x9, _isScrollMode@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
	b	LBB0_17
LBB0_3:
	mov	w0, #1
	b	LBB0_17
LBB0_4:
	ldr	w8, [x19]
Lloh5:
	adrp	x19, __RAISE@GOTPAGE
Lloh6:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_11
; %bb.5:
	bl	_layer_on
	b	LBB0_12
LBB0_6:
	ldr	w8, [x19]
	cbz	w8, LBB0_16
; %bb.7:
Lloh7:
	adrp	x8, __QWERTY@GOTPAGE
Lloh8:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	bl	_persistent_default_layer_set
	b	LBB0_16
LBB0_8:
	bl	_pointing_device_get_report
Lloh10:
	adrp	x8, _MOUSE_BTN1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MOUSE_BTN1@GOTPAGEOFF]
	ldr	w9, [x19]
Lloh12:
	ldr	w8, [x8]
	orr	w10, w8, w0
	bic	w8, w0, w8
	cmp	w9, #0
	csel	w0, w8, w10, eq
	bl	_pointing_device_set_report
	bl	_pointing_device_send
	b	LBB0_16
LBB0_9:
	ldr	w8, [x19]
Lloh13:
	adrp	x19, __LOWER@GOTPAGE
Lloh14:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_13
; %bb.10:
	bl	_layer_on
	b	LBB0_14
LBB0_11:
	bl	_layer_off
LBB0_12:
Lloh15:
	adrp	x8, __LOWER@GOTPAGE
Lloh16:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_15
LBB0_13:
	bl	_layer_off
LBB0_14:
	ldr	w0, [x19]
Lloh18:
	adrp	x8, __RAISE@GOTPAGE
Lloh19:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
LBB0_15:
Lloh21:
	adrp	x8, __ADJUST@GOTPAGE
Lloh22:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	bl	_update_tri_layer_RGB
LBB0_16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	__QWERTY,8,3                    ; @_QWERTY
	.comm	__LOWER,4,2                     ; @_LOWER
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__ADJUST,4,2                    ; @_ADJUST
	.comm	_MOUSE_BTN1,4,2                 ; @MOUSE_BTN1
	.comm	_isScrollMode,4,2               ; @isScrollMode
	.comm	_RGB_current_mode,4,2           ; @RGB_current_mode
	.comm	_rgblight_config,4,2            ; @rgblight_config
.subsections_via_symbols
