	.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, %rbx
	cmpl	$135, %edi
	je	LBB0_10
## %bb.1:
	cmpl	$137, %edi
	je	LBB0_14
## %bb.2:
	movl	$1, %r14d
	cmpl	$138, %edi
	jne	LBB0_18
## %bb.3:
	xorl	%r14d, %r14d
	cmpl	$0, (%rbx)
	je	LBB0_18
## %bb.4:
	movq	_KC_LCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_register_code
	movl	4(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$2, %eax
	jne	LBB0_9
## %bb.7:
	movq	_KC_X@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
LBB0_10:
	cmpl	$0, (%rbx)
	movq	_LAYER_UPPER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_13
## %bb.11:
	callq	_layer_on
	movl	$2, %edi
	callq	_breathing_period_set
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_breathing_pulse
	movq	_LAYER_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_12
LBB0_14:
	cmpl	$0, (%rbx)
	movq	_LAYER_LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_16
## %bb.15:
	callq	_layer_on
	movl	$2, %edi
	callq	_breathing_period_set
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_breathing_pulse
	movl	(%rbx), %edi
	movq	_LAYER_UPPER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_12:
	movq	_LAYER_ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
	jmp	LBB0_18
LBB0_13:
	callq	_layer_off
	movq	_LAYER_LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_17
LBB0_16:
	callq	_layer_off
	movl	(%rbx), %edi
	movq	_LAYER_UPPER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_17:
	movq	_LAYER_ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_5:
	movq	_KC_C@GOTPCREL(%rip), %rbx
LBB0_8:
	movl	(%rbx), %edi
	callq	_register_code
	movl	(%rbx), %edi
	callq	_unregister_code
LBB0_9:
	movl	(%r15), %edi
	callq	_unregister_code
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_LCTL,4,2                    ## @KC_LCTL
	.comm	_KC_C,4,2                       ## @KC_C
	.comm	_KC_X,4,2                       ## @KC_X
	.comm	_LAYER_UPPER,4,2                ## @LAYER_UPPER
	.comm	_LAYER_LOWER,4,2                ## @LAYER_LOWER
	.comm	_LAYER_ADJUST,4,2               ## @LAYER_ADJUST
	.comm	_LAYER_MOUSE,4,2                ## @LAYER_MOUSE
	.comm	_TEMPO_DEFAULT,4,2              ## @TEMPO_DEFAULT
	.comm	_TIMBRE_12,4,2                  ## @TIMBRE_12
	.comm	_TIMBRE_25,4,2                  ## @TIMBRE_25
	.comm	_TIMBRE_50,4,2                  ## @TIMBRE_50
	.comm	_TIMBRE_75,4,2                  ## @TIMBRE_75
	.comm	_TIMBRE_DEFAULT,4,2             ## @TIMBRE_DEFAULT
.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
	cmp	w0, #135
	b.eq	LBB0_7
; %bb.1:
	cmp	w0, #137
	b.eq	LBB0_9
; %bb.2:
	cmp	w0, #138
	b.ne	LBB0_11
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_20
; %bb.4:
Lloh0:
	adrp	x20, _KC_LCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _KC_LCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_register_code
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.eq	LBB0_17
; %bb.5:
	cmp	w8, #2
	b.ne	LBB0_19
; %bb.6:
Lloh2:
	adrp	x19, _KC_X@GOTPAGE
Lloh3:
	ldr	x19, [x19, _KC_X@GOTPAGEOFF]
	b	LBB0_18
LBB0_7:
	ldr	w8, [x19]
Lloh4:
	adrp	x19, _LAYER_UPPER@GOTPAGE
Lloh5:
	ldr	x19, [x19, _LAYER_UPPER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_12
; %bb.8:
	bl	_layer_on
	mov	w0, #2
	bl	_breathing_period_set
	bl	_breathing_pulse
	b	LBB0_13
LBB0_9:
	ldr	w8, [x19]
Lloh6:
	adrp	x19, _LAYER_LOWER@GOTPAGE
Lloh7:
	ldr	x19, [x19, _LAYER_LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_14
; %bb.10:
	bl	_layer_on
	mov	w0, #2
	bl	_breathing_period_set
	bl	_breathing_pulse
	b	LBB0_15
LBB0_11:
	mov	w0, #1
	b	LBB0_21
LBB0_12:
	bl	_layer_off
LBB0_13:
Lloh8:
	adrp	x8, _LAYER_LOWER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LAYER_LOWER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_16
LBB0_14:
	bl	_layer_off
LBB0_15:
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _LAYER_UPPER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LAYER_UPPER@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
LBB0_16:
Lloh14:
	adrp	x8, _LAYER_ADJUST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LAYER_ADJUST@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	bl	_update_tri_layer
	b	LBB0_20
LBB0_17:
Lloh17:
	adrp	x19, _KC_C@GOTPAGE
Lloh18:
	ldr	x19, [x19, _KC_C@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x19]
	bl	_register_code
	ldr	w0, [x19]
	bl	_unregister_code
LBB0_19:
	ldr	w0, [x20]
	bl	_unregister_code
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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_LCTL,4,2                    ; @KC_LCTL
	.comm	_KC_C,4,2                       ; @KC_C
	.comm	_KC_X,4,2                       ; @KC_X
	.comm	_LAYER_UPPER,4,2                ; @LAYER_UPPER
	.comm	_LAYER_LOWER,4,2                ; @LAYER_LOWER
	.comm	_LAYER_ADJUST,4,2               ; @LAYER_ADJUST
	.comm	_LAYER_MOUSE,4,2                ; @LAYER_MOUSE
	.comm	_TEMPO_DEFAULT,4,2              ; @TEMPO_DEFAULT
	.comm	_TIMBRE_12,4,2                  ; @TIMBRE_12
	.comm	_TIMBRE_25,4,2                  ; @TIMBRE_25
	.comm	_TIMBRE_50,4,2                  ; @TIMBRE_50
	.comm	_TIMBRE_75,4,2                  ; @TIMBRE_75
	.comm	_TIMBRE_DEFAULT,4,2             ; @TIMBRE_DEFAULT
.subsections_via_symbols
