	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	__DYN@GOTPCREL(%rip), %r12
	movl	(%r12), %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_40
## %bb.3:
	cmpq	$0, _process_record_user.ignore_up_events(%rip)
	jle	LBB0_8
## %bb.4:
	movl	(%r12), %edi
	callq	_MO
	cmpl	$136, %ebx
	je	LBB0_8
## %bb.5:
	cmpl	%ebx, %eax
	je	LBB0_8
## %bb.6:
	cmpq	$0, 8(%r15)
	je	LBB0_7
LBB0_8:
	addl	$-128, %ebx
	cmpl	$8, %ebx
	ja	LBB0_36
## %bb.9:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_34:
	cmpq	$0, 8(%r15)
	je	LBB0_36
## %bb.35:
	movl	$250, %edi
	callq	__delay_ms
	jmp	LBB0_36
LBB0_7:
	decq	_process_record_user.ignore_up_events(%rip)
	jmp	LBB0_40
LBB0_19:
	movq	_KC_LSFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_register_code
	jmp	LBB0_36
LBB0_22:
	movq	__PP@GOTPCREL(%rip), %rax
	movq	_default_layer_state@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movl	(%rax), %eax
	btq	%rax, %rbx
	jae	LBB0_24
## %bb.23:
	movq	_layer_state@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	$0, (%rax)
	movq	__QW@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shlq	%cl, %rax
	movq	%rax, (%r12)
	movq	%r15, %rdi
	callq	_process_record
	movq	_layer_state@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
	movq	%rbx, (%r12)
	jmp	LBB0_40
LBB0_15:
	cmpq	$0, 8(%r15)
	movq	__RS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_17
## %bb.16:
	callq	_layer_on
	jmp	LBB0_18
LBB0_30:
	cmpq	$0, 8(%r15)
	jne	LBB0_25
## %bb.31:
	movl	_process_record_user.key_timer(%rip), %edi
	callq	_timer_elapsed
	cmpl	$250, %eax
	jge	LBB0_29
## %bb.32:
	movq	__PP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edi
	shlq	%cl, %rdi
	callq	_default_layer_set
	jmp	LBB0_36
LBB0_28:
	cmpq	$0, 8(%r15)
	jne	LBB0_36
LBB0_29:
	xorl	%eax, %eax
	callq	_enable_gaming_layer
	jmp	LBB0_36
LBB0_33:
	movq	__NM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	jmp	LBB0_36
LBB0_10:
	cmpq	$0, 8(%r15)
	movq	__LW@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	je	LBB0_12
## %bb.11:
	callq	_layer_on
	jmp	LBB0_13
LBB0_20:
	cmpq	$0, 8(%r15)
	jne	LBB0_36
## %bb.21:
	incq	_process_record_user.ignore_up_events(%rip)
	jmp	LBB0_36
LBB0_24:
	cmpq	$0, 8(%r15)
	je	LBB0_26
LBB0_25:
	xorl	%eax, %eax
	callq	_timer_read
	movl	%eax, _process_record_user.key_timer(%rip)
LBB0_36:
	movl	$1, %r14d
	cmpq	$0, 8(%r15)
	je	LBB0_40
## %bb.37:
	movq	__NM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_IS_LAYER_ON
	testq	%rax, %rax
	je	LBB0_40
## %bb.38:
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_keymap_key_to_keycode
	movq	_KC_TRNS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_40
## %bb.39:
	movl	(%rbx), %edi
	callq	_layer_off
	jmp	LBB0_40
LBB0_17:
	callq	_layer_off
LBB0_18:
	movq	__LW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	jmp	LBB0_14
LBB0_12:
	callq	_layer_off
LBB0_13:
	movl	(%rbx), %edi
	movq	__RS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_14:
	movq	__DL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_update_tri_layer
LBB0_40:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movl	_process_record_user.key_timer(%rip), %edi
	callq	_timer_elapsed
	cmpl	$500, %eax                      ## imm = 0x1F4
	jl	LBB0_36
