	.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	$7, %edi
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	cmpl	$0, (%rsi)
	movq	__RAISE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_20
## %bb.3:
	callq	_layer_on
	jmp	LBB0_21
LBB0_4:
	movl	$1, %ebx
	jmp	LBB0_26
LBB0_5:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_26
## %bb.6:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_7:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	jne	LBB0_26
## %bb.8:
	movq	__PLOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	jmp	LBB0_26
LBB0_9:
	cmpl	$0, (%rsi)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_22
## %bb.10:
	callq	_layer_on
	jmp	LBB0_23
LBB0_11:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_26
## %bb.12:
	movq	__PLOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	jmp	LBB0_26
LBB0_13:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_26
## %bb.14:
	movq	__DVORAK@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	xorl	%ebx, %ebx
	cmpl	$0, (%rsi)
	je	LBB0_26
## %bb.16:
	movq	__COLEMAK@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %edi
	callq	_set_single_persistent_default_layer
	jmp	LBB0_26
LBB0_18:
	cmpl	$0, (%rsi)
	movq	_KC_RSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_27
## %bb.19:
	callq	_register_code
	jmp	LBB0_25
LBB0_20:
	callq	_layer_off
LBB0_21:
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_24
LBB0_22:
	callq	_layer_off
LBB0_23:
	movl	(%rbx), %edi
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_24:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
LBB0_25:
	xorl	%ebx, %ebx
LBB0_26:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_27:
	callq	_unregister_code
	jmp	LBB0_25
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-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_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_5
	.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_18
	.end_data_region
                                        ## -- End function
	.comm	__QWERTY,4,2                    ## @_QWERTY
	.comm	__COLEMAK,4,2                   ## @_COLEMAK
	.comm	__DVORAK,4,2                    ## @_DVORAK
	.comm	__LOWER,4,2                     ## @_LOWER
	.comm	__RAISE,4,2                     ## @_RAISE
	.comm	__ADJUST,4,2                    ## @_ADJUST
	.comm	_KC_RSFT,4,2                    ## @KC_RSFT
	.comm	__PLOVER,4,2                    ## @_PLOVER
	.comm	_plover_gb_song,4,2             ## @plover_gb_song
	.comm	_plover_song,4,2                ## @plover_song
.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, #7
	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]
Lloh2:
	adrp	x19, __RAISE@GOTPAGE
Lloh3:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_20
; %bb.3:
	bl	_layer_on
	b	LBB0_21
LBB0_4:
	mov	w0, #1
	b	LBB0_26
LBB0_5:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.6:
Lloh4:
	adrp	x8, __QWERTY@GOTPAGE
Lloh5:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
	b	LBB0_17
LBB0_7:
	ldr	w8, [x1]
	cbnz	w8, LBB0_25
; %bb.8:
Lloh6:
	adrp	x8, __PLOVER@GOTPAGE
Lloh7:
	ldr	x8, [x8, __PLOVER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_layer_on
	b	LBB0_25
LBB0_9:
	ldr	w8, [x1]
Lloh9:
	adrp	x19, __LOWER@GOTPAGE
Lloh10:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_22
; %bb.10:
	bl	_layer_on
	b	LBB0_23
LBB0_11:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.12:
Lloh11:
	adrp	x8, __PLOVER@GOTPAGE
Lloh12:
	ldr	x8, [x8, __PLOVER@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_layer_off
	b	LBB0_25
LBB0_13:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.14:
Lloh14:
	adrp	x8, __DVORAK@GOTPAGE
Lloh15:
	ldr	x8, [x8, __DVORAK@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:
	ldr	w8, [x1]
	cbz	w8, LBB0_25
; %bb.16:
Lloh16:
	adrp	x8, __COLEMAK@GOTPAGE
Lloh17:
	ldr	x8, [x8, __COLEMAK@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	bl	_set_single_persistent_default_layer
	b	LBB0_25
LBB0_18:
	ldr	w8, [x1]
Lloh18:
	adrp	x9, _KC_RSFT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _KC_RSFT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x9]
	cbz	w8, LBB0_27
; %bb.19:
	bl	_register_code
	b	LBB0_25
LBB0_20:
	bl	_layer_off
LBB0_21:
Lloh21:
	adrp	x8, __LOWER@GOTPAGE
Lloh22:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_24
LBB0_22:
	bl	_layer_off
LBB0_23:
	ldr	w0, [x19]
Lloh24:
	adrp	x8, __RAISE@GOTPAGE
Lloh25:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
LBB0_24:
Lloh27:
	adrp	x8, __ADJUST@GOTPAGE
Lloh28:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh29:
	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
LBB0_27:
	bl	_unregister_code
	b	LBB0_25
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, 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_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_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
                                        ; -- End function
	.comm	__QWERTY,4,2                    ; @_QWERTY
	.comm	__COLEMAK,4,2                   ; @_COLEMAK
	.comm	__DVORAK,4,2                    ; @_DVORAK
	.comm	__LOWER,4,2                     ; @_LOWER
	.comm	__RAISE,4,2                     ; @_RAISE
	.comm	__ADJUST,4,2                    ; @_ADJUST
	.comm	_KC_RSFT,4,2                    ; @KC_RSFT
	.comm	__PLOVER,4,2                    ; @_PLOVER
	.comm	_plover_gb_song,4,2             ; @plover_gb_song
	.comm	_plover_song,4,2                ; @plover_song
.subsections_via_symbols
