	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	__DYN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MO
	movl	%ebx, %edi
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.1:
	movq	_DYN_REC_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_2:
	movq	%r15, %rsi
	callq	_process_record_dynamic_macro
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_28
## %bb.3:
	addl	$-128, %ebx
	cmpl	$6, %ebx
	ja	LBB0_4
## %bb.5:
	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_16
## %bb.14:
	callq	_layer_on
	jmp	LBB0_15
LBB0_4:
	movl	$1, %r14d
	jmp	LBB0_28
LBB0_6:
	cmpl	$0, (%r15)
	je	LBB0_28
## %bb.7:
	movq	__QWERTY@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	callq	_persistant_default_layer_set
	jmp	LBB0_28
LBB0_19:
	cmpl	$0, (%r15)
	je	LBB0_28
## %bb.20:
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	__PLOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_eeconfig_is_enabled
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	xorl	%eax, %eax
	callq	_eeconfig_init
LBB0_22:
	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
	jmp	LBB0_28
LBB0_25:
	cmpl	$0, (%r15)
	je	LBB0_28
## %bb.26:
	movq	_KC_RSFT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_register_code
	movq	_KC_RCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_register_code
	movq	_KC_POWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_register_code
	movl	(%rbx), %edi
	callq	_unregister_code
	movl	(%r12), %edi
	callq	_unregister_code
	movl	(%r15), %edi
	jmp	LBB0_27
LBB0_8:
	cmpl	$0, (%r15)
	movq	__LOWER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_12
## %bb.9:
	callq	_layer_on
	jmp	LBB0_10
LBB0_23:
	cmpl	$0, (%r15)
	je	LBB0_28
## %bb.24:
	movq	__PLOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	jmp	LBB0_28
LBB0_17:
	cmpl	$0, (%r15)
	movq	_KC_RSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_27
## %bb.18:
	callq	_register_code
	jmp	LBB0_28
LBB0_27:
	callq	_unregister_code
	jmp	LBB0_28
LBB0_16:
	callq	_layer_off
LBB0_15:
	movq	__LOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_11
LBB0_12:
	callq	_layer_off
LBB0_10:
	movl	(%rbx), %edi
	movq	__RAISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_11:
	movq	__ADJUST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
LBB0_28:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	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_19, LBB0_19-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_6
	.long	L0_0_set_19
	.long	L0_0_set_25
	.long	L0_0_set_8
	.long	L0_0_set_23
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	__DYN,4,2                       ## @_DYN
	.comm	_DYN_REC_STOP,4,2               ## @DYN_REC_STOP
	.comm	__QWERTY,8,3                    ## @_QWERTY
	.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	_keymap_config,8,2              ## @keymap_config
	.comm	_KC_RCTL,4,2                    ## @KC_RCTL
	.comm	_KC_POWER,4,2                   ## @KC_POWER
	.comm	_tone_plover,4,2                ## @tone_plover
	.comm	_tone_plover_gb,4,2             ## @tone_plover_gb
	.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, __DYN@GOTPAGE
Lloh1:
	ldr	x8, [x8, __DYN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_MO
Lloh3:
	adrp	x8, _DYN_REC_STOP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DYN_REC_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w20
	csel	w0, w8, w20, eq
	mov	x1, x19
	bl	_process_record_dynamic_macro
	cbz	w0, LBB0_27
; %bb.1:
	sub	w8, w20, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.2:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	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]
Lloh8:
	adrp	x19, __RAISE@GOTPAGE
