	.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
	cmpl	$128, %edi
	jne	LBB0_4
## %bb.1:
	cmpl	$0, (%rsi)
	movq	_KC_RCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_3
## %bb.2:
	callq	_register_code
	movq	_L_RCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_on
	jmp	LBB0_4
LBB0_3:
	callq	_unregister_code
	movq	_L_RCTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_layer_off
LBB0_4:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_RCTRL,4,2                   ## @KC_RCTRL
	.comm	_L_RCTRL,4,2                    ## @L_RCTRL
.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_4
; %bb.1:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _KC_RCTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KC_RCTRL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cbz	w8, LBB0_3
; %bb.2:
	bl	_register_code
Lloh3:
	adrp	x8, _L_RCTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _L_RCTRL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_layer_on
	b	LBB0_4
LBB0_3:
	bl	_unregister_code
Lloh6:
	adrp	x8, _L_RCTRL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _L_RCTRL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_layer_off
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_RCTRL,4,2                   ; @KC_RCTRL
	.comm	_L_RCTRL,4,2                    ; @L_RCTRL
.subsections_via_symbols
