	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_record_keymap          ## -- Begin function process_record_keymap
	.p2align	4, 0x90
_process_record_keymap:                 ## @process_record_keymap
	.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
	movl	$1, %ebx
	cmpl	$128, %edi
	jne	LBB0_5
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_3
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_timer_read
	movq	_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_5
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	_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_5
## %bb.4:
	movq	_KC_QUOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tap_code
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_key_timer,4,2                  ## @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_keymap          ; -- Begin function process_record_keymap
	.p2align	2
_process_record_keymap:                 ; @process_record_keymap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.2:
	bl	_timer_read
Lloh0:
	adrp	x8, _key_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _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_6
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
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, _key_timer@GOTPAGE
Lloh16:
	ldr	x8, [x8, _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_6
; %bb.5:
Lloh21:
	adrp	x8, _KC_QUOT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _KC_QUOT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_tap_code
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 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 AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_key_timer,4,2                  ; @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
