	.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
	cmpl	$128, %edi
	je	LBB0_8
## %bb.1:
	movl	$1, %eax
	cmpl	$129, %edi
	jne	LBB0_15
## %bb.2:
	movl	(%rsi), %ebx
	xorl	%eax, %eax
	callq	_get_mods
	movq	_MOD_MASK_SHIFT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.3:
	testl	%eax, %eax
	je	LBB0_10
LBB0_4:
	movq	_KC_GRAVE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	movl	(%rsi), %ebx
	xorl	%eax, %eax
	callq	_get_mods
	movq	_MOD_MASK_SHIFT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.9:
	testl	%eax, %eax
	je	LBB0_4
LBB0_10:
	movq	_KC_ESCAPE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_register_code
	jmp	LBB0_14
LBB0_6:
	testl	%eax, %eax
	je	LBB0_7
LBB0_12:
	movq	_KC_GRAVE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	testl	%eax, %eax
	je	LBB0_12
LBB0_7:
	movq	_KC_ESCAPE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edi
	callq	_unregister_code
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MOD_MASK_SHIFT,4,2             ## @MOD_MASK_SHIFT
	.comm	_KC_GRAVE,4,2                   ## @KC_GRAVE
	.comm	_KC_ESCAPE,4,2                  ## @KC_ESCAPE
.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
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #129
	b.ne	LBB0_9
; %bb.2:
	ldr	w19, [x1]
	bl	_get_mods
Lloh0:
	adrp	x8, _MOD_MASK_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MOD_MASK_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
	cbz	w19, LBB0_10
; %bb.3:
	cbz	w8, LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _KC_GRAVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KC_GRAVE@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	ldr	w19, [x1]
	bl	_get_mods
Lloh5:
	adrp	x8, _MOD_MASK_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MOD_MASK_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w8, w8, w0
	cbz	w19, LBB0_12
; %bb.6:
	cbz	w8, LBB0_4
LBB0_7:
Lloh8:
	adrp	x8, _KC_ESCAPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KC_ESCAPE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	bl	_register_code
	b	LBB0_15
LBB0_9:
	mov	w0, #1
	b	LBB0_16
LBB0_10:
	cbz	w8, LBB0_13
LBB0_11:
Lloh10:
	adrp	x8, _KC_GRAVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KC_GRAVE@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	cbz	w8, LBB0_11
LBB0_13:
Lloh12:
	adrp	x8, _KC_ESCAPE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KC_ESCAPE@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	bl	_unregister_code
LBB0_15:
	mov	w0, #0
LBB0_16:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MOD_MASK_SHIFT,4,2             ; @MOD_MASK_SHIFT
	.comm	_KC_GRAVE,4,2                   ; @KC_GRAVE
	.comm	_KC_ESCAPE,4,2                  ; @KC_ESCAPE
.subsections_via_symbols
