	.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
	movl	$1, %ebx
	cmpl	$128, %edi
	jne	LBB0_8
## %bb.1:
	cmpl	$0, (%rsi)
	je	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_random_keycode
	movq	_keystroke@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	xorl	%eax, %eax
	callq	_rand
	andl	$-2147483647, %eax              ## imm = 0x80000001
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_shift_pressed@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_KC_LSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_register_code
LBB0_4:
	movl	(%r14), %edi
	callq	_register_code
	jmp	LBB0_8
LBB0_5:
	movq	_shift_pressed@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_7
## %bb.6:
	movq	_KC_LSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unregister_code
LBB0_7:
	movq	_keystroke@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_unregister_code
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_keystroke,4,2                  ## @keystroke
	.comm	_shift_pressed,4,2              ## @shift_pressed
	.comm	_KC_LSHIFT,4,2                  ## @KC_LSHIFT
.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.ne	LBB0_5
; %bb.1:
	ldr	w8, [x1]
	cbz	w8, LBB0_6
; %bb.2:
	bl	_random_keycode
Lloh0:
	adrp	x19, _keystroke@GOTPAGE
Lloh1:
	ldr	x19, [x19, _keystroke@GOTPAGEOFF]
	str	w0, [x19]
	bl	_rand
	and	w8, w0, #0x80000001
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _shift_pressed@GOTPAGE
Lloh3:
	ldr	x8, [x8, _shift_pressed@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
Lloh5:
	adrp	x8, _KC_LSHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KC_LSHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_register_code
LBB0_4:
	ldr	w0, [x19]
	bl	_register_code
	b	LBB0_9
LBB0_5:
	mov	w0, #1
	b	LBB0_10
LBB0_6:
Lloh8:
	adrp	x8, _shift_pressed@GOTPAGE
Lloh9:
	ldr	x8, [x8, _shift_pressed@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _KC_LSHIFT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _KC_LSHIFT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_unregister_code
LBB0_8:
Lloh14:
	adrp	x8, _keystroke@GOTPAGE
Lloh15:
	ldr	x8, [x8, _keystroke@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_unregister_code
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_keystroke,4,2                  ; @keystroke
	.comm	_shift_pressed,4,2              ; @shift_pressed
	.comm	_KC_LSHIFT,4,2                  ; @KC_LSHIFT
.subsections_via_symbols
