	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_KeyDown                     ## -- Begin function IN_KeyDown
	.p2align	4, 0x90
_IN_KeyDown:                            ## @IN_KeyDown
	.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
	movq	%rdi, %rbx
	movl	$1, %edi
	callq	_Cmd_Argv
	cmpb	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rax, %rdi
	callq	_atoi
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	movq	(%rbx), %rcx
	movl	(%rcx), %edx
	cmpl	%edx, %eax
	je	LBB0_10
## %bb.4:
	movl	4(%rcx), %esi
	cmpl	%esi, %eax
	je	LBB0_10
## %bb.5:
	testl	%edx, %edx
	je	LBB0_8
## %bb.6:
	testl	%esi, %esi
	je	LBB0_7
## %bb.11:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_Com_Printf                     ## TAILCALL
LBB0_7:
	addq	$4, %rcx
LBB0_8:
	movl	%eax, (%rcx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_10
## %bb.9:
	movl	$2, %edi
	callq	_Cmd_Argv
	movq	%rax, %rdi
	callq	_atoi
	movq	%rax, 24(%rbx)
	movq	_qtrue@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Three keys down for a button!\n"

	.comm	_qtrue,8,3                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IN_KeyDown                     ; -- Begin function IN_KeyDown
	.p2align	2
_IN_KeyDown:                            ; @IN_KeyDown
	.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_2
; %bb.1:
	bl	_atoi
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldr	x8, [x19]
	ldr	w10, [x8]
	cmp	w0, w10
	b.eq	LBB0_11
; %bb.4:
	mov	x9, x8
	ldr	w11, [x9, #4]!
	cmp	w0, w11
	b.eq	LBB0_11
; %bb.5:
	cbz	w10, LBB0_9
; %bb.6:
	cbz	w11, LBB0_8
; %bb.7:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Com_Printf
LBB0_8:
	mov	x8, x9
LBB0_9:
	str	w0, [x8]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_11
; %bb.10:
	mov	w0, #2
	bl	_Cmd_Argv
	bl	_atoi
	str	x0, [x19, #24]
Lloh2:
	adrp	x8, _qtrue@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Three keys down for a button!\n"

	.comm	_qtrue,8,3                      ; @qtrue
.subsections_via_symbols