## %bb.27:
	xorl	%eax, %eax
	callq	_clear_keyboard
	xorl	%eax, %eax
	callq	_backlight_toggle
	movl	$250, %edi
	callq	__delay_ms
	xorl	%eax, %eax
	callq	_backlight_toggle
	xorl	%eax, %eax
	callq	_bootloader_jump
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_34
	.long	L0_0_set_19
	.long	L0_0_set_22
	.long	L0_0_set_15
	.long	L0_0_set_30
	.long	L0_0_set_28
	.long	L0_0_set_33
	.long	L0_0_set_10
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
.zerofill __DATA,__bss,_process_record_user.key_timer,4,2 ## @process_record_user.key_timer
.zerofill __DATA,__bss,_process_record_user.ignore_up_events,8,3 ## @process_record_user.ignore_up_events
	.comm	__DYN,4,2                       ## @_DYN
	.comm	_DYN_REC_STOP,4,2               ## @DYN_REC_STOP
	.comm	__LW,4,2                        ## @_LW
	.comm	__RS,4,2                        ## @_RS
	.comm	__DL,4,2                        ## @_DL
	.comm	_KC_LSFT,4,2                    ## @KC_LSFT
	.comm	__PP,8,3                        ## @_PP
	.comm	_default_layer_state,8,3        ## @default_layer_state
	.comm	_layer_state,8,3                ## @layer_state
	.comm	__QW,8,3                        ## @_QW
	.comm	__NM,4,2                        ## @_NM
	.comm	_KC_TRNS,8,3                    ## @KC_TRNS