Lloh9:
	ldr	x19, [x19, __RAISE@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_21
; %bb.4:
	bl	_layer_on
	b	LBB0_22
LBB0_5:
	mov	w0, #1
	b	LBB0_27
LBB0_6:
	ldr	w8, [x19]
	cbz	w8, LBB0_26
; %bb.7:
Lloh10:
	adrp	x8, __QWERTY@GOTPAGE
Lloh11:
	ldr	x8, [x8, __QWERTY@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	bl	_persistant_default_layer_set
	b	LBB0_26
LBB0_8:
	ldr	w8, [x19]
	cbz	w8, LBB0_26
; %bb.9:
Lloh13:
	adrp	x8, __RAISE@GOTPAGE
Lloh14:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_layer_off
Lloh16:
	adrp	x8, __LOWER@GOTPAGE
Lloh17:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_layer_off
Lloh19:
	adrp	x8, __ADJUST@GOTPAGE
Lloh20:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_layer_off
Lloh22:
	adrp	x8, __PLOVER@GOTPAGE
Lloh23:
	ldr	x8, [x8, __PLOVER@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_layer_on
	bl	_eeconfig_is_enabled
	cbnz	w0, LBB0_11
; %bb.10:
	bl	_eeconfig_init
LBB0_11:
	bl	_eeconfig_read_keymap
Lloh25:
	adrp	x8, _keymap_config@GOTPAGE
Lloh26:
	ldr	x8, [x8, _keymap_config@GOTPAGEOFF]
	mov	w9, #1
	stp	w9, w0, [x8]
	bl	_eeconfig_update_keymap
	b	LBB0_26
LBB0_12:
	ldr	w8, [x19]
	cbz	w8, LBB0_26
; %bb.13:
Lloh27:
	adrp	x19, _KC_RSFT@GOTPAGE
Lloh28:
	ldr	x19, [x19, _KC_RSFT@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_register_code
Lloh29:
	adrp	x20, _KC_RCTL@GOTPAGE
Lloh30:
	ldr	x20, [x20, _KC_RCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_register_code
Lloh31:
	adrp	x21, _KC_POWER@GOTPAGE
Lloh32:
	ldr	x21, [x21, _KC_POWER@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_register_code
	ldr	w0, [x21]
	bl	_unregister_code
	ldr	w0, [x20]
	bl	_unregister_code
	ldr	w0, [x19]
	b	LBB0_20
LBB0_14:
	ldr	w8, [x19]
Lloh33:
	adrp	x19, __LOWER@GOTPAGE
Lloh34:
	ldr	x19, [x19, __LOWER@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	w8, LBB0_23
; %bb.15:
	bl	_layer_on
	b	LBB0_24
LBB0_16:
	ldr	w8, [x19]
	cbz	w8, LBB0_26
; %bb.17:
Lloh35:
	adrp	x8, __PLOVER@GOTPAGE
Lloh36:
	ldr	x8, [x8, __PLOVER@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_layer_off
	b	LBB0_26
LBB0_18:
	ldr	w8, [x19]
Lloh38:
	adrp	x9, _KC_RSFT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _KC_RSFT@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x9]
	cbz	w8, LBB0_20
; %bb.19:
	bl	_register_code
	b	LBB0_26
LBB0_20:
	bl	_unregister_code
	b	LBB0_26
LBB0_21:
	bl	_layer_off
LBB0_22:
Lloh41:
	adrp	x8, __LOWER@GOTPAGE
Lloh42:
	ldr	x8, [x8, __LOWER@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_25
LBB0_23:
	bl	_layer_off
LBB0_24:
	ldr	w0, [x19]
Lloh44:
	adrp	x8, __RAISE@GOTPAGE
Lloh45:
	ldr	x8, [x8, __RAISE@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
LBB0_25:
Lloh47:
	adrp	x8, __ADJUST@GOTPAGE
Lloh48:
	ldr	x8, [x8, __ADJUST@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	bl	_update_tri_layer
LBB0_26:
	mov	w0, #0
LBB0_27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
                                        ; -- End function
	.comm	__DYN,4,2                       ; @_DYN
	.comm	_DYN_REC_STOP,4,2               ; @DYN_REC_STOP
	.comm	__QWERTY,8,3                    ; @_QWERTY
	.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	_keymap_config,8,2              ; @keymap_config
	.comm	_KC_RCTL,4,2                    ; @KC_RCTL
	.comm	_KC_POWER,4,2                   ; @KC_POWER
	.comm	_tone_plover,4,2                ; @tone_plover
	.comm	_tone_plover_gb,4,2             ; @tone_plover_gb
	.comm	_tone_qwerty,4,2                ; @tone_qwerty
.subsections_via_symbols
