	.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	$5, %edi
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	xorl	%eax, %eax
	cmpl	$0, (%rsi)
	je	LBB0_25
## %bb.7:
	movq	_US_LAYOUT@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_25
LBB0_8:
	cmpl	$0, (%rsi)
	movq	_X_LSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_10
## %bb.9:
	callq	_SS_DOWN
	movl	$1, %ebx
	jmp	LBB0_11
LBB0_17:
	cmpl	$0, (%rsi)
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_19
## %bb.18:
	callq	_layer_on
	jmp	LBB0_20
LBB0_12:
	cmpl	$0, (%rsi)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_14
## %bb.13:
	callq	_layer_on
	jmp	LBB0_15
LBB0_3:
	xorl	%eax, %eax
	cmpl	$0, (%rsi)
	je	LBB0_25
## %bb.4:
	movq	_JP_LAYOUT@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	movq	_LAYOUT_STATUS@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_25
LBB0_21:
	cmpl	$0, (%rsi)
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_23
## %bb.22:
	callq	_layer_on
	jmp	LBB0_24
LBB0_10:
	callq	_SS_UP
	xorl	%ebx, %ebx
LBB0_11:
	movl	%eax, %edi
	callq	_SEND_STRING
	movq	_SHIFT_PRESSED@GOTPCREL(%rip), %rax
	movl	%ebx, (%rax)
	jmp	LBB0_24
LBB0_19:
	callq	_layer_off
LBB0_20:
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_16
LBB0_14:
	callq	_layer_off
LBB0_15:
	movl	(%rbx), %edi
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_16:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
LBB0_24:
	xorl	%eax, %eax
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_23:
	callq	_layer_off
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_17
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_JP_LAYOUT,4,2                  ## @JP_LAYOUT
	.comm	_LAYOUT_STATUS,4,2              ## @LAYOUT_STATUS
	.comm	_US_LAYOUT,4,2                  ## @US_LAYOUT
	.comm	_X_LSHIFT,4,2                   ## @X_LSHIFT
	.comm	_SHIFT_PRESSED,4,2              ## @SHIFT_PRESSED
	.comm	__LOWER,4,2                     ## @_LOWER
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__ADJUST,4,2                    ## @_ADJUST
	.comm	_AMPR,4,2                       ## @AMPR
	.comm	_ASTR,4,2                       ## @ASTR
	.comm	_AT,4,2                         ## @AT
	.comm	_BSLASH,4,2                     ## @BSLASH
	.comm	_BSLS,4,2                       ## @BSLS
	.comm	_BSPACE,4,2                     ## @BSPACE
	.comm	_CIRC,4,2                       ## @CIRC
	.comm	_CSTM_0,4,2                     ## @CSTM_0
	.comm	_CSTM_1,4,2                     ## @CSTM_1
	.comm	_CSTM_2,4,2                     ## @CSTM_2
	.comm	_CSTM_3,4,2                     ## @CSTM_3
	.comm	_CSTM_4,4,2                     ## @CSTM_4
	.comm	_CSTM_5,4,2                     ## @CSTM_5
	.comm	_CSTM_6,4,2                     ## @CSTM_6
	.comm	_CSTM_7,4,2                     ## @CSTM_7
	.comm	_CSTM_8,4,2                     ## @CSTM_8
	.comm	_CSTM_9,4,2                     ## @CSTM_9
	.comm	_DEL,4,2                        ## @DEL
	.comm	_DELETE,4,2                     ## @DELETE
	.comm	_DLR,4,2                        ## @DLR
	.comm	_EQL,4,2                        ## @EQL
	.comm	_EQUAL,4,2                      ## @EQUAL
	.comm	_EXLM,4,2                       ## @EXLM
	.comm	_GRAVE,4,2                      ## @GRAVE
	.comm	_GRV,4,2                        ## @GRV
	.comm	_HASH,4,2                       ## @HASH
	.comm	_INT1,4,2                       ## @INT1
	.comm	_INT3,4,2                       ## @INT3
	.comm	_LBRACKET,4,2                   ## @LBRACKET
	.comm	_LBRC,4,2                       ## @LBRC
	.comm	_LCBR,4,2                       ## @LCBR
	.comm	_LPRN,4,2                       ## @LPRN
	.comm	_MINS,4,2                       ## @MINS
	.comm	_MINUS,4,2                      ## @MINUS
	.comm	_NONUS_HASH,4,2                 ## @NONUS_HASH
	.comm	_PERC,4,2                       ## @PERC
	.comm	_PIPE,4,2                       ## @PIPE
	.comm	_PLUS,4,2                       ## @PLUS
	.comm	_QUOT,4,2                       ## @QUOT
	.comm	_QUOTE,4,2                      ## @QUOTE
	.comm	_RBRACKET,4,2                   ## @RBRACKET
	.comm	_RBRC,4,2                       ## @RBRC
	.comm	_RCBR,4,2                       ## @RCBR
	.comm	_RPRN,4,2                       ## @RPRN
	.comm	_SCLN,4,2                       ## @SCLN
	.comm	_SCOLON,4,2                     ## @SCOLON
	.comm	_TILD,4,2                       ## @TILD
	.comm	_UNDS,4,2                       ## @UNDS
.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_4
; %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_23
; %bb.3:
	mov	w0, #0
Lloh2:
	adrp	x8, _US_LAYOUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _US_LAYOUT@GOTPAGEOFF]
	b	LBB0_13
LBB0_4:
	mov	w0, #1
	b	LBB0_24
LBB0_5:
	ldr	w8, [x1]
Lloh4:
	adrp	x9, _X_LSHIFT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _X_LSHIFT@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	cbz	w8, LBB0_16
