	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_KeyUp                       ## -- Begin function IN_KeyUp
	.p2align	4, 0x90
_IN_KeyUp:                              ## @IN_KeyUp
	.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	%rdi, %rbx
	movl	$1, %edi
	callq	_Cmd_Argv
	cmpb	$0, (%rax)
	je	LBB0_11
## %bb.1:
	movq	%rax, %rdi
	callq	_atoi
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	cmpl	%eax, %edx
	jne	LBB0_2
## %bb.4:
	movl	$0, (%rcx)
	cmpl	$0, 4(%rcx)
	jne	LBB0_10
	jmp	LBB0_5
LBB0_11:
	movq	(%rbx), %rax
	movq	$0, (%rax)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_9
LBB0_2:
	cmpl	%eax, 4(%rcx)
	jne	LBB0_10
## %bb.3:
	movl	$0, 4(%rcx)
	testl	%edx, %edx
	jne	LBB0_10
LBB0_5:
	movq	_qfalse@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, 16(%rbx)
	movl	$2, %edi
	callq	_Cmd_Argv
	movq	%rax, %rdi
	callq	_atoi
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	subl	12(%rbx), %eax
	movl	8(%rbx), %ecx
	jmp	LBB0_8
LBB0_7:
	movq	_frame_msec@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	8(%rbx), %eax
LBB0_8:
	addl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	movq	(%r14), %rax
LBB0_9:
	movq	%rax, 16(%rbx)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_frame_msec,4,2                 ## @frame_msec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_KeyUp                       ; -- Begin function IN_KeyUp
	.p2align	2
_IN_KeyUp:                              ; @IN_KeyUp
	.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
	mov	x19, x0
	mov	w0, #1
	bl	_Cmd_Argv
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	bl	_atoi
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ne	LBB0_4
; %bb.2:
	str	wzr, [x8]
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_11
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19]
	str	xzr, [x8]
Lloh0:
	adrp	x8, _qfalse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	b	LBB0_10
LBB0_4:
	ldr	w10, [x8, #4]
	cmp	w10, w0
	b.ne	LBB0_11
; %bb.5:
	str	wzr, [x8, #4]
	cbnz	w9, LBB0_11
LBB0_6:
Lloh3:
	adrp	x20, _qfalse@GOTPAGE
Lloh4:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
	ldr	x8, [x20]
	str	x8, [x19, #16]
	mov	w0, #2
	bl	_Cmd_Argv
	bl	_atoi
	cbz	w0, LBB0_8
; %bb.7:
	ldp	w8, w9, [x19, #8]
	sub	w9, w0, w9
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _frame_msec@GOTPAGE
Lloh6:
	ldr	x8, [x8, _frame_msec@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	ldr	w9, [x19, #8]
LBB0_9:
	add	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x20]
LBB0_10:
	str	x8, [x19, #16]
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_frame_msec,4,2                 ; @frame_msec
.subsections_via_symbols
