	.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	_KC_ESC@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpq	%rdi, (%rax)
	jne	LBB0_9
## %bb.1:
	cmpq	$0, (%rsi)
	je	LBB0_9
## %bb.2:
	xorl	%eax, %eax
	callq	_get_oneshot_mods
	movl	$1, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_has_oneshot_mods_timed_out
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_clear_oneshot_mods
	movl	%r14d, %edi
	callq	_unregister_mods
	xorl	%ebx, %ebx
LBB0_5:
	xorl	%eax, %eax
	callq	_get_oneshot_locked_mods
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_clear_oneshot_locked_mods
	movl	%r14d, %edi
	callq	_unregister_mods
	xorl	%ebx, %ebx
LBB0_7:
	xorl	%eax, %eax
	callq	_is_oneshot_layer_active
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_layer_clear
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KC_ESC,8,3                     ## @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:
	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
Lloh0:
	adrp	x8, _KC_ESC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KC_ESC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_8
; %bb.1:
	ldr	x8, [x1]
	cbz	x8, LBB0_8
; %bb.2:
	bl	_get_oneshot_mods
	cbz	w0, LBB0_4
; %bb.3:
	mov	x19, x0
	bl	_has_oneshot_mods_timed_out
	cbz	w0, LBB0_10
LBB0_4:
	mov	w19, #1
	bl	_get_oneshot_locked_mods
	cbz	w0, LBB0_6
LBB0_5:
	mov	x20, x0
	bl	_clear_oneshot_locked_mods
	mov	x0, x20
	bl	_unregister_mods
	mov	w19, #0
LBB0_6:
	bl	_is_oneshot_layer_active
	cbz	x0, LBB0_9
; %bb.7:
	bl	_layer_clear
	mov	w19, #0
	b	LBB0_9
LBB0_8:
	mov	w19, #1
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	_clear_oneshot_mods
	mov	x0, x19
	bl	_unregister_mods
	mov	w19, #0
	bl	_get_oneshot_locked_mods
	cbnz	w0, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KC_ESC,8,3                     ; @KC_ESC
.subsections_via_symbols
