	.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
	movq	%rsi, %r15
	movl	%edi, %ebx
	callq	_process_record_dynamic_macro
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_24
## %bb.1:
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_2
## %bb.3:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_13:
	cmpl	$0, (%r15)
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_17
## %bb.14:
	callq	_layer_on
	jmp	LBB0_15
LBB0_2:
	movl	$1, %r14d
	jmp	LBB0_24
LBB0_6:
	cmpl	$0, (%r15)
	je	LBB0_24
## %bb.7:
	movq	__NUMPAD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_IS_LAYER_ON
	testl	%eax, %eax
	je	LBB0_24
## %bb.8:
	movl	(%rbx), %edi
	jmp	LBB0_9
LBB0_4:
	cmpl	$0, (%r15)
	je	LBB0_24
## %bb.5:
	movq	__ONESHOT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_layer_on
	movl	(%rbx), %edi
	movq	_ONESHOT_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_set_oneshot_layer
	movq	_ONESHOT_PRESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clear_oneshot_layer_state
	jmp	LBB0_24
LBB0_10:
	cmpl	$0, (%r15)
	je	LBB0_24
## %bb.11:
	movq	__NUMPAD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_IS_LAYER_ON
	testl	%eax, %eax
	jne	LBB0_24
## %bb.12:
	movl	(%rbx), %edi
	jmp	LBB0_23
LBB0_22:
	cmpl	$0, (%r15)
	movq	__MEDIA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_9
LBB0_23:
	callq	_layer_on
	jmp	LBB0_24
LBB0_18:
	cmpl	$0, (%r15)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_21
## %bb.19:
	callq	_layer_on
	jmp	LBB0_20
LBB0_9:
	callq	_layer_off
	jmp	LBB0_24
LBB0_17:
	callq	_layer_off
LBB0_15:
	movl	(%rbx), %edi
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_16
LBB0_21:
	callq	_layer_off
LBB0_20:
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
LBB0_16:
	movq	__FUNCTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
LBB0_24:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_22
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	__ONESHOT,4,2                   ## @_ONESHOT
	.comm	_ONESHOT_START,4,2              ## @ONESHOT_START
	.comm	_ONESHOT_PRESSED,4,2            ## @ONESHOT_PRESSED
	.comm	__NUMPAD,4,2                    ## @_NUMPAD
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__LOWER,4,2                     ## @_LOWER
	.comm	__FUNCTN,4,2                    ## @_FUNCTN
	.comm	__MEDIA,4,2                     ## @_MEDIA
	.comm	_tone_dyn_macro_rec,4,2         ## @tone_dyn_macro_rec
	.comm	_tone_dyn_macro_stop,4,2        ## @tone_dyn_macro_stop
	.comm	_tone_numpad,4,2                ## @tone_numpad
	.comm	_tone_oneshot,4,2               ## @tone_oneshot
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_process_record_dynamic_macro
	cbz	w0, LBB0_25
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #5
	b.hi	LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x19]
Lloh2:
	adrp	x19, __RAISE@GOTPAGE
Lloh3:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_19
; %bb.4:
	bl	_layer_on
	b	LBB0_20
LBB0_5:
	mov	w0, #1
	b	LBB0_25
LBB0_6:
	ldr	w8, [x19]
	cbz	w8, LBB0_24
; %bb.7:
Lloh4:
	adrp	x19, __NUMPAD@GOTPAGE
Lloh5:
	ldr	x19, [x19, __NUMPAD@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_IS_LAYER_ON
	cbz	w0, LBB0_25
; %bb.8:
	ldr	w0, [x19]
	b	LBB0_18
LBB0_9:
	ldr	w8, [x19]
	cbz	w8, LBB0_24
; %bb.10:
Lloh6:
	adrp	x19, __ONESHOT@GOTPAGE
Lloh7:
	ldr	x19, [x19, __ONESHOT@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_layer_on
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _ONESHOT_START@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ONESHOT_START@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_set_oneshot_layer
Lloh11:
	adrp	x8, _ONESHOT_PRESSED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ONESHOT_PRESSED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_clear_oneshot_layer_state
	b	LBB0_24
LBB0_11:
	ldr	w8, [x19]
	cbz	w8, LBB0_24
; %bb.12:
Lloh14:
	adrp	x19, __NUMPAD@GOTPAGE
Lloh15:
	ldr	x19, [x19, __NUMPAD@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_IS_LAYER_ON
	cbnz	w0, LBB0_24
; %bb.13:
	ldr	w0, [x19]
	b	LBB0_15
LBB0_14:
	ldr	w8, [x19]
Lloh16:
	adrp	x9, __MEDIA@GOTPAGE
Lloh17:
	ldr	x9, [x9, __MEDIA@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	cbz	w8, LBB0_18
LBB0_15:
	bl	_layer_on
	b	LBB0_24
LBB0_16:
	ldr	w8, [x19]
Lloh19:
	adrp	x19, __LOWER@GOTPAGE
Lloh20:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_21
; %bb.17:
	bl	_layer_on
	b	LBB0_22
LBB0_18:
	bl	_layer_off
	b	LBB0_24
LBB0_19:
	bl	_layer_off
LBB0_20:
	ldr	w0, [x19]
Lloh21:
	adrp	x8, __LOWER@GOTPAGE
Lloh22:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	b	LBB0_23
LBB0_21:
	bl	_layer_off
LBB0_22:
Lloh24:
	adrp	x8, __RAISE@GOTPAGE
Lloh25:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldr	w1, [x19]
LBB0_23:
Lloh27:
	adrp	x8, __FUNCTN@GOTPAGE
Lloh28:
	ldr	x8, [x8, __FUNCTN@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	bl	_update_tri_layer
LBB0_24:
	mov	w0, #0
LBB0_25:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
                                        ; -- End function
	.comm	__ONESHOT,4,2                   ; @_ONESHOT
	.comm	_ONESHOT_START,4,2              ; @ONESHOT_START
	.comm	_ONESHOT_PRESSED,4,2            ; @ONESHOT_PRESSED
	.comm	__NUMPAD,4,2                    ; @_NUMPAD
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__LOWER,4,2                     ; @_LOWER
	.comm	__FUNCTN,4,2                    ; @_FUNCTN
	.comm	__MEDIA,4,2                     ; @_MEDIA
	.comm	_tone_dyn_macro_rec,4,2         ; @tone_dyn_macro_rec
	.comm	_tone_dyn_macro_stop,4,2        ; @tone_dyn_macro_stop
	.comm	_tone_numpad,4,2                ; @tone_numpad
	.comm	_tone_oneshot,4,2               ; @tone_oneshot
	.comm	_tone_qwerty,4,2                ; @tone_qwerty
.subsections_via_symbols
