	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$1, %ebx
	cmpl	$128, %edi
	jne	LBB0_11
## %bb.1:
	movl	(%rsi), %ebx
	xorl	%eax, %eax
	callq	_get_mods
	movq	_MODS_SHIFT_GUI_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	_KC_GRV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movq	_KC_GRV@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_KC_ESC@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %edi
	callq	_add_key
	jmp	LBB0_10
LBB0_8:
	movq	_KC_ESC@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	callq	_del_key
LBB0_10:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_send_keyboard_report
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODS_SHIFT_GUI_MASK,4,2        ## @MODS_SHIFT_GUI_MASK
	.comm	_KC_GRV,4,2                     ## @KC_GRV
	.comm	_KC_ESC,4,2                     ## @KC_ESC
.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:
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.1:
	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
	.cfi_remember_state
	ldr	w19, [x1]
	bl	_get_mods
Lloh0:
	adrp	x8, _MODS_SHIFT_GUI_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODS_SHIFT_GUI_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
	cbz	w19, LBB0_5
; %bb.2:
	cbz	w8, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _KC_GRV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KC_GRV@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	mov	w0, #1
	ret
LBB0_5:
	.cfi_restore_state
	cbz	w8, LBB0_9
; %bb.6:
Lloh5:
	adrp	x8, _KC_GRV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KC_GRV@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh7:
	adrp	x8, _KC_ESC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KC_ESC@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	bl	_add_key
	b	LBB0_11
LBB0_9:
Lloh9:
	adrp	x8, _KC_ESC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KC_ESC@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	bl	_del_key
LBB0_11:
	bl	_send_keyboard_report
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MODS_SHIFT_GUI_MASK,4,2        ; @MODS_SHIFT_GUI_MASK
	.comm	_KC_GRV,4,2                     ; @KC_GRV
	.comm	_KC_ESC,4,2                     ; @KC_ESC
.subsections_via_symbols