.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	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, __DYN@GOTPAGE
Lloh1:
	ldr	x22, [x22, __DYN@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_MO
Lloh2:
	adrp	x8, _DYN_REC_STOP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DYN_REC_STOP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w20
	csel	w0, w8, w20, eq
	mov	x1, x19
	bl	_process_record_dynamic_macro
	cbz	w0, LBB0_37
; %bb.1:
	adrp	x21, _process_record_user.ignore_up_events@PAGE
	ldr	x8, [x21, _process_record_user.ignore_up_events@PAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	w0, [x22]
	bl	_MO
	cmp	w20, #136
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
LBB0_5:
	sub	w8, w20, #128
	cmp	w8, #8
	b.hi	LBB0_27
; %bb.6:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_27
; %bb.8:
	mov	w0, #250
	bl	__delay_ms
	b	LBB0_27
LBB0_9:
	mov	w0, #0
	ldr	x8, [x21, _process_record_user.ignore_up_events@PAGEOFF]
	sub	x8, x8, #1
	str	x8, [x21, _process_record_user.ignore_up_events@PAGEOFF]
	b	LBB0_37
LBB0_10:
Lloh7:
	adrp	x8, _KC_LSFT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KC_LSFT@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_register_code
	b	LBB0_27
LBB0_11:
Lloh10:
	adrp	x8, __PP@GOTPAGE
Lloh11:
	ldr	x8, [x8, __PP@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x20, _default_layer_state@GOTPAGE
Lloh14:
	ldr	x20, [x20, _default_layer_state@GOTPAGEOFF]
	ldr	x21, [x20]
	lsr	x8, x21, x8
	tbz	w8, #0, LBB0_25
; %bb.12:
Lloh15:
	adrp	x22, _layer_state@GOTPAGE
Lloh16:
	ldr	x22, [x22, _layer_state@GOTPAGEOFF]
	ldr	x23, [x22]
	str	xzr, [x22]
Lloh17:
	adrp	x8, __QW@GOTPAGE
Lloh18:
	ldr	x8, [x8, __QW@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x8, x9, x8
	str	x8, [x20]
	mov	x0, x19
	bl	_process_record
	mov	w0, #0
	str	x23, [x22]
	str	x21, [x20]
	b	LBB0_37
LBB0_13:
	ldr	x8, [x19, #8]
Lloh20:
	adrp	x19, __RS@GOTPAGE
Lloh21:
	ldr	x19, [x19, __RS@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	x8, LBB0_32
; %bb.14:
	bl	_layer_on
	b	LBB0_33
LBB0_15:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_26
; %bb.16:
Lloh22:
	adrp	x8, _process_record_user.key_timer@PAGE
Lloh23:
	ldr	w0, [x8, _process_record_user.key_timer@PAGEOFF]
	bl	_timer_elapsed
	cmp	w0, #250
	b.ge	LBB0_19
; %bb.17:
Lloh24:
	adrp	x8, __PP@GOTPAGE
Lloh25:
	ldr	x8, [x8, __PP@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x0, x9, x8
	bl	_default_layer_set
	b	LBB0_27
LBB0_18:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_27
LBB0_19:
	bl	_enable_gaming_layer
	b	LBB0_27
LBB0_20:
Lloh27:
	adrp	x8, __NM@GOTPAGE
Lloh28:
	ldr	x8, [x8, __NM@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_layer_on
	b	LBB0_27
LBB0_21:
	ldr	x8, [x19, #8]
Lloh30:
	adrp	x19, __LW@GOTPAGE
Lloh31:
	ldr	x19, [x19, __LW@GOTPAGEOFF]
	ldr	w0, [x19]
	cbz	x8, LBB0_34
; %bb.22:
	bl	_layer_on
	b	LBB0_35
LBB0_23:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_27
; %bb.24:
	ldr	x8, [x21, _process_record_user.ignore_up_events@PAGEOFF]
	add	x8, x8, #1
	str	x8, [x21, _process_record_user.ignore_up_events@PAGEOFF]
	b	LBB0_27
LBB0_25:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_38
LBB0_26:
	bl	_timer_read
	adrp	x8, _process_record_user.key_timer@PAGE
	str	w0, [x8, _process_record_user.key_timer@PAGEOFF]
LBB0_27:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_31
; %bb.28:
Lloh32:
	adrp	x20, __NM@GOTPAGE
Lloh33:
	ldr	x20, [x20, __NM@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_IS_LAYER_ON
	cbz	x0, LBB0_31
; %bb.29:
	ldr	w0, [x20]
	ldr	w1, [x19]
	bl	_keymap_key_to_keycode
Lloh34:
	adrp	x8, _KC_TRNS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _KC_TRNS@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_31
; %bb.30:
	ldr	w0, [x20]
	bl	_layer_off
LBB0_31:
	mov	w0, #1
	b	LBB0_37
LBB0_32:
	bl	_layer_off
LBB0_33:
Lloh37:
	adrp	x8, __LW@GOTPAGE
Lloh38:
	ldr	x8, [x8, __LW@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	ldr	w1, [x19]
	b	LBB0_36
LBB0_34:
	bl	_layer_off
LBB0_35:
	ldr	w0, [x19]
Lloh40:
	adrp	x8, __RS@GOTPAGE
Lloh41:
	ldr	x8, [x8, __RS@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
LBB0_36:
Lloh43:
	adrp	x8, __DL@GOTPAGE
Lloh44:
	ldr	x8, [x8, __DL@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	bl	_update_tri_layer
	mov	w0, #0
LBB0_37:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_38:
Lloh46:
	adrp	x8, _process_record_user.key_timer@PAGE
Lloh47:
	ldr	w0, [x8, _process_record_user.key_timer@PAGEOFF]
	bl	_timer_elapsed
	cmp	w0, #500
	b.lt	LBB0_27
; %bb.39:
	bl	_clear_keyboard
	bl	_backlight_toggle
	mov	w0, #250
	bl	__delay_ms
	bl	_backlight_toggle
	bl	_bootloader_jump
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdr	Lloh46, Lloh47
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_18-LBB0_7)>>2
	.byte	(LBB0_20-LBB0_7)>>2
	.byte	(LBB0_21-LBB0_7)>>2
	.byte	(LBB0_23-LBB0_7)>>2
                                        ; -- End function
.zerofill __DATA,__bss,_process_record_user.key_timer,4,2 ; @process_record_user.key_timer
.zerofill __DATA,__bss,_process_record_user.ignore_up_events,8,3 ; @process_record_user.ignore_up_events
	.comm	__DYN,4,2                       ; @_DYN
	.comm	_DYN_REC_STOP,4,2               ; @DYN_REC_STOP
	.comm	__LW,4,2                        ; @_LW
	.comm	__RS,4,2                        ; @_RS
	.comm	__DL,4,2                        ; @_DL
	.comm	_KC_LSFT,4,2                    ; @KC_LSFT
	.comm	__PP,8,3                        ; @_PP
	.comm	_default_layer_state,8,3        ; @default_layer_state
	.comm	_layer_state,8,3                ; @layer_state
	.comm	__QW,8,3                        ; @_QW
	.comm	__NM,4,2                        ; @_NM
	.comm	_KC_TRNS,8,3                    ; @KC_TRNS
.subsections_via_symbols
