	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$6, %edi
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.3:
	movq	_RAISE_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	_LOWER_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	_KEYBOARD_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	_BASE_STENO_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_eeconfig_is_enabled
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_eeconfig_init
LBB0_5:
	xorl	%eax, %eax
	callq	_eeconfig_read_keymap
	movq	_keymap_config@GOTPCREL(%rip), %rcx
	movl	%eax, 4(%rcx)
	movl	$1, (%rcx)
	movl	%eax, %edi
	callq	_eeconfig_update_keymap
	xorl	%eax, %eax
	callq	_plover_resume
	jmp	LBB0_29
LBB0_6:
	movl	$1, %ebx
	jmp	LBB0_29
LBB0_7:
	cmpl	$0, (%rsi)
	movq	_RAISE_LAYER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_21
## %bb.8:
	callq	_layer_on
	jmp	LBB0_22
LBB0_9:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_29
## %bb.10:
	movq	_BASE_QWERTY_LAYER@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_11:
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.12:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_plover_lookup
	jmp	LBB0_29
LBB0_13:
	cmpl	$0, (%rsi)
	je	LBB0_28
## %bb.14:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_plover_suspend
	movq	_BASE_STENO_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	jmp	LBB0_29
LBB0_15:
	cmpl	$0, (%rsi)
	movq	_LOWER_LAYER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_25
## %bb.16:
	callq	_layer_on
	jmp	LBB0_26
LBB0_17:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_29
## %bb.18:
	movq	_BASE_COLEMAK_LAYER@GOTPCREL(%rip), %rax
LBB0_19:
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	callq	_persistant_default_layer_set
	jmp	LBB0_29
LBB0_21:
	callq	_layer_off
LBB0_22:
	movq	_LOWER_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_27
LBB0_25:
	callq	_layer_off
LBB0_26:
	movl	(%rbx), %edi
	movq	_RAISE_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_27:
	movq	_KEYBOARD_LAYER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
LBB0_28:
	xorl	%ebx, %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_BASE_QWERTY_LAYER,8,3          ## @BASE_QWERTY_LAYER
	.comm	_BASE_COLEMAK_LAYER,8,3         ## @BASE_COLEMAK_LAYER
	.comm	_LOWER_LAYER,4,2                ## @LOWER_LAYER
	.comm	_RAISE_LAYER,4,2                ## @RAISE_LAYER
	.comm	_KEYBOARD_LAYER,4,2             ## @KEYBOARD_LAYER
	.comm	_BASE_STENO_LAYER,4,2           ## @BASE_STENO_LAYER
	.comm	_keymap_config,8,2              ## @keymap_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_6
; %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_25
; %bb.3:
Lloh2:
	adrp	x8, _RAISE_LAYER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RAISE_LAYER@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_layer_off
Lloh5:
	adrp	x8, _LOWER_LAYER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOWER_LAYER@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_layer_off
Lloh8:
	adrp	x8, _KEYBOARD_LAYER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KEYBOARD_LAYER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_layer_off
Lloh11:
	adrp	x8, _BASE_STENO_LAYER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BASE_STENO_LAYER@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_layer_on
	bl	_eeconfig_is_enabled
	cbnz	w0, LBB0_5
; %bb.4:
	bl	_eeconfig_init
LBB0_5:
	bl	_eeconfig_read_keymap
Lloh14:
	adrp	x8, _keymap_config@GOTPAGE
Lloh15:
	ldr	x8, [x8, _keymap_config@GOTPAGEOFF]
	mov	w9, #1
	stp	w9, w0, [x8]
	bl	_eeconfig_update_keymap
	bl	_plover_resume
	b	LBB0_25
LBB0_6:
	mov	w0, #1
	b	LBB0_26
LBB0_7:
	ldr	w8, [x1]
Lloh16:
	adrp	x19, _RAISE_LAYER@GOTPAGE
Lloh17:
	ldr	x19, [x19, _RAISE_LAYER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_20
; %bb.8:
	bl	_layer_on
	b	LBB0_21
LBB0_9:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.10:
Lloh18:
	adrp	x8, _BASE_QWERTY_LAYER@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BASE_QWERTY_LAYER@GOTPAGEOFF]
	b	LBB0_19
LBB0_11:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.12:
	bl	_plover_lookup
	b	LBB0_25
LBB0_13:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.14:
	bl	_plover_suspend
Lloh20:
	adrp	x8, _BASE_STENO_LAYER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _BASE_STENO_LAYER@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_layer_off
	b	LBB0_25
LBB0_15:
	ldr	w8, [x1]
Lloh23:
	adrp	x19, _LOWER_LAYER@GOTPAGE
Lloh24:
	ldr	x19, [x19, _LOWER_LAYER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_22
; %bb.16:
	bl	_layer_on
	b	LBB0_23
LBB0_17:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.18:
Lloh25:
	adrp	x8, _BASE_COLEMAK_LAYER@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BASE_COLEMAK_LAYER@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	bl	_persistant_default_layer_set
	b	LBB0_25
LBB0_20:
	bl	_layer_off
LBB0_21:
Lloh27:
	adrp	x8, _LOWER_LAYER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LOWER_LAYER@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_24
LBB0_22:
	bl	_layer_off
LBB0_23:
	ldr	w0, [x19]
Lloh30:
	adrp	x8, _RAISE_LAYER@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RAISE_LAYER@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
LBB0_24:
Lloh33:
	adrp	x8, _KEYBOARD_LAYER@GOTPAGE
Lloh34:
	ldr	x8, [x8, _KEYBOARD_LAYER@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	bl	_update_tri_layer
LBB0_25:
	mov	w0, #0
LBB0_26:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
                                        ; -- End function
	.comm	_BASE_QWERTY_LAYER,8,3          ; @BASE_QWERTY_LAYER
	.comm	_BASE_COLEMAK_LAYER,8,3         ; @BASE_COLEMAK_LAYER
	.comm	_LOWER_LAYER,4,2                ; @LOWER_LAYER
	.comm	_RAISE_LAYER,4,2                ; @RAISE_LAYER
	.comm	_KEYBOARD_LAYER,4,2             ; @KEYBOARD_LAYER
	.comm	_BASE_STENO_LAYER,4,2           ; @BASE_STENO_LAYER
	.comm	_keymap_config,8,2              ; @keymap_config
.subsections_via_symbols