; %bb.6:
	bl	_SS_DOWN
	mov	w19, #1
	b	LBB0_17
LBB0_7:
	ldr	w8, [x1]
Lloh7:
	adrp	x19, __RAISE@GOTPAGE
Lloh8:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_18
; %bb.8:
	bl	_layer_on
	b	LBB0_19
LBB0_9:
	ldr	w8, [x1]
Lloh9:
	adrp	x19, __LOWER@GOTPAGE
Lloh10:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_20
; %bb.10:
	bl	_layer_on
	b	LBB0_21
LBB0_11:
	ldr	w8, [x1]
	cbz	w8, LBB0_23
; %bb.12:
	mov	w0, #0
Lloh11:
	adrp	x8, _JP_LAYOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _JP_LAYOUT@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _LAYOUT_STATUS@GOTPAGE
Lloh14:
	ldr	x9, [x9, _LAYOUT_STATUS@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
	b	LBB0_24
LBB0_14:
	ldr	w8, [x1]
Lloh16:
	adrp	x9, __ADJUST@GOTPAGE
Lloh17:
	ldr	x9, [x9, __ADJUST@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	cbz	w8, LBB0_25
; %bb.15:
	bl	_layer_on
	b	LBB0_23
LBB0_16:
	bl	_SS_UP
	mov	w19, #0
LBB0_17:
	bl	_SEND_STRING
	mov	w0, #0
Lloh19:
	adrp	x8, _SHIFT_PRESSED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SHIFT_PRESSED@GOTPAGEOFF]
Lloh21:
	str	w19, [x8]
	b	LBB0_24
LBB0_18:
	bl	_layer_off
LBB0_19:
Lloh22:
	adrp	x8, __LOWER@GOTPAGE
Lloh23:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_22
LBB0_20:
	bl	_layer_off
LBB0_21:
	ldr	w0, [x19]
Lloh25:
	adrp	x8, __RAISE@GOTPAGE
Lloh26:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
LBB0_22:
Lloh28:
	adrp	x8, __ADJUST@GOTPAGE
Lloh29:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	bl	_update_tri_layer
LBB0_23:
	mov	w0, #0
LBB0_24:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_25:
	bl	_layer_off
	b	LBB0_23
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_JP_LAYOUT,4,2                  ; @JP_LAYOUT
	.comm	_LAYOUT_STATUS,4,2              ; @LAYOUT_STATUS
	.comm	_US_LAYOUT,4,2                  ; @US_LAYOUT
	.comm	_X_LSHIFT,4,2                   ; @X_LSHIFT
	.comm	_SHIFT_PRESSED,4,2              ; @SHIFT_PRESSED
	.comm	__LOWER,4,2                     ; @_LOWER
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__ADJUST,4,2                    ; @_ADJUST
	.comm	_AMPR,4,2                       ; @AMPR
	.comm	_ASTR,4,2                       ; @ASTR
	.comm	_AT,4,2                         ; @AT
	.comm	_BSLASH,4,2                     ; @BSLASH
	.comm	_BSLS,4,2                       ; @BSLS
	.comm	_BSPACE,4,2                     ; @BSPACE
	.comm	_CIRC,4,2                       ; @CIRC
	.comm	_CSTM_0,4,2                     ; @CSTM_0
	.comm	_CSTM_1,4,2                     ; @CSTM_1
	.comm	_CSTM_2,4,2                     ; @CSTM_2
	.comm	_CSTM_3,4,2                     ; @CSTM_3
	.comm	_CSTM_4,4,2                     ; @CSTM_4
	.comm	_CSTM_5,4,2                     ; @CSTM_5
	.comm	_CSTM_6,4,2                     ; @CSTM_6
	.comm	_CSTM_7,4,2                     ; @CSTM_7
	.comm	_CSTM_8,4,2                     ; @CSTM_8
	.comm	_CSTM_9,4,2                     ; @CSTM_9
	.comm	_DEL,4,2                        ; @DEL
	.comm	_DELETE,4,2                     ; @DELETE
	.comm	_DLR,4,2                        ; @DLR
	.comm	_EQL,4,2                        ; @EQL
	.comm	_EQUAL,4,2                      ; @EQUAL
	.comm	_EXLM,4,2                       ; @EXLM
	.comm	_GRAVE,4,2                      ; @GRAVE
	.comm	_GRV,4,2                        ; @GRV
	.comm	_HASH,4,2                       ; @HASH
	.comm	_INT1,4,2                       ; @INT1
	.comm	_INT3,4,2                       ; @INT3
	.comm	_LBRACKET,4,2                   ; @LBRACKET
	.comm	_LBRC,4,2                       ; @LBRC
	.comm	_LCBR,4,2                       ; @LCBR
	.comm	_LPRN,4,2                       ; @LPRN
	.comm	_MINS,4,2                       ; @MINS
	.comm	_MINUS,4,2                      ; @MINUS
	.comm	_NONUS_HASH,4,2                 ; @NONUS_HASH
	.comm	_PERC,4,2                       ; @PERC
	.comm	_PIPE,4,2                       ; @PIPE
	.comm	_PLUS,4,2                       ; @PLUS
	.comm	_QUOT,4,2                       ; @QUOT
	.comm	_QUOTE,4,2                      ; @QUOTE
	.comm	_RBRACKET,4,2                   ; @RBRACKET
	.comm	_RBRC,4,2                       ; @RBRC
	.comm	_RCBR,4,2                       ; @RCBR
	.comm	_RPRN,4,2                       ; @RPRN
	.comm	_SCLN,4,2                       ; @SCLN
	.comm	_SCOLON,4,2                     ; @SCOLON
	.comm	_TILD,4,2                       ; @TILD
	.comm	_UNDS,4,2                       ; @UNDS
.subsections_via_symbols
