	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	cmpl	$128, %edi
	jne	LBB0_5
## %bb.1:
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_timer_read
	movq	_user_key_timer@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	__NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	movq	_KC_RGUI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_register_mods
	jmp	LBB0_8
LBB0_5:
	movl	%edi, %ebx
	movq	%r14, %rsi
	callq	_process_record_keymap
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_process_record_secrets
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_8
LBB0_3:
	movq	_KC_RGUI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MOD_BIT
	movl	%eax, %edi
	callq	_unregister_mods
	movq	__NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
	movq	_user_key_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_timer_elapsed
	movq	_TAPPING_TERM@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	(%rcx), %eax
	jge	LBB0_8
## %bb.4:
	movq	_KC_QUOT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_register_code
	movl	(%r14), %edi
	callq	_unregister_code
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_user_key_timer,4,2             ## @user_key_timer
	.comm	__NUMBER,4,2                    ## @_NUMBER
	.comm	_KC_RGUI,4,2                    ## @KC_RGUI
	.comm	_TAPPING_TERM,4,2               ## @TAPPING_TERM
	.comm	_KC_QUOT,4,2                    ## @KC_QUOT
.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
	mov	x19, x1
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.2:
	bl	_timer_read
Lloh0:
	adrp	x8, _user_key_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _user_key_timer@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, __NUMBER@GOTPAGE
Lloh4:
	ldr	x8, [x8, __NUMBER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_layer_on
Lloh6:
	adrp	x8, _KC_RGUI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KC_RGUI@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MOD_BIT
	bl	_register_mods
	b	LBB0_7
LBB0_3:
	mov	x20, x0
	mov	x1, x19
	bl	_process_record_keymap
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_process_record_secrets
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, _KC_RGUI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KC_RGUI@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_MOD_BIT
	bl	_unregister_mods
Lloh12:
	adrp	x8, __NUMBER@GOTPAGE
Lloh13:
	ldr	x8, [x8, __NUMBER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_layer_off
Lloh15:
	adrp	x8, _user_key_timer@GOTPAGE
Lloh16:
	ldr	x8, [x8, _user_key_timer@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_timer_elapsed
Lloh18:
	adrp	x8, _TAPPING_TERM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TAPPING_TERM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_7
; %bb.6:
Lloh21:
	adrp	x19, _KC_QUOT@GOTPAGE
Lloh22:
	ldr	x19, [x19, _KC_QUOT@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_register_code
	ldr	w0, [x19]
	bl	_unregister_code
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_user_key_timer,4,2             ; @user_key_timer
	.comm	__NUMBER,4,2                    ; @_NUMBER
	.comm	_KC_RGUI,4,2                    ; @KC_RGUI
	.comm	_TAPPING_TERM,4,2               ; @TAPPING_TERM
	.comm	_KC_QUOT,4,2                    ; @KC_QUOT
.subsections_via_symbols
