	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_AddKeyUpCommands            ## -- Begin function CL_AddKeyUpCommands
	.p2align	4, 0x90
_CL_AddKeyUpCommands:                   ## @CL_AddKeyUpCommands
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$2072, %rsp                     ## imm = 0x818
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -2100(%rbp)               ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.1:
	movq	%rsi, %r15
	leaq	-1072(%rbp), %rcx
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%esi, %esi
	movabsq	$4294967296, %r12               ## imm = 0x100000000
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movslq	%esi, %r14
	movb	(%r15,%r14), %dl
	cmpb	$59, %dl
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	%dl, %dl
	jne	LBB0_13
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movb	$0, (%rcx)
	cmpb	$43, -1072(%rbp)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_time@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-2096(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1024, %esi                     ## imm = 0x400
	leaq	L_.str(%rip), %rdx
	leaq	-1071(%rbp), %rcx
	movl	-2100(%rbp), %r8d               ## 4-byte Reload
	callq	_Com_sprintf
	movq	%rbx, %rdi
	callq	_Cbuf_AddText
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1072(%rbp), %rdi
	callq	_Cbuf_AddText
	leaq	L_.str.1(%rip), %rdi
	callq	_Cbuf_AddText
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rcx
	shlq	$32, %rcx
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	addq	%rax, %rcx
	leal	-1(%r14), %esi
	addq	%r15, %r14
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %eax
	cmpb	$33, %al
	setge	%dl
	cmpb	$59, %al
	setne	%bl
	addq	%r12, %rcx
	incl	%esi
	testb	%al, %al
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	andb	%bl, %dl
	incq	%r14
	testb	%dl, %dl
	je	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	sarq	$32, %rcx
	movb	(%r15,%rcx), %dl
	movq	%rcx, %r14
	leaq	-1072(%rbp), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	%dl, (%rcx)
	cmpb	$0, (%r15,%r14)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	incl	%esi
	jmp	LBB0_2
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$2072, %rsp                     ## imm = 0x818
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,8,3                     ## @qfalse
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-%s %i %i\n"

	.comm	_time,4,2                       ## @time
	.comm	_qtrue,8,3                      ## @qtrue
L_.str.1:                               ## @.str.1
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CL_AddKeyUpCommands            ; -- Begin function CL_AddKeyUpCommands
	.p2align	2
_CL_AddKeyUpCommands:                   ; @CL_AddKeyUpCommands
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2064
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cbz	x1, LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w24, #0
	add	x8, sp, #1024
Lloh3:
	adrp	x9, _qfalse@GOTPAGE
Lloh4:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh5:
	ldr	x25, [x9]
Lloh6:
	adrp	x26, _qtrue@GOTPAGE
Lloh7:
	ldr	x26, [x26, _qtrue@GOTPAGEOFF]
	add	x22, x8, #1
	mov	x27, #-4294967296
	mov	w28, #59
	mov	x23, #4294967296
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	sxtw	x21, w24
	ldrb	w9, [x19, x21]
	cmp	w9, #59
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	wzr, [x8]
	ldrb	w8, [sp, #1024]
	cmp	w8, #43
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh8:
	adrp	x8, _time@GOTPAGE
Lloh9:
	ldr	x8, [x8, _time@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x0, sp
	mov	w1, #1024
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x22
	mov	x4, x20
	bl	_Com_sprintf
	mov	x0, sp
	bl	_Cbuf_AddText
	ldr	x25, [x26]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	x25, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #1024
	bl	_Cbuf_AddText
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Cbuf_AddText
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x27, x21, lsl #32
	sub	w24, w24, #1
	add	x8, x19, x21
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x8], #1
	sxtb	w11, w10
	cmp	w11, #32
	ccmp	w10, w28, #4, gt
	cset	w11, ne
	add	x9, x9, x23
	add	w24, w24, #1
	cmp	w10, #0
	ccmp	w11, #0, #0, ne
	b.eq	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, sp, #1024
	asr	x21, x9, #32
	ldrb	w9, [x19, x21]
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	strb	w9, [x8]
	ldrb	w9, [x19, x21]
	cbz	w9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	add	w24, w24, #1
	b	LBB0_2
LBB0_12:
	ldur	x8, [x29, #-96]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	add	sp, sp, #2064
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,8,3                     ; @qfalse
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-%s %i %i\n"

	.comm	_time,4,2                       ; @time
	.comm	_qtrue,8,3                      ; @qtrue
l_.str.1:                               ; @.str.1
	.asciz	"\n"

.subsections_via_symbols
